1 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
3 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
6 2006-05-23 Miguel de Icaza <miguel@novell.com>
8 * Theme.cs (GetSizedResourceImage): Scale images if the proper
11 * FileDialog.cs: Do not change the background for the side bar as
12 it wont work nicely with the theme, and also reduces the artifacts
13 in rendering the icons (which I want to fix too).
15 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
16 resources, not resgen resources.
18 (PlatformDefaultHandler): Pull images using the new API.
20 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
22 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
23 a reference to the hwnd and will not remove it unless there are
24 no pending exposures (fixes #78341)
25 * XplatUI.cs: Improved debug
27 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
29 * MenuAPI.cs : don't handle OnClick event when it was not the left
30 button. Fixed bug #78487.
32 2006-05-23 Mike Kestner <mkestner@novell.com>
34 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
35 prefer submenus to the top menu for item lookup, to avoid popping down
38 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
40 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
41 Graphics.FillRectangle as the visual results are really bad (even
42 on win). We now draw perfect arrows (and perfect shadows when the
43 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
44 Pen.DashPattern to draw the dots of each line.
46 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
48 * FileDialog.cs: Update the filename combobox when navigating through
49 the ListView with the cursor keys. Fixes part 7 of bug #78446.
51 2006-05-22 Mike Kestner <mkestner@novell.com>
53 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
56 2006-05-22 Mike Kestner <mkestner@novell.com>
58 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
59 requests. Fix a misspelled parameter and a copy paste exception error
62 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
64 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
65 to get the same width/height (5/13) on X11 as the default font has on
66 win32. This means that our DefaultFont emSize is smaller than the
67 the MS SWF equivalent (even thought the width/height stays the same)
69 2006-05-20 Jackson Harper <jackson@ximian.com>
72 * MdiWindowManager.cs:
73 * InternalWindowManager.cs: Make sure to use the border width from
76 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
78 * PrintDialog.cs: Implements printer details
80 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
82 * FileDialog.cs: Added focus handling for PopupButtonPanel.
83 Fixes part 1 and 2 of bug #78446
85 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
87 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
88 instead of sticking to the first ever calculated value
90 2006-05-19 Mike Kestner <mkestner@novell.com>
92 * ComboBox.cs: fix mouse motion selection to use MousePosition and
93 PointToClient, since Capture is set. Fixes #78344.
95 2006-05-19 Mike Kestner <mkestner@novell.com>
97 * ListView.cs: match MS behavior in Details view where items are not
98 drawn if Columns.Count == 0.
99 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
100 Use a separate pen to draw the check, since changing the width affects
101 the box as well. Fixes #78454.
103 2006-05-18 Miguel de Icaza <miguel@novell.com>
105 * ListView.cs: ArgumentOutOfRangeException, single versions of the
106 exception should throw the name of the invalid argument.
108 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
109 there are no files listed.
111 2006-05-18 Jackson Harper <jackson@ximian.com>
113 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
116 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
118 * Control.cs: Brought back our old UpdateZOrder method as a private
119 function and switched our calls from UpdateZOrder to the new one.
120 This fixes the Paint.Net canvas disappearing bug.
122 2006-05-18 Jackson Harper <jackson@ximian.com>
125 * ThemeWin32Classic.cs:
126 * InternalWindowManager.cs: Move the drawing into the theme,
127 expose everything the theme should need from the window manager.
129 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
131 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
132 from the call to NativeWindow to avoid walking up the parent chain
133 further than needed (speeds up setting cursors and avoids setting
134 the wrong cursor if a parent has another cursor defined)
135 * Cursor.cs: When loading an icon as cursor, MS uses the center of
136 the icon as hotspot, not what's contained as hotspot in the icon
137 file. This fixes the perceived drawing offset seen with Paint.Net
139 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
142 - Store the calculated rectangle in Hwnd object and use it when
143 setting the client size
144 - Force Toolwindows to always be type Dock, to ensure they're on top
146 2006-05-18 Mike Kestner <mkestner@novell.com>
148 * ComboBox.cs: first pass at ComboBox rework. Layout is more
149 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
150 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
151 Substantial refactoring to remove confusing nested classes. Coding
152 standard and Get+Set->property refactorings. Shift to index based
153 highlighting in ComboListBox instead of constantly using IndexOf and
154 Items[]. Add invalidations on resize for DropDownList to fix ugliness
155 in FileDialog growth. Draw borders manually since Simple mode needs
156 to look like two independent controls. Make listbox border
157 conditional to DropDownStyle. Improved OwnerDraw support.
159 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
161 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
162 Don't set the disposed graphics to null, so we can throw the "right"
163 exception if the graphics is reused later (added a flag to avoid
164 double disposing). Some behaviours are different under 2.0 and are
165 filled under bug #78448.
167 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
169 * Control.cs: When double-buffering is enabled, we need to reset
170 our graphics context between paint calls. Otherwise, any
171 transformations and other alterations on the context will
172 become cumulative (#77734)
174 2006-05-18 Mike Kestner <mkestner@novell.com>
176 * ListView.cs: do focused item selection like MS on clicks.
177 Rework focus handling for ItemControl so LostFocus invalidates as
179 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
180 the ListView ItemControl has focus.
182 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
184 * XplatUIX11.cs: If client_window ends up being width or height zero
185 due to border settings, move it off window inside whole_window (#78433)
187 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
189 * Mime.cs: Shrink the mime file cache correctly.
191 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
193 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
195 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
197 * XplatUIX11.cs (AddExpose): More sanity checks
199 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
202 - AddExpose: Don't add expose ranges outside the size of our
204 - Cast opacity values to Int32 to avoid crashes with certain
206 - Added disabled code paths that protect against illegal cross-
207 thread painting (Developers.exe)
209 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
211 * ProgressBar.cs: Invalidate the control when it's resized
212 since block size is based on control size. (#78388)
214 2006-05-16 Miguel de Icaza <miguel@novell.com>
216 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
217 of setting the incoming argument to the "reset" value, we set the
218 this.datamember to string.empty (before we were invalidating the
223 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
225 * Form.cs: Only apply transparency settings after the form
226 is created. (Fixes #77800)
228 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
230 * ApplicationContext.cs: Grab the HandleDestroyed event so
231 we know when to fire OnMainFormClosed
233 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
235 * Application.cs: Introduced sub-class to allow tracking of
236 threads and centralized triggering of the event mess for
237 ThreadExit, AppExit, etc.. (#76156)
239 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
242 - Do not return a null icon index value for a mime subclass.
243 Instead try the main mime type class too.
244 - Seems that some newer distributions don't have a link to some
245 gnome default icons anymore. So check the default gnome dir too.
248 2006-05-16 Jackson Harper <jackson@ximian.com>
250 * MdiClient.cs: Don't paint the parent background image if we have
251 our own background image.
253 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
256 - PerformLayout: Do not shrink space filled by DockStyle.Fill
257 controls, all filled controls are supposed to overlap (#78080)
258 - UpdateZOrder is supposed to update the control's z-order in the
259 parent's z-order chain. Fixed to behave like that
260 - BringToFront: Removed obsolete code
261 - SendToBack: Simplyfied
262 - SetChildIndex: Trigger layout calculations when Z-order changes
263 since layout is done by z-order
265 2006-05-16 Chris Toshok <toshok@ximian.com>
268 * DataGrid.cs (set_AlternatingBackColor): use
269 grid_drawing.InvalidateCells instead of Refresh().
270 (set_BackColor): call grid_drawing.InvalidateCells.
271 (set_BackgroundColor): use Invalidate instead of Refresh.
273 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
274 invalidate the cell area.
276 2006-05-15 Chris Toshok <toshok@ximian.com>
279 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
280 on to DataGridPaintRow.
281 (DataGridPaintRow): take a clip argument, and only draw the cells
282 which intersect it. same with the not_usedarea.
284 * Theme.cs (DataGridPaintRow) add @clip parameter.
286 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
287 XplatUI.ScrollWindow.
290 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
291 with last column which was causing a gray swath to appear with the
292 XplatUI.ScrollWindow code.
294 2006-05-15 Chris Toshok <toshok@ximian.com>
296 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
297 use XplatUI.ScrollWindow.
298 (VerticalScrollEvent): use XplatUI.ScrollWindow.
300 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
302 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
304 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
306 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
307 file since there are no equivalent X11 cursors
309 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
311 * MonthCalendar.cs : DateTimePicker should reflect selected date
312 on mouse*up*, not mouse*down*. Fixed originally reported part of
315 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
317 * TabControl.cs : When argument index is equal or more than tab
318 count, just ignore. Fixed bug #78395.
320 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
322 * Control.cs: Dispose all child controls when control is diposed (#78394)
324 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
326 * ColorDialog.cs: Finally it is possible to select the color with
329 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
331 * PrintDialog.cs: Fix typo
333 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
335 * PrintDialog.cs: PrintDialog is not resizable
336 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
337 color. Made some ToolBar drawing methods protected virtual.
339 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
341 * PrintDialog.cs: Implementation of the PrintDialog
343 2006-05-12 Chris Toshok <toshok@ximian.com>
345 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
346 thumb, instead use MoveThumb. This has the side effect of making
347 most of the other thumb moving machinery use MoveThumb as well.
348 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
349 need to actually invalidate the rectangle where the new thumb will
351 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
352 We force an Update() after, so it's not as fast as it could be,
353 but at least there's zero flicker and no droppings.
354 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
355 (UpdateThumbPos): add another argument (dirty), which says whether
356 or not to calculate/add dirty regions which we later invalidate.
357 For cases where we know we're going to use MoveThumb, we pass
358 false for this. Otherwise, pass true.
360 2006-05-12 Jackson Harper <jackson@ximian.com>
362 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
365 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
367 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
368 and GetClipRegion methods and UserClipWontExposeParent property.
369 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
370 overriding UserClipWontExposeParent property, setting to false, since
371 Win32 handles the required expose messages to draw our clipped parent
373 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
374 PaintEventStart to set the user clip region if set.
376 - Now internally tracking the Region for the control since we need to
377 store it if the handle is not yet created and only set it when it
378 becomes created. Before setting the region forced handle creation
379 - Added code to draw the parents underneath a user-clipped region
380 * Hwnd.cs: Added UserClip property
382 2006-05-12 Chris Toshok <toshok@ximian.com>
384 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
387 (set_SmallChange): same.
388 (OnMouseUpSB): remove the call to refresh when releasing the
389 thumb. We shouldn't need it.
391 2006-05-12 Miguel de Icaza <miguel@novell.com>
393 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
394 AutoSize set to None, we do not need to relayout everything, we
395 just need to invalidate the current region.
397 (Draw): Do not draw the entire ClientArea, just redraw the
398 clip area being passed.
400 * MdiClient.cs: Make MdiClient constructor with the Form argument
403 2006-05-12 Jackson Harper <jackson@ximian.com>
405 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
406 parents background image, but strangely not their own.
407 - (DrawStatusBarPanel): Take into account horizontal alignment
408 when drawing the strings and icons.
410 2006-05-12 Mike Kestner <mkestner@novell.com>
412 * ListBox.cs: avoid invalidations for focus when the collection is
415 2006-05-12 Chris Toshok <toshok@ximian.com>
417 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
418 invalidate the entire thumb area. Call InvalidateDirty which
419 limits the redraw to the thumb itself and surrounding pixels.
421 * XplatUIX11.cs (ScrollWindow): optimize copying.
423 2006-05-12 Chris Toshok <toshok@ximian.com>
425 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
426 Figure out the positioning/layout in a single pass instead of
427 multiple recursive invocations. Speeds up the initial display of
428 the data grid. Also, make many things private that were
429 originally public but unused outside this class.
431 2006-05-11 Jackson Harper <jackson@ximian.com>
433 * MdiClient.cs: Improved layout code.
435 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
437 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
440 2006-05-11 Chris Toshok <toshok@ximian.com>
442 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
443 union of that will always be {0,0,width,height}.
445 2006-05-11 Jackson Harper <jackson@ximian.com>
447 * Form.cs: Match MS's DefaultSize for forms (they must have
448 changed the size in sp2).
450 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
452 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
454 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
456 * TextControl.cs : Fixed bug #78109. This incorrect position
457 comparison caused crash on automatic line split.
458 * TextBoxBase.cs : reduce duplicate code.
460 2006-05-10 Jackson Harper <jackson@ximian.com>
462 * MdiClient.cs: Active form is only sent to the back when using
463 the Next form functionality, when a form is clicked the current
464 active shouldn't be sent to the back.
465 - Layout the mdi windows when the container is first made visible.
466 * Form.cs: Give the MdiClient a ref to the containing form when we
469 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
471 * LinkLabel.cs : link_font could be uninitialized, so populate one
472 before actual use. Fixed bug #78340.
474 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
476 * XplatUIX11.cs : clipboard format native value is IntPtr.
479 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
482 - Instead of showing context menus directly we send WM_CONTEXTMENU,
483 which is passed up the parent chain by DefWndProc
484 - We now handle WM_CONTEXTMENU to display any menu, or pass it
485 to DefWndProc (#77956)
486 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
488 2006-05-10 Jackson Harper <jackson@ximian.com>
490 * MdiClient.cs: We need to remove the controls from the mdi
491 collection, when we close the window.
492 * MdiWindowManager.cs: Special handling of closing mdi windows.
493 * InternalWindowManager.cs: Make the close method virtual so the
494 mdi window manager can handle it specially.
496 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
499 - Recalculate grid when the data source has changed
500 - Matches styles provided by user from all data sources types
501 * DataGridTableStyle.cs: For columns that provided by the user set the
502 with the preferred value is there was unassigned.
503 * CurrencyManager.cs: throw OnItemChanged event
505 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
507 * PictureBox.cs: Don't animate until handle is created. Start animation
508 when handle is created.
510 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
512 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
514 * XEventQueue.cs: We don't need to provide the extra info
516 2006-05-10 Jackson Harper <jackson@ximian.com>
518 * MdiClient.cs: If the mdi clients parent form has a background
519 image set, we draw that background image for the mdi area's
522 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
524 * TextBoxBase.cs: Set IBeam cursor (#78347)
526 2006-05-10 Mike Kestner <mkestner@novell.com>
528 * ToolBar.cs: fix some text padding issues with ButtonSize
529 calculation. Update the default size to match MS documentation.
530 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
531 button size. Fixes #78296.
533 2006-05-10 Mike Kestner <mkestner@novell.com>
535 * ListBox.cs: use is_visible for scrollbar positioning in case the
536 control isn't on screen yet. Fix off by one with Right vs Width
537 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
539 2006-05-10 Jackson Harper <jackson@ximian.com>
541 * X11Dnd.cs: Drop to a control with another control on top of it.
542 * ToolBar.cs: Work on a copy of the buttons list, so that it can
543 be modified in click handlers. TODO: Look for similar problems in
546 2006-05-09 Jackson Harper <jackson@ximian.com>
548 * Form.cs: Window managers need the old window state when setting
550 * InternalWindowManager.cs: Allow the base mdi window manager to
551 handle more of the MDI only stuff (like maximize buttons).
552 * MdiWindowManager.cs: Fix some snafus in changing the window
553 state. Add all the menu functionality, for both popup and
555 * MdiClient.cs: When a new form is selected the currently
556 activated form is sent to the back, this matches MS.
557 - Implement a new method to activate the next mdi child window.
559 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
562 - Added new InternalCapture method to allow controls to prevent
563 the capture behaviour on the click handlers
564 - Switched to use InternalCapture
566 - Using InternalCapture to prevent mouse captures from being released
567 on mouse button release (Fixes #78100)
568 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
569 returns Form borders if a caption is present. (Fixes #78310)
571 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
573 * TreeNode.cs: Changed serialization .ctor to not require every field
574 to be present. (#78265)
575 * OwnerDrawPropertyBag.cs: Added serialization .ctor
577 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
579 * MimeIcon.cs: for is faster than foreach for strings.
581 2006-05-05 Mike Kestner <mkestner@novell.com>
583 * CheckedListBox.cs: update check handling code to not use selected.
584 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
585 behavior for visual feedback, motion response, shift/ctrl handling,
586 and properly deal with all 4 selection modes. Updates to bounds
587 handling logic. Add scroll wheel support. [Fixes #77842]
589 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
592 - Moved adding of Implicit controls into .ctor. That way, subsequent
593 creation of the controls will not cause them to think they are
594 toplevel windows (fixes #78200 header problem)
595 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
596 - Switched visibility setting of header control to use internal field
597 to avoid triggering handle creation
598 - Now checking if handle is created before causing a refresh when items
599 are added (This makes us now match handle creation time with MS)
600 * Splitter.cs: Removed loading of private splitter cursor, switched to
601 Cursors version now that that is loading the right ones
602 * Cursors.cs: Load proper splitter cursors from resources
603 * Cursor.cs: Added second method of loading resource cursors for the
604 VS.Net users amongst us
606 2006-05-05 Mike Kestner <mkestner@novell.com>
608 * ListView.cs: give header_control a minimum size based on the
611 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
613 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
614 window seems to do that with metacity, so set that type. (#78120)
616 2006-05-05 Mike Kestner <mkestner@novell.com>
618 * ListViewItem.cs: fix Details mode checkbox layout bug.
619 * ThemeWin32Classic.cs: draw a ListView column header for unused space
620 at the end of the header, if it exists. [Fixes for #78200]
622 2006-05-04 Jackson Harper <jackson@ximian.com>
624 * MdiClient.cs: Add a helper property to get the container form.
625 * MdiWindowManager.cs: We have to make sure to use the menu origin
626 when drawing the icons and buttons, this fixes maximized window
627 icons/buttons on win32.
628 * InternalWindowManager.cs: Reset the restore captions when a
629 window goes from Maximized to Minimized and vice versa. Move the
630 DrawMaximizedButtons into the MdiWindowManager source, tool
631 windows can't be maximized. NOTE: This could use a little
632 refactoring if time ever permits.
634 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
636 * TextBox.cs: Add MWFCategoryAttributes
637 * TextBoxBase.cs: Add MWFCategoryAttributes
638 * Form.cs: Add MWFCategoryAttributes
640 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
642 * Control.cs: Add MWFCategoryAttributes
643 * ScrollableControl.cs: Add MWFCategoryAttributes
645 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
647 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
648 Divider is true. Fix a little glitch in PropertyToolBar
651 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
654 - Dispose: Call base.Dispose, this causes the disposed event
655 to be fired (and probably other, more important stuff)
656 - SetVisibleCore: Set is_visible to true after creating the
657 window so that the window still gets created invisible (if
658 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
659 to generate a WM_ACTIVE message
660 * Form.cs: Call Dispose when we want to destroy the window, instead of
661 just destroying the handle (Dispose will do that for us)
663 - RootWindow also needs a queue, so we can properly process the
664 property change events from RootWindow (like Activate)
665 - Generatic synthetic WM_ACTIVE message when the active window is
668 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
670 * LinkLabel.cs: Trigger a recalc of our label dimensions when
673 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
675 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
676 for determining width and height (image might not be assigned if
677 we're drawing an imagelist)
679 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
681 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
682 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
684 * Theme.cs: No longer returns hardcoded menu height, instead calls
686 * Form.cs (OnLoad): Scaling happens before triggering Load events
689 2006-05-01 Mike Kestner <mkestner@novell.com>
691 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
693 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
695 * TextBoxBase.cs: Removed Fixme
696 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
698 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
701 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
702 the rectangle relative to the parent, considering borders. We
703 don't really want that.
704 - ScrollWindow: Fixed warning to be more understandable
705 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
706 scrollbars and scroll only the visible area
707 * RichTextBox.cs: Removed debug output
709 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
711 * NumericUpDown.cs (Text): Just use base
712 * UpDownBase.cs: Ensure txtView is created before using it
714 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
716 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
717 casting to IntPtr to avoid 64bit overflow errors
719 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
722 - AllowDrop: Don't force handle creation.
723 - CreateHandle: Added call to tell driver if we're allowed to drop
725 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
727 * FileDialog.cs: Remember the last directory not only for the
728 current instance but also for new FileDialog instances.
730 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
732 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
733 broke sending async messages
735 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
738 - ScrollWindow: Fixed method. We finally generate expose events again
739 for scrolled areas. This was causing 'garbage' when scrolling
740 textbox and other controls that used ScrollWindow
741 - Switched from using the regular queue for paint events to the MS
742 model of 'generating' paint events when the queue is empty.
743 We use the new XQueueEvent.Paint subclass to store which windows
745 - AddExpose now takes the x/y/width/height of the exposed area
746 and inserts the window into the paint queue if not already there
747 - InvalidateWholeWindow: Switched to use new AddExpose method
748 - UpdateMessageQueue: Added which queue to monitor for paint events
749 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
750 the unlikely case nothing above handles it. We reset the expose
751 pending states to get them off the queue.
752 - GetMessage: Now pulls a paint event if no other events are in the
754 - Invalidate: Switched to new AddExpose method
755 - PeekMessage: Updated to understand pending paint events
756 - UpdateWindow: Fixed logic bug. We were only updating if the window
757 didn't need updating. Also switched to sending WM_PAINT directly,
759 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
760 and random access Remove(). The random access is needed to handle
761 UpdateWindow() where a WM_PAINT is sent directly without accessing
763 * ScrollBar.cs: Added Update() calls to cause immediate updates to
764 allow for better feedback when scrolling. Scrollbars are small and
765 the immediate update should make it 'feel' more responsive without
766 slowing things down. ScrollBar still needs it's invaliate logic
767 updated to not always invalidate the whole bar on certain changes.
769 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
772 (BackColor): if the control does not support a transparent background,
773 return the default backcolor when the parent backcolor is transparent.
775 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
777 * Application.cs: Updated to new StartLoop/GetMessage API
778 * RichTextBox.cs: Provide some output on RTF parsing errors
779 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
780 new queue_id argument to GetMessage and PeekMessage to allow faster
781 handling of per-thread queues in drivers.
782 * Hwnd.cs: Added Queue tracking and property
783 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
784 * XEventQueue.cs: Added thread trackingA
785 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
787 - Implemented new per-thread queue
788 - GetMessage: Fixed return/break behaviour on several cases. We were
789 returning stale messages in some cases, instead of just processing
792 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
794 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
796 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
798 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
799 fixed off-by-one comparisons between Width/Height and Right/Bottom.
801 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
803 * PropertyGridView.cs: Fix drop down width.
805 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
807 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
808 a mess in DrawToolBar, so I removed one of them.
810 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
812 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
813 needed (clip). Otherwise we get artifacts.
815 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
817 * FixedSizeTextBox.cs: Added constructor to allow specifying which
819 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
820 and switched FixedSizeTextBox to only be fixed vertical (#78116)
821 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
822 if it matches the scale base font (avoids unneeded scaling)
824 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
826 * X11DesktopColors.cs: One gtk_init_check should be enough
828 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
830 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
833 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
836 - Generate OnTextChanged for Backspace even if we're only deleting
837 the current selection
838 - When setting the Text property, only select all text if the
839 control does not have focus when it is being set. Otherwise
840 just place the cursor at the beginning of the control
842 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
844 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
845 Added a little helper to draw PropertyGrid ToolBar with a different
846 border and a different BackColor.
847 * PropertyGrid.cs: Some background parts didn't get painted with the
848 correct background color. Added a class that helps us to draw the
849 correct border for PropertyGridView and a class that helps us to
850 draw ToolBars with a different backcolor
851 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
853 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
855 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
856 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
858 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
860 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
861 into the palette entries. Also, since we're working on a copy
862 we needed to copy the palette back onto the bitmap.
863 * Cursor.cs: Same fix as XplatUIWin32.cs.
865 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
867 * ImageListStreamer.cs: Need to read the var (or we're off)
869 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
871 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
872 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
873 TextBoxBase.cs: Unused var fixes
874 * AxHost.cs: Small 2.0 fix
875 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
876 as it seems that is what at least Metacity expects. This will make
877 icons show up on 64bit platforms. We still have some 64bit size
878 issues, though, since the startup app window size still won't match.
880 2006-04-25 Mike Kestner <mkestner@novell.com>
882 * *.cs: cleanup newly reported exception var unused warnings.
884 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
886 * ThemeWin32Classic.cs: Button image alignment now matches exactly
889 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
891 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
892 image. The image position is always the same, no matter if the
893 button is pressed or not.
895 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
897 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
898 selection and set the correct filename for SaveFileDialog.
899 Patch by Emery Conrad.
901 2006-04-24 Mike Kestner <mkestner@novell.com>
903 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
904 check for item.X outside the ClientRect instead of item.Y. Fixes
907 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
909 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
910 trust that value blindly and do some sanity check. Fixes bug #77814.
912 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
914 * ImageListStreamer.cs: save the mask as a 1bpp image.
916 2006-04-21 Mike Kestner <mkestner@novell.com>
918 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
919 pass Checked and Indeterminate to the Theme Engine. Improve
920 encapsulation with ListBox.
921 * ListBox.cs: Keep a StringFormat instead of calculating it every item
922 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
923 nested types. Move all CheckState functionality to CheckedListBox.
924 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
925 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
926 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
927 single base list. Fix scrollbar sizing and placement to mirror MS.
928 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
930 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
931 for CheckedListBox by using new DrawItemState info. Center the
932 checkboxes on the items. Use new StringFormat property.
934 2006-04-18 Jackson Harper <jackson@ximian.com>
936 * Form.cs: MdiChildren don't do default locations the same way as
937 regular forms. This prevents a crash when trying to position the
940 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
942 * PropertyGridTextBox.cs: Formatting, copyright
943 * PropertiesTab.cs: Formatting
944 * PropertyGrid.cs: Formatting
945 * PropertyGridView.cs: Formatting, fix drop down, enabled double
946 click toggling of values
948 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
950 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
951 * Control.cs (.ctor): verify_thread_handle is static, don't reset
952 every time a control is created
953 * Application.cs: Removed obsolete EnableRTLMirroring method
955 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
957 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
958 SelectedIndex to -1. Fixes bug #78121.
960 2006-04-17 Jackson Harper <jackson@ximian.com>
962 * Binding.cs: Handle null values for Current and BindingContext.
963 This occurs when binding is a little delayed.
964 * CurrencyManager.cs: return null for Current when there are no
966 - Hookup to the listchanged event on the DataView and update
967 bindings when the list is changed. This fixes late binding of
970 2006-04-17 Jackson Harper <jackson@ximian.com>
973 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
976 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
978 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
980 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
981 with the correct ButtonState
983 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
985 * XplatUIX11.cs: Improved distinguishing between window types to
986 tell the WM a type closer to what the app wants (Fixes #78107)
988 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
990 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
993 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
995 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
996 drawing code to reflect the size grip changes
998 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1000 * ImageListStreamer.cs: fix handling of the mask that follows the main
1001 bitmap when deserializing and serialize it properly. The generated mask
1002 should better be a 1bpp image, but I'll do that later.
1004 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1006 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1007 path doesn't fit into some of our Current.Places
1009 2006-04-13 Jackson Harper <jackson@ximian.com>
1011 * ComboBox.cs: Use borders instead of drawing our own decorations,
1012 try to obey correct rules for heights.
1015 * ThemeClearLooks.cs:
1016 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1017 this is now handled by borders.
1018 - Remove unused DrawListBoxDecorationSize method.
1020 2006-04-13 Mike Kestner <mkestner@novell.com>
1022 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1025 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1027 * ThemeWin32Classic.cs:
1028 - Fixed CPDrawStringDisabled
1029 - Corrected drawing of disabled menu items
1030 - Fixed drawing of disabled radio buttons (bug #78095)
1031 - Draw check in a disabled CheckBox with color ControlDark
1033 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1035 * Form.cs: Use the provided width when calculating the menu size;
1036 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1037 and ClientSize.Width won't be updated yet
1038 * Application.cs: Use Visible instead of Show() to make form visible,
1039 this way we create the handle later and menusize is considered
1041 2006-04-12 Mike Kestner <mkestner@novell.com>
1043 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1046 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1048 * TextBox.cs: Implemented context menu
1050 2006-04-12 Mike Kestner <mkestner@novell.com>
1052 * ListView.cs: implement box selection. fixes #77838.
1053 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1055 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1057 * XplatUIX11.cs: Added setting of window type when transient window
1058 is created (metacity would move it otherwise)
1059 * X11Structs.cs: Added WINDOW_TYPE atoms
1060 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1061 background (the control is Opaque but still wants transparent
1064 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1066 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1067 that set Opaque but don't mean it (like all ButtonBase-derived
1068 controls) to still draw their background
1069 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1072 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1074 * Control.cs (PaintControlBackground): Set the graphics object
1075 on our PaintEvent to null to prevent it from being disposed
1076 when the PaintEvent gets disposed
1078 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1080 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1081 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1083 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1086 - Added transparency check to BackColor property. Transparent
1087 backgrounds are only allowed if the control styles permit it
1088 - Added recursive painting of parent control background and
1089 foreground if a control with a transparent backcolor is drawn
1090 (Thanks to Tim Ringenback for providing his 'hack' as a base
1091 for this patch) Fixes #77985 and #78026.
1092 - Added Opaque style check before calling OnPaintBackground, no
1093 need to draw the background if the control is opaque
1094 - Removed ControlAccessibleObject owner variable (inherited from
1095 base, no need to define again)
1096 - Added some documentation links explaining the drawing events
1099 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1101 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1102 that the affected control is the located at the left border of our
1103 parent (Fixes #77936)
1105 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1107 * TextBoxBase.cs: When rendering disabled or readonly controls,
1108 draw the background with 'Control' instead of 'Window' color as
1109 long as the user hasn't specifically set a color
1111 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1113 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1114 since that won't be updated if the user types text (only if it's
1115 programatically set)
1117 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1119 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1120 layout changes do to app-triggered resizes will have the proper
1121 display rectangle for layout
1123 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1125 * ThemeWin32Classic.cs:
1126 - Make use of the SystemBrushes and SystemPens wherever possible
1127 - Corrected some highlight colors
1128 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1130 * Theme.cs: Added Empty field to CPColor struct
1132 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1134 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1135 is displayed when calculating the display rectangle. Thanks to Mike
1136 for teaching me the err of my ways.
1138 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1140 * ScrollableControl.cs:
1141 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1142 (instead of 0,0) and we now return the real width/height instead of
1143 just the clientrectangle, adjusted for padding. The rectangle is
1144 now cached and created by the new CalculateDisplayRectangle method.
1145 - Created new CalculateDisplayRectange method, which basically does
1146 what get_DisplayRectangle() did originally, but now using the
1147 right edge instead of DisplayRectangle to determine the size of
1149 - get_Canvas(): Fixed it to properly calculate canvas for
1150 right/bottom controls which seem to be placed to the right/bottom
1151 of any controls that have a fixed location
1152 - Removed TODO that's taken care of
1153 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1154 and SetDisplayRectLocation according to new MSDN2 docs
1155 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1156 event when that is called, this is added for compatibility
1157 - ScrollControlIntoView(): Implemented.
1158 - Switched scrollbars to be implicit, they shouldn't be selectable
1159 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1160 call it when the active control is set/changed
1161 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1162 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1163 implicit_control variable (used for native Win32 message generation)
1164 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1165 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1166 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1167 * XplatUIStructs.cs: Added ScrollBarCommands enum
1169 2006-04-10 Jackson Harper <jackson@ximian.com>
1172 * CheckedListBox.cs:
1179 * PrintPreviewControl.cs:
1185 * UpDownBase.cs: Fixup base event overrides.
1187 2006-04-06 Mike Kestner <mkestner@novell.com>
1189 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1190 all user-initiated value changes to min <= value <= max-thumbsz+1.
1191 (set_Value): check for vert/horiz when calculating new thumb position.
1192 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1194 (OnMouseMoveSB): refactor the thumb dragging code and refine
1195 invalidation logic to reduce flicker.
1196 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1197 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1198 (UpdateThumbPosition): small code readability cleanup
1200 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1202 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1205 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1207 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1209 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1211 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1212 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1213 This dramatically reduces the number of Pen.Dispose calls.
1214 Where possible call ResPool methods only once instead of calling it
1215 over and over again (for example for the same color).
1217 2006-04-06 Mike Kestner <mkestner@novell.com>
1219 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1220 Also remove an unused private field on the collection. Fixes #77972.
1222 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1224 * ThemeNice.cs: Added ToolBar drawing code
1226 2006-04-06 Mike Kestner <mkestner@novell.com>
1228 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1229 I'm assuming that means we need to look up the toplevel for the
1230 provided control. Fixes the crash trace in #77911 but exposes another
1231 crash in some strange reflection usage in NDocGui.
1233 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1235 * ThemeNice.cs: Gave it a little silver touch and added Images
1237 * FontDialog.cs: FontDialog is not resizable
1238 * FileDialg.cs: Added SizeGripStyle.Show
1240 2006-04-05 Jackson Harper <jackson@ximian.com>
1242 * KeyboardLayouts.cs: Remove warning.
1244 2006-04-05 Jackson Harper <jackson@ximian.com>
1246 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1247 all of our controls instead of Paint +=.
1262 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1263 use OnPaintInternal. Remove Width/Height and Visible checks in
1264 paint handler, this is done at a higher level now.
1265 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1266 * PaintEventArgs.cs: Add a handled flag so controls that don't
1267 want anymore painting after OnPaintInternal can make sure OnPaint
1270 2006-04-05 Mike Kestner <mkestner@novell.com>
1272 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1273 state of the form, so that we don't process events when Modal dialogs
1274 are up. Fixes #77922.
1276 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1278 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1281 2006-04-05 Mike Kestner <mkestner@novell.com>
1283 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1285 2006-04-05 Mike Kestner <mkestner@novell.com>
1287 * ListView.cs (HeaderMouseMove): null guarding for the over column
1288 when setting up the drag_to_index. Fixes #78015.
1290 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1292 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1293 in the taskbar. Transient windows seem to accomplish that.
1295 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1298 - Re-enabled CreateParams.X/Y code for FormStartPosition
1299 - Added code for manual placement when creating the Control
1300 - Incomplete patch to treat MDI forms differently when
1301 setting the ClientSizeCore. (Still need to figure out handling
1304 - When we're explicitly setting the X/Y position of a non-Child
1305 window, let the WM know. Metacity really wants this.
1307 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1309 * ThemeNice.cs: Added CPDrawButton
1311 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1313 * ThemeNice.cs: Changed the color for focused buttons and activated
1314 the arrows for small scroll buttons.
1316 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1318 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1319 anymore. Changed some method modifiers to protected (virtual)
1320 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1322 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1323 Updated drawing of menus, buttons and progressbars; added
1326 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328 * ImageListStreamer.cs: implemented serialization/deserialization
1331 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1333 * ThemeWin32Classic.cs:
1334 - Removed all the DrawFrameControl stuff; CPDrawButton,
1335 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1337 - Updated and corrected the drawing code of CPDrawButton,
1338 CPDrawCheckBox and CPDrawRadioButton to better match ms
1339 - Updated theme checkbox and radiobutton code to use the CP*
1342 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1344 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1347 2006-03-31 Jackson Harper <jackson@ximian.com>
1349 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1351 * UpDownBase.cs: Don't CreateGraphics manually, use a
1352 Refresh. Ideally we would invalidate the correct areas here.
1354 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1357 - We now track the mapping state of windows. If a window (or
1358 one of it's parents) is not mapped we no longer permit
1359 WM_PAINT messages to be generated since we'd otherwise get
1360 lots of BadMatch X errors. Jackson did all the work figuring
1362 - Destroying the caret if the window it's contained in is
1363 destroyed. Can't use regular DestroyCaret method since it
1364 might fall into a drawing function (trying to remove the
1365 caret) and with that generate new BadMatch errors. Again,
1366 Jackson tracked this down.
1367 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1368 make sure we send the messages to all windows. (The old code
1369 would send the WM_DESTROY to the window, and then all child
1370 windows would be 'gone' because the WM_DESTROY handle lookup
1371 would no longer find the destroyed window)
1372 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1373 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1375 2006-03-31 Jackson Harper <jackson@ximian.com>
1377 * ScrollableControl.cs: Dont recalc if we are not visible.
1379 2006-03-31 Mike Kestner <mkestner@novell.com>
1381 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1382 the visibility branch.
1384 2006-03-31 Jackson Harper <jackson@ximian.com>
1386 * ScrollBar.cs: Cap values when incrementing/decrementing.
1388 2006-03-31 Mike Kestner <mkestner@novell.com>
1390 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1391 * ToolTip.cs: guard against timer expirations with no active control.
1392 Not sure why it happened.
1394 2006-03-31 Mike Kestner <mkestner@novell.com>
1396 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1398 * ToolTip.cs: Position the tooltip based on where the cursor is at
1399 popup time, not at MouseEnter time. Add a Down state so that we don't
1400 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1401 positioning offset. Lookup DisplaySize at positioning time, since it
1402 can theoretically change during invocation.
1403 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1404 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1406 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1408 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1409 Fixes behaviour when the Text property of the box is String.Empty
1411 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1413 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1414 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1417 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1419 * FileDialog.cs: Visual enhancement for the popup buttons in
1422 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1424 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1427 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1429 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1430 highlighted menu items to match ms
1432 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1434 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1436 2006-03-30 Mike Kestner <mkestner@novell.com>
1438 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1439 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1440 go active to account for HotLight to Selected transition.
1441 * MenuItem.cs: add internal Selected prop. Fill out the Status
1442 property by calculating it from item info. Add HotLight,
1443 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1445 2006-03-30 Mike Kestner <mkestner@novell.com>
1447 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1449 2006-03-29 Jackson Harper <jackson@ximian.com>
1451 * Form.cs: Implement TODO.
1453 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1455 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1456 missing proper dialog setup in the constructor
1458 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1460 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1462 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1463 - Fixed ResetBindings and removed TODO
1464 - Added check for cross-thread calls to get_Handle()
1465 - Added Marshaller attribute for set_Font to satisfy class status
1466 * FontDialog.cs: Removed TODOs that seemed implemented
1467 * UpDownBase.cs: Removed unneeded TODO and Fixme
1468 * MessageBox.cs: Implemented support for Default button and removed TODO
1469 * FileDialog.cs: Removed obsolete TODO
1470 * DomainUpDown.cs: Removed obsolete TODO
1471 * ButtonBase.cs: Removed obsolete TODO
1472 * XplatUIWin32.cs: Removed obsolete TODO
1474 - Removed obsolete TODO
1475 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1476 internal status updates
1477 - Making sure the active control is selected when the control is created
1478 * CurrencyManager.cs: Removed obsolete TODO
1480 2006-03-29 Mike Kestner <mkestner@novell.com>
1482 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1483 of PrintPreviewDialog and RichTextBox.
1485 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1487 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1488 DarkDark, Light and LightLight colors for a specific color
1489 * ThemeWin32Classic.cs:
1490 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1492 - Make use of the new ResPool helper CPColor
1493 - Draw ProgressBar and StatusBar with correct 3D borders
1495 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1497 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1499 2006-03-28 Mike Kestner <mkestner@novell.com>
1501 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1502 calculating col/row counts.
1504 2006-03-28 Mike Kestner <mkestner@novell.com>
1510 switch to explicit interface method implementation for some methods
1511 corcompare identifies as inconsistent with MS.
1513 2006-03-28 Mike Kestner <mkestner@novell.com>
1517 add a few missing methods from the class status output.
1519 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1521 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1524 2006-03-28 Mike Kestner <mkestner@novell.com>
1526 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1528 2006-03-27 Mike Kestner <mkestner@novell.com>
1530 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1531 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1533 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1535 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1537 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1539 * ThemeWin32Classic.cs:
1540 - GroupBox: Inserted a little gap between the text and the lines
1542 - Made the code in CPDrawBorder3D more readable
1543 - Corrected the drawing location of the up and down arrows in
1546 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1548 * ControlPaint.cs: Corrected line widths in DrawBorder for
1549 ButtonBorderStyle Inset and Outset
1551 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1553 * ThemeWin32Classic.cs:
1554 - Rewrote the totally broken CPDrawBorder3D method. That was
1555 one of the main problems for the terrific ThemeWin32Classic
1557 - Updated and corrected Button drawing
1558 - Correct the dimensions of the SizeGrip to match ms ones
1559 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1560 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1561 Border3DStyle.Sunken to match ms.
1563 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1565 * ThemeWin32Classic.cs: First small part of the "de-uglify
1566 ThemeWin32Classic" effort, SizeGrip
1568 2006-03-24 Jackson Harper <jackson@ximian.com>
1570 * XplatUIX11.cs: Give a max idle time of one second, this matches
1571 MS and forces an Idle event every second when there are no other
1572 events in the queue.
1574 2006-03-24 Mike Kestner <mkestner@novell.com>
1576 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1577 * ListView.Item.cs: fix layout issues with null image lists and images
1578 smaller than checkbox size.
1579 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1580 mode like MS does. It's weird, but consistent. ;-)
1583 2006-03-24 Mike Kestner <mkestner@novell.com>
1585 * ListView.cs: Scroll wheel support for the item control. Fixes
1588 2006-03-23 Jackson Harper <jackson@ximian.com>
1590 * ScrollableControl.cs: Special case negative sized areas, not
1592 * MonthCalendar.cs: Save the rect of the clicked date so we can
1593 use it for invalidation.
1594 - Try to cut down on the number of invalidates
1595 - Invalidate the rect the mouse is over and was over when moving
1596 the mouse, so we get the focus box following the cursor.
1598 2006-03-23 Mike Kestner <mkestner@novell.com>
1600 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1601 focus rectangle drawing. Fixes #77835.
1603 2006-03-23 Mike Kestner <mkestner@novell.com>
1605 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1606 the if and else if and reverting back to the original == check on the
1609 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1611 * FontDialog.cs: Update the example panel if the selected index of
1612 the fontListBox changes.
1614 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1616 * FileDialog.cs: Make FileDialog remember which directory it was in
1617 last in the same execution.
1619 2006-03-22 Mike Kestner <mkestner@novell.com>
1621 * FileDialog.cs: make the DropDownMenu on the toolbar display
1622 RadioChecks since they are mutually exclusive and that's what MS does.
1624 2006-03-22 Mike Kestner <mkestner@novell.com>
1626 * Theme.cs: add Color param to CPDrawMenuGlyph.
1627 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1628 checks and radio marks and arrows are visible on highlighted items.
1629 * ControlPaint.cs: update to use new Theme signature.
1631 2006-03-22 Mike Kestner <mkestner@novell.com>
1633 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1634 is active. Fixes #77870.
1636 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1638 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1639 to be focused/selected after startup
1641 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1644 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1645 CustomColors and ShowHelp properties
1646 - Some internal rewrites to get better results when using the
1649 2006-03-22 Mike Kestner <mkestner@novell.com>
1651 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1652 HoverSelection. Fixes #77836.
1654 2006-03-22 Mike Kestner <mkestner@novell.com>
1656 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1657 ToggleButtons. (De)Sensitize the Back button around a stack count of
1658 1, not 0. Update ButtonSize based on a pixel count of the win32
1659 control. Adjust the toolbar size/location for new button size.
1661 2006-03-22 Jackson Harper <jackson@ximian.com>
1663 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1665 * ScrollBar.cs: When doing increments and decrements we need to
1666 set the Value property so that ValueChanged gets raised. A
1667 possible optimization here would be to make an internal SetValue
1668 that doesn't invalidate immediately.
1669 * ToolTip.cs: Tooltips get added to their container (when
1670 supplied) so they get disposed when the container is disposed.
1671 - Don't create tooltips for String.Empty. This prevents all these
1672 little 2-3 pixel windows from showing up when running nunit-gui
1674 * Form.cs: Don't set topmost when setting the owner if the handles
1675 haven't been created yet. The topmost set will happen when the
1676 handles are created.
1678 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1681 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1682 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1683 visible (to allow them to recalculate their sizes)
1685 2006-03-21 Mike Kestner <mkestner@novell.com>
1687 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1688 methods. Removed a ton of redundant code. Still not really happy with
1689 the border rendering, but I think that's mainly because of the
1690 ControlDarkDark being black instead of a dark grey. Depending on how
1691 close we want to be, we might want to revisit those color choices.
1692 Among the new features added during the refactor were DropDownArrow
1693 pressed rendering, Disabled image rendering. Proper flat appearance
1694 boundary rendering. Removed the Divider and Wrapping dividers since I
1695 can't figure out any combination of themes and conditions to make the
1696 MS control draw a horizontal line on a toolbar despite what the
1697 Divider property docs indicate.
1698 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1699 conditions and incorrect layout. Updated to coding standard.
1700 * ToolBarButton.cs: refactored layout and positioning code from
1701 ToolBar to here. Invalidate wherever possible instead of forcing
1702 redraws of the whole toolbar.
1703 (Known remaining issues: explicit ButtonSize smaller than provided
1706 2006-03-21 Mike Kestner <mkestner@novell.com>
1708 * ContextMenu.cs (Show): use the position parameter instead of just
1709 showing at the MousePosition.
1711 2006-03-21 Jackson Harper <jackson@ximian.com>
1713 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1714 control handle this.
1715 * TreeNodeCollection.cs: If we are clearing the root node we need
1716 to reset top_node so calcs can still happen.
1717 * ThemeWin32Classic.cs: This is a Flags so we need to check
1720 2006-03-21 Jackson Harper <jackson@ximian.com>
1722 * DataGrid.cs: Create columns when the binding context has been
1724 * X11Structs.cs: Keysyms are uints.
1725 - Add size to fix build.
1727 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1729 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1731 - Added ResetMouseHover method to allow controls to retrigger
1732 hovering if they need it more than once
1733 - Implemented MouseHoverTime and MouseHoverSize properties
1734 * Timer.cs: Start() must reset the interval
1735 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1738 2006-03-21 Jackson Harper <jackson@ximian.com>
1740 * X11Keyboard.cs: improved layout detection. Move the nonchar
1741 tables into this file.
1742 * KeyboardLayouts.cs: Move the tables into resource files.
1744 2006-03-21 Mike Kestner <mkestner@novell.com>
1746 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1748 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1750 * Mime.cs: Various speed optimizations. Looking up mime types
1751 is now 2 times faster than before
1753 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1755 * CreateParams.cs: Added internal menu field
1757 - Switched call order for UpdateBounds; now we always call
1758 the one that also takes ClientSize, and we're calculating the
1759 client size via driver method in the others. The previous
1760 method of tracking client size by difference wasn't working
1761 for forms where even the starting client size wouldn't match
1762 the overall form size (due to borders) (Part of fix for #77729)
1763 - CreateParams(): Do not use parent.Handle unless the handle is
1764 already created. Causes havoc with Nexxia and throws off our
1765 creation of controls
1767 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1768 - Switched handling of ConfigureNotify over to new PerformNCCalc
1769 method (consolidates code)
1770 - Changed RequestNCRecalc to use new PerformNCCalc method
1771 - Added calls to RequestNCRecalc when menus and borders are changed
1772 to allow app to set NC size. (Part of fix for #77729) This matches
1773 when MS send a WM_NCRECALC on Win32 windows.
1774 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1775 (Part of fix for #77729). This matches what MS does, they also
1776 send that message when the form is made visible.
1777 - XException.GetMessage: Improved usability of X errors by including
1778 a translation of the window into Hwnd and Control class
1779 - Improved debug info for window creation, reparenting and destruction
1780 - Created helper method WindowIsMapped() [Currently not used]
1781 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1783 - CreateParams: Now setting our menu on the new internal menu field
1784 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1785 avoid calculating the same property twice
1787 - Improved usability of ToString() for debugging purposes
1788 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1789 determine the height of the menu, instead of just the font. This
1790 required to also create a graphics context and to keep a bmp
1791 around (for performance reasons)
1793 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1795 * MenuAPI.cs: Added OnMouseUp method
1797 - Now remembering the requested client size, avoids size errors
1798 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1799 instead of base if the menu is active. This is required due to
1800 control now capturing and releasing on down/up and it would
1801 prematurely release our menu capture
1803 2006-03-17 Jackson Harper <jackson@ximian.com>
1805 * KeyboardLayouts.cs: Add the czech layouts.
1807 2006-03-16 Jackson Harper <jackson@ximian.com>
1809 * Control.cs: Use the viewport space when sizing not the controls
1810 client size, so things like ScrollableControl that effect the
1811 viewport size (when scrollbars are added) are computed correctly.
1812 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1814 - Handle creating BindingManagers for null data sources.
1815 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1816 source, otherwise when rows are added they are added to the 'fake'
1817 datasource and we will crash when trying to set the position in
1819 - Use Implicit scrollbars on the datagrid so they arent
1822 2006-03-16 Jackson Harper <jackson@ximian.com>
1825 * InternalWindowManager.cs:
1826 * MdiWindowManager.cs:
1827 * X11Keyboard.cs: I really want Mike to love me again (fix
1830 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1833 - OnMouseDown: Switch to editing mode when clicking on the cell
1834 even if we're clicking on the cell that's currently
1836 - ProcessGridKey: Left/Right now wrap like MS.Net does
1837 - ProcessGridKey: Tab now knows to add a new row when tab is
1838 pressed in the cell of the last column of the
1840 - ProcessGridKey: Enter now adds another row if pressed in the last
1841 row and selectes the new row, same column cell
1842 - ProcessGridKey: Home/End navigate columns, not rows, like
1843 originally implemented
1844 - Broke ProcessKeyPreview code out into an extra Internal method
1845 so it can be called from the edit code
1846 * DataGridTextBox.cs (ProcessKeyMessage):
1847 - Switched to accept Tab keypresses
1848 - Added F2 handling to allow jumping to the end of the edited cell
1849 - Added logic to allow moving caret left/right inside edited cell
1850 and making the edited cell jump when the caret hits cell borders
1851 - Tab and Enter are now passed to the datagrid after being handled
1853 - Removed capture code now that Control handles it
1854 - set_SelectionStart now ensures caret is visible
1856 2006-03-16 Jackson Harper <jackson@ximian.com>
1858 * TrackBar.cs: Debackwards the increment/decrement for handling
1859 mouse clicks on the bar with vertical trackbars.
1860 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1863 2006-03-16 Mike Kestner <mkestner@novell.com>
1865 * ListView.cs: make shift/ctrl keyboard and mouse selection
1866 consistent with the MS control. Fix a bug in
1867 SelectedListViewItemCollection.Clear that was pissing me off for the
1868 better part of a day because the collection was being altered
1869 underneath us as we walked the list.
1871 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1873 * Control.cs: Not sure how we could miss this so long, but it seems
1874 that MS.Net has Capture set all the way from before calling
1875 OnMouseDown through sending the mouse events until after
1876 OnMouseUp. This will fix DataGrid's selection being set to end
1877 at the location of the MouseUp.
1879 2006-03-15 Jackson Harper <jackson@ximian.com>
1881 * BindingContext.cs: Check the binding after its added so that it
1882 can initialize the binding managers and hookup to events.
1883 * Binding.cs: Data members seem to sometimes include rows/cols in
1884 the format Row.Column we now take this into account.
1885 - Hookup to the position changed event so we can update the
1886 control when the position has changed in the data set.
1887 * CurrencyManager.cs: Take into account the row/col naming
1888 convention when creating dataset tables.
1889 * BindingContext.cs: Using a newer better way of storing
1890 datasource/datamember pairs. Hopefully this better matches MS for
1891 looking up binding managers.
1894 2006-03-15 Jackson Harper <jackson@ximian.com>
1896 * BindingContext.cs: The currency manager needs the data member
1897 name, if the member is a data set we use the name to find the
1899 * CurrencyManager.cs: When creating the list prefer an IList over
1901 - Attempt to create a DataTable from a DataSet (TODO: might need
1902 some better error checking here, although MS doesn't seem to have much)
1903 - If we have a DataTable create a view and use it as our list.
1905 2006-03-15 Mike Kestner <mkestner@novell.com>
1907 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1908 keyboard navigation. Support Up/Down/Left/Right selection correctly
1909 for all 4 View modes.
1910 * ListViewItem.cs: add internal row/col fields for icon layouts.
1912 2006-03-15 Jackson Harper <jackson@ximian.com>
1914 * TabControl.cs: Redraw the tabs when we resize so their newly
1915 calculated sizes are drawn on screen.
1916 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1917 composite characters.
1918 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1919 - filter events so that composite characters can be created
1921 * X11Structs.cs: Add XIMProperties enum.
1923 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1925 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1928 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1930 * Control.cs (PerformLayout): We don't need to consider visiblity
1931 for anchoring, only for docking. This fixes 'whacky' alignment
1932 in listbox and other controls that use implicit scrollbars after
1933 the previous PerformLayout patch
1934 * ListBox.cs: Switched to use implicit scrollbars
1936 2006-03-14 Mike Kestner <mkestner@novell.com>
1940 - chain up the "new event" overrides to base and use
1941 OnEvent to raise them. Part of fix for bug #76509.
1943 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1945 * FileDialog.cs: Do not select an item in the parent directory
1948 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1950 * Control.cs (PerformLayout): It would seem that we considered
1951 invisible windows for our layout. Not quite the right thing
1952 to do. Now we don't any longer, thereby fixing bug #76889.
1954 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1956 * Control.cs (CanFocus): I goofed. A control can have focus
1957 even though it's not selectable. Made it match MS docs.
1959 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1961 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1962 center by default (fixes #76895)
1963 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1964 all uses of Border3DSides.All with the explicit ORd together
1965 Left|Right|Top|Bottom because I assume that nobody was aware
1966 that All also implies a center fill. Most places I checked had
1968 * ProgressBarStyle.cs: Added
1970 2006-03-13 Mike Kestner <mkestner@novell.com>
1972 * ListView.cs: fix breakage in drag shadow header positioning
1973 from Peter's csc compilation fix.
1975 2006-03-13 Mike Kestner <mkestner@novell.com>
1977 * ListView.cs: fix NRE produced by backspacing twice in a focused
1980 2006-03-13 Mike Kestner <mkestner@novell.com>
1982 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1984 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1986 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1988 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1989 the allowed size before making programmatic size changes
1991 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1993 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1994 set, metacity is broken and will still use the emty sizes in
1995 the struct. (Fix for #77089)
1997 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1999 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2000 WindowExStyles and marked both enums as Flags
2001 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2002 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2003 to match WindowStyles split
2005 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2006 - Updated to match WindowStyles split
2008 - Fixed FosterParent creation, was using ExStyle on the Style field
2009 (This should help with Popup focus issues)
2010 - Updated to match WindowStyles split
2012 2006-03-13 Jackson Harper <jackson@ximian.com>
2014 * MdiWindowManager.cs: Use the system menu height. Fixes some
2015 strange sizing issues.
2017 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2019 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2021 - Scroll to caret after inserting text (#77672)
2022 - Make scroll range one pixel higher, fixes off-by-one error (and
2023 makes underlines visible on the last line)
2025 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2027 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2028 the keyboard state from being stuck with keys in 'pressed' state when
2029 focus is switched away via keyboard
2030 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2031 reset the keyboard if no X11 KeyUp events are expected to come
2032 * X11Structs.cs: Switched type of Visible to bool to match driver
2034 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2037 - Switched caret to be just 1 pixel wide, matches MS and looks less
2039 - Moved caret display 1 pixel down from the top of the control
2041 - InsertCharAtCharet: Update the selection start if moving the caret
2042 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2043 - No longer always creating the caret when the caret methods are
2044 called. Only the actual ShowCaret/HideCaret will do that now
2045 - Only setting caret visible if the owner control has focus
2046 - UpdateView: Added invalidation-shortcut logic for center and right
2047 aligned text. Previously we'd update all according to the left
2048 logic which caused drawing errors. Also fixed height of invalidated
2049 areas, now properly invalidating the whole area (was off-by-one)
2050 - owner_HandleCreated: Always generate the document when the
2051 handle is created; this ensures that
2053 - Fixed situation where caret would disappear under the right
2054 window border, also improved scrolling behaviour on left-
2056 - Fixed right-aligned textboxes to have a border to the
2057 right instead of the caret being under the right border
2059 - Switched from 'nested' to simple visible/not visible tracking
2060 for caret (part of fix for #77671)
2061 - No longer passing through translated FocusIn/FocusOut messages
2062 since we were notifying too often and the wrong windows. Instead
2063 we just notify our focussed window of receiving or loosing focus
2064 * XplatUIWin32.cs: Switched from 'nested' show/hide
2065 counting for caret to simple visible yes/no behaviour (part of
2068 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2070 * Mime.cs: Remove debug code...
2072 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2074 * MimeGenerated.cs: Removed
2075 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2076 and subclasses) from /usr/(local/)share/mime and
2077 $HOME/.local/share/mime.
2079 2006-03-10 Jackson Harper <jackson@ximian.com>
2081 * MdiWindowManager.cs: Recalc the NC area when a window is
2082 maximized/restored so that the menu area is drawn on forms that
2085 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2087 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2088 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2089 us to force a WM_NCCALCRESIZE message being sent. This is needed
2092 2006-03-10 Jackson Harper <jackson@ximian.com>
2094 * Form.cs: We need to use the ActiveMenu when calculating menu
2096 - Fix nullref when the window manager hasn't been created yet.
2097 * Control.cs: Fix nullref when we try to bring a control to the
2098 front that has no parent.
2099 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2101 - Add a dummy item to the maximized menu so it always has the
2102 correct height. Otherwise when there are no menus we don't get our
2106 2006-03-10 Jackson Harper <jackson@ximian.com>
2108 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2110 * Form.cs: Make the window_state internal so the window managers
2112 - When an MDI child is maximized let its window manager create the
2113 main menu (so it can add its icon).
2114 - Notify the window managers of state changes
2115 - Let the window manager paint its buttons and handle button
2116 clicks on the menu when it is maximized.
2117 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2118 window manager, since tool windows don't use it, only mdi windows.
2119 - Tell the main form that we don't want it to handle NCPAINT
2120 itself to avoid extra painting.
2121 - Handle clicks on a maximized windows menu.
2122 - Handle window state changes
2123 - Handle minimize/maximize clicks correctly by setting the window state.
2124 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2125 when clicking on the forms icon).
2126 - New method to create a forms maximized menu. This is its normal
2128 - Handle window state changes.
2129 - Handle sizing of maximized windows. Maximized windows are just
2130 drawn bigger then the parent visible area. All controls are still
2131 there, they are just outside the visible area (this matches windows).
2132 * MdiClient.cs: No scrollbars when a child window is maximized.
2133 - Let the children windows figure out how big they should be when
2134 sizing maximized windows.
2135 - Implement a version of ArrangeIconicWindows somewhat similar to
2136 Windows version. There are some little differences, but I don't
2137 think any app will rely on the layout of minimized mdi windows.
2139 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2141 * Padding.cs: Several fixes to allow compiling with csc 2.0
2143 2006-03-09 Jackson Harper <jackson@ximian.com>
2146 * MenuItem.cs: Cheap hack so we can add items to the list without
2147 the events being raised. This allows adding mdi items during
2148 drawing. TODO: Should probably find a better time to add the items.
2150 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2152 * ThemeWin32Classic.cs:
2153 - CheckBox_DrawText: Added logic to not wrap if not enough space
2154 is available (Fix for bug #77727)
2155 - RadioButton_DrawText: Added logic not to wrap if not enough
2156 space is available (Fix for bug #77727). Also removed some
2157 duplicate code, DrawString always drawing the regular text
2158 before hitting the if statement.
2160 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2162 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2164 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2166 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2167 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2168 methods. Moved the new 2.0 properties into alphabetical order with
2169 other properties and added MonoTODO tags
2171 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2173 * AutoScaleMode.cs: Added. Fix build.
2175 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2177 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2178 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2179 and was requiring premature handle creation for calls from above
2180 * Form.cs, Control.cs: Removed handle arguments from calls to
2181 CalculateClientRect()
2183 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2185 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2186 drag_column.column_rect is MarshalByRef and can't be used that way
2188 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2190 * AxHost.cs: Added deserialization constructor for
2191 AxHost+State (fixes 77743)
2193 2006-03-09 Mike Kestner <mkestner@novell.com>
2196 - Added column drag reordering for details view.
2197 - fixed behavior when mouse is dragged off column and
2198 AllowColumnReorder is false.
2199 * ColumnHeader.cs: clone the format too in Clone.
2200 * Theme.cs: add DrawListViewHeaderDragDetails method.
2201 * ThemeWin32Classic.cs:
2202 - impl new method for drawing drag column shadows and targets.
2203 - support column offset for details mode in DrawListViewItem.
2205 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2207 * TextControl.cs: Reset the char_count when the document is cleared
2208 (Fixes bug reported on mono-winforms mailing list)
2210 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2212 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2213 of calling base we simply process the key ourselves, since both
2214 DefWindowProc and the handled method would set m.Result.
2217 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2219 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2220 method also moves the window; instead implemented a copy of
2221 Control.ScaleCore (Part of fix for #77456)
2223 - Created new CreateGraphicsInternal method to allow providing
2224 a graphics context when no handle is created without triggering
2225 handle creation. (Part of fix for #77456)
2226 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2228 - Switched Constructor to require TextBoxBase instead of Control (to
2229 allow uncast access to CreateGraphicsInternal)
2230 - Safeguarded use of owner.Handle property. No longer accessing it
2231 unless the handle is already created.
2232 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2233 - Now triggering a recalc when owning control becomes visible
2234 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2235 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2236 premature handle creation (Part of fix for #77456)
2238 - We now only destroy our double-buffering buffers when the
2239 control is resized or disposed, but not when visibility
2240 changes. (The code even re-created them twice every time)
2241 - Now requiring a redraw of the buffer on visibility changes
2242 (fixes bug 77654 part 2)
2243 - Not passing OnParentVisibleChanged up unless the control
2245 - CanFocus: Fixed to match MS documentation
2246 - Focus: Fixed to return actual focus state and to check if
2247 setting focus is legal before setting it
2249 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2251 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2252 when to draw focus rectangle by looking at parent focus and
2253 selected state instead. This fixes TabPages on Linux sometimes
2254 having none or multiple focus rectangles.
2255 * XplatUIX11.cs (SetFocus):
2256 - Don't set the focus if the same window already has focus
2257 - Use SendMessage instead of PostMessage (like it's Win32
2258 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2259 to match MS behaviour
2260 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2263 2006-03-07 Jackson Harper <jackson@ximian.com>
2265 * PictureBox.cs: Revert line I accidently committed last week.
2267 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2270 - Added new IsRecreating and ParentIsRecreating properties to
2271 allow testing if RecreateHandle has been called on ourselves
2272 or one of our parents
2273 - WndProc(WM_DESTROY): If our control handle is being recreated
2274 we immediately need to create the handle when receiving the
2275 destroy, that way our child windows find a valid parent handle
2276 when they themselves are being recreated upon WM_DESTROY receipt
2277 (fix for bug #77654 part 1)
2279 - DestroyWindow: WM_DESTROY must be sent to our own window before
2280 notifying any child windows. MS documents that child windows
2281 are still valid when WM_DESTROY is received. (Control now relies on
2283 - Added some fine-grain debug options
2285 2006-03-06 Jackson Harper <jackson@ximian.com>
2287 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2288 box and base calculations off this.
2289 * MdiChildContext.cs:
2290 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2293 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2295 * Splitter.cs: In situations where the affected control is added
2296 to the parent's control list after the splitter, we would not
2297 populate affected. Now we try populating it on mousedown, if
2298 it's not already set, and force it to be re-set whenever our
2301 2006-03-03 Matt Hargett <matt@use.net>
2303 * Control.cs: implement Control.Padding
2304 * Padding.cs: -Padding.All returns -1 when constructing with the
2305 implicit default ctor
2306 -Padding.ToString() matches MS.NET
2307 * ContainerControl.cs: implement
2308 ContainerControl.AutoScaleDimensions
2309 * ListControl.cs: implement ListControl.FormattingEnabled
2310 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2312 * TabPage.cs: Implement UseVisualStyleBackColor.
2313 * PictureBox.cs: Implement PictureBox.InitialImage.
2315 2006-03-03 Mike Kestner <mkestner@novell.com>
2317 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2318 event declarations to proxy to base event.
2319 * ListViewItem.cs: update to use ItemControl.
2320 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2321 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2322 column header label rendering for 0 width columns.
2324 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2326 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2327 that causes the control to be created. Fixes #77476.
2329 2006-03-02 Jackson Harper <jackson@ximian.com>
2331 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2334 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2336 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2337 passed in for the EventArgs (fixes #77690)
2339 2006-03-01 Jackson Harper <jackson@ximian.com>
2341 * ScrollBar.cs: Refresh afterbeing resized.
2343 2006-02-28 Mike Kestner <mkestner@novell.com>
2345 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2346 Clean up a tracker compile warning.
2347 * MenuItem.cs: add internal PerformPopup method.
2350 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2352 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2353 implicit expose) when the text is set to null
2355 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2357 * RichTextBox.cs (FlushText): When newline is true, we always
2358 need to split the line, even if no text is on it and we may
2359 never eat newlines. (Fixes #77669)
2361 2006-02-28 Mike Kestner <mkestner@novell.com>
2363 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2364 and set Selected instead.
2365 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2368 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2370 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2372 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2375 - Got rid of the panel. All controls are now directly added to
2377 - It is now possible to set a font with the Font property
2378 - MinSize and MaxSize property do now what they should
2379 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2380 - Searching and selecting a font with the font textbox works now,
2381 the same applies to the style and size textbox
2382 - Draw the correct 3D border in the example panel
2383 - Fixed a little mem leak (unused fonts didn't get disposed)
2384 - Many other internal updates/rewrites...
2387 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2390 - InsertRTFFromStream: Added 'number of characters inserted' argument
2391 - set_SelectedRTF: Now using the number of characters to calculate
2392 the new location for the selection and cursor (x/y cannot be used
2393 due to potentially already wrapped text)
2395 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2397 * TextControl.cs: Added property and implemented means to allow
2398 disabling recalculation of a document (can be used to speed up
2399 multiple inserts and is needed to make RTF inserts predictable, see
2401 * RichTextBox.cs: Using the new NoRecalc property of Document to
2402 keep x/y insert locations predictable. Also makes it faster inserting
2405 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2407 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2408 it's easier for a child control to handle the other messages without
2409 having to duplicate the special functionality
2411 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2412 code to handle processing the key ourselves, in order to get
2413 access to the result of KeyEventArgs.Handled. We now only call
2414 ProcessKey if they key hasn't been handled already. Fixes #77526.
2415 - set_Text: If null or empty string is given, just clear the
2416 document. Fixes part of #77526
2418 2006-02-27 Jackson Harper <jackson@ximian.com>
2420 * SizeGrip.cs: Paint the background color before painting the grip
2421 so things look right.
2422 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2424 2006-02-27 Mike Kestner <mkestner@novell.com>
2427 - Restructure layout and invalidation model to remove a ton of
2428 flicker from the control and speed up performance in general.
2429 - Add manual column resize, flickers like crazy, but I already have
2430 some ideas on how I'll fix that. (#76822)
2431 - Merge the three Icon-based views into a single layout method.
2432 - Move item selection interaction logic from the item since
2433 interaction with the collections is more appropriate to the view.
2434 - Deselection on non-item clicks.
2436 - Encapsulate most of the layout. Add some internal props to trigger
2437 layout. Move to a model where Items invalidate themselves instead
2438 of just invalidating the whole control every time something changes.
2439 - Invalidate on Text/Caption changes.
2440 - switch to an offset based layout model to avoid having to absolute
2441 position every element on item moves.
2442 - correct checkbox layout to conform to MS layout.
2443 * ThemeWin32Classic.cs:
2444 - refactor some column header drawing code.
2445 - fix string justification for column headers (#76821)
2446 - make SmallIcon labels top justified for compat with MS impl.
2447 * ThemeClearlooks.cs:
2448 - adjust to new ListViewItem internal checkbox bounds api.
2450 2006-02-27 Jackson Harper <jackson@ximian.com>
2452 * Control.cs: Change where implicit controls fall in the zorder.
2453 They are now on top of all children.
2454 - Synced AddImplicit code with Add
2455 - Removed unused enumerator.
2456 * SizeGrip.cs: Remove the TODO as its been TODONE.
2458 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2460 * TextControl.cs(Insert): Combine the last lines unless the insertion
2461 string ends with \n\n, otherwise we leave one line too many (Fixes
2462 something I noticed with the testapp for #77526; the bug itself was
2463 already fixed in the previous checkin)
2465 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2468 - SelectionColor and SelectionFont methods no longer set absolute
2469 styles. Instead, the keep font or color respectively (This
2470 resolves a long-standing FIXME in the code)
2471 - When flushing RTF text, the insert code now considers text trailing
2472 behind the insertion point (Fixes the bug where when replacing
2473 the selected text via SelectedRTF the remainder of the line behind
2474 the selection would stay on the first insertion line)
2476 - AppendText now updates the selection points after inserting text
2477 - AppendText now ensures that the last tag (sometimes 0-length) of
2478 the document is used for the style information (Fixes part of
2481 - Created new FontDefiniton class to allow describing partial style
2483 - StreamLine() now takes a lines argument, to allow it to decide
2484 whether an encountered zero-length tag is the last in the document
2485 (which must be kept to not loose the font/color contained in it,
2487 - Created Combine() and Split() methods for Marker structs, to
2488 support marker updates due to reformatted documents (soft line
2490 - Implemented Document.CaretTag setter
2491 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2492 of the last line (Not the cause, but also exposed by bug #77220)
2493 - Added LineTag argument to InsertString method, to allow callers
2494 to force a certain tag to be used (required to force use of the
2495 trailing zero-length tag of a document)
2496 - Now updating markers in Combine(), to avoid stale tag markers
2497 - Added some method descriptions to aid maintenance
2498 - Implemented new FormatText concept, allowing additive/subtractive
2499 formatting by only specifying the components that are to be
2500 changed. This was needed for resolving the RTB.SelectedColor/
2501 RTB.SelectedFont fixmes
2502 - Added Break() support method to allow breaking up linetags (used
2503 for partial formatting)
2504 - Added GenerateTextFormat() method. It is used for partial
2505 formatting and allows to generate a full font/color from given
2506 attributes and an existing tag.
2508 2006-02-26 Jackson Harper <jackson@ximian.com>
2510 * XplatUIX11.cs: Use the correct caption height.
2511 - Translate hittest coordinates to screen coords to match MS.
2512 * XplatUIWin32.cs: When we create MDI windows we need to reset
2513 some of the style flags, so we get a nice blank window, and can
2514 draw all the decorations ourselves.
2515 - Set a clipping rectangle on the non client paint event, the
2516 window manager drawing code needs one.
2517 * Form.cs: The window manager needs to know when the window state
2519 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2520 don't need to factor in border and title sizes in these
2521 methods. TODO: Remove the args and fix the call points.
2522 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2524 - Let the driver set the cursors.
2525 - Improve active window handling
2526 - Correct sizes for title bars and buttons.
2527 - Match MS drawing better
2528 * MdiWindowManager.cs: We don't need to handle border style
2529 updates specially anymore.
2530 - Check for scrollbars when windows are done moving
2531 - Handle Active properly.
2532 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2533 correctly. I am spewing the exception though, so we don't hide the
2536 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2538 * DataGridViewRowPostPaintEventArgs.cs,
2539 DataGridViewCellPaintingEventArgs.cs,
2540 DataGridViewRowCollection.cs,
2541 DataGridViewRowPrePaintEventArgs.cs,
2542 DataGridViewCell.cs: Clear a few warnings and implement a few
2543 exceptions that should be thrown.
2545 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2547 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2548 'inheriting' our parent's (non-default) cursor. (Part of
2551 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2553 * XplatUIX11.cs: Fixed cast to make csc happy
2555 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2557 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2558 it's for the client area (part of fix for #77479 and needed
2559 for MDI window cursor handling)
2561 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2562 the appropriate default cursors and also passing the message
2564 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2565 for non-client areas
2567 2006-02-15 Jackson Harper <jackson@ximian.com>
2569 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2570 is a real MDI window
2572 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2574 * X11DesktopColors.cs: Instead of checking the desktop session
2575 string for "KDE" check if it starts with "KDE"
2577 2006-02-10 Jackson Harper <jackson@ximian.com>
2579 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2582 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2584 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2587 - Got rid of the panel. All controls are now directly added to
2589 - Changed to mono coding style
2591 2006-02-10 Jackson Harper <jackson@ximian.com>
2593 * InternalWindowManager.cs: We don't need the set visibility to
2594 false hack anymore now that peter has written beautiful shutdown
2597 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2599 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2600 where already explicitly destroyed
2602 2006-02-10 Jackson Harper <jackson@ximian.com>
2604 * MdiClient.cs: Handle the case where windows are too high or to
2605 the left and we need scrollbars.
2607 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2609 * MimeIcon.cs: Added some icons
2612 - Got rid of the panel. All controls are now directly added to
2614 - Changed to mono coding style
2615 - On Linux "My Computer" and "My Network" will now show some
2616 more usefull information. A new class, MasterMount, gathers
2617 this information from /proc/mount. Updated MWFFileView to make
2618 use of this information
2619 - Fixed a bug that caused FileDialog to crash when
2620 ".recently_used" file had a zero size
2621 - FilterIndex does now what it should
2623 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2626 2006-02-09 Jackson Harper <jackson@ximian.com>
2628 * ComboBox.cs: Don't touch if null.
2630 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2632 * Cursor.cs: 64bit safeness fix
2633 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2635 2006-02-09 Jackson Harper <jackson@ximian.com>
2637 * Form.cs: If a form is made into an MDI form update the styles so
2638 all the props can get set correctly.
2639 - Kill the mdi_container when we dont need it anymore.
2640 * InternalWindowManager.cs: Add missing NOT
2642 2006-02-08 Jackson Harper <jackson@ximian.com>
2644 * InternalWindowManager.cs: Respek clipping when drawing MDi
2647 2006-02-08 Jackson Harper <jackson@ximian.com>
2649 * Hwnd.cs: Add bits to track non client expose events.
2650 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2651 gives us a proper invalid rect and will allow for some nice
2652 optimizations with NC client drawing
2653 - MDI windows are children windows, so move their style handling
2654 into the child window block.
2655 * InternalWindowManager.cs: Remove a state reset that was
2656 getting invoked at the wrong time. Fixes managed windows getting
2657 into a 'stuck' captured state.
2659 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2661 * TextControl.cs (Document.ctor): Now initializing
2662 selection_anchor. Fixes #77493
2664 2006-02-07 Jackson Harper <jackson@ximian.com>
2666 * TrackBar.cs: The increment/decrements were backwards.
2668 2006-02-07 Mike Kestner <mkestner@novell.com>
2670 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2671 to the instance itself.
2673 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2675 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2676 on ulongs and pointers, the size differs between 32bit and 64bit
2679 2006-02-07 Mike Kestner <mkestner@novell.com>
2681 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2682 for 64 bit platforms to work around a metacity bug.
2684 2006-02-07 Jackson Harper <jackson@ximian.com>
2686 * TrackBar.cs: Process the input keys we need, and hookup to
2687 KeyDown instead of using WndProc, so we get key messages.
2689 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2691 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2693 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2694 we need to translate the XdndVersion atoms array before sending it
2696 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2699 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2700 number of bits for the property, not the number of bytes. The
2701 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2702 but would not crash since it specified 8 bits instead of 4 bits)
2703 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2704 defined as XID -> long in the C headers)
2705 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2706 references since those are now IntPtr to begin with
2707 - Switched all Atom.XXX 'int' casts to IntPtr casts
2708 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2709 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2710 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2712 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2713 - Changed atom in HoverStruct to be IntPtr
2715 - Removed local DllImports, switched code to use those from XplatUIX11
2716 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2718 2006-02-06 Mike Kestner <mkestner@novell.com>
2720 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2721 method signatures in the import region. There may still be some
2722 lingering struct marshaling issues, as I didn't drill down into those.
2725 2006-02-06 Jackson Harper <jackson@ximian.com>
2727 * ComboBox.cs: Dont manually set the top_item, this is computed
2728 when the scrollbar position is set.
2730 2006-02-06 Mike Kestner <mkestner@novell.com>
2732 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2733 startup crashes on amd64. There's other fixes needed. All pinvoke
2734 usage of Atom needs to be mapped to IntPtr for example. And there are
2735 likely other int/long issues to be addressed.
2737 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2739 * FileDialog.cs: One more...
2741 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2743 * FileDialog.cs: Next try
2745 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2747 * FileDialog.cs: First part of fix for #77464
2749 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2751 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2752 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2753 AcceptButton border drawing.
2755 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2757 * Form.cs: Moved positioning of form after auto scaling is applied,
2758 otherwise it would possibly use wrong form size.
2760 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2762 * Control.cs (RecreateHandle): No need to re-create any child
2763 controls, the child windows will get destroyed automatically by
2764 the windowing system or driver, and re-created when the handle
2765 is being accessed the first time. Fixes #77456
2766 * Form.cs: No longer setting the form to closing if the handle is
2767 being recreated. This seems like the right thing to do, don't
2768 have a bug or testcase for this, though.
2770 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2772 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2773 controls to avoid unwanted side effects
2775 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2778 - ScaleCore needs to scale the bounds, not the ClientSize of the
2779 control. Fixes #77416.
2780 - DefaultSize is 0,0 for control
2782 - DefaultSize is 100, 20
2783 - SetBoundsCore: Now enforcing the height, no matter if the provided
2784 height is more or less than the preferred one, as long as AutoSize
2786 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2788 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2791 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2792 call unless both performLayout is true *and* we have a pending
2794 - ResumeLayout: MS does not completely nest Suspend and Resume,
2795 they bottom out at 0, fixed our code to match that.
2796 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2797 SetBoundsCore, we were updating even when we shouldn't. This fixes
2798 swf-anchors mis-anchoring when resizing the app fast and lots.
2799 - UpdateDistances: Now only setting the left and top distance if
2800 we have a parent and are not suspended, this is based on
2801 a suggestion by Don Edvaldson in bug #77355.
2802 - OnVisibleChanged: Fixed logic when to create the control. We may
2803 not create the control if we have no parent or if it's not visible;
2804 switched to using Visible property instead of is_visible field
2805 since the property also considers parent states. This fixes a bug
2806 when starting Paint.Net
2808 2006-02-02 Jackson Harper <jackson@ximian.com>
2810 * Form.cs: If the forms handle hasn't been created yet don't call
2811 into xplatui to make it top most, just set the topmost flag on the
2812 form in CreateParams
2813 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2815 2006-02-01 Jackson Harper <jackson@ximian.com>
2817 * ScrollableControl.cs: Refactored the Recalculate method a
2818 little, this wasn't handling all the variants of bottom and right
2819 bars needed to be added and added/removed based on their
2820 counterparts being added/removed (which changes the drawable
2821 size). Also we special case client widths and heights of 0 and
2822 don't add the scrollbar for those.
2824 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2827 - Added method to get AbsoluteGeometry(); currently unused, but might
2828 be used in the future, if we try again to figure out toplevel
2829 coordinates with some more crappy window managers
2830 - Added FrameExtents() method to retrieve the WM set decoration size
2831 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2832 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2834 - Added whacky_wm tracking var for metacity
2835 - Added logic to have default menu height if the actual menu height
2836 has not yet been calculated (part of fix for #77426)
2837 * Form.cs: Keep track whether client size has been set and re-set
2838 it if a menu is added/removed afterwards (Fixes #77426)
2840 2006-01-31 Jackson Harper <jackson@ximian.com>
2842 * Control.cs: When a new Site is set on the component attempt to
2843 pull the AmbientProperties from it.
2845 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2847 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2848 in the background of the owning form. Fixes #77332
2850 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2852 * MimeIcon.cs: Fix for #77409
2854 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2856 * XplatUIX11GTK.cs: Initial import
2858 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2860 * FixedSizeTextBox: fixes class signature
2862 2006-01-30 Jackson Harper <jackson@ximian.com>
2864 * FixedSizeTextBox.cs: New internal class that represents a
2865 textBox that will not be scaled.
2868 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2871 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2873 * XplatUIX11.cs: Retrieve default screen number instead of
2874 assuming 0. Attempted fix for #77318
2876 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2879 - GetWindowPos: When a window is parented by FosterParent, use
2880 the desktop instead of FosterParent as the base to get coordinates
2881 - CreateWindow: Don't make FosterParent the parent window for Popups
2882 if we don't want a taskbar entry, Popups automatically don't get one
2883 * Hwnd.cs: Need to call remove to actually remove the key from the
2886 2006-01-30 Mike Kestner <mkestner@novell.com>
2888 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2890 2006-01-30 Jackson Harper <jackson@ximian.com>
2893 * TreeNode.cs: Raise events no matter how the treenode is
2894 checked. Patch by Don Edvalson.
2896 2006-01-30 Jackson Harper <jackson@ximian.com>
2898 * TreeNode.cs: Signature fix.
2900 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2902 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2904 2006-01-20 Mike Kestner <mkestner@novell.com>
2906 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2907 event forwarding when menus are active.
2908 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2909 Most of the patch is pdb's with a little rework.
2911 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2913 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2914 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2915 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2916 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2917 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2918 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2919 the PaintWindowDecorations method
2920 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2921 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2922 * MenuAPI.cs: Made tracker window invisible
2924 - Removed GetMenuDC and ReleaseMenuDC methods
2925 - Implemented the client=false path for PaintEventStart and
2928 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2930 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2931 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2934 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2936 - CreateParams: Reworked the styles to match MS look'n'feel,
2937 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2938 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2940 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2942 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2943 window is not mapped, since otherwise every form that's being
2944 created is considered minimized, which is wrong.
2945 * Form.cs: Catching the exception and returning our internal value
2948 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2950 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2951 SetWindowMinMax() to have means to tell the driver about the minimum,
2952 maximum and maximized state window sizes. (Part of the fix for #76485)
2954 - Implemented tracking of minimum and maximum window size, now calling
2955 new SetWindowMinMax() driver method to tell the driver (Part of the
2957 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2958 (Completes fix for #76485)
2959 - Calling new SetWindowMinMax driver method when the handle for a
2960 form is created, to make sure the driver knows about it even if
2961 the values have been set before the window was created
2962 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2963 to avoid messing up our anchoring calculations (partial fix
2965 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2967 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2968 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2969 (and presumably other freedesktop.org compliant WMs). Left the
2970 assumption unmapped=minimized, needed for SetVisible to work.
2971 - Now setting the window state when creating windows
2972 - Fixed SetVisible to consider/set the window state when mapping
2973 a Form. We cannot set the state before it's mapped, and we cannot
2974 use Form.WindowState once it's mapped (since it would ask the
2975 driver and get 'normal'. Therefore, we grab the state before
2976 mapping, map, and then set state.
2977 - Implmemented SetWindowMinMax method; Metacity does not seem to
2978 honor the ZoomHints, though.
2980 - Removed MINMAXINFO (moved to XplatUIStructs)
2981 - Added SetWindowMinMax stub (on Win32 the only way to set that
2982 information is in response to the WM_GETMINMAXINFO message, which
2983 is handled in Form.cs)
2984 - Added logic to SetVisible to set the proper window state when a
2985 form is made visible (fixes #75720)
2987 2006-01-26 Jackson Harper <jackson@ximian.com>
2989 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2990 same way we handle them with Invoke.
2992 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2995 - Added tracking of window state so CreateParams can return
2996 the appropriate style
2997 - Moved setting of WS_CAPTION style in CreateParams to allow
2998 styles without caption
2999 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3000 control if the TextBox property is accessed. Fixes #77345
3002 - get_Created: now uses is_disposed and is_created to determine
3003 return value (suggested by Jackson)
3004 - CreateHandle: No longer exits if the handle is being recreated
3005 - RecreateHandle: If the handle is not yet created call the
3006 appropriate method to create either control or handle. If the
3007 control is already created CreateHandle will simply exit instead
3008 of just creating the handle
3009 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3010 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3013 - When DestroyWindow is called, instead of waiting for the
3014 DestroyNotification from X11, we directly post it to the WndProc
3015 and immediately dispose the hwnd object.
3016 Same applies to DestroyChildWindows, and this obsoletes the
3017 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3018 child windows before our own, to avoid X11 errors.
3019 - Removed the direct sending of WM_PAINT on UpdateWindow
3021 - Reworked DoEvents and GetMessage to allow access to internal queue
3022 even when trying non-blocking access to the queue. Fixes #77335.
3023 Based on a patch suggestion by Don Edvalson. The new private
3024 GetMessage can now also be used as a backend for a PeekMessage
3026 * XplatUI.cs: Improved debug output for CreateWindow
3028 2006-01-25 Jackson Harper <jackson@ximian.com>
3030 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3032 2006-01-24 Jackson Harper <jackson@ximian.com>
3034 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3035 when we have a MaxDropItems lower then the selected index.
3037 2006-01-24 Jackson Harper <jackson@ximian.com>
3039 * Control.cs: Don't allow selection of non visible controls, allow
3040 selection of controls without parents.
3042 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3044 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3045 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3047 2006-01-23 Jackson Harper <jackson@ximian.com>
3049 * UpDownBase.cs: Make the textbox handle all the selection and
3050 tabbing. This fixes tabing to updown controls.
3052 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3054 * TextBoxBase.cs: fixes exception thown the object was null
3056 2006-01-23 Jackson Harper <jackson@ximian.com>
3058 * ButtonBase.cs: Just use the base CreateParams. They set
3059 visibility and enabled correctly.
3062 * MonthCalendar.cs: Lets let the base set as much of the
3063 createparams as possible so we don't have duplicate code all over
3066 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3068 * ThemeGtk.cs: Added TrackBar and some experimental code to
3069 get double buffering back
3071 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3073 * DataGrid.cs: Allows row number set internally higher than the last
3074 when creating a new row. Restores the editing functionality.
3076 2006-01-20 Mike Kestner <mkestner@novell.com>
3078 * MimeIcon.cs: delay Image creation until the icons are accessed
3079 instead of creating 190 scaled images on GnomeHandler startup.
3081 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3083 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3084 first call base before processing the event. Fixes #77279
3086 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3088 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3089 that the stride for the GDI bitmap would match the stride of
3092 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3094 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3096 2006-01-19 Jackson Harper <jackson@ximian.com>
3098 * ComboBox.cs: Hookup the text controls keydown event so we get
3099 those when the text control has the focus.
3101 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3103 * Label.cs: Now using the base events instead of defining new ones;
3104 this allows us to just call the base properties without having to
3105 duplicate all base property logic
3107 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3109 * Label.cs: A label by default is not a tabstop (Fixes one of our
3110 failing nunit tests)
3112 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3114 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3115 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3117 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3119 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3120 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3123 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3124 constructor creates images that can't be saved. Part of the fix
3126 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3127 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3128 bug fix for handling window state in forms properly)
3130 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3132 * ThemeGtk.cs: Simplify ScrollBar drawing
3134 2006-01-18 Jackson Harper <jackson@ximian.com>
3136 * Splitter.cs: Set the default dock style for the splitter control
3139 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3141 * ThemeGtk.cs: Corrected StateType and ShadowType for
3144 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3146 * Control.cs: Make use of Theme.DoubleBufferingSupported
3148 - Added drawing for flat style buttons
3149 - Added ScrollBar drawing
3151 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3153 * ThemeClearlooks.cs: Removed some unneeded code.
3154 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3156 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3158 * LinkLabel.cs: We need to update the hover drawing when
3159 leaving the control as well.
3161 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3163 * DataGrid.cs: Clicking on non empty areas in the columns
3164 area was giving an exception
3166 2006-01-17 Jackson Harper <jackson@ximian.com>
3168 * ThemeWin32Classic.cs:
3169 * ListView.cs: Do not draw/clip the headers when the header style
3172 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3174 * DataGrid.cs: Fixes 77260
3176 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3178 * DataGrid.cs: Clicking on a column on a empty grid was giving
3181 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3183 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3184 or any keypress will crash the grid.
3186 2006-01-17 Mike Kestner <mkestner@novell.com>
3188 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3189 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3190 invisible/previously-visible items.
3193 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3195 * ThemeClearlooks.cs:
3196 - Added CL_Draw_Button method; now other theme controls that are
3197 not derived from button or do not have a button can draw buttons
3199 - Updated ComboBox drawing
3200 - Beautified RadioButton drawing
3201 - Corrected drawing of bottom and left tabs
3202 - Beautified DateTimePicker and MonthCalendar
3203 - Added CPDrawButton and CPDrawRadioButton
3205 2006-01-16 Jackson Harper <jackson@ximian.com>
3207 * ComboBox.cs: Set the initial value of the scrollbar to the
3208 current index. Reduce the numbers of refreshs and IndexOfs called.
3210 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3212 * FileDialog.cs: When the file listview is focused hitting the
3213 backspace key moves the fileview to the parent directory
3215 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3218 - Added RecreateHandle call when changing taskbar visibility to
3219 trigger reparenting in Win32 driver (Fixes #75719)
3220 - If a window has minimize or maximize buttons, it cannot have
3223 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3224 the toplevel form with FosterParent (A toolwindow not on the
3225 taskbar) (Fixes #75719)
3226 - Made FosterParent a toolwindow
3228 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3230 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3232 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3234 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3235 is currently over that control, make sure that tooltip_window.Text
3238 2006-01-13 Mike Kestner <mkestner@novell.com>
3240 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3242 2006-01-13 Jackson Harper <jackson@ximian.com>
3244 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3245 value passed. Also redraw the selected node when we recieve
3246 focus, so tabbing between trees works correctly.
3248 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3250 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3251 ~/.gconf/%gconf-tree.xml, so use
3252 .gconf/desktop/gnome/interface/%gconf.xml
3254 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3256 * TextControl.cs: Draw text in gray if control is disabled
3258 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3260 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3261 make sure it's always visible. Fixes #76680.
3263 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3265 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3267 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3269 * PageSetupDialog.cs: Added.
3270 * PrintDialog.cs: Attributes.
3271 * PrintPreviewControl.cs: Updates.
3272 * PrintPreviewDialog.cs: Updates.
3274 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3276 * Control.cs: Undid my selection check fix, since it's not needed
3278 - Now considering the presence of hscroll/vscroll when sizing
3279 vscroll/hscroll respectively. Fixed bug #77077
3280 - Added Left/Up/Down/Right to IsInputKey list to prevent
3281 ContainerControl from stealing them. This fixes what I broke
3282 with my last checkin.
3284 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3286 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3287 I finally understand how the property can be set without a setter :-)
3289 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3292 - Switched RunLoop to use static Message.Create to create a
3294 - Added PreProcessMessage call in runloop for keyboard events; this
3295 is part of the fix for #77219, I overlooked this originally in the
3296 MSDN doc for PreProcessMessage
3298 - Removed call to PreProcessMessage from handling of keyboard
3299 messages; it's supposed to be done in the message pump
3300 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3301 per MSDN documentation.
3302 - IsInputChar: All chars are input chars by default; removed the
3303 parent calling chain, MS does not document that
3304 - PreProcessMessage: If IsInputChar is true, we want to return false
3305 to allow dispatching of the message
3306 - When selecting the next control, now also check that we're not
3307 selecting ourselves again and therefore return a false positive.
3309 - Tried to match return values for IsInputKey and ProcessDialogKey
3310 to what MS returns; moved processing of our special keys outside
3311 ProcessDialogKey since MS does not seem to return true on those.
3312 - Moved code that previously was in ProcessDialogKey into new private
3313 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3314 - Reworked handling of WM_CHAR to not have to duplicate code from
3315 Control.cs anymore, instead we simply call down to base.
3317 2006-01-12 Jackson Harper <jackson@ximian.com>
3319 * ComboBox.cs: We always need to refresh the text area when
3320 EndUpdate is called. Fixes the combobox in the file dialog.
3321 * Control.cs: Don't create the creator_thread until the controls
3322 handle is created. Also in InvokeRequired we check if the
3323 creator_thread is null. This gives the effect of InvokeRequired
3324 returning true if the controls handle is not created yet, and
3327 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3330 - Added StartLoop() driver method. This is used to allow drivers to
3331 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3332 loop for a particular thread
3333 - Added EndLoop() driver method. This is called once the message
3334 pump for the thread is shut down
3335 - Added SupportsTransparency method to allow the driver to indicate
3336 opacity support for windows
3338 - Removed TODO attribute, completed AllowTransparency property
3339 - Added documented logic to Opacity
3340 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3341 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3342 versions of CompatibleTextRendering
3343 * X11Structs.cs: Added opacity atom to our atom enumeration
3344 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3345 of a form might be set before it's reparented by the WM, and we need
3346 the opacity value without calling up to Form)
3347 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3348 SupportsTransparency() driver methods
3349 * Application.cs: Now calling StartLoop and EndLoop driver methods
3351 - Added opacity atom registration
3352 - Added StartLoop()/EndLoop() methods. They're empty right now but
3353 will need to get implemented when we switch to a per-thread queue
3354 - Implemented SupportsTransparency() method
3355 - Implemented SetWindowTransparency() method
3356 - Added support for setting the opacity value when a window is
3357 reparented (since the opacity needs to be set on the WM frame)
3358 * XplatUIOSX.cs, XplatUIWin32.cs:
3359 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3361 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3363 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3365 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3367 * FileDialog.cs: Added ToolTip for MWFFileView
3368 * MimeIcon.cs: Rewrote GnomeHandler.
3369 - Get currently used gnome icon theme from
3370 ($HOME)/.gconf/%gconf-tree.xml
3371 - Make use of inherited icon themes
3372 - Support SVG icon themes like Tango via librsvg
3374 2006-01-12 Miguel de Icaza <miguel@novell.com>
3376 Revert's Jackson's revert which broke 2.0 builds. Fix both
3379 * Application.cs: Move the use_compatible_text_rendering outside
3380 the NET_2_0 define. If we ever need to use the
3381 use_compatible_text_rendering on the individual controls they will
3382 access the variable from the common shared code paths.
3384 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3387 - Added more granular debug options
3388 - Added method to print both window text and id
3389 - Switched debug output to use new Window() debug method
3390 - Added IsEnabled() driver method
3391 - Added EnableWindow() driver method
3393 - Removed end_modal; no longer needed, new loop handles termination
3394 via 'closing' variable
3395 - If form is modal, setting DialogResult will now initiate loop
3396 termination via 'closing' variable
3397 - Added support for is_enabled/WS_DISABLED to CreateParams
3398 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3400 - Removed code that's now in RunLoop from ShowDialog()
3401 - Added various documented sanity checks to ShowDialog()
3402 - Added handling of WM_DESTROY message; we set 'closing' on getting
3403 the message to indicate the message pump to terminate
3404 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3405 send by the Application.ExitThread method. (We send the message
3406 to destroy the window after all other events have been
3407 processed through the queue, instead of destroying the handle
3409 - Moved code from Close() method to WM_CLOSE handler; added logic
3410 to only send close-related events if the form is not displayed
3412 * Splitter.cs (..ctor): Fixed typo in resource name
3414 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3416 - set_Cursor: Now only setting calling into XplatUI if the handle for
3417 the control is already created; this avoids implict handle creation
3418 or crashes if it's not created
3419 - set_Enabled: Now setting the enabled state via the new driver method
3420 instead of just tracking it
3421 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3422 - CreateControl: Reordered event firing and method calls to more
3423 closely fire events in the order MS does. Now setting the
3424 enabled state in the driver when creating the control.
3425 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3427 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3428 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3429 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3431 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3432 - Added EnabledHwnd property to easily allow a driver to find the
3433 handle of the first enabled window in the parent chain (this is
3434 used by drivers to pass up input events of disabled windows)
3435 * XplatUIDriver.cs: Added IsEnabled() method
3437 - Removed crude and obsolete exiting tracking variable
3438 - Removed internal ModalRun(); replaced by RunLoop()
3439 - Implemented private CloseForms() method to allow closing all
3440 windows owned by a particular (or all) threads
3441 - Exit() now properly closes all windows without forcing the message
3443 - Removed obsolete InternalExit() method
3444 - Changed Run() methods to use new RunLoop() message pump
3445 - Implemented new RunLoop() method for both modal and non-modal forms
3447 - get_CreateParams: Added setting of WS_DISABLED
3448 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3449 invoked via Form.ShowDialog()
3450 * NativeWindow.cs: We don't remove the window from the collection when
3451 the handle is destroyed; there might still be messages for it in the
3452 queue (mainly the resulting WM_DESTROY); instead it will be removed
3453 when Control calls InvalidateHandle in the WM_DESTROY handler
3455 - CreateWindow: Added logic to handle the WS_DISABLED window style
3456 - EnableWindow: Implemented based on Hwnd.Enabled
3457 - GetMessage: Reset PostQuitState so the method can be called again
3458 - Implemented support for disabled windows (passing messages to the
3459 first enabled parent) in handling all input messages
3460 - Added optimizations for handling Expose events
3461 - Implemeted new driver method IsEnabled()
3462 - Now always resetting paint pending tracking vars when we start paint
3463 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3464 * XplatUIOSX.cs: Added IsEnabled method stub
3465 * XplatUIWin32.cs: Implemented new IsEnabled() method
3467 2006-01-11 Jackson Harper <jackson@ximian.com>
3469 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3470 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3472 * ColorDialog.cs: Clear out the old form before adding the new
3475 2006-01-11 Jackson Harper <jackson@ximian.com>
3477 * X11Dnd.cs: Make sure to add all the text formats when adding
3478 strings to the data object.
3479 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3480 do some redrawing too. Also change the UpdateNode to an
3481 UpdateBelow so the newly added node gets painted.
3483 2006-01-11 Miguel de Icaza <miguel@novell.com>
3485 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3486 LinkLabel.cs, PropertyGrid.cs: Implement the
3487 UseCompatibleTextRendering property for 2.x
3489 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3491 2006-01-11 Jackson Harper <jackson@ximian.com>
3493 * TreeView.cs: Use the property for setting the selected node so
3494 the correct events get raised.
3495 * TreeNode.cs: Update the tree when the fore/back colours of a
3498 2006-01-10 Jackson Harper <jackson@ximian.com>
3500 * TreeView.cs: Allow setting SelectedNode to null.
3502 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3504 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3506 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3508 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3510 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3512 * PrintDialog.cs: Added attributes and set default property values.
3514 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3516 * PrintControllerWithStatusDialog.cs:
3517 Added PrintControllerWithStatusDialog.
3519 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3521 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3522 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3524 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3526 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3528 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3530 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3531 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3533 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3535 * MimeIcon.cs: Added internal class SVGUtil.
3537 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3539 * FileDialog.cs: Don't crash if there are two files with the
3540 same name but different locations.
3542 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3544 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3545 dates across multiple month grids. Used to not highlight entire
3546 month, but does now.
3548 2006-01-06 Jackson Harper <jackson@ximian.com>
3550 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3551 message loop. Change timer intervals to numbers that seem more
3554 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3556 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3557 object for location info since screen object is now implemented.
3559 2006-01-05 Jackson Harper <jackson@ximian.com>
3561 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3562 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3563 AsyncMethodResult, this is because we ALWAYS want the
3564 ManualResetEvent to get set.
3565 * Control.cs: When disposing use an async invoke to call shutdown
3566 code, so that thigns don't block on the finalizer thread. Also
3567 check if we even have a message loop before trying to send
3568 messages, if we don't then don't bother sending messages.
3569 - No more weak references for async methods
3570 * XplatUIDriver.cs: No more weak references for async methods.
3572 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3574 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3575 returns two FontFamily with the same name
3577 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3579 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3580 drawing disabled text. Instead using the ColorGrayText color
3582 2006-01-04 Jackson Harper <jackson@ximian.com>
3584 * TreeNode.cs: redraw the node when its image index is changed.
3586 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3588 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3589 time I checked there are no others like it.
3591 2006-01-04 Jackson Harper <jackson@ximian.com>
3593 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3594 this gives the behavoir I was looking for.
3595 * Control.cs: Special case Invoking EventHandlers, this matches MS
3596 and fixes part of bug #76326.
3598 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3600 * ThemeClearlooks.cs, FileDialog.cs:
3601 - Reflect the latest Theme class changes
3602 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3605 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3607 * Theme.cs: Cache UI resource images and resize them if needed
3609 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3611 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3612 is called. This fixes the crash in Nexxia when setting the font
3613 attributes in the chat. [However, RTF needs a look-over to make sure
3614 that all SelectionXXX methods handle the special case that selection
3615 is empty and therefore the change must be applied to all text starting
3616 at the cursor/selection start]
3618 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3620 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3621 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3622 * X11Keyboard.cs: Switched to new way of calling PostMessage
3624 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3626 * Theme.cs: Added theme interface for images to allow the theme to
3627 control what images are used for things like FileDialog, MessageBox
3629 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3631 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3634 - Removed some dead code
3635 - Opening a recently used file does work now
3636 - Small UI enhancements
3639 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3641 * FileDialog.cs: Forgot too add __MonoCS__
3643 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3645 * FileDialog.cs: We are able to read recently used files now let's
3646 go on and write them.
3648 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3650 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3652 * MimeIcon.cs: Do a check for the top level media type also
3654 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3656 * ThemeClearlooks.cs:
3657 - Added CPDrawStringDisabled
3658 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3659 some chars if the text doesn't fit into text_rect
3660 - DrawListViewItem: If View = View.LargeIcon center the image;
3661 rewrote the drawing of ListViewItem.Text if View =
3664 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3666 * MimeIcon.cs: Use default KDE icon theme if there is no
3667 "48x48" directory for the current icon theme, fixes #77114
3668 * Mime.cs: Disable not working and actually not used code.
3669 * ThemeWin32Classic.cs:
3670 - Replace "new SolidBrush" in GetControlBackBrush and
3671 GetControlForeBrush with ResPool.GetSolidBrush
3672 - Changed DrawListViewItem from private to protected virtual
3674 - Added form.MaximizeBox = true
3675 - Don't throw an exception if there is a broken symbolic link
3677 2005-12-23 Jackson Harper <jackson@ximian.com>
3679 * TabControl.cs: Give the panels focus, keyboard navigation is
3680 fixed so this works correctly now.
3681 - We need these key events also.
3682 * ToolBar.cs: Remove some of the poor mans double buffering.
3684 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3686 * ComboBox.cs: The internal TextBox now returns the focus.
3688 2005-12-23 Jackson Harper <jackson@ximian.com>
3690 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3692 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3694 * Control.cs: Removed debug code
3695 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3698 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3700 * Control.cs: When creating the control, update the Z-order after
3701 all it's children are created, too. (Fixes nexxia not showing
3704 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3706 * Control.cs: Do not update the anchoring distances if layout is
3707 suspended, instead do it once layout is resumed
3709 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3712 - After many hours of debugging, for both Jackson and
3713 myself, it turns out that it helps to set the parent of a control
3714 if you want to actually see it onscreen. In the spirit of that
3715 discovery, we're now setting the parent of the control and
3716 it's children when the control's handle is created. This fix
3717 will make Lutz Roeder's Reflector run happily.
3718 - now just creating the handle instead of the whole control when
3719 getting a graphics context for the control.
3721 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3723 * ScrollableControl.cs: When calculating the canvas, don't consider
3724 the scrollbar widths. Instead, predict if horizontal scrollbar
3725 will affect canvas when deciding on vertical display and vice versa.
3727 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3729 * RichTextBox.cs: Set default RTF font for documents that don't
3730 have a font table (Fixes #77076)
3732 2005-12-22 Jackson Harper <jackson@ximian.com>
3734 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3735 clipboard. This prevents a NullRef in that case.
3736 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3737 clipboard. PRIMARY is for the currently selected text only. (We
3738 should implement PRIMARY at some point.
3740 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3742 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3743 a Unicode function with a structure that was defined in Ansi way.
3746 2005-12-21 Jackson Harper <jackson@ximian.com>
3748 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3749 on. Because thats how it rolls. (and this avoids it using ambient
3751 * ThemeWin32Classic.cs: Use the proper back color for filling.
3752 * Menu.cs: Use the system menu bar color for drawing menu
3753 bars. Using the window back color will bring ambient colours into
3756 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3758 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3759 Bitmaps were created and not disposed.
3761 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3763 * Control.cs (CreateControl): Don't do anything if the control is
3764 already created, otherwise we'd fire the OnCreated event more than
3767 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3769 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3770 will always match. Instead return -1. Fixes #76464.
3772 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3774 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3775 neither the beginning nor the end of the line (Fixes bug #76479)
3777 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3780 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3781 where handle is invalid
3782 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3783 instead of slower linear search
3784 * NativeWindow.cs: Don't remove the window from the hashtable until
3785 after the driver has destroyed it (since the driver might use
3786 Control.FromHandle to lookup the control object
3787 * Hwnd.cs: Added DestroyPending property to track if a window is
3788 already destroyed as far as the driver is concerned and only hasn't
3789 yet notified the control
3791 - Activate(): Check if the window is still valid before using the
3793 - Implemented DestroyChildWindow() method to mark child windows as
3794 destroyed when a window is destroyed. This prevents situations
3795 where we might call an X method based on queued events for a
3796 window that already has been destroyed but we haven't yet pulled
3797 the destroy method from the queue.
3798 - Added a call to the new DestroyChildWindow() method to the drivers
3799 DestroyWindow code. Also now marking the destroyed window itself
3802 2005-12-20 Jackson Harper <jackson@ximian.com>
3805 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3806 anymore. Just do them when needed, also track the rects of panels
3807 so that we can optimize refreshing more in the future.
3809 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3811 * ColorDialog.cs: Fixed focus drawing in small color controls
3813 2005-12-19 Jackson Harper <jackson@ximian.com>
3815 * InternalWindowManager.cs:
3816 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3817 moving windows works properly.
3819 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3822 - Removed call to InitLayout() from SetBoundsCore(); doc says
3823 it's only called when a control is added to a container
3824 - Split InitLayout logic, moved to separate UpdateDistances() method
3825 since we need to perform those calculations more often than just
3826 when adding the control to a container. (Needed to fix #77022)
3827 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3828 - Reduced the OnBindingContextChanged events count, don't send them
3829 unless the control is created, we still aren't totally matching
3830 MS, but I can't quite figure out some of their rules
3832 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3834 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3837 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3839 * ThemeClearlooks.cs:
3840 - Updated ProgressBar drawing
3841 - Corrected drawing of ScrollBars and scroll buttons
3842 - Some temporary fixes for minor pixel artefacts
3844 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3847 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3848 cause events to be sent in the same order as MS does.
3849 - Added ChangeParent() method to trigger various OnXXXChanged events
3850 that need to be fired when a parent changes (This is a reworking
3851 of the patch from r54254, with the X11 errors fixed)
3852 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3853 since on MS we get OnLayoutChanged events when calling Clear()
3854 - Changed Enabled property to consider parent state as well, if a
3855 parent is not enabled, the control will not be either
3856 - Changed Parent property to simply call Controls.Add() since that
3857 now does all the work required, this way we avoid code duplication
3858 - Threw in a few OnBindingsContextChanged calls to try and match
3859 when MS sends them. We seem to send a few too many, though.
3860 - Added call to CreateControl when adding the control to a parent.
3861 We were never calling CreateControl. Still needs some work, in
3862 some places we treat HandleCreated and ControlCreated as equal,
3864 - Removed obsolete commented out code from UpdateZOrder()
3866 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3868 * ThemeClearlooks.cs: Updated TrackBar drawing.
3870 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3872 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3874 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3876 * FileDialog.cs: Add the Help button and the open readonly
3877 checkbox only if needed
3879 2005-12-16 Jackson Harper <jackson@ximian.com>
3881 * Control.cs: Make sure we have an active menu before trying to
3882 process commands on it. Prevents menu-less forms from crashing
3883 when Alt is pressed.
3884 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3886 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3889 2005-12-16 Jackson Harper <jackson@ximian.com>
3891 * InternalWindowManager.cs: Don't translate tool windows screen
3892 coordinates. This fixes windows 'bouncing' around when being moved.
3894 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3897 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3898 not quite MS compatible, MS uses that number only for single line
3899 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3901 - Now enforcing the MaxLength limit when entering characters
3902 - Added argument to internal Paste() method to track if it's called
3903 from programatically or via keyboard, since keyboard driven pastes
3904 need to enforce max-length
3905 - Added logic to Paste to only paste as many chars as MaxLength
3907 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3909 - Added Length property to return number of characters in document
3910 - Added private CharCount property which only tracks actual chars
3911 in the document (no linefeeds) and fires event when CharCount
3913 - Added tracking of character count to all methods that alter it
3914 - Added LengthChanged event to allow applications to subscribe
3915 to any changes to the document
3917 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3920 - Removed local password_char field (moved to TextBoxBase)
3921 - Now setting the document's password var when password is
3924 - Added password_char field (needed here so MultiLine can
3926 - Added logic to MultiLine property setter to set the document's
3927 variable when password display is allowed
3928 - Removed debug code and made some debug code conditional
3930 - Added RecalculatePasswordLine() method to handle special password
3932 - Added PasswordChar property, also added related tracking vars
3933 - Draw() method now uses local text var for grabbing text to draw,
3934 this var is set to line.text unless we're doing password display,
3935 then it is set to the pre-generated all-password-chars line
3936 - Added calling RecalculatePasswordLine() method for password lines
3938 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3941 - Added Reparented property to allow tracking of Window Manager
3942 reparenting actions (which affect X/Y calculations of toplevel
3944 - Made ToString() print window handles in hex
3946 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3947 determine if X/Y needs offsetting
3948 - AddConfigureNotify(): Fixed offset calculations
3949 - Now adds ReparentNotify messages into the queue
3950 - Now processes ReparentNotify messages and causes a
3951 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3952 is reparented (as most likely it's X/Y coordinates are changed
3955 2005-12-14 Jackson Harper <jackson@ximian.com>
3957 * XplatUIX11.cs: Tool windows still need to respek focus.
3959 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3961 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3962 have a working release
3964 2005-12-13 Jackson Harper <jackson@ximian.com>
3966 * Form.cs: Update styles after setting the border style regardless
3967 of whether or not the window is using a window manager.
3969 2005-12-13 Jackson Harper <jackson@ximian.com>
3971 * Form.cs: We now hook into an internal window manager instead of just an
3972 MDI subsystem, this is so we can have properly behaving tool windows.
3973 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3974 * InternalWindowManager.cs: New internal class that acts as a
3975 window manager for tool windows and as a base for mdi windows.
3976 * MdiWindowManager.cs: New class that acts as a window manager for
3979 2005-12-12 Jackson Harper <jackson@ximian.com>
3981 * Control.cs: Updates so we match behavoir for for implicit
3982 controls. Fixes explosions in MDI.
3984 2005-12-12 Jackson Harper <jackson@ximian.com>
3986 * Control.cs: Implement Invalidate (Region).
3988 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3991 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3992 the same events as MS does. MS fires events for each property
3993 except, for unknown reasons, Cursor, when the control is reparented.
3994 I can't seem to totally match add/remove since MS also fires some
3995 VisibleChanged events, which makes no sense. Consolidated the
3996 parenting code into a separate method so it can be called from
3997 both Add and Remove. set_Parent no longer needs any special logic
3998 as it calls the parent's add method which implicitly fires
4000 - Removed some obsolete code and debug output
4001 - Enabled state is inherited from parents, if this is enabled
4003 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4005 * Form.cs: Removed commented out code
4007 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4010 - Added internal version of Invoke, with additional argument
4011 indicating if we're calling it from a Dispose() handler. That
4012 way we can avoid BeginInvoke throwing an exception if we're
4013 calling for an already destroyed window.
4014 - Added a dispose argument to BeginInvokeInternal, and made the
4015 check if a valid window handle chain exists conditional on
4016 it not being a dispose call
4017 - Removed code in DestroyHandle to destroy our children. Since we
4018 now handle the WM_DESTROY message we will catch all our children
4020 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4022 - Added a field to track the application context of the form.
4023 - No need to set closing variable as response to WM_CLOSE, instead
4024 we destroy the window. We also call PostQuitMessage if the form
4025 has an application context (which makes it the main app form,
4026 which, when closed terminates the app)
4028 - Dropped Exit() method, it's naming was confusing
4029 - Added PostQuitMessage() which causes GetMessage to return false
4030 once the message queue is empty
4031 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4033 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4034 no longer a valid XplatUI method, but left it in since it's used
4035 internally. Added empty PostQuitMessage() method.
4036 * MenuAPI.cs: Replaced call to Exit() with call to
4037 PostQuitMessage, even though this is probably no longer needed.
4038 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4039 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4041 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4042 - Removed old debug code that would call XplatUI for exception
4043 display, enabled standard exception handling (Still not enabled
4044 though, until NativeWindow's ExternalExceptionHandler define
4047 - Added internal method to allow control to update NativeWindow
4048 after a window has been destroyed
4049 - Added handling of already destroyed windows when calling i
4051 - Added removal of handle from list on ReleaseHandle
4053 - Dropped GetMessageResult var and related code
4054 - Added PostQuitState to field to track if PostQuitMessage has been
4056 - Dropped Exit() method
4057 - Added PostQuitMessage() method
4058 - GetMessage now will return false if PostQuitState is set and no
4059 more messages are in the queue.
4060 - Expose handler will no longer generate WM_PAINT messages if we are
4061 in PostQuitState since it's very likely any windows have already
4062 been destroyed, and since Hwnd won't get updated until we have
4063 processed the DestroyNotify we'd be causing X errors.
4065 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4067 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4068 Thanks to Mike for pointing out the err of my ways.
4070 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4072 * Control.cs(PreProcessMessage): Moved menu handling back, but
4073 after all other key handling, to match MS (who handles Menu in
4075 * Menu.cs (WndProc): Removed my brainfart
4077 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4079 * Control.cs(PreProcessMessage): Removed special menu handling
4080 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4082 2005-12-07 Mike Kestner <mkestner@novell.com>
4084 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4085 state according in tracker.
4086 * Menu.cs : promote tracker field to base class and provide a tracker
4087 lookup capability. Add/Remove shortcuts dynamically if the top menu
4088 has a tracker. Unparent items that are removed from the collection.
4089 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4090 * Theme*.cs: add always_show_hotkeys field to support configurability
4091 of mnemonic display. win32 doesn't show mnemonics until Alt is
4094 2005-12-07 Jackson Harper <jackson@ximian.com>
4096 * MdiChildContext.cs: Use Control.ResetCursor.
4097 * Control.cs: ResetCursor needs to set the property so that the
4098 correct XplatUI call gets made.
4100 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4102 * Control.cs: More fixes to make our key events match MS. We
4103 were not setting the modifier state on KeyData, and we were
4104 not generating any events when Alt was pressed with a key
4105 since handling of WM_SYSxxx was missing for the OnKey methods.
4107 2005-12-07 Jackson Harper <jackson@ximian.com>
4109 * MdiChildContext.cs: reenable the sizing code.
4110 - When the mouse leaves a window reset its cursor.
4112 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4114 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4116 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4118 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4119 widths of Fixed3D borders
4121 2005-12-07 Jackson Harper <jackson@ximian.com>
4123 * MdiClient.cs: Fix warnings. Earn Mike's love.
4125 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4127 * ThemeClearlooks.cs:
4128 - Adjusted mouse over button color
4129 - Added first parts of CheckBox drawing
4130 - Added correct color for selected text background
4131 - Fixed ComboBox drawing
4132 - Added CPDrawBorder3D and CPDrawBorder
4134 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4136 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4138 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4140 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4141 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4142 alert users via sound. We could add an enum arg with different
4143 types of alerts in the future
4145 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4147 * Control.cs: Fix behaviour problems pointed out by Mike
4149 2005-12-05 Mike Kestner <mkestner@novell.com>
4151 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4152 prop setters. Calls parent.Refresh for now, but could be maybe be
4153 optimized with an internal method on StatusBar at some point.
4156 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4158 * RichTextBox.cs: Implemented get_SelectionColor
4160 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4162 * ThemeClearlooks.cs:
4164 - Draw black button border only if button is Form.AcceptButton
4165 - Draw correct button color for pressed RadioButton if the mouse
4166 has entered the button
4167 - Updated ProgressBar drawing!
4168 - Updated CPDrawSizeGrip drawing
4169 - Updated StatusBarPanel drawing
4171 2005-12-05 Mike Kestner <mkestner@novell.com>
4173 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4174 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4176 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4178 * ThemeClearlooks.cs: Initial check-in, activate with
4179 export MONO_THEME=clearlooks
4180 * ThemeEngine.cs: Added ThemeClearlooks
4182 2005-12-03 Mike Kestner <mkestner@novell.com>
4184 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4187 2005-12-02 Jackson Harper <jackson@ximian.com>
4189 * Form.cs: If the child form has no menu the default main menu is
4190 used as the active menu.
4192 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4194 * ListBox.cs: Check if any items exist before trying to resolve
4195 coordinates into items
4197 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4199 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4200 as the second color for the background hatch
4202 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4204 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4205 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4206 sure that what we pass to FormatText is always 1-based. Fixes #76885
4208 2005-11-29 Miguel de Icaza <miguel@novell.com>
4210 * NumericUpDown.cs (EndInit): When we are done initializing,
4211 reflect any updates on the UI.
4213 2005-12-02 Jackson Harper <jackson@ximian.com>
4215 * ImplicitHScrollBar.cs:
4216 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4217 their container controls.
4218 * TreeView.cs: Use the new implicit scrollbars.
4220 2005-12-02 Jackson Harper <jackson@ximian.com>
4222 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4224 * TreeNodeCollection.cs: If we remove the topnode we need to
4225 update topnode to the next node in line.
4226 - When clearing nodes go through the same process as removing
4227 them, so they get depareneted and checked if they are top node.
4229 2005-12-01 Jackson Harper <jackson@ximian.com>
4231 * TreeView.cs: When imagelists are used the image area is
4232 selectable as well as the text.
4233 - If there are no selected nodes select the first one.
4234 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4235 so don't do it more then we need to.
4237 2005-12-01 Jackson Harper <jackson@ximian.com>
4239 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4240 that arrows can be scaled.
4242 2005-12-01 Jackson Harper <jackson@ximian.com>
4244 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4245 fail. Patch by Dieter Bremes
4247 2005-11-30 Jackson Harper <jackson@ximian.com>
4249 * Form.cs: Property is 2.0 only
4250 * PrintDialog.cs: Signature fix.
4252 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4255 - No longer artificially moves text 2 pixels down (now that we have
4256 borders this is no longer needed)
4257 - Added calcs for left, hanging and right indent
4259 2005-11-23 Mike Kestner <mkestner@novell.com>
4261 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4263 2005-11-30 Jackson Harper <jackson@ximian.com>
4265 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4266 get cloned as part of CloneMenu ().
4267 * Menu.cs: Make sure the parent of the items get set correctly
4268 when they are added. And the owners are notified of the changes.
4269 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4270 we can change the menu being displayed/handled by the form without
4271 changing the menu assosciated with the form.
4272 - Don't let Mdi children draw/handle menus.
4274 2005-11-30 Jackson Harper <jackson@ximian.com>
4276 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4277 a MenuChanged event. Just to make the API a little more
4280 * MenuItem.cs: Use the new OnMenuChanged
4281 * MdiChildContext.cs: Handle menu merging.
4282 * Form.cs: Implement MergedMenu.
4284 2005-11-30 Jackson Harper <jackson@ximian.com>
4286 * Menu.cs: We were misusing Add. Add goes behind the specified
4287 index according to the docs, and does not replace the specified
4288 index. So I added an Insert method.
4290 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4292 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4293 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4295 * RichTextBox.cs: Added calls to base for DnD events
4297 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4300 - Fixed drag-selection related crash; style fixes
4301 - Implemented undo class
4302 o Implemented method to capture document state for specified
4303 range in document tree
4304 o Implemented method to restore captured document state
4305 o Implemented cursor tracking
4306 o Implemented basic undo stack
4307 - Added undo cursor tracking to methods altering cursor location
4308 - Added undo tracking to selection deletion (still missing
4309 other text-altering hookups)
4311 - Added SelectionLength property
4312 - Implemented CanPaste()
4313 - Implemented Paste()
4314 - Added missing protected methods
4315 - Fixed RTF->Document conversion; now uses font index 0 and color
4316 index 0 as the default font for the parsed text
4317 - Fixed RTF<->Document font size translation
4318 - Fixed RTF generation, now properly handles cross-tag boundaries
4319 for single line selection
4320 - No longer always appends blank line to generated RTF
4322 - Added missing attributes
4323 - Hooked up undo-related methods
4325 - Implemented Copy()
4326 - Implemented Paste()
4328 - Fixed caret mis-behaviour on backspace across line-boundaries
4330 2005-11-29 Jackson Harper <jackson@ximian.com>
4332 * MdiClient.cs: Add a method for activating mdi children. Very
4333 basic right now. I imagine someday it might need more girth.
4334 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4335 children windows names are added to the menu item.
4336 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4337 mdilist. This happens regardless of whether or not there are any
4338 mdi windows to see in the list, and according to my tests happens
4339 before the items are even added. Also happens if there isn't even
4340 an mdi client to get windows from.
4342 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4344 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4345 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4347 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4349 * DataGridTableStyle.cs:
4350 - Create always the styles for the missing columns even if they are
4351 provided by the user (not default table style)
4354 - Fixes SetDataBinding (always re-attach source)
4355 - Fixes SetNewDataSource (only clear styles if they are not for
4357 - Expands OnTableStylesCollectionChanged to handle style refresh
4360 2005-11-29 Jackson Harper <jackson@ximian.com>
4362 * FileDialog.cs: Implement missing bits, remove some dead
4364 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4365 creation of the panel so that the options set on the dialog are
4366 seen when the panel is created.
4367 * TreeView.cs: raise a click when items are clicked.
4369 2005-11-29 Jackson Harper <jackson@ximian.com>
4371 * MdiClient.cs: Pass some signature methods through to base.
4373 2005-11-28 Jackson Harper <jackson@ximian.com>
4375 * ListView.cs: Raise the click event when items are clicked.
4377 2005-11-28 Jackson Harper <jackson@ximian.com>
4379 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4382 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4384 * ThemeNice.cs: - Removed 1 pixel bitmaps
4385 - Use SmoothingMode.AntiAlias where it makes sense
4386 (ScrollButton arrow for example)
4387 - Enhanced Button focus drawing
4388 - Fixed ComboBox drawing (no artefacts anymore, focus
4389 rectangle is back again, reduced size of ComboButton, etc.)
4390 - Fixed RadioButton focus drawing for Appearence.Button
4391 - Slight ScrollButton redesign
4392 - Some LinearGradientBrush size fixes
4393 - GroupBoxes have now rounded edges
4394 - Fixed StatusBar drawing
4396 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4398 * ThemeNice.cs: - Remove dead code
4399 - use correct background colors for menus, etc.
4400 - Fake pixel drawing with 1 pixel bitmaps
4402 2005-11-24 Jackson Harper <jackson@ximian.com>
4404 * MdiClient.cs: Size the scrollbars when resizing the window.
4405 - Resize the maximized windows when the client is resized
4406 * Form.cs: Make the child context available
4408 2005-11-23 Jackson Harper <jackson@ximian.com>
4410 * MdiChildContext.cs: Don't size windows if they are maximized.
4412 2005-11-23 Mike Kestner <mkestner@novell.com>
4414 * ContextMenu.cs: use MenuTracker.
4415 * Control.cs: remove menu handle usage.
4416 * Form.cs: remove menu handle usage.
4417 * Hwnd.cs: remove menu handle usage.
4418 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4419 motion and clicks to the new Tracker handlers.
4420 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4422 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4423 Killed the MENU and MENUITEM data types and associated collections
4424 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4425 MenuTracker class that exposes the leftovers from the old MenuAPI
4426 static methods. Restructured Capture handling so that only one grab is
4427 done for the entire menu hierarchy instead of handing off grabs to
4428 submenus. Tracker now has an invisible control to Capture when active.
4429 * MenuItem.cs: add sizing accessors, kill Create
4431 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4432 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4433 MENU(ITEM). remove menu handle usage, use Menu directly.
4434 * XplatUIDriver.cs: remove menu handle usage.
4435 * XplatUIOSX.cs: remove menu handle usage.
4436 * XplatUIWin32.cs: remove menu handle usage.
4437 * XplatUIX11.cs: remove menu handle usage.
4439 2005-11-22 Jackson Harper <jackson@ximian.com>
4441 * Hwnd.cs: Don't compute the menu size for
4442 DefaultClientRectangle.
4443 - Reenable menu sizes being computed for GetClienRectangle.
4444 * Form.cs: Remove comment of trechery
4446 2005-11-22 Jackson Harper <jackson@ximian.com>
4448 * Hwnd.cs: The adjustments for the menu bar are made when it is
4449 attached to the form.
4451 2005-11-19 Jackson Harper <jackson@ximian.com>
4453 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4454 (just like on windows).
4456 2005-11-19 Jackson Harper <jackson@ximian.com>
4458 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4459 use real buttons anymore because they are in non client area. The
4460 one TODO here is that I need to somehow invalidate a section of
4461 the non client area.
4463 2005-11-18 Jackson Harper <jackson@ximian.com>
4465 * Control.cs: Put the enum check back in now that MDI doesnt have
4466 to use this to set border styles.
4467 * Form.cs: Only set mdi child windows borders if the handle has
4469 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4470 this directly on to the driver.
4471 - Get the move start position before adjusting for the titlebar
4472 height, this fixes the windows "skipping" when they are first
4475 2005-11-18 Jackson Harper <jackson@ximian.com>
4477 * XplatUIX11.cs: Just compute the mdi borders separately as they
4478 don't totally match up with normal form borders.
4480 2005-11-18 Jackson Harper <jackson@ximian.com>
4482 * Control.cs: Set WS_ styles for borders, so that the driver does
4483 not have to retrieve the control instance to figure out what kind
4484 of borders it should have.
4485 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4486 driver can know its an mdi child easily.
4487 * XplatUIX11.cs: Get the border styles and whether the window is
4488 MDI from the Styles and ExStyles params instead of having to get a
4489 control. This prevents a chicken and egg problem.
4491 2005-11-18 Jackson Harper <jackson@ximian.com>
4493 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4495 2005-11-18 Jackson Harper <jackson@ximian.com>
4497 * MdiClient.cs: Calculate when to add and remove scrollbars
4499 * MdiChildContext.cs: Adjust the y position to take the titlebar
4501 - No height for FormBorderStyle.None
4503 2005-11-18 Jackson Harper <jackson@ximian.com>
4505 * Control.cs: Allow non enum values to be used for
4506 InternalBorderStyle. MDI does this to set a special border style.
4507 - New utility methods for converting points to/from client coords
4508 - Add the newly created control to the Controls collection before
4509 updating its style. This way UpdateStyle can walk the control
4510 heirarchy to find the control if needed.
4511 so I don't need to create a new Point object all the time.
4512 * Form.cs: Let MDI windows handle their border styles.
4513 - Set styles on MDI windows so the correct title style is derived.
4514 * MdiChildContext.cs: Move all the painting and window handling
4515 into the non client area.
4516 - Use correct sizing and put correct buttons on frames based on
4517 the FormBorderStyle.
4518 - Notify the mdi client about scrolling
4519 - Need to handle the buttons ourselves now, because they are all
4520 in non client areas and we can't add controls there.
4521 * MdiClient.cs: Halfway to scrolling, this implementation is
4522 somewhat broken though, we need to check to make sure other
4523 windows aren't causing scrolling before removing the bars. Also
4524 the bars need to be drawn on top, maybe I can switch implicit
4525 controls to be on top.
4526 * Hwnd.cs: caption_height and tool_caption_height are now
4527 properties of an hwnd, this way they can be set by the driver
4528 based on the type of window they are. In X11 the window manager
4529 handles the decorations so caption_height is zero unless its an
4531 - Add 3 pixel borders for MDI windows (0xFFFF).
4532 - Get rid of some code duplication, have DefaultClientRectanle
4533 just call GetClientRectangle.
4534 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4536 - Set border styles differently for mdi windows.
4537 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4540 2005-11-15 Mike Kestner <mkestner@novell.com>
4542 * Menu.cs: when adding an item to the collection, if item is already
4543 parented, remove it from the parent.
4545 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4547 * X11DesktopColors.cs: Added KDE support
4549 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4552 - Clipboard methods now can translate Rtf format
4553 - No longer removes clipboard contents whenever a new format is added
4554 to allow placing multiple formats on the clipboard
4555 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4556 will place all formats contained in it onto the clipboard. Also
4557 now cleans the clipboard before placing a new object onto it
4559 - Implemented set_Rtf
4560 - Implemented set_SelectedRtf
4561 - Created InsertRTFFromStream() method to allow single code base
4562 for all properties and methods that insert RTF into document
4563 - Removed debug output
4565 - Fixed Delete(int) to fix up line numbers
4566 - Fixed ReplaceSelection to combine start and end line
4567 - Fixed serious DeleteChars bug that would leave the document tree
4569 - Improved DumpTree with several logic checks to detect broken
4571 - Removed debug lines
4572 - Fixed Caret.WordForward/WordBack moving code, now always also
4573 updates caret.tag (fixes crash when word-selecting across tag
4574 boundaries via keyboard)
4575 - Added Insert() method for inserting multiline text into documents
4576 - Fixed DeleteChars() calculation errors that would cause a broken
4577 tag chain with multiple tag lines
4578 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4579 - Split() no longer moves caret if split is at caret location
4580 - ReplaceSelection() now updates the cursor and re-displays it
4581 - ReplaceSelection() now uses new Insert() method to avoid code
4583 - FormatText() can now handle formatting partial lines
4585 - Append now uses new TextControl.Insert() method (this avoids
4587 - Implemented Ctrl-X (Cut) (
4588 - Implemented Ctrl-C (Copy)
4589 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4590 regeneration when pasting text; roundtripping Copy&Paste within
4591 edit control still fails due to some calculation bugs in GenerateRTF)
4592 - The Delete key will now remove the current selection if it is visible
4593 * TextBox.cs: Removed debug lines
4594 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4595 driver to be initialized and can't therefore be done via a static ctor)
4597 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4599 * TextControl.cs: Added backend code for finding char arrays and strings
4601 - Added mouse wheel scroll support
4602 - Added support for VScroll and HScroll events
4604 - Implemented all seven Find() variants
4605 - Implemented GetCharFromPosition()
4606 - Implemented GetCharIndexFromPosition()
4607 - Implemented GetLineFromIndex()
4608 - Implemented GetPositionFromCharIndex();
4609 - Implemented SaveFile for PlainText and UnicodeText
4610 - Fixed set_Font, now setting a new font applies that font to
4612 - Implemented generic Document to RTF converter
4613 - Implemented SaveFile for RichText format (still missing unicode
4614 conversion for non-ansi chars)
4615 - Implemented get_Rtf
4616 - Implemented get_SelectedRtf
4618 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4620 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4621 to allow any captures to be released before triggering OnClick. This
4622 way a click handler may capture the mouse without interference.
4623 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4624 This way we send them even though X may not allow a grab (if the window
4625 isn't visible, for example)
4627 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4629 * DataGridViewRowEventArgs.cs: DataGridView implementation
4630 * DataGridViewElement.cs: DataGridView implementation
4631 * DataGridViewComboBoxCell.cs: DataGridView implementation
4632 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4633 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4634 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4635 * ImageLayout.cs: DataGridView implementation
4636 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4637 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4638 * DataGridViewSelectionMode.cs: DataGridView implementation
4639 * IDataGridViewEditingControl.cs: DataGridView implementation
4640 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4641 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4642 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4643 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4644 * DataGridViewColumnSortMode.cs: DataGridView implementation
4645 * DataGridView.cs: DataGridView implementation
4646 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4647 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4648 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4649 * Padding.cs: DataGridView implementation
4650 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4651 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4652 * DataGridViewRowEventHandler.cs: DataGridView implementation
4653 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4654 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4655 * DataGridViewButtonCell.cs: DataGridView implementation
4656 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4657 * DataGridViewEditMode.cs: DataGridView implementation
4658 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4659 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4660 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4661 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4662 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4663 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4664 * DataGridViewCellEventHandler.cs: DataGridView implementation
4665 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4666 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4667 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4668 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4669 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4670 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4671 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4672 * QuestionEventArgs.cs: DataGridView implementation
4673 * IDataGridViewEditingCell.cs: DataGridView implementation
4674 * DataGridViewTriState.cs: DataGridView implementation
4675 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4676 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4677 * DataGridViewColumnCollection.cs: DataGridView implementation
4678 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4679 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4680 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4681 * DataGridViewColumn.cs: DataGridView implementation
4682 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4683 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4684 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4685 * DataGridViewRow.cs: DataGridView implementation
4686 * DataGridViewImageCellLayout.cs: DataGridView implementation
4687 * DataGridViewImageCell.cs: DataGridView implementation
4688 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4689 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4690 * DataGridViewHeaderCell.cs: DataGridView implementation
4691 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4692 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4693 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4694 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4695 * QuestionEventHandler.cs: DataGridView implementation
4696 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4697 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4698 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4699 * DataGridViewCell.cs: DataGridView implementation
4700 * DataGridViewCellEventArgs.cs: DataGridView implementation
4701 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4702 * DataGridViewCellStyle.cs: DataGridView implementation
4703 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4704 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4705 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4706 * TextFormatFlags.cs: DataGridView implementation
4707 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4708 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4709 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4710 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4711 * DataGridViewButtonColumn.cs: DataGridView implementation
4712 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4713 * HandledMouseEventArgs.cs: DataGridView implementation
4714 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4715 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4716 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4717 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4718 * DataGridViewRowCollection.cs: DataGridView implementation
4719 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4720 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4721 * DataGridViewHitTestType.cs: DataGridView implementation
4722 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4723 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4724 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4725 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4726 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4727 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4728 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4729 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4730 * DataGridViewContentAlignment.cs: DataGridView implementation
4731 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4732 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4733 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4734 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4735 * DataGridViewPaintParts.cs: DataGridView implementation
4736 * DataGridViewCellCollection.cs: DataGridView implementation
4737 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4738 * DataGridViewImageColumn.cs: DataGridView implementation
4739 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4740 * DataGridViewElementStates.cs: DataGridView implementation
4741 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4742 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4743 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4744 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4745 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4746 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4747 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4748 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4749 * DataGridViewTextBoxCell.cs: DataGridView implementation
4750 * DataGridViewBand.cs: DataGridView implementation
4751 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4752 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4753 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4754 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4755 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4756 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4757 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4758 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4759 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4760 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4761 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4763 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4765 * ThemeWin32Classic.cs:
4766 - Draw the outside focus rectangle around buttons
4767 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4768 doesn't use end caps for every dash of a line anymore. This
4769 workaround ignores the forecolor.
4771 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4773 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4776 2005-11-07 Jackson Harper <jackson@ximian.com>
4778 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4780 2005-11-07 Jackson Harper <jackson@ximian.com>
4782 * ScrollableControl.cs: Calculate the maximum and change vars
4783 (more) correctly so that scrollbars appear as a sensible size.
4785 2005-11-04 Jackson Harper <jackson@ximian.com>
4787 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4789 * TreeView.cs: When the tree is sorted null out the top_node so
4790 that it is recalculated.
4791 - Use dotted lines instead of dashed lines to match MS better.
4793 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4796 - Implements key search for items. Useful when browsing files with FileDialog
4797 - When changing view mode or when clear the items reset scrollbar positions
4799 2005-11-04 Jackson Harper <jackson@ximian.com>
4801 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4802 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4803 as to what the method may do as there is no real way of creating a
4804 derived CurrencyManager and calling the method.
4806 2005-11-03 Jackson Harper <jackson@ximian.com>
4808 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4809 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4810 method which seems to just be used internally to refresh the tabs.
4812 2005-11-03 Jackson Harper <jackson@ximian.com>
4814 * TabControl.cs: Implement the remove method. Fix some broken
4817 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4819 * DateTimePicker.cs:
4820 - Added missing DateTimePickerAccessibleObject class
4821 - Added missing events
4822 - Added OnFontChanged method
4823 * Form.cs: Added missing attributes
4824 * TreeView.cs: Added missing attributes
4826 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4828 * GridItemCollection.cs: Fix signatures
4830 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4832 * XplatUI.cs: Updated build rev/date
4833 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4834 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4835 * Application.cs: Trigger context-specific ExitThread events
4837 2005-11-03 Jackson Harper <jackson@ximian.com>
4841 * GridTableStylesCollection.cs:
4846 * MonthCalendar.cs: Signature fixes
4848 2005-11-03 Jackson Harper <jackson@ximian.com>
4850 * TreeNodeCollection.cs: Remove should not be virtual.
4851 * TreeView.cs: Implement the last of the missing methods.
4853 2005-11-03 Jackson Harper <jackson@ximian.com>
4855 * TreeNodeConverter.cs: Implement to get off my class-status back.
4857 2005-11-03 Jackson Harper <jackson@ximian.com>
4859 * TreeView.cs: Hookup the bits for drag and drop.
4860 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4861 that nodes can be moved from tree to tree easily this just causes
4862 all sorts of problems.
4863 * TreeNodeCollection: Don't need to give treenodes an index and
4864 treeview anymore when they are added, these are computed on the
4865 fly. Also make sure to remove a node before its added.
4867 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4870 - Added CaretSelection enum
4871 - Added comparison methods to Marker struct, makes selection code
4873 - Added SelectionStart and SelectionEnd as 'moveable' location for
4874 the CaretDirection enum and handler
4875 - Added selection_prev variable to track optimized invalidation for
4876 word and line selection
4877 - Added SelectionVisible property (returns true if there is a valid
4879 - Switched CaretHasFocus to only display the caret if there is no
4881 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4882 using the direct character index; should be much faster
4883 - Added various conditional debug statements
4884 - Fixed invalidation calculation for selection ranges
4885 - Added ExpandSelection() method to support word and line selection
4886 - Switched SetSelectionToCaret to use new Marker compare overloads
4887 - Added central IsWordSeparator() method to determine word
4888 separators/whitespace and FindWordSeparator() to streamline common
4889 usage of IsWordSeparator()
4891 - Removed unneeded grabbed variable, it was just mirroring
4893 - No longer firing OnTextChanged event when Text setter is called,
4894 since the base will fire the event for us
4895 - Added handling of Ctrl-Up/Down selection
4896 - Added handling of Shift-Cursorkey selection
4897 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4899 - Added handling of Shift and Ctrl-Shift-Home/End selection
4900 - Removed some debug output
4901 - Added handling for single/double/tripple-click to place caret/
4902 select word/select line respectively (Fixes bug #76031)
4903 - Added support for drag expansion of word/line selection
4904 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4907 2005-11-02 Jackson Harper <jackson@ximian.com>
4909 * X11Dnd.cs: If the drag is going to and from a MWF window just
4910 copy the data instead of sending it out through the X Selection
4913 2005-11-02 Jackson Harper <jackson@ximian.com>
4916 * XplatUIX11.cs: When in a drag we don't want motion notify
4917 messages to get passed on to the other controls. This prevents
4918 mouse move messages from showing up in the drag source.
4920 2005-11-02 Jackson Harper <jackson@ximian.com>
4922 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4923 the correct button is release to end a drag.
4924 * XplatUIX11.cs: Make the button state internal so the drag system
4925 can access it. Dragging needs to know about all button releases,
4926 not just left button.
4928 2005-11-02 Miguel de Icaza <miguel@novell.com>
4930 * Form.cs (Icon): If the icon is null, reset the icon to the
4933 * Cursor.cs: When writing the AND-mask bitmap do not include the
4934 number of colors, but hardcode those to two (black and white),
4935 fixes the loading of color cursors (Paint Dot Net).
4937 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4938 turn off autoscaling.
4940 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4942 2005-11-02 Jackson Harper <jackson@ximian.com>
4944 * X11Dnd.cs: Make sure to send a status message if the pointer
4945 enters a control that can not accept a drop, otherwise the cursor
4946 isn't updated correctly. Also tried to compress the lines of code
4949 2005-11-02 Jackson Harper <jackson@ximian.com>
4951 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4952 set actions correctly. This isn't perfect as XDND and win32 have
4953 some differences on how you allow actions. I'll clear this up by
4954 adding a path for drag from MWF to MWF windows.
4955 * XplatUIX11.cs: Hook into the dnd system.
4957 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4959 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4960 previously shown but they are no longer need it. Very obvious when
4961 browsing files with FileDialog.
4963 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4965 * Control.cs: We always need to call OnPaintBackground. We pretty much
4966 ignore AllPaintingInWmPaint and always do the painting there, whether
4967 it's set or not, since we always ignore the WM_ERASEBKGND message
4968 (which we don't generate on X11). This fixes #76616.
4969 * Panel.cs: Removed unneeded background painting. This happens properly
4970 in Control.cs already
4972 2005-10-31 Mike Kestner <mkestner@novell.com>
4974 * Menu.cs: Add items to collection before setting their index.
4975 * MenuItem.cs : add range checking with ArgumentException like MS.
4978 2005-10-31 Jackson Harper <jackson@ximian.com>
4980 * ListBox.cs: Invalidate if the area is visible at all not just
4981 contained in the visible rect. Fixes unselection of semi visible
4984 2005-10-31 Jackson Harper <jackson@ximian.com>
4986 * Control.cs: Consistently name the dnd methods. Make them
4987 internal so we can override them to match some MS behavoir
4989 * Win32DnD.cs: Use the new consistent names.
4991 2005-10-31 Jackson Harper <jackson@ximian.com>
4993 * TreeView.cs: Don't draw the selected node when we lose focus.
4995 2005-10-31 Jackson Harper <jackson@ximian.com>
4997 * X11Dnd.cs: We still need to reset the state even though a full
4998 reset isn't being done, otherwise status's still get sent all over
5001 2005-10-31 Jackson Harper <jackson@ximian.com>
5003 * Control.cs: Make the dnd_aware flag internal so the dnd
5004 subsystem can check it. Catch exceptions thrown in dnd handlers to
5006 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5007 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5008 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5009 flags to reduce the number of dnd enters/status's sent.
5011 2005-10-31 Jackson Harper <jackson@ximian.com>
5013 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5015 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5017 * PictureBox.cs: Fixes 76512
5019 2005-10-28 Jackson Harper <jackson@ximian.com>
5021 * X11Dnd.cs: Early implementation to support winforms being a drag
5022 source for data on X11. Also restructured the converters so they
5023 can go both ways now.
5024 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5026 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5028 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5031 2005-10-27 Jackson Harper <jackson@ximian.com>
5033 * TreeNode.cs: Implement serialization so my DnD examples will work.
5035 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5037 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5038 TreeView.cs: Don't dispose objects that are not owned.
5040 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5042 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5043 should retrieve the current cursor and report that, but XplatUI
5044 doesn't (yet) have an interface for that (and I'm not sure I even
5046 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5047 until any message loop processing is done (and the WM_SETCURSOR
5048 replaces the cursor to the proper one)
5050 - Fixed override behaviour, we can't set the cursor globally on X11,
5051 just for our windows.
5052 - Invalidating the System.Drawing X11 display handle when we are
5054 * Control.cs: Fix to make csc happy
5056 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5059 - get_Text: Add last line (without trailing newline) to returned
5061 - get_TextLength: Count last line in returned length
5062 - ToString: Call Text property instead of duplicating code
5064 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5066 * ImageList.cs: Dispose ImageAttributes objects.
5068 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5070 * ImageList.cs: Use attribute constructors with less arguments where
5073 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5075 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5076 Use typeof instead of strings when assembly is referenced. Added
5079 2005-10-21 Jackson Harper <jackson@ximian.com>
5081 * ListView.cs: Raise a double click event. Also tried to somewhat
5082 fix when the selectedindexchanged event is raised. Its still
5085 2005-10-21 Jackson Harper <jackson@ximian.com>
5087 * TreeView.cs: New method to invalidate the plus minus area of a
5088 node without invalidating the whole node (maybe this can be used
5089 in some more places).
5090 * TreeNodeCollection.cs: When adding to an empty node we need to
5091 invalidate its plus minus area so the little block shows up.
5093 2005-10-21 Jackson Harper <jackson@ximian.com>
5095 * TreeView.cs: Make sure that when we invalidate a node the bounds
5096 are big enough to cover the selected box and the focus
5097 rectangle. Use a different colour for the lines connecting nodes
5098 so they show up with all themes.
5100 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5102 * NativeWindow.cs: Don't call anything that could call into the driver,
5103 we might be on a different thread.
5105 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5107 * Control.cs(Dispose): Since Dispose might run on a different thread,
5108 make sure that we call methods that could call into the driver via
5109 invoke, to avoid thread issues
5111 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5113 * XplatUI.cs: Removed finalizer
5114 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5115 not allowing to be called on the finalizer thread.
5117 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5120 - Reverted r51889 and r51891.
5121 - Added ImageListItem class that stores unmodified image items and image
5122 properties required to create list images until handle is created.
5123 - Added AddItem and moved image creation logic to AddItemInternal.
5124 - Added CreateHandle method that creates images based on unmodified items.
5125 - Added DestroyHandle that changes state to store unmodified items.
5126 - Add and AddStrip methods no more create handle.
5127 - ReduceColorDepth has no return value.
5128 - Dispose destroys handle.
5129 - Modified other methods to reflect the above changes.
5130 - Implemented key support.
5131 - Added profile 2.0 members and attributes.
5132 - Added private Reset and ShouldSerialize methods that provide the same
5133 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5134 them as they are private.
5135 - Added some more comments about implementation details.
5137 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5139 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5141 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5143 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5145 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5147 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5148 * DataGridColumnStyle.cs: Remove debug message
5150 2005-10-20 Jackson Harper <jackson@ximian.com>
5152 * TreeView.cs: We can always get input keys regardless of whether
5153 or not editing is enabled. They are used for navigation.
5155 2005-10-20 Jackson Harper <jackson@ximian.com>
5157 * TreeNode.cs: Use the viewport rect for determining if a node
5158 needs to be moved for visibility. Don't use Begin/End edit. This
5159 calls a full refresh when its done.
5160 * TreeView.cs: New SetBottom works correctly. Make the viewport
5161 rect property internal so the treenodes can see it. When clicking
5162 on a node we need to ensure that its visible because it might just
5163 be partly visible when clicked.
5165 2005-10-20 Jackson Harper <jackson@ximian.com>
5167 * TreeNodeCollection.cs: Remove debug code.
5169 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5171 * Datagrid.cs: Implements column sorting in Datagrid
5172 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5174 2005-10-20 Jackson Harper <jackson@ximian.com>
5176 * TreeNodeCollection.cs: Remove items properly. Update the correct
5177 area after removing them.
5179 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5181 * Datagrid.cs: Should not call base.OnPaintBackground
5183 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5185 * XplatUIX11.cs (GetMessage):
5186 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5187 window instead of client window
5188 - Now properly calculates NC_xBUTTONUP message coordinates
5189 - ScreenToMenu now properly calculates it's coordinates of whole
5190 window, since menus are in the whole window, not in the client
5192 - Added WholeToScreen coordinate translation method
5194 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5196 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5197 want to return a message, loop back to the beginning of the function
5198 and grab the next real message to process instead.
5200 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5202 * Splitter.cs: Properly set limits if no filler control is used
5204 2005-10-19 Jackson Harper <jackson@ximian.com>
5206 * ColorDialog.cs: Don't show the help button if it is not enabled
5207 instead of disabling it (this is what MS does). Don't create the
5208 panel until the dialog is run, otherwise the vars (such as
5209 ShowHelp) are not set yet.
5211 2005-10-19 Jackson Harper <jackson@ximian.com>
5213 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5214 are reduced when adding nodes.
5216 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5219 2005-10-19 Jackson Harper <jackson@ximian.com>
5221 * FolderBrowserDialog.cs: End editing our treeview so the window
5222 actually gets refreshed.
5224 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5226 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5227 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5230 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5232 * MenuAPI.cs: Returns after Hidding window
5233 * XplatUIX11.cs: Added TODO found while debugging menu issues
5235 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5237 * XplatUIX11.cs: Do not re-map the whole window when it's size
5238 becomes non-zero unless it's supposed to be actually visible
5240 2005-10-18 Jackson Harper <jackson@ximian.com>
5242 * TreeView.cs: We don't need to keep a count anymore.
5243 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5244 use the Grow method.
5246 2005-10-18 Jackson Harper <jackson@ximian.com>
5248 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5249 implement it manually here.
5251 2005-10-18 Jackson Harper <jackson@ximian.com>
5253 * ImageList.cs: Dont kill the list when the colour depth is
5254 changed, just change the colour depth of all the images.
5255 - Same goes for setting the image size. Just resize them all
5256 instead of killing the list softly.
5258 2005-10-18 Jackson Harper <jackson@ximian.com>
5260 * Control.cs: Don't invalidate empty rectangles.
5262 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5265 - Adds checked item to the Checked/Item lists (where empty before)
5266 - Do not add items to the Selected lists if they are already present
5268 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5269 - When deleting items make sure that we delete them for the Selected
5270 and Checked list also.
5272 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5274 * Label.cs: Dispose objects no longer used
5275 * ThemeWin32Classic.cs: Dispose objects no longer used
5277 2005-10-18 Jackson Harper <jackson@ximian.com>
5279 * TabControl.cs: Don't refresh the whole control when the tabs are
5280 scrolled, we just need to refresh the tab area.
5282 2005-10-17 Jackson Harper <jackson@ximian.com>
5284 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5285 after handle when we need it.
5287 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5289 * Control.cs: When the parent size changes, recalculate anchor
5290 positions. Partial fix for #76462
5292 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5294 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5297 2005-10-17 Jackson Harper <jackson@ximian.com>
5299 * MonthCalendar.cs: Don't create the numeric up down until our
5300 handle is created. Otherwise our handle is created in the
5301 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5304 2005-10-17 Jackson Harper <jackson@ximian.com>
5306 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5309 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5310 * TreeNode.cs : small logical fix (was using local var instead of field)
5312 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5314 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5316 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5318 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5320 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5323 - Re-implemented anchoring code. My first version was really broken.
5324 This fixes bug #76033. Unlike the previous implementation we will
5325 no longer have round errors since all numbers are calculated from
5326 scratch every time. Removed various anchor-related obsolete vars.
5327 - InitLayout no longer causes layout event firing and layout to be
5330 2005-10-16 Jackson Harper <jackson@ximian.com>
5332 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5335 2005-10-16 Jackson Harper <jackson@ximian.com>
5337 * TabControl.cs: Remove debug code.
5339 2005-10-16 Jackson Harper <jackson@ximian.com>
5341 * XEventQueue.cs: Increase the default queue size (very simple
5342 apps needed to grow the queue).
5343 * Hwnd.cs: No finalizer so we don't need to suppress
5344 finalization. Compute the invalid area manually so a new rectangle
5345 does not newto be created.
5346 * ScrollableControl.cs: Don't set any params (otherwise visibility
5347 isn't set correctly).
5348 * MdiChildContext.cs: New constructor takes the mdi parent so it
5349 doesn't have to be computed and avoids a crash on windows. Draw
5350 the window icon properly, and allow the text to be seen.
5351 * Form.cs: Use new MdiChildContext constructor. Make sure the
5352 child context isn't null in wndproc.
5353 * TabControl.cs: Don't set focus, this is muddling keyboard
5354 behavoir. Expand the tab rows when a window size increase will
5355 allow extra tabs to be seen. Don't allow tabs smaller than the
5356 width of a window to be scrolled out of view.
5358 * TreeView.cs: Use measure string to calculate a nodes width, the
5359 width is cached and only updated when the text or the font is
5360 changed. Don't check for expand/collapse clicks on the first level
5361 nodes if root lines are disabled.
5363 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5365 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5367 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5369 * DataGridBoolColumn.cs: fixes warning
5371 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5373 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5374 to match more to match more precisely the MS Net behavior
5376 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5378 * Hwnd.cs: Added field to track if window is mapped
5380 - Unmap windows if they become 0-size, re-map when
5381 they are >0 again; fixes #76035
5382 - Re-set our error handler after initializing X11Desktop
5383 to override any error handlers Gtk or whatever was called
5386 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5388 * CheckedListBox.cs: Removed unused vars
5389 * ListView.cs: Fixed signatures
5390 * RichTextBox.cs: Removed unused vars
5391 * TextBoxBase.cs: Removed unused vars
5392 * XplatUIWin32.cs: Removed unused vars
5393 * XplatUIX11.cs: Removed unused vars
5394 * XplatUI.cs: Updated version and date to latest published
5396 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5398 * Cursor.cs: Added private .ctor to work around a bug in
5399 resourceset (Thanks to Geoff Norton for the help on this)
5400 * SplitterEventArgs.cs: Made fields accessible so we don't
5401 waste boatloads of objects and can reuse the same one
5403 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5404 any captions and borders when generating screen coordinates
5405 * Splitter.cs: Reimplemented control, now fully complete, uses
5406 rubberband drawing, supports and obeys all properties, has
5409 2005-10-13 Miguel de Icaza <miguel@novell.com>
5411 * Form.cs (Form): Setup default values for autoscale and
5412 autoscale_base_size; Make these instance variables, not static
5415 (OnLoad): on the first load, adjust the size of the form.
5417 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5419 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5420 width argument to DrawReversibleRectangle()
5421 * XplatUIWin32.cs, XplatUIX11.cs:
5422 - Implemented width for DrawReversibleRectangle()
5423 - Added logic to DrawReversibleRectangle that recognizes a zero
5424 width or height and only draws a line in that situation
5426 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5428 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5429 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5430 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5431 method (it uses our FosterParent window to get a graphics context)
5433 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5435 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5436 and SetWindowBackground methods
5438 - Setting proper ControlStyles
5439 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5440 EraseWindowBackground, instead we draw the window background
5441 ourselves in PaintControlBackground. This behaviour is
5442 required to match MS, where, when OnPaintBackground is not
5443 called, the background is not drawn.
5444 - Removed unneeded Refresh() in set_Text
5445 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5447 - Created DeriveStyles method to translate from CreateParams to
5448 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5449 matches FormBorderStyle enum values)
5450 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5451 style calculations into single DeriveStyles method
5452 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5453 from redrawing the whole window on any resize or expose.
5454 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5455 all styles were applied to our whole/client window appropriately
5456 - Removed EraseWindowBackground() and SetWindowBackground() methods
5457 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5458 no longer clear/redraw the background through X
5459 - Removed handling of erase_pending bit, we have no use for it (or
5462 - Removed generation and handling of WM_ERASEBKGND message
5463 - Removed EraseWindowBackground() and SetWindowBackground() methods
5464 - Removed handling of hwnd.ErasePending flag
5466 - Removed EraseWindowBackground() and SetWindowBackground() methods
5467 - We no longer call EraseWindowBackground on PaintEventStart, we
5468 ignore the fErase flag, erasing is handled in Control in the
5470 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5471 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5472 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5473 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5474 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5475 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5476 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5478 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5480 * PropertyGrids.cs: Get sub properties
5481 * PropertyGridView.cs: Fix drawing code
5483 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5485 * ListBox.cs: Fixes 76383
5487 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5489 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5490 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5491 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5494 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5496 * ComboBox.cs: Fixes border drawing
5498 2005-10-10 Miguel de Icaza <miguel@novell.com>
5500 * MimeIcon.cs: Ignore errors if the file can not be read.
5502 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5504 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5505 - Fixed border calculations
5506 - Fixed horizontal scrolling in single column listboxes
5507 - Fixed drawing issues
5509 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5511 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5512 FormBorderStyle enum
5513 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5514 code to determine FormBorderStyles from CreateParams
5516 - Fixed bug where we'd set the wrong window styles if we were
5517 not creating an MDI window
5518 - Added call to XplatUI.SetBorderStyle when form borders are set
5519 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5521 - Removed obsolete edge style
5522 - Switched from BorderStyle to FormBorderStyle
5524 2005-10-10 Jackson Harper <jackson@ximian.com>
5526 * Form.cs: Use the property to get the window handle instead of
5527 accessing it directly. Prevents a null reference exception.
5529 2005-10-10 Jackson Harper <jackson@ximian.com>
5531 * TreeView.cs: Don't adjust the rect given to DrawString now that
5532 our libgdiplus draws correctly.
5534 2005-10-08 Jackson Harper <jackson@ximian.com>
5536 * TreeView.cs: Don't try to find the clicked on node if there are
5537 no nodes in the tree.
5539 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5545 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5547 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5548 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5550 Use ResPool for brushes and dispose System.Drawing objects that
5551 are not used anymore.
5553 2005-10-07 Jackson Harper <jackson@ximian.com>
5555 * MdiChildContext.cs: Use the new borders instead of drawing them
5558 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5560 * Calling UpdateBounds after changing the window's BorderStyle
5561 since the style can change the ClientSize
5563 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5565 * Control.cs: Made PaintControlBackground virtual
5566 * Panel.cs: Overriding PaintControlBackground instead of using paint
5567 event; paint event method was interfering with 'real' users of the
5570 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5572 * ThemeWin32Classic.cs: remove border drawing since it is handled
5573 by the base control class now and was causing double border drawing.
5575 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5577 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5578 but it does seem to match MS behaviour. This fixes bug #75324
5580 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5582 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5583 somewhat hackish looking
5585 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5588 - We now accept Enter even if AcceptEnter is false, if the containing
5589 form does not have an AcceptButton configured (fixes bug #76355)
5590 - Calculations are now fixed to no longer use Width/Height, but
5591 ClientSize.Width/Height, since we now support borders (this was
5592 a result of fixing borders and therefore bug #76166)
5593 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5594 true (fixes bug #76354)
5596 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5599 - Defaulting BorderStyle and setting it in XplatUI when our window
5601 - Added enum check to InternalBorderStyle setter
5603 - Added drawing of window borders
5604 - Now properly calculates WM decorations offset for toplevel
5605 windows (fixes bug #74763)
5607 - Implemented BorderStyles for windows (we're letting win32 draw
5609 - Fixed the signature for SetWindowLong
5610 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5611 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5613 * UpDownBase.cs: Remove drawing of borders, this is handled by
5614 the driver, outside the client area
5615 * ListView.cs: Removed bogus border calculations. The control should
5616 be oblivious to borders, since those are not part of the client
5618 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5619 * ThemeWin32Classic.cs: Removed border calculations from ListView
5622 2005-10-06 Jackson Harper <jackson@ximian.com>
5624 * MdiChildContext.cs: Clear out the old virtual position remove
5625 all the unneeded calls to CreateGraphics.
5627 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5629 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5631 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5634 - Added loading and setting of our new default icon
5635 - Only set icon if window is already created
5637 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5640 - Do not explicitly set the foreground and background colors, to
5641 allow inheriting from parents (fixes #76302)
5642 - Use Control's InternalBorderStyle property to deal with borders
5644 2005-10-06 Jackson Harper <jackson@ximian.com>
5646 * MdiChildContext.cs: Use the new xplatui function to draw a
5649 2005-10-06 Jackson Harper <jackson@ximian.com>
5651 * Form.cs: Add the parent before creating the child context cause
5652 we need the parent when setting up the child.
5654 2005-10-06 Jackson Harper <jackson@ximian.com>
5656 * FolderBrowserDialog.cs: redo the tree population code so a
5657 second thread isn't used. Should be a lot faster and more stable
5660 2005-10-05 Jackson Harper <jackson@ximian.com>
5662 * TreeView.cs: There are no expand/collapse boxes if the node has
5665 2005-10-05 Jackson Harper <jackson@ximian.com>
5667 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5669 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5671 * FileDialog.cs: Fix InitialDirectory
5673 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5676 - Fixes changing between styles
5678 - Fixes last item crashing when navigating with keyboard
5680 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5682 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5684 2005-10-05 Jackson Harper <jackson@ximian.com>
5686 * TreeView.cs: If updating the root node do a full refresh.
5687 * TreeNode.cs: The root node should be expanded by default. Also
5688 added a utility prop to tell if we are the root node.
5689 * TreeNodeCollection.cs: Only refresh if the node we are being
5690 added to is expanded. Also added a comment on a potential
5693 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5695 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5696 in dispose method. Fixes #76330
5698 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5700 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5702 - Implements vertical and horizontal scrolling using XplatUI
5703 - Fixes keyboard navagation
5704 - Fixes EnsureVisible
5706 - Handles and draws focus properly
5709 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5711 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5712 Create handle. NET_2_0: Destroy handle when value is null.
5714 2005-10-03 Jackson Harper <jackson@ximian.com>
5716 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5717 revert and a new patch to prevent the thumb from refreshing so
5720 2005-10-02 Jackson Harper <jackson@ximian.com>
5722 * ScrollBar.cs: Don't update position if it hasn't actually
5723 changed. This occurs when you hold down the increment/decrement
5724 buttons and the thumb gets to the max/min.
5726 2005-10-01 Jackson Harper <jackson@ximian.com>
5729 * MdiChildContext.cs:
5730 * MdiClient.cs: Implement ActiveMdiChild in Form.
5732 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5734 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5736 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5738 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5741 2005-09-30 Jackson Harper <jackson@ximian.com>
5743 * ListBox.cs: Don't do a full refresh unless some data has
5746 2005-09-30 Jackson Harper <jackson@ximian.com>
5748 * TreeView.cs: Make sure that the checkboxes size is factored in
5749 even when not visible.
5751 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5753 * FileDialog.cs: Fix Jordi's build break
5755 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5758 - Use standard the Windows colours for the combobox as espected
5759 - Dispose objects that use resouces when no longer need them
5761 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5763 * X11DesktopColors.cs: Initial incomplete implementation
5764 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5766 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5769 - Switched Theme color names to match the names defined in
5770 System.Drawing.KnownColors. Life's hard enough, no need to make
5772 - Added setters to all theme color properties so themes can set
5773 their color schemes. The setters also propagate the color changes
5774 to System.Drawing.KnownColors via reflection
5775 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5776 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5777 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5778 use the new, more logical theme color names
5779 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5781 * ThemeWin32Classic.cs:
5782 - Removed code to set the old classic Windows colors. Instead it
5783 now relies on the colors returned by System.Drawing.KnownColors
5784 which will be either modern static colors (Unix) or colors
5785 read from the user's configuration (Win32)
5786 - Updated to use the new, more logical theme color names
5787 - Switched DataGrid drawing code to use only Theme colors instead of
5788 a mix of System.Drawing.KnownColors and Theme colors
5789 - DrawFrameControl(): Removed code that fills the button area, the
5790 fill would overwrite any previous fill done by a control. This
5792 - Added DrawReversibleRectangle() stub
5793 * ScrollableControl.cs: Set visible state to false when scrollbars
5794 are removed (pdn fix)
5795 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5796 DrawReversibleRectangle() method to allow drawing primitive
5798 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5800 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5802 * ImageList.cs: Add(Icon): Create handle.
5804 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5807 * ThemeWin32Classic.cs:
5810 - Issues with drawing
5812 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5814 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5815 source has to be the ImageList.
5817 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5819 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5821 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5823 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5825 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5827 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5829 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5830 * GridItem.cs: Fixed TODOs
5831 * GridItemCollection.cs: Added ICollection interface
5833 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5835 * ImageList.cs: Resize icons when needed.
5837 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5840 - Fixes GetBounds and returns on screen rects
5842 - Fixes vertical and horzintal scrolling of items
5843 * ThemeWin32Classic.cs:
5846 2005-09-29 Raja R Harinath <harinath@gmail.com>
5848 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5850 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5852 * ImageList.cs: Added comments about handle creation. Moved Handle,
5853 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5854 Handle is created in Add methods.
5856 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5858 * DataGridDrawingLogic.cs:
5859 - Takes rows into account on Colum calculations
5860 - Returns the column when clickig
5862 - Fixes default HitTestInfo values
5863 - Fixes HitTestInfo.ToString
5864 - Fixes ResetBackColor
5866 2005-09-28 Jackson Harper <jackson@ximian.com>
5868 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5869 sizing or cursor changes). Also added some temp code to draw the
5870 titlebars text (Makes dev a little easier).
5872 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5874 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5876 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5878 * ListBox.cs: Fixes bug 76253
5880 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5882 * ImageList.cs: Added comments about the current implementation. Added
5883 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5884 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5885 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5886 with Bitmap.LockBits for better performance. Revised the whole file to
5887 match MS.NET behaviour and provide better performance. Non-public
5888 interface members are calling public members even when they throw
5889 NotSupportedException for better maintainability. Moved ColorDepth,
5890 ImageSize, ImageStream and TransparentColor implementations to
5891 ImageCollection for better performance as these properties are not used
5893 * ImageListStreamer.cs: Added a new internal constructor that takes an
5894 ImageList.ImageCollection and serializes Images based on
5895 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5896 match ImageList property name.
5898 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5900 * ListBox.cs: Fixes IndexFromPoint for last item
5902 2005-09-27 Jackson Harper <jackson@ximian.com>
5904 * Form.cs: Set the position of new mdi children correctly.
5906 2005-09-27 Jackson Harper <jackson@ximian.com>
5908 * MdiClient.cs: New mdi children need to be added to the back of
5909 the controls collection so the zorder is set correctly. Also add a
5910 count of all the child windows that have been created.
5912 2005-09-27 Jackson Harper <jackson@ximian.com>
5914 * Form.cs (CreateParams): Setup MDI forms correctly.
5916 2005-09-27 Jackson Harper <jackson@ximian.com>
5918 * MdiChildContext.cs:
5925 * ScrollableControl.cs:
5926 * ComboBox.cs: Add implicit controls using the new implict control
5927 functionality in ControlCollection. Also try to block multiple
5928 control add in a suspend/resume layout to save some cycles.
5930 2005-09-27 Jackson Harper <jackson@ximian.com>
5932 * Control.cs: Add functionality to the controls collection to add
5933 'implicit controls' these are controls that are created by the
5934 containing control but should not be exposed to the user. Such as
5935 scrollbars in the treeview.
5936 * Form.cs: The list var of the ControlsCollection is no longer
5937 available because of the potential of implicit controls getting
5938 ignored by someone accessing the list directly.
5940 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5942 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5943 loose it's parent. (Fixed bug introduced in r49103 when we added
5944 setting the child parent to null on Remove)
5946 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5948 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5949 * Splitter.cs: Added missing attributes for BorderStyle property.
5950 * TextBoxBase.cs: Marked Calculate* methods internal.
5951 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5954 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5956 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5958 2005-09-25 Jackson Harper <jackson@ximian.com>
5960 * TreeView.cs: Update the node bounds correctly regardless of
5961 whether the node is visible.
5963 2005-09-25 Jackson Harper <jackson@ximian.com>
5965 * ImageList.cs: Don't dispose the image after it is added to the
5966 image list. Only reformat images that need to be resized.
5968 2005-09-25 Jackson Harper <jackson@ximian.com>
5970 * ImageList.cs: Don't set the format when changing the image.
5972 2005-09-25 Jackson Harper <jackson@ximian.com>
5974 * TreeView.cs: We can't just assume the node has a font. Use the
5975 treeviews font if no node font is available.
5977 2005-09-25 Jackson Harper <jackson@ximian.com>
5979 * TreeView.cs: Allow the scrollbars to be reset with negative
5981 - Don't add scrollbars to negative sized windows.
5983 2005-09-23 Jackson Harper <jackson@ximian.com>
5985 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5986 old Mono.Posix. Also remove some stray code that shouldn't have
5989 2005-09-23 Jackson Harper <jackson@ximian.com>
5991 * TreeView.cs: Attempt at proper sizing of the horizontal
5992 scrollbar. Also don't resize the scrollbars unless they are
5995 2005-09-23 Jackson Harper <jackson@ximian.com>
5997 * TreeView.cs: We don't need to expand the invalid area when the
5998 selection changes, as this is all drawn in the node's bounding
5999 box. The area needs to be expanded (previous typo was contracting
6000 it) when the focus rect moves.
6002 2005-09-23 Jackson Harper <jackson@ximian.com>
6004 * TreeView.cs: Display the selection box under the correct
6005 circumstances. We were rendering white text with no selection box
6008 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6010 * TextControl.cs(Split): Now updates selection start/end if it points
6011 into a line that's being split. Fixes a FIXME and bug #75258
6013 2005-09-23 Jackson Harper <jackson@ximian.com>
6016 * ListControl.cs: Don't use the path when retrieving binding
6017 managers from the binding context. My bat sense tells me that the
6018 path is only used on insertion.
6020 2005-09-22 Jackson Harper <jackson@ximian.com>
6022 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6024 2005-09-22 Jackson Harper <jackson@ximian.com>
6026 * Splitter.cs: There are special cursors used for splitting.
6027 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6029 2005-09-22 Jackson Harper <jackson@ximian.com>
6031 * Splitter.cs: Change the cursor appropriately when the splitter
6032 is moused over, so the user actually knows there is a splitter
6035 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6037 * Label.cs : Fix ToString method to give same output as MS.NET
6039 2005-09-22 Jackson Harper <jackson@ximian.com>
6041 * TreeView.cs: Create the scrollbars when the handle is created
6042 and add them right away, just make them invisble. Also account for
6043 the window being shrunk vertically to the point that the vert
6044 scrollbar needs to be added.
6045 - Remove some 0.5 adjustments to get around anti aliasing issues.
6047 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6049 * MainMenu.cs: Fixes default value
6050 * MenuItem.cs: Fixes default value
6052 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6054 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6056 2005-09-21 Jackson Harper <jackson@ximian.com>
6058 * Control.cs: Don't try to set the border style on the window if
6059 it hasn't been created. When the window is created the border
6062 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6064 * Control.cs (Update): Don't call XplatUI if we don't have a
6067 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6069 * ContainerControl.cs: Instead of throwing an exception, print
6070 a one-time warning about Validate not being implemented
6071 * XplatUIWin32.cs: Removed debug output
6073 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6075 * Control.cs: Only set XplatUI background if we expect the windowing
6076 system to handle the background. This stops controls that draw their
6077 own background from flickering
6079 * XplatUIX11.cs: Support custom visuals and colormaps for window
6080 creation. This allows, amongst other things, using MWF X11 windows
6083 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6085 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6086 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6087 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6088 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6089 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6090 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6091 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6092 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6093 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6094 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6095 GridColumnStylesCollection.cs,
6096 IDataGridColumnStyleEditingNotificationService.cs,
6097 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6098 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6099 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6100 TreeNodeCollection.cs, AmbientProperties.cs,
6101 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6102 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6103 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6104 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6105 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6106 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6107 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6108 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6109 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6110 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6111 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6112 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6113 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6114 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6115 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6116 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6117 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6118 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6119 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6120 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6121 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6122 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6123 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6124 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6125 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6126 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6127 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6128 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6129 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6130 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6131 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6132 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6133 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6134 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6135 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6136 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6137 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6139 2005-09-21 Jackson Harper <jackson@ximian.com>
6141 * TreeNode.cs: Call Before/After Expand not Collapse when
6144 2005-09-20 Jackson Harper <jackson@ximian.com>
6146 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6148 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6152 - Fixes proper storing of subitems
6153 - Fixes not updated items
6155 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6157 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6158 things if our window handle isn't created yet. Also disabled
6159 debug for TextBoxBase
6161 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6163 * MenuAPI.cs: Remove filtering of events to allow menu usage
6165 2005-09-20 Miguel de Icaza <miguel@novell.com>
6167 * Cursor.cs: Allow null to be passed to Cursor.Current.
6169 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6171 * ThemeWin32Classic.cs:
6172 - Change some private methods/fields to protected virtual so that
6173 they can be accessed and overriden in derived classes
6174 - First refactoring of some methods. Derived themes now don't
6175 need to duplicate the complete code from ThemeWin32Classic
6177 - Added nice StatusBar
6178 - Derive from ThemeWin32Classic and not Theme
6179 - Removed duplicate ThemeWin32Classic code
6181 2005-09-20 Miguel de Icaza <miguel@novell.com>
6183 * Control.cs (ControlCollection.Add): If the value null is passed
6184 the control is ignored.
6188 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6190 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6191 PostQuitMessage state.
6192 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6194 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6196 * Application.cs: Our constructor will never get called, move
6197 initialization to fields; fixes bug #75933
6199 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6202 - Allow files to be selected properly using file name
6204 - Add ability to change diretory (absolute / relative)
6205 using file name combo box.
6207 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6210 - Fixes Multicolumn listboxes item wrong calculations
6211 - Allows to click when only one item is in the listbox
6212 - Fixes crash when no items using keyboard navigation
6214 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6216 * ComboBox.cs: Reverted almost everything from the latest patch which
6219 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6222 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6224 - When DropDownStyle is Simple, it does not show scrollbar
6225 to the last item of the list.
6226 - When DropDownStyle is Simple, it crashed when the list was
6227 scrolled down with the down cursor key.
6228 - Fixed a bug that when DropDownStyle is DropDownList, the
6229 selected item was not shown.
6230 - The position of the selected item was not preserved when
6231 the next dropdown happened.
6232 * ThemeWin32Classic.cs:
6233 - Items were wrapped at the right end.
6234 * CheckedListBox.cs:
6237 - Items should be fully shown.
6238 - When resizing and vertical scrollbar disappeared, the item
6239 of index 0 should be on the top of the list.
6240 - GetItemRectangle should consider the size of ver. scrollbar
6242 - SizingGrip area should not be allocated when it is not
6244 - Now it reflects MinWidth of the containing panel and
6245 fixed a crash that happens when its width becomes so small.
6247 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6249 * CheckedListBox.cs: Fixes bug 76028
6250 * ListBox.cs: Fixes bug 76028
6252 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6254 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6255 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6257 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6259 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6261 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6263 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6265 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6267 * IRootGridEntry.cs: Added
6268 * PropertyGridCommands.cs: Added
6269 * PropertiesTab.cs: Added missing methods and property
6270 * PropertyGridView.cs: Made class internal
6271 * PropertyGridTextBox.cs: Made class internal
6273 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6275 * MimeIcon.cs: Try to check some other environment variables
6276 if "DESKTOP_SESSION" returns "default"
6278 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6280 * ThemeNice.cs: Corrected background colors (e.g. menus)
6281 * ColorDialog.cs: Use correct background colors for controls
6283 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6285 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6287 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6289 * RichTextBox.cs: Added initial implementation
6290 * lang.cs: Removed. Was accidentally checked in long time ago
6291 * TODO: Removed. Contents were obsolete
6293 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6295 * PropertiesTab.cs : Added
6297 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6299 * PropertyGrid.cs : Update
6300 * PropertyGridView.cs : Update
6301 * System.Windows.Forms.resx : Added images and strings
6303 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6305 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6307 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6309 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6310 a busy loop right after the Ungrab the X11 display is otherwise
6313 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6315 * ThemeWin32Classic.cs: Optimise the use of clipping
6317 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6319 * DataGrid.cs: fixes recursion bug
6321 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6324 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6327 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6329 * ThemeNice.cs: Draw nice ProgressBars
6331 2005-09-01 Miguel de Icaza <miguel@novell.com>
6333 * VScrollBar.cs: Another buglet found by Aaron's tool.
6335 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6338 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6341 - Added nicer menu drawing
6345 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6347 * CreateParams.cs (ToString): Made output match MS
6348 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6349 handle is already created (to avoid forcing window creation)
6350 * XplatUIX11.cs: Set window text to caption after creating window,
6351 in case Text was set before window was created
6352 * Form.cs: Use this.Text instead of a static string as caption
6354 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6356 * NotifyIcon.cs: Don't set the window to visible; this screws
6357 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6358 OnPaint without a bitmap)
6359 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6360 happen very often anyway; we could add the check to the WM_PAINT
6361 event generation code
6363 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6365 * NotifyIcon.cs: Fill the icon area with a background color, to
6366 avoid 'residue' when transparent icons are drawn
6368 - Handle whole_window == client_window when destroying windows
6369 - SystrayAdd(): Set client_window to whole_window value to
6370 get mouse and other events passed to NotifyIcon
6372 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6374 * Form.cs: Set proper default for Opacity property
6376 - ShowSystray(): Don't bother creating telling the OS
6377 about the systray item if no icon is provided
6378 - Now handles WM_NCPAINT message to deal with whole/client window
6380 - Create window as visible to not get caught by Expose optimization
6381 * Hwnd.cs: Removed debug message
6382 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6383 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6384 PaintEventStart/End to use new client argument
6386 - Commented out debug messages
6387 - Switched PaintEventStart/End to use new client argument
6388 * XplatUI.cs: Added client window bool to PaintEventStart()/
6389 PaintEventEnd() calls, to support drawing in non-client areas
6391 - Added client window bool to PaintEventStart()/PaintEventEnd()
6392 calls, to support drawing in non-client areas
6393 - Added conditional compile to allow using MWF BeginInvoke
6396 - Added some conditional debug output
6397 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6398 whole/client window split
6399 - Implemented handling of client argument to PaintEventStart()/End()
6401 - Throw exception if BeginInvoke() is called and the window handle
6402 or one of the window's parent handles is not created
6403 - Added conditional compile to allow using MWF BeginInvoke on
6405 - get_Parent(): Only sets parent if handle is created. This avoids
6406 forcing window handle creation when parent is set.
6407 - Now fires Layout and Parent changed events in proper order
6408 - Switched to use Handle instead of window.Handle for Z-Order setting,
6409 the get_Parent() patch above causes us to possibly get null for 'window'
6410 - Implemented handling of client argument to PaintEventStart()/End()
6411 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6413 - Now sends a Refresh() to all child windows when Refresh() is called
6415 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6417 * Form.cs: Added (non-functional) Opacity property
6418 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6420 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6421 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6422 use export MONO_THEME=nice to activate it.
6423 Currently supported controls:
6427 - TabControl (TabAlignment.Top only, other will follow)
6428 * ThemeEngine.cs: Add theme nice
6429 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6432 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6434 * Splitter.cs: Resize docked control and its neighbor.
6436 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6437 -- Making Windows with Menus layout correctly --
6438 * Form.cs : The first leg of the fix
6439 Menu setter - adjust Client Size as needed to make space for the menu
6440 SetClientSizeCore - doesn't call base version to be able to pass the
6441 menu handle to XplatUI.CalculateWindowRect
6442 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6443 * XplatUIX11.cs: The critical second leg of the fix
6444 GetWindowPos needs to use a recalculated client_rect
6445 so that resizing the window doesn't break layout of child controls.
6446 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6449 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6451 * Label.cs: Now properly recalculates width and height on Font and Text
6452 changes if AutoSize is set
6454 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6455 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6457 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6459 * ImageList.cs: Makes ToString method compatible with MS
6461 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6463 * MenuAPI.cs: fixes bug 75716
6465 2005-08-11 Umadevi S <sumadevi@novell.com>
6466 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6468 2005-08-11 Umadevi S <sumadevi@novell.com>
6469 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6471 2005-08-10 Umadevi S <sumadevi@novell.com>
6472 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6474 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6476 * Menu.cs: fixes bug 75700
6477 * MenuAPI.cs: fixes navigation issues
6479 2005-08-09 Umadevi S <sumadevi@novell.com>
6480 * CheckedListBox.cs - simple fix for GetItemChecked.
6482 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6484 * ComboBox.cs: Serveral fixes
6485 * ListBox.cs: Serveral fixes
6487 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6489 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6490 * ListBox.cs: Fixes FindString methods
6492 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6494 * DataGrid.cs: fixes bugs exposed by new tests
6496 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6498 * Mime.cs: Compile Mono assembly references only if compiling
6499 with Mono (Allows to build with VS.Net again)
6501 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6503 * Control.cs (PaintControlBackground): Draw background image
6505 (CheckForIllegalCrossThreadCalls): Stubbed.
6507 * Form.cs (OnCreateControl): Center when should be centered.
6509 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6511 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6513 * Binding.cs: Binding to properties should be case unsensitive
6515 2005-07-18 vlindos@nucleusys.com
6517 * DataGrid.cs: fixes setmember order
6519 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6521 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6522 * FileDialog.cs: FileDialog is now resizable and uses the new
6525 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6527 * DataGridTextBoxColumn.cs: default value
6528 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6529 * GridTableStylesCollection.cs: fixes checking MappingName
6530 * DataGridDrawingLogic.cs: fixes drawing logic issues
6531 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6532 * DataGrid.cs: fixes
6534 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6536 * MimeGenerated.cs: Use case sensitive comparer for
6537 NameValueCollections
6539 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6541 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6542 * ThemeWin32Classic.cs: bug fixes, code refactoring
6543 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6544 * DataGrid.cs: bug fixes, code refactoring
6545 * DataGridTextBox.cs: bug fixes, code refactoring
6546 * DataGridColumnStyle.cs: bug fixes, code refactoring
6547 * Theme.cs: bug fixes, code refactoring
6549 2005-07-01 Peter Bartok <pbartok@novell.com>
6551 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6552 and other text box usage
6554 2005-07-01 Jackson Harper <jackson@ximian.com>
6556 * TabControl.cs: Make sure the bottom of the tab covers the pages
6559 2005-06-30 Peter Bartok <pbartok@novell.com>
6561 * Form.cs (ShowDialog): Assign owner of the dialog
6562 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6563 might have been moved to a tag with different height
6565 2005-06-30 Jackson Harper <jackson@ximian.com>
6567 * Form.cs: Don't create an infinite loop when setting focus
6568 * MenuItem.cs: Don't dirty the parents if we don't have any
6570 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6572 * LibSupport.cs: Rename
6574 2005-06-29 Peter Bartok <pbartok@novell.com>
6576 * TextBoxBase.cs: Re-align caret after deleting a character
6578 - DeleteChars(): Ensure that tag covers the provided position
6579 - StreamLine(): Drop reference for dropped tag
6581 2005-06-29 Peter Bartok <pbartok@novell.com>
6584 - Selections now work properly, anchoring at the initial location
6585 and properly extending in either direction (SetSelectionToCaret(),
6586 SetSelectionStart() and SetSelectionEnd())
6587 - No longer redraws the whole control on selection change, now
6588 calculates delta between previous and new selection and only
6589 invalidates/redraws that area
6590 - Fixed FindPos() math off-by-one errors
6591 - Changed DeleteChars() to verify the provided tag covers the
6592 provided position, selections may have a tag that doesn't cover
6593 the position if the selection is at a tag border
6594 - Fixed off-by-one errors in DeleteChars()
6595 - Added missing streamlining check in DeleteChars() to remove
6597 - Implemented Invalidate() method, now properly calculates exposures
6598 between two given lines/positions
6599 - Implemented SetSelection()
6600 - Obsoleted and removed FixupSelection()
6601 - Improved RecalculateDocument() logic, removing code duplication
6603 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6605 * LibSupport.cs: changes to match different input/output arguments.
6607 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6609 * LibSupport.cs: added libsupport.so init routine.
6611 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6613 * ControlBindingsCollection.cs
6614 - Throws an exception on null datasource when adding
6615 - Checks for duplicated bindings when adding
6617 2005-06-28 Jackson Harper <jackson@ximian.com>
6619 * TreeView.cs (OnKeyDown): Support left and right properly
6620 (navigates as well as expanding and collapsing.
6621 - Add support for Multiply, this expands all the selected nodes
6625 2005-06-28 Jackson Harper <jackson@ximian.com>
6627 * TreeView.cs: Implement keyboard navigation, currently supports,
6628 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6629 support for toggling checkboxes with the space bar.
6631 2005-06-28 Jackson Harper <jackson@ximian.com>
6633 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6636 2005-06-28 Jackson Harper <jackson@ximian.com>
6638 * TreeView.cs: Add missing event.
6640 2005-06-27 Peter Bartok <pbartok@novell.com>
6643 - Made line ending size configurable (now allows for counting
6644 lineendings as \n or \r\n)
6645 - Added margin to viewport to keep caret visible on right side
6646 - Fixed translation routines for line/pos to documentpos to consider
6647 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6648 - Fixed some line-endings to be unix style
6649 - Fixed Document.FormatText to perform it's calculations 1-based
6650 - Added descriptions for a few methods that might otherwise get
6652 - Added NOTE section with some basic conventions to remember at
6654 - Major fixup for RichTextBox selection drawing:
6655 * Fixed crashes when multiple tags on a single line were selected
6656 * fixed selection box drawing not overlaying text
6657 * fixed bogus offset calculation for tags not starting at index 1
6658 * Switched behaviour from using multiple Substrings of a
6659 StringBuilder.ToString() to using multiple
6660 StringBuilder.ToString(start, length) statements, hoping this is
6661 faster (kept original version commented out in the code, in case
6662 original version was faster)
6663 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6665 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6668 2005-06-27 Jackson Harper <jackson@ximian.com>
6670 * TabControl.cs: Move to the left and right with the arrow
6671 keys. These keys don't cycle beyond first and last like
6672 tab. Refresh all the tabs when scrolling them to the left or
6675 2005-06-27 Jackson Harper <jackson@ximian.com>
6678 - ToString: Added method
6679 - CreateParams: Remove TODO and comment
6680 - OnKeyDown: Cycle through bounds properly.
6681 - SelectedIndex: Scroll to the right or left if we need to
6682 display the newly selected tab.
6684 2005-06-23 Jackson Harper <jackson@ximian.com>
6686 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6689 2005-06-23 Jackson Harper <jackson@ximian.com>
6691 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6692 CTRL-SHIFT-TAB, and HOME, END are there any others?
6694 2005-06-23 Jackson Harper <jackson@ximian.com>
6696 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6698 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6700 * DataGridTextBoxColumn.cs: fixes and enhancements
6701 * ThemeWin32Classic.cs: fixes and enhancements
6702 * DataGridBoolColumn.cs: fixes and enhancements
6703 * DataGridDrawingLogic.cs: fixes and enhancements
6704 * CurrencyManager.cs: fixes and enhancements
6705 * DataGrid.cs: fixes and enhancements
6706 * DataGridColumnStyle.cs: fixes and enhancements
6708 2005-06-22 Jackson Harper <jackson@ximian.com>
6710 * TabControl.cs: Add some missing methods that just call into the
6711 base. Make the TabPageCollection's IList interface behave in the
6712 same manner as the MS implementation.
6714 2005-06-22 Peter Bartok <pbartok@novell.com>
6716 * TextControl.cs: Added sanity check
6718 - Fixed wrapping behaviour, don't set wrap on single line controls
6719 (this fixes the breakage of colordialog introduced in an earlier
6721 - Added rudimentary support for autoscrolling right-aligned controls
6722 (still needs fixing, also, center alignment scroll is missing)
6724 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6726 * ScrollBar.cs: Fixes thumbpos on Maximum values
6728 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6730 * PropertyGridView.cs: Pass context information to UITypeEditors
6732 2005-06-21 Peter Bartok <pbartok@novell.com>
6735 - Now calling PositionCaret with absolute space coordinates
6736 - Enabled vertical scrolling
6737 - Better tracking of scrollbar changes, tied into WidthChange
6739 - Improved cursor tracking
6740 - Removed debug output
6742 - PositionCaret coordinates are now works in absolute space, not
6744 - Improved tracking of document size
6745 - Added events for width and height changes
6747 2005-06-21 Peter Bartok <pbartok@novell.com>
6749 * Form.cs: Set focus to active control when form is activated
6751 - Added word-wrap functionality to RecalculateLine()
6752 - Added some short function descriptions for VS.Net to aid in
6753 writing dependent controls
6754 - Added Caret property, returning the current coords of the caret
6755 - Added ViewPortWidth and ViewPortHeight properties
6756 - Added Wrap property
6757 - Added CaretMoved event
6758 - Removed some old debug code
6759 - Split() can now create soft splits
6760 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6761 - Added method to format existing text
6762 - Fixed size/alignment calculations to use viewport
6763 - RecalculateDocument now can handle changing line-numbers while
6767 - Added some wrap logic, we don't wrap if alignment is not left
6768 - Added casts for scrollbar var, base class switched types to
6769 also support RichTextBoxA
6770 - Implemented handling of scrollbar visibility flags
6773 - Switched scrollbars type to RichTextBoxScrollBars to support
6775 - Added tracking of canvas width/height
6776 - Switched scrollbars to be not selectable (to keep focus on text)
6777 - Added central CalculateDocument() method to handle all redraw
6779 - Added ReadOnly support
6780 - Added WordWrap support
6781 - Fixed handling of Enter key (we now treat it as a DialogKey)
6782 - Fixed caret positioning when h or v scroll is not zero
6783 - Fixed placing/generation of vertical scrollbar
6784 - Added CalculateScrollBars() method to allow updating scrollbar
6785 limits and visibility
6786 - Fixed handling of horizontal scroll
6787 - Added handling of vertical scroll
6788 - Implemented auto-'jump' when caret moves to close to a left or
6789 right border and there is text to be scrolled into view (currently
6790 there's the potential for a stack overflow, until a bug in
6793 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6795 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6797 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6801 - return application/x-zerosize for files with size zero
6802 (if no extension pattern matches).
6803 - check matches collection for strings too.
6804 - return only the first mime type if the name value
6805 collection has more than one mime type.
6807 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6809 * PropertyGrid.cs: Cleaned up some TODOs
6810 * PropertyGridView.cs: Added support for UITypeEditors
6812 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6814 * DataGrid.cs: clears cached value
6816 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6818 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6819 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6820 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6821 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6823 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6825 * ThemeWin32Classic.cs: fixes colour
6827 2005-06-15 Peter Bartok <pbartok@novell.com>
6829 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6830 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6831 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6832 * Control.cs: Added some MWFCategory and MWFDescription attributes
6833 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6835 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6837 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6840 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6842 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6843 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6844 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6845 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6846 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6847 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6849 2005-06-13 Jackson Harper <jackson@ximian.com>
6851 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6852 isn't printed when the user enables dropping. (X11 does accept
6855 2005-06-13 Jackson Harper <jackson@ximian.com>
6857 * TreeView.cs: Remove some TODOS.
6859 2005-06-13 Jackson Harper <jackson@ximian.com>
6861 * Form.cs: Hook into the mdi framework.
6862 * MdiClient.cs: Use the base control collections add method so
6863 parents get setup correctly. Set the default back colour and dock
6865 * MdiChildContext.cs: New class, this bad actor handles an
6866 instance of an MDI window. Right now there is only basic
6867 support. You can drag, close, and resize windows. Minimize and
6868 Maximize are partially implemented.
6870 2005-06-13 Jackson Harper <jackson@ximian.com>
6872 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6873 freaky when both vals are negative. NOTE: There are probably other
6874 places in XplatUIX11 that this needs to be done.
6876 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6878 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6879 * DataGridColumnStyle.cs: fixes signature
6881 2005-06-12 Jackson Harper <jackson@ximian.com>
6883 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6886 2005-06-11 Jackson Harper <jackson@ximian.com>
6888 * StatusBarPanel.cs: Signature cleanups. Implement
6891 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6893 * DataGridTextBoxColumn.cs: Honors aligment
6894 * GridColumnStylesCollection.cs: Contains is case unsensitive
6895 * GridTableStylesCollection.cs: several fixes
6896 * DataGridTableStyle.cs: default column creation
6897 * DataGridDrawingLogic.cs: fixes
6898 * CurrencyManager.cs: ListName property
6899 * DataGrid.cs: multiple styles support
6900 * DataGridColumnStyle.cs: fixes
6903 2005-06-10 Peter Bartok <pbartok@novell.com>
6905 * Control.cs(Select): Moved SetFocus call to avoid potential
6906 loops if controls change the active control when getting focus
6907 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6910 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6912 * ImageListConverter.cs: Implemented
6914 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6916 * MonthCalendar.cs: Wired in NumericUpDown control for year
6918 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6920 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6921 DoubleClick events, since they are not meant to be fired.
6923 2005-06-09 Peter Bartok <pbartok@novell.com>
6925 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6926 Jonathan's standalone controls into MWF, implemented missing
6927 events, attributes and methods; added xxxAccessible classes
6928 * AccessibleObject.cs: Made fields internal so other classes
6929 can change them if needed
6931 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6933 * UpDownBase.cs: Complete implementation
6934 * NumericUpDown.cs: Complete implementation
6935 * DomainUpDown.cs: Complete implementation
6937 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6939 * DataGridTextBoxColumn.cs: drawing fixes
6940 * DataGridCell.cs: fixes ToString method to match MSNet
6941 * DataGridTableStyle.cs: fixes
6942 * DataGridBoolColumn.cs: fixes, drawing
6943 * DataGridDrawingLogic.cs: fixes, new methods
6944 * DataGridTextBox.cs: Keyboard and fixes
6946 - Keyboard navigation
6948 - Row selection (single, multiple, deletion, etc)
6951 2005-06-07 Jackson Harper <jackson@ximian.com>
6953 * ThemeWin32Classic.cs: Clear the background area when drawing
6956 2005-06-06 Peter Bartok <pbartok@novell.com>
6958 * ImageListStreamer.cs: Fixed signature for GetData
6959 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6961 - Added missing ChildAccessibleObject class
6962 - Added missing OnXXXFocus overrides, switched to using those
6963 instead of the event handler
6965 - Added Parent property for ControlAccessibleObject
6968 - Added ResetBindings()
6969 * ListBindingConverter.cs: Implemented some methods
6970 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6971 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6972 * ContainerControl.cs: Fixed signature, now subscribing to the
6973 ControlRemoved event instead of overriding the handler, LAMESPEC
6974 * CurrencyManager.cs: Added missing attribute
6975 * MonthCalendar.cs: Added missing properties
6977 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6979 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6981 2005-06-06 Gaurav Vaish and Ankit Jain
6983 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6984 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6986 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6988 * Control.cs: fixes CreateParams Width / Height.
6990 2005-06-05 Peter Bartok <pbartok@novell.com>
6992 * Win32DnD.cs: Removed compilation warnings
6994 2005-06-05 Peter Bartok <pbartok@novell.com>
6996 * Control.cs (CreateParams): Since we don't know if one of the
6997 properties we use is overridden, lets make sure if we fail accessing
6998 we continue with a backup plan
7000 2005-06-05 Peter Bartok <pbartok@novell.com>
7003 - Removed debug output
7004 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7006 - Plugged resource leak
7007 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7010 2005-06-05 Peter Bartok <pbartok@novell.com>
7012 * XplatUIWin32.cs: Removed DnD code
7013 * Win32DnD.cs: Implemented drop source and drop target functionality
7015 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7017 * UpDownBase.cs: remove duplicate addition of event, enable some code
7018 that was commented out.
7019 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7020 Validate input when a key is pressed. It works fine now for every
7021 combination of Hexadecimal. Only missing some drawing love when sharing
7022 space with other controls.
7024 2005-06-04 Peter Bartok <pbartok@novell.com>
7027 - We need to pass a window for DragDrop, so enable callback events
7028 - Added DnD callback events when being a DragSource
7029 * XplatUI.cs (StartDrag): Added window handle argument
7030 * XplatUIDriver.cs (StartDrag): Added window handle argument
7031 * QueryContinueDragEventArgs: Made fields internally accessible so
7032 drivers can set them
7033 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7036 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7038 * DataGridTextBoxColumn.cs: column text editing
7039 * DataGridTableStyle.cs: Respect columns styles created by the user
7040 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7041 * DataGridBoolColumn.cs: bool column editing
7042 * DataGrid.cs: fixes to scrolling, properties, etc
7043 * DataGridTextBox.cs: handle keyboard
7044 * DataGridColumnStyle.cs: fixes
7046 2005-06-02 Jackson Harper <jackson@ximian.com>
7048 * ImageListStreamer.cs: Somewhat broken implementation of
7049 GetObjectData. The RLE needs some work to match MS properly.
7051 2005-06-02 Jackson Harper <jackson@ximian.com>
7053 * X11Dnd.cs: Attempting to keep at least one file in MWF
7056 2005-06-02 Peter Bartok <pbartok@novell.com>
7058 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7061 2005-06-02 Peter Bartok <pbartok@novell.com>
7063 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7064 * XplatUI.cs: Added DoDragDrop() method
7065 * XplatUIDriver.cs: Added DoDragDrop() method
7067 2005-06-02 Jackson Harper <jackson@ximian.com>
7069 * Splitter.cs: Implement BorderStyle.
7071 2005-06-02 Jackson Harper <jackson@ximian.com>
7073 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7074 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7077 2005-06-02 Peter Bartok <pbartok@novell.com>
7081 - Fixed broken insertion code for SetData, now also
7082 overwrites any existing entry of the same format name
7083 * Hwnd.cs: Added list of pointers that automatically gets
7084 freed when the window is disposed
7085 * XplatUI.cs: Call driver initialization method when loading
7088 - OnDragLeave takes EventArgs, not DragEventArgs
7089 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7091 - Forces style update when drop state changes
7092 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7093 not perfect since we cannot (yet) call the IDataObject.GetData()
7094 method, we keep getting 0x80004005 error, dunno why)
7096 2005-06-02 Peter Bartok <pbartok@novell.com>
7098 * DragEventArgs.cs: Make fields internal so we can cache the
7099 object and re-set the fields from XplatUI
7101 2005-06-02 Jackson Harper <jackson@ximian.com>
7103 * Control.cs: Add some internal methods so the DnD subsystem can
7104 raise DnD events. Also call into the driver when AllowDrop is set.
7106 * XplatUIDriver.cs: New method for setting whether or not a window
7107 is allowed to accept drag and drop messages.
7109 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7111 * ScrollBar.cs: Make sure that values sent in Scroll events
7112 are always between Maximum and Minimum.
7114 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7116 * Menu.cs: Call MenuChanged when menuitem visibility has been
7118 * MenuItem.cs: Rebuild menu when item is (not) visible.
7119 * MainMenu.cs: MainMenu has special MenuChanged.
7120 * Theme.cs: Caption and FrameBorderSize are not fixed.
7121 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7122 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7124 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7125 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7127 2005-05-30 Jackson Harper <jackson@ximian.com>
7129 * DataFormat.cs: We can't statically initialize this stuff because
7130 it calls into the xplatui and could create a loop. So we lazy init
7133 2005-05-28 Jackson Harper <jackson@ximian.com>
7135 * Control.cs: Proper implementation of Product(Name/Version).
7137 2005-05-27 Jackson Harper <jackson@ximian.com>
7139 * DataObject.cs: Dont crash if no data is found.
7141 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7142 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7143 as per status page, guessing it should be set to true
7145 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7147 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7148 * DataGridTableStyle.cs: set proper formatting text, def header text
7149 * ThemeWin32Classic.cs: new themable paramaters
7150 * DataGridBoolColumn.cs: paint check box, get data, fixes
7151 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7152 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7153 * DataGridColumnStyle.cs: fixes
7154 * Theme.cs: new themable paramaters
7156 2005-05-26 Peter Bartok <pbartok@novell.com>
7158 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7160 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7161 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7163 2005-05-24 Peter Bartok <pbartok@novell.com>
7165 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7166 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7167 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7168 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7169 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7170 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7171 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7172 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7173 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7174 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7175 missing attributes, etc
7176 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7178 2005-05-24 Peter Bartok <pbartok@novell.com>
7180 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7181 when user tries to get help
7182 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7183 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7184 to suppress warnings
7185 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7186 avoid unreachable code warning
7188 2005-05-20 Peter Bartok <pbartok@novell.com>
7190 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7192 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7194 * DataGridTextBoxColumn.cs: Basic painting methods
7195 * DataGridTableStyle.cs: Set table style in the column
7196 * ThemeWin32Classic.cs: Use Theme for colors
7197 * DataGridDrawingLogic.cs: Implement more drawing
7198 * DataGrid.cs: drawing, theming, enhacements, fixes
7199 * DataGridColumnStyle.cs: fixes, drawing
7200 * Theme.cs: theming for Datagrid
7202 2005-05-20 Peter Bartok <pbartok@novell.com>
7204 * Cursor.cs: Implemented GetObjectData() method
7206 2005-05-20 Peter Bartok <pbartok@novell.com>
7208 * Cursors.cs: Added setting of cursor name
7210 - Implemented constructors
7211 - Implemented Draw and DrawStretched
7212 - Implemented Current property
7213 - Implemented == and != operators
7214 - Implemented Dispose()
7215 - Implemented ToString
7216 - Added missing attributes
7218 - Added missing reset for OverrideCursor when DoEvents is called
7219 - Fixed creation of cursor, logic was wrong
7221 - Added missing reset for OverrideCursor when DoEvents is called
7222 - Fixed creation of cursor, bit arrays were swapped
7223 * Clipboard.cs: Removed obsolete MonoTODO attribute
7225 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7227 * ComboBox.cs: fixes OnSelectedItemChanged
7228 * ControlBindingsCollection.cs: fixes item range check
7230 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7233 - Calc preferred height properly
7234 - Implement missing properties
7236 * NumericUpDown.cs: Implement missing events
7238 2005-05-19 Jackson Harper <jackson@ximian.com>
7240 * TabControl.cs: New method that resizes the tab pages before
7241 redrawing them. This as needed as the control is double buffered
7242 and sizing will not be recalculated unless ResizeTabPages is
7244 * TabPage.cs: Set base.Text instead of Text in the constructor so
7245 that UpdateOwner does not get called. Use the new Redraw method of
7246 TabControl instead of Refresh so the sizing is recalculated.
7247 * ThemeWin32Classic.cs: Draw the text for button tabs.
7249 2005-05-19 Jackson Harper <jackson@ximian.com>
7251 * Control.cs: Paint control background images. Fix typo where
7252 PaintControlBackground was not getting called correctly.
7254 2005-05-19 Peter Bartok <pbartok@novell.com>
7256 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7257 I can investigate, apparently I broke FileDialog
7259 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7261 * AxHost.cs: Some simple properties.
7262 * Control.cs: window must be accessible after ctor.
7263 * Form.cs: Added TransparencyKey property.
7264 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7265 * XplatUIWin32.cs: SetBorderStyle implemented.
7267 2005-05-18 Peter Bartok <pbartok@novell.com>
7269 * DataObject.cs: Entries are not global but particular to the
7270 DataObject, now it behaves that way
7271 * XplatUIWin32.cs: Implemented Clipboard methods
7272 * Clipboard.cs: Implemented
7273 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7274 * XplatUIOSX.cs: Updated to final clipboard prototypes
7275 * XplatUIX11.cs: Implemented Clipboard methods
7276 * XplatUIDriver.cs: Updated to final clipboard prototypes
7277 * XplatUIStructs.cs:
7278 - Added BITMAPINFOHEADER struct
7279 - Added ClipboardFormats enum
7281 - Added ClipboardStruct
7282 - Added Atom enum items for clipboard types
7283 - Fixed atom types for Selection event structures
7285 - Added internal properties and methods for drivers to enumerate
7287 - Switched initialization method to allow drivers to assign their
7288 own IDs even for the MS predefined clipboard IDs
7289 * XplatUI.cs: Updated to final clipboard interface
7291 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7292 * PropertyGridView.cs: Fixed compiler warnings.
7294 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7295 * PropertyGrid.cs: Added some event calls
7296 * PropertyGridView.cs: Change drawing code to use double buffering
7297 * PropertyGridTextBox.cs: Changed Text property name
7298 * GridItem.cs: Added Bounds property.
7299 * GridEntry.cs: Added Bounds property.
7301 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7303 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7304 since GetType() may not return the correct type if the object is
7307 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7309 * TreeNodeCollection.cs: fixes get/set item ranges
7311 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7313 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7315 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7317 * ComboBox.cs: Fix item range comparation
7318 * ListView.cs: Fix item range comparation
7320 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7323 - Clear example panel when OnPaint is called
7324 - Better solution for displaying the example panel text
7325 - Select default indexes in the ListBoxes
7327 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7329 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7331 2005-05-11 Peter Bartok <pbartok@novell.com>
7333 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7334 * SelectionRangeConverter.cs: Implemented
7335 * PropertyGrid.cs: Fixed attribute value
7337 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7338 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7339 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7340 that's common to all drivers. First methods to go there are
7341 Sebastien Pouliot's CAS Stack Propagation helper methods
7342 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7343 Sebastien Pouliot for CAS Stack Propagation
7345 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7348 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7350 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7352 * DataGridTextBoxColumn.cs: fixed some members
7353 * GridColumnStylesCollection.cs: indexed column is case insensitive
7354 * DataGridTableStyle.cs: fixes
7355 * ThemeWin32Classic.cs: add new theme parameter
7356 * Theme.cs: add new theme parameter
7357 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7358 * DataGrid.cs: fixes, new internal properties, etc.
7359 * DataGridColumnStyle.cs: allows to set grid value
7362 2005-05-10 Peter Bartok <pbartok@novell.com>
7364 * AccessibleObject.cs:
7365 - Removed MonoTODO attribute on help, method is correct
7366 - Fixed Bounds property
7367 * AxHost.cs: Moved MonoTODO
7368 * ButtonBase.cs: Now setting AccessibleObject properties
7369 * RadioButton.cs: Setting proper AccessibleObject role
7370 * CheckBox.cs: Setting proper AccessibleObject role
7371 * ControlBindingsCollection.cs: Added properties, methods and attributes
7372 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7373 userdefined DataFormats.Format items as well
7374 * ListControl.cs: Removed data_member from the public eye
7375 * OpenFileDialog.cs:
7377 - Added missing attributes
7378 * SaveFileDialog.cs: Added missing attributes
7379 * ImageListStreamer.cs: Fixed code that caused warnings
7380 * LinkLabel.cs: Removed unreachable code
7381 * TreeView.cs: Fixed code that caused warnings
7382 * PropertyGridView.cs: Fixed code that caused warnings
7383 * GridColumnStylesCollection.cs: Added missing attributes
7384 * GridTableStylesCollection: Added missing attribute
7385 * PropertyManager: Added .ctor
7386 * SecurityIDType: Added
7387 * DataObject.cs: Implemented class
7388 * LinkArea.cs: Added missing attribute
7390 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7392 * RadioButton.cs: call base method to allow to fire OnClick event
7393 * UpDownBase.cs: OnMouseUp call base method
7394 * CheckedListBox.cs: call base method before returning
7395 * TrackBar.cs: call base method before returning
7398 2005-05-10 Peter Bartok <pbartok@novell.com>
7400 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7403 2005-05-10 Peter Bartok <pbartok@novell.com>
7405 * DataFormats.cs: Implemented
7406 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7407 XplatUIX11.cs: Added Clipboard APIs
7408 * XplatUIWin32.cs: Implemented Clipboard APIs
7409 * FolderBrowserDialog.cs: Added missing event, attributes
7411 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7413 * CheckBox.cs: call base method to allow to fire OnClick event
7415 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7417 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7419 2005-05-06 Peter Bartok <pbartok@novell.com>
7421 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7422 * Screen.cs: Implemented
7423 * HelpNavigator.cs: Added
7424 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7426 * HelpProvider.cs: Implemented all we can do until we have a CHM
7427 help library (which means that "What's This" does work now)
7429 2005-05-06 Jackson Harper <jackson@ximian.com>
7431 * XplatUIX11.cs: Fix waking up the main loop.
7433 2005-05-05 Peter Bartok <pbartok@novell.com>
7435 * XplatUI.cs: Updated revision
7436 * Form.cs: Removed enless loop
7437 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7438 * Label.cs (OnPaint): Added call to base.OnPaint()
7439 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7440 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7441 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7443 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7444 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7445 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7446 reuse of ToolTipWindow by other controls
7447 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7448 * XplatUIX11.cs: Now clipping drawing area (experimental)
7449 * PictureBox.cs: Moved base.OnPaint() call to end of method
7450 * Theme.cs: Fixed ToolTip abstracts to match new format
7451 * ErrorProvider.cs: Implemented
7453 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7455 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7459 - Implements LinkBehavior
7462 2005-05-03 Jackson Harper <jackson@ximian.com>
7464 * ListView.cs: Calculate the scrollbar positioning on resize and
7465 paint, so they get put in the correct place.
7467 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7469 * ColorDialogs.cs: The small color panels are now handled by
7470 SmallColorControl. This fixes drawing of the focus rectangle
7471 and adds a 3D border.
7473 2005-05-03 Peter Bartok <pbartok@novell.com>
7475 * Control.cs: Modified version of Jonathan Chamber's fix for
7478 2005-05-03 Jackson Harper <jackson@ximian.com>
7480 * ListView.cs: Remove redraw variable. Control now handles whether
7481 or not a redraw needs to be done, and will only raise the paint
7482 event if redrawing is needed.
7484 2005-05-03 Jackson Harper <jackson@ximian.com>
7486 * Splitter.cs: No decorations for the splitter form. Cache the
7489 2005-05-03 Jackson Harper <jackson@ximian.com>
7491 * TreeView.cs: Use dashed lines to connect nodes. Use the
7492 ControlPaint method for drawing the focus rect instead of doing
7495 2005-05-02 Peter Bartok <pbartok@novell.com>
7497 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7499 2005-04-29 Jackson Harper <jackson@ximian.com>
7501 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7502 entire image buffer. Just clear the clipping rectangle.
7504 2005-04-29 Jackson Harper <jackson@ximian.com>
7506 * ThemeWin32Classic.cs: Don't draw list view items that are
7507 outside the clipping rectangle.
7509 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7511 * ListBox.cs: added horizontal item scroll
7513 2005-04-29 Jackson Harper <jackson@ximian.com>
7515 * ThemeWin32Classic.cs: Remove some old debug code that was
7516 causing flicker with the new double buffering code.
7518 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7520 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7521 behave like combobox and comboboxlist (still not sure if this is
7524 2005-04-28 Jackson Harper <jackson@ximian.com>
7526 * ThemeWin32Classic.cs: Don't fill the middle of progress
7527 bars. This fills areas outside of the clip bounds that don't need
7530 2005-04-28 Jackson Harper <jackson@ximian.com>
7532 * Control.cs: Don't expose functionality to touch the image buffers.
7534 * ListView.cs: We do not need to (and no longer can) manipulate
7535 the image buffers directly. All of this is handled by Control.
7537 2005-04-28 Peter Bartok <pbartok@novell.com>
7539 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7540 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7541 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7543 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7546 - Adjust control's height for non-simple comboboxes (bug fix)
7548 * MenuAPI.cs: remove unused var
7549 * ScrollBar.cs: remove unsed var
7551 * ListBox.cs: unselect items when clearing
7553 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7555 * ListControl.cs: honors OnPositionChanged and default Selected Item
7556 * ListBox.cs: unselect items when clearing
7558 2005-04-27 Jackson Harper <jackson@ximian.com>
7560 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7561 if a "correct" keyboard is not found. This will make us not crash,
7562 but might give some users bad keyboard layouts...seems to be the
7563 same thing rewind does.
7565 2005-04-27 Jackson Harper <jackson@ximian.com>
7567 * BindingManagerBase.cs: Attach the current/position changed
7568 handlers to their respective events.
7570 2005-04-27 Jackson Harper <jackson@ximian.com>
7572 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7574 * ThemeWin32Classic.cs: Don't fill the background for picture
7575 boxes. This could overright user drawing.
7576 * ComboBox.cs: Just fill the clipping rect not the entire client
7577 rect when drawing the background. This prevents pieces of the
7578 image buffer from getting overwritten and is theoretically faster.
7580 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7582 * ComboBox.cs: Databinding support fixes, fire missing events
7583 * ListControl.cs: implement missing methods and properties, fixes
7584 * ThemeWin32Classic.cs: Databiding support on Drawing
7585 * CheckedListBox.cs: Databinding support fixes, fire missing events
7586 * ListBox.cs: Databinding support fixes, fire missing events
7588 2005-04-25 Peter Bartok <pbartok@novell.com>
7590 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7592 2005-04-25 Jackson Harper <jackson@ximian.com>
7594 * TreeView.cs: Use the horizontal scrollbars height not width when
7595 determining how much of the client area is available.
7597 2005-04-25 Jackson Harper <jackson@ximian.com>
7599 * Control.cs: Double buffering is handled differently now. As per
7600 the spec, the extra buffer is created in the WM_PAINT message and
7601 passed down to the control's drawing code.
7609 * PropertyGridView.cs:
7621 * DateTimePicker.cs:
7623 * TreeView.cs: Update to new double buffering system.
7624 * MonthCalendar.cs: Uncomment block, as Capture is now
7625 working. Update to new double buffering
7626 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7627 * PaintEventArgs.cs: New internal method allows us to set the
7628 graphics object. This is used for double buffering.
7629 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7630 rectangle. The internal paint_area var has been removed from
7631 StatusBar. The clipping rect should be used instead.
7632 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7633 * TabPage.cs: The RefreshTabs method was removed, so just call the
7634 tab controls Refresh method now.
7635 * TabControl.cs: Update to new double buffering. Make sure the
7636 handle is created before sizing the tab pages, otherwise we will
7637 get stuck in a loop.
7639 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7641 * LinkLabel.cs: Fix typo, bug #74719; patch
7642 from Borja Sanchez Zamorano
7644 2005-04-22 Jackson Harper <jackson@ximian.com>
7646 * TreeNode.cs: Implement Handle stuff.
7647 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7649 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7651 * DataGridTextBoxColumn.cs: call base constructors, fixes
7652 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7653 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7654 * DataGridTableStyle.cs: implements create default column styles
7655 * DataGridBoolColumn.cs: which types can handle
7656 * DataGrid.cs: missing methods, fixes, new functionality
7657 * DataGridColumnStyle.cs: fixes
7659 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7660 * FolderBrowserDialog.cs:
7661 - Use a thread to fill the TreeView
7662 - Adjusted some sizes
7664 2005-04-19 Peter Bartok <pbartok@novell.com>
7666 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7667 property. Fixes #74360.
7669 2005-04-19 Jackson Harper <jackson@ximian.com>
7671 * XEventQueue.cs: Lock when getting the lockqueue size.
7672 * PictureBox.cs: Call base OnPaint
7674 2005-04-19 Peter Bartok <pbartok@novell.com>
7676 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7677 messages were no longer being processed (this broke BeginInvoke)
7680 2005-04-18 Jackson Harper <jackson@ximian.com>
7682 * TreeView.cs: buglet that caused node images to get drawn
7683 regardless of whether or not they were in the clipping rectangle.
7685 2005-04-18 Jackson Harper <jackson@ximian.com>
7687 * CurrencyManager.cs: There are four rules for GetItemProperties:
7688 - If the type is an array use the element type of the array
7689 - If the type is a typed list, use the type
7690 - If the list contains an Item property that is not an object, use
7692 - use the first element of the list if there are any elements in
7695 2005-04-17 Jackson Harper <jackson@ximian.oom>
7697 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7698 click. This handles offsets for scrolling properly and reduces
7699 memory. Also fixed GetNode to not offset now that TopNode works
7701 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7703 2005-04-17 Jackson Harper <jackson@ximian.com>
7705 * CursorConverter.cs: Initial implementation.
7707 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7709 * ListControl.cs: work towards complex data binding support on ListControl
7710 * CurrencyManager.cs: work towards complex data binding support on ListControl
7711 * ListBox.cs: work towards complex data binding support on ListControl
7714 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7716 * GridTableStylesCollection.cs: fixes name and constructor
7717 * DataGridTableStyle.cs: fixes
7718 * DataGridBoolColumn.cs: fixes names and constructors
7719 * DataGrid.cs: define methods and properties. Some init implementations
7720 * DataGridCell.cs: define methods and properties. Some init implementations
7721 * GridTablesFactory.cs: Define methods and properties
7723 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7725 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7726 graphics port changes. We still want the coordinates in global screen
7729 2005-04-14 Jackson Harper <jackson@ximian.com>
7731 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7732 check plus minus or checkbox clicks unless those features are enabled.
7734 2005-04-14 Jackson Harper <jackson@ximian.com>
7736 * TreeView.cs: Add methods for setting the top and bottom visible
7737 nodes. TreeNode::EnsureVisible uses these methods.
7738 * TreeNode.cs: Implement EnsureVisible
7740 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7742 * Form.cs: Pospone menu assignation if the window has not been created yet
7743 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7746 2005-04-12 Jackson Harper <jackson@ximian.com>
7748 * TreeView.cs: Set the TopNode properly when scrolling
7749 occurs. This has the added benifit of reducing the amount of
7750 walking that needs to be done when drawing. Also removed an old
7752 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7754 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7756 * Timer.cs: fixes interval setting when the timer is already enabled
7758 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7760 * FolderBrowserDialog.cs: First approach
7762 2005-04-09 Peter Bartok <pbartok@novell.com>
7764 * FolderBrowserDialog: Added
7766 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7768 * LinkLabel.cs: move drawing code into the theme
7769 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7770 * Theme.cs: define DrawLinkLabel method
7772 2005-04-05 Jackson Harper <jackson@ximian.com>
7774 * BindingContext.cs: Use weak references so these bad actors don't
7775 stay alive longer then they need to.
7777 2005-04-05 Jackson Harper <jackson@ximian.com>
7779 * ListControl.cs: Basic implementation of complex databinding.
7781 * ListBox.cs: Add calls to ListControl databinding methods.
7783 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7786 - Don't change PopupButtonState to Normal when the
7787 PopupButton gets pressed several times.
7788 - Renamed ButtonPanel to PopupButtonPanel
7790 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7792 * ColorDialog.cs: Use cached objects instead of creating them
7793 * LinkLabel.cs: Use cached objects instead of creating them
7794 * Splitter.cs: Use cached objects instead of creating them
7795 * FontDialog.cs: Use cached objects instead of creating them
7796 * PropertyGridView.cs: Use cached objects instead of creating them
7797 * MessageBox.cs: Use cached objects instead of creating them
7798 * FileDialog.cs: Use cached objects instead of creating them
7799 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7800 * TreeView.cs: Use cached objects instead of creating them
7802 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7804 * Control.cs: use Equals to compare the font since no == op
7805 * ScrollBar.cs: use Equals to compare the font since no == op
7807 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7809 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7811 2005-04-01 Jackson Harper <jackson@ximian.com>
7813 * Binding.cs: Implement IsBinding.
7814 * BindingManagerBase.cs:
7815 * PropertyManager.cs:
7816 * CurrencyManager.cs: Add IsSuspended property.
7818 2005-04-01 Jackson Harper <jackson@ximian.com>
7820 * Binding.cs: Had some IsAssignableFrom calls backwards.
7822 2005-04-01 Jackson Harper <jackson@ximian.com>
7824 * Binding.cs: Handle null data members when pulling data.
7825 * PropertyManager.cs: Handle the data member being a property that
7828 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7830 * DataGridTextBoxColumn.cs: fixes signature
7831 * DataGrid.cs: calls right constructor
7833 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7835 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7836 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7837 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7838 * DataGridTableStyle.cs: implements DataGridTableStyle
7839 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7840 * DataGridTextBox.cs: implements DataGridTextBox
7841 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7843 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7845 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7847 2005-03-29 Peter Bartok <pbartok@novell.com>
7850 - Properly implemented CompanyName property
7851 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7852 returns a path that includes CompanyName, ProductName and
7853 Version (fixes bug #70330)
7855 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7857 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7860 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7862 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7864 - Added ReadOnly CheckBox
7865 - Further refactoring: moved some code from Open-/SaveFileDialog
7868 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7870 * OpenFileDialog.cs: Fixed CheckFileExists
7872 Moved FileView and DirComboBox outside FileDialog class.
7873 They can now be used outside FileDialog
7875 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7877 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7878 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7880 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7882 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7883 - Added missing CreatePrompt property in SaveDialog
7884 - Overall SaveDialog handling should be better now
7885 - Added non standard ShowHiddenFiles property
7886 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7887 - Added InitialDirectory and RestoreDirectory support
7889 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7891 * FileDialog.cs: Made dirComboBox usable
7893 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7895 * FileDialog.cs: Added Filter support (case sensitiv)
7897 2005-03-24 Jackson Harper <jackson@ximian.com>
7899 * TabControl.cs: Need a couple more pixels for the lines.
7901 2005-03-23 Jackson Harper <jackson@ximian.com>
7903 * TabControl.cs: Give the tab page focus when it is selected.
7905 2005-03-23 Jackson Harper <jackson@ximian.com>
7907 * TabControl.cs: Account for the drawing of tabs borders when
7908 invalidating. If the slider was clicked dont do click detection on
7911 2005-03-23 Jackson Harper <jackson@ximian.com>
7913 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7915 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7917 * CategoryGridEntry.cs: Added
7918 * GridItem.cs: Added helper properties
7919 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7920 * GridEntry.cs: Updated code for collection
7921 * PropertyGrid.cs: Cleaned up some formatting
7922 * PropertyGridView.cs: Added drop down functionality for enums.
7923 * GridItemCollection.cs: Added enumerator logic
7924 * PropertyGridEntry.cs: Added
7926 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7929 - Removed unnecessary commented code
7930 - Fixed handling for entering the filename manually in the combobox
7932 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7934 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7936 2005-03-18 Peter Bartok <pbartok@novell.com>
7938 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7939 them being touching the border
7941 2005-03-18 Peter Bartok <pbartok@novell.com>
7943 * TextControl.cs: Quick hack to center text better
7945 2005-03-18 Peter Bartok <pbartok@novell.com>
7948 - Don't throw NotImplemented exceptions, just print a notice once
7949 instead (requested by Miguel). This makes running existing SWF
7952 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7953 - Added context menu trigger on right click
7954 * Panel.cs: Trigger invalidate on resize
7956 - Removed old double-buffer drawing
7957 - Added ResizeRedraw style to force proper update of statusbar
7959 - Removed debug output
7960 * ThemeWin32Classic.cs:
7961 - Fixed drawing of status bar, now draws Text property if there
7962 are no defined panels
7964 2005-03-18 Jackson Harper <jackson@ximian.com>
7966 * ImageList.cs: When the image stream is set pull all the images
7968 * ImageListStreamer.cs: Implement reading image list streams.
7970 2005-03-18 Peter Bartok <pbartok@novell.com>
7972 * ThemeWin32Classic.cs (DrawPictureBox):
7973 - Fixed calculations for centered drawing
7974 - Fixed drawing for normal mode, not scaling the image on normal
7976 2005-03-18 Peter Bartok <pbartok@novell.com>
7978 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7981 - Made Open/Save button the accept button for FileDialog
7982 - Tied the cancel button to the IButtonControl cancel button
7983 - Save/Open now properly builds the pathname
7984 - Now handles user-entered text
7985 - Preventing crash on right-click if no item is selected
7986 - Fixed Text property, now uses contents of textbox
7987 - Fixed SelectedText property, now just returns the text part that
7988 is selected in the text box
7990 2005-03-18 Jackson Harper <jackson@ximian.com>
7992 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7993 rect, make sure to de-adjust the interior rect after drawing the
7996 2005-03-18 Peter Bartok <pbartok@novell.com>
7998 * MenuAPI.cs: Remove menu *before* executing selected action to
7999 prevent the menu from 'hanging around'
8001 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8003 * XplatUIOSX.cs: Implemented WorkingArea property
8005 2005-03-17 Peter Bartok <pbartok@novell.com>
8007 * XplatUIX11.cs: Fixed menu coord calculations
8008 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8009 for calculating offsets
8011 2005-03-17 Peter Bartok <pbartok@novell.com>
8013 * Hwnd.cs: Do not consider menu presence for default client
8014 rectangle location/size
8015 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8016 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8017 translation functions
8018 * FileDialog.cs: Fixed (what I presume is a) typo
8020 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8022 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8023 X access (avoids X-Async errors)
8025 2005-03-16 Jackson Harper <jackson@ximian.com>
8027 * TabControl.cs: Raise the SelectedIndexChanged event.
8029 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8031 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8032 - Removed vertical ToolBar and replaced it with a custom panel
8033 (desktop and home button already work)
8034 - Added Help button (some controls get resized or relocated then)
8035 - Draw correct text depending on Open or Save.
8036 - Fixed some typos...
8038 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8041 - Only change Maximum and Minimum when need it (bug fix)
8043 2005-03-15 Peter Bartok <pbartok@novell.com>
8045 * Form.cs: Use Handle for icon, to trigger creation if
8046 the window does not yet exist
8048 - CanSelect: Slight performance improvement
8049 - Focus(): Preventing possible recursion
8050 - Invalidate(): Removed ControlStyle based clear flag setting
8051 - WM_PAINT: fixed logic for calling OnPaintBackground
8052 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8053 EraseWindowBackground if the control doesn't paint background
8055 - Moved EraseWindowBackground() method to internal methods
8056 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8057 is sent via SendMessage on BeginPaint call on Win32
8059 - Added EraseWindowBackground() method
8060 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8061 PaintEventStart, which more closely matches Win32 behaviour
8062 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8063 - Fixed SetFocus() to properly deal with client and whole windows
8064 * Hwnd.cs: Added ErasePending property
8065 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8066 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8068 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8071 - Fix hard loop when timers exist.
8072 - Fix bugs with middle and right click for 3 button mice.
8074 2005-03-11 Peter Bartok <pbartok@novell.com>
8077 - get_WorkingArea: Need to call X directly, GetWindowPos only
8078 returns cached data now
8079 - Added sanity check to GetWindowPos hwnd usage
8081 2005-03-11 Jackson Harper <jackson@ximian.com>
8083 * BindingManagerBase.cs: This method isn't used anymore as
8084 PullData now updates the data in the control.
8086 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8088 * Form.cs: fixes menu drawing on X11
8089 * MenuAPI.cs: fixes menu drawing on X11
8091 2005-03-11 Peter Bartok <pbartok@novell.com>
8093 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8094 from Jonathan Gilbert; should fix bug #73606
8095 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8096 in Screen coordinates. Thanks, Jordi.
8097 * Form.cs: Added missing attribute
8099 2005-03-11 Peter Bartok <pbartok@novell.com>
8102 - Rudimentary Mdi support
8103 - Removed outdated FormParent code
8104 - Implemented lots of missing properties and methods, still missing
8105 transparency support
8106 - Added missing attributes
8107 - Implemented support for MaximumBounds
8108 - Added firing of various events
8109 * XplatUI.cs: Added SetIcon() method
8110 * XplatUIDriver.cs: Added SetIcon() abstract
8111 * XplatUIOSX.cs: Stubbed out SetIcon() method
8113 - Implemented SetIcon() support
8114 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8115 - Switched to unix line endings
8117 - Made POINT internal so for can access it as part of MINMAX
8118 - Implemented SetIcon() support
8119 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8120 native Mdi support again, might have to go managed)
8121 * Control.cs: Now fires the StyleChanged event
8122 * MdiClient.cs: Added; still mostly empty
8124 2005-03-10 Peter Bartok <pbartok@novell.com>
8126 * SaveFileDialog.cs: Added emtpy file
8128 2005-03-08 Peter Bartok <pbartok@novell.com>
8130 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8131 in turn triggers OnCreateContro) when creating a handle for the
8133 * TextControl.cs: Fixed endless loop in certain cases when
8134 replacing the current selection
8136 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8139 - Honors NewValue changes in Scroll events allowing apps to change it
8140 - Adds First and Last Scroll events
8141 - Fixes Thumb events
8143 2005-03-07 Peter Bartok <pbartok@novell.com>
8145 * Hwnd.cs: Added DefaultClientRectangle property
8146 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8147 more detailed debug information
8149 - Fixed size-change feedback loop, where we would pull an old size
8150 off the queue and mistakenly change our window's size to an
8152 - Now compressing ConfigureNotify events, to reduce looping and
8154 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8157 2005-03-07 Jackson Harper <jackson@ximian.com>
8159 * Binding.cs: Push data pushes from data -> property. Check if the
8160 property is readonly when attempting to set it.
8162 2005-03-07 Jackson Harper <jackson@ximian.com>
8164 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8165 instead of IsSubclassOf. Pulling data now sets the value on the
8167 * PropertyManager.cs:
8168 * CurrencyManager.cs: Just need to pull data when updating now,
8169 because PullData will set the value on the control.
8171 2005-03-04 Jackson Harper <jackson@ximian.com>
8173 * Binding.cs: Implement data type parsing and converting on pulled
8174 data. TODO: Are there more ways the data can be converted?
8176 2005-03-04 Jackson Harper <jackson@ximian.com>
8178 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8179 controls Validating method so we can repull the data when the
8180 control loses focus.
8182 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8185 - Fixes null string format
8188 - Adds enum type checks
8189 - Fixes redrawing and recalc need after changing some properties
8190 - Fixes on focus_item set after the event
8191 - Fixes adding columns after the control has been created
8193 * ThemeWin32Classic.cs:
8194 - Fixes CheckBox focus rectangle
8195 - Fixes ColumnHeader drawing
8198 2005-03-03 Jackson Harper <jackson@ximian.com>
8200 * Binding.cs: Bind to <Property>Changed events so we can detect
8201 when properties are changed and update the data.
8203 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8206 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8207 - Fixes ImageList constructor with ImageList container
8208 - Fixes image scaling (wrong parameters at DrawImage)
8210 2005-02-02 Jackson Harper <jackson@ximian.com>
8212 * Binding.cs: Make property searches case-insensitive. Eliminate
8213 some duplicated code.
8215 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8218 - Handle focus event
8219 - Fix scrollbar events
8220 - Discard highlighted item if remove it
8221 - Fixes SelectedItem with strings
8223 2005-03-01 Peter Bartok <pbartok@novell.com>
8226 - Fixed Visible property, now follows (once again) parent chain
8227 to return false if any control in the chain is visible=false
8228 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8229 - Fixed several places where is_visible instead of Visible was used
8230 - Implemented FIXME related to focus selection when setting focused
8231 control to be invisible
8233 * XplatUIWin32.cs: Now using proper method to find out if window is
8234 visible. Thanks to Jordi for pointing it out
8236 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8238 * ComboBox.cs: show/hide scrollbar instead of creating it
8240 2005-02-27 Jackson Harper <jackson@ximian.com>
8242 * CurrencyManager.cs: Add PositionChanged stuff.
8244 2005-02-27 Peter Bartok <pbartok@novell.com>
8246 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8247 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8248 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8250 - Implemented GetMenuDC()
8251 - Implemented GetMenuOrigin()
8252 - Implemented ReleaseMenuDC()
8253 - Implemented generation of WM_NCPAINT message
8254 - Implemented generation and handling of WM_NCCALCSIZE message
8255 * Form.cs: Added debug helper message for Jordi's menu work
8257 - Modified ClientRect property; added setter, fixed getter to handle
8258 setting of ClientRect
8259 - Added MenuOrigin property
8261 2005-02-26 Peter Bartok <pbartok@novell.com>
8264 - Destroys the caret if a window that's being destroyed contains it
8265 - Ignores expose events coming from the X11 queue for windows that
8266 already are destroyed
8267 - Now uses the proper variable for handling DestroyNotify, before we
8268 marked the wrong window as destroyed
8269 - Improved/added some debug output
8271 2005-02-26 Peter Bartok <pbartok@novell.com>
8273 * X11Keyboard.cs: Fixes to work on 64bit systems
8275 2005-02-26 Peter Bartok <pbartok@novell.com>
8278 - Now calling OnHandleDestroyed from DestroyHandle()
8279 instead of Dispose()
8280 - Removed bogus call to controls.Remove() from DestroyHandle()
8282 2005-02-26 Peter Bartok <pbartok@novell.com>
8284 * Control.cs: Properly destroy child windows when our handle is
8287 2005-02-25 Peter Bartok <pbartok@novell.com>
8290 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8291 - Alphabetized Static Methods and Subclasses
8294 - Added XException class to allow custom handling of X11 exceptions
8295 - Created custom X11 error handler, tied into XException class
8296 - Added support for MONO_XEXCEPTIONS env var to allow the user
8297 to either throw an exception on X errors or continue running
8298 after displaying the error
8299 - Added handling of DestroyNotify message
8300 - Added handler for CreateNotify message (still disabled)
8301 - Improved (tried to at least) Where method to provide file and lineno
8303 - Added XErrorHandler delegate
8304 - Added XRequest enumeration (to suppor translation of errors)
8306 2005-02-25 Jackson Harper <jackson@ximian.com>
8308 * PropertyManager.cs: Implement editing features
8309 * CurrencyManager.cs:
8310 * Binding.cs: First attempt at UpdateIsBinding
8311 * BindingManagerBase.cs: Call UpdateIsBinding before
8312 pushing/pulling data.
8314 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8316 * MenuAPI.cs: Respect disabled items
8317 * ThemeWin32Classic.cs
8318 - Caches ImageAttributes creation for DrawImageDisabled
8319 - Fixes vertical menu line drawing
8320 - Draws disabled arrows in disable menu items
8322 2005-02-24 Peter Bartok <pbartok@novell.com>
8325 - Added UserData property to allow associating arbitrary objects
8327 - Fixed leak; now removing Hwnd references from static windows array
8329 - Fixed Graphics leak in PaintEventEnd
8330 - Removed usage of HandleData, switched over to Hwnd class
8331 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8333 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8335 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8336 * ScrollBar.cs: Fixes bug
8337 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8338 keyboard navigation enhancements
8340 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8342 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8343 * GroupBox.cs: Add control styles
8344 * Label.cs: Add control styles
8345 * UpDownBase.cs: Add control styles
8346 * ListBox.cs: Add control styles
8347 * XplatUIWin32.cs: Fixes wrong parameter order
8350 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8352 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8354 2005-02-23 Jackson Harper <jackson@ximian.com>
8356 * PropertyManager.cs: Implement property binding. This doesn't
8357 seem to work yet though as (I think) there are some bugs in
8358 System.ComponentModel.PropertyDescriptor.
8359 * BindingContext.cs: Use new PropertyManager constructor.
8361 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8363 * ProgressBar.cs: use clip region in ProgressBar
8364 * ThemeWin32Classic.cs: use clip region in ProgressBar
8366 2004-02-22 Jackson Harper <jackson@ximian.com>
8368 * BindingsCollection.cs: Remove some debug code.
8370 2005-02-22 Jackson Harper <jackson@ximian.com>
8372 * BindingContext.cs:
8373 * ControlBindingsCollection.cs:
8374 * CurrencyManager.cs:
8376 * BindingManagerBase.cs: Initial implementation
8377 * BindingsCollection.cs: Add an internal contains method that the
8378 BindingManagerBase uses to ensure bindings aren't added twice to
8380 * PropertyManager.cs: Stubbed out.
8382 * ContainerControl.cs: Hook up databinding
8384 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8387 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8388 Fixed Invalidate/Update chain.
8389 Fixed tons of other minor bugs (this is almost a complete rewrite).
8391 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8393 * ComboBox.cs: do subcontrol creation when the control is created
8395 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8397 * Label.cs: fixes image drawing (image and imagelist)
8398 * ThemeWin32Classic.cs: cache brushes
8400 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8402 * Form.cs: Move menu drawing code to Theme class
8403 * ComboBox.cs: Move ComboBox drawing code to Theme class
8404 * MenuItem.cs: Move menu drawing code to Theme class
8405 * MenuAPI.cs: Move menu drawing code to Theme class
8406 * ThemeWin32Classic.cs: New methods
8407 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8408 * ListBox.cs: Move Listbox drawing code to Theme class
8409 * Theme.cs: New methods
8411 2005-02-20 Peter Bartok <pbartok@novell.com>
8414 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8415 only process mnemonics on those)
8416 - Fixed event sequence for key handling; first calling
8417 ProcessKeyEventArgs now
8419 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8420 for processing non-character keys
8421 - Fixed WM_CHAR to generate proper event sequence before processing
8422 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8425 2005-02-19 Peter Bartok <pbartok@novell.com>
8427 * UserControl.cs: Added TextChanged event; added attributes
8428 * SizeGrip.cs: Implemented resizing and optional display of grip
8429 * Form.cs: Fixed attribute
8430 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8431 Changed meaning of ScrollWindow bool argument; instead of the
8432 clear attribute (which will be true usually anyway), it gives the
8433 option of moving child controls as well.
8435 - Changed to match new ScrollWindow argument
8436 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8437 now handles the implicit parent window a WM puts around us
8438 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8440 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8441 * TreeView.cs: Adjusted to new ScrollWindow arguments
8443 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8445 * Form.cs: Menu integration with non-client area
8446 * MenuItem.cs: Menu integration with non-client area
8447 * MenuAPI.cs: Menu integration with non-client area
8449 2005-02-18 Peter Bartok <pbartok@novell.com>
8451 * MethodInvoker.cs: Added
8452 * MdiLayout.cs: Added
8453 * SendKeys.cs: Started implementation
8454 * ErrorIconAlignment.cs: Added
8456 2005-02-18 Peter Bartok <pbartok@novell.com>
8458 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8459 * Form.cs: Added handling for Menu-related Non-client messages
8461 2005-02-17 Peter Bartok <pbartok@novell.com>
8463 * UpDownBase.cs: Fixed typo, compilation errors
8464 * DomainUpDown.cs: Fixed attribute value
8466 2005-02-16 Miguel de Icaza <miguel@novell.com>
8468 * UpDownBase.cs: Attach entry events.
8470 Add ForeColor property, Focused, InterceptArrowKeys (interception
8473 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8476 - Redraw non client are on Setmenu
8477 - Calc proper menu starting point
8479 2005-02-17 Peter Bartok <pbartok@novell.com>
8481 * Application.cs: Fixed message_filter check
8483 2005-02-17 Peter Bartok <pbartok@novell.com>
8485 * Application.cs: Now calls registered message filters
8486 * DockStyle.cs: Fixed attribute
8487 * Form.cs: Fixed attribute
8488 * Menu.cs: Fixed attribute
8489 * ToolTip.cs: Fixed attribute
8490 * TreeNode.cs: Added missing attributes and arranged in regions
8491 * PropertyGrid.cs: Fixed signatures
8492 * TreeNodeCollection.cs: Added attributes
8493 * Splitter.cs: Added missing attributes; arranged into regions
8494 * TabPage.cs: Added missing attributes; arranged into regions
8495 * TextBoxBase.cs: Added missing attributes
8496 * TextBox.cs: Added missing attributes
8497 * ArrangeDirection.cs: Added missing attributes
8498 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8499 * ToolBarButton.cs: Fixed attributes
8500 * AnchorStyles.cs: Fixed attribute
8501 * TrackBar.cs: Fixed attributes
8502 * TabControl.cs: Added missing attributes and arranged into regions
8503 * ToolBar.cs: Fixed attribute
8504 * StatusBar.cs: Fixed signature, organized into regions and added
8506 * StatusBarPanel.cs: Fixed attributes
8507 * ContentsResizedEventArgs.cs: Implemented
8508 * ContentsResizedEventHandler.cs: Implemented
8509 * DateBoldEventArgs.cs: Implemented
8510 * DateBoldEventHandler.cs: Implemented
8511 * UpDownEventArgs.cs: Implemented
8512 * UpDownEventHandler.cs: Implemented
8514 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8516 * Form.cs: first Menu NC refactoring
8517 * MenuAPI.cs: first Menu NC refactoring
8519 2005-02-16 Peter Bartok <pbartok@novell.com>
8521 * ImeMode.cs: Added missing attributes
8522 * Menu.cs: Fixed attribute
8523 * GroupBox.cs: Fixed attribute
8524 * Label.cs: Fixed attribute
8525 * ColorDialog.cs (RunDialog): Removed TODO attribute
8526 * ComboBox.cs: Fixed attributes
8527 * ListControl.cs: Added missing attributes
8528 * PropertyGrid.cs: Fixed attributes
8529 * Control.cs: Fixed attributes
8530 * ListViewItem.cs: Added TypeConverter attribute
8531 * NotifyIcon.cs: Fixed attributes
8532 * ListView.cs: Fixed attributes
8533 * ButtonBase.cs: Fixed attribute
8534 * ImageList.cs: Added missing attributes
8535 * ContainerControl.cs: Fixed signature
8536 * CheckedListBox.cs: Fixed attribute; added missing attributes
8537 * Panel.cs: Fixed attributes
8538 * PropertyTabChangedEventArgs.cs: Added missing attribute
8539 * PropertyValueChangedEventArgs.cs: Added missing attribute
8540 * Binding.cs: Fixed attribute
8541 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8542 * ListBox.cs: Fixed attribute; added missing attributes;
8543 * ScrollableControl.cs: Added missing attributes
8544 * PictureBox.cs: Added missing attributes; implemented missing property
8545 * DateTimePicker.cs: Added missing attributes
8546 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8547 * MonthCalendar.cs: Fixed attributes
8548 * StatusBarPanel.cs: Added missing attributes
8549 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8551 2005-02-16 Peter Bartok <pbartok@novell.com>
8553 * TextBoxBase.cs: The previous method to enforce height yet remember
8554 the requested high was less than ideal, this is an attempt to do
8556 * Control.cs: Added comment about possible problem
8557 * Copyright: Updated format
8558 * GridItemType.cs: Fixed swapped values
8560 2005-02-15 Jackson Harper <jackson@ximian.com>
8562 * BaseCollection.cs: Use property so we never access an
8563 uninitialized list. Also initialize the list in the property.
8565 2005-02-15 Peter Bartok <pbartok@novell.com>
8567 * GroupBox.cs (ProcessMnemonic): Implemented
8568 * Label.cs (ProcessMnemonic): Implemented
8569 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8572 2005-02-15 Peter Bartok <pbartok@novell.com>
8574 * RadioButton.cs (ProcessMnemonic): Implemented
8575 * CheckBox.cs (ProcessMnemonic): Implemented
8577 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8579 - Added internal method to allow calling ProcessMnemonic from other
8581 * ContainerControl.cs:
8582 - Started support for handling validation chain handling
8583 - Implemented ProcessMnemonic support
8584 - Added Select() call to Active, to make sure the active control
8586 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8588 * ThemeWin32Classic.cs:
8589 - DrawCheckBox(): Fixed stringformat to show hotkeys
8590 - DrawRadioButton(): Fixed stringformat to show hotkeys
8591 * CommonDialog.cs: Removed WndProc override, not needed
8593 2005-02-14 Peter Bartok <pbartok@novell.com>
8595 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8596 missed those in the rewrite
8598 2005-02-14 Miguel de Icaza <miguel@novell.com>
8600 * NumericUpDown.cs (Increment, ToString): Add.
8601 (DecimalPlaces): implement.
8605 * UpDownBase.cs: Add the designer attributes.
8607 2005-02-13 Peter Bartok <pbartok@novell.com>
8609 * Panel.cs: Removed border_style, now in Control
8610 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8611 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8613 2005-02-13 Peter Bartok <pbartok@novell.com>
8615 * MouseButtons.cs: Added missing attributes
8616 * XplatUIStructs.cs: Added enumeration for title styles
8617 * LeftRightAlignment.cs: Added missing attributes
8618 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8619 it compatible with Graphics.FromHwnd()
8620 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8621 * Keys.cs: Added missing attributes
8622 * SelectionRange.cs: Added missing attributes
8623 * SelectionRangeConverter.cs: Added
8625 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8626 ReleaseMenuDC methods
8627 - Renamed ReleaseWindow to UngrabWindow
8628 - Added proper startup notice to allow version identification
8630 - Added missing attributes
8631 - Removed FormParent concept
8632 * Label.cs: Removed border_style field, now in Control
8633 * RadioButton.cs: Now properly selects RadioButton when focus is
8635 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8637 - Added missing attributes
8638 - Added borderstyle handling
8639 - Removed FormParent concept support
8640 - Fixed calls to XplatUI to match changed APIs
8641 - Fixed bug that would case us to use disposed Graphics objects
8642 - Removed unneeded internal methods
8643 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8644 - SelectNextControl(): Fixed to properly check common parents
8645 * TextBoxBase.cs: Removed border_style field (now in Control)
8647 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8648 fixed calculations for form size
8649 - Added support for localized strings and icons
8650 - Improved form size calculations, added border
8651 * ListView.cs: Removed border_style field (now in Control)
8652 * X11Structs.cs: Moved several structs from X11 driver here
8653 * X11Keyboard.cs: Changed debug message
8654 * Application.cs: Removed FormParent concept support
8656 - Resetting end_modal flag
8657 - Removed FormParent concept support
8658 * NativeWindow.cs: Removed FormParent concept support
8659 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8660 Client area and Non-Client whole window to allow support for WM_NC
8662 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8663 prevent using it until it supports Hwnd as per Geoff Norton's request
8664 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8665 * PictureBox.cs: Removed border_style field, now in Control
8666 * XplatUIWin32.cs: Added new driver methods
8668 2005-02-12 Peter Bartok <pbartok@novell.com>
8670 * OpacityConverter.cs: Implemented
8671 * Hwnd.cs: Internal class to support drivers that need to emulate
8672 client area/non-client area window behaviour
8674 2005-02-11 Peter Bartok <pbartok@novell.com>
8676 * KeysConverter.cs: Implemented
8678 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8680 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8681 * LinkLabel: Added missing attributes
8682 * MainMenu.cs: fixes ToString
8683 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8684 * ListBox.cs: fixes event position
8685 * TrackBar.cs: adds missing attributes and events
8687 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8689 * MenuItem.cs: Use SystemInformation and bug fixes
8690 * MenuAPI.cs: Use SystemInformation and bug fixes
8692 2005-02-09 Jackson Harper <jackson@ximian.com>
8694 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8695 their keystate otherwise things like VK_MENU get stuck "on".
8697 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8699 * ListBox.cs: Fixes AddRange bug
8701 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8704 - Add missing attributes
8705 - Add missing method
8707 * CheckedListBox.cs: Added missing attributes
8708 - Add missing attributes
8709 - Remove extra method
8711 * ComboBox.cs: Added missing attributes
8712 * VScrollBar.cs: Added missing attributes
8713 * ScrollBar.cs: Added missing attributes
8714 * ListBox.cs: Fixes signature, add missing consts
8715 * LinkArea.cs: Added missing attributes
8718 2005-02-08 Peter Bartok <pbartok@novell.com>
8720 * Menu.cs: Added missing attributes
8721 * MainMenu.cs: Added missing attributes
8722 * GroupBox.cs: Added missing attributes
8723 * Label.cs: Added missing attributes
8724 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8726 - Added Instance and Options properties
8727 - Added missing attributes
8728 * Cursor.cs: Made Serializable
8729 * NotifyIcon: Added missing attributes
8730 * MenuItem.cs: Added missing attributes
8731 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8732 * Panel.cs: Added Missing attributes
8733 * MonthCalendar.cs: Fixed CreateParams
8735 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8739 - Fixes issues with links
8740 - Adds the class attributes
8742 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8745 - Fixes button when no items available in dropdown
8746 - Fixes repainting problems
8747 - Adds the class attributes
8749 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8751 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8752 the current theme. Cache these on startup.
8754 2005-02-07 Jackson Harper <jackson@ximian.com>
8756 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8757 the scrollbar buttons when they are depressed.
8759 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8761 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8762 Get the display size from the main displayid. We currently dont
8763 support multiple display configurations.
8765 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8767 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8769 2005-02-07 Miguel de Icaza <miguel@novell.com>
8771 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8773 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8775 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8777 2005-02-04 Jackson Harper <jackson@ximian.com>
8779 * ThemeWin32Classic.cs: Respect the clipping rect when
8780 drawing. Only fill the intersection of clips and rects so there
8781 isn't a lot of large fills.
8782 * ScrollBar.cs: Pass the correct clipping rect to the theme
8783 engine. Remove some debug code.
8785 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8787 * DateTimePicker.cs:
8788 - Fixed crash on DateTime.Parse, use Constructor instead
8790 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8794 - Owner draw support (MeasureItem and DrawItem)
8796 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8799 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8800 - Fixes MenuItems.Add range
8802 - MergeMenu and Clone and CloneMenu functions
8804 2005-02-03 Jackson Harper <jackson@ximian.com>
8806 * ScrollBar.cs: Make abstract
8807 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8810 2005-02-03 Jackson Harper <jackson@ximian.com>
8812 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8813 all the unneeded refreshes and uses invalidates with properly
8816 2005-02-03 Peter Bartok <pbartok@novell.com>
8818 * ComponentModel.cs: Added
8819 * IDataGridEditingService.cs: Added
8820 * Timer.cs: Added missing attributes
8821 * ToolTip.cs: Added missing attributes
8823 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8825 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8827 2005-02-03 Peter Bartok <pbartok@novell.com>
8829 * ListBox.cs: Added missing attributes
8831 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8834 - Fixes font height after font change
8835 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8837 2005-02-02 Peter Bartok <pbartok@novell.com>
8839 * HandleData.cs: Introduced static methods to allow class
8840 to be more self-contained and track it's own HandleData objects
8841 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8842 HandleData to use new static methods
8844 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8847 - Fixes default size and PreferredHeight
8849 - ObjectCollection.Insert implementation
8855 - ObjectCollection.Insert implementation
8856 - No selection after clean
8859 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8861 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8863 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8866 - Caches ItemHeight calculation for OwnerDrawVariable
8867 - Handles dropdown properly
8868 - Fixes several minor bugs
8870 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8873 - Fixes 71946 and 71950
8874 - Fixes changing Multicolumn on the fly
8875 - Fixes keyboard navigation on Multicolumn listboxes
8877 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8879 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8882 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8884 * XplatUIOSX.cs: Allow applications to actually exit.
8886 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8888 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8889 their parent at creation time rather than lazily later. Fixes a major
8890 regression we were experiencing.
8892 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8894 * ThemeWin32Classic.cs: more date time picker painting fixes
8895 * DateTimePicker.cs: more monthcalendar drop down fixes
8896 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8898 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8901 - When moving the thumb going outside the control should stop the moving
8902 - Adds the firing of missing events
8903 - Fixes no button show if Size is not specified
8904 - End / Home keys for keyboard navigation
8906 2005-01-30 Peter Bartok <pbartok@novell.com>
8908 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8909 sanity check to prevent theoretical loop
8910 * XplatUIWin32.cs (SetVisible): Removed debug output
8911 * XplatUIX11.cs (SystrayChange): Added sanity check
8912 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8913 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8914 behaviour, valid until the X11 client window rewrite is done
8915 * TextBox.cs (ctor): Setting proper default foreground and background
8918 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8920 * Theme: Added DrawDateTimePicker to interface
8921 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8922 * DateTimePicker.cs: Created (still needs keys and painting code)
8923 * DateTimePickerFormat.cs: added
8924 * MonthCalendar.cs: fixed CreateParams for popup window mode
8926 2005-01-29 Peter Bartok <pbartok@novell.com>
8928 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8929 this should also the calculations for ligher/darker
8930 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8932 2005-01-29 Peter Bartok <pbartok@novell.com>
8934 * ArrangeDirection.cs: Added
8935 * ArrangeStartingPositon.cs: Added
8936 * SystemInformation.cs: Implemented
8937 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8938 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8939 used by SystemInformation class
8940 * X11Strucs.cs: Added XSizeHints structure
8942 - Fixed CreateParams to make sure the menu window is always visible
8943 - TrackPopupMenu: Added check to make sure we don't draw the
8946 2005-01-29 Peter Bartok <pbartok@novell.com>
8948 * HandleData.cs: Added method for altering invalid area
8949 * TextBoxBase.cs: Implemented TextLength
8951 2005-01-28 Peter Bartok <pbartok@novell.com>
8953 * XplatUIX11.cs: Improvement over last patch, not sending
8954 the WM_PAINT directly anymore, instead we scroll any pending
8955 exposed areas and let the system pick out the WM_PAINT later
8957 2005-01-28 Peter Bartok <pbartok@novell.com>
8959 * SWF.csproj: Deleted, no longer used. Instead,
8960 Managed.Windows.Forms/SWF.csproj should be used
8961 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8962 directly, to avoid a potential race condition with the next
8965 2005-01-28 Peter Bartok <pbartok@novell.com>
8967 * XplatUI.cs: Made class internal
8969 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8971 * CheckedListBox.cs:
8974 - Missing methods and events
8976 2005-01-27 Peter Bartok <pbartok@novell.com>
8978 * Application.cs (Run): Don't use form if we don't have one
8980 2005-01-27 Peter Bartok <pbartok@novell.com>
8982 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8984 2005-01-27 Peter Bartok <pbartok@novell.com>
8986 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8987 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8988 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8989 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8990 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8991 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8992 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8993 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8994 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8995 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8996 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8997 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8999 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9002 - Draw focus on Simple Combobox
9003 - Fixes drawing issues
9006 2005-01-27 Peter Bartok <pbartok@novell.com>
9009 - Place window in default location, instead of hardcoded 0/0
9010 - Send initial LocationChanged event
9012 - UpdateBounds after creation to find out where the WM placed us
9013 - Make sure that if the ParentForm changes location the Form
9015 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9016 to the root, but to whatever the WM placed around us.
9017 Translate to root coordinates before returning toplevel
9019 * XplatUIWin32.cs: Removed debug output
9020 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9021 flag to GetWindowPos, to allow translation of coordinates on X11
9023 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9025 * ListBox.cs: connect LostFocus Event
9027 2005-01-27 Peter Bartok <pbartok@novell.com>
9029 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9030 XplatUIX11.cs: Extended the Systray API
9031 * Form.cs: Removed debug output
9032 * Application.cs: Fixed focus assignment, always need to call
9033 XplatUI.Activate() since Form.Activate() has rules that may
9035 * NotifyIcon.cs: Should be complete now
9036 * ToolTip.cs: Worked around possible timer bug
9038 2005-01-27 Jackson Harper <jackson@ximian.com>
9041 - Only invalidate the effected tabs when the
9042 selected index changes. This reduces drawing and gets rid of some
9044 - Only refresh if the tabs need to be shifted, otherwise only
9045 invalidate the slider button.
9046 - On windows the tabs are not filled to right if the slider is
9049 2005-01-27 Jackson Harper <jackson@ximian.com>
9051 * TabControl.cs: Only refresh on mouseup if we are showing the
9052 slider. Also only invalidate the button whose state has changed.
9054 2005-01-26 Peter Bartok <pbartok@novell.com>
9056 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9057 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9058 and SystrayRemove() methods
9059 * XplatUIOSX.cs: Stubbed Systray methods
9061 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9063 - Fixed broken XChangeProperty calls (marshalling messed up things)
9064 * X11Structs.cs: Added enums and structs required for Size hinting
9065 * NotifyIcon.cs: Added & implemented
9067 2005-01-26 Jackson Harper <jackson@ximian.com>
9069 * TabControl.cs: Space vertically layed out tabs properly.
9071 2005-01-26 Peter Bartok <pbartok@novell.com>
9073 * Form.cs (CreateClientParams): Always set the location to 0,0
9074 since we're a child window.
9076 * Control.cs (SetVisibleCore): Always explicitly setting the location
9077 of a toplevel window, apparently X11 doesn't like to move windows
9078 while they're not mapped.
9080 2005-01-26 Jackson Harper <jackson@ximian.com>
9082 * TabControl.cs: Implement FillToRight size mode with vertically
9085 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9087 * ControlPaint.cs, ThemeWin32Classic.cs
9088 - Fixes DrawFocusRectangle
9090 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9093 - MenuBar tracking only starts when item is first clicked
9094 - Fixes menu hidding for multiple subitems
9095 - Unselect item in MenuBar when item Executed
9098 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9101 - IsInputKey for ListBox
9104 - Shift and Control item selection
9105 - Implement SelectionMode.MultiExtended
9108 - IsInputKey implemented
9109 - Do not generate OnTextChangedEdit on internal txt changes
9111 2005-01-23 Peter Bartok <pbartok@novell.com>
9113 * AccessibleObject.cs: Partially implemented Select()
9114 * MonthCalendar.cs: Added missing attributes and events
9115 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9116 form can properly override CreateParams.
9117 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9118 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9119 Control performs Invalidate & Update
9120 * NativeWindow (CreateHandle): Added special handling for Form
9121 and Form.FormParent classes to allow overriding of From.CreateParams
9123 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9125 - ControlNativeWindow: Added Owner property
9126 - Removed usage of Refresh() on property changes, changed into
9127 Invalidate(), we need to wait until the queue is processed for
9128 updates, direct calls might cause problems if not all vars for
9129 Paint are initialized
9130 - Added call to UpdateStyles() when creating the window, to set any
9131 styles that CreateWindow might have ignored.
9132 - Added support for Form CreateParent overrides to UpdateStyles()
9133 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9134 CreateParams are now properly overridable
9135 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9136 CreateParams are now properly overridable
9138 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9140 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9143 Capture LostFocus and OnTextBoxChanged. The later introduces a
9144 recursive invocation that I have not figured out yet.
9146 Reset the timer when not using (it was accumulating).
9149 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9150 user has made changes that require validation.
9152 Reset changing to avoid loops.
9154 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9156 * NumericUpDown.cs: Display value at startup.
9158 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9161 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9162 filled in. Added some basic parsing of text.
9164 Still missing the OnXXX method overrides, and figuring out the
9165 events that must be emitted.
9167 * UpDownBase.cs: Handle UserEdit on the Text property.
9169 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9172 - Fixes IntegralHeight
9175 2005-01-21 Jackson Harper <jackson@ximian.com>
9177 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9178 is set so that the page visibility is updated and the tabs are
9181 2005-01-21 Jackson Harper <jackson@ximian.com>
9183 * TabControl.cs: Use cliping rectangle for blitting. Give the
9184 theme the clipping rect so we can do clipping while
9185 drawing. Remove some debug code.
9187 2005-01-21 Jackson Harper <jackson@ximian.com>
9189 * TabPage.cs: Add a new method so tab pages can force the tab
9190 control to recalculate the tab page sizes.
9191 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9194 2005-01-20 Jackson Harper <jackson@ximian.com>
9196 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9198 2005-01-20 Jackson Harper <jackson@ximian.com>
9200 * TreeView.cs: Set the bounds for nodes properly. They were
9201 getting screwed up when checkboxes were not enabled, but images
9204 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9207 - Owner draw support
9210 2005-01-20 Jackson Harper <jackson@ximian.com>
9212 * XplatUIStructs.cs: More misc keys
9213 * X11Keyboard.cs: Ignore some control keys.
9215 2005-01-20 Jackson Harper <jackson@ximian.com>
9217 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9218 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9220 2005-01-19 Peter Bartok <pbartok@novell.com>
9222 * Control.cs: Un-selecting the control when it is loosing focus
9224 2005-01-19 Jackson Harper <jackson@ximian.com>
9226 * TreeView.cs: Hook up to the text controls leave event so we can
9227 end editing when the users clicks outside the text box.
9229 2005-01-19 Jackson Harper <jackson@ximian.com>
9231 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9232 get set in the conversion array.
9234 2005-01-19 Peter Bartok <pbartok@novell.com>
9236 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9237 focus is properly set
9239 - Added missing attributes
9240 - removed styles, those are already set in the base class
9242 - Added missing attributes
9243 - Added clip window styles
9244 * CheckBox.cs: Added missing attributes
9246 - FormParentWindow.CreateParams: Added required clip styles
9247 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9248 also filters modifier keys
9250 - Added assignment of Accept and Cancel button to enable Enter
9251 and Esc keys in MessageBox dialogs
9252 - FormParentWindow.CreateParams: Added required clip styles
9253 * RadioButton.cs: Added missing attributes
9254 * TextControl.cs: No longer draws selection if control does not
9257 - Now draws simple rectangle around test area to make it obvious
9258 there's a control. This is a hack until we properly support borders
9259 - A few simple fixes to support selections better, now erases selected
9260 text when typing, and resets selection when using movement keys
9262 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9264 * UpDownBase.cs: Added some new properties.
9266 * DomainUpDown.cs: Implement a lot to get my test working.
9268 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9270 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9272 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9274 * OSXStructs (WindowAttributes): Fixed csc complaints
9276 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9279 OSXStructs.cs: Initial refactor to move enums and consts into
9280 OSXStructs and use them in the driver for greater readability.
9282 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9284 * XplatUIOSX.cs: Initial support for Standard Cursors.
9285 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9287 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9289 * ComboBox.cs: ability to change style when the ctrl is already
9290 created, missing methods and events, bug fixes, signature fixes
9292 2005-01-19 Peter Bartok <pbartok@novell.com>
9294 * Cursors.cs (ctor): Added ctor to fix signature
9296 2005-01-18 Peter Bartok <pbartok@novell.com>
9298 * Button.cs: Implemented DoubleClick event
9300 - Fixed keyboard handling to behave like MS, where the press of
9301 Spacebar is equivalent to a mousedown, and the key release is
9302 equivalent to mouseup. Now a spacebar push will give the same
9303 visual feedback like a mouse click.
9304 - Added missing attributes
9305 - Added ImeModeChanged event
9306 - Added support for generating DoubleClick event for derived classes
9308 - Implemented DoubleClick event
9309 - Added missing attributes
9310 * CommonDialog.cs: Added missing attribute
9311 * ContextMenu.cs: Added missing attributes
9313 - AutoChecked buttons do not allow to be unselected when clicked
9314 (otherwise we might end up with no selected buttons in a group)
9315 - Added missing attributes
9316 - Implemented DoubleClickEvent
9317 * ThreadExceptionDialog.cs: Enabled TextBox code
9319 2005-01-18 Peter Bartok <pbartok@novell.com>
9321 * Form.cs: Removed debug output
9322 * Button.cs: Added support for DoubleClick method
9324 2005-01-18 Peter Bartok <pbartok@novell.com>
9327 - Added method to parent window that allows triggering size
9328 calculations when a menu is added/removed
9329 - set_Menu: Cleaned up mess from early days of Form and Control,
9330 now properly triggers a recalc when a menu is added/removed
9331 - Added case to select form itself as focused form if no child
9333 - Added PerformLayout call when showing dialog, to ensure properly
9336 - Select(): Made internal so Form can access it
9337 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9339 * Application.cs (Run): Removed hack and calls PerformLayout instead
9340 to trigger calculation when Form becomes visible
9342 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9344 * ComboBox.cs: fixes for ownerdraw
9346 2005-01-18 Peter Bartok <pbartok@novell.com>
9349 - Sentinel is no longer static, each Document gets it's own, this
9350 avoids locking or alternatively overwrite problems when more
9351 than one text control is used simultaneously.
9352 - Switched to use Hilight and HilightText brushes for text selection
9354 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9356 2005-01-18 Peter Bartok <pbartok@novell.com>
9359 - Hooked up the following events:
9367 o SystemColorsChanged
9370 - Removed debug output
9371 - Added a call to the current theme's ResetDefaults when a color change
9373 * Form.cs: Now setting the proper ImeMode
9374 * Theme.cs: Defined a method to force recreation of cached resources
9375 and rereading of system defaults (ResetDefaults())
9376 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9378 2005-01-17 Peter Bartok <pbartok@novell.com>
9380 * Control.cs: Added missing attributes
9382 2005-01-17 Jackson Harper <jackson@ximian.com>
9384 * TreeNode.cs: Implement editing. Add missing properties selected
9386 * TreeView.cs: Implement node editing. Also some fixes to use
9387 Invalidate (invalid area) instead of Refresh when selecting.
9389 2005-01-17 Peter Bartok <pbartok@novell.com>
9392 - Implemented InvokeGotFocus() method
9393 - Implemented InvokeLostFocus() method
9394 - Implemented InvokePaint() method
9395 - Implemented InvokePaintBackground() method
9396 - Implemented InvokeClick() method
9397 - Implemented FindForm() method
9398 - Implemented RectangleToClient() method
9399 - Implemented ClientToRectangle() method
9400 - Implemented ResetBackColor() method
9401 - Implemented ResetCursor() method
9402 - Implemented ResetFont() method
9403 - Implemented ResteForeColor() method
9404 - Implemented ResetImeMode() method
9405 - Implemented ResetLeftToRight() method
9406 - Implemented ResetText() method
9407 - Implemented Scale() methods
9408 - Implemented ScaleCore() method
9409 - Implemented Update() method
9410 - Removed unused variables
9411 - Stubbed AccessibilityNotifyClients and
9412 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9414 - Now setting proper default for RightToLeft property
9415 - Fixed bug in SetClientSizeCore that would cause windows to get
9417 - Now sending Click/DoubleClick events
9418 - Now selecting controls when left mouse button is clicked on
9420 * AccessibleEvents.cs: Added
9421 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9422 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9423 * XplatUIWin32.cs: Implemented UpdateWindow() method
9424 * XplatUIX11.cs: Implemented UpdateWindow() method
9425 * Form.cs: Removed stray semicolon causing CS0162 warning
9426 * ThemeWin32Classic.cs: Fixed unused variable warnings
9427 * ScrollableControl.cs: Now calls base method for ScaleCore
9428 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9429 style to avoid interference with internal click handler (which is
9430 different than standard Control click handling)
9432 - Now unchecks all sibling radio buttons when control is
9433 selected (Fixes #68756)
9434 - Removed internal tabstop variable, using the one inherited from
9437 2005-01-17 Jackson Harper <jackson@ximian.com>
9439 * NavigateEventArgs.cs: Fix base type.
9440 * LinkLabel.cs: Sig fix
9442 2005-01-17 Jackson Harper <jackson@ximian.com>
9444 * TreeView.cs: Only invalidate the effected nodes bounds when
9447 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9449 * XplatUIWin32.cs: fixes Win32 marshaling
9450 * XplatUIX11.cs: fixes method signature
9452 2005-01-17 Peter Bartok <pbartok@novell.com>
9454 * XplatUIX11.cs: Clean up resources when we no longer need them
9456 2005-01-17 Peter Bartok <pbartok@novell.com>
9458 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9459 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9460 and DestroyCursor() methods.
9461 * Cursor.cs: Partially implemented, now supports standard cursors;
9462 still contains some debug code
9463 * Cursors.cs: Implemented class
9465 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9467 - Implemented Cursor property
9468 - Replaced break; with return; more straightforwar and possibly
9470 - Now properly setting the result for WM_HELP
9471 * X11Structs.cs: Added CursorFontShape enum
9472 * XplatUIStructs.cs:
9473 - Added StdCursor enum (to support DefineStdCursor() method)
9474 - Added HitTest enum (to support sending WM_SETCURSOR message)
9476 - Now sends the WM_SETCURSOR message
9477 - Implemented new cursor methods
9478 * XplatUIOSX.cs: Stubbed new cursor methods
9480 - Implemented new cursor methods
9481 - Added GetSystemMetrics function and associated enumeration
9483 2005-01-15 Peter Bartok <pbartok@novell.com>
9486 - WndProc(): Now handles EnableNotifyMessage
9487 - SelectNextControl(): Fixed bug where if no child or sibling
9488 controls exist we looped endlessly
9490 2005-01-14 Jackson Harper <jackson@ximian.com>
9492 * TreeView.cs: Recalculate the tab pages when a new one is added
9493 so that the proper bounding rects are created.
9495 2005-01-14 Jackson Harper <jackson@ximian.com>
9497 * TreeView.cs: Draw a gray box instead of a grip in the lower
9498 right hand corner when there are both horizontal and vertical
9501 2005-01-14 Jackson Harper <jackson@ximian.com>
9503 * Control.cs: When erasing backgrounds use FromHwnd instead of
9504 FromHdc when there is a NULL wparam. This occurs on the X driver.
9505 * XplatUIX11.cs: Set the wparam to NULL.
9507 2005-01-13 Jackson Harper <jackson@ximian.com>
9509 * PictureBox.cs: Implement missing methods (except ToString, need
9510 to test that on windows) and events. When visibility is changed we
9511 need to redraw the image because the buffers are killed. When size
9512 is changed refresh if the sizemode needs it.
9514 2005-01-13 Peter Bartok <pbartok@novell.com>
9516 * Control.cs (SelectNextControl): Was using wrong method to select
9519 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9521 * ComboBox.cs: fixes dropstyle
9523 2005-01-13 Peter Bartok <pbartok@novell.com>
9526 - Implemented Select() override
9527 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9528 - Now sets keyboard focus on startup
9529 * Control.cs (SelectNextControl): Now properly handles directed=true
9531 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9532 - Added (really bad) focus rectangle (mostly for testing)
9533 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9534 to enforce redraw on focus changes
9535 * ContainerControl.cs:
9536 - Fixed detection of Shift-Tab key presses
9537 - Fixed traversal with arrow keys
9538 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9539 gonna keep this or if it's complete yet
9541 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9543 * ComboBox.cs: missing properties, fixes
9545 2005-01-13 Peter Bartok <pbartok@novell.com>
9547 * Panel.cs (ctor): Setting Selectable window style to off
9548 * Splitter.cs (ctor): Setting Selectable window style to off
9549 * GroupBox.cs (ctor): Setting Selectable window style to off
9550 * Label.cs (ctor): Setting Selectable window style to off
9552 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9554 * UpDownBase.cs (InitTimer): If the timer has been already
9557 Use a TextBox instead of a Label.
9559 2005-01-12 Jackson Harper <jackson@ximian.com>
9561 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9562 draw the connecting node lines (when ShowLines is true).
9563 * TreeNode.cs: The nodes index can now be updated. This is used
9564 when a node collection is sorted.
9565 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9566 insert or an existing unsorted node collection can be sorted.
9568 2005-01-12 Peter Bartok <pbartok@novell.com>
9570 * ContainerControl.cs: Implemented ProcessDialogKeys()
9572 2005-01-12 Peter Bartok <pbartok@novell.com>
9575 - Implemented SelectNextControl() method
9576 - Several focus related bug fixes
9577 - Fixed Docking calculations to match MS documentation and
9580 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9582 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9585 2005-01-12 Peter Bartok <pbartok@novell.com>
9588 - Fixed broken Contains() method
9589 - Implemented GetNextControl() method. Finally. This is the pre-
9590 requisite for focus handling.
9592 2005-01-12 Peter Bartok <pbartok@novell.com>
9594 * OSXStrucs.cs: Added
9596 2005-01-12 Peter Bartok <pbartok@novell.com>
9599 - Removed PeekMessageFlags
9600 - Implemented SetWindowStyle() method
9601 * XplatUIStructs.cs: Added PeekMessageFlags
9602 * X11Structs: Added missing border_width field to XWindowChanges struct
9604 - PeekMessage: Now throws exception if flags which are not yet
9605 supported are passed
9606 - Implemented SetWindowStyle() method
9607 - Fixed SetZOrder to handle AfterHwnd properly
9608 * XplatUI.cs: Added SetWindowStyle() method
9609 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9611 - Implemented UpdateStyles() method
9612 - Implemented UpdateZOrder() method
9613 * XplatUIOSX.cs: Added SetWindowStyle() stub
9615 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9617 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9621 2005-01-11 Jackson Harper <jackson@ximian.com>
9623 * TreeView.cs: Still need to draw lines to siblings even if out of
9624 the current node is out of the clip.
9626 2005-01-11 Jackson Harper <jackson@ximian.com>
9628 * TreeView.cs: When setting the hbar/vbar/grip position use
9629 SetBounds so that perform layout is only called once. Also suspend
9630 and resume layout so layout is only done once for all controls.
9631 - Removed some debug fluff
9632 * SizeGrip.cs: Call base implmentation in overriding methods.
9633 - When visibility is changed the drawing buffers are killed so we
9636 2005-01-11 Jackson Harper <jackson@ximian.com>
9638 * TreeView.cs: Calculate the open node count while drawing. This
9639 saves us an entire tree traversal for every paint operation. Use
9640 a member var for the open node count so less vars are passed around.
9642 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9645 - fixed selection to use mousemove, not mouse polling on timer
9646 * ThemeWin32Classic.cs
9647 - removed redundant unused variable "no_more_content"
9649 2005-01-11 Peter Bartok <pbartok@novell.com>
9651 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9652 are pending, so it now calls PeekMessage instead of GetMessage;
9653 implemented a incomplete version of PeekMessage
9655 2005-01-11 Peter Bartok <pbartok@novell.com>
9657 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9659 * TextBoxBase.cs: Added sending of TextChanged event
9661 2005-01-10 Jackson Harper <jackson@ximian.com>
9663 * TreeView.cs: Try not to draw outside the clipping rectangle on
9666 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9668 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9670 2005-01-10 Jackson Harper <jackson@ximian.com>
9673 - Implement fast scrolling. Now only the newly
9674 exposed nodes are drawn and the old image is moved using the
9675 XplatUI::ScrollWindow method.
9676 - Factor in height of nodes when calculating whether or not the
9677 node is in the clipping rect.
9679 2005-01-10 Jackson Harper <jackson@ximian.com>
9681 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9683 2005-01-10 Peter Bartok <pbartok@novell.com>
9685 * Application.cs: Added temporary hack to resolve all our resize
9686 required issues on startup. This will get fixed properly at
9687 some point in the future
9689 2005-01-10 Jackson Harper <jackson@ximian.com>
9691 * SizeGrip.cs: New internal class that is used as a sizing
9692 grip control...hence the name.
9694 2005-01-10 Peter Bartok <pbartok@novell.com>
9696 * Control.cs: Implemented proper TabIndex handling, now assigning
9697 a tabindex when a control is added to a container
9698 * GroupBox.cs (ctor): Now sets the Container style bit, required
9699 for Control.GetNextControl()
9701 2005-01-09 Jackson Harper <jackson@ximian.com>
9703 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9705 2005-01-09 Peter Bartok <pbartok@novell.com>
9707 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9708 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9709 an overload for ScrollWindow to allow only scrolling a rectangle
9711 2005-01-09 Peter Bartok <pbartok@novell.com>
9714 - Implemented SetDesktopBounds method
9715 - Implemented SetDesktopLocation method
9717 2005-01-08 Jackson Harper <jackson@ximian.com>
9719 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9720 the node count has changed, this removes to VScroll::Refresh calls
9723 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9725 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9727 2005-01-07 Jackson Harper <jackson@ximian.com>
9729 * TreeNode.cs: Just update the single node when it is
9730 checked. Don't refresh after toggling, the Expand/Collapse already
9732 * TreeView.cs: Respect clipping a little more when drawing. Try
9733 not to redraw things that don't need to be redrawn. Just hide the
9734 scrollbars when they are no longer needed instead of removing
9735 them, so they don't have to be created again and again.
9737 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9739 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9740 coordinates to window space to place the caret properly, FIXED.
9741 Implement GetWindowState & SetWindowState
9743 2005-01-06 Peter Bartok <pbartok@novell.com>
9746 - Implemented ClientSize property
9747 - Implemented DesktopBounds property
9748 - Implemented DesktopLocation property
9749 - Implemented IsRestrictedWindow property
9750 - Implemented Size property
9751 - Implemented TopLevel property
9752 - Implemented FormWindowState property
9754 - Implemented GetTopLevel() method
9755 - Implemented SetTopLevel() method
9756 * X11Structs.cs (Atom):
9757 - Added AnyPropertyType definition
9758 - Added MapState definiton and updated XWindowAttribute struct
9759 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9760 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9761 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9763 - Implemented GetWindowState() and SetWindowState() methods
9764 - Fixed Win32GetWindowLong return type
9766 - Introduced central function for sending NET_WM messages
9767 - Implemented GetWindowState() and SetWindowState() methods
9768 * TextBoxBase.cs (set_Lines):
9769 - Now uses Foreground color for text added via Text property (Duh!)
9770 - Added code to remember programmatically requested size (fixes
9771 behaviour when Multiline is set after Size)
9772 - Added AutoSize logic
9774 2005-01-06 Jackson Harper <jackson@ximian.com>
9776 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9778 2005-01-06 Jackson Harper <jackson@ximian.com>
9780 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9783 2005-01-06 Jackson Harper <jackson@ximian.com>
9785 * ScrollableControl.cs: Lazy init the scrollbars.
9787 2005-01-06 Jackson Harper <jackson@ximian.com>
9789 * Theme.cs: Speed up getting pens and solid brushes, by using
9790 their ARGB as a hash instead of tostring and not calling Contains.
9792 2005-01-06 Peter Bartok <pbartok@novell.com>
9795 - Implemented OnActivated and OnDeactivate event trigger
9796 - Implemented Activate() method
9797 - Fixed ShowDialog() to activate the form that was active before
9798 the dialog was shown
9800 - Added global active_window var that tracks the currently active
9802 - Now always grabs Property changes from the root window to always
9803 catch changes on the active window property
9804 - Added code to PropertyNotify handler to send Active/Inactive
9805 messages when state changes. This puts X11 and Win32 en par on
9806 WM_ACTIVATE notifications (except for double notifications when
9807 the user clicks away from our modal window to another one of our
9810 2005-01-05 Jackson Harper <jackson@ximian.com>
9812 * ImageList.cs: Implment ctor
9814 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9816 * XplatUIOSX.cs: Implement Activate/SetTopmost
9818 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9820 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9822 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9824 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9826 2005-01-05 Peter Bartok <pbartok@novell.com>
9828 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9829 XplatUIOSX.cs: Added GetActive method to return the currently
9830 active window for the application (or null, if none is active)
9832 - Implemented ActiveForm
9833 - Commented out owner assignment for modal dialogs (causes problems
9834 on Win32, since the owner will be disabled)
9835 - Reworked some Active/Focus handling (still incomplete)
9836 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9837 (causes problems on Win32, since the owner will be disabled)
9838 * IWin32Window: Added ComVisible attribute
9840 2005-01-05 Peter Bartok <pbartok@novell.com>
9842 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9843 required XplatUI functions.
9845 2005-01-05 Peter Bartok <pbartok@novell.com>
9847 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9848 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9849 to implement focus and activation handling; still incomplete and
9852 2005-01-04 Peter Bartok <pbartok@novell.com>
9854 * TextBoxBase.cs: Changed access level for Document property to
9855 match switch to internal for TextControl
9857 2005-01-04 Peter Bartok <pbartok@novell.com>
9859 * AccessibleObject: Added ComVisible attribute
9861 2005-01-04 Jackson Harper <jackson@ximian.com>
9863 * X11Keyboard.cs: Remove unneeded var.
9865 2005-01-04 Jackson Harper <jackson@ximian.com>
9867 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9869 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9870 ClientMessage. This makes apps exit cleanly (more often).
9872 2005-01-04 Jackson Harper <jackson@ximian.com>
9874 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9875 handling focus, return correct colors and fonts,
9876 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9877 handle selection, horizontal scrolling, and mouse interaction.
9879 2005-01-04 Peter Bartok <pbartok@novell.com>
9881 * ICommandExecutor.cs: Added
9882 * IDataGridColumnStyleEditingNotificationService.cs: Added
9883 * IFeatureSupport.cs: Added
9884 * IFileReaderService.cs: Added
9885 * IDataObject.cs: Added ComVisible attribute
9886 * AmbientProperties.cs: Added
9887 * BaseCollection.cs: Added missing attributes
9888 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9889 * BaseCollection.cs: Added missing attributes
9890 * Binding.cs: Added TypeConverter attribute
9891 * BindingContext.cs: Added DefaultEvent attribute
9892 * BindingsCollection.cs: Added DefaultEvent attribute
9893 * Button.cs: Added DefaultValue attribute
9894 * DragEventArgs.cs: Added ComVisible attribute
9895 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9896 * KeyEventArgs.cs: Added ComVisible attribute
9897 * KeyPressEventArgs.cs: Added ComVisible attribute
9898 * MouseEventArgs.cs: Added ComVisible attribute
9899 * NavigateEventArgs.cs: Added
9900 * NavigateEventHandler.cs: Added
9901 * FeatureSupport.cs: Added
9902 * OSFeature.cs: Added
9903 * Theme.cs: Added abstract Version property to support OSFeature
9904 * ThemeWin32Classic.cs: Added Version property to
9905 support OSFeature.Themes
9906 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9907 the proper styles to avoid background drawing are set, also doesn't
9909 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9910 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9911 * ScrollEventArgs.cs: Added ComVisible attribute
9912 * SplitterEventArgs.cs: Added ComVisible attribute
9913 * AccessibleSelection.cs: Added Flags attribute
9914 * Appearance.cs: Added ComVisible attribute
9915 * Border3DSide.cs: Added ComVisible attribute
9916 * Border3DStyle.cs: Added ComVisible attribute
9917 * BorderStyle.cs: Added ComVisible attribute
9918 * DragAction.cs: Added ComVisible attribute
9919 * ErrorBlinkStyle.cs: Added
9920 * ScrollEventType.cs: Added ComVisible attribute
9921 * AnchorStyles.cs: Added Editor attribute
9922 * DockStyle.cs: Added Editor attribute
9923 * HorizontalAlignment.cs: Added ComVisible attribute
9924 * HelpEventArgs.cs: Added ComVisible attribute
9925 * PaintEventArgs.cs: Added IDisposable
9927 2005-01-04 Peter Bartok <pbartok@novell.com>
9929 * TextControl.cs: Switched Line, LineTag and Document classes to
9932 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9934 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9935 Simple mode, fixes, IntegralHeight, etc.
9937 2005-01-04 Peter Bartok <pbartok@novell.com>
9939 * TextBoxBase.cs: Using proper font variable now
9941 2005-01-04 Peter Bartok <pbartok@novell.com>
9943 * Form.cs (ShowDialog): Set parent to owner, if provided
9944 * GroupBox.cs: Removed unused vars
9946 - Added GetHashCode() for Document and LineTag classes
9947 - Removed unused variables
9948 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9949 to allow translation between continuous char position and line/pos
9950 * CheckBox.cs: Removed vars that are provided by base class
9951 * RadioButton.cs: Removed vars that are provided by base class, added
9952 new keyword where required
9953 * LinkLabel.cs: Added new keyword where required
9954 * Control.cs (WndProc): Removed unused variable
9956 - Finished SelectionLength property
9957 - Implemented SelectionStart property
9958 - Implemented Text property
9959 - Removed unused vars
9960 * MessageBox.cs: Added new keyword where required
9961 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9963 * MenuAPI.cs: Added new keyword where required
9964 * ButtonBase.cs: Removed vars that are provided by base class, added
9965 new keyword where required
9966 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9967 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9969 * Application.cs (Run): Now triggers the ThreadExit event
9970 * CommonDialog.cs: Added new keyword where required; now properly sets
9971 parent (owner) for dialog
9972 * XplatUIX11.cs: Commented out unused vars
9973 * StatusBar.cs: Fixed signature for Text property
9974 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9976 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9978 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9979 TrackBar.cs, MonthCalendar.cs: remove unused vars
9981 2005-01-03 Jackson Harper <jackson@ximian.com>
9983 * ThemeWin32Classic.cs:
9984 * X11Keyboard.cs: Remove unused vars.
9986 2005-01-03 Peter Bartok <pbartok@novell.com>
9989 - set_Text: Tied into TextControl
9990 - set_TextAlignment: Tied into TextControl
9992 - Added alignment properties and implemented alignment handling
9993 and drawing (still has a bug, not generating proper expose events)
9994 - Added new Line() constructor to allow passing the line alignment
9995 - Fixed selection setting, properly handling end<start now
9996 - Added aligment considerations to RecalculateDocument()
9998 - Now properly enforces control height for single line controls
9999 - Added support for CharacterCasing
10000 - Added IsInputKey override
10001 - Fixed Keys.Enter logic
10002 - Added SetBoundsCore override
10003 - Fixed mouse selection handling
10005 2005-01-03 Jackson Harper <jackson@ximian.com>
10008 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10009 - Checkboxes are always aligned to the bottom of the node,
10010 regardless of item height.
10011 - Use the node bounds to draw the text so we can center it when
10012 the item height is greater then the font height.
10013 - Node::Bounds are only the text part of the node.
10014 * TreeNode.cs: New method to combine collapsing and unchecking all
10017 2005-01-02 Jackson Harper <jackson@ximian.com>
10019 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10020 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10021 tree when a check is changed. TODO: Only refresh the checked node.
10023 2004-12-30 Jackson Harper <jackson@ximian.com>
10025 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10026 * TreeNode.cs: When collapsing make sure to never collapse the
10029 2004-12-29 Jackson Harper <jackson@ximian.com>
10031 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10033 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10035 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10037 2004-12-28 Peter Bartok <pbartok@novell.com>
10039 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10042 2004-12-28 Peter Bartok <pbartok@novell.com>
10044 * Control.cs (WndProc): Added WM_HELP handler, now generates
10045 HelpRequested event
10046 * Form.cs: Added HelpButton property and required support code
10047 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10049 2004-12-28 Peter Bartok <pbartok@novell.com>
10052 - Made DialogForm.owner variable internal
10053 - Added check to ensure owner form is set before setting
10054 owner properties in CreateParams
10056 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10058 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10059 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10060 GetCursorPos. Fix major visibility issues. Rework the windowing
10061 system to support borderless/titleless windows (implements menus).
10062 Fix GetWindowPos. Implement initial background color support for
10065 2004-12-28 Peter Bartok <pbartok@novell.com>
10067 * Form.cs (get_CreateParams): Make sure we have an owner before using
10068 the owner variable. Implement proper default if no owner exists
10070 2004-12-28 Peter Bartok <pbartok@novell.com>
10072 * In preparation for making Managed.Windows.Forms the default build target
10073 for System.Windows.Forms, the following stubbed files were added.
10074 Dialogs are currently being implemented by contributors and are only
10075 short-term place holders.
10076 * ColorDialog.cs: Initial check-in (minmal stub)
10077 * DataGrid.cs: Initial check-in (minimal stub)
10078 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10079 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10080 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10081 * FontDialog.cs: Initial check-in (minimal stub)
10082 * FileDialog.cs: Initial check-in (minimal stub)
10083 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10084 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10085 * OpenFileDialog: Initial check-in (minimal stub)
10086 * IComponentEditorPageSite.cs: Initial check-in
10087 * Splitter.cs: Initial check-in (for Jackson)
10088 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10089 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10090 * TextBox.cs: Initial check-in; still needs some wiring to
10091 TextControl backend
10092 * Form.cs: Implemented ControlBox property
10093 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10094 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10095 * TextControl.cs: Added selection functionality; added todo header
10097 - Implemented Lines property
10098 - Implemented TextHeight property
10099 - Implemented SelectedText property
10100 - Implemented SelectionLength property
10101 - Implemented SelectAll method
10102 - Implemented ToString method
10103 - Removed and cleaned up some debug code
10104 - Implemented (still buggy) mouse text selection
10106 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10108 * ComboBox.cs: Complete DropDownList implementation, fixes.
10110 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10112 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10113 * ComboBoxStyle.cs: ComboBoxStyle enum
10114 * ComboBox.cs: Initial work on ComboBox control
10116 2004-12-21 Peter Bartok <pbartok@novell.com>
10118 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10119 forward so that anything that creates a window gets the default,
10120 also no longer uses Visible property in CreateParams to avoid
10121 walking up the parent chain and possibly get the wrong visible
10122 status. Fixed IsVisible to no longer walk up to the parent.
10124 2004-12-21 Peter Bartok <pbartok@novell.com>
10126 * Form.cs (ShowDialog): Unset modality for the proper window
10128 2004-12-20 Peter Bartok <pbartok@novell.com>
10130 * CommonDialog.cs: Initial check-in
10132 2004-12-20 Peter Bartok <pbartok@novell.com>
10134 * Control.cs (Visible): Now uses the parent window instead of the
10135 client area window for the property
10138 - ShowDialog(): Now uses the proper window for modality
10139 - The default visibility state for the form parent is now false. This
10140 will prevent the user from seeing all the changes to the form and
10141 its controls before the application hits Application.Run()
10142 - Removed some stale commented out code
10145 - Added FindWindow() method to have a method to check for existence
10147 - Added ability to override default exception handling (for example
10148 when debugging with VS.Net; to do this the ExternalExceptionHandler
10150 - Removed some useless debug output
10153 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10154 not working as expected
10155 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10156 property to allow switching back to the modal window if focus is
10157 given to another one of our windows (Application Modal)
10158 - Now only sets override_redirect if we create a window
10160 - Moved EventMask selection before mapping of newly created window
10161 so we can catch the map event as well
10162 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10163 - Added various Atom related DllImports
10164 - Implemented Exit() method
10165 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10166 in the CreateParams
10168 * MessageBox.cs: Now properly deals with the FormParent window by
10169 providing an override the FormParent CreateParams property to
10170 set as POPUP instead of OVERLAPPED window.
10172 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10174 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10175 Minor code cleanup.
10177 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10179 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10181 2004-12-18 Peter Bartok <pbartok@novell.com>
10183 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10184 implementing SetModal() method
10186 2004-12-18 Peter Bartok <pbartok@novell.com>
10188 * X11Structs.cs (XGCValues): Fixed type of function element
10189 * XplatUI.cs: Added ScrollWindow() method
10190 * XplatUIDriver.cs: Added ScrollWindow() abstract
10191 * XplatUIWin32.cs: Implemented ScrollWindow() method
10192 * XplatUIX11.cs: Implemented ScrollWindow() method
10193 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10195 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10197 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10198 Some more keyboard support (INCOMPLETE)
10200 2004-12-17 Peter Bartok <pbartok@novell.com>
10203 - Added color attribute to line tags.
10204 - Added color argument to all functions dealing with tags
10205 - Added color argument support to various functions
10206 - Fixed miss-calculation of baseline/shift in certain circumstances
10208 * TextBoxBase.cs: Added new color option to test code
10210 2004-12-17 Jackson Harper <jackson@ximian.com>
10213 * MonthCalendar.cs: Signature fixes
10215 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10217 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10218 keyboard event moved it. Create a new graphics context for each paint resolves this
10220 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10222 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10223 Make caret exist and go blink blink. Initial keyboard support.
10224 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10227 2004-12-17 Jackson Harper <jackson@ximian.com>
10229 * XplatUIStructs.cs: Updated set of virtual keycodes.
10230 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10232 2004-12-17 Jackson Harper <jackson@ximian.com>
10234 * XplatUIX11.cs: Prune old keyboard code.
10236 2004-12-17 Jackson Harper <jackson@ximian.com>
10238 * XplatUIX11.cs: When generating mouse wparams get the modifier
10239 keys from the ModifierKeys property.
10241 2004-12-17 Jackson Harper <jackson@ximian.com>
10243 * X11Keyboard.cs: Send up/down input when generating
10244 messages. Remove some unused vars.
10246 2004-12-17 Jackson Harper <jackson@ximian.com>
10249 * TreeView.cs: get rid of warnings.
10251 2004-12-17 Jackson Harper <jackson@ximian.com>
10253 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10255 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10257 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10258 CheckedListBox.cs: Implementation
10260 2004-12-17 Peter Bartok <pbartok@novell.com>
10262 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10264 2004-12-16 Peter Bartok <pbartok@novell.com>
10267 - InsertCharAtCaret(): Fixed start pos fixup
10268 - CaretLine_get: No longer derives the line from the tag, the tag
10269 could be stale if lines in the document have been added or deleted
10270 - RebalanceAfterDelete(): Fixed bug in balancing code
10271 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10272 - Line.Streamline(): Now can also elminate leading empty tags
10273 - DumpTree(): Added a few more tests and prevented exception on
10275 - Added Debug section for Combining lines
10276 - Delete(): Now copies all remaining properties of a line
10279 - Left mousebutton now sets the caret (and middle button still acts
10280 as formatting tester, which must go away soon)
10281 - Added Debug section for Deleting/Combining lines
10282 - Fixed calculations for UpdateView after Combining lines
10284 2004-12-16 Peter Bartok <pbartok@novell.com>
10286 * TextControl.cs: Now properly aligns text on a baseline, using the
10287 new XplatUI.GetFontMetrics() method. Simplified several calculations
10288 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10291 2004-12-16 Peter Bartok <pbartok@novell.com>
10293 * XplatUI.cs: Added GetFontMetrics() method
10294 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10295 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10296 into libgdiplus, our private GetFontMetrics function
10297 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10298 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10300 2004-12-16 Jackson Harper <jackson@ximain.com>
10302 * XplatUIStruct.cs: Add enum for dead keys
10303 * X11Keyboard.cs: Map and unmap dead keys.
10305 2004-12-16 Jackson Harper <jackson@ximian.com>
10307 * X11Keyboard.cs: Detect and use the num lock mask.
10309 2004-12-16 Peter Bartok <pbartok@novell.com>
10311 * Control.cs (CreateGraphics): Added check to make sure the
10312 handle of the window exists before calling Graphics.FromHwnd()
10314 2004-12-16 Peter Bartok <pbartok@novell.com>
10316 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10317 contains a lot of code that's not supposed to be there for the
10318 real thing, but required for developing/testing the textbox
10321 2004-12-16 Peter Bartok <pbartok@novell.com>
10324 - Fixed Streamline method
10325 - Added FindTag method to Line
10326 - Added DumpTree method for debugging
10327 - Added DecrementLines() method for deleting lines
10328 - Fixed UpdateView to update the cursor to end-of-line on single-line
10330 - Added PositionCaret() method
10331 - Fixed MoveCaret(LineDown) to move into the last line, too
10332 - Added InsertChar overload
10333 - Fixed InsertChar tag offset calculations
10334 - Added DeleteChar() method
10335 - Added Combine() method for folding lines
10336 - Fixed Delete() method, no longer allocates wasted Line object and
10337 now copies all properties when swapping nodes
10338 - Delete() method now updates document line counter
10340 2004-12-15 Jackson Harper <jackson@ximian.com>
10342 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10343 * X11Keyboard.cs: Expose the currently selected modifier keys
10344 through a property.
10346 2004-12-15 Peter Bartok <pbartok@novell.com>
10348 * TextControl.cs: Initial check-in. Still incomplete
10350 2004-12-15 Jackson Harper <jackson@ximian.com>
10353 * TreeView.cs: Fix build on csc (second time today ;-))
10355 2004-12-15 Jackson Harper <jackson@ximian.com>
10357 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10358 is calculated and use this for click testing.
10359 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10361 2004-12-15 Jackson Harper <jackson@ximian.com>
10363 * TreeView.cs: Pass the nodes image index to the image list when
10364 drawing that image.
10366 2004-12-15 Jackson Harper <jackson@ximian.com>
10368 * X11Keyboard.cs: Set messages hwnd.
10369 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10370 post_message calls.
10372 2004-12-15 Jackson Harper <jackson@ximian.com>
10374 * X11Keyboard.cs: Fix to compile with csc.
10376 2004-12-15 Jackson Harper <jackson@ximian.com>
10378 * X11Structs.cs: Add key mask values
10379 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10380 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10381 down/up foo into WM_CHAR foo
10382 * KeyboardLayouts.cs: Common keyboard layouts
10383 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10384 post messages into the main queue.
10386 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10388 * Button.cs: implement ProcessMnemonic
10389 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10391 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10392 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10394 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10396 * MonthCalendar.cs: Implemented click-hold for next/previous month
10399 2004-12-11 Peter Bartok <pbartok@novell.com>
10402 - Added XKeyboardState (moved from XplatUIX11.cs)
10403 - Added XCreateGC related enums and structures
10404 - Added GXFunction for XSetFunction
10406 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10408 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10409 CaretVisible() calls
10411 * ToolTip.cs: Added code to prevent stealing focus from app windows
10413 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10414 DestroyCaret, SetCaretPos and CaretVisible)
10417 - Added implementation for caret functions
10418 - Moved hover variables into a struct, to make it a bit easier
10419 on the eyes and to debug
10420 - Removed XKeyboardState (moved to XplatUIX11.cs)
10421 - Moved Keyboard properties into the properties region
10423 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10424 call to get a graphics context for our control
10426 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10428 * TreeView.cs: Fixed bug. No matter what color was set it would always
10429 return SystemColors.Window
10431 * XplatUIWin32.cs: Implemented caret overrides
10433 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10435 * ListBox.cs: fire events, implement missing methods and properties,
10438 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10440 * MonthCalendar.cs: invalidation bug fixing
10441 * ThemeWin32Classic.cs: paint fixing
10443 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10445 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10446 prepare the CGContextRef there now.
10448 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10450 * MonthCalendar.cs:
10451 - optimisationL only invalidate areas that have changed
10452 * ThemeWin32Classic.cs:
10453 - only paint parts that intersect with clip_area
10455 2004-12-09 Peter Bartok <pbartok@novell.com>
10457 * Application.cs: Undid changes from r37004 which cause problems
10460 2004-12-09 Ravindra <rkumar@novell.com>
10462 * ToolBar.cs: Added support for displaying ContextMenu
10463 attached to a button on ToolBar.
10464 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10467 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10469 * Label.cs: autosize works in text change and removes unnecessary
10472 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10474 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10477 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10479 * XplatUIOSX.cs: Added mouse move/click/grab support
10480 Remove some debugging WriteLines not needed anymore.
10481 Add window resizing/positioning.
10482 Fix visibility on reparenting.
10484 2004-12-08 Peter Bartok <pbartok@novell.com>
10486 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10488 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10490 * XplatUIOSX.cs: Initial checkin
10491 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10493 2004-12-03 Ravindra <rkumar@novell.com>
10495 * ListView.cs: Added some keybindings and fixed scrolling.
10496 ScrollBars listen to ValueChanged event instead of Scroll
10497 Event. This would let us take care of all changes being
10498 done in the scrollbars' values programmatically or manually.
10499 * ListView.cs (CanMultiselect): Added a check for shift key.
10500 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10501 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10502 of ListViewSubItemCollection as well.
10504 2004-12-06 Peter Bartok <pbartok@novell.com>
10506 * Control.cs (Parent): Added check and exception to prevent
10509 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10511 * ListBox.cs: implemented clipping, selection single and multiple,
10514 2004-12-03 Ravindra <rkumar@novell.com>
10516 * ListView.cs (ListView_KeyDown):
10517 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10518 when CTRL key is pressed.
10519 * ListViewItem.cs (Selected): Fixed setting the property.
10521 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10523 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10525 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10526 MinimizeBox, ShowInTaskbar, TopMost properties.
10528 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10529 will be implemented).
10531 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10533 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10535 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10538 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10540 * TreeView.cs: BackColor is Colors.Window.
10542 2004-12-01 Jackson Harper <jackson@ximian.com>
10544 * TreeView.cs: When resizing the tree if the user is making it
10545 smaller we don't get expose events, so we need to handle adding
10546 the horizontal scrollbar in the size changed handler as well as
10547 the expose handler.
10549 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10551 * DrawItemState.cs: fixes wrong enum values
10553 2004-12-01 Jackson Harper <jackson@ximian.com>
10555 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10557 2004-12-01 Jackson Harper <jackson@ximian.com>
10559 * NodeLabelEditEventArgs.cs:
10560 * NodeLabelEditEventHandler.cs:
10561 * OpenTreeNodeEnumerator.cs:
10563 * TreeNodeCollection.cs:
10565 * TreeViewAction.cs:
10566 * TreeViewCancelEventArgs.cs:
10567 * TreeViewCancelEventHandler.cs:
10568 * TreeViewEventArgs.cs:
10569 * TreeViewEventHandler.cs: Initial implementation.
10571 2004-12-01 Ravindra <rkumar@novell.com>
10573 * ListView.cs (CalculateListView): Fixed scrolling related
10574 calculations. Also, removed some debug statements from other
10576 * ListViewItem.cs: Changed access to 'selected' instance variable
10577 from private to internal.
10578 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10580 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10582 * ThemeWin32Classic.cs: remove cache of brush and pens for
10583 specific controls and use the global system, fixes scrollbutton
10584 bugs (for small sizes, disabled, etc)
10586 * ScrollBar.cs: does not show the thumb for very small controls
10587 (as MS) and allow smaller buttons that the regular size
10589 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10591 * UpDownBase.cs: Add abstract methods for the interface.
10592 Add new virtual methods (need to be hooked up to TextEntry when it
10594 Add override methods for most features.
10595 Computes the size, forces the height of the text entry.
10597 * NumericUpDown.cs: Put here the current testing code.
10599 * Set eol-style property on all files that do not have mixed line
10600 endings, to minimize the future problems. There are still a few
10601 files with mixed endings, and someone should choose whether they
10602 want to move it or not.
10604 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10606 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10609 2004-11-30 Ravindra <rkumar@novell.com>
10611 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10612 drawing and replaced use of SystemColors by theme colors.
10613 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10614 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10615 same ListViewItem is being added more than once.
10617 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10619 * MonthCalendar.cs:
10620 - ControlStyles love to make the control not flicker
10622 2004-11-30 Peter Bartok <pbartok@novell.com>
10624 * CharacterCasing.cs: Added
10626 2004-11-29 Peter Bartok <pbartok@novell.com>
10628 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10629 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10630 I am removing these files as they conflict with already completed
10631 work. While it is fantastic to get contributions to MWF, I
10632 respectfully ask that everyone please coordinate their contributions
10633 through mono-winforms-list or #mono-winforms at this time. We're
10634 explicitly avoiding stubbing and don't want controls that don't have
10635 their basic functionality implemented in svn. Please also see
10636 http://www.mono-project.com/contributing/winforms.html
10639 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10641 * Application.cs (ModalRun): Don't hang after exit.
10643 * Theme.cs: New TreeViewDefaultSize property.
10645 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10646 with less hardcoded SystemColors constant.
10647 Implemented TreeViewDefaultSize.
10649 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10650 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10653 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10655 * MonthCalendar.cs:
10656 - Fix NextMonthDate and PrevMonthDate click moving calendar
10658 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10660 * MonthCalendar.cs:
10661 - Fix usage of ScrollChange Property when scrolling months
10663 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10665 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10666 - Fixes menu destroying
10667 - Support adding and removing items on already created menus
10669 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10671 * MonthCalendar.cs:
10672 - Re-worked all bolded dates handling to match win32
10673 * ThemeWin32Classic.cs:
10674 - Fixed rendering with bolded dates
10676 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10678 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10679 - Horizontal scroolbar
10684 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10686 * MonthCalendar.cs:
10687 - Fix Usage of MaxSelectionCount from SelectionRange
10688 - Fixed Shift + Cursor Selection
10689 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10690 - Fixed normal cursor selection to be compat with win32
10691 - Fixed Shift + Mouse Click selection
10693 2004-11-24 Peter Bartok <pbartok@novell.com>
10695 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10696 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10698 - CreatedKeyBoardMsg now updates keystate with Alt key
10699 - Added workaround for timer crash to CheckTimers, Jackson will
10700 develop a proper fix and check in later
10701 - Implemented DispatchMessage
10702 - Removed calling the native window proc from GetMessage (call
10703 now moved to DispatchMessage)
10705 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10706 the keydata (Fixes bug #69831)
10709 - (DispatchMessage): Switched to return IntPtr
10710 - Added DllImport for SetFocus
10712 2004-11-24 Ravindra <rkumar@novell.com>
10714 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10715 background drawing.
10716 * ListViewItem.cs: Fixed various properties, calculations
10717 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10718 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10719 and some internal properties. Fixed MouseDown handler and Paint
10722 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10724 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10726 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10728 * ContainerControl.cs: correct accidental check in of local changes
10730 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10732 * ThemeWin32Classic.cs:
10733 - Fixed Drawing Last month in grid (sometimes not showing)
10734 * MonthCalendar.cs:
10735 - Fixed title width calculation bug (makeing title small)
10737 2004-11-23 Peter Bartok <pbartok@novell.com>
10740 - Added generation of WM_MOUSEHOVER event
10741 - Added missing assignment of async_method atom
10742 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10744 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10746 * ThemeWin32Classic.cs:
10747 - Fixed Drawing of today circle when showtodaycircle not set
10748 - fixed drawing of first and last month in the grid (gay dates)
10749 * MonthCalendar.cs:
10750 - Fixed Drawing of today circle
10751 - Fixed drawing of grady dates
10752 - Fixed HitTest for today link when ShowToday set to false
10753 - Fixed DefaultSize to obey ShowToday
10755 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10757 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10758 * System.Windows.Forms/Theme.cs
10759 * MonthCalendar.cs: added for MonthCalendar
10760 * SelectionRange.cs: added for MonthCalendar
10761 * Day.cs: added for MonthCalendar: added for MonthCalendar
10762 * DateRangeEventArgs.cs: added for MonthCalendar
10763 * DateRangeEventHandler.cs: added for MonthCalendar
10765 2004-11-22 Ravindra <rkumar@novell.com>
10767 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10770 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10772 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10775 * NumericUpDown.cs: Added new implementation.
10776 * UpDownBase.cs: Added new implementation.
10778 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10781 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10784 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10787 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10789 * Timer.cs (Dispose): Should call the base dispose when
10792 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10794 * ScrollBar.cs: updates thumb position when max, min or increment
10797 2004-11-21 Ravindra <rkumar@novell.com>
10799 * ListView.cs: Implemented item selection, activation and
10800 column header style. Fixed properties to do a redraw, if
10801 required. Added support for MouseHover, DoubleClick, KeyDown
10802 and KeyUp event handling and some minor fixes.
10803 * ListViewItem.cs: Fixed constructor.
10804 * ThemeWin32Classic.cs: Improved drawing for ListView.
10806 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10808 * ThemeWin32Classic.cs: initial listbox drawing code
10809 * DrawMode.cs: new enumerator
10810 * ListControl.cs: stubbed class
10811 * ListBox.cs: initial implementation
10812 * Theme.cs: new methods definitions
10813 * SelectionMode.cs: new enumerator
10815 2004-11-17 Peter Bartok <pbartok@novell.com>
10817 * XplatUIWin32.cs: Added double-click events to the class style
10818 * Control.cs (WndProc):
10819 - Added handling of click-count to MouseDown/ MouseUp events.
10820 - Added handling of middle and right mouse buttons
10821 - Removed old debug code
10823 2004-11-17 Jackson Harper <jackson@ximian.com>
10825 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10827 2004-11-17 Ravindra <rkumar@novell.com>
10829 * ListView.cs: Added event handling for MouseMove/Up/Down.
10830 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10831 * ThemeWin32Classic.cs: We need to clear the graphics context and
10832 draw column header in a proper state.
10835 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10837 * Menu.cs: fixes signature
10839 2004-11-16 Peter Bartok <pbartok@novell.com>
10841 * XplatUIX11.cs (GetMessage): Implemented generation of
10842 double click mouse messages
10844 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10846 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10849 2004-11-11 Peter Bartok <pbartok@novell.com>
10851 * HandleData.cs: Added Visible property
10852 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10854 * XplatUIX11.cs: Removed old debug leftovers
10855 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10856 * Control.cs (WndProc): Removed old debug leftovers,
10857 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10858 needed WM_SIZE handling
10860 2004-11-11 Jackson Harper <jackson@ximian.com>
10862 * OwnerDrawPropertyBag.cs:
10863 * TreeViewImageIndexConverter.cs: Initial implementation
10865 2004-11-10 Jackson Harper <jackson@ximian.com>
10867 * ThemeWin32Classic.cs:
10868 * TabControl.cs: instead of moving tabs by the slider pos just
10869 start drawing at the tab that is offset by the slider. This way
10870 scrolling always moves by exactly one tab.
10872 2004-11-10 Jackson Harper <jackson@ximian.com>
10874 * TabControl.cs: You can only scroll left when the slider has
10875 already ben moved right.
10877 2004-11-10 Jackson Harper <jackson@ximian.com>
10879 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10882 2004-11-10 Jackson Harper <jackson@ximian.com>
10884 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10887 2004-11-09 Jackson Harper <jackson@ximian.com>
10889 * TabControl.cs (CalcXPos): New helper method so we can determine
10890 the proper place to start drawing vertical tabs.
10891 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10893 2004-11-09 Jackson Harper <jackson@ximian.com>
10895 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10896 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10897 and Bottom, left and right are illegal values for this and
10898 multiline is enabled when the alignment is set to left or right.
10899 (DrawTab): Each alignment block should draw the text itself now
10900 because Left requires special love. Also add rendering for Left
10903 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10905 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10906 does not destroy the windows, removes debugging messages
10908 2004-11-09 jba <jba-mono@optusnet.com.au>
10910 * ThemeWin32Classic.cs
10911 (DrawButtonBase): Fix verticle text rect clipping in windows
10912 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10913 rendering and incorrect text rect clipping
10914 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10915 rendering and incorrect text rect clipping
10917 2004-11-08 Jackson Harper <jackson@ximian.com>
10919 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10920 bottom when they are bottom aligned so the bottoms of the tabs get
10922 * TabControl.cs (DropRow): Move rows up instead of down when the
10923 tab control is bottom aligned.
10925 2004-11-08 13:59 pbartok
10928 - Added handling for various window styles
10929 - Added handling for popup windows
10930 - Added SetTopmost handling
10932 2004-11-08 13:55 pbartok
10935 - Added argument to SetTopmost method
10936 - Fixed broken ClientToScreen function
10938 2004-11-08 13:53 pbartok
10940 * XplatUIStructs.cs:
10941 - Added missing WS_EX styles
10943 2004-11-08 13:53 pbartok
10945 * XplatUI.cs, XplatUIDriver.cs:
10946 - Added argument to SetTopmost
10948 2004-11-08 13:52 pbartok
10951 - Added XSetWindowAttributes structure
10952 - Improved XWindowAttributes structure
10953 - Added SetWindowValuemask enum
10954 - Added window creation arguments enum
10955 - Added gravity enum
10956 - Added Motif hints structure
10957 - Added various Motif flags and enums
10958 - Added PropertyMode enum for property functions
10960 2004-11-08 13:50 pbartok
10963 - Fixed arguments for updated SetTopmost method
10965 2004-11-08 13:49 pbartok
10968 - Fixed arguments for updated SetTopmost function
10969 - Fixed usage of PointToClient
10971 2004-11-08 13:44 pbartok
10974 - Added Clipping of children and siblings
10976 2004-11-08 13:41 pbartok
10979 - Removed SetMenuBarWindow call. We do this in Form.cs
10981 2004-11-08 13:40 jackson
10983 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10984 scrolling jimmi in the correct location with bottom aligned tabs
10986 2004-11-08 13:36 pbartok
10988 * ContainerControl.cs:
10989 - Implemented BindingContext
10990 - Implemented ParentForm
10992 2004-11-08 12:46 jackson
10994 * TabControl.cs: Put bottom rendered tabs in the right location
10996 2004-11-08 07:15 jordi
10998 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11001 2004-11-05 17:30 jackson
11003 * TabControl.cs: When selected tabs are expanded make sure they
11004 don't go beyond the edges of the tab control
11006 2004-11-05 14:57 jackson
11008 * TabControl.cs: Reset show_slider so if the control is resized to
11009 a size where it is no longer needed it's not displayed anymore
11011 2004-11-05 13:16 jackson
11013 * TabControl.cs: Make tab pages non visible when added to the
11016 2004-11-05 12:42 jackson
11018 * TabControl.cs: Implement SizeMode.FillToRight
11020 2004-11-05 12:16 jackson
11022 * Control.cs: Do not call CreateHandle if the handle is already
11025 2004-11-05 11:46 jackson
11027 * TabControl.cs: Remove superflous call to CalcTabRows
11029 2004-11-05 09:07 jackson
11031 * XplatUIX11.cs: Update for Mono.Posix changes
11033 2004-11-05 07:00 ravindra
11035 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11038 2004-11-04 22:47 jba
11040 * ThemeWin32Classic.cs:
11041 - Fix Button rendering for FlatStyle = Flat or Popup
11042 - Fix RadioButton and CheckBox rendering when Appearance = Button
11043 (normal and flatstyle).
11044 - Correct outer rectangle color when drawing focus rectangle
11045 - Adjust button bounds to be 1 px smaller when focused
11046 - Make button not draw sunken 3d border when pushed (windows compat)
11047 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11048 - Offset the text in RadioButton and Checkbox when being rendered as
11050 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11052 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11053 - Fixed disabled text rendering for normally rendered radiobuttons
11055 2004-11-04 10:26 jackson
11057 * TabControl.cs: Recalculate tab rows when resizing
11059 2004-11-04 07:47 jordi
11061 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11062 collection completion, drawing issues, missing features
11064 2004-11-04 05:03 ravindra
11067 - We need to recalculate the Thumb area when
11068 LargeChange/maximum/minimum values are changed.
11069 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11070 than minimum. This is required to handle the case if large_change is
11071 more than max, and use LargeChange property instead of large_change
11073 - We return max+1 when large_change is more than max, like MS does.
11075 2004-11-04 04:29 ravindra
11077 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11078 - Changed default value signatures (prefixed all with ListView).
11079 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11081 - Fixed calculations for ListViewItem and implemented Clone()
11084 2004-11-04 04:26 ravindra
11086 * Theme.cs, ThemeWin32Classic.cs:
11087 - Changed default ListView values signatures (prefixed all with
11089 - Fixed default size values for VScrollBar and HScrollBar.
11090 - Fixed DrawListViewItem method.
11092 2004-11-04 04:05 ravindra
11094 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11096 2004-11-04 04:04 ravindra
11098 * ImageList.cs: Implemented the missing overload for Draw method.
11100 2004-11-03 19:29 jackson
11102 * TabControl.cs: Handle dropping rows on selection properly
11104 2004-11-03 11:59 jackson
11106 * TabControl.cs: remove debug code
11108 2004-11-03 11:52 jackson
11110 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11111 the scrolly widgerywoo
11113 2004-11-02 13:52 jackson
11115 * TabControl.cs: Resize the tab pages and tabs when the tab control
11118 2004-11-02 13:40 jackson
11120 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11121 selected tab to the bottom
11123 2004-11-02 13:39 jackson
11125 * TabPage.cs: Store the tab pages row
11127 2004-11-02 12:33 jordi
11129 * MenuItem.cs: fixes handle creation
11131 2004-11-02 11:42 jackson
11133 * TabControl.cs: signature fix
11135 2004-11-02 08:56 jackson
11137 * TabControl.cs: Calculate whether the tab is on an edge properly.
11138 Remove top secret debugging code
11140 2004-11-01 19:57 jackson
11142 * TabControl.cs: Add click handling, and proper sizing
11144 2004-11-01 19:47 jackson
11146 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11149 2004-11-01 19:39 jackson
11151 * TabPage.cs: add internal property to store the bounds of a tab
11154 2004-10-30 04:23 ravindra
11156 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11159 2004-10-30 04:21 ravindra
11161 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11162 fixed calculations.
11164 2004-10-30 03:06 pbartok
11167 - Removed extension of DllImported libs
11169 2004-10-29 09:55 jordi
11171 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11172 navigation, itemcollection completion, menu fixes
11174 2004-10-27 22:58 pbartok
11177 - Now throws a nice error message when no X display could be opened
11179 2004-10-26 13:51 jordi
11181 * ListView.cs: removes warning
11183 2004-10-26 03:55 ravindra
11185 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11186 ThemeWin32Classic.cs: Some formatting for my last checkins.
11188 2004-10-26 03:36 ravindra
11190 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11191 control and default values.
11193 2004-10-26 03:35 ravindra
11195 * Theme.cs: Added some default values for ListView control.
11197 2004-10-26 03:33 ravindra
11199 * ToolBar.cs: ToolBar should use the user specified button size, if
11200 there is any. Added a size_specified flag for the same.
11202 2004-10-26 03:33 ravindra
11204 * ColumnHeader.cs: Added some internal members and calculations for
11207 2004-10-26 03:32 ravindra
11209 * ListViewItem.cs: Calculations for ListViewItem.
11211 2004-10-26 03:31 ravindra
11213 * ListView.cs: Added some internal members and calculations for
11216 2004-10-22 13:31 jordi
11218 * MenuAPI.cs: speedup menus drawing
11220 2004-10-22 13:16 jackson
11222 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11225 2004-10-22 11:49 jackson
11229 2004-10-22 11:41 jackson
11231 * Control.cs: Check to see if the window should have its background
11232 repainted by X when drawing.
11234 2004-10-22 11:31 jackson
11236 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11237 clear is true, this way we do not get flicker from X repainting the
11240 2004-10-22 11:28 jackson
11242 * XEventQueue.cs: Queue properly
11244 2004-10-21 09:38 jackson
11246 * XEventQueue.cs: Fix access modifier
11248 2004-10-21 09:36 jackson
11250 * XEventQueue.cs: Don't loose messages
11252 2004-10-21 09:22 jackson
11254 * XEventQueue.cs: Don't loose messages
11256 2004-10-20 04:15 jordi
11258 * BootMode.cs: enum need it by SystemInfo
11260 2004-10-19 21:58 pbartok
11263 - Small sanity check
11265 2004-10-19 21:56 pbartok
11268 - Added private FormParentWindow class which acts as the container
11269 for our form and as the non-client area where menus are drawn
11270 - Added/Moved required tie-ins to Jordi's menus
11271 - Fixed/Implemented the FormStartPosition functionality
11273 2004-10-19 21:52 pbartok
11276 - Removed unneeded locals
11277 - Added code to all size and location properties to understand and
11278 deal with the parent container of Form
11280 2004-10-19 21:33 pbartok
11283 - Fixed to deal with new Form subclasses for menus
11285 2004-10-19 17:48 jackson
11287 * XEventQueue.cs: commit correct version of file
11289 2004-10-19 16:50 jackson
11291 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11293 2004-10-19 16:15 jordi
11295 * MenuAPI.cs: MenuBarCalcSize returns the height
11297 2004-10-19 08:31 pbartok
11300 - Added missing call to PreProcessMessage before calling OnXXXKey
11303 2004-10-19 00:04 ravindra
11305 * ToolTip.cs: Fixed constructor.
11307 2004-10-18 09:31 jordi
11309 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11311 2004-10-18 09:26 jordi
11313 * MenuItem.cs: fixes MenuItem class signature
11315 2004-10-18 08:56 jordi
11317 * MenuAPI.cs: prevents windows from showing in the taskbar
11319 2004-10-18 00:28 ravindra
11321 * ToolTip.cs: Suppressed a warning message.
11323 2004-10-18 00:27 ravindra
11325 * Control.cs: Default value of visible property must be true.
11327 2004-10-17 23:19 pbartok
11330 - Complete implementation
11332 2004-10-17 23:19 pbartok
11335 - Added EnableWindow method
11336 - Added SetModal stub
11337 - Added generation of WM_ACTIVATE message (still needs testing)
11338 - Added SetTopMost stub
11339 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11341 2004-10-17 23:17 pbartok
11344 - Removed VirtualKeys to XplatUIStructs
11345 - Implemented SetTopMost method
11346 - Implemented EnableWindow method
11347 - Bugfix in ScreenToClient()
11348 - Bugfixes in ClientToScreen()
11350 2004-10-17 22:51 pbartok
11352 * XplatUIStructs.cs:
11353 - Added WS_EX styles to WindowStyles enumeration
11355 2004-10-17 22:50 pbartok
11357 * XplatUI.cs, XplatUIDriver.cs:
11358 - Added method for enabling/disabling windows
11359 - Added method for setting window modality
11360 - Added method for setting topmost window
11362 2004-10-17 22:49 pbartok
11364 * ThemeWin32Classic.cs:
11365 - Added ToolTip drawing code
11367 2004-10-17 22:49 pbartok
11370 - Added ToolTip abstracts
11372 2004-10-17 22:47 pbartok
11375 - Fixed Form.ControlCollection to handle owner relations
11376 - Added Owner/OwnedForms handling
11377 - Implemented Z-Ordering for owned forms
11378 - Removed unneeded private overload of ShowDialog
11379 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11381 - Fixed Close(), had wrong default
11382 - Added firing of OnLoad event
11383 - Added some commented out debug code for Ownership handling
11385 2004-10-17 22:16 pbartok
11388 - Fixed/implemented flat list of controls
11390 2004-10-17 22:14 pbartok
11393 - Added code to simulate modal dialogs on Win32
11395 2004-10-17 16:11 jordi
11397 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11400 2004-10-17 13:39 jordi
11402 * MenuAPI.cs: menu drawing fixes
11404 2004-10-15 09:10 ravindra
11406 * StructFormat.cs: General Enum.
11408 2004-10-15 09:09 ravindra
11410 * SizeGripStyle.cs: Enum for Form.
11412 2004-10-15 09:08 ravindra
11414 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11415 in Theme for ListView.
11417 2004-10-15 09:06 ravindra
11419 * ColumnHeader.cs: Flushing some formatting changes.
11421 2004-10-15 09:05 ravindra
11423 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11426 2004-10-15 09:03 ravindra
11428 * ListView.cs: Implemented Paint method and fixed coding style.
11430 2004-10-15 07:34 jordi
11432 * MenuAPI.cs: fix for X11
11434 2004-10-15 07:32 ravindra
11436 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11437 - Renamed Paint() method to Draw() for clarity. Also, moved
11438 DrawImage() to OnPaint().
11440 2004-10-15 07:25 ravindra
11442 * CheckBox.cs, RadioButton.cs:
11443 - Removed Redraw (), we get it from ButtonBase.
11444 - Implemented Paint (), to do class specific painting.
11446 2004-10-15 07:16 ravindra
11449 - Redraw () is not virtual now.
11450 - Added an internal virtual method Paint (), so that
11451 derived classes can do their painting on their own.
11452 - Modified OnPaint () to call Paint ().
11454 2004-10-15 06:43 jordi
11456 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11457 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11459 2004-10-15 00:30 ravindra
11462 - MessageBox on windows does not have min/max buttons.
11463 This change in CreateParams fixes this on Windows. We
11464 still need to implement this windowstyle behavior in
11467 2004-10-14 05:14 ravindra
11470 - Changed Redraw () to do a Refresh () always.
11471 - Fixed the MouseMove event handling when mouse is pressed,
11472 ie drag event handling.
11473 - Replaced the usage of ToolBarButton.Pressed property to
11474 ToolBarButton.pressed internal variable.
11476 2004-10-14 05:10 ravindra
11478 * ToolBarButton.cs:
11479 - Added an internal member 'inside' to handle mouse move
11480 with mouse pressed ie mouse drag event.
11481 - Changed 'Pressed' property to return true only when
11482 'inside' and 'pressed' are both true.
11483 - Some coding style love.
11485 2004-10-14 00:17 ravindra
11487 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11490 2004-10-14 00:15 ravindra
11492 * ButtonBase.cs: Redraw () related improvements.
11494 2004-10-14 00:14 ravindra
11496 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11497 removed unnecessary calls to Button.Show () method.
11499 2004-10-13 17:50 pbartok
11503 - Removed destroying of window until we solve the problem of X
11504 destroying the window before us on shutdown
11506 2004-10-13 16:32 pbartok
11509 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11511 2004-10-13 14:18 pbartok
11514 - Added code to destroy the X window
11516 2004-10-13 14:18 pbartok
11519 - Added code to destroy a window
11521 2004-10-13 14:12 pbartok
11524 - Added the Redraw on Resize that got dropped in the last rev
11526 2004-10-13 09:06 pbartok
11528 * ThemeWin32Classic.cs:
11529 - Path from John BouAntoun:
11530 * Fix check rendering (centre correctly for normal style, offset
11531 correctly for FlatStyle).
11532 * Fix border color usage (use backcolor) for FlatStyle.Popup
11533 * Use checkbox.Capture instead of checkbox.is_pressed when
11534 rendering flatstyle states.
11536 2004-10-12 21:48 pbartok
11538 * ThemeWin32Classic.cs:
11539 - Removed all occurences of SystemColors and replaced them with the
11540 matching theme color
11542 2004-10-12 21:41 pbartok
11544 * ThemeWin32Classic.cs:
11545 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11546 him using the function for flatstyle drawing
11547 - Changed functions to use the new version of CPDrawBorder3D
11549 2004-10-12 21:15 pbartok
11552 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11553 match MS documentation. They need to return defined colors if the
11554 passed color matches the configured control color. Thanks to John
11555 BouAntoun for pointing this out.
11557 2004-10-12 20:57 pbartok
11560 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11563 2004-10-12 20:46 pbartok
11566 - Fix from John BouAntoun: Now properly sets the Appearance property
11568 2004-10-12 20:45 pbartok
11570 * ThemeWin32Classic.cs:
11571 - Fixes from John BouAntoun: now handles forecolors and backcolors
11572 for flatstyle rendered controls much better; It also fixes normal
11573 checkbox rendering when pushed or disabled.
11575 2004-10-08 02:50 jordi
11577 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11580 2004-10-07 08:56 jordi
11582 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11584 2004-10-06 03:59 jordi
11586 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11587 XplatUIWin32.cs: removes warnings from compilation
11589 2004-10-05 12:23 jackson
11591 * RadioButton.cs: Fix ctor
11593 2004-10-05 11:10 pbartok
11596 - Partial implementation by Benjamin Dasnois
11598 2004-10-05 10:15 jackson
11600 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11603 2004-10-05 03:07 ravindra
11606 - Removed a private method, Draw ().
11607 - Fixed the ButtonDropDown event handling.
11608 - Fixed MouseMove event handling.
11610 2004-10-05 03:04 ravindra
11612 * ThemeWin32Classic.cs:
11613 - Added DrawListView method and ListViewDefaultSize property.
11614 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11615 - Changed DOS style CRLF to Unix format (dos2unix).
11617 2004-10-05 03:03 ravindra
11620 - Added DrawListView method and ListViewDefaultSize property.
11622 2004-10-05 02:42 ravindra
11624 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11625 clicks on DropDown arrow.
11627 2004-10-04 22:56 jackson
11629 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11630 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11631 Control handle the buffers, derived classes should not have to
11632 CreateBuffers themselves.
11634 2004-10-04 21:20 jackson
11636 * StatusBar.cs: The control handles resizing the buffers now.
11638 2004-10-04 21:18 jackson
11640 * Control.cs: When resizing the buffers should be invalidated. This
11641 should be handled in Control not in derived classes.
11643 2004-10-04 14:45 jackson
11647 2004-10-04 02:14 pbartok
11649 * LeftRightAlignment.cs:
11652 2004-10-04 01:09 jordi
11654 * ThemeWin32Classic.cs: fixes right button position causing right
11655 button not showing on horizontal scrollbars
11657 2004-10-02 13:12 pbartok
11660 - Simplified the Invalidate method by using an X call instead of
11661 generating the expose ourselves
11662 - Added an expose when the window background is changed
11663 - Implemented ClientToScreen method
11665 2004-10-02 13:08 pbartok
11668 - Added Win32EnableWindow method (test for implementing modal
11670 - Added ClientToScreen method and imports
11672 2004-10-02 13:07 pbartok
11674 * XplatUI.cs, XplatUIDriver.cs:
11675 - Added ClientToScreen coordinate translation method
11677 2004-10-02 13:06 pbartok
11679 * KeyPressEventArgs.cs:
11680 - Fixed access level for constructor
11682 2004-10-02 13:06 pbartok
11685 - Changed access level for the window_collection hash table
11687 2004-10-02 13:05 pbartok
11690 - Added KeyPreview property
11691 - Added Menu property (still incomplete, pending Jordi's menu work)
11692 - Implemented ProcessCmdKey
11693 - Implemented ProcessDialogKey
11694 - Implemented ProcessKeyPreview
11696 2004-10-02 13:02 pbartok
11699 - Added private method to get the Control object from the window
11701 - Implemented ContextMenu property
11702 - Implemented PointToScreen
11703 - Implemented PreProcessMessage
11704 - Implemented IsInputChar
11705 - Implemented IsInputKey
11706 - Implemented ProcessCmdKey
11707 - Completed ProcessKeyEventArgs
11708 - Fixed message loop to call the proper chain of functions on key
11710 - Implemented ProcessDialogChar
11711 - Implemented ProcessDialogKey
11712 - Implemented ProcessKeyMessage
11713 - Implemented ProcessKeyPreview
11714 - Added RaiseDragEvent stub (MS internal method)
11715 - Added RaiseKeyEvent stub (MS internal method)
11716 - Added RaiseMouseEvent stub (MS Internal method)
11717 - Added RaisePaintEvent stub (MS Internal method)
11718 - Added ResetMouseEventArgs stub (MS Internal method)
11719 - Implemented RtlTranslateAlignment
11720 - Implemented RtlTranslateContent
11721 - Implemented RtlTranslateHorizontal
11722 - Implemented RtlTranslateLeftRight
11723 - Added generation of KeyPress event
11725 2004-10-02 05:57 ravindra
11727 * ListViewItem.cs: Added attributes.
11729 2004-10-02 05:32 ravindra
11731 * ListView.cs: Added attributes.
11733 2004-10-01 11:53 jackson
11735 * Form.cs: Implement the Close method so work on MessageBox can
11738 2004-09-30 14:06 pbartok
11743 2004-09-30 11:34 jackson
11745 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11747 2004-09-30 07:26 ravindra
11749 * ListViewItemConverter.cs: Converter for ListViewItem.
11751 2004-09-30 07:26 ravindra
11753 * SortOrder.cs: Enum for ListView control.
11755 2004-09-30 07:25 ravindra
11757 * ColumnHeader.cs: Supporting class for ListView control.
11759 2004-09-30 07:24 ravindra
11761 * ListView.cs, ListViewItem.cs: Initial implementation.
11763 2004-09-30 07:20 ravindra
11765 * ItemActivation.cs: Enum for ListView Control.
11767 2004-09-29 20:29 pbartok
11770 - Added lookup of pixel value for background color; tries to get a
11771 color 'close' to the requested color, it avoids having to create a
11772 colormap. Depending on the display this could mean the used color
11773 is slightly off the desired color. Might have to change it to a more
11774 resource intensive colormap approach, but it will work as a
11775 workaround to avoid red screens.
11777 2004-09-29 14:27 jackson
11779 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11781 2004-09-28 12:44 pbartok
11783 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11784 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11785 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11786 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11787 TrackBar.cs, VScrollBar.cs:
11788 - Streamlined Theme interfaces:
11789 * Each DrawXXX method for a control now is passed the object for
11790 the control to be drawn in order to allow accessing any state the
11791 theme might require
11793 * ControlPaint methods for the theme now have a CP prefix to avoid
11794 name clashes with the Draw methods for controls
11796 * Every control now retrieves it's DefaultSize from the current
11799 2004-09-28 12:17 jackson
11801 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11804 2004-09-24 14:57 jackson
11806 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11807 Gives us a nice little performance boost.
11809 2004-09-24 12:02 jackson
11811 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11812 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11813 Control and supporting classes. Initial checkin
11815 2004-09-23 13:08 jackson
11817 * Form.cs: Temp build fixage
11819 2004-09-23 01:39 ravindra
11821 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11822 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11823 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11824 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11825 EventHandlers needed by ListView Control.
11827 2004-09-22 14:12 pbartok
11829 * ScrollableControl.cs:
11830 - Implemented DockPadding property
11831 - Implemented AutoScroll property
11832 - Implemented AutoScrollMargin property
11833 - Implemented AutoScrollMinSize property
11834 - Implemented AutoScrollPosition property
11835 - Implemented DisplayRectangle property (still incomplete)
11836 - Implemented CreateParams property
11837 - Implemented HScroll property
11838 - Implemented VScroll property
11839 - Implemented OnVisibleChanged property
11841 2004-09-22 14:09 pbartok
11844 - Added Form.ControllCollection class
11845 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11846 RemoveOwnedForm (still incomplete, missing on-top and common
11847 minimize/maximize behaviour)
11848 - Added StartPosition property (still incomplete, does not use when
11850 - Added ShowDialog() methods (still incomplete, missing forcing the
11853 2004-09-22 14:05 pbartok
11856 - Added message loop for modal dialogs
11858 2004-09-22 14:02 pbartok
11861 - Fixed wrong types for events
11863 2004-09-22 14:00 pbartok
11865 * Shortcut.cs, FormWindowState.cs:
11866 - Fixed wrong values
11868 2004-09-22 12:01 jackson
11870 * Control.cs: Text is never null
11872 2004-09-20 22:14 pbartok
11875 - Fixed accessibility level for Idle handler
11877 2004-09-20 18:54 jackson
11879 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11880 XplatUIX11.cs: New message loop that uses poll so we don't get a
11883 2004-09-17 10:43 pbartok
11886 - Fixed behaviour of arrow buttons. Now properly behaves like
11887 Buttons (and like Microsoft's scrollbar arrow buttons)
11889 2004-09-17 10:14 pbartok
11892 - Added missing release of keyboard/mouse capture
11894 2004-09-17 06:18 jordi
11896 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11897 Theme.cs: Very early menu support
11899 2004-09-16 17:45 pbartok
11902 - Fixed sending a window to the front
11903 - Added overload for SetWindowPos to avoid casting
11905 2004-09-16 17:44 pbartok
11908 - Added SendToBack and BringToFront methods
11910 2004-09-16 07:00 ravindra
11912 * Copyright: Added Novell URL.
11914 2004-09-16 07:00 ravindra
11916 * ToolBar.cs: Invalidate should be done before redrawing.
11918 2004-09-15 21:19 ravindra
11920 * ColumnHeaderStyle.cs: Enum for ListView Control.
11922 2004-09-15 21:18 ravindra
11924 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11927 2004-09-13 18:26 jackson
11929 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11932 2004-09-13 18:13 jackson
11934 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11935 a second thread and post messages into the main threads message
11936 queue. This makes timing much more consistent. Both win2K and XP
11937 have a minimum timer value of 15 milliseconds, so we now do this
11940 2004-09-13 15:18 pbartok
11942 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11944 - Added Z-Ordering methods
11946 2004-09-13 10:56 pbartok
11949 - Fixed #region names
11950 - Moved properties and methods into their proper #regions
11952 2004-09-13 10:51 pbartok
11955 - Added Accept and CancelButton properties
11956 - Added ProcessDialogKey() method
11958 2004-09-13 08:18 pbartok
11960 * IWindowTarget.cs:
11963 2004-09-10 21:50 pbartok
11966 - Added DoDragDrop() [incomplete]
11967 - Properly implemented 'Visible' handling
11968 - Added SetVisibleCore()
11969 - Implemented FindChildAtPoint()
11970 - Implemented GetContainerControl()
11971 - Implemented Hide()
11973 2004-09-10 19:28 pbartok
11976 - Moved methods into their appropriate #regions
11977 - Reordered methods within regions alphabetically
11979 2004-09-10 18:57 pbartok
11981 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11982 - Added method to retrieve text from window
11984 2004-09-10 18:56 pbartok
11987 - Moved some internal functions into the internal region
11988 - Implemented FontHeight
11989 - Implemented RenderRightToLeft
11990 - Implemented ResizeRedraw
11991 - Implemented ShowFocusCues
11992 - Implemented ShowKeyboardCues
11993 - Implemented FromChildHandle
11994 - Implemented FromHandle
11995 - Implemented IsMnemonic
11996 - Implemented ReflectMessage
11997 - All public and protected Static Methods are now complete
11999 2004-09-10 16:54 pbartok
12002 - Implemented remaining missing public instance properties
12003 - Alphabetized some out of order properties
12005 2004-09-10 05:51 ravindra
12007 * PictureBox.cs: Added a check for null image.
12009 2004-09-10 00:59 jordi
12011 * GroupBox.cs: remove cvs tag
12013 2004-09-09 05:25 ravindra
12015 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12017 2004-09-09 05:23 ravindra
12019 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12022 2004-09-09 02:28 pbartok
12024 * ThemeWin32Classic.cs:
12025 - Improve disabled string look
12027 2004-09-09 01:15 jordi
12029 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12032 2004-09-08 23:56 ravindra
12034 * ItemBoundsPortion.cs: It's enum, not a class!
12036 2004-09-08 23:47 ravindra
12038 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12041 2004-09-08 21:13 ravindra
12043 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12046 2004-09-08 21:03 ravindra
12048 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12051 2004-09-08 21:01 ravindra
12053 * ScrollableControl.cs: Removed unreachable code.
12055 2004-09-08 06:45 jordi
12057 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12059 2004-09-08 01:00 jackson
12061 * XplatUIX11.cs: Only run the timers when updating the message
12062 queue. This effectively gives X messages a higher priority then
12063 timer messages. Timers still need love though
12065 2004-09-07 14:01 jackson
12067 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12068 this for us and the handle is no longer valid.
12070 2004-09-07 13:59 jackson
12072 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12073 loop that manages to not crash. TODO: Add poll and cleanup timers
12075 2004-09-07 11:12 jordi
12077 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12079 2004-09-07 03:40 jordi
12081 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12082 fixes, methods, multiple links
12084 2004-09-06 06:55 jordi
12086 * Control.cs: Caches ClientRectangle rectangle value
12088 2004-09-05 02:03 jordi
12090 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12093 2004-09-04 11:10 jordi
12095 * Label.cs: Refresh when font changed
12097 2004-09-02 16:24 pbartok
12100 - Added sanity check to creation of double buffer bitmap
12102 2004-09-02 16:24 pbartok
12105 - Fixed selection of text color
12106 - Fixed handling of resize event; now properly recreates double
12108 - Added missing assignment of TextAlignment
12109 - Added proper default for TextAlignment
12111 2004-09-02 14:26 pbartok
12114 - Added missing RadioButton.RadioButtonAccessibleObject class
12116 2004-09-02 14:26 pbartok
12119 - Added missing Control.ControlAccessibleObject class
12120 - Started to implement Select()ion mechanisms, still very incomplete
12122 2004-09-02 14:25 pbartok
12124 * AccessibleObject.cs:
12125 - Added missing methods
12127 2004-09-02 14:23 pbartok
12129 * AccessibleNavigation.cs, AccessibleSelection.cs:
12132 2004-09-02 10:32 jordi
12134 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12135 pool for pens, brushes, and hatchbruses
12137 2004-09-01 15:30 jackson
12139 * StatusBar.cs: Fix typo
12141 2004-09-01 14:44 pbartok
12146 2004-09-01 14:39 pbartok
12148 * Button.cs, RadioButton.cs:
12149 - Functional initial check-in
12151 2004-09-01 14:01 pbartok
12154 - Added missing default
12155 - Added missing region mark
12157 2004-09-01 09:10 jordi
12159 * Label.cs: fixes method signatures, new methods, events, fixes
12162 2004-09-01 07:19 jordi
12164 * Control.cs: Init string variables with an empty object
12166 2004-09-01 04:20 jordi
12168 * Control.cs: fires OnFontChanged event
12170 2004-08-31 20:07 pbartok
12173 - Enabled display of strings
12175 2004-08-31 20:05 pbartok
12178 - Added (partial) implementation of DialogResult; rest needs to be
12179 implemented when the modal loop code is done
12181 2004-08-31 19:55 pbartok
12184 - Fixed to match the removal of the needs_redraw concept
12186 2004-08-31 19:55 pbartok
12189 - Removed the rather odd split between 'needs redraw' and redrawing
12190 - Now handles the events that require regeneration (ambient
12191 properties and size)
12193 2004-08-31 19:41 pbartok
12196 - Added firing of BackColorChanged event
12197 - Added TopLevelControl property
12198 - Fixed handling of WM_ERASEBKGRND message
12200 2004-08-31 12:49 pbartok
12206 2004-08-31 12:48 pbartok
12209 - Finished (famous last words)
12211 2004-08-31 04:35 jordi
12213 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12214 scrolling bugs, adds new methods
12216 2004-08-30 14:42 pbartok
12219 - Implemented CheckBox drawing code
12221 2004-08-30 14:42 pbartok
12224 - Made Redraw() and CheckRedraw() virtual
12225 - Improved mouse up/down/move logic to properly track buttons
12227 2004-08-30 09:44 pbartok
12230 - Updated to fix broken build. Not complete yet.
12232 2004-08-30 09:28 pbartok
12237 2004-08-30 09:17 pbartok
12242 2004-08-27 16:12 ravindra
12244 * ToolBarButton.cs: Added TypeConverter attribute.
12246 2004-08-27 16:07 ravindra
12248 * ImageIndexConverter.cs: Implemented.
12250 2004-08-27 14:17 pbartok
12253 - Removed unneeded stack vars
12254 - First attempt to fix sizing issues when layout is suspended
12256 2004-08-25 15:35 jordi
12258 * ScrollBar.cs: more fixes to scrollbar
12260 2004-08-25 14:04 ravindra
12262 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12263 Added the missing divider code and grip for ToolBar Control.
12265 2004-08-25 13:20 pbartok
12268 - Control now properly passes the ambient background color to child
12271 2004-08-25 13:20 jordi
12273 * ScrollBar.cs: small bug fix regarding bar position
12275 2004-08-25 12:33 pbartok
12278 - Now only calls SetTimer or KillTimer if the enabled state has
12281 2004-08-25 12:33 pbartok
12284 - Fixed timer handling, now seems to work
12285 - Improved error message for window creation
12287 2004-08-25 12:32 pbartok
12290 - Fixed generation of MouseUp message
12292 2004-08-25 12:29 jordi
12294 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12295 and fixes for progressbar
12297 2004-08-24 18:43 ravindra
12299 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12300 in ToolBar control.
12302 2004-08-24 17:15 pbartok
12306 - Added missing events
12309 2004-08-24 17:14 pbartok
12311 * StatusBar.cs, PictureBox.cs:
12312 - Now uses Control's CreateParams
12314 2004-08-24 16:36 pbartok
12317 - Fixed background color handling
12318 - Fixed sending of enter/leave events on a grab
12320 2004-08-24 16:35 pbartok
12323 - Refined definitions for CrossingEvent
12325 2004-08-24 12:37 jordi
12327 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12328 formmating, methods signature, and adds missing events
12330 2004-08-24 12:24 jordi
12332 * Control.cs: fire OnEnabledChanged event
12334 2004-08-24 11:17 pbartok
12337 - Implemented SetTimer() and KillTimer()
12339 2004-08-24 11:16 pbartok
12342 - Now uses Remove instead of Add to kill the timer
12344 2004-08-24 10:16 jackson
12346 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12347 picture boxes in the theme now. Draw picture box borders and obey
12350 2004-08-24 05:49 jackson
12352 * Timer.cs: Remove top secret debugging code
12354 2004-08-24 05:34 jackson
12356 * PictureBox.cs: Temp hack to make picture boxes draw their full
12359 2004-08-24 05:29 jackson
12361 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12362 XplatUIX11.cs: Move timers to the driver level. On X they are
12363 queued by the driver and checked on idle.
12365 2004-08-24 01:07 jackson
12367 * XplatUIX11.cs: Use a queue for async messages instead of passing
12368 them as ClientMessages since that was totally broken. Also simply
12369 check for events and return an idle message if none are found. This
12370 gives us an idle handler, and prevents deadlocking when no messages
12373 2004-08-23 18:19 ravindra
12375 * XplatUIWin32.cs: Removed the unwanted destructor.
12377 2004-08-23 17:27 pbartok
12380 - Finishing touches. Works now, just needs some optimizations.
12382 2004-08-23 16:53 jordi
12384 * ScrollBar.cs: small fix
12386 2004-08-23 16:45 pbartok
12389 - Removed debug output
12392 2004-08-23 16:43 jordi
12394 * ScrollBar.cs: [no log message]
12396 2004-08-23 16:10 pbartok
12399 - Fixed handling of WM_CLOSE message
12400 - Removed debug output
12402 2004-08-23 16:09 pbartok
12405 - Added handling of Idle event
12406 - Added handling of form closing
12407 - Fixed reporting of MessageLoop property
12408 - Removed some unneeded code, should provide a bit of a speedup
12410 2004-08-23 15:22 pbartok
12413 - Added InitLayout() method
12414 - Added code to properly perform layout when Anchor or Dock property
12416 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12417 LAMESPEC, tried to do it in a way that makes sense
12419 2004-08-23 14:10 jordi
12421 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12422 properties and methods
12424 2004-08-23 13:55 pbartok
12427 - Properly fixed Jordi's last fix
12428 - Now uses Cursor's Position property instead of calling XplatUI
12431 2004-08-23 13:44 jordi
12433 * PaintEventHandler.cs: Adding missing attribute
12435 2004-08-23 13:39 pbartok
12438 - Implemented Position property
12440 2004-08-23 13:39 pbartok
12442 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12443 - Added method to move mouse cursor
12445 2004-08-23 13:39 pbartok
12448 - Fixed setting of background color
12449 - Added method to move mouse cursor
12451 2004-08-23 13:16 jordi
12453 * Control.cs: avoids null exception
12455 2004-08-22 17:46 jackson
12457 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12460 2004-08-22 17:40 jackson
12462 * XplatUIX11.cs: Add some missing locks
12464 2004-08-22 15:10 pbartok
12466 * Control.cs, Form.cs:
12467 - Removed OverlappedWindow style from Control, instead it's default
12469 - Made form windows OverlappedWindow by default
12471 2004-08-22 13:34 jackson
12473 * ScrollBar.cs: Update the position through the Value property so
12474 the OnValueChanged event is raised.
12476 2004-08-22 12:04 pbartok
12479 - Added Cursor.cs and UserControl.cs
12481 2004-08-22 12:03 pbartok
12484 - Started implementation, not usable yet
12486 2004-08-22 12:00 pbartok
12489 - Implemented UserControl (complete)
12491 2004-08-21 19:20 ravindra
12493 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12495 2004-08-21 18:49 ravindra
12497 * ToolBar.cs: Probably this completes the missing attributes in
12500 2004-08-21 18:03 ravindra
12502 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12503 Fixed toolbar control signatures.
12505 2004-08-21 16:32 pbartok
12510 2004-08-21 16:30 pbartok
12515 2004-08-21 16:19 pbartok
12517 * Control.cs, Label.cs:
12520 2004-08-21 15:57 pbartok
12523 - Added loads of debug output for development
12524 - Fixed typo in method name
12526 2004-08-21 15:52 pbartok
12528 * ToolBarButtonClickEventArgs.cs:
12529 - Added missing base class
12531 2004-08-21 14:53 pbartok
12534 - Updated to match new GrabWindow signature
12536 2004-08-21 14:51 pbartok
12538 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12539 - Added method to get default display size
12541 2004-08-21 14:23 pbartok
12543 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12544 - Added method to query current grab state
12545 - Added argument to allow confining a grab to a window
12547 2004-08-21 14:22 pbartok
12550 - Added [Flags] attribute so that modifiers can be used in bitwise
12553 2004-08-21 14:21 pbartok
12555 * TrackBar.cs, ScrollBar.cs:
12556 - Replaced direct XplatUI calls with their Control counterpart
12558 2004-08-21 13:32 pbartok
12561 - Implemented Created property
12563 2004-08-21 13:28 pbartok
12566 - Implemented ContainsFocus
12568 2004-08-21 13:26 pbartok
12571 - Implemented CausesValidation
12573 2004-08-21 13:21 pbartok
12576 - Implemented CanFocus
12577 - Implemented CanSelect
12578 - Implemented Capture
12580 2004-08-21 12:35 pbartok
12583 - Fixed bug with Async message handling
12584 - Implemented getting the ModifierKeys
12586 2004-08-21 12:32 jackson
12588 * AsyncMethodResult.cs: Make sure we have the mutex before we
12589 release it. Fixes BeginInvoke on windows
12591 2004-08-21 11:31 pbartok
12593 * XplatUIWin32.cs, XplatUIX11.cs:
12594 - Drivers now return proper mouse state
12596 2004-08-21 10:54 jackson
12598 * Control.cs: Implement EndInvoke
12600 2004-08-21 10:48 jackson
12602 * Timer.cs: Remove unneeded finalizer
12604 2004-08-20 19:52 ravindra
12606 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12607 in mouse event handling in the ToolBar control.
12609 2004-08-20 19:50 ravindra
12611 * ImageList.cs: Changed draw method to use the arguments passed in
12614 2004-08-20 18:58 pbartok
12616 * XplatUIStructs.cs:
12617 - Added private message for async communication
12619 2004-08-20 17:38 ravindra
12621 * Control.cs: Made RightToLeft property virtual and removed a
12624 2004-08-20 14:39 jordi
12626 * ThemeGtk.cs: use style_attach
12628 2004-08-20 14:39 pbartok
12631 - Added jackson's Async code from X11 to Win32
12633 2004-08-20 14:09 pbartok
12636 - Added all new files
12638 2004-08-20 14:09 pbartok
12641 - Added call to set window background color
12643 2004-08-20 14:03 pbartok
12645 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12646 - Added method for setting the window background
12648 2004-08-20 14:02 pbartok
12651 - Added method for setting the background color
12652 - Added handling for erasing the window background
12654 2004-08-20 13:45 jordi
12656 * TrackBar.cs: fixes timer, new properties and methods
12658 2004-08-20 13:34 jackson
12660 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12663 2004-08-20 13:22 jackson
12665 * Timer.cs: Timer Tick events are now handed through Controls Async
12666 mechanism so the callbacks are executed in the same thread as X
12668 2004-08-20 13:19 jackson
12670 * XplatUIDriver.cs: Expose functionality to send async messages
12673 2004-08-20 13:18 jackson
12675 * Control.cs: Implement Begininvoke
12677 2004-08-20 13:14 jackson
12679 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12680 messages through the driver
12682 2004-08-20 13:12 jackson
12684 * XplatUIX11.cs: Lock before all X operations. Also added Async
12685 method functionality through XSendEvent
12687 2004-08-20 13:11 jackson
12689 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12690 This will screw up on 64 bit systems)
12692 2004-08-20 13:10 jackson
12694 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12695 Async messages through X/Win32
12697 2004-08-19 19:39 pbartok
12700 - Updated code to match new HandleData.DeviceContext type
12702 2004-08-19 19:38 pbartok
12705 - Made DeviceContext a generic object to allow usage from various
12707 - Added support for queueing Windows messages
12709 2004-08-19 19:37 pbartok
12712 - Added generation of MouseEnter, MouseLeave and MouseHover events
12713 - Added cleanup on EndPaint
12715 2004-08-19 19:17 pbartok
12718 - Added handling of WM_MOUSEHOVER
12719 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12722 2004-08-19 18:55 jordi
12724 * ThemeGtk.cs: fixes button order
12726 2004-08-19 18:12 jordi
12728 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12730 2004-08-19 17:09 pbartok
12733 - Added Right property
12734 - Added RightToLeft property
12736 2004-08-19 16:27 jordi
12738 * ThemeGtk.cs: experimental GTK theme support
12740 2004-08-19 16:26 jordi
12742 * ITheme.cs, Theme.cs: move themes from an interface to a class
12744 2004-08-19 16:25 jordi
12746 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12749 2004-08-19 16:04 pbartok
12752 - Added colormap basics
12753 - Added a way to re-initialize with a different display handle
12754 - Fixed setting of the window background color
12755 - Added various X11 imports related to colors and colormaps
12757 2004-08-19 15:51 pbartok
12760 - Removed packing hints (Paolo suggested this a while back)
12761 - fixed colormap type
12762 - Added default Atom types
12763 - Added Screen and color structs and enums
12765 2004-08-19 15:39 pbartok
12768 - Added missing Draw() method
12769 - Added missing RecreateHandle event
12771 2004-08-19 15:30 pbartok
12774 - Added handling of WM_CLOSE
12776 2004-08-18 13:16 jordi
12778 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12781 2004-08-18 09:56 jordi
12783 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12785 2004-08-17 15:31 ravindra
12787 * SWF.csproj: Updated project.
12789 2004-08-17 15:25 pbartok
12792 - Drawing improvement; don't call UpdateBounds if we are not visible
12793 (or have been minimized)
12795 2004-08-17 15:24 pbartok
12798 - Finished IsVisible
12799 - Added Win32GetWindowPlacement
12801 2004-08-17 15:08 jackson
12803 * Panel.cs: Initial checkin of the Panel
12805 2004-08-17 14:25 pbartok
12808 - Fixed broken handling of default window sizes
12810 2004-08-17 13:29 jackson
12812 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12813 has a large startup time.
12815 2004-08-17 10:25 jackson
12817 * HandleData.cs: union areas properly
12819 2004-08-17 10:12 jackson
12821 * HandleData.cs: union areas properly
12823 2004-08-16 20:00 ravindra
12825 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12827 2004-08-16 18:48 ravindra
12829 * ToolBar.cs: Added attributes.
12831 2004-08-16 17:17 ravindra
12833 * SWF.csproj: Updated project.
12835 2004-08-16 17:16 jackson
12837 * XplatUIX11.cs: Check for more expose events before sending a
12838 WM_PAINT so they can all be grouped together. This makes dragging a
12839 window across another window redraw in a sane way.
12841 2004-08-16 15:47 pbartok
12844 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12845 support OnMouseEnter/Leave()
12846 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12849 2004-08-16 15:46 pbartok
12851 * XplatUIStructs.cs, XplatUIX11.cs:
12852 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12853 OnMouseEnter/Leave()
12855 2004-08-16 15:34 jackson
12857 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12858 sure messages get the message field set to WM_NULL if they are not
12861 2004-08-16 15:24 jackson
12863 * HandleData.cs: HandleData is used for storing message information
12866 2004-08-15 17:23 ravindra
12868 * ColorDepth.cs: Added attribute.
12870 2004-08-15 17:23 ravindra
12872 * SWF.csproj: Updated project for ToolBar Control.
12874 2004-08-15 17:20 ravindra
12876 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12877 control and also dos2unix format.
12879 2004-08-15 17:13 ravindra
12881 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12882 ToolBarButtonClickEventArgs.cs,
12883 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12884 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12886 2004-08-15 15:31 pbartok
12889 - First (mostly) working version
12891 2004-08-13 16:15 pbartok
12894 - Fixed Anchor default
12896 2004-08-13 15:43 pbartok
12899 - Changed GetCursorPos signature
12901 2004-08-13 15:42 pbartok
12903 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12904 - Changed signature for GetCursorPos
12906 2004-08-13 15:25 pbartok
12910 - Fixed resizing/exposure handling
12912 2004-08-13 15:22 jordi
12914 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12917 2004-08-13 14:55 jordi
12919 * TrackBar.cs: change from wndproc to events
12921 2004-08-13 13:00 jordi
12923 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12924 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12926 2004-08-13 12:53 pbartok
12929 - Changed GetWindowPos to also provide client area size
12930 - Fixed broken prototypes for several win32 functions
12932 2004-08-13 12:53 pbartok
12934 * XplatUI.cs, XplatUIDriver.cs:
12935 - Changed GetWindowPos to also provide client area size
12937 2004-08-13 12:52 pbartok
12940 - Added generation of WM_POSCHANGED
12941 - Changed GetWindowPos to also provide client area size
12943 2004-08-13 12:52 pbartok
12946 - Added Dispose() and destructor
12947 - Fixed resizing and bounds calculation
12949 - Added memory savings for invisible windows
12951 2004-08-13 12:46 jordi
12953 * TrackBar.cs: adds timer and grap window
12955 2004-08-13 10:25 jackson
12957 * Timer.cs: SWF Timer
12959 2004-08-12 16:59 pbartok
12961 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12962 - Implemented method to get current mouse position
12964 2004-08-12 14:29 jordi
12966 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12967 enhancement, fix mouse problems, highli thumb, etc
12969 2004-08-12 13:31 pbartok
12972 - Fixed Anchoring bugs
12974 2004-08-12 13:01 jackson
12976 * StatusBar.cs: Don't forget things
12978 2004-08-12 12:54 jackson
12980 * ThemeWin32Classic.cs: Handle owner draw status bars
12982 2004-08-12 12:54 jackson
12984 * StatusBar.cs: Implement missing properties, events, and methods.
12985 Handle mouse clicking
12987 2004-08-12 10:19 jackson
12989 * StatusBarPanelClickEventArgs.cs,
12990 StatusBarPanelClickEventHandler.cs: Classes for handling status
12991 bar panel click events
12993 2004-08-12 10:10 jackson
12995 * Control.cs: Add missing properties
12997 2004-08-12 09:46 pbartok
12999 * BindingsManagerBase.cs:
13000 - Name changed to BindingManagerBase.cs
13002 2004-08-12 09:25 jordi
13004 * ScrollableControl.cs: calls ctrlbase instead of exeception
13006 2004-08-11 16:28 pbartok
13008 * InputLanguageChangingEventArgs.cs:
13009 - Never check in before compiling. Fixes the last check-in
13011 2004-08-11 16:26 pbartok
13013 * InputLanguageChangingEventArgs.cs:
13014 - More signature fixes
13016 2004-08-11 16:20 pbartok
13018 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13019 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13020 ImageListStreamer.cs, InputLanguage.cs,
13021 InputLanguageChangedEventArgs.cs,
13022 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13023 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13024 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13025 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13028 2004-08-11 16:16 pbartok
13032 - Added .Net 1.1 method
13034 2004-08-11 15:25 pbartok
13037 - Fixed BindingManagerBase.cs filename
13039 2004-08-11 15:22 pbartok
13041 * BindingManagerBase.cs:
13042 - Was checked in with wrong filename
13044 2004-08-11 14:50 pbartok
13049 2004-08-11 13:41 jordi
13051 * XplatUIWin32.cs: Fixes ClientRect
13053 2004-08-11 13:19 pbartok
13055 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13057 - We had SetWindowPos and MoveWindow to set window positions and
13058 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13059 keep SetWindowPos as matching counterpart
13060 - Added some X11 sanity checking
13062 2004-08-11 12:59 pbartok
13065 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13066 (It seems that SetBounds is just a front for SetBoundsCore and
13067 SetBoundsCore updates the underlying window system and
13068 UpdateBounds is responsible for updating the variables associated
13069 with the Control and sending the events)
13070 - Major cleanup of Size handling; we now have two sizes, client_size
13071 and bounds. Bounds defines the window with decorations, client_size
13074 2004-08-11 12:55 pbartok
13076 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13077 - Added method to calculate difference between decorated window and
13080 2004-08-11 12:54 pbartok
13083 - Forcing redraw on resize
13085 2004-08-11 11:43 pbartok
13088 - Removed disposing of the actual images when the list is disposed
13090 2004-08-11 09:13 pbartok
13093 - Now properly reparents windows
13095 2004-08-11 08:37 pbartok
13100 2004-08-11 07:47 pbartok
13103 - Rewrote the collection stuff. Might not be as fast now, not
13104 keeping the number of children around and accessible directly, but
13105 it's more straightforward
13107 2004-08-11 07:44 pbartok
13109 * AccessibleObject.cs:
13110 - Fixed to match ControlCollection rewrite
13112 2004-08-11 07:43 pbartok
13115 - Added missing creation of the collection list
13117 2004-08-10 20:08 jackson
13119 * StatusBar.cs: Get the paint message from WndProc
13121 2004-08-10 19:31 jackson
13123 * ThemeWin32Classic.cs: Create Brushes as little as possible
13125 2004-08-10 19:20 jackson
13127 * UICues.cs: Add Flags attribute
13129 2004-08-10 19:19 jackson
13131 * StatusBarPanel.cs: Signature cleanup
13133 2004-08-10 19:10 jackson
13135 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13136 Initial implementation of status bar item drawing
13138 2004-08-10 17:27 jordi
13140 * TrackBar.cs: add missing methods, properties, and restructure to
13143 2004-08-10 16:24 jackson
13145 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13146 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13149 2004-08-10 13:21 jordi
13151 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13152 enhancements and standarize on win colors defaults
13154 2004-08-10 12:52 jackson
13156 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13157 ThemeWin32Classic.cs: Implement DrawItem functionality
13159 2004-08-10 12:47 jordi
13161 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13163 2004-08-10 12:32 jordi
13165 * Control.cs: throw ontextchange event
13167 2004-08-10 11:43 pbartok
13170 - Added more to the still unfinished Dock/Anchor layout code
13172 2004-08-10 11:39 pbartok
13174 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13175 - Added GetWindowPos method
13177 2004-08-10 11:36 pbartok
13180 - Implemented several methods
13182 2004-08-10 09:47 jackson
13184 * TrackBar.cs: Allow control to handle buffering
13186 2004-08-10 09:41 jackson
13188 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13190 2004-08-10 09:24 jackson
13192 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13194 2004-08-10 09:09 jackson
13196 * StatusBar.cs: Let Control handle all the buffering.
13198 2004-08-10 09:08 jackson
13200 * Control.cs: Control will now handle the buffering code, so each
13201 control does not have to implement this.
13203 2004-08-10 08:34 jackson
13205 * XplatUIDriver.cs: Use default colors from the theme
13207 2004-08-09 17:12 pbartok
13210 - Fixed several bugs Ravindra pointed out
13212 2004-08-09 16:11 pbartok
13215 - Added incomplete dock layout code
13216 - Added support for mouse wheel
13218 2004-08-09 16:09 pbartok
13221 - Added handling for middle and right mousebutton
13222 - Added handling for mouse wheel
13223 - Added handling for key state and mouse state and position
13224 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13227 2004-08-09 15:40 jackson
13229 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13230 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13233 2004-08-09 15:37 jackson
13235 * StatusBar.cs: Initial implementation of StatusBar
13237 2004-08-09 15:36 jackson
13239 * ITheme.cs: Add support for drawing status bar and getting status
13242 2004-08-09 15:35 pbartok
13247 2004-08-09 15:34 jackson
13249 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13250 status bar item sizes
13252 2004-08-09 15:21 jackson
13254 * ThemeWin32Classic.cs: Use known colors for default control
13257 2004-08-09 15:12 jackson
13259 * ThemeWin32Classic.cs: Make the default font static, it is static
13260 in control so this doesn't change functionality and creating fonts
13263 2004-08-09 14:56 pbartok
13266 - Added GrabMode enum
13268 2004-08-09 14:55 pbartok
13270 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13271 - Removed Run method, was only required for initial development
13273 2004-08-09 14:51 pbartok
13275 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13276 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13279 2004-08-09 13:48 pbartok
13282 - Fixed default sizing for child windows
13284 2004-08-09 12:56 pbartok
13287 - Added generation of WM_DESTROY message
13288 - Added handling of window manager induced shutdown
13290 2004-08-09 11:31 jackson
13292 * ThemeWin32Classic.cs: New names for control properties
13294 2004-08-09 11:25 jackson
13296 * Control.cs: Use new color names
13298 2004-08-09 11:02 jackson
13300 * XplatUI.cs: Get default window properties from the theme
13302 2004-08-09 11:01 jackson
13304 * ITheme.cs: The theme engine now controls default window
13307 2004-08-09 11:00 jackson
13309 * ThemeWin32Classic.cs: Add default window color properties
13311 2004-08-09 10:17 jackson
13313 * ThemeWin32Classic.cs: Use correct default back color
13315 2004-08-09 10:05 jackson
13317 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13320 2004-08-09 09:56 jackson
13322 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13324 2004-08-09 09:54 jackson
13326 * Control.cs: Get default properties from the theme.
13328 2004-08-09 09:53 jackson
13330 * ITheme.cs: Themes now handle default control properties
13332 2004-08-09 09:53 jackson
13334 * ThemeWin32Classic.cs: Themes now handle default control
13335 properties so coloring will be consistent
13337 2004-08-08 16:54 jordi
13339 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13341 2004-08-08 15:08 jordi
13343 * XplatUIX11.cs: fixes keyboard crash
13345 2004-08-08 13:47 jordi
13347 * Label.cs: add cvs header info
13349 2004-08-08 12:09 jackson
13351 * ThemeWin32Classic.cs: Add pen_buttonface
13353 2004-08-08 11:52 jordi
13355 * Label.cs, LinkLabel.cs: [no log message]
13357 2004-08-08 11:34 jordi
13359 * ThemeWin32Classic.cs: Use Windows Standard Colours
13361 2004-08-07 17:32 jordi
13363 * TrackBar.cs: throw exceptions of invalid enums values
13365 2004-08-07 17:31 jordi
13367 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13370 2004-08-07 16:56 jackson
13372 * HorizontalAlignment.cs: Initial checkin
13374 2004-08-07 13:16 jordi
13376 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13379 2004-08-07 13:05 jordi
13381 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13382 GetSysColor defines
13384 2004-08-06 18:01 pbartok
13386 * ThemeWin32Classic.cs:
13387 - Fixed some rounding issues with float/int
13389 2004-08-06 18:00 jackson
13391 * DockStyle.cs, AnchorStyles.cs:
13393 Add flags and serializable attributes.
13395 2004-08-06 17:46 pbartok
13398 - Implemented GetParent
13400 2004-08-06 17:18 pbartok
13403 - Fixed some rounding issues with float/int
13405 2004-08-06 17:17 pbartok
13407 * X11Structs.cs, XplatUIX11.cs:
13408 - Fixed Refresh and Invalidate
13410 2004-08-06 15:30 pbartok
13412 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13413 - Fixed recursive loop when resizing
13414 - Improved/fixed redrawing on expose messages
13416 2004-08-06 09:53 jordi
13418 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13419 keyboard navigation
13421 2004-08-06 08:02 pbartok
13423 * X11Structs.cs, XplatUIX11.cs:
13424 - Fixed reparenting
13425 - Fixed window border creation
13427 2004-08-05 15:38 pbartok
13430 - Attempted fix for reparenting problems
13432 2004-08-04 15:14 pbartok
13435 - Fixed Invalidation bug (calculated wrong client area)
13436 - Added ClientSize setter
13438 2004-08-04 15:13 pbartok
13441 - Added AutoScale properties
13443 2004-08-04 15:13 pbartok
13446 - Added latest files
13448 2004-08-04 14:11 pbartok
13450 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13452 - Added Invalidate handling
13454 2004-08-03 17:09 jordi
13456 * XplatUIDriver.cs: fixes spelling mistake
13458 2004-07-27 09:53 jordi
13460 * TrackBar.cs: fixes trackbar events, def classname, methods
13463 2004-07-27 09:29 jordi
13465 * ScrollBar.cs: fixes scrollbar events
13467 2004-07-27 04:38 jordi
13469 * Control.cs: changes to be able to run winforms samples
13471 2004-07-26 11:42 jordi
13473 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13474 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13476 2004-07-26 05:41 jordi
13478 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13479 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13482 2004-07-22 09:22 jordi
13484 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13485 check link overlapping, implement events, and fixes
13487 2004-07-21 10:28 jordi
13489 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13491 2004-07-21 10:19 jordi
13493 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13494 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13495 LinkLabelLinkClickedEventArgs.cs,
13496 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13497 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13500 2004-07-19 13:09 jordi
13502 * Control.cs, Label.cs: label control re-written: added missing
13503 functionlity, events, and properties
13505 2004-07-19 10:49 jordi
13507 * Control.cs: fixes SetBounds logic
13509 2004-07-19 01:29 jordi
13511 * Control.cs: Call RefreshWindow only if the window has created
13513 2004-07-15 14:05 pbartok
13515 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13516 - Implemented ImageList and ImageList.ImageCollection classes
13517 - Added ColorDepth enumeration
13518 - Updated SWF VS.Net project
13520 2004-07-15 11:06 jordi
13522 * XplatUIStructs.cs: added MsgButons enum
13524 2004-07-15 11:03 jordi
13526 * Control.cs: added basic mouse handeling events
13528 2004-07-15 03:38 jordi
13530 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13531 Vertical TrackBar control implementation
13533 2004-07-13 09:33 jordi
13535 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13537 2004-07-13 09:31 jordi
13539 * Control.cs, Form.cs: commit: new properties and fixes form size
13542 2004-07-09 14:13 miguel
13544 * ProgressBar.cs: Spelling
13546 2004-07-09 11:25 pbartok
13549 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13552 2004-07-09 11:17 miguel
13554 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13556 * ProgressBar.cs: Fixed spelling for `block'
13558 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13561 Avoid using the += on rect.X, that exposed a bug in the compiler.
13563 2004-07-08 23:21 pbartok
13565 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13566 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13567 BaseCollection.cs, Binding.cs, BindingContext.cs,
13568 BindingMemberInfo.cs, BindingsCollection.cs,
13569 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13570 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13571 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13572 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13573 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13574 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13575 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13576 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13577 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13578 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13579 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13580 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13581 InputLanguageChangedEventArgs.cs,
13582 InputLanguageChangedEventHandler.cs,
13583 InputLanguageChangingEventArgs.cs,
13584 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13585 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13586 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13587 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13588 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13589 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13590 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13591 QueryAccessibilityHelpEventArgs.cs,
13592 QueryAccessibilityHelpEventHandler.cs,
13593 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13594 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13595 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13596 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13597 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13598 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13599 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13600 XplatUIX11.cs, lang.cs: