1 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
4 - Store the calculated rectangle in Hwnd object and use it when
5 setting the client size
6 - Force Toolwindows to always be type Dock, to ensure they're on top
8 2006-05-18 Mike Kestner <mkestner@novell.com>
10 * ComboBox.cs: first pass at ComboBox rework. Layout is more
11 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
12 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
13 Substantial refactoring to remove confusing nested classes. Coding
14 standard and Get+Set->property refactorings. Shift to index based
15 highlighting in ComboListBox instead of constantly using IndexOf and
16 Items[]. Add invalidations on resize for DropDownList to fix ugliness
17 in FileDialog growth. Draw borders manually since Simple mode needs
18 to look like two independent controls. Make listbox border
19 conditional to DropDownStyle. Improved OwnerDraw support.
21 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
23 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
24 Don't set the disposed graphics to null, so we can throw the "right"
25 exception if the graphics is reused later (added a flag to avoid
26 double disposing). Some behaviours are different under 2.0 and are
27 filled under bug #78448.
29 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
31 * Control.cs: When double-buffering is enabled, we need to reset
32 our graphics context between paint calls. Otherwise, any
33 transformations and other alterations on the context will
34 become cumulative (#77734)
36 2006-05-18 Mike Kestner <mkestner@novell.com>
38 * ListView.cs: do focused item selection like MS on clicks.
39 Rework focus handling for ItemControl so LostFocus invalidates as
41 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
42 the ListView ItemControl has focus.
44 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
46 * XplatUIX11.cs: If client_window ends up being width or height zero
47 due to border settings, move it off window inside whole_window (#78433)
49 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
51 * Mime.cs: Shrink the mime file cache correctly.
53 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
55 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
57 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
59 * XplatUIX11.cs (AddExpose): More sanity checks
61 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
64 - AddExpose: Don't add expose ranges outside the size of our
66 - Cast opacity values to Int32 to avoid crashes with certain
68 - Added disabled code paths that protect against illegal cross-
69 thread painting (Developers.exe)
71 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
73 * ProgressBar.cs: Invalidate the control when it's resized
74 since block size is based on control size. (#78388)
76 2006-05-16 Miguel de Icaza <miguel@novell.com>
78 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
79 of setting the incoming argument to the "reset" value, we set the
80 this.datamember to string.empty (before we were invalidating the
85 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
87 * Form.cs: Only apply transparency settings after the form
88 is created. (Fixes #77800)
90 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
92 * ApplicationContext.cs: Grab the HandleDestroyed event so
93 we know when to fire OnMainFormClosed
95 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
97 * Application.cs: Introduced sub-class to allow tracking of
98 threads and centralized triggering of the event mess for
99 ThreadExit, AppExit, etc.. (#76156)
101 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
104 - Do not return a null icon index value for a mime subclass.
105 Instead try the main mime type class too.
106 - Seems that some newer distributions don't have a link to some
107 gnome default icons anymore. So check the default gnome dir too.
110 2006-05-16 Jackson Harper <jackson@ximian.com>
112 * MdiClient.cs: Don't paint the parent background image if we have
113 our own background image.
115 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
118 - PerformLayout: Do not shrink space filled by DockStyle.Fill
119 controls, all filled controls are supposed to overlap (#78080)
120 - UpdateZOrder is supposed to update the control's z-order in the
121 parent's z-order chain. Fixed to behave like that
122 - BringToFront: Removed obsolete code
123 - SendToBack: Simplyfied
124 - SetChildIndex: Trigger layout calculations when Z-order changes
125 since layout is done by z-order
127 2006-05-16 Chris Toshok <toshok@ximian.com>
130 * DataGrid.cs (set_AlternatingBackColor): use
131 grid_drawing.InvalidateCells instead of Refresh().
132 (set_BackColor): call grid_drawing.InvalidateCells.
133 (set_BackgroundColor): use Invalidate instead of Refresh.
135 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
136 invalidate the cell area.
138 2006-05-15 Chris Toshok <toshok@ximian.com>
141 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
142 on to DataGridPaintRow.
143 (DataGridPaintRow): take a clip argument, and only draw the cells
144 which intersect it. same with the not_usedarea.
146 * Theme.cs (DataGridPaintRow) add @clip parameter.
148 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
149 XplatUI.ScrollWindow.
152 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
153 with last column which was causing a gray swath to appear with the
154 XplatUI.ScrollWindow code.
156 2006-05-15 Chris Toshok <toshok@ximian.com>
158 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
159 use XplatUI.ScrollWindow.
160 (VerticalScrollEvent): use XplatUI.ScrollWindow.
162 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
164 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
166 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
168 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
169 file since there are no equivalent X11 cursors
171 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
173 * MonthCalendar.cs : DateTimePicker should reflect selected date
174 on mouse*up*, not mouse*down*. Fixed originally reported part of
177 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
179 * TabControl.cs : When argument index is equal or more than tab
180 count, just ignore. Fixed bug #78395.
182 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
184 * Control.cs: Dispose all child controls when control is diposed (#78394)
186 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
188 * ColorDialog.cs: Finally it is possible to select the color with
191 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
193 * PrintDialog.cs: Fix typo
195 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
197 * PrintDialog.cs: PrintDialog is not resizable
198 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
199 color. Made some ToolBar drawing methods protected virtual.
201 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
203 * PrintDialog.cs: Implementation of the PrintDialog
205 2006-05-12 Chris Toshok <toshok@ximian.com>
207 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
208 thumb, instead use MoveThumb. This has the side effect of making
209 most of the other thumb moving machinery use MoveThumb as well.
210 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
211 need to actually invalidate the rectangle where the new thumb will
213 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
214 We force an Update() after, so it's not as fast as it could be,
215 but at least there's zero flicker and no droppings.
216 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
217 (UpdateThumbPos): add another argument (dirty), which says whether
218 or not to calculate/add dirty regions which we later invalidate.
219 For cases where we know we're going to use MoveThumb, we pass
220 false for this. Otherwise, pass true.
222 2006-05-12 Jackson Harper <jackson@ximian.com>
224 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
227 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
229 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
230 and GetClipRegion methods and UserClipWontExposeParent property.
231 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
232 overriding UserClipWontExposeParent property, setting to false, since
233 Win32 handles the required expose messages to draw our clipped parent
235 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
236 PaintEventStart to set the user clip region if set.
238 - Now internally tracking the Region for the control since we need to
239 store it if the handle is not yet created and only set it when it
240 becomes created. Before setting the region forced handle creation
241 - Added code to draw the parents underneath a user-clipped region
242 * Hwnd.cs: Added UserClip property
244 2006-05-12 Chris Toshok <toshok@ximian.com>
246 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
249 (set_SmallChange): same.
250 (OnMouseUpSB): remove the call to refresh when releasing the
251 thumb. We shouldn't need it.
253 2006-05-12 Miguel de Icaza <miguel@novell.com>
255 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
256 AutoSize set to None, we do not need to relayout everything, we
257 just need to invalidate the current region.
259 (Draw): Do not draw the entire ClientArea, just redraw the
260 clip area being passed.
262 * MdiClient.cs: Make MdiClient constructor with the Form argument
265 2006-05-12 Jackson Harper <jackson@ximian.com>
267 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
268 parents background image, but strangely not their own.
269 - (DrawStatusBarPanel): Take into account horizontal alignment
270 when drawing the strings and icons.
272 2006-05-12 Mike Kestner <mkestner@novell.com>
274 * ListBox.cs: avoid invalidations for focus when the collection is
277 2006-05-12 Chris Toshok <toshok@ximian.com>
279 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
280 invalidate the entire thumb area. Call InvalidateDirty which
281 limits the redraw to the thumb itself and surrounding pixels.
283 * XplatUIX11.cs (ScrollWindow): optimize copying.
285 2006-05-12 Chris Toshok <toshok@ximian.com>
287 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
288 Figure out the positioning/layout in a single pass instead of
289 multiple recursive invocations. Speeds up the initial display of
290 the data grid. Also, make many things private that were
291 originally public but unused outside this class.
293 2006-05-11 Jackson Harper <jackson@ximian.com>
295 * MdiClient.cs: Improved layout code.
297 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
299 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
302 2006-05-11 Chris Toshok <toshok@ximian.com>
304 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
305 union of that will always be {0,0,width,height}.
307 2006-05-11 Jackson Harper <jackson@ximian.com>
309 * Form.cs: Match MS's DefaultSize for forms (they must have
310 changed the size in sp2).
312 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
314 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
316 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
318 * TextControl.cs : Fixed bug #78109. This incorrect position
319 comparison caused crash on automatic line split.
320 * TextBoxBase.cs : reduce duplicate code.
322 2006-05-10 Jackson Harper <jackson@ximian.com>
324 * MdiClient.cs: Active form is only sent to the back when using
325 the Next form functionality, when a form is clicked the current
326 active shouldn't be sent to the back.
327 - Layout the mdi windows when the container is first made visible.
328 * Form.cs: Give the MdiClient a ref to the containing form when we
331 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
333 * LinkLabel.cs : link_font could be uninitialized, so populate one
334 before actual use. Fixed bug #78340.
336 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
338 * XplatUIX11.cs : clipboard format native value is IntPtr.
341 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
344 - Instead of showing context menus directly we send WM_CONTEXTMENU,
345 which is passed up the parent chain by DefWndProc
346 - We now handle WM_CONTEXTMENU to display any menu, or pass it
347 to DefWndProc (#77956)
348 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
350 2006-05-10 Jackson Harper <jackson@ximian.com>
352 * MdiClient.cs: We need to remove the controls from the mdi
353 collection, when we close the window.
354 * MdiWindowManager.cs: Special handling of closing mdi windows.
355 * InternalWindowManager.cs: Make the close method virtual so the
356 mdi window manager can handle it specially.
358 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
361 - Recalculate grid when the data source has changed
362 - Matches styles provided by user from all data sources types
363 * DataGridTableStyle.cs: For columns that provided by the user set the
364 with the preferred value is there was unassigned.
365 * CurrencyManager.cs: throw OnItemChanged event
367 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
369 * PictureBox.cs: Don't animate until handle is created. Start animation
370 when handle is created.
372 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
374 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
376 * XEventQueue.cs: We don't need to provide the extra info
378 2006-05-10 Jackson Harper <jackson@ximian.com>
380 * MdiClient.cs: If the mdi clients parent form has a background
381 image set, we draw that background image for the mdi area's
384 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
386 * TextBoxBase.cs: Set IBeam cursor (#78347)
388 2006-05-10 Mike Kestner <mkestner@novell.com>
390 * ToolBar.cs: fix some text padding issues with ButtonSize
391 calculation. Update the default size to match MS documentation.
392 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
393 button size. Fixes #78296.
395 2006-05-10 Mike Kestner <mkestner@novell.com>
397 * ListBox.cs: use is_visible for scrollbar positioning in case the
398 control isn't on screen yet. Fix off by one with Right vs Width
399 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
401 2006-05-10 Jackson Harper <jackson@ximian.com>
403 * X11Dnd.cs: Drop to a control with another control on top of it.
404 * ToolBar.cs: Work on a copy of the buttons list, so that it can
405 be modified in click handlers. TODO: Look for similar problems in
408 2006-05-09 Jackson Harper <jackson@ximian.com>
410 * Form.cs: Window managers need the old window state when setting
412 * InternalWindowManager.cs: Allow the base mdi window manager to
413 handle more of the MDI only stuff (like maximize buttons).
414 * MdiWindowManager.cs: Fix some snafus in changing the window
415 state. Add all the menu functionality, for both popup and
417 * MdiClient.cs: When a new form is selected the currently
418 activated form is sent to the back, this matches MS.
419 - Implement a new method to activate the next mdi child window.
421 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
424 - Added new InternalCapture method to allow controls to prevent
425 the capture behaviour on the click handlers
426 - Switched to use InternalCapture
428 - Using InternalCapture to prevent mouse captures from being released
429 on mouse button release (Fixes #78100)
430 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
431 returns Form borders if a caption is present. (Fixes #78310)
433 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
435 * TreeNode.cs: Changed serialization .ctor to not require every field
436 to be present. (#78265)
437 * OwnerDrawPropertyBag.cs: Added serialization .ctor
439 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
441 * MimeIcon.cs: for is faster than foreach for strings.
443 2006-05-05 Mike Kestner <mkestner@novell.com>
445 * CheckedListBox.cs: update check handling code to not use selected.
446 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
447 behavior for visual feedback, motion response, shift/ctrl handling,
448 and properly deal with all 4 selection modes. Updates to bounds
449 handling logic. Add scroll wheel support. [Fixes #77842]
451 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
454 - Moved adding of Implicit controls into .ctor. That way, subsequent
455 creation of the controls will not cause them to think they are
456 toplevel windows (fixes #78200 header problem)
457 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
458 - Switched visibility setting of header control to use internal field
459 to avoid triggering handle creation
460 - Now checking if handle is created before causing a refresh when items
461 are added (This makes us now match handle creation time with MS)
462 * Splitter.cs: Removed loading of private splitter cursor, switched to
463 Cursors version now that that is loading the right ones
464 * Cursors.cs: Load proper splitter cursors from resources
465 * Cursor.cs: Added second method of loading resource cursors for the
466 VS.Net users amongst us
468 2006-05-05 Mike Kestner <mkestner@novell.com>
470 * ListView.cs: give header_control a minimum size based on the
473 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
475 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
476 window seems to do that with metacity, so set that type. (#78120)
478 2006-05-05 Mike Kestner <mkestner@novell.com>
480 * ListViewItem.cs: fix Details mode checkbox layout bug.
481 * ThemeWin32Classic.cs: draw a ListView column header for unused space
482 at the end of the header, if it exists. [Fixes for #78200]
484 2006-05-04 Jackson Harper <jackson@ximian.com>
486 * MdiClient.cs: Add a helper property to get the container form.
487 * MdiWindowManager.cs: We have to make sure to use the menu origin
488 when drawing the icons and buttons, this fixes maximized window
489 icons/buttons on win32.
490 * InternalWindowManager.cs: Reset the restore captions when a
491 window goes from Maximized to Minimized and vice versa. Move the
492 DrawMaximizedButtons into the MdiWindowManager source, tool
493 windows can't be maximized. NOTE: This could use a little
494 refactoring if time ever permits.
496 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
498 * TextBox.cs: Add MWFCategoryAttributes
499 * TextBoxBase.cs: Add MWFCategoryAttributes
500 * Form.cs: Add MWFCategoryAttributes
502 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
504 * Control.cs: Add MWFCategoryAttributes
505 * ScrollableControl.cs: Add MWFCategoryAttributes
507 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
509 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
510 Divider is true. Fix a little glitch in PropertyToolBar
513 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
516 - Dispose: Call base.Dispose, this causes the disposed event
517 to be fired (and probably other, more important stuff)
518 - SetVisibleCore: Set is_visible to true after creating the
519 window so that the window still gets created invisible (if
520 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
521 to generate a WM_ACTIVE message
522 * Form.cs: Call Dispose when we want to destroy the window, instead of
523 just destroying the handle (Dispose will do that for us)
525 - RootWindow also needs a queue, so we can properly process the
526 property change events from RootWindow (like Activate)
527 - Generatic synthetic WM_ACTIVE message when the active window is
530 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
532 * LinkLabel.cs: Trigger a recalc of our label dimensions when
535 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
537 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
538 for determining width and height (image might not be assigned if
539 we're drawing an imagelist)
541 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
543 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
544 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
546 * Theme.cs: No longer returns hardcoded menu height, instead calls
548 * Form.cs (OnLoad): Scaling happens before triggering Load events
551 2006-05-01 Mike Kestner <mkestner@novell.com>
553 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
555 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
557 * TextBoxBase.cs: Removed Fixme
558 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
560 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
563 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
564 the rectangle relative to the parent, considering borders. We
565 don't really want that.
566 - ScrollWindow: Fixed warning to be more understandable
567 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
568 scrollbars and scroll only the visible area
569 * RichTextBox.cs: Removed debug output
571 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
573 * NumericUpDown.cs (Text): Just use base
574 * UpDownBase.cs: Ensure txtView is created before using it
576 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
578 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
579 casting to IntPtr to avoid 64bit overflow errors
581 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
584 - AllowDrop: Don't force handle creation.
585 - CreateHandle: Added call to tell driver if we're allowed to drop
587 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
589 * FileDialog.cs: Remember the last directory not only for the
590 current instance but also for new FileDialog instances.
592 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
594 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
595 broke sending async messages
597 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
600 - ScrollWindow: Fixed method. We finally generate expose events again
601 for scrolled areas. This was causing 'garbage' when scrolling
602 textbox and other controls that used ScrollWindow
603 - Switched from using the regular queue for paint events to the MS
604 model of 'generating' paint events when the queue is empty.
605 We use the new XQueueEvent.Paint subclass to store which windows
607 - AddExpose now takes the x/y/width/height of the exposed area
608 and inserts the window into the paint queue if not already there
609 - InvalidateWholeWindow: Switched to use new AddExpose method
610 - UpdateMessageQueue: Added which queue to monitor for paint events
611 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
612 the unlikely case nothing above handles it. We reset the expose
613 pending states to get them off the queue.
614 - GetMessage: Now pulls a paint event if no other events are in the
616 - Invalidate: Switched to new AddExpose method
617 - PeekMessage: Updated to understand pending paint events
618 - UpdateWindow: Fixed logic bug. We were only updating if the window
619 didn't need updating. Also switched to sending WM_PAINT directly,
621 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
622 and random access Remove(). The random access is needed to handle
623 UpdateWindow() where a WM_PAINT is sent directly without accessing
625 * ScrollBar.cs: Added Update() calls to cause immediate updates to
626 allow for better feedback when scrolling. Scrollbars are small and
627 the immediate update should make it 'feel' more responsive without
628 slowing things down. ScrollBar still needs it's invaliate logic
629 updated to not always invalidate the whole bar on certain changes.
631 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
634 (BackColor): if the control does not support a transparent background,
635 return the default backcolor when the parent backcolor is transparent.
637 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
639 * Application.cs: Updated to new StartLoop/GetMessage API
640 * RichTextBox.cs: Provide some output on RTF parsing errors
641 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
642 new queue_id argument to GetMessage and PeekMessage to allow faster
643 handling of per-thread queues in drivers.
644 * Hwnd.cs: Added Queue tracking and property
645 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
646 * XEventQueue.cs: Added thread trackingA
647 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
649 - Implemented new per-thread queue
650 - GetMessage: Fixed return/break behaviour on several cases. We were
651 returning stale messages in some cases, instead of just processing
654 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
656 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
658 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
660 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
661 fixed off-by-one comparisons between Width/Height and Right/Bottom.
663 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
665 * PropertyGridView.cs: Fix drop down width.
667 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
669 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
670 a mess in DrawToolBar, so I removed one of them.
672 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
674 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
675 needed (clip). Otherwise we get artifacts.
677 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
679 * FixedSizeTextBox.cs: Added constructor to allow specifying which
681 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
682 and switched FixedSizeTextBox to only be fixed vertical (#78116)
683 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
684 if it matches the scale base font (avoids unneeded scaling)
686 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
688 * X11DesktopColors.cs: One gtk_init_check should be enough
690 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
692 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
695 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
698 - Generate OnTextChanged for Backspace even if we're only deleting
699 the current selection
700 - When setting the Text property, only select all text if the
701 control does not have focus when it is being set. Otherwise
702 just place the cursor at the beginning of the control
704 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
706 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
707 Added a little helper to draw PropertyGrid ToolBar with a different
708 border and a different BackColor.
709 * PropertyGrid.cs: Some background parts didn't get painted with the
710 correct background color. Added a class that helps us to draw the
711 correct border for PropertyGridView and a class that helps us to
712 draw ToolBars with a different backcolor
713 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
715 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
717 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
718 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
720 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
722 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
723 into the palette entries. Also, since we're working on a copy
724 we needed to copy the palette back onto the bitmap.
725 * Cursor.cs: Same fix as XplatUIWin32.cs.
727 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
729 * ImageListStreamer.cs: Need to read the var (or we're off)
731 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
733 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
734 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
735 TextBoxBase.cs: Unused var fixes
736 * AxHost.cs: Small 2.0 fix
737 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
738 as it seems that is what at least Metacity expects. This will make
739 icons show up on 64bit platforms. We still have some 64bit size
740 issues, though, since the startup app window size still won't match.
742 2006-04-25 Mike Kestner <mkestner@novell.com>
744 * *.cs: cleanup newly reported exception var unused warnings.
746 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
748 * ThemeWin32Classic.cs: Button image alignment now matches exactly
751 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
753 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
754 image. The image position is always the same, no matter if the
755 button is pressed or not.
757 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
759 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
760 selection and set the correct filename for SaveFileDialog.
761 Patch by Emery Conrad.
763 2006-04-24 Mike Kestner <mkestner@novell.com>
765 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
766 check for item.X outside the ClientRect instead of item.Y. Fixes
769 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
771 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
772 trust that value blindly and do some sanity check. Fixes bug #77814.
774 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
776 * ImageListStreamer.cs: save the mask as a 1bpp image.
778 2006-04-21 Mike Kestner <mkestner@novell.com>
780 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
781 pass Checked and Indeterminate to the Theme Engine. Improve
782 encapsulation with ListBox.
783 * ListBox.cs: Keep a StringFormat instead of calculating it every item
784 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
785 nested types. Move all CheckState functionality to CheckedListBox.
786 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
787 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
788 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
789 single base list. Fix scrollbar sizing and placement to mirror MS.
790 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
792 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
793 for CheckedListBox by using new DrawItemState info. Center the
794 checkboxes on the items. Use new StringFormat property.
796 2006-04-18 Jackson Harper <jackson@ximian.com>
798 * Form.cs: MdiChildren don't do default locations the same way as
799 regular forms. This prevents a crash when trying to position the
802 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
804 * PropertyGridTextBox.cs: Formatting, copyright
805 * PropertiesTab.cs: Formatting
806 * PropertyGrid.cs: Formatting
807 * PropertyGridView.cs: Formatting, fix drop down, enabled double
808 click toggling of values
810 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
812 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
813 * Control.cs (.ctor): verify_thread_handle is static, don't reset
814 every time a control is created
815 * Application.cs: Removed obsolete EnableRTLMirroring method
817 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
819 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
820 SelectedIndex to -1. Fixes bug #78121.
822 2006-04-17 Jackson Harper <jackson@ximian.com>
824 * Binding.cs: Handle null values for Current and BindingContext.
825 This occurs when binding is a little delayed.
826 * CurrencyManager.cs: return null for Current when there are no
828 - Hookup to the listchanged event on the DataView and update
829 bindings when the list is changed. This fixes late binding of
832 2006-04-17 Jackson Harper <jackson@ximian.com>
835 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
838 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
840 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
842 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
843 with the correct ButtonState
845 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
847 * XplatUIX11.cs: Improved distinguishing between window types to
848 tell the WM a type closer to what the app wants (Fixes #78107)
850 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
852 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
855 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
857 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
858 drawing code to reflect the size grip changes
860 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
862 * ImageListStreamer.cs: fix handling of the mask that follows the main
863 bitmap when deserializing and serialize it properly. The generated mask
864 should better be a 1bpp image, but I'll do that later.
866 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
868 * FileDialog.cs: Show something in the DirComboBox on *nix if the
869 path doesn't fit into some of our Current.Places
871 2006-04-13 Jackson Harper <jackson@ximian.com>
873 * ComboBox.cs: Use borders instead of drawing our own decorations,
874 try to obey correct rules for heights.
877 * ThemeClearLooks.cs:
878 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
879 this is now handled by borders.
880 - Remove unused DrawListBoxDecorationSize method.
882 2006-04-13 Mike Kestner <mkestner@novell.com>
884 * MenuAPI.cs: null guarding for the disbled click check fixes crash
887 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
889 * ThemeWin32Classic.cs:
890 - Fixed CPDrawStringDisabled
891 - Corrected drawing of disabled menu items
892 - Fixed drawing of disabled radio buttons (bug #78095)
893 - Draw check in a disabled CheckBox with color ControlDark
895 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
897 * Form.cs: Use the provided width when calculating the menu size;
898 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
899 and ClientSize.Width won't be updated yet
900 * Application.cs: Use Visible instead of Show() to make form visible,
901 this way we create the handle later and menusize is considered
903 2006-04-12 Mike Kestner <mkestner@novell.com>
905 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
908 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
910 * TextBox.cs: Implemented context menu
912 2006-04-12 Mike Kestner <mkestner@novell.com>
914 * ListView.cs: implement box selection. fixes #77838.
915 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
917 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
919 * XplatUIX11.cs: Added setting of window type when transient window
920 is created (metacity would move it otherwise)
921 * X11Structs.cs: Added WINDOW_TYPE atoms
922 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
923 background (the control is Opaque but still wants transparent
926 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
928 * Control.cs: Added OnPaintBackgroundInternal to allow controls
929 that set Opaque but don't mean it (like all ButtonBase-derived
930 controls) to still draw their background
931 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
934 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
936 * Control.cs (PaintControlBackground): Set the graphics object
937 on our PaintEvent to null to prevent it from being disposed
938 when the PaintEvent gets disposed
940 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
942 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
943 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
945 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
948 - Added transparency check to BackColor property. Transparent
949 backgrounds are only allowed if the control styles permit it
950 - Added recursive painting of parent control background and
951 foreground if a control with a transparent backcolor is drawn
952 (Thanks to Tim Ringenback for providing his 'hack' as a base
953 for this patch) Fixes #77985 and #78026.
954 - Added Opaque style check before calling OnPaintBackground, no
955 need to draw the background if the control is opaque
956 - Removed ControlAccessibleObject owner variable (inherited from
957 base, no need to define again)
958 - Added some documentation links explaining the drawing events
961 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
963 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
964 that the affected control is the located at the left border of our
965 parent (Fixes #77936)
967 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
969 * TextBoxBase.cs: When rendering disabled or readonly controls,
970 draw the background with 'Control' instead of 'Window' color as
971 long as the user hasn't specifically set a color
973 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
975 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
976 since that won't be updated if the user types text (only if it's
979 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
981 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
982 layout changes do to app-triggered resizes will have the proper
983 display rectangle for layout
985 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
987 * ThemeWin32Classic.cs:
988 - Make use of the SystemBrushes and SystemPens wherever possible
989 - Corrected some highlight colors
990 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
992 * Theme.cs: Added Empty field to CPColor struct
994 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
996 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
997 is displayed when calculating the display rectangle. Thanks to Mike
998 for teaching me the err of my ways.
1000 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1002 * ScrollableControl.cs:
1003 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1004 (instead of 0,0) and we now return the real width/height instead of
1005 just the clientrectangle, adjusted for padding. The rectangle is
1006 now cached and created by the new CalculateDisplayRectangle method.
1007 - Created new CalculateDisplayRectange method, which basically does
1008 what get_DisplayRectangle() did originally, but now using the
1009 right edge instead of DisplayRectangle to determine the size of
1011 - get_Canvas(): Fixed it to properly calculate canvas for
1012 right/bottom controls which seem to be placed to the right/bottom
1013 of any controls that have a fixed location
1014 - Removed TODO that's taken care of
1015 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1016 and SetDisplayRectLocation according to new MSDN2 docs
1017 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1018 event when that is called, this is added for compatibility
1019 - ScrollControlIntoView(): Implemented.
1020 - Switched scrollbars to be implicit, they shouldn't be selectable
1021 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1022 call it when the active control is set/changed
1023 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1024 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1025 implicit_control variable (used for native Win32 message generation)
1026 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1027 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1028 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1029 * XplatUIStructs.cs: Added ScrollBarCommands enum
1031 2006-04-10 Jackson Harper <jackson@ximian.com>
1034 * CheckedListBox.cs:
1041 * PrintPreviewControl.cs:
1047 * UpDownBase.cs: Fixup base event overrides.
1049 2006-04-06 Mike Kestner <mkestner@novell.com>
1051 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1052 all user-initiated value changes to min <= value <= max-thumbsz+1.
1053 (set_Value): check for vert/horiz when calculating new thumb position.
1054 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1056 (OnMouseMoveSB): refactor the thumb dragging code and refine
1057 invalidation logic to reduce flicker.
1058 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1059 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1060 (UpdateThumbPosition): small code readability cleanup
1062 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1064 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1067 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1069 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1071 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1073 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1074 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1075 This dramatically reduces the number of Pen.Dispose calls.
1076 Where possible call ResPool methods only once instead of calling it
1077 over and over again (for example for the same color).
1079 2006-04-06 Mike Kestner <mkestner@novell.com>
1081 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1082 Also remove an unused private field on the collection. Fixes #77972.
1084 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1086 * ThemeNice.cs: Added ToolBar drawing code
1088 2006-04-06 Mike Kestner <mkestner@novell.com>
1090 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1091 I'm assuming that means we need to look up the toplevel for the
1092 provided control. Fixes the crash trace in #77911 but exposes another
1093 crash in some strange reflection usage in NDocGui.
1095 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1097 * ThemeNice.cs: Gave it a little silver touch and added Images
1099 * FontDialog.cs: FontDialog is not resizable
1100 * FileDialg.cs: Added SizeGripStyle.Show
1102 2006-04-05 Jackson Harper <jackson@ximian.com>
1104 * KeyboardLayouts.cs: Remove warning.
1106 2006-04-05 Jackson Harper <jackson@ximian.com>
1108 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1109 all of our controls instead of Paint +=.
1124 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1125 use OnPaintInternal. Remove Width/Height and Visible checks in
1126 paint handler, this is done at a higher level now.
1127 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1128 * PaintEventArgs.cs: Add a handled flag so controls that don't
1129 want anymore painting after OnPaintInternal can make sure OnPaint
1132 2006-04-05 Mike Kestner <mkestner@novell.com>
1134 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1135 state of the form, so that we don't process events when Modal dialogs
1136 are up. Fixes #77922.
1138 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1140 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1143 2006-04-05 Mike Kestner <mkestner@novell.com>
1145 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1147 2006-04-05 Mike Kestner <mkestner@novell.com>
1149 * ListView.cs (HeaderMouseMove): null guarding for the over column
1150 when setting up the drag_to_index. Fixes #78015.
1152 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1154 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1155 in the taskbar. Transient windows seem to accomplish that.
1157 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1160 - Re-enabled CreateParams.X/Y code for FormStartPosition
1161 - Added code for manual placement when creating the Control
1162 - Incomplete patch to treat MDI forms differently when
1163 setting the ClientSizeCore. (Still need to figure out handling
1166 - When we're explicitly setting the X/Y position of a non-Child
1167 window, let the WM know. Metacity really wants this.
1169 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1171 * ThemeNice.cs: Added CPDrawButton
1173 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1175 * ThemeNice.cs: Changed the color for focused buttons and activated
1176 the arrows for small scroll buttons.
1178 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1180 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1181 anymore. Changed some method modifiers to protected (virtual)
1182 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1184 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1185 Updated drawing of menus, buttons and progressbars; added
1188 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1190 * ImageListStreamer.cs: implemented serialization/deserialization
1193 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1195 * ThemeWin32Classic.cs:
1196 - Removed all the DrawFrameControl stuff; CPDrawButton,
1197 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1199 - Updated and corrected the drawing code of CPDrawButton,
1200 CPDrawCheckBox and CPDrawRadioButton to better match ms
1201 - Updated theme checkbox and radiobutton code to use the CP*
1204 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1206 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1209 2006-03-31 Jackson Harper <jackson@ximian.com>
1211 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1213 * UpDownBase.cs: Don't CreateGraphics manually, use a
1214 Refresh. Ideally we would invalidate the correct areas here.
1216 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1219 - We now track the mapping state of windows. If a window (or
1220 one of it's parents) is not mapped we no longer permit
1221 WM_PAINT messages to be generated since we'd otherwise get
1222 lots of BadMatch X errors. Jackson did all the work figuring
1224 - Destroying the caret if the window it's contained in is
1225 destroyed. Can't use regular DestroyCaret method since it
1226 might fall into a drawing function (trying to remove the
1227 caret) and with that generate new BadMatch errors. Again,
1228 Jackson tracked this down.
1229 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1230 make sure we send the messages to all windows. (The old code
1231 would send the WM_DESTROY to the window, and then all child
1232 windows would be 'gone' because the WM_DESTROY handle lookup
1233 would no longer find the destroyed window)
1234 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1235 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1237 2006-03-31 Jackson Harper <jackson@ximian.com>
1239 * ScrollableControl.cs: Dont recalc if we are not visible.
1241 2006-03-31 Mike Kestner <mkestner@novell.com>
1243 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1244 the visibility branch.
1246 2006-03-31 Jackson Harper <jackson@ximian.com>
1248 * ScrollBar.cs: Cap values when incrementing/decrementing.
1250 2006-03-31 Mike Kestner <mkestner@novell.com>
1252 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1253 * ToolTip.cs: guard against timer expirations with no active control.
1254 Not sure why it happened.
1256 2006-03-31 Mike Kestner <mkestner@novell.com>
1258 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1260 * ToolTip.cs: Position the tooltip based on where the cursor is at
1261 popup time, not at MouseEnter time. Add a Down state so that we don't
1262 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1263 positioning offset. Lookup DisplaySize at positioning time, since it
1264 can theoretically change during invocation.
1265 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1266 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1268 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1270 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1271 Fixes behaviour when the Text property of the box is String.Empty
1273 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1275 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1276 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1279 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1281 * FileDialog.cs: Visual enhancement for the popup buttons in
1284 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1286 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1289 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1291 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1292 highlighted menu items to match ms
1294 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1296 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1298 2006-03-30 Mike Kestner <mkestner@novell.com>
1300 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1301 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1302 go active to account for HotLight to Selected transition.
1303 * MenuItem.cs: add internal Selected prop. Fill out the Status
1304 property by calculating it from item info. Add HotLight,
1305 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1307 2006-03-30 Mike Kestner <mkestner@novell.com>
1309 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1311 2006-03-29 Jackson Harper <jackson@ximian.com>
1313 * Form.cs: Implement TODO.
1315 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1317 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1318 missing proper dialog setup in the constructor
1320 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1322 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1324 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1325 - Fixed ResetBindings and removed TODO
1326 - Added check for cross-thread calls to get_Handle()
1327 - Added Marshaller attribute for set_Font to satisfy class status
1328 * FontDialog.cs: Removed TODOs that seemed implemented
1329 * UpDownBase.cs: Removed unneeded TODO and Fixme
1330 * MessageBox.cs: Implemented support for Default button and removed TODO
1331 * FileDialog.cs: Removed obsolete TODO
1332 * DomainUpDown.cs: Removed obsolete TODO
1333 * ButtonBase.cs: Removed obsolete TODO
1334 * XplatUIWin32.cs: Removed obsolete TODO
1336 - Removed obsolete TODO
1337 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1338 internal status updates
1339 - Making sure the active control is selected when the control is created
1340 * CurrencyManager.cs: Removed obsolete TODO
1342 2006-03-29 Mike Kestner <mkestner@novell.com>
1344 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1345 of PrintPreviewDialog and RichTextBox.
1347 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1349 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1350 DarkDark, Light and LightLight colors for a specific color
1351 * ThemeWin32Classic.cs:
1352 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1354 - Make use of the new ResPool helper CPColor
1355 - Draw ProgressBar and StatusBar with correct 3D borders
1357 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1359 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1361 2006-03-28 Mike Kestner <mkestner@novell.com>
1363 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1364 calculating col/row counts.
1366 2006-03-28 Mike Kestner <mkestner@novell.com>
1372 switch to explicit interface method implementation for some methods
1373 corcompare identifies as inconsistent with MS.
1375 2006-03-28 Mike Kestner <mkestner@novell.com>
1379 add a few missing methods from the class status output.
1381 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1383 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1386 2006-03-28 Mike Kestner <mkestner@novell.com>
1388 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1390 2006-03-27 Mike Kestner <mkestner@novell.com>
1392 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1393 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1395 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1397 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1399 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1401 * ThemeWin32Classic.cs:
1402 - GroupBox: Inserted a little gap between the text and the lines
1404 - Made the code in CPDrawBorder3D more readable
1405 - Corrected the drawing location of the up and down arrows in
1408 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1410 * ControlPaint.cs: Corrected line widths in DrawBorder for
1411 ButtonBorderStyle Inset and Outset
1413 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1415 * ThemeWin32Classic.cs:
1416 - Rewrote the totally broken CPDrawBorder3D method. That was
1417 one of the main problems for the terrific ThemeWin32Classic
1419 - Updated and corrected Button drawing
1420 - Correct the dimensions of the SizeGrip to match ms ones
1421 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1422 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1423 Border3DStyle.Sunken to match ms.
1425 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1427 * ThemeWin32Classic.cs: First small part of the "de-uglify
1428 ThemeWin32Classic" effort, SizeGrip
1430 2006-03-24 Jackson Harper <jackson@ximian.com>
1432 * XplatUIX11.cs: Give a max idle time of one second, this matches
1433 MS and forces an Idle event every second when there are no other
1434 events in the queue.
1436 2006-03-24 Mike Kestner <mkestner@novell.com>
1438 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1439 * ListView.Item.cs: fix layout issues with null image lists and images
1440 smaller than checkbox size.
1441 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1442 mode like MS does. It's weird, but consistent. ;-)
1445 2006-03-24 Mike Kestner <mkestner@novell.com>
1447 * ListView.cs: Scroll wheel support for the item control. Fixes
1450 2006-03-23 Jackson Harper <jackson@ximian.com>
1452 * ScrollableControl.cs: Special case negative sized areas, not
1454 * MonthCalendar.cs: Save the rect of the clicked date so we can
1455 use it for invalidation.
1456 - Try to cut down on the number of invalidates
1457 - Invalidate the rect the mouse is over and was over when moving
1458 the mouse, so we get the focus box following the cursor.
1460 2006-03-23 Mike Kestner <mkestner@novell.com>
1462 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1463 focus rectangle drawing. Fixes #77835.
1465 2006-03-23 Mike Kestner <mkestner@novell.com>
1467 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1468 the if and else if and reverting back to the original == check on the
1471 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1473 * FontDialog.cs: Update the example panel if the selected index of
1474 the fontListBox changes.
1476 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1478 * FileDialog.cs: Make FileDialog remember which directory it was in
1479 last in the same execution.
1481 2006-03-22 Mike Kestner <mkestner@novell.com>
1483 * FileDialog.cs: make the DropDownMenu on the toolbar display
1484 RadioChecks since they are mutually exclusive and that's what MS does.
1486 2006-03-22 Mike Kestner <mkestner@novell.com>
1488 * Theme.cs: add Color param to CPDrawMenuGlyph.
1489 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1490 checks and radio marks and arrows are visible on highlighted items.
1491 * ControlPaint.cs: update to use new Theme signature.
1493 2006-03-22 Mike Kestner <mkestner@novell.com>
1495 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1496 is active. Fixes #77870.
1498 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1500 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1501 to be focused/selected after startup
1503 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1506 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1507 CustomColors and ShowHelp properties
1508 - Some internal rewrites to get better results when using the
1511 2006-03-22 Mike Kestner <mkestner@novell.com>
1513 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1514 HoverSelection. Fixes #77836.
1516 2006-03-22 Mike Kestner <mkestner@novell.com>
1518 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1519 ToggleButtons. (De)Sensitize the Back button around a stack count of
1520 1, not 0. Update ButtonSize based on a pixel count of the win32
1521 control. Adjust the toolbar size/location for new button size.
1523 2006-03-22 Jackson Harper <jackson@ximian.com>
1525 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1527 * ScrollBar.cs: When doing increments and decrements we need to
1528 set the Value property so that ValueChanged gets raised. A
1529 possible optimization here would be to make an internal SetValue
1530 that doesn't invalidate immediately.
1531 * ToolTip.cs: Tooltips get added to their container (when
1532 supplied) so they get disposed when the container is disposed.
1533 - Don't create tooltips for String.Empty. This prevents all these
1534 little 2-3 pixel windows from showing up when running nunit-gui
1536 * Form.cs: Don't set topmost when setting the owner if the handles
1537 haven't been created yet. The topmost set will happen when the
1538 handles are created.
1540 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1543 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1544 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1545 visible (to allow them to recalculate their sizes)
1547 2006-03-21 Mike Kestner <mkestner@novell.com>
1549 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1550 methods. Removed a ton of redundant code. Still not really happy with
1551 the border rendering, but I think that's mainly because of the
1552 ControlDarkDark being black instead of a dark grey. Depending on how
1553 close we want to be, we might want to revisit those color choices.
1554 Among the new features added during the refactor were DropDownArrow
1555 pressed rendering, Disabled image rendering. Proper flat appearance
1556 boundary rendering. Removed the Divider and Wrapping dividers since I
1557 can't figure out any combination of themes and conditions to make the
1558 MS control draw a horizontal line on a toolbar despite what the
1559 Divider property docs indicate.
1560 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1561 conditions and incorrect layout. Updated to coding standard.
1562 * ToolBarButton.cs: refactored layout and positioning code from
1563 ToolBar to here. Invalidate wherever possible instead of forcing
1564 redraws of the whole toolbar.
1565 (Known remaining issues: explicit ButtonSize smaller than provided
1568 2006-03-21 Mike Kestner <mkestner@novell.com>
1570 * ContextMenu.cs (Show): use the position parameter instead of just
1571 showing at the MousePosition.
1573 2006-03-21 Jackson Harper <jackson@ximian.com>
1575 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1576 control handle this.
1577 * TreeNodeCollection.cs: If we are clearing the root node we need
1578 to reset top_node so calcs can still happen.
1579 * ThemeWin32Classic.cs: This is a Flags so we need to check
1582 2006-03-21 Jackson Harper <jackson@ximian.com>
1584 * DataGrid.cs: Create columns when the binding context has been
1586 * X11Structs.cs: Keysyms are uints.
1587 - Add size to fix build.
1589 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1591 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1593 - Added ResetMouseHover method to allow controls to retrigger
1594 hovering if they need it more than once
1595 - Implemented MouseHoverTime and MouseHoverSize properties
1596 * Timer.cs: Start() must reset the interval
1597 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1600 2006-03-21 Jackson Harper <jackson@ximian.com>
1602 * X11Keyboard.cs: improved layout detection. Move the nonchar
1603 tables into this file.
1604 * KeyboardLayouts.cs: Move the tables into resource files.
1606 2006-03-21 Mike Kestner <mkestner@novell.com>
1608 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1610 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1612 * Mime.cs: Various speed optimizations. Looking up mime types
1613 is now 2 times faster than before
1615 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1617 * CreateParams.cs: Added internal menu field
1619 - Switched call order for UpdateBounds; now we always call
1620 the one that also takes ClientSize, and we're calculating the
1621 client size via driver method in the others. The previous
1622 method of tracking client size by difference wasn't working
1623 for forms where even the starting client size wouldn't match
1624 the overall form size (due to borders) (Part of fix for #77729)
1625 - CreateParams(): Do not use parent.Handle unless the handle is
1626 already created. Causes havoc with Nexxia and throws off our
1627 creation of controls
1629 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1630 - Switched handling of ConfigureNotify over to new PerformNCCalc
1631 method (consolidates code)
1632 - Changed RequestNCRecalc to use new PerformNCCalc method
1633 - Added calls to RequestNCRecalc when menus and borders are changed
1634 to allow app to set NC size. (Part of fix for #77729) This matches
1635 when MS send a WM_NCRECALC on Win32 windows.
1636 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1637 (Part of fix for #77729). This matches what MS does, they also
1638 send that message when the form is made visible.
1639 - XException.GetMessage: Improved usability of X errors by including
1640 a translation of the window into Hwnd and Control class
1641 - Improved debug info for window creation, reparenting and destruction
1642 - Created helper method WindowIsMapped() [Currently not used]
1643 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1645 - CreateParams: Now setting our menu on the new internal menu field
1646 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1647 avoid calculating the same property twice
1649 - Improved usability of ToString() for debugging purposes
1650 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1651 determine the height of the menu, instead of just the font. This
1652 required to also create a graphics context and to keep a bmp
1653 around (for performance reasons)
1655 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1657 * MenuAPI.cs: Added OnMouseUp method
1659 - Now remembering the requested client size, avoids size errors
1660 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1661 instead of base if the menu is active. This is required due to
1662 control now capturing and releasing on down/up and it would
1663 prematurely release our menu capture
1665 2006-03-17 Jackson Harper <jackson@ximian.com>
1667 * KeyboardLayouts.cs: Add the czech layouts.
1669 2006-03-16 Jackson Harper <jackson@ximian.com>
1671 * Control.cs: Use the viewport space when sizing not the controls
1672 client size, so things like ScrollableControl that effect the
1673 viewport size (when scrollbars are added) are computed correctly.
1674 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1676 - Handle creating BindingManagers for null data sources.
1677 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1678 source, otherwise when rows are added they are added to the 'fake'
1679 datasource and we will crash when trying to set the position in
1681 - Use Implicit scrollbars on the datagrid so they arent
1684 2006-03-16 Jackson Harper <jackson@ximian.com>
1687 * InternalWindowManager.cs:
1688 * MdiWindowManager.cs:
1689 * X11Keyboard.cs: I really want Mike to love me again (fix
1692 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1695 - OnMouseDown: Switch to editing mode when clicking on the cell
1696 even if we're clicking on the cell that's currently
1698 - ProcessGridKey: Left/Right now wrap like MS.Net does
1699 - ProcessGridKey: Tab now knows to add a new row when tab is
1700 pressed in the cell of the last column of the
1702 - ProcessGridKey: Enter now adds another row if pressed in the last
1703 row and selectes the new row, same column cell
1704 - ProcessGridKey: Home/End navigate columns, not rows, like
1705 originally implemented
1706 - Broke ProcessKeyPreview code out into an extra Internal method
1707 so it can be called from the edit code
1708 * DataGridTextBox.cs (ProcessKeyMessage):
1709 - Switched to accept Tab keypresses
1710 - Added F2 handling to allow jumping to the end of the edited cell
1711 - Added logic to allow moving caret left/right inside edited cell
1712 and making the edited cell jump when the caret hits cell borders
1713 - Tab and Enter are now passed to the datagrid after being handled
1715 - Removed capture code now that Control handles it
1716 - set_SelectionStart now ensures caret is visible
1718 2006-03-16 Jackson Harper <jackson@ximian.com>
1720 * TrackBar.cs: Debackwards the increment/decrement for handling
1721 mouse clicks on the bar with vertical trackbars.
1722 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1725 2006-03-16 Mike Kestner <mkestner@novell.com>
1727 * ListView.cs: make shift/ctrl keyboard and mouse selection
1728 consistent with the MS control. Fix a bug in
1729 SelectedListViewItemCollection.Clear that was pissing me off for the
1730 better part of a day because the collection was being altered
1731 underneath us as we walked the list.
1733 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1735 * Control.cs: Not sure how we could miss this so long, but it seems
1736 that MS.Net has Capture set all the way from before calling
1737 OnMouseDown through sending the mouse events until after
1738 OnMouseUp. This will fix DataGrid's selection being set to end
1739 at the location of the MouseUp.
1741 2006-03-15 Jackson Harper <jackson@ximian.com>
1743 * BindingContext.cs: Check the binding after its added so that it
1744 can initialize the binding managers and hookup to events.
1745 * Binding.cs: Data members seem to sometimes include rows/cols in
1746 the format Row.Column we now take this into account.
1747 - Hookup to the position changed event so we can update the
1748 control when the position has changed in the data set.
1749 * CurrencyManager.cs: Take into account the row/col naming
1750 convention when creating dataset tables.
1751 * BindingContext.cs: Using a newer better way of storing
1752 datasource/datamember pairs. Hopefully this better matches MS for
1753 looking up binding managers.
1756 2006-03-15 Jackson Harper <jackson@ximian.com>
1758 * BindingContext.cs: The currency manager needs the data member
1759 name, if the member is a data set we use the name to find the
1761 * CurrencyManager.cs: When creating the list prefer an IList over
1763 - Attempt to create a DataTable from a DataSet (TODO: might need
1764 some better error checking here, although MS doesn't seem to have much)
1765 - If we have a DataTable create a view and use it as our list.
1767 2006-03-15 Mike Kestner <mkestner@novell.com>
1769 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1770 keyboard navigation. Support Up/Down/Left/Right selection correctly
1771 for all 4 View modes.
1772 * ListViewItem.cs: add internal row/col fields for icon layouts.
1774 2006-03-15 Jackson Harper <jackson@ximian.com>
1776 * TabControl.cs: Redraw the tabs when we resize so their newly
1777 calculated sizes are drawn on screen.
1778 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1779 composite characters.
1780 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1781 - filter events so that composite characters can be created
1783 * X11Structs.cs: Add XIMProperties enum.
1785 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1787 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1790 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1792 * Control.cs (PerformLayout): We don't need to consider visiblity
1793 for anchoring, only for docking. This fixes 'whacky' alignment
1794 in listbox and other controls that use implicit scrollbars after
1795 the previous PerformLayout patch
1796 * ListBox.cs: Switched to use implicit scrollbars
1798 2006-03-14 Mike Kestner <mkestner@novell.com>
1802 - chain up the "new event" overrides to base and use
1803 OnEvent to raise them. Part of fix for bug #76509.
1805 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1807 * FileDialog.cs: Do not select an item in the parent directory
1810 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1812 * Control.cs (PerformLayout): It would seem that we considered
1813 invisible windows for our layout. Not quite the right thing
1814 to do. Now we don't any longer, thereby fixing bug #76889.
1816 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1818 * Control.cs (CanFocus): I goofed. A control can have focus
1819 even though it's not selectable. Made it match MS docs.
1821 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1823 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1824 center by default (fixes #76895)
1825 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1826 all uses of Border3DSides.All with the explicit ORd together
1827 Left|Right|Top|Bottom because I assume that nobody was aware
1828 that All also implies a center fill. Most places I checked had
1830 * ProgressBarStyle.cs: Added
1832 2006-03-13 Mike Kestner <mkestner@novell.com>
1834 * ListView.cs: fix breakage in drag shadow header positioning
1835 from Peter's csc compilation fix.
1837 2006-03-13 Mike Kestner <mkestner@novell.com>
1839 * ListView.cs: fix NRE produced by backspacing twice in a focused
1842 2006-03-13 Mike Kestner <mkestner@novell.com>
1844 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1846 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1848 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1850 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1851 the allowed size before making programmatic size changes
1853 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1855 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1856 set, metacity is broken and will still use the emty sizes in
1857 the struct. (Fix for #77089)
1859 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1861 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
1862 WindowExStyles and marked both enums as Flags
1863 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1864 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1865 to match WindowStyles split
1867 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1868 - Updated to match WindowStyles split
1870 - Fixed FosterParent creation, was using ExStyle on the Style field
1871 (This should help with Popup focus issues)
1872 - Updated to match WindowStyles split
1874 2006-03-13 Jackson Harper <jackson@ximian.com>
1876 * MdiWindowManager.cs: Use the system menu height. Fixes some
1877 strange sizing issues.
1879 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1881 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1883 - Scroll to caret after inserting text (#77672)
1884 - Make scroll range one pixel higher, fixes off-by-one error (and
1885 makes underlines visible on the last line)
1887 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1889 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1890 the keyboard state from being stuck with keys in 'pressed' state when
1891 focus is switched away via keyboard
1892 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1893 reset the keyboard if no X11 KeyUp events are expected to come
1894 * X11Structs.cs: Switched type of Visible to bool to match driver
1896 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1899 - Switched caret to be just 1 pixel wide, matches MS and looks less
1901 - Moved caret display 1 pixel down from the top of the control
1903 - InsertCharAtCharet: Update the selection start if moving the caret
1904 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1905 - No longer always creating the caret when the caret methods are
1906 called. Only the actual ShowCaret/HideCaret will do that now
1907 - Only setting caret visible if the owner control has focus
1908 - UpdateView: Added invalidation-shortcut logic for center and right
1909 aligned text. Previously we'd update all according to the left
1910 logic which caused drawing errors. Also fixed height of invalidated
1911 areas, now properly invalidating the whole area (was off-by-one)
1912 - owner_HandleCreated: Always generate the document when the
1913 handle is created; this ensures that
1915 - Fixed situation where caret would disappear under the right
1916 window border, also improved scrolling behaviour on left-
1918 - Fixed right-aligned textboxes to have a border to the
1919 right instead of the caret being under the right border
1921 - Switched from 'nested' to simple visible/not visible tracking
1922 for caret (part of fix for #77671)
1923 - No longer passing through translated FocusIn/FocusOut messages
1924 since we were notifying too often and the wrong windows. Instead
1925 we just notify our focussed window of receiving or loosing focus
1926 * XplatUIWin32.cs: Switched from 'nested' show/hide
1927 counting for caret to simple visible yes/no behaviour (part of
1930 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1932 * Mime.cs: Remove debug code...
1934 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1936 * MimeGenerated.cs: Removed
1937 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1938 and subclasses) from /usr/(local/)share/mime and
1939 $HOME/.local/share/mime.
1941 2006-03-10 Jackson Harper <jackson@ximian.com>
1943 * MdiWindowManager.cs: Recalc the NC area when a window is
1944 maximized/restored so that the menu area is drawn on forms that
1947 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1949 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1950 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1951 us to force a WM_NCCALCRESIZE message being sent. This is needed
1954 2006-03-10 Jackson Harper <jackson@ximian.com>
1956 * Form.cs: We need to use the ActiveMenu when calculating menu
1958 - Fix nullref when the window manager hasn't been created yet.
1959 * Control.cs: Fix nullref when we try to bring a control to the
1960 front that has no parent.
1961 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1963 - Add a dummy item to the maximized menu so it always has the
1964 correct height. Otherwise when there are no menus we don't get our
1968 2006-03-10 Jackson Harper <jackson@ximian.com>
1970 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1972 * Form.cs: Make the window_state internal so the window managers
1974 - When an MDI child is maximized let its window manager create the
1975 main menu (so it can add its icon).
1976 - Notify the window managers of state changes
1977 - Let the window manager paint its buttons and handle button
1978 clicks on the menu when it is maximized.
1979 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1980 window manager, since tool windows don't use it, only mdi windows.
1981 - Tell the main form that we don't want it to handle NCPAINT
1982 itself to avoid extra painting.
1983 - Handle clicks on a maximized windows menu.
1984 - Handle window state changes
1985 - Handle minimize/maximize clicks correctly by setting the window state.
1986 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1987 when clicking on the forms icon).
1988 - New method to create a forms maximized menu. This is its normal
1990 - Handle window state changes.
1991 - Handle sizing of maximized windows. Maximized windows are just
1992 drawn bigger then the parent visible area. All controls are still
1993 there, they are just outside the visible area (this matches windows).
1994 * MdiClient.cs: No scrollbars when a child window is maximized.
1995 - Let the children windows figure out how big they should be when
1996 sizing maximized windows.
1997 - Implement a version of ArrangeIconicWindows somewhat similar to
1998 Windows version. There are some little differences, but I don't
1999 think any app will rely on the layout of minimized mdi windows.
2001 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2003 * Padding.cs: Several fixes to allow compiling with csc 2.0
2005 2006-03-09 Jackson Harper <jackson@ximian.com>
2008 * MenuItem.cs: Cheap hack so we can add items to the list without
2009 the events being raised. This allows adding mdi items during
2010 drawing. TODO: Should probably find a better time to add the items.
2012 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2014 * ThemeWin32Classic.cs:
2015 - CheckBox_DrawText: Added logic to not wrap if not enough space
2016 is available (Fix for bug #77727)
2017 - RadioButton_DrawText: Added logic not to wrap if not enough
2018 space is available (Fix for bug #77727). Also removed some
2019 duplicate code, DrawString always drawing the regular text
2020 before hitting the if statement.
2022 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2024 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2026 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2028 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2029 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2030 methods. Moved the new 2.0 properties into alphabetical order with
2031 other properties and added MonoTODO tags
2033 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2035 * AutoScaleMode.cs: Added. Fix build.
2037 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2039 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2040 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2041 and was requiring premature handle creation for calls from above
2042 * Form.cs, Control.cs: Removed handle arguments from calls to
2043 CalculateClientRect()
2045 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2047 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2048 drag_column.column_rect is MarshalByRef and can't be used that way
2050 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2052 * AxHost.cs: Added deserialization constructor for
2053 AxHost+State (fixes 77743)
2055 2006-03-09 Mike Kestner <mkestner@novell.com>
2058 - Added column drag reordering for details view.
2059 - fixed behavior when mouse is dragged off column and
2060 AllowColumnReorder is false.
2061 * ColumnHeader.cs: clone the format too in Clone.
2062 * Theme.cs: add DrawListViewHeaderDragDetails method.
2063 * ThemeWin32Classic.cs:
2064 - impl new method for drawing drag column shadows and targets.
2065 - support column offset for details mode in DrawListViewItem.
2067 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2069 * TextControl.cs: Reset the char_count when the document is cleared
2070 (Fixes bug reported on mono-winforms mailing list)
2072 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2074 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2075 of calling base we simply process the key ourselves, since both
2076 DefWindowProc and the handled method would set m.Result.
2079 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2081 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2082 method also moves the window; instead implemented a copy of
2083 Control.ScaleCore (Part of fix for #77456)
2085 - Created new CreateGraphicsInternal method to allow providing
2086 a graphics context when no handle is created without triggering
2087 handle creation. (Part of fix for #77456)
2088 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2090 - Switched Constructor to require TextBoxBase instead of Control (to
2091 allow uncast access to CreateGraphicsInternal)
2092 - Safeguarded use of owner.Handle property. No longer accessing it
2093 unless the handle is already created.
2094 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2095 - Now triggering a recalc when owning control becomes visible
2096 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2097 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2098 premature handle creation (Part of fix for #77456)
2100 - We now only destroy our double-buffering buffers when the
2101 control is resized or disposed, but not when visibility
2102 changes. (The code even re-created them twice every time)
2103 - Now requiring a redraw of the buffer on visibility changes
2104 (fixes bug 77654 part 2)
2105 - Not passing OnParentVisibleChanged up unless the control
2107 - CanFocus: Fixed to match MS documentation
2108 - Focus: Fixed to return actual focus state and to check if
2109 setting focus is legal before setting it
2111 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2113 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2114 when to draw focus rectangle by looking at parent focus and
2115 selected state instead. This fixes TabPages on Linux sometimes
2116 having none or multiple focus rectangles.
2117 * XplatUIX11.cs (SetFocus):
2118 - Don't set the focus if the same window already has focus
2119 - Use SendMessage instead of PostMessage (like it's Win32
2120 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2121 to match MS behaviour
2122 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2125 2006-03-07 Jackson Harper <jackson@ximian.com>
2127 * PictureBox.cs: Revert line I accidently committed last week.
2129 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2132 - Added new IsRecreating and ParentIsRecreating properties to
2133 allow testing if RecreateHandle has been called on ourselves
2134 or one of our parents
2135 - WndProc(WM_DESTROY): If our control handle is being recreated
2136 we immediately need to create the handle when receiving the
2137 destroy, that way our child windows find a valid parent handle
2138 when they themselves are being recreated upon WM_DESTROY receipt
2139 (fix for bug #77654 part 1)
2141 - DestroyWindow: WM_DESTROY must be sent to our own window before
2142 notifying any child windows. MS documents that child windows
2143 are still valid when WM_DESTROY is received. (Control now relies on
2145 - Added some fine-grain debug options
2147 2006-03-06 Jackson Harper <jackson@ximian.com>
2149 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2150 box and base calculations off this.
2151 * MdiChildContext.cs:
2152 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2155 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2157 * Splitter.cs: In situations where the affected control is added
2158 to the parent's control list after the splitter, we would not
2159 populate affected. Now we try populating it on mousedown, if
2160 it's not already set, and force it to be re-set whenever our
2163 2006-03-03 Matt Hargett <matt@use.net>
2165 * Control.cs: implement Control.Padding
2166 * Padding.cs: -Padding.All returns -1 when constructing with the
2167 implicit default ctor
2168 -Padding.ToString() matches MS.NET
2169 * ContainerControl.cs: implement
2170 ContainerControl.AutoScaleDimensions
2171 * ListControl.cs: implement ListControl.FormattingEnabled
2172 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2174 * TabPage.cs: Implement UseVisualStyleBackColor.
2175 * PictureBox.cs: Implement PictureBox.InitialImage.
2177 2006-03-03 Mike Kestner <mkestner@novell.com>
2179 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2180 event declarations to proxy to base event.
2181 * ListViewItem.cs: update to use ItemControl.
2182 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2183 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2184 column header label rendering for 0 width columns.
2186 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2188 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2189 that causes the control to be created. Fixes #77476.
2191 2006-03-02 Jackson Harper <jackson@ximian.com>
2193 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2196 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2198 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2199 passed in for the EventArgs (fixes #77690)
2201 2006-03-01 Jackson Harper <jackson@ximian.com>
2203 * ScrollBar.cs: Refresh afterbeing resized.
2205 2006-02-28 Mike Kestner <mkestner@novell.com>
2207 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2208 Clean up a tracker compile warning.
2209 * MenuItem.cs: add internal PerformPopup method.
2212 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2214 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2215 implicit expose) when the text is set to null
2217 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2219 * RichTextBox.cs (FlushText): When newline is true, we always
2220 need to split the line, even if no text is on it and we may
2221 never eat newlines. (Fixes #77669)
2223 2006-02-28 Mike Kestner <mkestner@novell.com>
2225 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2226 and set Selected instead.
2227 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2230 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2232 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2234 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2237 - Got rid of the panel. All controls are now directly added to
2239 - It is now possible to set a font with the Font property
2240 - MinSize and MaxSize property do now what they should
2241 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2242 - Searching and selecting a font with the font textbox works now,
2243 the same applies to the style and size textbox
2244 - Draw the correct 3D border in the example panel
2245 - Fixed a little mem leak (unused fonts didn't get disposed)
2246 - Many other internal updates/rewrites...
2249 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2252 - InsertRTFFromStream: Added 'number of characters inserted' argument
2253 - set_SelectedRTF: Now using the number of characters to calculate
2254 the new location for the selection and cursor (x/y cannot be used
2255 due to potentially already wrapped text)
2257 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2259 * TextControl.cs: Added property and implemented means to allow
2260 disabling recalculation of a document (can be used to speed up
2261 multiple inserts and is needed to make RTF inserts predictable, see
2263 * RichTextBox.cs: Using the new NoRecalc property of Document to
2264 keep x/y insert locations predictable. Also makes it faster inserting
2267 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2269 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2270 it's easier for a child control to handle the other messages without
2271 having to duplicate the special functionality
2273 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2274 code to handle processing the key ourselves, in order to get
2275 access to the result of KeyEventArgs.Handled. We now only call
2276 ProcessKey if they key hasn't been handled already. Fixes #77526.
2277 - set_Text: If null or empty string is given, just clear the
2278 document. Fixes part of #77526
2280 2006-02-27 Jackson Harper <jackson@ximian.com>
2282 * SizeGrip.cs: Paint the background color before painting the grip
2283 so things look right.
2284 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2286 2006-02-27 Mike Kestner <mkestner@novell.com>
2289 - Restructure layout and invalidation model to remove a ton of
2290 flicker from the control and speed up performance in general.
2291 - Add manual column resize, flickers like crazy, but I already have
2292 some ideas on how I'll fix that. (#76822)
2293 - Merge the three Icon-based views into a single layout method.
2294 - Move item selection interaction logic from the item since
2295 interaction with the collections is more appropriate to the view.
2296 - Deselection on non-item clicks.
2298 - Encapsulate most of the layout. Add some internal props to trigger
2299 layout. Move to a model where Items invalidate themselves instead
2300 of just invalidating the whole control every time something changes.
2301 - Invalidate on Text/Caption changes.
2302 - switch to an offset based layout model to avoid having to absolute
2303 position every element on item moves.
2304 - correct checkbox layout to conform to MS layout.
2305 * ThemeWin32Classic.cs:
2306 - refactor some column header drawing code.
2307 - fix string justification for column headers (#76821)
2308 - make SmallIcon labels top justified for compat with MS impl.
2309 * ThemeClearlooks.cs:
2310 - adjust to new ListViewItem internal checkbox bounds api.
2312 2006-02-27 Jackson Harper <jackson@ximian.com>
2314 * Control.cs: Change where implicit controls fall in the zorder.
2315 They are now on top of all children.
2316 - Synced AddImplicit code with Add
2317 - Removed unused enumerator.
2318 * SizeGrip.cs: Remove the TODO as its been TODONE.
2320 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2322 * TextControl.cs(Insert): Combine the last lines unless the insertion
2323 string ends with \n\n, otherwise we leave one line too many (Fixes
2324 something I noticed with the testapp for #77526; the bug itself was
2325 already fixed in the previous checkin)
2327 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2330 - SelectionColor and SelectionFont methods no longer set absolute
2331 styles. Instead, the keep font or color respectively (This
2332 resolves a long-standing FIXME in the code)
2333 - When flushing RTF text, the insert code now considers text trailing
2334 behind the insertion point (Fixes the bug where when replacing
2335 the selected text via SelectedRTF the remainder of the line behind
2336 the selection would stay on the first insertion line)
2338 - AppendText now updates the selection points after inserting text
2339 - AppendText now ensures that the last tag (sometimes 0-length) of
2340 the document is used for the style information (Fixes part of
2343 - Created new FontDefiniton class to allow describing partial style
2345 - StreamLine() now takes a lines argument, to allow it to decide
2346 whether an encountered zero-length tag is the last in the document
2347 (which must be kept to not loose the font/color contained in it,
2349 - Created Combine() and Split() methods for Marker structs, to
2350 support marker updates due to reformatted documents (soft line
2352 - Implemented Document.CaretTag setter
2353 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2354 of the last line (Not the cause, but also exposed by bug #77220)
2355 - Added LineTag argument to InsertString method, to allow callers
2356 to force a certain tag to be used (required to force use of the
2357 trailing zero-length tag of a document)
2358 - Now updating markers in Combine(), to avoid stale tag markers
2359 - Added some method descriptions to aid maintenance
2360 - Implemented new FormatText concept, allowing additive/subtractive
2361 formatting by only specifying the components that are to be
2362 changed. This was needed for resolving the RTB.SelectedColor/
2363 RTB.SelectedFont fixmes
2364 - Added Break() support method to allow breaking up linetags (used
2365 for partial formatting)
2366 - Added GenerateTextFormat() method. It is used for partial
2367 formatting and allows to generate a full font/color from given
2368 attributes and an existing tag.
2370 2006-02-26 Jackson Harper <jackson@ximian.com>
2372 * XplatUIX11.cs: Use the correct caption height.
2373 - Translate hittest coordinates to screen coords to match MS.
2374 * XplatUIWin32.cs: When we create MDI windows we need to reset
2375 some of the style flags, so we get a nice blank window, and can
2376 draw all the decorations ourselves.
2377 - Set a clipping rectangle on the non client paint event, the
2378 window manager drawing code needs one.
2379 * Form.cs: The window manager needs to know when the window state
2381 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2382 don't need to factor in border and title sizes in these
2383 methods. TODO: Remove the args and fix the call points.
2384 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2386 - Let the driver set the cursors.
2387 - Improve active window handling
2388 - Correct sizes for title bars and buttons.
2389 - Match MS drawing better
2390 * MdiWindowManager.cs: We don't need to handle border style
2391 updates specially anymore.
2392 - Check for scrollbars when windows are done moving
2393 - Handle Active properly.
2394 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2395 correctly. I am spewing the exception though, so we don't hide the
2398 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2400 * DataGridViewRowPostPaintEventArgs.cs,
2401 DataGridViewCellPaintingEventArgs.cs,
2402 DataGridViewRowCollection.cs,
2403 DataGridViewRowPrePaintEventArgs.cs,
2404 DataGridViewCell.cs: Clear a few warnings and implement a few
2405 exceptions that should be thrown.
2407 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2409 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2410 'inheriting' our parent's (non-default) cursor. (Part of
2413 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2415 * XplatUIX11.cs: Fixed cast to make csc happy
2417 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2419 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2420 it's for the client area (part of fix for #77479 and needed
2421 for MDI window cursor handling)
2423 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2424 the appropriate default cursors and also passing the message
2426 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2427 for non-client areas
2429 2006-02-15 Jackson Harper <jackson@ximian.com>
2431 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2432 is a real MDI window
2434 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2436 * X11DesktopColors.cs: Instead of checking the desktop session
2437 string for "KDE" check if it starts with "KDE"
2439 2006-02-10 Jackson Harper <jackson@ximian.com>
2441 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2444 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2446 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2449 - Got rid of the panel. All controls are now directly added to
2451 - Changed to mono coding style
2453 2006-02-10 Jackson Harper <jackson@ximian.com>
2455 * InternalWindowManager.cs: We don't need the set visibility to
2456 false hack anymore now that peter has written beautiful shutdown
2459 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2461 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2462 where already explicitly destroyed
2464 2006-02-10 Jackson Harper <jackson@ximian.com>
2466 * MdiClient.cs: Handle the case where windows are too high or to
2467 the left and we need scrollbars.
2469 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2471 * MimeIcon.cs: Added some icons
2474 - Got rid of the panel. All controls are now directly added to
2476 - Changed to mono coding style
2477 - On Linux "My Computer" and "My Network" will now show some
2478 more usefull information. A new class, MasterMount, gathers
2479 this information from /proc/mount. Updated MWFFileView to make
2480 use of this information
2481 - Fixed a bug that caused FileDialog to crash when
2482 ".recently_used" file had a zero size
2483 - FilterIndex does now what it should
2485 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2488 2006-02-09 Jackson Harper <jackson@ximian.com>
2490 * ComboBox.cs: Don't touch if null.
2492 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2494 * Cursor.cs: 64bit safeness fix
2495 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2497 2006-02-09 Jackson Harper <jackson@ximian.com>
2499 * Form.cs: If a form is made into an MDI form update the styles so
2500 all the props can get set correctly.
2501 - Kill the mdi_container when we dont need it anymore.
2502 * InternalWindowManager.cs: Add missing NOT
2504 2006-02-08 Jackson Harper <jackson@ximian.com>
2506 * InternalWindowManager.cs: Respek clipping when drawing MDi
2509 2006-02-08 Jackson Harper <jackson@ximian.com>
2511 * Hwnd.cs: Add bits to track non client expose events.
2512 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2513 gives us a proper invalid rect and will allow for some nice
2514 optimizations with NC client drawing
2515 - MDI windows are children windows, so move their style handling
2516 into the child window block.
2517 * InternalWindowManager.cs: Remove a state reset that was
2518 getting invoked at the wrong time. Fixes managed windows getting
2519 into a 'stuck' captured state.
2521 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2523 * TextControl.cs (Document.ctor): Now initializing
2524 selection_anchor. Fixes #77493
2526 2006-02-07 Jackson Harper <jackson@ximian.com>
2528 * TrackBar.cs: The increment/decrements were backwards.
2530 2006-02-07 Mike Kestner <mkestner@novell.com>
2532 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2533 to the instance itself.
2535 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2537 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2538 on ulongs and pointers, the size differs between 32bit and 64bit
2541 2006-02-07 Mike Kestner <mkestner@novell.com>
2543 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2544 for 64 bit platforms to work around a metacity bug.
2546 2006-02-07 Jackson Harper <jackson@ximian.com>
2548 * TrackBar.cs: Process the input keys we need, and hookup to
2549 KeyDown instead of using WndProc, so we get key messages.
2551 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2553 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2555 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2556 we need to translate the XdndVersion atoms array before sending it
2558 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2561 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2562 number of bits for the property, not the number of bytes. The
2563 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2564 but would not crash since it specified 8 bits instead of 4 bits)
2565 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2566 defined as XID -> long in the C headers)
2567 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2568 references since those are now IntPtr to begin with
2569 - Switched all Atom.XXX 'int' casts to IntPtr casts
2570 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2571 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2572 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2574 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2575 - Changed atom in HoverStruct to be IntPtr
2577 - Removed local DllImports, switched code to use those from XplatUIX11
2578 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2580 2006-02-06 Mike Kestner <mkestner@novell.com>
2582 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2583 method signatures in the import region. There may still be some
2584 lingering struct marshaling issues, as I didn't drill down into those.
2587 2006-02-06 Jackson Harper <jackson@ximian.com>
2589 * ComboBox.cs: Dont manually set the top_item, this is computed
2590 when the scrollbar position is set.
2592 2006-02-06 Mike Kestner <mkestner@novell.com>
2594 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2595 startup crashes on amd64. There's other fixes needed. All pinvoke
2596 usage of Atom needs to be mapped to IntPtr for example. And there are
2597 likely other int/long issues to be addressed.
2599 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2601 * FileDialog.cs: One more...
2603 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2605 * FileDialog.cs: Next try
2607 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2609 * FileDialog.cs: First part of fix for #77464
2611 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2613 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2614 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2615 AcceptButton border drawing.
2617 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2619 * Form.cs: Moved positioning of form after auto scaling is applied,
2620 otherwise it would possibly use wrong form size.
2622 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2624 * Control.cs (RecreateHandle): No need to re-create any child
2625 controls, the child windows will get destroyed automatically by
2626 the windowing system or driver, and re-created when the handle
2627 is being accessed the first time. Fixes #77456
2628 * Form.cs: No longer setting the form to closing if the handle is
2629 being recreated. This seems like the right thing to do, don't
2630 have a bug or testcase for this, though.
2632 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2634 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2635 controls to avoid unwanted side effects
2637 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2640 - ScaleCore needs to scale the bounds, not the ClientSize of the
2641 control. Fixes #77416.
2642 - DefaultSize is 0,0 for control
2644 - DefaultSize is 100, 20
2645 - SetBoundsCore: Now enforcing the height, no matter if the provided
2646 height is more or less than the preferred one, as long as AutoSize
2648 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2650 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2653 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2654 call unless both performLayout is true *and* we have a pending
2656 - ResumeLayout: MS does not completely nest Suspend and Resume,
2657 they bottom out at 0, fixed our code to match that.
2658 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2659 SetBoundsCore, we were updating even when we shouldn't. This fixes
2660 swf-anchors mis-anchoring when resizing the app fast and lots.
2661 - UpdateDistances: Now only setting the left and top distance if
2662 we have a parent and are not suspended, this is based on
2663 a suggestion by Don Edvaldson in bug #77355.
2664 - OnVisibleChanged: Fixed logic when to create the control. We may
2665 not create the control if we have no parent or if it's not visible;
2666 switched to using Visible property instead of is_visible field
2667 since the property also considers parent states. This fixes a bug
2668 when starting Paint.Net
2670 2006-02-02 Jackson Harper <jackson@ximian.com>
2672 * Form.cs: If the forms handle hasn't been created yet don't call
2673 into xplatui to make it top most, just set the topmost flag on the
2674 form in CreateParams
2675 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2677 2006-02-01 Jackson Harper <jackson@ximian.com>
2679 * ScrollableControl.cs: Refactored the Recalculate method a
2680 little, this wasn't handling all the variants of bottom and right
2681 bars needed to be added and added/removed based on their
2682 counterparts being added/removed (which changes the drawable
2683 size). Also we special case client widths and heights of 0 and
2684 don't add the scrollbar for those.
2686 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2689 - Added method to get AbsoluteGeometry(); currently unused, but might
2690 be used in the future, if we try again to figure out toplevel
2691 coordinates with some more crappy window managers
2692 - Added FrameExtents() method to retrieve the WM set decoration size
2693 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2694 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2696 - Added whacky_wm tracking var for metacity
2697 - Added logic to have default menu height if the actual menu height
2698 has not yet been calculated (part of fix for #77426)
2699 * Form.cs: Keep track whether client size has been set and re-set
2700 it if a menu is added/removed afterwards (Fixes #77426)
2702 2006-01-31 Jackson Harper <jackson@ximian.com>
2704 * Control.cs: When a new Site is set on the component attempt to
2705 pull the AmbientProperties from it.
2707 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2709 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2710 in the background of the owning form. Fixes #77332
2712 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2714 * MimeIcon.cs: Fix for #77409
2716 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2718 * XplatUIX11GTK.cs: Initial import
2720 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2722 * FixedSizeTextBox: fixes class signature
2724 2006-01-30 Jackson Harper <jackson@ximian.com>
2726 * FixedSizeTextBox.cs: New internal class that represents a
2727 textBox that will not be scaled.
2730 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2733 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2735 * XplatUIX11.cs: Retrieve default screen number instead of
2736 assuming 0. Attempted fix for #77318
2738 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2741 - GetWindowPos: When a window is parented by FosterParent, use
2742 the desktop instead of FosterParent as the base to get coordinates
2743 - CreateWindow: Don't make FosterParent the parent window for Popups
2744 if we don't want a taskbar entry, Popups automatically don't get one
2745 * Hwnd.cs: Need to call remove to actually remove the key from the
2748 2006-01-30 Mike Kestner <mkestner@novell.com>
2750 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2752 2006-01-30 Jackson Harper <jackson@ximian.com>
2755 * TreeNode.cs: Raise events no matter how the treenode is
2756 checked. Patch by Don Edvalson.
2758 2006-01-30 Jackson Harper <jackson@ximian.com>
2760 * TreeNode.cs: Signature fix.
2762 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2764 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2766 2006-01-20 Mike Kestner <mkestner@novell.com>
2768 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2769 event forwarding when menus are active.
2770 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2771 Most of the patch is pdb's with a little rework.
2773 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2775 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2776 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2777 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2778 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2779 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2780 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2781 the PaintWindowDecorations method
2782 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2783 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2784 * MenuAPI.cs: Made tracker window invisible
2786 - Removed GetMenuDC and ReleaseMenuDC methods
2787 - Implemented the client=false path for PaintEventStart and
2790 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2792 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2793 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2796 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2798 - CreateParams: Reworked the styles to match MS look'n'feel,
2799 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2800 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2802 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2804 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2805 window is not mapped, since otherwise every form that's being
2806 created is considered minimized, which is wrong.
2807 * Form.cs: Catching the exception and returning our internal value
2810 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2812 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2813 SetWindowMinMax() to have means to tell the driver about the minimum,
2814 maximum and maximized state window sizes. (Part of the fix for #76485)
2816 - Implemented tracking of minimum and maximum window size, now calling
2817 new SetWindowMinMax() driver method to tell the driver (Part of the
2819 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2820 (Completes fix for #76485)
2821 - Calling new SetWindowMinMax driver method when the handle for a
2822 form is created, to make sure the driver knows about it even if
2823 the values have been set before the window was created
2824 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2825 to avoid messing up our anchoring calculations (partial fix
2827 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2829 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2830 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2831 (and presumably other freedesktop.org compliant WMs). Left the
2832 assumption unmapped=minimized, needed for SetVisible to work.
2833 - Now setting the window state when creating windows
2834 - Fixed SetVisible to consider/set the window state when mapping
2835 a Form. We cannot set the state before it's mapped, and we cannot
2836 use Form.WindowState once it's mapped (since it would ask the
2837 driver and get 'normal'. Therefore, we grab the state before
2838 mapping, map, and then set state.
2839 - Implmemented SetWindowMinMax method; Metacity does not seem to
2840 honor the ZoomHints, though.
2842 - Removed MINMAXINFO (moved to XplatUIStructs)
2843 - Added SetWindowMinMax stub (on Win32 the only way to set that
2844 information is in response to the WM_GETMINMAXINFO message, which
2845 is handled in Form.cs)
2846 - Added logic to SetVisible to set the proper window state when a
2847 form is made visible (fixes #75720)
2849 2006-01-26 Jackson Harper <jackson@ximian.com>
2851 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2852 same way we handle them with Invoke.
2854 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2857 - Added tracking of window state so CreateParams can return
2858 the appropriate style
2859 - Moved setting of WS_CAPTION style in CreateParams to allow
2860 styles without caption
2861 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
2862 control if the TextBox property is accessed. Fixes #77345
2864 - get_Created: now uses is_disposed and is_created to determine
2865 return value (suggested by Jackson)
2866 - CreateHandle: No longer exits if the handle is being recreated
2867 - RecreateHandle: If the handle is not yet created call the
2868 appropriate method to create either control or handle. If the
2869 control is already created CreateHandle will simply exit instead
2870 of just creating the handle
2871 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2872 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2875 - When DestroyWindow is called, instead of waiting for the
2876 DestroyNotification from X11, we directly post it to the WndProc
2877 and immediately dispose the hwnd object.
2878 Same applies to DestroyChildWindows, and this obsoletes the
2879 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2880 child windows before our own, to avoid X11 errors.
2881 - Removed the direct sending of WM_PAINT on UpdateWindow
2883 - Reworked DoEvents and GetMessage to allow access to internal queue
2884 even when trying non-blocking access to the queue. Fixes #77335.
2885 Based on a patch suggestion by Don Edvalson. The new private
2886 GetMessage can now also be used as a backend for a PeekMessage
2888 * XplatUI.cs: Improved debug output for CreateWindow
2890 2006-01-25 Jackson Harper <jackson@ximian.com>
2892 * Help.cs: Allow param to be null. Patch by Don Edvalson.
2894 2006-01-24 Jackson Harper <jackson@ximian.com>
2896 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2897 when we have a MaxDropItems lower then the selected index.
2899 2006-01-24 Jackson Harper <jackson@ximian.com>
2901 * Control.cs: Don't allow selection of non visible controls, allow
2902 selection of controls without parents.
2904 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2906 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2907 * DataGridDrawingLogic.cs: Add editing row only when is necessary
2909 2006-01-23 Jackson Harper <jackson@ximian.com>
2911 * UpDownBase.cs: Make the textbox handle all the selection and
2912 tabbing. This fixes tabing to updown controls.
2914 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2916 * TextBoxBase.cs: fixes exception thown the object was null
2918 2006-01-23 Jackson Harper <jackson@ximian.com>
2920 * ButtonBase.cs: Just use the base CreateParams. They set
2921 visibility and enabled correctly.
2924 * MonthCalendar.cs: Lets let the base set as much of the
2925 createparams as possible so we don't have duplicate code all over
2928 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
2930 * ThemeGtk.cs: Added TrackBar and some experimental code to
2931 get double buffering back
2933 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2935 * DataGrid.cs: Allows row number set internally higher than the last
2936 when creating a new row. Restores the editing functionality.
2938 2006-01-20 Mike Kestner <mkestner@novell.com>
2940 * MimeIcon.cs: delay Image creation until the icons are accessed
2941 instead of creating 190 scaled images on GnomeHandler startup.
2943 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2945 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2946 first call base before processing the event. Fixes #77279
2948 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2950 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2951 that the stride for the GDI bitmap would match the stride of
2954 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2956 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2958 2006-01-19 Jackson Harper <jackson@ximian.com>
2960 * ComboBox.cs: Hookup the text controls keydown event so we get
2961 those when the text control has the focus.
2963 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2965 * Label.cs: Now using the base events instead of defining new ones;
2966 this allows us to just call the base properties without having to
2967 duplicate all base property logic
2969 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2971 * Label.cs: A label by default is not a tabstop (Fixes one of our
2972 failing nunit tests)
2974 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2976 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2977 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2979 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2981 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2982 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2985 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2986 constructor creates images that can't be saved. Part of the fix
2988 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2989 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2990 bug fix for handling window state in forms properly)
2992 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2994 * ThemeGtk.cs: Simplify ScrollBar drawing
2996 2006-01-18 Jackson Harper <jackson@ximian.com>
2998 * Splitter.cs: Set the default dock style for the splitter control
3001 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3003 * ThemeGtk.cs: Corrected StateType and ShadowType for
3006 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3008 * Control.cs: Make use of Theme.DoubleBufferingSupported
3010 - Added drawing for flat style buttons
3011 - Added ScrollBar drawing
3013 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3015 * ThemeClearlooks.cs: Removed some unneeded code.
3016 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3018 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3020 * LinkLabel.cs: We need to update the hover drawing when
3021 leaving the control as well.
3023 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3025 * DataGrid.cs: Clicking on non empty areas in the columns
3026 area was giving an exception
3028 2006-01-17 Jackson Harper <jackson@ximian.com>
3030 * ThemeWin32Classic.cs:
3031 * ListView.cs: Do not draw/clip the headers when the header style
3034 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3036 * DataGrid.cs: Fixes 77260
3038 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3040 * DataGrid.cs: Clicking on a column on a empty grid was giving
3043 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3045 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3046 or any keypress will crash the grid.
3048 2006-01-17 Mike Kestner <mkestner@novell.com>
3050 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3051 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3052 invisible/previously-visible items.
3055 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3057 * ThemeClearlooks.cs:
3058 - Added CL_Draw_Button method; now other theme controls that are
3059 not derived from button or do not have a button can draw buttons
3061 - Updated ComboBox drawing
3062 - Beautified RadioButton drawing
3063 - Corrected drawing of bottom and left tabs
3064 - Beautified DateTimePicker and MonthCalendar
3065 - Added CPDrawButton and CPDrawRadioButton
3067 2006-01-16 Jackson Harper <jackson@ximian.com>
3069 * ComboBox.cs: Set the initial value of the scrollbar to the
3070 current index. Reduce the numbers of refreshs and IndexOfs called.
3072 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3074 * FileDialog.cs: When the file listview is focused hitting the
3075 backspace key moves the fileview to the parent directory
3077 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3080 - Added RecreateHandle call when changing taskbar visibility to
3081 trigger reparenting in Win32 driver (Fixes #75719)
3082 - If a window has minimize or maximize buttons, it cannot have
3085 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3086 the toplevel form with FosterParent (A toolwindow not on the
3087 taskbar) (Fixes #75719)
3088 - Made FosterParent a toolwindow
3090 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3092 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3094 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3096 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3097 is currently over that control, make sure that tooltip_window.Text
3100 2006-01-13 Mike Kestner <mkestner@novell.com>
3102 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3104 2006-01-13 Jackson Harper <jackson@ximian.com>
3106 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3107 value passed. Also redraw the selected node when we recieve
3108 focus, so tabbing between trees works correctly.
3110 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3112 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3113 ~/.gconf/%gconf-tree.xml, so use
3114 .gconf/desktop/gnome/interface/%gconf.xml
3116 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3118 * TextControl.cs: Draw text in gray if control is disabled
3120 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3122 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3123 make sure it's always visible. Fixes #76680.
3125 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3127 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3129 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3131 * PageSetupDialog.cs: Added.
3132 * PrintDialog.cs: Attributes.
3133 * PrintPreviewControl.cs: Updates.
3134 * PrintPreviewDialog.cs: Updates.
3136 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3138 * Control.cs: Undid my selection check fix, since it's not needed
3140 - Now considering the presence of hscroll/vscroll when sizing
3141 vscroll/hscroll respectively. Fixed bug #77077
3142 - Added Left/Up/Down/Right to IsInputKey list to prevent
3143 ContainerControl from stealing them. This fixes what I broke
3144 with my last checkin.
3146 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3148 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3149 I finally understand how the property can be set without a setter :-)
3151 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3154 - Switched RunLoop to use static Message.Create to create a
3156 - Added PreProcessMessage call in runloop for keyboard events; this
3157 is part of the fix for #77219, I overlooked this originally in the
3158 MSDN doc for PreProcessMessage
3160 - Removed call to PreProcessMessage from handling of keyboard
3161 messages; it's supposed to be done in the message pump
3162 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3163 per MSDN documentation.
3164 - IsInputChar: All chars are input chars by default; removed the
3165 parent calling chain, MS does not document that
3166 - PreProcessMessage: If IsInputChar is true, we want to return false
3167 to allow dispatching of the message
3168 - When selecting the next control, now also check that we're not
3169 selecting ourselves again and therefore return a false positive.
3171 - Tried to match return values for IsInputKey and ProcessDialogKey
3172 to what MS returns; moved processing of our special keys outside
3173 ProcessDialogKey since MS does not seem to return true on those.
3174 - Moved code that previously was in ProcessDialogKey into new private
3175 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3176 - Reworked handling of WM_CHAR to not have to duplicate code from
3177 Control.cs anymore, instead we simply call down to base.
3179 2006-01-12 Jackson Harper <jackson@ximian.com>
3181 * ComboBox.cs: We always need to refresh the text area when
3182 EndUpdate is called. Fixes the combobox in the file dialog.
3183 * Control.cs: Don't create the creator_thread until the controls
3184 handle is created. Also in InvokeRequired we check if the
3185 creator_thread is null. This gives the effect of InvokeRequired
3186 returning true if the controls handle is not created yet, and
3189 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3192 - Added StartLoop() driver method. This is used to allow drivers to
3193 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3194 loop for a particular thread
3195 - Added EndLoop() driver method. This is called once the message
3196 pump for the thread is shut down
3197 - Added SupportsTransparency method to allow the driver to indicate
3198 opacity support for windows
3200 - Removed TODO attribute, completed AllowTransparency property
3201 - Added documented logic to Opacity
3202 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3203 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3204 versions of CompatibleTextRendering
3205 * X11Structs.cs: Added opacity atom to our atom enumeration
3206 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3207 of a form might be set before it's reparented by the WM, and we need
3208 the opacity value without calling up to Form)
3209 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3210 SupportsTransparency() driver methods
3211 * Application.cs: Now calling StartLoop and EndLoop driver methods
3213 - Added opacity atom registration
3214 - Added StartLoop()/EndLoop() methods. They're empty right now but
3215 will need to get implemented when we switch to a per-thread queue
3216 - Implemented SupportsTransparency() method
3217 - Implemented SetWindowTransparency() method
3218 - Added support for setting the opacity value when a window is
3219 reparented (since the opacity needs to be set on the WM frame)
3220 * XplatUIOSX.cs, XplatUIWin32.cs:
3221 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3223 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3225 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3227 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3229 * FileDialog.cs: Added ToolTip for MWFFileView
3230 * MimeIcon.cs: Rewrote GnomeHandler.
3231 - Get currently used gnome icon theme from
3232 ($HOME)/.gconf/%gconf-tree.xml
3233 - Make use of inherited icon themes
3234 - Support SVG icon themes like Tango via librsvg
3236 2006-01-12 Miguel de Icaza <miguel@novell.com>
3238 Revert's Jackson's revert which broke 2.0 builds. Fix both
3241 * Application.cs: Move the use_compatible_text_rendering outside
3242 the NET_2_0 define. If we ever need to use the
3243 use_compatible_text_rendering on the individual controls they will
3244 access the variable from the common shared code paths.
3246 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3249 - Added more granular debug options
3250 - Added method to print both window text and id
3251 - Switched debug output to use new Window() debug method
3252 - Added IsEnabled() driver method
3253 - Added EnableWindow() driver method
3255 - Removed end_modal; no longer needed, new loop handles termination
3256 via 'closing' variable
3257 - If form is modal, setting DialogResult will now initiate loop
3258 termination via 'closing' variable
3259 - Added support for is_enabled/WS_DISABLED to CreateParams
3260 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3262 - Removed code that's now in RunLoop from ShowDialog()
3263 - Added various documented sanity checks to ShowDialog()
3264 - Added handling of WM_DESTROY message; we set 'closing' on getting
3265 the message to indicate the message pump to terminate
3266 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3267 send by the Application.ExitThread method. (We send the message
3268 to destroy the window after all other events have been
3269 processed through the queue, instead of destroying the handle
3271 - Moved code from Close() method to WM_CLOSE handler; added logic
3272 to only send close-related events if the form is not displayed
3274 * Splitter.cs (..ctor): Fixed typo in resource name
3276 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3278 - set_Cursor: Now only setting calling into XplatUI if the handle for
3279 the control is already created; this avoids implict handle creation
3280 or crashes if it's not created
3281 - set_Enabled: Now setting the enabled state via the new driver method
3282 instead of just tracking it
3283 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3284 - CreateControl: Reordered event firing and method calls to more
3285 closely fire events in the order MS does. Now setting the
3286 enabled state in the driver when creating the control.
3287 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3289 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3290 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3291 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3293 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3294 - Added EnabledHwnd property to easily allow a driver to find the
3295 handle of the first enabled window in the parent chain (this is
3296 used by drivers to pass up input events of disabled windows)
3297 * XplatUIDriver.cs: Added IsEnabled() method
3299 - Removed crude and obsolete exiting tracking variable
3300 - Removed internal ModalRun(); replaced by RunLoop()
3301 - Implemented private CloseForms() method to allow closing all
3302 windows owned by a particular (or all) threads
3303 - Exit() now properly closes all windows without forcing the message
3305 - Removed obsolete InternalExit() method
3306 - Changed Run() methods to use new RunLoop() message pump
3307 - Implemented new RunLoop() method for both modal and non-modal forms
3309 - get_CreateParams: Added setting of WS_DISABLED
3310 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3311 invoked via Form.ShowDialog()
3312 * NativeWindow.cs: We don't remove the window from the collection when
3313 the handle is destroyed; there might still be messages for it in the
3314 queue (mainly the resulting WM_DESTROY); instead it will be removed
3315 when Control calls InvalidateHandle in the WM_DESTROY handler
3317 - CreateWindow: Added logic to handle the WS_DISABLED window style
3318 - EnableWindow: Implemented based on Hwnd.Enabled
3319 - GetMessage: Reset PostQuitState so the method can be called again
3320 - Implemented support for disabled windows (passing messages to the
3321 first enabled parent) in handling all input messages
3322 - Added optimizations for handling Expose events
3323 - Implemeted new driver method IsEnabled()
3324 - Now always resetting paint pending tracking vars when we start paint
3325 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3326 * XplatUIOSX.cs: Added IsEnabled method stub
3327 * XplatUIWin32.cs: Implemented new IsEnabled() method
3329 2006-01-11 Jackson Harper <jackson@ximian.com>
3331 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3332 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3334 * ColorDialog.cs: Clear out the old form before adding the new
3337 2006-01-11 Jackson Harper <jackson@ximian.com>
3339 * X11Dnd.cs: Make sure to add all the text formats when adding
3340 strings to the data object.
3341 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3342 do some redrawing too. Also change the UpdateNode to an
3343 UpdateBelow so the newly added node gets painted.
3345 2006-01-11 Miguel de Icaza <miguel@novell.com>
3347 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3348 LinkLabel.cs, PropertyGrid.cs: Implement the
3349 UseCompatibleTextRendering property for 2.x
3351 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3353 2006-01-11 Jackson Harper <jackson@ximian.com>
3355 * TreeView.cs: Use the property for setting the selected node so
3356 the correct events get raised.
3357 * TreeNode.cs: Update the tree when the fore/back colours of a
3360 2006-01-10 Jackson Harper <jackson@ximian.com>
3362 * TreeView.cs: Allow setting SelectedNode to null.
3364 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3366 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3368 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3370 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3372 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3374 * PrintDialog.cs: Added attributes and set default property values.
3376 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3378 * PrintControllerWithStatusDialog.cs:
3379 Added PrintControllerWithStatusDialog.
3381 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3383 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3384 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3386 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3388 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3390 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3392 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3393 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3395 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3397 * MimeIcon.cs: Added internal class SVGUtil.
3399 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3401 * FileDialog.cs: Don't crash if there are two files with the
3402 same name but different locations.
3404 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3406 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3407 dates across multiple month grids. Used to not highlight entire
3408 month, but does now.
3410 2006-01-06 Jackson Harper <jackson@ximian.com>
3412 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3413 message loop. Change timer intervals to numbers that seem more
3416 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3418 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3419 object for location info since screen object is now implemented.
3421 2006-01-05 Jackson Harper <jackson@ximian.com>
3423 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3424 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3425 AsyncMethodResult, this is because we ALWAYS want the
3426 ManualResetEvent to get set.
3427 * Control.cs: When disposing use an async invoke to call shutdown
3428 code, so that thigns don't block on the finalizer thread. Also
3429 check if we even have a message loop before trying to send
3430 messages, if we don't then don't bother sending messages.
3431 - No more weak references for async methods
3432 * XplatUIDriver.cs: No more weak references for async methods.
3434 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3436 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3437 returns two FontFamily with the same name
3439 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3441 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3442 drawing disabled text. Instead using the ColorGrayText color
3444 2006-01-04 Jackson Harper <jackson@ximian.com>
3446 * TreeNode.cs: redraw the node when its image index is changed.
3448 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3450 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3451 time I checked there are no others like it.
3453 2006-01-04 Jackson Harper <jackson@ximian.com>
3455 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3456 this gives the behavoir I was looking for.
3457 * Control.cs: Special case Invoking EventHandlers, this matches MS
3458 and fixes part of bug #76326.
3460 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3462 * ThemeClearlooks.cs, FileDialog.cs:
3463 - Reflect the latest Theme class changes
3464 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3467 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3469 * Theme.cs: Cache UI resource images and resize them if needed
3471 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3473 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3474 is called. This fixes the crash in Nexxia when setting the font
3475 attributes in the chat. [However, RTF needs a look-over to make sure
3476 that all SelectionXXX methods handle the special case that selection
3477 is empty and therefore the change must be applied to all text starting
3478 at the cursor/selection start]
3480 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3482 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3483 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3484 * X11Keyboard.cs: Switched to new way of calling PostMessage
3486 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3488 * Theme.cs: Added theme interface for images to allow the theme to
3489 control what images are used for things like FileDialog, MessageBox
3491 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3493 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3496 - Removed some dead code
3497 - Opening a recently used file does work now
3498 - Small UI enhancements
3501 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3503 * FileDialog.cs: Forgot too add __MonoCS__
3505 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3507 * FileDialog.cs: We are able to read recently used files now let's
3508 go on and write them.
3510 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3512 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3514 * MimeIcon.cs: Do a check for the top level media type also
3516 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3518 * ThemeClearlooks.cs:
3519 - Added CPDrawStringDisabled
3520 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3521 some chars if the text doesn't fit into text_rect
3522 - DrawListViewItem: If View = View.LargeIcon center the image;
3523 rewrote the drawing of ListViewItem.Text if View =
3526 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3528 * MimeIcon.cs: Use default KDE icon theme if there is no
3529 "48x48" directory for the current icon theme, fixes #77114
3530 * Mime.cs: Disable not working and actually not used code.
3531 * ThemeWin32Classic.cs:
3532 - Replace "new SolidBrush" in GetControlBackBrush and
3533 GetControlForeBrush with ResPool.GetSolidBrush
3534 - Changed DrawListViewItem from private to protected virtual
3536 - Added form.MaximizeBox = true
3537 - Don't throw an exception if there is a broken symbolic link
3539 2005-12-23 Jackson Harper <jackson@ximian.com>
3541 * TabControl.cs: Give the panels focus, keyboard navigation is
3542 fixed so this works correctly now.
3543 - We need these key events also.
3544 * ToolBar.cs: Remove some of the poor mans double buffering.
3546 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3548 * ComboBox.cs: The internal TextBox now returns the focus.
3550 2005-12-23 Jackson Harper <jackson@ximian.com>
3552 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3554 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3556 * Control.cs: Removed debug code
3557 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3560 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3562 * Control.cs: When creating the control, update the Z-order after
3563 all it's children are created, too. (Fixes nexxia not showing
3566 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3568 * Control.cs: Do not update the anchoring distances if layout is
3569 suspended, instead do it once layout is resumed
3571 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3574 - After many hours of debugging, for both Jackson and
3575 myself, it turns out that it helps to set the parent of a control
3576 if you want to actually see it onscreen. In the spirit of that
3577 discovery, we're now setting the parent of the control and
3578 it's children when the control's handle is created. This fix
3579 will make Lutz Roeder's Reflector run happily.
3580 - now just creating the handle instead of the whole control when
3581 getting a graphics context for the control.
3583 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3585 * ScrollableControl.cs: When calculating the canvas, don't consider
3586 the scrollbar widths. Instead, predict if horizontal scrollbar
3587 will affect canvas when deciding on vertical display and vice versa.
3589 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3591 * RichTextBox.cs: Set default RTF font for documents that don't
3592 have a font table (Fixes #77076)
3594 2005-12-22 Jackson Harper <jackson@ximian.com>
3596 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3597 clipboard. This prevents a NullRef in that case.
3598 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3599 clipboard. PRIMARY is for the currently selected text only. (We
3600 should implement PRIMARY at some point.
3602 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3604 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3605 a Unicode function with a structure that was defined in Ansi way.
3608 2005-12-21 Jackson Harper <jackson@ximian.com>
3610 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3611 on. Because thats how it rolls. (and this avoids it using ambient
3613 * ThemeWin32Classic.cs: Use the proper back color for filling.
3614 * Menu.cs: Use the system menu bar color for drawing menu
3615 bars. Using the window back color will bring ambient colours into
3618 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3620 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3621 Bitmaps were created and not disposed.
3623 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3625 * Control.cs (CreateControl): Don't do anything if the control is
3626 already created, otherwise we'd fire the OnCreated event more than
3629 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3631 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3632 will always match. Instead return -1. Fixes #76464.
3634 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3636 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3637 neither the beginning nor the end of the line (Fixes bug #76479)
3639 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3642 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3643 where handle is invalid
3644 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3645 instead of slower linear search
3646 * NativeWindow.cs: Don't remove the window from the hashtable until
3647 after the driver has destroyed it (since the driver might use
3648 Control.FromHandle to lookup the control object
3649 * Hwnd.cs: Added DestroyPending property to track if a window is
3650 already destroyed as far as the driver is concerned and only hasn't
3651 yet notified the control
3653 - Activate(): Check if the window is still valid before using the
3655 - Implemented DestroyChildWindow() method to mark child windows as
3656 destroyed when a window is destroyed. This prevents situations
3657 where we might call an X method based on queued events for a
3658 window that already has been destroyed but we haven't yet pulled
3659 the destroy method from the queue.
3660 - Added a call to the new DestroyChildWindow() method to the drivers
3661 DestroyWindow code. Also now marking the destroyed window itself
3664 2005-12-20 Jackson Harper <jackson@ximian.com>
3667 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3668 anymore. Just do them when needed, also track the rects of panels
3669 so that we can optimize refreshing more in the future.
3671 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3673 * ColorDialog.cs: Fixed focus drawing in small color controls
3675 2005-12-19 Jackson Harper <jackson@ximian.com>
3677 * InternalWindowManager.cs:
3678 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3679 moving windows works properly.
3681 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3684 - Removed call to InitLayout() from SetBoundsCore(); doc says
3685 it's only called when a control is added to a container
3686 - Split InitLayout logic, moved to separate UpdateDistances() method
3687 since we need to perform those calculations more often than just
3688 when adding the control to a container. (Needed to fix #77022)
3689 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3690 - Reduced the OnBindingContextChanged events count, don't send them
3691 unless the control is created, we still aren't totally matching
3692 MS, but I can't quite figure out some of their rules
3694 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3696 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3699 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3701 * ThemeClearlooks.cs:
3702 - Updated ProgressBar drawing
3703 - Corrected drawing of ScrollBars and scroll buttons
3704 - Some temporary fixes for minor pixel artefacts
3706 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3709 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3710 cause events to be sent in the same order as MS does.
3711 - Added ChangeParent() method to trigger various OnXXXChanged events
3712 that need to be fired when a parent changes (This is a reworking
3713 of the patch from r54254, with the X11 errors fixed)
3714 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3715 since on MS we get OnLayoutChanged events when calling Clear()
3716 - Changed Enabled property to consider parent state as well, if a
3717 parent is not enabled, the control will not be either
3718 - Changed Parent property to simply call Controls.Add() since that
3719 now does all the work required, this way we avoid code duplication
3720 - Threw in a few OnBindingsContextChanged calls to try and match
3721 when MS sends them. We seem to send a few too many, though.
3722 - Added call to CreateControl when adding the control to a parent.
3723 We were never calling CreateControl. Still needs some work, in
3724 some places we treat HandleCreated and ControlCreated as equal,
3726 - Removed obsolete commented out code from UpdateZOrder()
3728 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3730 * ThemeClearlooks.cs: Updated TrackBar drawing.
3732 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3734 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3736 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3738 * FileDialog.cs: Add the Help button and the open readonly
3739 checkbox only if needed
3741 2005-12-16 Jackson Harper <jackson@ximian.com>
3743 * Control.cs: Make sure we have an active menu before trying to
3744 process commands on it. Prevents menu-less forms from crashing
3745 when Alt is pressed.
3746 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3748 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3751 2005-12-16 Jackson Harper <jackson@ximian.com>
3753 * InternalWindowManager.cs: Don't translate tool windows screen
3754 coordinates. This fixes windows 'bouncing' around when being moved.
3756 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3759 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3760 not quite MS compatible, MS uses that number only for single line
3761 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3763 - Now enforcing the MaxLength limit when entering characters
3764 - Added argument to internal Paste() method to track if it's called
3765 from programatically or via keyboard, since keyboard driven pastes
3766 need to enforce max-length
3767 - Added logic to Paste to only paste as many chars as MaxLength
3769 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3771 - Added Length property to return number of characters in document
3772 - Added private CharCount property which only tracks actual chars
3773 in the document (no linefeeds) and fires event when CharCount
3775 - Added tracking of character count to all methods that alter it
3776 - Added LengthChanged event to allow applications to subscribe
3777 to any changes to the document
3779 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3782 - Removed local password_char field (moved to TextBoxBase)
3783 - Now setting the document's password var when password is
3786 - Added password_char field (needed here so MultiLine can
3788 - Added logic to MultiLine property setter to set the document's
3789 variable when password display is allowed
3790 - Removed debug code and made some debug code conditional
3792 - Added RecalculatePasswordLine() method to handle special password
3794 - Added PasswordChar property, also added related tracking vars
3795 - Draw() method now uses local text var for grabbing text to draw,
3796 this var is set to line.text unless we're doing password display,
3797 then it is set to the pre-generated all-password-chars line
3798 - Added calling RecalculatePasswordLine() method for password lines
3800 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3803 - Added Reparented property to allow tracking of Window Manager
3804 reparenting actions (which affect X/Y calculations of toplevel
3806 - Made ToString() print window handles in hex
3808 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3809 determine if X/Y needs offsetting
3810 - AddConfigureNotify(): Fixed offset calculations
3811 - Now adds ReparentNotify messages into the queue
3812 - Now processes ReparentNotify messages and causes a
3813 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3814 is reparented (as most likely it's X/Y coordinates are changed
3817 2005-12-14 Jackson Harper <jackson@ximian.com>
3819 * XplatUIX11.cs: Tool windows still need to respek focus.
3821 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3823 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3824 have a working release
3826 2005-12-13 Jackson Harper <jackson@ximian.com>
3828 * Form.cs: Update styles after setting the border style regardless
3829 of whether or not the window is using a window manager.
3831 2005-12-13 Jackson Harper <jackson@ximian.com>
3833 * Form.cs: We now hook into an internal window manager instead of just an
3834 MDI subsystem, this is so we can have properly behaving tool windows.
3835 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3836 * InternalWindowManager.cs: New internal class that acts as a
3837 window manager for tool windows and as a base for mdi windows.
3838 * MdiWindowManager.cs: New class that acts as a window manager for
3841 2005-12-12 Jackson Harper <jackson@ximian.com>
3843 * Control.cs: Updates so we match behavoir for for implicit
3844 controls. Fixes explosions in MDI.
3846 2005-12-12 Jackson Harper <jackson@ximian.com>
3848 * Control.cs: Implement Invalidate (Region).
3850 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3853 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3854 the same events as MS does. MS fires events for each property
3855 except, for unknown reasons, Cursor, when the control is reparented.
3856 I can't seem to totally match add/remove since MS also fires some
3857 VisibleChanged events, which makes no sense. Consolidated the
3858 parenting code into a separate method so it can be called from
3859 both Add and Remove. set_Parent no longer needs any special logic
3860 as it calls the parent's add method which implicitly fires
3862 - Removed some obsolete code and debug output
3863 - Enabled state is inherited from parents, if this is enabled
3865 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3867 * Form.cs: Removed commented out code
3869 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3872 - Added internal version of Invoke, with additional argument
3873 indicating if we're calling it from a Dispose() handler. That
3874 way we can avoid BeginInvoke throwing an exception if we're
3875 calling for an already destroyed window.
3876 - Added a dispose argument to BeginInvokeInternal, and made the
3877 check if a valid window handle chain exists conditional on
3878 it not being a dispose call
3879 - Removed code in DestroyHandle to destroy our children. Since we
3880 now handle the WM_DESTROY message we will catch all our children
3882 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3884 - Added a field to track the application context of the form.
3885 - No need to set closing variable as response to WM_CLOSE, instead
3886 we destroy the window. We also call PostQuitMessage if the form
3887 has an application context (which makes it the main app form,
3888 which, when closed terminates the app)
3890 - Dropped Exit() method, it's naming was confusing
3891 - Added PostQuitMessage() which causes GetMessage to return false
3892 once the message queue is empty
3893 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
3895 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3896 no longer a valid XplatUI method, but left it in since it's used
3897 internally. Added empty PostQuitMessage() method.
3898 * MenuAPI.cs: Replaced call to Exit() with call to
3899 PostQuitMessage, even though this is probably no longer needed.
3900 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3901 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3903 - Replaced call to XplatUI.Exit() with PostQuitMessage()
3904 - Removed old debug code that would call XplatUI for exception
3905 display, enabled standard exception handling (Still not enabled
3906 though, until NativeWindow's ExternalExceptionHandler define
3909 - Added internal method to allow control to update NativeWindow
3910 after a window has been destroyed
3911 - Added handling of already destroyed windows when calling i
3913 - Added removal of handle from list on ReleaseHandle
3915 - Dropped GetMessageResult var and related code
3916 - Added PostQuitState to field to track if PostQuitMessage has been
3918 - Dropped Exit() method
3919 - Added PostQuitMessage() method
3920 - GetMessage now will return false if PostQuitState is set and no
3921 more messages are in the queue.
3922 - Expose handler will no longer generate WM_PAINT messages if we are
3923 in PostQuitState since it's very likely any windows have already
3924 been destroyed, and since Hwnd won't get updated until we have
3925 processed the DestroyNotify we'd be causing X errors.
3927 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3929 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3930 Thanks to Mike for pointing out the err of my ways.
3932 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3934 * Control.cs(PreProcessMessage): Moved menu handling back, but
3935 after all other key handling, to match MS (who handles Menu in
3937 * Menu.cs (WndProc): Removed my brainfart
3939 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3941 * Control.cs(PreProcessMessage): Removed special menu handling
3942 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3944 2005-12-07 Mike Kestner <mkestner@novell.com>
3946 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3947 state according in tracker.
3948 * Menu.cs : promote tracker field to base class and provide a tracker
3949 lookup capability. Add/Remove shortcuts dynamically if the top menu
3950 has a tracker. Unparent items that are removed from the collection.
3951 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3952 * Theme*.cs: add always_show_hotkeys field to support configurability
3953 of mnemonic display. win32 doesn't show mnemonics until Alt is
3956 2005-12-07 Jackson Harper <jackson@ximian.com>
3958 * MdiChildContext.cs: Use Control.ResetCursor.
3959 * Control.cs: ResetCursor needs to set the property so that the
3960 correct XplatUI call gets made.
3962 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3964 * Control.cs: More fixes to make our key events match MS. We
3965 were not setting the modifier state on KeyData, and we were
3966 not generating any events when Alt was pressed with a key
3967 since handling of WM_SYSxxx was missing for the OnKey methods.
3969 2005-12-07 Jackson Harper <jackson@ximian.com>
3971 * MdiChildContext.cs: reenable the sizing code.
3972 - When the mouse leaves a window reset its cursor.
3974 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3976 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3978 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3980 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3981 widths of Fixed3D borders
3983 2005-12-07 Jackson Harper <jackson@ximian.com>
3985 * MdiClient.cs: Fix warnings. Earn Mike's love.
3987 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3989 * ThemeClearlooks.cs:
3990 - Adjusted mouse over button color
3991 - Added first parts of CheckBox drawing
3992 - Added correct color for selected text background
3993 - Fixed ComboBox drawing
3994 - Added CPDrawBorder3D and CPDrawBorder
3996 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3998 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4000 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4002 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4003 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4004 alert users via sound. We could add an enum arg with different
4005 types of alerts in the future
4007 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4009 * Control.cs: Fix behaviour problems pointed out by Mike
4011 2005-12-05 Mike Kestner <mkestner@novell.com>
4013 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4014 prop setters. Calls parent.Refresh for now, but could be maybe be
4015 optimized with an internal method on StatusBar at some point.
4018 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4020 * RichTextBox.cs: Implemented get_SelectionColor
4022 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4024 * ThemeClearlooks.cs:
4026 - Draw black button border only if button is Form.AcceptButton
4027 - Draw correct button color for pressed RadioButton if the mouse
4028 has entered the button
4029 - Updated ProgressBar drawing!
4030 - Updated CPDrawSizeGrip drawing
4031 - Updated StatusBarPanel drawing
4033 2005-12-05 Mike Kestner <mkestner@novell.com>
4035 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4036 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4038 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4040 * ThemeClearlooks.cs: Initial check-in, activate with
4041 export MONO_THEME=clearlooks
4042 * ThemeEngine.cs: Added ThemeClearlooks
4044 2005-12-03 Mike Kestner <mkestner@novell.com>
4046 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4049 2005-12-02 Jackson Harper <jackson@ximian.com>
4051 * Form.cs: If the child form has no menu the default main menu is
4052 used as the active menu.
4054 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4056 * ListBox.cs: Check if any items exist before trying to resolve
4057 coordinates into items
4059 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4061 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4062 as the second color for the background hatch
4064 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4066 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4067 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4068 sure that what we pass to FormatText is always 1-based. Fixes #76885
4070 2005-11-29 Miguel de Icaza <miguel@novell.com>
4072 * NumericUpDown.cs (EndInit): When we are done initializing,
4073 reflect any updates on the UI.
4075 2005-12-02 Jackson Harper <jackson@ximian.com>
4077 * ImplicitHScrollBar.cs:
4078 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4079 their container controls.
4080 * TreeView.cs: Use the new implicit scrollbars.
4082 2005-12-02 Jackson Harper <jackson@ximian.com>
4084 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4086 * TreeNodeCollection.cs: If we remove the topnode we need to
4087 update topnode to the next node in line.
4088 - When clearing nodes go through the same process as removing
4089 them, so they get depareneted and checked if they are top node.
4091 2005-12-01 Jackson Harper <jackson@ximian.com>
4093 * TreeView.cs: When imagelists are used the image area is
4094 selectable as well as the text.
4095 - If there are no selected nodes select the first one.
4096 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4097 so don't do it more then we need to.
4099 2005-12-01 Jackson Harper <jackson@ximian.com>
4101 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4102 that arrows can be scaled.
4104 2005-12-01 Jackson Harper <jackson@ximian.com>
4106 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4107 fail. Patch by Dieter Bremes
4109 2005-11-30 Jackson Harper <jackson@ximian.com>
4111 * Form.cs: Property is 2.0 only
4112 * PrintDialog.cs: Signature fix.
4114 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4117 - No longer artificially moves text 2 pixels down (now that we have
4118 borders this is no longer needed)
4119 - Added calcs for left, hanging and right indent
4121 2005-11-23 Mike Kestner <mkestner@novell.com>
4123 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4125 2005-11-30 Jackson Harper <jackson@ximian.com>
4127 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4128 get cloned as part of CloneMenu ().
4129 * Menu.cs: Make sure the parent of the items get set correctly
4130 when they are added. And the owners are notified of the changes.
4131 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4132 we can change the menu being displayed/handled by the form without
4133 changing the menu assosciated with the form.
4134 - Don't let Mdi children draw/handle menus.
4136 2005-11-30 Jackson Harper <jackson@ximian.com>
4138 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4139 a MenuChanged event. Just to make the API a little more
4142 * MenuItem.cs: Use the new OnMenuChanged
4143 * MdiChildContext.cs: Handle menu merging.
4144 * Form.cs: Implement MergedMenu.
4146 2005-11-30 Jackson Harper <jackson@ximian.com>
4148 * Menu.cs: We were misusing Add. Add goes behind the specified
4149 index according to the docs, and does not replace the specified
4150 index. So I added an Insert method.
4152 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4154 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4155 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4157 * RichTextBox.cs: Added calls to base for DnD events
4159 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4162 - Fixed drag-selection related crash; style fixes
4163 - Implemented undo class
4164 o Implemented method to capture document state for specified
4165 range in document tree
4166 o Implemented method to restore captured document state
4167 o Implemented cursor tracking
4168 o Implemented basic undo stack
4169 - Added undo cursor tracking to methods altering cursor location
4170 - Added undo tracking to selection deletion (still missing
4171 other text-altering hookups)
4173 - Added SelectionLength property
4174 - Implemented CanPaste()
4175 - Implemented Paste()
4176 - Added missing protected methods
4177 - Fixed RTF->Document conversion; now uses font index 0 and color
4178 index 0 as the default font for the parsed text
4179 - Fixed RTF<->Document font size translation
4180 - Fixed RTF generation, now properly handles cross-tag boundaries
4181 for single line selection
4182 - No longer always appends blank line to generated RTF
4184 - Added missing attributes
4185 - Hooked up undo-related methods
4187 - Implemented Copy()
4188 - Implemented Paste()
4190 - Fixed caret mis-behaviour on backspace across line-boundaries
4192 2005-11-29 Jackson Harper <jackson@ximian.com>
4194 * MdiClient.cs: Add a method for activating mdi children. Very
4195 basic right now. I imagine someday it might need more girth.
4196 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4197 children windows names are added to the menu item.
4198 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4199 mdilist. This happens regardless of whether or not there are any
4200 mdi windows to see in the list, and according to my tests happens
4201 before the items are even added. Also happens if there isn't even
4202 an mdi client to get windows from.
4204 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4206 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4207 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4209 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4211 * DataGridTableStyle.cs:
4212 - Create always the styles for the missing columns even if they are
4213 provided by the user (not default table style)
4216 - Fixes SetDataBinding (always re-attach source)
4217 - Fixes SetNewDataSource (only clear styles if they are not for
4219 - Expands OnTableStylesCollectionChanged to handle style refresh
4222 2005-11-29 Jackson Harper <jackson@ximian.com>
4224 * FileDialog.cs: Implement missing bits, remove some dead
4226 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4227 creation of the panel so that the options set on the dialog are
4228 seen when the panel is created.
4229 * TreeView.cs: raise a click when items are clicked.
4231 2005-11-29 Jackson Harper <jackson@ximian.com>
4233 * MdiClient.cs: Pass some signature methods through to base.
4235 2005-11-28 Jackson Harper <jackson@ximian.com>
4237 * ListView.cs: Raise the click event when items are clicked.
4239 2005-11-28 Jackson Harper <jackson@ximian.com>
4241 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4244 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4246 * ThemeNice.cs: - Removed 1 pixel bitmaps
4247 - Use SmoothingMode.AntiAlias where it makes sense
4248 (ScrollButton arrow for example)
4249 - Enhanced Button focus drawing
4250 - Fixed ComboBox drawing (no artefacts anymore, focus
4251 rectangle is back again, reduced size of ComboButton, etc.)
4252 - Fixed RadioButton focus drawing for Appearence.Button
4253 - Slight ScrollButton redesign
4254 - Some LinearGradientBrush size fixes
4255 - GroupBoxes have now rounded edges
4256 - Fixed StatusBar drawing
4258 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4260 * ThemeNice.cs: - Remove dead code
4261 - use correct background colors for menus, etc.
4262 - Fake pixel drawing with 1 pixel bitmaps
4264 2005-11-24 Jackson Harper <jackson@ximian.com>
4266 * MdiClient.cs: Size the scrollbars when resizing the window.
4267 - Resize the maximized windows when the client is resized
4268 * Form.cs: Make the child context available
4270 2005-11-23 Jackson Harper <jackson@ximian.com>
4272 * MdiChildContext.cs: Don't size windows if they are maximized.
4274 2005-11-23 Mike Kestner <mkestner@novell.com>
4276 * ContextMenu.cs: use MenuTracker.
4277 * Control.cs: remove menu handle usage.
4278 * Form.cs: remove menu handle usage.
4279 * Hwnd.cs: remove menu handle usage.
4280 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4281 motion and clicks to the new Tracker handlers.
4282 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4284 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4285 Killed the MENU and MENUITEM data types and associated collections
4286 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4287 MenuTracker class that exposes the leftovers from the old MenuAPI
4288 static methods. Restructured Capture handling so that only one grab is
4289 done for the entire menu hierarchy instead of handing off grabs to
4290 submenus. Tracker now has an invisible control to Capture when active.
4291 * MenuItem.cs: add sizing accessors, kill Create
4293 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4294 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4295 MENU(ITEM). remove menu handle usage, use Menu directly.
4296 * XplatUIDriver.cs: remove menu handle usage.
4297 * XplatUIOSX.cs: remove menu handle usage.
4298 * XplatUIWin32.cs: remove menu handle usage.
4299 * XplatUIX11.cs: remove menu handle usage.
4301 2005-11-22 Jackson Harper <jackson@ximian.com>
4303 * Hwnd.cs: Don't compute the menu size for
4304 DefaultClientRectangle.
4305 - Reenable menu sizes being computed for GetClienRectangle.
4306 * Form.cs: Remove comment of trechery
4308 2005-11-22 Jackson Harper <jackson@ximian.com>
4310 * Hwnd.cs: The adjustments for the menu bar are made when it is
4311 attached to the form.
4313 2005-11-19 Jackson Harper <jackson@ximian.com>
4315 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4316 (just like on windows).
4318 2005-11-19 Jackson Harper <jackson@ximian.com>
4320 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4321 use real buttons anymore because they are in non client area. The
4322 one TODO here is that I need to somehow invalidate a section of
4323 the non client area.
4325 2005-11-18 Jackson Harper <jackson@ximian.com>
4327 * Control.cs: Put the enum check back in now that MDI doesnt have
4328 to use this to set border styles.
4329 * Form.cs: Only set mdi child windows borders if the handle has
4331 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4332 this directly on to the driver.
4333 - Get the move start position before adjusting for the titlebar
4334 height, this fixes the windows "skipping" when they are first
4337 2005-11-18 Jackson Harper <jackson@ximian.com>
4339 * XplatUIX11.cs: Just compute the mdi borders separately as they
4340 don't totally match up with normal form borders.
4342 2005-11-18 Jackson Harper <jackson@ximian.com>
4344 * Control.cs: Set WS_ styles for borders, so that the driver does
4345 not have to retrieve the control instance to figure out what kind
4346 of borders it should have.
4347 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4348 driver can know its an mdi child easily.
4349 * XplatUIX11.cs: Get the border styles and whether the window is
4350 MDI from the Styles and ExStyles params instead of having to get a
4351 control. This prevents a chicken and egg problem.
4353 2005-11-18 Jackson Harper <jackson@ximian.com>
4355 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4357 2005-11-18 Jackson Harper <jackson@ximian.com>
4359 * MdiClient.cs: Calculate when to add and remove scrollbars
4361 * MdiChildContext.cs: Adjust the y position to take the titlebar
4363 - No height for FormBorderStyle.None
4365 2005-11-18 Jackson Harper <jackson@ximian.com>
4367 * Control.cs: Allow non enum values to be used for
4368 InternalBorderStyle. MDI does this to set a special border style.
4369 - New utility methods for converting points to/from client coords
4370 - Add the newly created control to the Controls collection before
4371 updating its style. This way UpdateStyle can walk the control
4372 heirarchy to find the control if needed.
4373 so I don't need to create a new Point object all the time.
4374 * Form.cs: Let MDI windows handle their border styles.
4375 - Set styles on MDI windows so the correct title style is derived.
4376 * MdiChildContext.cs: Move all the painting and window handling
4377 into the non client area.
4378 - Use correct sizing and put correct buttons on frames based on
4379 the FormBorderStyle.
4380 - Notify the mdi client about scrolling
4381 - Need to handle the buttons ourselves now, because they are all
4382 in non client areas and we can't add controls there.
4383 * MdiClient.cs: Halfway to scrolling, this implementation is
4384 somewhat broken though, we need to check to make sure other
4385 windows aren't causing scrolling before removing the bars. Also
4386 the bars need to be drawn on top, maybe I can switch implicit
4387 controls to be on top.
4388 * Hwnd.cs: caption_height and tool_caption_height are now
4389 properties of an hwnd, this way they can be set by the driver
4390 based on the type of window they are. In X11 the window manager
4391 handles the decorations so caption_height is zero unless its an
4393 - Add 3 pixel borders for MDI windows (0xFFFF).
4394 - Get rid of some code duplication, have DefaultClientRectanle
4395 just call GetClientRectangle.
4396 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4398 - Set border styles differently for mdi windows.
4399 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4402 2005-11-15 Mike Kestner <mkestner@novell.com>
4404 * Menu.cs: when adding an item to the collection, if item is already
4405 parented, remove it from the parent.
4407 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4409 * X11DesktopColors.cs: Added KDE support
4411 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4414 - Clipboard methods now can translate Rtf format
4415 - No longer removes clipboard contents whenever a new format is added
4416 to allow placing multiple formats on the clipboard
4417 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4418 will place all formats contained in it onto the clipboard. Also
4419 now cleans the clipboard before placing a new object onto it
4421 - Implemented set_Rtf
4422 - Implemented set_SelectedRtf
4423 - Created InsertRTFFromStream() method to allow single code base
4424 for all properties and methods that insert RTF into document
4425 - Removed debug output
4427 - Fixed Delete(int) to fix up line numbers
4428 - Fixed ReplaceSelection to combine start and end line
4429 - Fixed serious DeleteChars bug that would leave the document tree
4431 - Improved DumpTree with several logic checks to detect broken
4433 - Removed debug lines
4434 - Fixed Caret.WordForward/WordBack moving code, now always also
4435 updates caret.tag (fixes crash when word-selecting across tag
4436 boundaries via keyboard)
4437 - Added Insert() method for inserting multiline text into documents
4438 - Fixed DeleteChars() calculation errors that would cause a broken
4439 tag chain with multiple tag lines
4440 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4441 - Split() no longer moves caret if split is at caret location
4442 - ReplaceSelection() now updates the cursor and re-displays it
4443 - ReplaceSelection() now uses new Insert() method to avoid code
4445 - FormatText() can now handle formatting partial lines
4447 - Append now uses new TextControl.Insert() method (this avoids
4449 - Implemented Ctrl-X (Cut) (
4450 - Implemented Ctrl-C (Copy)
4451 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4452 regeneration when pasting text; roundtripping Copy&Paste within
4453 edit control still fails due to some calculation bugs in GenerateRTF)
4454 - The Delete key will now remove the current selection if it is visible
4455 * TextBox.cs: Removed debug lines
4456 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4457 driver to be initialized and can't therefore be done via a static ctor)
4459 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4461 * TextControl.cs: Added backend code for finding char arrays and strings
4463 - Added mouse wheel scroll support
4464 - Added support for VScroll and HScroll events
4466 - Implemented all seven Find() variants
4467 - Implemented GetCharFromPosition()
4468 - Implemented GetCharIndexFromPosition()
4469 - Implemented GetLineFromIndex()
4470 - Implemented GetPositionFromCharIndex();
4471 - Implemented SaveFile for PlainText and UnicodeText
4472 - Fixed set_Font, now setting a new font applies that font to
4474 - Implemented generic Document to RTF converter
4475 - Implemented SaveFile for RichText format (still missing unicode
4476 conversion for non-ansi chars)
4477 - Implemented get_Rtf
4478 - Implemented get_SelectedRtf
4480 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4482 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4483 to allow any captures to be released before triggering OnClick. This
4484 way a click handler may capture the mouse without interference.
4485 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4486 This way we send them even though X may not allow a grab (if the window
4487 isn't visible, for example)
4489 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4491 * DataGridViewRowEventArgs.cs: DataGridView implementation
4492 * DataGridViewElement.cs: DataGridView implementation
4493 * DataGridViewComboBoxCell.cs: DataGridView implementation
4494 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4495 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4496 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4497 * ImageLayout.cs: DataGridView implementation
4498 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4499 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4500 * DataGridViewSelectionMode.cs: DataGridView implementation
4501 * IDataGridViewEditingControl.cs: DataGridView implementation
4502 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4503 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4504 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4505 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4506 * DataGridViewColumnSortMode.cs: DataGridView implementation
4507 * DataGridView.cs: DataGridView implementation
4508 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4509 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4510 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4511 * Padding.cs: DataGridView implementation
4512 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4513 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4514 * DataGridViewRowEventHandler.cs: DataGridView implementation
4515 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4516 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4517 * DataGridViewButtonCell.cs: DataGridView implementation
4518 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4519 * DataGridViewEditMode.cs: DataGridView implementation
4520 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4521 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4522 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4523 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4524 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4525 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4526 * DataGridViewCellEventHandler.cs: DataGridView implementation
4527 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4528 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4529 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4530 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4531 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4532 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4533 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4534 * QuestionEventArgs.cs: DataGridView implementation
4535 * IDataGridViewEditingCell.cs: DataGridView implementation
4536 * DataGridViewTriState.cs: DataGridView implementation
4537 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4538 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4539 * DataGridViewColumnCollection.cs: DataGridView implementation
4540 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4541 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4542 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4543 * DataGridViewColumn.cs: DataGridView implementation
4544 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4545 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4546 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4547 * DataGridViewRow.cs: DataGridView implementation
4548 * DataGridViewImageCellLayout.cs: DataGridView implementation
4549 * DataGridViewImageCell.cs: DataGridView implementation
4550 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4551 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4552 * DataGridViewHeaderCell.cs: DataGridView implementation
4553 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4554 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4555 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4556 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4557 * QuestionEventHandler.cs: DataGridView implementation
4558 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4559 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4560 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4561 * DataGridViewCell.cs: DataGridView implementation
4562 * DataGridViewCellEventArgs.cs: DataGridView implementation
4563 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4564 * DataGridViewCellStyle.cs: DataGridView implementation
4565 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4566 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4567 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4568 * TextFormatFlags.cs: DataGridView implementation
4569 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4570 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4571 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4572 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4573 * DataGridViewButtonColumn.cs: DataGridView implementation
4574 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4575 * HandledMouseEventArgs.cs: DataGridView implementation
4576 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4577 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4578 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4579 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4580 * DataGridViewRowCollection.cs: DataGridView implementation
4581 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4582 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4583 * DataGridViewHitTestType.cs: DataGridView implementation
4584 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4585 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4586 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4587 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4588 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4589 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4590 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4591 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4592 * DataGridViewContentAlignment.cs: DataGridView implementation
4593 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4594 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4595 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4596 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4597 * DataGridViewPaintParts.cs: DataGridView implementation
4598 * DataGridViewCellCollection.cs: DataGridView implementation
4599 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4600 * DataGridViewImageColumn.cs: DataGridView implementation
4601 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4602 * DataGridViewElementStates.cs: DataGridView implementation
4603 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4604 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4605 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4606 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4607 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4608 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4609 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4610 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4611 * DataGridViewTextBoxCell.cs: DataGridView implementation
4612 * DataGridViewBand.cs: DataGridView implementation
4613 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4614 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4615 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4616 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4617 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4618 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4619 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4620 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4621 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4622 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4623 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4625 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4627 * ThemeWin32Classic.cs:
4628 - Draw the outside focus rectangle around buttons
4629 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4630 doesn't use end caps for every dash of a line anymore. This
4631 workaround ignores the forecolor.
4633 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4635 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4638 2005-11-07 Jackson Harper <jackson@ximian.com>
4640 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4642 2005-11-07 Jackson Harper <jackson@ximian.com>
4644 * ScrollableControl.cs: Calculate the maximum and change vars
4645 (more) correctly so that scrollbars appear as a sensible size.
4647 2005-11-04 Jackson Harper <jackson@ximian.com>
4649 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4651 * TreeView.cs: When the tree is sorted null out the top_node so
4652 that it is recalculated.
4653 - Use dotted lines instead of dashed lines to match MS better.
4655 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4658 - Implements key search for items. Useful when browsing files with FileDialog
4659 - When changing view mode or when clear the items reset scrollbar positions
4661 2005-11-04 Jackson Harper <jackson@ximian.com>
4663 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4664 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4665 as to what the method may do as there is no real way of creating a
4666 derived CurrencyManager and calling the method.
4668 2005-11-03 Jackson Harper <jackson@ximian.com>
4670 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4671 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4672 method which seems to just be used internally to refresh the tabs.
4674 2005-11-03 Jackson Harper <jackson@ximian.com>
4676 * TabControl.cs: Implement the remove method. Fix some broken
4679 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4681 * DateTimePicker.cs:
4682 - Added missing DateTimePickerAccessibleObject class
4683 - Added missing events
4684 - Added OnFontChanged method
4685 * Form.cs: Added missing attributes
4686 * TreeView.cs: Added missing attributes
4688 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4690 * GridItemCollection.cs: Fix signatures
4692 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4694 * XplatUI.cs: Updated build rev/date
4695 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4696 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4697 * Application.cs: Trigger context-specific ExitThread events
4699 2005-11-03 Jackson Harper <jackson@ximian.com>
4703 * GridTableStylesCollection.cs:
4708 * MonthCalendar.cs: Signature fixes
4710 2005-11-03 Jackson Harper <jackson@ximian.com>
4712 * TreeNodeCollection.cs: Remove should not be virtual.
4713 * TreeView.cs: Implement the last of the missing methods.
4715 2005-11-03 Jackson Harper <jackson@ximian.com>
4717 * TreeNodeConverter.cs: Implement to get off my class-status back.
4719 2005-11-03 Jackson Harper <jackson@ximian.com>
4721 * TreeView.cs: Hookup the bits for drag and drop.
4722 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4723 that nodes can be moved from tree to tree easily this just causes
4724 all sorts of problems.
4725 * TreeNodeCollection: Don't need to give treenodes an index and
4726 treeview anymore when they are added, these are computed on the
4727 fly. Also make sure to remove a node before its added.
4729 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4732 - Added CaretSelection enum
4733 - Added comparison methods to Marker struct, makes selection code
4735 - Added SelectionStart and SelectionEnd as 'moveable' location for
4736 the CaretDirection enum and handler
4737 - Added selection_prev variable to track optimized invalidation for
4738 word and line selection
4739 - Added SelectionVisible property (returns true if there is a valid
4741 - Switched CaretHasFocus to only display the caret if there is no
4743 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4744 using the direct character index; should be much faster
4745 - Added various conditional debug statements
4746 - Fixed invalidation calculation for selection ranges
4747 - Added ExpandSelection() method to support word and line selection
4748 - Switched SetSelectionToCaret to use new Marker compare overloads
4749 - Added central IsWordSeparator() method to determine word
4750 separators/whitespace and FindWordSeparator() to streamline common
4751 usage of IsWordSeparator()
4753 - Removed unneeded grabbed variable, it was just mirroring
4755 - No longer firing OnTextChanged event when Text setter is called,
4756 since the base will fire the event for us
4757 - Added handling of Ctrl-Up/Down selection
4758 - Added handling of Shift-Cursorkey selection
4759 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4761 - Added handling of Shift and Ctrl-Shift-Home/End selection
4762 - Removed some debug output
4763 - Added handling for single/double/tripple-click to place caret/
4764 select word/select line respectively (Fixes bug #76031)
4765 - Added support for drag expansion of word/line selection
4766 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4769 2005-11-02 Jackson Harper <jackson@ximian.com>
4771 * X11Dnd.cs: If the drag is going to and from a MWF window just
4772 copy the data instead of sending it out through the X Selection
4775 2005-11-02 Jackson Harper <jackson@ximian.com>
4778 * XplatUIX11.cs: When in a drag we don't want motion notify
4779 messages to get passed on to the other controls. This prevents
4780 mouse move messages from showing up in the drag source.
4782 2005-11-02 Jackson Harper <jackson@ximian.com>
4784 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4785 the correct button is release to end a drag.
4786 * XplatUIX11.cs: Make the button state internal so the drag system
4787 can access it. Dragging needs to know about all button releases,
4788 not just left button.
4790 2005-11-02 Miguel de Icaza <miguel@novell.com>
4792 * Form.cs (Icon): If the icon is null, reset the icon to the
4795 * Cursor.cs: When writing the AND-mask bitmap do not include the
4796 number of colors, but hardcode those to two (black and white),
4797 fixes the loading of color cursors (Paint Dot Net).
4799 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4800 turn off autoscaling.
4802 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4804 2005-11-02 Jackson Harper <jackson@ximian.com>
4806 * X11Dnd.cs: Make sure to send a status message if the pointer
4807 enters a control that can not accept a drop, otherwise the cursor
4808 isn't updated correctly. Also tried to compress the lines of code
4811 2005-11-02 Jackson Harper <jackson@ximian.com>
4813 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4814 set actions correctly. This isn't perfect as XDND and win32 have
4815 some differences on how you allow actions. I'll clear this up by
4816 adding a path for drag from MWF to MWF windows.
4817 * XplatUIX11.cs: Hook into the dnd system.
4819 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4821 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4822 previously shown but they are no longer need it. Very obvious when
4823 browsing files with FileDialog.
4825 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4827 * Control.cs: We always need to call OnPaintBackground. We pretty much
4828 ignore AllPaintingInWmPaint and always do the painting there, whether
4829 it's set or not, since we always ignore the WM_ERASEBKGND message
4830 (which we don't generate on X11). This fixes #76616.
4831 * Panel.cs: Removed unneeded background painting. This happens properly
4832 in Control.cs already
4834 2005-10-31 Mike Kestner <mkestner@novell.com>
4836 * Menu.cs: Add items to collection before setting their index.
4837 * MenuItem.cs : add range checking with ArgumentException like MS.
4840 2005-10-31 Jackson Harper <jackson@ximian.com>
4842 * ListBox.cs: Invalidate if the area is visible at all not just
4843 contained in the visible rect. Fixes unselection of semi visible
4846 2005-10-31 Jackson Harper <jackson@ximian.com>
4848 * Control.cs: Consistently name the dnd methods. Make them
4849 internal so we can override them to match some MS behavoir
4851 * Win32DnD.cs: Use the new consistent names.
4853 2005-10-31 Jackson Harper <jackson@ximian.com>
4855 * TreeView.cs: Don't draw the selected node when we lose focus.
4857 2005-10-31 Jackson Harper <jackson@ximian.com>
4859 * X11Dnd.cs: We still need to reset the state even though a full
4860 reset isn't being done, otherwise status's still get sent all over
4863 2005-10-31 Jackson Harper <jackson@ximian.com>
4865 * Control.cs: Make the dnd_aware flag internal so the dnd
4866 subsystem can check it. Catch exceptions thrown in dnd handlers to
4868 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4869 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4870 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4871 flags to reduce the number of dnd enters/status's sent.
4873 2005-10-31 Jackson Harper <jackson@ximian.com>
4875 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4877 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4879 * PictureBox.cs: Fixes 76512
4881 2005-10-28 Jackson Harper <jackson@ximian.com>
4883 * X11Dnd.cs: Early implementation to support winforms being a drag
4884 source for data on X11. Also restructured the converters so they
4885 can go both ways now.
4886 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4888 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
4890 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4893 2005-10-27 Jackson Harper <jackson@ximian.com>
4895 * TreeNode.cs: Implement serialization so my DnD examples will work.
4897 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
4899 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4900 TreeView.cs: Don't dispose objects that are not owned.
4902 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
4904 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4905 should retrieve the current cursor and report that, but XplatUI
4906 doesn't (yet) have an interface for that (and I'm not sure I even
4908 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4909 until any message loop processing is done (and the WM_SETCURSOR
4910 replaces the cursor to the proper one)
4912 - Fixed override behaviour, we can't set the cursor globally on X11,
4913 just for our windows.
4914 - Invalidating the System.Drawing X11 display handle when we are
4916 * Control.cs: Fix to make csc happy
4918 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
4921 - get_Text: Add last line (without trailing newline) to returned
4923 - get_TextLength: Count last line in returned length
4924 - ToString: Call Text property instead of duplicating code
4926 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
4928 * ImageList.cs: Dispose ImageAttributes objects.
4930 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4932 * ImageList.cs: Use attribute constructors with less arguments where
4935 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4937 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4938 Use typeof instead of strings when assembly is referenced. Added
4941 2005-10-21 Jackson Harper <jackson@ximian.com>
4943 * ListView.cs: Raise a double click event. Also tried to somewhat
4944 fix when the selectedindexchanged event is raised. Its still
4947 2005-10-21 Jackson Harper <jackson@ximian.com>
4949 * TreeView.cs: New method to invalidate the plus minus area of a
4950 node without invalidating the whole node (maybe this can be used
4951 in some more places).
4952 * TreeNodeCollection.cs: When adding to an empty node we need to
4953 invalidate its plus minus area so the little block shows up.
4955 2005-10-21 Jackson Harper <jackson@ximian.com>
4957 * TreeView.cs: Make sure that when we invalidate a node the bounds
4958 are big enough to cover the selected box and the focus
4959 rectangle. Use a different colour for the lines connecting nodes
4960 so they show up with all themes.
4962 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4964 * NativeWindow.cs: Don't call anything that could call into the driver,
4965 we might be on a different thread.
4967 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4969 * Control.cs(Dispose): Since Dispose might run on a different thread,
4970 make sure that we call methods that could call into the driver via
4971 invoke, to avoid thread issues
4973 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4975 * XplatUI.cs: Removed finalizer
4976 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4977 not allowing to be called on the finalizer thread.
4979 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4982 - Reverted r51889 and r51891.
4983 - Added ImageListItem class that stores unmodified image items and image
4984 properties required to create list images until handle is created.
4985 - Added AddItem and moved image creation logic to AddItemInternal.
4986 - Added CreateHandle method that creates images based on unmodified items.
4987 - Added DestroyHandle that changes state to store unmodified items.
4988 - Add and AddStrip methods no more create handle.
4989 - ReduceColorDepth has no return value.
4990 - Dispose destroys handle.
4991 - Modified other methods to reflect the above changes.
4992 - Implemented key support.
4993 - Added profile 2.0 members and attributes.
4994 - Added private Reset and ShouldSerialize methods that provide the same
4995 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4996 them as they are private.
4997 - Added some more comments about implementation details.
4999 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5001 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5003 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5005 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5007 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5009 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5010 * DataGridColumnStyle.cs: Remove debug message
5012 2005-10-20 Jackson Harper <jackson@ximian.com>
5014 * TreeView.cs: We can always get input keys regardless of whether
5015 or not editing is enabled. They are used for navigation.
5017 2005-10-20 Jackson Harper <jackson@ximian.com>
5019 * TreeNode.cs: Use the viewport rect for determining if a node
5020 needs to be moved for visibility. Don't use Begin/End edit. This
5021 calls a full refresh when its done.
5022 * TreeView.cs: New SetBottom works correctly. Make the viewport
5023 rect property internal so the treenodes can see it. When clicking
5024 on a node we need to ensure that its visible because it might just
5025 be partly visible when clicked.
5027 2005-10-20 Jackson Harper <jackson@ximian.com>
5029 * TreeNodeCollection.cs: Remove debug code.
5031 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5033 * Datagrid.cs: Implements column sorting in Datagrid
5034 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5036 2005-10-20 Jackson Harper <jackson@ximian.com>
5038 * TreeNodeCollection.cs: Remove items properly. Update the correct
5039 area after removing them.
5041 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5043 * Datagrid.cs: Should not call base.OnPaintBackground
5045 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5047 * XplatUIX11.cs (GetMessage):
5048 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5049 window instead of client window
5050 - Now properly calculates NC_xBUTTONUP message coordinates
5051 - ScreenToMenu now properly calculates it's coordinates of whole
5052 window, since menus are in the whole window, not in the client
5054 - Added WholeToScreen coordinate translation method
5056 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5058 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5059 want to return a message, loop back to the beginning of the function
5060 and grab the next real message to process instead.
5062 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5064 * Splitter.cs: Properly set limits if no filler control is used
5066 2005-10-19 Jackson Harper <jackson@ximian.com>
5068 * ColorDialog.cs: Don't show the help button if it is not enabled
5069 instead of disabling it (this is what MS does). Don't create the
5070 panel until the dialog is run, otherwise the vars (such as
5071 ShowHelp) are not set yet.
5073 2005-10-19 Jackson Harper <jackson@ximian.com>
5075 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5076 are reduced when adding nodes.
5078 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5081 2005-10-19 Jackson Harper <jackson@ximian.com>
5083 * FolderBrowserDialog.cs: End editing our treeview so the window
5084 actually gets refreshed.
5086 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5088 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5089 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5092 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5094 * MenuAPI.cs: Returns after Hidding window
5095 * XplatUIX11.cs: Added TODO found while debugging menu issues
5097 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5099 * XplatUIX11.cs: Do not re-map the whole window when it's size
5100 becomes non-zero unless it's supposed to be actually visible
5102 2005-10-18 Jackson Harper <jackson@ximian.com>
5104 * TreeView.cs: We don't need to keep a count anymore.
5105 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5106 use the Grow method.
5108 2005-10-18 Jackson Harper <jackson@ximian.com>
5110 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5111 implement it manually here.
5113 2005-10-18 Jackson Harper <jackson@ximian.com>
5115 * ImageList.cs: Dont kill the list when the colour depth is
5116 changed, just change the colour depth of all the images.
5117 - Same goes for setting the image size. Just resize them all
5118 instead of killing the list softly.
5120 2005-10-18 Jackson Harper <jackson@ximian.com>
5122 * Control.cs: Don't invalidate empty rectangles.
5124 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5127 - Adds checked item to the Checked/Item lists (where empty before)
5128 - Do not add items to the Selected lists if they are already present
5130 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5131 - When deleting items make sure that we delete them for the Selected
5132 and Checked list also.
5134 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5136 * Label.cs: Dispose objects no longer used
5137 * ThemeWin32Classic.cs: Dispose objects no longer used
5139 2005-10-18 Jackson Harper <jackson@ximian.com>
5141 * TabControl.cs: Don't refresh the whole control when the tabs are
5142 scrolled, we just need to refresh the tab area.
5144 2005-10-17 Jackson Harper <jackson@ximian.com>
5146 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5147 after handle when we need it.
5149 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5151 * Control.cs: When the parent size changes, recalculate anchor
5152 positions. Partial fix for #76462
5154 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5156 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5159 2005-10-17 Jackson Harper <jackson@ximian.com>
5161 * MonthCalendar.cs: Don't create the numeric up down until our
5162 handle is created. Otherwise our handle is created in the
5163 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5166 2005-10-17 Jackson Harper <jackson@ximian.com>
5168 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5171 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5172 * TreeNode.cs : small logical fix (was using local var instead of field)
5174 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5176 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5178 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5180 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5182 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5185 - Re-implemented anchoring code. My first version was really broken.
5186 This fixes bug #76033. Unlike the previous implementation we will
5187 no longer have round errors since all numbers are calculated from
5188 scratch every time. Removed various anchor-related obsolete vars.
5189 - InitLayout no longer causes layout event firing and layout to be
5192 2005-10-16 Jackson Harper <jackson@ximian.com>
5194 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5197 2005-10-16 Jackson Harper <jackson@ximian.com>
5199 * TabControl.cs: Remove debug code.
5201 2005-10-16 Jackson Harper <jackson@ximian.com>
5203 * XEventQueue.cs: Increase the default queue size (very simple
5204 apps needed to grow the queue).
5205 * Hwnd.cs: No finalizer so we don't need to suppress
5206 finalization. Compute the invalid area manually so a new rectangle
5207 does not newto be created.
5208 * ScrollableControl.cs: Don't set any params (otherwise visibility
5209 isn't set correctly).
5210 * MdiChildContext.cs: New constructor takes the mdi parent so it
5211 doesn't have to be computed and avoids a crash on windows. Draw
5212 the window icon properly, and allow the text to be seen.
5213 * Form.cs: Use new MdiChildContext constructor. Make sure the
5214 child context isn't null in wndproc.
5215 * TabControl.cs: Don't set focus, this is muddling keyboard
5216 behavoir. Expand the tab rows when a window size increase will
5217 allow extra tabs to be seen. Don't allow tabs smaller than the
5218 width of a window to be scrolled out of view.
5220 * TreeView.cs: Use measure string to calculate a nodes width, the
5221 width is cached and only updated when the text or the font is
5222 changed. Don't check for expand/collapse clicks on the first level
5223 nodes if root lines are disabled.
5225 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5227 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5229 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5231 * DataGridBoolColumn.cs: fixes warning
5233 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5235 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5236 to match more to match more precisely the MS Net behavior
5238 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5240 * Hwnd.cs: Added field to track if window is mapped
5242 - Unmap windows if they become 0-size, re-map when
5243 they are >0 again; fixes #76035
5244 - Re-set our error handler after initializing X11Desktop
5245 to override any error handlers Gtk or whatever was called
5248 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5250 * CheckedListBox.cs: Removed unused vars
5251 * ListView.cs: Fixed signatures
5252 * RichTextBox.cs: Removed unused vars
5253 * TextBoxBase.cs: Removed unused vars
5254 * XplatUIWin32.cs: Removed unused vars
5255 * XplatUIX11.cs: Removed unused vars
5256 * XplatUI.cs: Updated version and date to latest published
5258 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5260 * Cursor.cs: Added private .ctor to work around a bug in
5261 resourceset (Thanks to Geoff Norton for the help on this)
5262 * SplitterEventArgs.cs: Made fields accessible so we don't
5263 waste boatloads of objects and can reuse the same one
5265 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5266 any captions and borders when generating screen coordinates
5267 * Splitter.cs: Reimplemented control, now fully complete, uses
5268 rubberband drawing, supports and obeys all properties, has
5271 2005-10-13 Miguel de Icaza <miguel@novell.com>
5273 * Form.cs (Form): Setup default values for autoscale and
5274 autoscale_base_size; Make these instance variables, not static
5277 (OnLoad): on the first load, adjust the size of the form.
5279 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5281 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5282 width argument to DrawReversibleRectangle()
5283 * XplatUIWin32.cs, XplatUIX11.cs:
5284 - Implemented width for DrawReversibleRectangle()
5285 - Added logic to DrawReversibleRectangle that recognizes a zero
5286 width or height and only draws a line in that situation
5288 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5290 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5291 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5292 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5293 method (it uses our FosterParent window to get a graphics context)
5295 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5297 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5298 and SetWindowBackground methods
5300 - Setting proper ControlStyles
5301 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5302 EraseWindowBackground, instead we draw the window background
5303 ourselves in PaintControlBackground. This behaviour is
5304 required to match MS, where, when OnPaintBackground is not
5305 called, the background is not drawn.
5306 - Removed unneeded Refresh() in set_Text
5307 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5309 - Created DeriveStyles method to translate from CreateParams to
5310 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5311 matches FormBorderStyle enum values)
5312 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5313 style calculations into single DeriveStyles method
5314 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5315 from redrawing the whole window on any resize or expose.
5316 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5317 all styles were applied to our whole/client window appropriately
5318 - Removed EraseWindowBackground() and SetWindowBackground() methods
5319 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5320 no longer clear/redraw the background through X
5321 - Removed handling of erase_pending bit, we have no use for it (or
5324 - Removed generation and handling of WM_ERASEBKGND message
5325 - Removed EraseWindowBackground() and SetWindowBackground() methods
5326 - Removed handling of hwnd.ErasePending flag
5328 - Removed EraseWindowBackground() and SetWindowBackground() methods
5329 - We no longer call EraseWindowBackground on PaintEventStart, we
5330 ignore the fErase flag, erasing is handled in Control in the
5332 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5333 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5334 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5335 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5336 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5337 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5338 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5340 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5342 * PropertyGrids.cs: Get sub properties
5343 * PropertyGridView.cs: Fix drawing code
5345 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5347 * ListBox.cs: Fixes 76383
5349 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5351 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5352 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5353 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5356 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5358 * ComboBox.cs: Fixes border drawing
5360 2005-10-10 Miguel de Icaza <miguel@novell.com>
5362 * MimeIcon.cs: Ignore errors if the file can not be read.
5364 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5366 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5367 - Fixed border calculations
5368 - Fixed horizontal scrolling in single column listboxes
5369 - Fixed drawing issues
5371 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5373 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5374 FormBorderStyle enum
5375 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5376 code to determine FormBorderStyles from CreateParams
5378 - Fixed bug where we'd set the wrong window styles if we were
5379 not creating an MDI window
5380 - Added call to XplatUI.SetBorderStyle when form borders are set
5381 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5383 - Removed obsolete edge style
5384 - Switched from BorderStyle to FormBorderStyle
5386 2005-10-10 Jackson Harper <jackson@ximian.com>
5388 * Form.cs: Use the property to get the window handle instead of
5389 accessing it directly. Prevents a null reference exception.
5391 2005-10-10 Jackson Harper <jackson@ximian.com>
5393 * TreeView.cs: Don't adjust the rect given to DrawString now that
5394 our libgdiplus draws correctly.
5396 2005-10-08 Jackson Harper <jackson@ximian.com>
5398 * TreeView.cs: Don't try to find the clicked on node if there are
5399 no nodes in the tree.
5401 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5407 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5409 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5410 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5412 Use ResPool for brushes and dispose System.Drawing objects that
5413 are not used anymore.
5415 2005-10-07 Jackson Harper <jackson@ximian.com>
5417 * MdiChildContext.cs: Use the new borders instead of drawing them
5420 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5422 * Calling UpdateBounds after changing the window's BorderStyle
5423 since the style can change the ClientSize
5425 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5427 * Control.cs: Made PaintControlBackground virtual
5428 * Panel.cs: Overriding PaintControlBackground instead of using paint
5429 event; paint event method was interfering with 'real' users of the
5432 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5434 * ThemeWin32Classic.cs: remove border drawing since it is handled
5435 by the base control class now and was causing double border drawing.
5437 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5439 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5440 but it does seem to match MS behaviour. This fixes bug #75324
5442 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5444 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5445 somewhat hackish looking
5447 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5450 - We now accept Enter even if AcceptEnter is false, if the containing
5451 form does not have an AcceptButton configured (fixes bug #76355)
5452 - Calculations are now fixed to no longer use Width/Height, but
5453 ClientSize.Width/Height, since we now support borders (this was
5454 a result of fixing borders and therefore bug #76166)
5455 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5456 true (fixes bug #76354)
5458 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5461 - Defaulting BorderStyle and setting it in XplatUI when our window
5463 - Added enum check to InternalBorderStyle setter
5465 - Added drawing of window borders
5466 - Now properly calculates WM decorations offset for toplevel
5467 windows (fixes bug #74763)
5469 - Implemented BorderStyles for windows (we're letting win32 draw
5471 - Fixed the signature for SetWindowLong
5472 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5473 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5475 * UpDownBase.cs: Remove drawing of borders, this is handled by
5476 the driver, outside the client area
5477 * ListView.cs: Removed bogus border calculations. The control should
5478 be oblivious to borders, since those are not part of the client
5480 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5481 * ThemeWin32Classic.cs: Removed border calculations from ListView
5484 2005-10-06 Jackson Harper <jackson@ximian.com>
5486 * MdiChildContext.cs: Clear out the old virtual position remove
5487 all the unneeded calls to CreateGraphics.
5489 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5491 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5493 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5496 - Added loading and setting of our new default icon
5497 - Only set icon if window is already created
5499 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5502 - Do not explicitly set the foreground and background colors, to
5503 allow inheriting from parents (fixes #76302)
5504 - Use Control's InternalBorderStyle property to deal with borders
5506 2005-10-06 Jackson Harper <jackson@ximian.com>
5508 * MdiChildContext.cs: Use the new xplatui function to draw a
5511 2005-10-06 Jackson Harper <jackson@ximian.com>
5513 * Form.cs: Add the parent before creating the child context cause
5514 we need the parent when setting up the child.
5516 2005-10-06 Jackson Harper <jackson@ximian.com>
5518 * FolderBrowserDialog.cs: redo the tree population code so a
5519 second thread isn't used. Should be a lot faster and more stable
5522 2005-10-05 Jackson Harper <jackson@ximian.com>
5524 * TreeView.cs: There are no expand/collapse boxes if the node has
5527 2005-10-05 Jackson Harper <jackson@ximian.com>
5529 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5531 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5533 * FileDialog.cs: Fix InitialDirectory
5535 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5538 - Fixes changing between styles
5540 - Fixes last item crashing when navigating with keyboard
5542 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5544 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5546 2005-10-05 Jackson Harper <jackson@ximian.com>
5548 * TreeView.cs: If updating the root node do a full refresh.
5549 * TreeNode.cs: The root node should be expanded by default. Also
5550 added a utility prop to tell if we are the root node.
5551 * TreeNodeCollection.cs: Only refresh if the node we are being
5552 added to is expanded. Also added a comment on a potential
5555 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5557 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5558 in dispose method. Fixes #76330
5560 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5562 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5564 - Implements vertical and horizontal scrolling using XplatUI
5565 - Fixes keyboard navagation
5566 - Fixes EnsureVisible
5568 - Handles and draws focus properly
5571 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5573 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5574 Create handle. NET_2_0: Destroy handle when value is null.
5576 2005-10-03 Jackson Harper <jackson@ximian.com>
5578 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5579 revert and a new patch to prevent the thumb from refreshing so
5582 2005-10-02 Jackson Harper <jackson@ximian.com>
5584 * ScrollBar.cs: Don't update position if it hasn't actually
5585 changed. This occurs when you hold down the increment/decrement
5586 buttons and the thumb gets to the max/min.
5588 2005-10-01 Jackson Harper <jackson@ximian.com>
5591 * MdiChildContext.cs:
5592 * MdiClient.cs: Implement ActiveMdiChild in Form.
5594 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5596 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5598 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5600 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5603 2005-09-30 Jackson Harper <jackson@ximian.com>
5605 * ListBox.cs: Don't do a full refresh unless some data has
5608 2005-09-30 Jackson Harper <jackson@ximian.com>
5610 * TreeView.cs: Make sure that the checkboxes size is factored in
5611 even when not visible.
5613 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5615 * FileDialog.cs: Fix Jordi's build break
5617 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5620 - Use standard the Windows colours for the combobox as espected
5621 - Dispose objects that use resouces when no longer need them
5623 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5625 * X11DesktopColors.cs: Initial incomplete implementation
5626 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5628 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5631 - Switched Theme color names to match the names defined in
5632 System.Drawing.KnownColors. Life's hard enough, no need to make
5634 - Added setters to all theme color properties so themes can set
5635 their color schemes. The setters also propagate the color changes
5636 to System.Drawing.KnownColors via reflection
5637 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5638 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5639 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5640 use the new, more logical theme color names
5641 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5643 * ThemeWin32Classic.cs:
5644 - Removed code to set the old classic Windows colors. Instead it
5645 now relies on the colors returned by System.Drawing.KnownColors
5646 which will be either modern static colors (Unix) or colors
5647 read from the user's configuration (Win32)
5648 - Updated to use the new, more logical theme color names
5649 - Switched DataGrid drawing code to use only Theme colors instead of
5650 a mix of System.Drawing.KnownColors and Theme colors
5651 - DrawFrameControl(): Removed code that fills the button area, the
5652 fill would overwrite any previous fill done by a control. This
5654 - Added DrawReversibleRectangle() stub
5655 * ScrollableControl.cs: Set visible state to false when scrollbars
5656 are removed (pdn fix)
5657 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5658 DrawReversibleRectangle() method to allow drawing primitive
5660 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5662 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5664 * ImageList.cs: Add(Icon): Create handle.
5666 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5669 * ThemeWin32Classic.cs:
5672 - Issues with drawing
5674 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5676 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5677 source has to be the ImageList.
5679 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5681 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5683 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5685 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5687 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5689 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5691 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5692 * GridItem.cs: Fixed TODOs
5693 * GridItemCollection.cs: Added ICollection interface
5695 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5697 * ImageList.cs: Resize icons when needed.
5699 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5702 - Fixes GetBounds and returns on screen rects
5704 - Fixes vertical and horzintal scrolling of items
5705 * ThemeWin32Classic.cs:
5708 2005-09-29 Raja R Harinath <harinath@gmail.com>
5710 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5712 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5714 * ImageList.cs: Added comments about handle creation. Moved Handle,
5715 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5716 Handle is created in Add methods.
5718 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5720 * DataGridDrawingLogic.cs:
5721 - Takes rows into account on Colum calculations
5722 - Returns the column when clickig
5724 - Fixes default HitTestInfo values
5725 - Fixes HitTestInfo.ToString
5726 - Fixes ResetBackColor
5728 2005-09-28 Jackson Harper <jackson@ximian.com>
5730 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5731 sizing or cursor changes). Also added some temp code to draw the
5732 titlebars text (Makes dev a little easier).
5734 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5736 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5738 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5740 * ListBox.cs: Fixes bug 76253
5742 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5744 * ImageList.cs: Added comments about the current implementation. Added
5745 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5746 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5747 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5748 with Bitmap.LockBits for better performance. Revised the whole file to
5749 match MS.NET behaviour and provide better performance. Non-public
5750 interface members are calling public members even when they throw
5751 NotSupportedException for better maintainability. Moved ColorDepth,
5752 ImageSize, ImageStream and TransparentColor implementations to
5753 ImageCollection for better performance as these properties are not used
5755 * ImageListStreamer.cs: Added a new internal constructor that takes an
5756 ImageList.ImageCollection and serializes Images based on
5757 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5758 match ImageList property name.
5760 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5762 * ListBox.cs: Fixes IndexFromPoint for last item
5764 2005-09-27 Jackson Harper <jackson@ximian.com>
5766 * Form.cs: Set the position of new mdi children correctly.
5768 2005-09-27 Jackson Harper <jackson@ximian.com>
5770 * MdiClient.cs: New mdi children need to be added to the back of
5771 the controls collection so the zorder is set correctly. Also add a
5772 count of all the child windows that have been created.
5774 2005-09-27 Jackson Harper <jackson@ximian.com>
5776 * Form.cs (CreateParams): Setup MDI forms correctly.
5778 2005-09-27 Jackson Harper <jackson@ximian.com>
5780 * MdiChildContext.cs:
5787 * ScrollableControl.cs:
5788 * ComboBox.cs: Add implicit controls using the new implict control
5789 functionality in ControlCollection. Also try to block multiple
5790 control add in a suspend/resume layout to save some cycles.
5792 2005-09-27 Jackson Harper <jackson@ximian.com>
5794 * Control.cs: Add functionality to the controls collection to add
5795 'implicit controls' these are controls that are created by the
5796 containing control but should not be exposed to the user. Such as
5797 scrollbars in the treeview.
5798 * Form.cs: The list var of the ControlsCollection is no longer
5799 available because of the potential of implicit controls getting
5800 ignored by someone accessing the list directly.
5802 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5804 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5805 loose it's parent. (Fixed bug introduced in r49103 when we added
5806 setting the child parent to null on Remove)
5808 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5810 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5811 * Splitter.cs: Added missing attributes for BorderStyle property.
5812 * TextBoxBase.cs: Marked Calculate* methods internal.
5813 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5816 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5818 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5820 2005-09-25 Jackson Harper <jackson@ximian.com>
5822 * TreeView.cs: Update the node bounds correctly regardless of
5823 whether the node is visible.
5825 2005-09-25 Jackson Harper <jackson@ximian.com>
5827 * ImageList.cs: Don't dispose the image after it is added to the
5828 image list. Only reformat images that need to be resized.
5830 2005-09-25 Jackson Harper <jackson@ximian.com>
5832 * ImageList.cs: Don't set the format when changing the image.
5834 2005-09-25 Jackson Harper <jackson@ximian.com>
5836 * TreeView.cs: We can't just assume the node has a font. Use the
5837 treeviews font if no node font is available.
5839 2005-09-25 Jackson Harper <jackson@ximian.com>
5841 * TreeView.cs: Allow the scrollbars to be reset with negative
5843 - Don't add scrollbars to negative sized windows.
5845 2005-09-23 Jackson Harper <jackson@ximian.com>
5847 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5848 old Mono.Posix. Also remove some stray code that shouldn't have
5851 2005-09-23 Jackson Harper <jackson@ximian.com>
5853 * TreeView.cs: Attempt at proper sizing of the horizontal
5854 scrollbar. Also don't resize the scrollbars unless they are
5857 2005-09-23 Jackson Harper <jackson@ximian.com>
5859 * TreeView.cs: We don't need to expand the invalid area when the
5860 selection changes, as this is all drawn in the node's bounding
5861 box. The area needs to be expanded (previous typo was contracting
5862 it) when the focus rect moves.
5864 2005-09-23 Jackson Harper <jackson@ximian.com>
5866 * TreeView.cs: Display the selection box under the correct
5867 circumstances. We were rendering white text with no selection box
5870 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5872 * TextControl.cs(Split): Now updates selection start/end if it points
5873 into a line that's being split. Fixes a FIXME and bug #75258
5875 2005-09-23 Jackson Harper <jackson@ximian.com>
5878 * ListControl.cs: Don't use the path when retrieving binding
5879 managers from the binding context. My bat sense tells me that the
5880 path is only used on insertion.
5882 2005-09-22 Jackson Harper <jackson@ximian.com>
5884 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5886 2005-09-22 Jackson Harper <jackson@ximian.com>
5888 * Splitter.cs: There are special cursors used for splitting.
5889 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5891 2005-09-22 Jackson Harper <jackson@ximian.com>
5893 * Splitter.cs: Change the cursor appropriately when the splitter
5894 is moused over, so the user actually knows there is a splitter
5897 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5899 * Label.cs : Fix ToString method to give same output as MS.NET
5901 2005-09-22 Jackson Harper <jackson@ximian.com>
5903 * TreeView.cs: Create the scrollbars when the handle is created
5904 and add them right away, just make them invisble. Also account for
5905 the window being shrunk vertically to the point that the vert
5906 scrollbar needs to be added.
5907 - Remove some 0.5 adjustments to get around anti aliasing issues.
5909 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
5911 * MainMenu.cs: Fixes default value
5912 * MenuItem.cs: Fixes default value
5914 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
5916 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5918 2005-09-21 Jackson Harper <jackson@ximian.com>
5920 * Control.cs: Don't try to set the border style on the window if
5921 it hasn't been created. When the window is created the border
5924 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5926 * Control.cs (Update): Don't call XplatUI if we don't have a
5929 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5931 * ContainerControl.cs: Instead of throwing an exception, print
5932 a one-time warning about Validate not being implemented
5933 * XplatUIWin32.cs: Removed debug output
5935 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5937 * Control.cs: Only set XplatUI background if we expect the windowing
5938 system to handle the background. This stops controls that draw their
5939 own background from flickering
5941 * XplatUIX11.cs: Support custom visuals and colormaps for window
5942 creation. This allows, amongst other things, using MWF X11 windows
5945 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5947 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5948 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5949 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5950 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5951 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5952 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5953 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5954 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5955 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5956 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5957 GridColumnStylesCollection.cs,
5958 IDataGridColumnStyleEditingNotificationService.cs,
5959 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5960 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5961 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5962 TreeNodeCollection.cs, AmbientProperties.cs,
5963 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5964 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5965 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5966 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5967 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5968 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5969 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5970 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5971 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5972 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5973 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5974 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5975 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5976 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5977 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5978 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5979 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5980 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5981 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5982 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5983 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5984 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5985 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5986 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5987 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5988 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5989 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5990 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5991 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5992 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5993 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5994 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5995 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5996 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5997 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5998 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5999 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6001 2005-09-21 Jackson Harper <jackson@ximian.com>
6003 * TreeNode.cs: Call Before/After Expand not Collapse when
6006 2005-09-20 Jackson Harper <jackson@ximian.com>
6008 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6010 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6014 - Fixes proper storing of subitems
6015 - Fixes not updated items
6017 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6019 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6020 things if our window handle isn't created yet. Also disabled
6021 debug for TextBoxBase
6023 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6025 * MenuAPI.cs: Remove filtering of events to allow menu usage
6027 2005-09-20 Miguel de Icaza <miguel@novell.com>
6029 * Cursor.cs: Allow null to be passed to Cursor.Current.
6031 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6033 * ThemeWin32Classic.cs:
6034 - Change some private methods/fields to protected virtual so that
6035 they can be accessed and overriden in derived classes
6036 - First refactoring of some methods. Derived themes now don't
6037 need to duplicate the complete code from ThemeWin32Classic
6039 - Added nice StatusBar
6040 - Derive from ThemeWin32Classic and not Theme
6041 - Removed duplicate ThemeWin32Classic code
6043 2005-09-20 Miguel de Icaza <miguel@novell.com>
6045 * Control.cs (ControlCollection.Add): If the value null is passed
6046 the control is ignored.
6050 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6052 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6053 PostQuitMessage state.
6054 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6056 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6058 * Application.cs: Our constructor will never get called, move
6059 initialization to fields; fixes bug #75933
6061 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6064 - Allow files to be selected properly using file name
6066 - Add ability to change diretory (absolute / relative)
6067 using file name combo box.
6069 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6072 - Fixes Multicolumn listboxes item wrong calculations
6073 - Allows to click when only one item is in the listbox
6074 - Fixes crash when no items using keyboard navigation
6076 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6078 * ComboBox.cs: Reverted almost everything from the latest patch which
6081 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6084 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6086 - When DropDownStyle is Simple, it does not show scrollbar
6087 to the last item of the list.
6088 - When DropDownStyle is Simple, it crashed when the list was
6089 scrolled down with the down cursor key.
6090 - Fixed a bug that when DropDownStyle is DropDownList, the
6091 selected item was not shown.
6092 - The position of the selected item was not preserved when
6093 the next dropdown happened.
6094 * ThemeWin32Classic.cs:
6095 - Items were wrapped at the right end.
6096 * CheckedListBox.cs:
6099 - Items should be fully shown.
6100 - When resizing and vertical scrollbar disappeared, the item
6101 of index 0 should be on the top of the list.
6102 - GetItemRectangle should consider the size of ver. scrollbar
6104 - SizingGrip area should not be allocated when it is not
6106 - Now it reflects MinWidth of the containing panel and
6107 fixed a crash that happens when its width becomes so small.
6109 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6111 * CheckedListBox.cs: Fixes bug 76028
6112 * ListBox.cs: Fixes bug 76028
6114 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6116 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6117 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6119 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6121 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6123 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6125 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6127 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6129 * IRootGridEntry.cs: Added
6130 * PropertyGridCommands.cs: Added
6131 * PropertiesTab.cs: Added missing methods and property
6132 * PropertyGridView.cs: Made class internal
6133 * PropertyGridTextBox.cs: Made class internal
6135 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6137 * MimeIcon.cs: Try to check some other environment variables
6138 if "DESKTOP_SESSION" returns "default"
6140 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6142 * ThemeNice.cs: Corrected background colors (e.g. menus)
6143 * ColorDialog.cs: Use correct background colors for controls
6145 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6147 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6149 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6151 * RichTextBox.cs: Added initial implementation
6152 * lang.cs: Removed. Was accidentally checked in long time ago
6153 * TODO: Removed. Contents were obsolete
6155 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6157 * PropertiesTab.cs : Added
6159 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6161 * PropertyGrid.cs : Update
6162 * PropertyGridView.cs : Update
6163 * System.Windows.Forms.resx : Added images and strings
6165 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6167 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6169 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6171 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6172 a busy loop right after the Ungrab the X11 display is otherwise
6175 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6177 * ThemeWin32Classic.cs: Optimise the use of clipping
6179 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6181 * DataGrid.cs: fixes recursion bug
6183 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6186 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6189 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6191 * ThemeNice.cs: Draw nice ProgressBars
6193 2005-09-01 Miguel de Icaza <miguel@novell.com>
6195 * VScrollBar.cs: Another buglet found by Aaron's tool.
6197 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6200 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6203 - Added nicer menu drawing
6207 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6209 * CreateParams.cs (ToString): Made output match MS
6210 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6211 handle is already created (to avoid forcing window creation)
6212 * XplatUIX11.cs: Set window text to caption after creating window,
6213 in case Text was set before window was created
6214 * Form.cs: Use this.Text instead of a static string as caption
6216 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6218 * NotifyIcon.cs: Don't set the window to visible; this screws
6219 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6220 OnPaint without a bitmap)
6221 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6222 happen very often anyway; we could add the check to the WM_PAINT
6223 event generation code
6225 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6227 * NotifyIcon.cs: Fill the icon area with a background color, to
6228 avoid 'residue' when transparent icons are drawn
6230 - Handle whole_window == client_window when destroying windows
6231 - SystrayAdd(): Set client_window to whole_window value to
6232 get mouse and other events passed to NotifyIcon
6234 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6236 * Form.cs: Set proper default for Opacity property
6238 - ShowSystray(): Don't bother creating telling the OS
6239 about the systray item if no icon is provided
6240 - Now handles WM_NCPAINT message to deal with whole/client window
6242 - Create window as visible to not get caught by Expose optimization
6243 * Hwnd.cs: Removed debug message
6244 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6245 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6246 PaintEventStart/End to use new client argument
6248 - Commented out debug messages
6249 - Switched PaintEventStart/End to use new client argument
6250 * XplatUI.cs: Added client window bool to PaintEventStart()/
6251 PaintEventEnd() calls, to support drawing in non-client areas
6253 - Added client window bool to PaintEventStart()/PaintEventEnd()
6254 calls, to support drawing in non-client areas
6255 - Added conditional compile to allow using MWF BeginInvoke
6258 - Added some conditional debug output
6259 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6260 whole/client window split
6261 - Implemented handling of client argument to PaintEventStart()/End()
6263 - Throw exception if BeginInvoke() is called and the window handle
6264 or one of the window's parent handles is not created
6265 - Added conditional compile to allow using MWF BeginInvoke on
6267 - get_Parent(): Only sets parent if handle is created. This avoids
6268 forcing window handle creation when parent is set.
6269 - Now fires Layout and Parent changed events in proper order
6270 - Switched to use Handle instead of window.Handle for Z-Order setting,
6271 the get_Parent() patch above causes us to possibly get null for 'window'
6272 - Implemented handling of client argument to PaintEventStart()/End()
6273 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6275 - Now sends a Refresh() to all child windows when Refresh() is called
6277 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6279 * Form.cs: Added (non-functional) Opacity property
6280 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6282 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6283 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6284 use export MONO_THEME=nice to activate it.
6285 Currently supported controls:
6289 - TabControl (TabAlignment.Top only, other will follow)
6290 * ThemeEngine.cs: Add theme nice
6291 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6294 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6296 * Splitter.cs: Resize docked control and its neighbor.
6298 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6299 -- Making Windows with Menus layout correctly --
6300 * Form.cs : The first leg of the fix
6301 Menu setter - adjust Client Size as needed to make space for the menu
6302 SetClientSizeCore - doesn't call base version to be able to pass the
6303 menu handle to XplatUI.CalculateWindowRect
6304 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6305 * XplatUIX11.cs: The critical second leg of the fix
6306 GetWindowPos needs to use a recalculated client_rect
6307 so that resizing the window doesn't break layout of child controls.
6308 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6311 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6313 * Label.cs: Now properly recalculates width and height on Font and Text
6314 changes if AutoSize is set
6316 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6317 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6319 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6321 * ImageList.cs: Makes ToString method compatible with MS
6323 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6325 * MenuAPI.cs: fixes bug 75716
6327 2005-08-11 Umadevi S <sumadevi@novell.com>
6328 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6330 2005-08-11 Umadevi S <sumadevi@novell.com>
6331 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6333 2005-08-10 Umadevi S <sumadevi@novell.com>
6334 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6336 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6338 * Menu.cs: fixes bug 75700
6339 * MenuAPI.cs: fixes navigation issues
6341 2005-08-09 Umadevi S <sumadevi@novell.com>
6342 * CheckedListBox.cs - simple fix for GetItemChecked.
6344 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6346 * ComboBox.cs: Serveral fixes
6347 * ListBox.cs: Serveral fixes
6349 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6351 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6352 * ListBox.cs: Fixes FindString methods
6354 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6356 * DataGrid.cs: fixes bugs exposed by new tests
6358 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6360 * Mime.cs: Compile Mono assembly references only if compiling
6361 with Mono (Allows to build with VS.Net again)
6363 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6365 * Control.cs (PaintControlBackground): Draw background image
6367 (CheckForIllegalCrossThreadCalls): Stubbed.
6369 * Form.cs (OnCreateControl): Center when should be centered.
6371 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6373 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6375 * Binding.cs: Binding to properties should be case unsensitive
6377 2005-07-18 vlindos@nucleusys.com
6379 * DataGrid.cs: fixes setmember order
6381 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6383 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6384 * FileDialog.cs: FileDialog is now resizable and uses the new
6387 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6389 * DataGridTextBoxColumn.cs: default value
6390 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6391 * GridTableStylesCollection.cs: fixes checking MappingName
6392 * DataGridDrawingLogic.cs: fixes drawing logic issues
6393 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6394 * DataGrid.cs: fixes
6396 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6398 * MimeGenerated.cs: Use case sensitive comparer for
6399 NameValueCollections
6401 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6403 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6404 * ThemeWin32Classic.cs: bug fixes, code refactoring
6405 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6406 * DataGrid.cs: bug fixes, code refactoring
6407 * DataGridTextBox.cs: bug fixes, code refactoring
6408 * DataGridColumnStyle.cs: bug fixes, code refactoring
6409 * Theme.cs: bug fixes, code refactoring
6411 2005-07-01 Peter Bartok <pbartok@novell.com>
6413 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6414 and other text box usage
6416 2005-07-01 Jackson Harper <jackson@ximian.com>
6418 * TabControl.cs: Make sure the bottom of the tab covers the pages
6421 2005-06-30 Peter Bartok <pbartok@novell.com>
6423 * Form.cs (ShowDialog): Assign owner of the dialog
6424 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6425 might have been moved to a tag with different height
6427 2005-06-30 Jackson Harper <jackson@ximian.com>
6429 * Form.cs: Don't create an infinite loop when setting focus
6430 * MenuItem.cs: Don't dirty the parents if we don't have any
6432 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6434 * LibSupport.cs: Rename
6436 2005-06-29 Peter Bartok <pbartok@novell.com>
6438 * TextBoxBase.cs: Re-align caret after deleting a character
6440 - DeleteChars(): Ensure that tag covers the provided position
6441 - StreamLine(): Drop reference for dropped tag
6443 2005-06-29 Peter Bartok <pbartok@novell.com>
6446 - Selections now work properly, anchoring at the initial location
6447 and properly extending in either direction (SetSelectionToCaret(),
6448 SetSelectionStart() and SetSelectionEnd())
6449 - No longer redraws the whole control on selection change, now
6450 calculates delta between previous and new selection and only
6451 invalidates/redraws that area
6452 - Fixed FindPos() math off-by-one errors
6453 - Changed DeleteChars() to verify the provided tag covers the
6454 provided position, selections may have a tag that doesn't cover
6455 the position if the selection is at a tag border
6456 - Fixed off-by-one errors in DeleteChars()
6457 - Added missing streamlining check in DeleteChars() to remove
6459 - Implemented Invalidate() method, now properly calculates exposures
6460 between two given lines/positions
6461 - Implemented SetSelection()
6462 - Obsoleted and removed FixupSelection()
6463 - Improved RecalculateDocument() logic, removing code duplication
6465 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6467 * LibSupport.cs: changes to match different input/output arguments.
6469 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6471 * LibSupport.cs: added libsupport.so init routine.
6473 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6475 * ControlBindingsCollection.cs
6476 - Throws an exception on null datasource when adding
6477 - Checks for duplicated bindings when adding
6479 2005-06-28 Jackson Harper <jackson@ximian.com>
6481 * TreeView.cs (OnKeyDown): Support left and right properly
6482 (navigates as well as expanding and collapsing.
6483 - Add support for Multiply, this expands all the selected nodes
6487 2005-06-28 Jackson Harper <jackson@ximian.com>
6489 * TreeView.cs: Implement keyboard navigation, currently supports,
6490 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6491 support for toggling checkboxes with the space bar.
6493 2005-06-28 Jackson Harper <jackson@ximian.com>
6495 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6498 2005-06-28 Jackson Harper <jackson@ximian.com>
6500 * TreeView.cs: Add missing event.
6502 2005-06-27 Peter Bartok <pbartok@novell.com>
6505 - Made line ending size configurable (now allows for counting
6506 lineendings as \n or \r\n)
6507 - Added margin to viewport to keep caret visible on right side
6508 - Fixed translation routines for line/pos to documentpos to consider
6509 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6510 - Fixed some line-endings to be unix style
6511 - Fixed Document.FormatText to perform it's calculations 1-based
6512 - Added descriptions for a few methods that might otherwise get
6514 - Added NOTE section with some basic conventions to remember at
6516 - Major fixup for RichTextBox selection drawing:
6517 * Fixed crashes when multiple tags on a single line were selected
6518 * fixed selection box drawing not overlaying text
6519 * fixed bogus offset calculation for tags not starting at index 1
6520 * Switched behaviour from using multiple Substrings of a
6521 StringBuilder.ToString() to using multiple
6522 StringBuilder.ToString(start, length) statements, hoping this is
6523 faster (kept original version commented out in the code, in case
6524 original version was faster)
6525 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6527 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6530 2005-06-27 Jackson Harper <jackson@ximian.com>
6532 * TabControl.cs: Move to the left and right with the arrow
6533 keys. These keys don't cycle beyond first and last like
6534 tab. Refresh all the tabs when scrolling them to the left or
6537 2005-06-27 Jackson Harper <jackson@ximian.com>
6540 - ToString: Added method
6541 - CreateParams: Remove TODO and comment
6542 - OnKeyDown: Cycle through bounds properly.
6543 - SelectedIndex: Scroll to the right or left if we need to
6544 display the newly selected tab.
6546 2005-06-23 Jackson Harper <jackson@ximian.com>
6548 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6551 2005-06-23 Jackson Harper <jackson@ximian.com>
6553 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6554 CTRL-SHIFT-TAB, and HOME, END are there any others?
6556 2005-06-23 Jackson Harper <jackson@ximian.com>
6558 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6560 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6562 * DataGridTextBoxColumn.cs: fixes and enhancements
6563 * ThemeWin32Classic.cs: fixes and enhancements
6564 * DataGridBoolColumn.cs: fixes and enhancements
6565 * DataGridDrawingLogic.cs: fixes and enhancements
6566 * CurrencyManager.cs: fixes and enhancements
6567 * DataGrid.cs: fixes and enhancements
6568 * DataGridColumnStyle.cs: fixes and enhancements
6570 2005-06-22 Jackson Harper <jackson@ximian.com>
6572 * TabControl.cs: Add some missing methods that just call into the
6573 base. Make the TabPageCollection's IList interface behave in the
6574 same manner as the MS implementation.
6576 2005-06-22 Peter Bartok <pbartok@novell.com>
6578 * TextControl.cs: Added sanity check
6580 - Fixed wrapping behaviour, don't set wrap on single line controls
6581 (this fixes the breakage of colordialog introduced in an earlier
6583 - Added rudimentary support for autoscrolling right-aligned controls
6584 (still needs fixing, also, center alignment scroll is missing)
6586 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6588 * ScrollBar.cs: Fixes thumbpos on Maximum values
6590 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6592 * PropertyGridView.cs: Pass context information to UITypeEditors
6594 2005-06-21 Peter Bartok <pbartok@novell.com>
6597 - Now calling PositionCaret with absolute space coordinates
6598 - Enabled vertical scrolling
6599 - Better tracking of scrollbar changes, tied into WidthChange
6601 - Improved cursor tracking
6602 - Removed debug output
6604 - PositionCaret coordinates are now works in absolute space, not
6606 - Improved tracking of document size
6607 - Added events for width and height changes
6609 2005-06-21 Peter Bartok <pbartok@novell.com>
6611 * Form.cs: Set focus to active control when form is activated
6613 - Added word-wrap functionality to RecalculateLine()
6614 - Added some short function descriptions for VS.Net to aid in
6615 writing dependent controls
6616 - Added Caret property, returning the current coords of the caret
6617 - Added ViewPortWidth and ViewPortHeight properties
6618 - Added Wrap property
6619 - Added CaretMoved event
6620 - Removed some old debug code
6621 - Split() can now create soft splits
6622 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6623 - Added method to format existing text
6624 - Fixed size/alignment calculations to use viewport
6625 - RecalculateDocument now can handle changing line-numbers while
6629 - Added some wrap logic, we don't wrap if alignment is not left
6630 - Added casts for scrollbar var, base class switched types to
6631 also support RichTextBoxA
6632 - Implemented handling of scrollbar visibility flags
6635 - Switched scrollbars type to RichTextBoxScrollBars to support
6637 - Added tracking of canvas width/height
6638 - Switched scrollbars to be not selectable (to keep focus on text)
6639 - Added central CalculateDocument() method to handle all redraw
6641 - Added ReadOnly support
6642 - Added WordWrap support
6643 - Fixed handling of Enter key (we now treat it as a DialogKey)
6644 - Fixed caret positioning when h or v scroll is not zero
6645 - Fixed placing/generation of vertical scrollbar
6646 - Added CalculateScrollBars() method to allow updating scrollbar
6647 limits and visibility
6648 - Fixed handling of horizontal scroll
6649 - Added handling of vertical scroll
6650 - Implemented auto-'jump' when caret moves to close to a left or
6651 right border and there is text to be scrolled into view (currently
6652 there's the potential for a stack overflow, until a bug in
6655 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6657 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6659 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6663 - return application/x-zerosize for files with size zero
6664 (if no extension pattern matches).
6665 - check matches collection for strings too.
6666 - return only the first mime type if the name value
6667 collection has more than one mime type.
6669 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6671 * PropertyGrid.cs: Cleaned up some TODOs
6672 * PropertyGridView.cs: Added support for UITypeEditors
6674 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6676 * DataGrid.cs: clears cached value
6678 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6680 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6681 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6682 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6683 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6685 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6687 * ThemeWin32Classic.cs: fixes colour
6689 2005-06-15 Peter Bartok <pbartok@novell.com>
6691 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6692 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6693 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6694 * Control.cs: Added some MWFCategory and MWFDescription attributes
6695 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6697 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6699 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6702 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6704 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6705 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6706 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6707 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6708 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6709 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6711 2005-06-13 Jackson Harper <jackson@ximian.com>
6713 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6714 isn't printed when the user enables dropping. (X11 does accept
6717 2005-06-13 Jackson Harper <jackson@ximian.com>
6719 * TreeView.cs: Remove some TODOS.
6721 2005-06-13 Jackson Harper <jackson@ximian.com>
6723 * Form.cs: Hook into the mdi framework.
6724 * MdiClient.cs: Use the base control collections add method so
6725 parents get setup correctly. Set the default back colour and dock
6727 * MdiChildContext.cs: New class, this bad actor handles an
6728 instance of an MDI window. Right now there is only basic
6729 support. You can drag, close, and resize windows. Minimize and
6730 Maximize are partially implemented.
6732 2005-06-13 Jackson Harper <jackson@ximian.com>
6734 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6735 freaky when both vals are negative. NOTE: There are probably other
6736 places in XplatUIX11 that this needs to be done.
6738 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6740 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6741 * DataGridColumnStyle.cs: fixes signature
6743 2005-06-12 Jackson Harper <jackson@ximian.com>
6745 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6748 2005-06-11 Jackson Harper <jackson@ximian.com>
6750 * StatusBarPanel.cs: Signature cleanups. Implement
6753 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6755 * DataGridTextBoxColumn.cs: Honors aligment
6756 * GridColumnStylesCollection.cs: Contains is case unsensitive
6757 * GridTableStylesCollection.cs: several fixes
6758 * DataGridTableStyle.cs: default column creation
6759 * DataGridDrawingLogic.cs: fixes
6760 * CurrencyManager.cs: ListName property
6761 * DataGrid.cs: multiple styles support
6762 * DataGridColumnStyle.cs: fixes
6765 2005-06-10 Peter Bartok <pbartok@novell.com>
6767 * Control.cs(Select): Moved SetFocus call to avoid potential
6768 loops if controls change the active control when getting focus
6769 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6772 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6774 * ImageListConverter.cs: Implemented
6776 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6778 * MonthCalendar.cs: Wired in NumericUpDown control for year
6780 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6782 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6783 DoubleClick events, since they are not meant to be fired.
6785 2005-06-09 Peter Bartok <pbartok@novell.com>
6787 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6788 Jonathan's standalone controls into MWF, implemented missing
6789 events, attributes and methods; added xxxAccessible classes
6790 * AccessibleObject.cs: Made fields internal so other classes
6791 can change them if needed
6793 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6795 * UpDownBase.cs: Complete implementation
6796 * NumericUpDown.cs: Complete implementation
6797 * DomainUpDown.cs: Complete implementation
6799 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6801 * DataGridTextBoxColumn.cs: drawing fixes
6802 * DataGridCell.cs: fixes ToString method to match MSNet
6803 * DataGridTableStyle.cs: fixes
6804 * DataGridBoolColumn.cs: fixes, drawing
6805 * DataGridDrawingLogic.cs: fixes, new methods
6806 * DataGridTextBox.cs: Keyboard and fixes
6808 - Keyboard navigation
6810 - Row selection (single, multiple, deletion, etc)
6813 2005-06-07 Jackson Harper <jackson@ximian.com>
6815 * ThemeWin32Classic.cs: Clear the background area when drawing
6818 2005-06-06 Peter Bartok <pbartok@novell.com>
6820 * ImageListStreamer.cs: Fixed signature for GetData
6821 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6823 - Added missing ChildAccessibleObject class
6824 - Added missing OnXXXFocus overrides, switched to using those
6825 instead of the event handler
6827 - Added Parent property for ControlAccessibleObject
6830 - Added ResetBindings()
6831 * ListBindingConverter.cs: Implemented some methods
6832 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6833 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6834 * ContainerControl.cs: Fixed signature, now subscribing to the
6835 ControlRemoved event instead of overriding the handler, LAMESPEC
6836 * CurrencyManager.cs: Added missing attribute
6837 * MonthCalendar.cs: Added missing properties
6839 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6841 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6843 2005-06-06 Gaurav Vaish and Ankit Jain
6845 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6846 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6848 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6850 * Control.cs: fixes CreateParams Width / Height.
6852 2005-06-05 Peter Bartok <pbartok@novell.com>
6854 * Win32DnD.cs: Removed compilation warnings
6856 2005-06-05 Peter Bartok <pbartok@novell.com>
6858 * Control.cs (CreateParams): Since we don't know if one of the
6859 properties we use is overridden, lets make sure if we fail accessing
6860 we continue with a backup plan
6862 2005-06-05 Peter Bartok <pbartok@novell.com>
6865 - Removed debug output
6866 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6868 - Plugged resource leak
6869 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6872 2005-06-05 Peter Bartok <pbartok@novell.com>
6874 * XplatUIWin32.cs: Removed DnD code
6875 * Win32DnD.cs: Implemented drop source and drop target functionality
6877 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6879 * UpDownBase.cs: remove duplicate addition of event, enable some code
6880 that was commented out.
6881 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6882 Validate input when a key is pressed. It works fine now for every
6883 combination of Hexadecimal. Only missing some drawing love when sharing
6884 space with other controls.
6886 2005-06-04 Peter Bartok <pbartok@novell.com>
6889 - We need to pass a window for DragDrop, so enable callback events
6890 - Added DnD callback events when being a DragSource
6891 * XplatUI.cs (StartDrag): Added window handle argument
6892 * XplatUIDriver.cs (StartDrag): Added window handle argument
6893 * QueryContinueDragEventArgs: Made fields internally accessible so
6894 drivers can set them
6895 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6898 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
6900 * DataGridTextBoxColumn.cs: column text editing
6901 * DataGridTableStyle.cs: Respect columns styles created by the user
6902 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6903 * DataGridBoolColumn.cs: bool column editing
6904 * DataGrid.cs: fixes to scrolling, properties, etc
6905 * DataGridTextBox.cs: handle keyboard
6906 * DataGridColumnStyle.cs: fixes
6908 2005-06-02 Jackson Harper <jackson@ximian.com>
6910 * ImageListStreamer.cs: Somewhat broken implementation of
6911 GetObjectData. The RLE needs some work to match MS properly.
6913 2005-06-02 Jackson Harper <jackson@ximian.com>
6915 * X11Dnd.cs: Attempting to keep at least one file in MWF
6918 2005-06-02 Peter Bartok <pbartok@novell.com>
6920 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6923 2005-06-02 Peter Bartok <pbartok@novell.com>
6925 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6926 * XplatUI.cs: Added DoDragDrop() method
6927 * XplatUIDriver.cs: Added DoDragDrop() method
6929 2005-06-02 Jackson Harper <jackson@ximian.com>
6931 * Splitter.cs: Implement BorderStyle.
6933 2005-06-02 Jackson Harper <jackson@ximian.com>
6935 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6936 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6939 2005-06-02 Peter Bartok <pbartok@novell.com>
6943 - Fixed broken insertion code for SetData, now also
6944 overwrites any existing entry of the same format name
6945 * Hwnd.cs: Added list of pointers that automatically gets
6946 freed when the window is disposed
6947 * XplatUI.cs: Call driver initialization method when loading
6950 - OnDragLeave takes EventArgs, not DragEventArgs
6951 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6953 - Forces style update when drop state changes
6954 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6955 not perfect since we cannot (yet) call the IDataObject.GetData()
6956 method, we keep getting 0x80004005 error, dunno why)
6958 2005-06-02 Peter Bartok <pbartok@novell.com>
6960 * DragEventArgs.cs: Make fields internal so we can cache the
6961 object and re-set the fields from XplatUI
6963 2005-06-02 Jackson Harper <jackson@ximian.com>
6965 * Control.cs: Add some internal methods so the DnD subsystem can
6966 raise DnD events. Also call into the driver when AllowDrop is set.
6968 * XplatUIDriver.cs: New method for setting whether or not a window
6969 is allowed to accept drag and drop messages.
6971 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6973 * ScrollBar.cs: Make sure that values sent in Scroll events
6974 are always between Maximum and Minimum.
6976 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6978 * Menu.cs: Call MenuChanged when menuitem visibility has been
6980 * MenuItem.cs: Rebuild menu when item is (not) visible.
6981 * MainMenu.cs: MainMenu has special MenuChanged.
6982 * Theme.cs: Caption and FrameBorderSize are not fixed.
6983 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6984 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6986 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6987 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6989 2005-05-30 Jackson Harper <jackson@ximian.com>
6991 * DataFormat.cs: We can't statically initialize this stuff because
6992 it calls into the xplatui and could create a loop. So we lazy init
6995 2005-05-28 Jackson Harper <jackson@ximian.com>
6997 * Control.cs: Proper implementation of Product(Name/Version).
6999 2005-05-27 Jackson Harper <jackson@ximian.com>
7001 * DataObject.cs: Dont crash if no data is found.
7003 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7004 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7005 as per status page, guessing it should be set to true
7007 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7009 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7010 * DataGridTableStyle.cs: set proper formatting text, def header text
7011 * ThemeWin32Classic.cs: new themable paramaters
7012 * DataGridBoolColumn.cs: paint check box, get data, fixes
7013 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7014 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7015 * DataGridColumnStyle.cs: fixes
7016 * Theme.cs: new themable paramaters
7018 2005-05-26 Peter Bartok <pbartok@novell.com>
7020 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7022 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7023 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7025 2005-05-24 Peter Bartok <pbartok@novell.com>
7027 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7028 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7029 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7030 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7031 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7032 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7033 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7034 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7035 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7036 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7037 missing attributes, etc
7038 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7040 2005-05-24 Peter Bartok <pbartok@novell.com>
7042 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7043 when user tries to get help
7044 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7045 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7046 to suppress warnings
7047 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7048 avoid unreachable code warning
7050 2005-05-20 Peter Bartok <pbartok@novell.com>
7052 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7054 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7056 * DataGridTextBoxColumn.cs: Basic painting methods
7057 * DataGridTableStyle.cs: Set table style in the column
7058 * ThemeWin32Classic.cs: Use Theme for colors
7059 * DataGridDrawingLogic.cs: Implement more drawing
7060 * DataGrid.cs: drawing, theming, enhacements, fixes
7061 * DataGridColumnStyle.cs: fixes, drawing
7062 * Theme.cs: theming for Datagrid
7064 2005-05-20 Peter Bartok <pbartok@novell.com>
7066 * Cursor.cs: Implemented GetObjectData() method
7068 2005-05-20 Peter Bartok <pbartok@novell.com>
7070 * Cursors.cs: Added setting of cursor name
7072 - Implemented constructors
7073 - Implemented Draw and DrawStretched
7074 - Implemented Current property
7075 - Implemented == and != operators
7076 - Implemented Dispose()
7077 - Implemented ToString
7078 - Added missing attributes
7080 - Added missing reset for OverrideCursor when DoEvents is called
7081 - Fixed creation of cursor, logic was wrong
7083 - Added missing reset for OverrideCursor when DoEvents is called
7084 - Fixed creation of cursor, bit arrays were swapped
7085 * Clipboard.cs: Removed obsolete MonoTODO attribute
7087 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7089 * ComboBox.cs: fixes OnSelectedItemChanged
7090 * ControlBindingsCollection.cs: fixes item range check
7092 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7095 - Calc preferred height properly
7096 - Implement missing properties
7098 * NumericUpDown.cs: Implement missing events
7100 2005-05-19 Jackson Harper <jackson@ximian.com>
7102 * TabControl.cs: New method that resizes the tab pages before
7103 redrawing them. This as needed as the control is double buffered
7104 and sizing will not be recalculated unless ResizeTabPages is
7106 * TabPage.cs: Set base.Text instead of Text in the constructor so
7107 that UpdateOwner does not get called. Use the new Redraw method of
7108 TabControl instead of Refresh so the sizing is recalculated.
7109 * ThemeWin32Classic.cs: Draw the text for button tabs.
7111 2005-05-19 Jackson Harper <jackson@ximian.com>
7113 * Control.cs: Paint control background images. Fix typo where
7114 PaintControlBackground was not getting called correctly.
7116 2005-05-19 Peter Bartok <pbartok@novell.com>
7118 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7119 I can investigate, apparently I broke FileDialog
7121 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7123 * AxHost.cs: Some simple properties.
7124 * Control.cs: window must be accessible after ctor.
7125 * Form.cs: Added TransparencyKey property.
7126 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7127 * XplatUIWin32.cs: SetBorderStyle implemented.
7129 2005-05-18 Peter Bartok <pbartok@novell.com>
7131 * DataObject.cs: Entries are not global but particular to the
7132 DataObject, now it behaves that way
7133 * XplatUIWin32.cs: Implemented Clipboard methods
7134 * Clipboard.cs: Implemented
7135 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7136 * XplatUIOSX.cs: Updated to final clipboard prototypes
7137 * XplatUIX11.cs: Implemented Clipboard methods
7138 * XplatUIDriver.cs: Updated to final clipboard prototypes
7139 * XplatUIStructs.cs:
7140 - Added BITMAPINFOHEADER struct
7141 - Added ClipboardFormats enum
7143 - Added ClipboardStruct
7144 - Added Atom enum items for clipboard types
7145 - Fixed atom types for Selection event structures
7147 - Added internal properties and methods for drivers to enumerate
7149 - Switched initialization method to allow drivers to assign their
7150 own IDs even for the MS predefined clipboard IDs
7151 * XplatUI.cs: Updated to final clipboard interface
7153 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7154 * PropertyGridView.cs: Fixed compiler warnings.
7156 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7157 * PropertyGrid.cs: Added some event calls
7158 * PropertyGridView.cs: Change drawing code to use double buffering
7159 * PropertyGridTextBox.cs: Changed Text property name
7160 * GridItem.cs: Added Bounds property.
7161 * GridEntry.cs: Added Bounds property.
7163 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7165 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7166 since GetType() may not return the correct type if the object is
7169 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7171 * TreeNodeCollection.cs: fixes get/set item ranges
7173 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7175 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7177 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7179 * ComboBox.cs: Fix item range comparation
7180 * ListView.cs: Fix item range comparation
7182 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7185 - Clear example panel when OnPaint is called
7186 - Better solution for displaying the example panel text
7187 - Select default indexes in the ListBoxes
7189 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7191 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7193 2005-05-11 Peter Bartok <pbartok@novell.com>
7195 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7196 * SelectionRangeConverter.cs: Implemented
7197 * PropertyGrid.cs: Fixed attribute value
7199 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7200 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7201 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7202 that's common to all drivers. First methods to go there are
7203 Sebastien Pouliot's CAS Stack Propagation helper methods
7204 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7205 Sebastien Pouliot for CAS Stack Propagation
7207 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7210 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7212 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7214 * DataGridTextBoxColumn.cs: fixed some members
7215 * GridColumnStylesCollection.cs: indexed column is case insensitive
7216 * DataGridTableStyle.cs: fixes
7217 * ThemeWin32Classic.cs: add new theme parameter
7218 * Theme.cs: add new theme parameter
7219 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7220 * DataGrid.cs: fixes, new internal properties, etc.
7221 * DataGridColumnStyle.cs: allows to set grid value
7224 2005-05-10 Peter Bartok <pbartok@novell.com>
7226 * AccessibleObject.cs:
7227 - Removed MonoTODO attribute on help, method is correct
7228 - Fixed Bounds property
7229 * AxHost.cs: Moved MonoTODO
7230 * ButtonBase.cs: Now setting AccessibleObject properties
7231 * RadioButton.cs: Setting proper AccessibleObject role
7232 * CheckBox.cs: Setting proper AccessibleObject role
7233 * ControlBindingsCollection.cs: Added properties, methods and attributes
7234 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7235 userdefined DataFormats.Format items as well
7236 * ListControl.cs: Removed data_member from the public eye
7237 * OpenFileDialog.cs:
7239 - Added missing attributes
7240 * SaveFileDialog.cs: Added missing attributes
7241 * ImageListStreamer.cs: Fixed code that caused warnings
7242 * LinkLabel.cs: Removed unreachable code
7243 * TreeView.cs: Fixed code that caused warnings
7244 * PropertyGridView.cs: Fixed code that caused warnings
7245 * GridColumnStylesCollection.cs: Added missing attributes
7246 * GridTableStylesCollection: Added missing attribute
7247 * PropertyManager: Added .ctor
7248 * SecurityIDType: Added
7249 * DataObject.cs: Implemented class
7250 * LinkArea.cs: Added missing attribute
7252 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7254 * RadioButton.cs: call base method to allow to fire OnClick event
7255 * UpDownBase.cs: OnMouseUp call base method
7256 * CheckedListBox.cs: call base method before returning
7257 * TrackBar.cs: call base method before returning
7260 2005-05-10 Peter Bartok <pbartok@novell.com>
7262 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7265 2005-05-10 Peter Bartok <pbartok@novell.com>
7267 * DataFormats.cs: Implemented
7268 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7269 XplatUIX11.cs: Added Clipboard APIs
7270 * XplatUIWin32.cs: Implemented Clipboard APIs
7271 * FolderBrowserDialog.cs: Added missing event, attributes
7273 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7275 * CheckBox.cs: call base method to allow to fire OnClick event
7277 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7279 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7281 2005-05-06 Peter Bartok <pbartok@novell.com>
7283 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7284 * Screen.cs: Implemented
7285 * HelpNavigator.cs: Added
7286 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7288 * HelpProvider.cs: Implemented all we can do until we have a CHM
7289 help library (which means that "What's This" does work now)
7291 2005-05-06 Jackson Harper <jackson@ximian.com>
7293 * XplatUIX11.cs: Fix waking up the main loop.
7295 2005-05-05 Peter Bartok <pbartok@novell.com>
7297 * XplatUI.cs: Updated revision
7298 * Form.cs: Removed enless loop
7299 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7300 * Label.cs (OnPaint): Added call to base.OnPaint()
7301 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7302 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7303 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7305 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7306 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7307 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7308 reuse of ToolTipWindow by other controls
7309 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7310 * XplatUIX11.cs: Now clipping drawing area (experimental)
7311 * PictureBox.cs: Moved base.OnPaint() call to end of method
7312 * Theme.cs: Fixed ToolTip abstracts to match new format
7313 * ErrorProvider.cs: Implemented
7315 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7317 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7321 - Implements LinkBehavior
7324 2005-05-03 Jackson Harper <jackson@ximian.com>
7326 * ListView.cs: Calculate the scrollbar positioning on resize and
7327 paint, so they get put in the correct place.
7329 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7331 * ColorDialogs.cs: The small color panels are now handled by
7332 SmallColorControl. This fixes drawing of the focus rectangle
7333 and adds a 3D border.
7335 2005-05-03 Peter Bartok <pbartok@novell.com>
7337 * Control.cs: Modified version of Jonathan Chamber's fix for
7340 2005-05-03 Jackson Harper <jackson@ximian.com>
7342 * ListView.cs: Remove redraw variable. Control now handles whether
7343 or not a redraw needs to be done, and will only raise the paint
7344 event if redrawing is needed.
7346 2005-05-03 Jackson Harper <jackson@ximian.com>
7348 * Splitter.cs: No decorations for the splitter form. Cache the
7351 2005-05-03 Jackson Harper <jackson@ximian.com>
7353 * TreeView.cs: Use dashed lines to connect nodes. Use the
7354 ControlPaint method for drawing the focus rect instead of doing
7357 2005-05-02 Peter Bartok <pbartok@novell.com>
7359 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7361 2005-04-29 Jackson Harper <jackson@ximian.com>
7363 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7364 entire image buffer. Just clear the clipping rectangle.
7366 2005-04-29 Jackson Harper <jackson@ximian.com>
7368 * ThemeWin32Classic.cs: Don't draw list view items that are
7369 outside the clipping rectangle.
7371 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7373 * ListBox.cs: added horizontal item scroll
7375 2005-04-29 Jackson Harper <jackson@ximian.com>
7377 * ThemeWin32Classic.cs: Remove some old debug code that was
7378 causing flicker with the new double buffering code.
7380 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7382 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7383 behave like combobox and comboboxlist (still not sure if this is
7386 2005-04-28 Jackson Harper <jackson@ximian.com>
7388 * ThemeWin32Classic.cs: Don't fill the middle of progress
7389 bars. This fills areas outside of the clip bounds that don't need
7392 2005-04-28 Jackson Harper <jackson@ximian.com>
7394 * Control.cs: Don't expose functionality to touch the image buffers.
7396 * ListView.cs: We do not need to (and no longer can) manipulate
7397 the image buffers directly. All of this is handled by Control.
7399 2005-04-28 Peter Bartok <pbartok@novell.com>
7401 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7402 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7403 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7405 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7408 - Adjust control's height for non-simple comboboxes (bug fix)
7410 * MenuAPI.cs: remove unused var
7411 * ScrollBar.cs: remove unsed var
7413 * ListBox.cs: unselect items when clearing
7415 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7417 * ListControl.cs: honors OnPositionChanged and default Selected Item
7418 * ListBox.cs: unselect items when clearing
7420 2005-04-27 Jackson Harper <jackson@ximian.com>
7422 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7423 if a "correct" keyboard is not found. This will make us not crash,
7424 but might give some users bad keyboard layouts...seems to be the
7425 same thing rewind does.
7427 2005-04-27 Jackson Harper <jackson@ximian.com>
7429 * BindingManagerBase.cs: Attach the current/position changed
7430 handlers to their respective events.
7432 2005-04-27 Jackson Harper <jackson@ximian.com>
7434 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7436 * ThemeWin32Classic.cs: Don't fill the background for picture
7437 boxes. This could overright user drawing.
7438 * ComboBox.cs: Just fill the clipping rect not the entire client
7439 rect when drawing the background. This prevents pieces of the
7440 image buffer from getting overwritten and is theoretically faster.
7442 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7444 * ComboBox.cs: Databinding support fixes, fire missing events
7445 * ListControl.cs: implement missing methods and properties, fixes
7446 * ThemeWin32Classic.cs: Databiding support on Drawing
7447 * CheckedListBox.cs: Databinding support fixes, fire missing events
7448 * ListBox.cs: Databinding support fixes, fire missing events
7450 2005-04-25 Peter Bartok <pbartok@novell.com>
7452 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7454 2005-04-25 Jackson Harper <jackson@ximian.com>
7456 * TreeView.cs: Use the horizontal scrollbars height not width when
7457 determining how much of the client area is available.
7459 2005-04-25 Jackson Harper <jackson@ximian.com>
7461 * Control.cs: Double buffering is handled differently now. As per
7462 the spec, the extra buffer is created in the WM_PAINT message and
7463 passed down to the control's drawing code.
7471 * PropertyGridView.cs:
7483 * DateTimePicker.cs:
7485 * TreeView.cs: Update to new double buffering system.
7486 * MonthCalendar.cs: Uncomment block, as Capture is now
7487 working. Update to new double buffering
7488 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7489 * PaintEventArgs.cs: New internal method allows us to set the
7490 graphics object. This is used for double buffering.
7491 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7492 rectangle. The internal paint_area var has been removed from
7493 StatusBar. The clipping rect should be used instead.
7494 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7495 * TabPage.cs: The RefreshTabs method was removed, so just call the
7496 tab controls Refresh method now.
7497 * TabControl.cs: Update to new double buffering. Make sure the
7498 handle is created before sizing the tab pages, otherwise we will
7499 get stuck in a loop.
7501 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7503 * LinkLabel.cs: Fix typo, bug #74719; patch
7504 from Borja Sanchez Zamorano
7506 2005-04-22 Jackson Harper <jackson@ximian.com>
7508 * TreeNode.cs: Implement Handle stuff.
7509 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7511 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7513 * DataGridTextBoxColumn.cs: call base constructors, fixes
7514 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7515 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7516 * DataGridTableStyle.cs: implements create default column styles
7517 * DataGridBoolColumn.cs: which types can handle
7518 * DataGrid.cs: missing methods, fixes, new functionality
7519 * DataGridColumnStyle.cs: fixes
7521 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7522 * FolderBrowserDialog.cs:
7523 - Use a thread to fill the TreeView
7524 - Adjusted some sizes
7526 2005-04-19 Peter Bartok <pbartok@novell.com>
7528 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7529 property. Fixes #74360.
7531 2005-04-19 Jackson Harper <jackson@ximian.com>
7533 * XEventQueue.cs: Lock when getting the lockqueue size.
7534 * PictureBox.cs: Call base OnPaint
7536 2005-04-19 Peter Bartok <pbartok@novell.com>
7538 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7539 messages were no longer being processed (this broke BeginInvoke)
7542 2005-04-18 Jackson Harper <jackson@ximian.com>
7544 * TreeView.cs: buglet that caused node images to get drawn
7545 regardless of whether or not they were in the clipping rectangle.
7547 2005-04-18 Jackson Harper <jackson@ximian.com>
7549 * CurrencyManager.cs: There are four rules for GetItemProperties:
7550 - If the type is an array use the element type of the array
7551 - If the type is a typed list, use the type
7552 - If the list contains an Item property that is not an object, use
7554 - use the first element of the list if there are any elements in
7557 2005-04-17 Jackson Harper <jackson@ximian.oom>
7559 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7560 click. This handles offsets for scrolling properly and reduces
7561 memory. Also fixed GetNode to not offset now that TopNode works
7563 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7565 2005-04-17 Jackson Harper <jackson@ximian.com>
7567 * CursorConverter.cs: Initial implementation.
7569 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7571 * ListControl.cs: work towards complex data binding support on ListControl
7572 * CurrencyManager.cs: work towards complex data binding support on ListControl
7573 * ListBox.cs: work towards complex data binding support on ListControl
7576 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7578 * GridTableStylesCollection.cs: fixes name and constructor
7579 * DataGridTableStyle.cs: fixes
7580 * DataGridBoolColumn.cs: fixes names and constructors
7581 * DataGrid.cs: define methods and properties. Some init implementations
7582 * DataGridCell.cs: define methods and properties. Some init implementations
7583 * GridTablesFactory.cs: Define methods and properties
7585 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7587 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7588 graphics port changes. We still want the coordinates in global screen
7591 2005-04-14 Jackson Harper <jackson@ximian.com>
7593 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7594 check plus minus or checkbox clicks unless those features are enabled.
7596 2005-04-14 Jackson Harper <jackson@ximian.com>
7598 * TreeView.cs: Add methods for setting the top and bottom visible
7599 nodes. TreeNode::EnsureVisible uses these methods.
7600 * TreeNode.cs: Implement EnsureVisible
7602 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7604 * Form.cs: Pospone menu assignation if the window has not been created yet
7605 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7608 2005-04-12 Jackson Harper <jackson@ximian.com>
7610 * TreeView.cs: Set the TopNode properly when scrolling
7611 occurs. This has the added benifit of reducing the amount of
7612 walking that needs to be done when drawing. Also removed an old
7614 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7616 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7618 * Timer.cs: fixes interval setting when the timer is already enabled
7620 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7622 * FolderBrowserDialog.cs: First approach
7624 2005-04-09 Peter Bartok <pbartok@novell.com>
7626 * FolderBrowserDialog: Added
7628 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7630 * LinkLabel.cs: move drawing code into the theme
7631 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7632 * Theme.cs: define DrawLinkLabel method
7634 2005-04-05 Jackson Harper <jackson@ximian.com>
7636 * BindingContext.cs: Use weak references so these bad actors don't
7637 stay alive longer then they need to.
7639 2005-04-05 Jackson Harper <jackson@ximian.com>
7641 * ListControl.cs: Basic implementation of complex databinding.
7643 * ListBox.cs: Add calls to ListControl databinding methods.
7645 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7648 - Don't change PopupButtonState to Normal when the
7649 PopupButton gets pressed several times.
7650 - Renamed ButtonPanel to PopupButtonPanel
7652 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7654 * ColorDialog.cs: Use cached objects instead of creating them
7655 * LinkLabel.cs: Use cached objects instead of creating them
7656 * Splitter.cs: Use cached objects instead of creating them
7657 * FontDialog.cs: Use cached objects instead of creating them
7658 * PropertyGridView.cs: Use cached objects instead of creating them
7659 * MessageBox.cs: Use cached objects instead of creating them
7660 * FileDialog.cs: Use cached objects instead of creating them
7661 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7662 * TreeView.cs: Use cached objects instead of creating them
7664 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7666 * Control.cs: use Equals to compare the font since no == op
7667 * ScrollBar.cs: use Equals to compare the font since no == op
7669 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7671 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7673 2005-04-01 Jackson Harper <jackson@ximian.com>
7675 * Binding.cs: Implement IsBinding.
7676 * BindingManagerBase.cs:
7677 * PropertyManager.cs:
7678 * CurrencyManager.cs: Add IsSuspended property.
7680 2005-04-01 Jackson Harper <jackson@ximian.com>
7682 * Binding.cs: Had some IsAssignableFrom calls backwards.
7684 2005-04-01 Jackson Harper <jackson@ximian.com>
7686 * Binding.cs: Handle null data members when pulling data.
7687 * PropertyManager.cs: Handle the data member being a property that
7690 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7692 * DataGridTextBoxColumn.cs: fixes signature
7693 * DataGrid.cs: calls right constructor
7695 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7697 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7698 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7699 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7700 * DataGridTableStyle.cs: implements DataGridTableStyle
7701 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7702 * DataGridTextBox.cs: implements DataGridTextBox
7703 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7705 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7707 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7709 2005-03-29 Peter Bartok <pbartok@novell.com>
7712 - Properly implemented CompanyName property
7713 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7714 returns a path that includes CompanyName, ProductName and
7715 Version (fixes bug #70330)
7717 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7719 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7722 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7724 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7726 - Added ReadOnly CheckBox
7727 - Further refactoring: moved some code from Open-/SaveFileDialog
7730 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7732 * OpenFileDialog.cs: Fixed CheckFileExists
7734 Moved FileView and DirComboBox outside FileDialog class.
7735 They can now be used outside FileDialog
7737 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7739 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7740 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7742 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7744 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7745 - Added missing CreatePrompt property in SaveDialog
7746 - Overall SaveDialog handling should be better now
7747 - Added non standard ShowHiddenFiles property
7748 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7749 - Added InitialDirectory and RestoreDirectory support
7751 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7753 * FileDialog.cs: Made dirComboBox usable
7755 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7757 * FileDialog.cs: Added Filter support (case sensitiv)
7759 2005-03-24 Jackson Harper <jackson@ximian.com>
7761 * TabControl.cs: Need a couple more pixels for the lines.
7763 2005-03-23 Jackson Harper <jackson@ximian.com>
7765 * TabControl.cs: Give the tab page focus when it is selected.
7767 2005-03-23 Jackson Harper <jackson@ximian.com>
7769 * TabControl.cs: Account for the drawing of tabs borders when
7770 invalidating. If the slider was clicked dont do click detection on
7773 2005-03-23 Jackson Harper <jackson@ximian.com>
7775 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7777 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7779 * CategoryGridEntry.cs: Added
7780 * GridItem.cs: Added helper properties
7781 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7782 * GridEntry.cs: Updated code for collection
7783 * PropertyGrid.cs: Cleaned up some formatting
7784 * PropertyGridView.cs: Added drop down functionality for enums.
7785 * GridItemCollection.cs: Added enumerator logic
7786 * PropertyGridEntry.cs: Added
7788 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7791 - Removed unnecessary commented code
7792 - Fixed handling for entering the filename manually in the combobox
7794 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7796 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7798 2005-03-18 Peter Bartok <pbartok@novell.com>
7800 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7801 them being touching the border
7803 2005-03-18 Peter Bartok <pbartok@novell.com>
7805 * TextControl.cs: Quick hack to center text better
7807 2005-03-18 Peter Bartok <pbartok@novell.com>
7810 - Don't throw NotImplemented exceptions, just print a notice once
7811 instead (requested by Miguel). This makes running existing SWF
7814 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7815 - Added context menu trigger on right click
7816 * Panel.cs: Trigger invalidate on resize
7818 - Removed old double-buffer drawing
7819 - Added ResizeRedraw style to force proper update of statusbar
7821 - Removed debug output
7822 * ThemeWin32Classic.cs:
7823 - Fixed drawing of status bar, now draws Text property if there
7824 are no defined panels
7826 2005-03-18 Jackson Harper <jackson@ximian.com>
7828 * ImageList.cs: When the image stream is set pull all the images
7830 * ImageListStreamer.cs: Implement reading image list streams.
7832 2005-03-18 Peter Bartok <pbartok@novell.com>
7834 * ThemeWin32Classic.cs (DrawPictureBox):
7835 - Fixed calculations for centered drawing
7836 - Fixed drawing for normal mode, not scaling the image on normal
7838 2005-03-18 Peter Bartok <pbartok@novell.com>
7840 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7843 - Made Open/Save button the accept button for FileDialog
7844 - Tied the cancel button to the IButtonControl cancel button
7845 - Save/Open now properly builds the pathname
7846 - Now handles user-entered text
7847 - Preventing crash on right-click if no item is selected
7848 - Fixed Text property, now uses contents of textbox
7849 - Fixed SelectedText property, now just returns the text part that
7850 is selected in the text box
7852 2005-03-18 Jackson Harper <jackson@ximian.com>
7854 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7855 rect, make sure to de-adjust the interior rect after drawing the
7858 2005-03-18 Peter Bartok <pbartok@novell.com>
7860 * MenuAPI.cs: Remove menu *before* executing selected action to
7861 prevent the menu from 'hanging around'
7863 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7865 * XplatUIOSX.cs: Implemented WorkingArea property
7867 2005-03-17 Peter Bartok <pbartok@novell.com>
7869 * XplatUIX11.cs: Fixed menu coord calculations
7870 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7871 for calculating offsets
7873 2005-03-17 Peter Bartok <pbartok@novell.com>
7875 * Hwnd.cs: Do not consider menu presence for default client
7876 rectangle location/size
7877 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7878 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7879 translation functions
7880 * FileDialog.cs: Fixed (what I presume is a) typo
7882 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
7884 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7885 X access (avoids X-Async errors)
7887 2005-03-16 Jackson Harper <jackson@ximian.com>
7889 * TabControl.cs: Raise the SelectedIndexChanged event.
7891 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
7893 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7894 - Removed vertical ToolBar and replaced it with a custom panel
7895 (desktop and home button already work)
7896 - Added Help button (some controls get resized or relocated then)
7897 - Draw correct text depending on Open or Save.
7898 - Fixed some typos...
7900 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
7903 - Only change Maximum and Minimum when need it (bug fix)
7905 2005-03-15 Peter Bartok <pbartok@novell.com>
7907 * Form.cs: Use Handle for icon, to trigger creation if
7908 the window does not yet exist
7910 - CanSelect: Slight performance improvement
7911 - Focus(): Preventing possible recursion
7912 - Invalidate(): Removed ControlStyle based clear flag setting
7913 - WM_PAINT: fixed logic for calling OnPaintBackground
7914 - WM_ERASEBKGND: Fixed logic, added call to new driver method
7915 EraseWindowBackground if the control doesn't paint background
7917 - Moved EraseWindowBackground() method to internal methods
7918 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7919 is sent via SendMessage on BeginPaint call on Win32
7921 - Added EraseWindowBackground() method
7922 - No longer sends WM_ERASEBKGND on .Expose, but on call to
7923 PaintEventStart, which more closely matches Win32 behaviour
7924 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7925 - Fixed SetFocus() to properly deal with client and whole windows
7926 * Hwnd.cs: Added ErasePending property
7927 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7928 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7930 2005-03-12 Geoff Norton <gnorton@customerdna.com>
7933 - Fix hard loop when timers exist.
7934 - Fix bugs with middle and right click for 3 button mice.
7936 2005-03-11 Peter Bartok <pbartok@novell.com>
7939 - get_WorkingArea: Need to call X directly, GetWindowPos only
7940 returns cached data now
7941 - Added sanity check to GetWindowPos hwnd usage
7943 2005-03-11 Jackson Harper <jackson@ximian.com>
7945 * BindingManagerBase.cs: This method isn't used anymore as
7946 PullData now updates the data in the control.
7948 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7950 * Form.cs: fixes menu drawing on X11
7951 * MenuAPI.cs: fixes menu drawing on X11
7953 2005-03-11 Peter Bartok <pbartok@novell.com>
7955 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7956 from Jonathan Gilbert; should fix bug #73606
7957 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7958 in Screen coordinates. Thanks, Jordi.
7959 * Form.cs: Added missing attribute
7961 2005-03-11 Peter Bartok <pbartok@novell.com>
7964 - Rudimentary Mdi support
7965 - Removed outdated FormParent code
7966 - Implemented lots of missing properties and methods, still missing
7967 transparency support
7968 - Added missing attributes
7969 - Implemented support for MaximumBounds
7970 - Added firing of various events
7971 * XplatUI.cs: Added SetIcon() method
7972 * XplatUIDriver.cs: Added SetIcon() abstract
7973 * XplatUIOSX.cs: Stubbed out SetIcon() method
7975 - Implemented SetIcon() support
7976 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7977 - Switched to unix line endings
7979 - Made POINT internal so for can access it as part of MINMAX
7980 - Implemented SetIcon() support
7981 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7982 native Mdi support again, might have to go managed)
7983 * Control.cs: Now fires the StyleChanged event
7984 * MdiClient.cs: Added; still mostly empty
7986 2005-03-10 Peter Bartok <pbartok@novell.com>
7988 * SaveFileDialog.cs: Added emtpy file
7990 2005-03-08 Peter Bartok <pbartok@novell.com>
7992 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7993 in turn triggers OnCreateContro) when creating a handle for the
7995 * TextControl.cs: Fixed endless loop in certain cases when
7996 replacing the current selection
7998 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8001 - Honors NewValue changes in Scroll events allowing apps to change it
8002 - Adds First and Last Scroll events
8003 - Fixes Thumb events
8005 2005-03-07 Peter Bartok <pbartok@novell.com>
8007 * Hwnd.cs: Added DefaultClientRectangle property
8008 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8009 more detailed debug information
8011 - Fixed size-change feedback loop, where we would pull an old size
8012 off the queue and mistakenly change our window's size to an
8014 - Now compressing ConfigureNotify events, to reduce looping and
8016 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8019 2005-03-07 Jackson Harper <jackson@ximian.com>
8021 * Binding.cs: Push data pushes from data -> property. Check if the
8022 property is readonly when attempting to set it.
8024 2005-03-07 Jackson Harper <jackson@ximian.com>
8026 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8027 instead of IsSubclassOf. Pulling data now sets the value on the
8029 * PropertyManager.cs:
8030 * CurrencyManager.cs: Just need to pull data when updating now,
8031 because PullData will set the value on the control.
8033 2005-03-04 Jackson Harper <jackson@ximian.com>
8035 * Binding.cs: Implement data type parsing and converting on pulled
8036 data. TODO: Are there more ways the data can be converted?
8038 2005-03-04 Jackson Harper <jackson@ximian.com>
8040 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8041 controls Validating method so we can repull the data when the
8042 control loses focus.
8044 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8047 - Fixes null string format
8050 - Adds enum type checks
8051 - Fixes redrawing and recalc need after changing some properties
8052 - Fixes on focus_item set after the event
8053 - Fixes adding columns after the control has been created
8055 * ThemeWin32Classic.cs:
8056 - Fixes CheckBox focus rectangle
8057 - Fixes ColumnHeader drawing
8060 2005-03-03 Jackson Harper <jackson@ximian.com>
8062 * Binding.cs: Bind to <Property>Changed events so we can detect
8063 when properties are changed and update the data.
8065 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8068 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8069 - Fixes ImageList constructor with ImageList container
8070 - Fixes image scaling (wrong parameters at DrawImage)
8072 2005-02-02 Jackson Harper <jackson@ximian.com>
8074 * Binding.cs: Make property searches case-insensitive. Eliminate
8075 some duplicated code.
8077 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8080 - Handle focus event
8081 - Fix scrollbar events
8082 - Discard highlighted item if remove it
8083 - Fixes SelectedItem with strings
8085 2005-03-01 Peter Bartok <pbartok@novell.com>
8088 - Fixed Visible property, now follows (once again) parent chain
8089 to return false if any control in the chain is visible=false
8090 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8091 - Fixed several places where is_visible instead of Visible was used
8092 - Implemented FIXME related to focus selection when setting focused
8093 control to be invisible
8095 * XplatUIWin32.cs: Now using proper method to find out if window is
8096 visible. Thanks to Jordi for pointing it out
8098 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8100 * ComboBox.cs: show/hide scrollbar instead of creating it
8102 2005-02-27 Jackson Harper <jackson@ximian.com>
8104 * CurrencyManager.cs: Add PositionChanged stuff.
8106 2005-02-27 Peter Bartok <pbartok@novell.com>
8108 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8109 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8110 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8112 - Implemented GetMenuDC()
8113 - Implemented GetMenuOrigin()
8114 - Implemented ReleaseMenuDC()
8115 - Implemented generation of WM_NCPAINT message
8116 - Implemented generation and handling of WM_NCCALCSIZE message
8117 * Form.cs: Added debug helper message for Jordi's menu work
8119 - Modified ClientRect property; added setter, fixed getter to handle
8120 setting of ClientRect
8121 - Added MenuOrigin property
8123 2005-02-26 Peter Bartok <pbartok@novell.com>
8126 - Destroys the caret if a window that's being destroyed contains it
8127 - Ignores expose events coming from the X11 queue for windows that
8128 already are destroyed
8129 - Now uses the proper variable for handling DestroyNotify, before we
8130 marked the wrong window as destroyed
8131 - Improved/added some debug output
8133 2005-02-26 Peter Bartok <pbartok@novell.com>
8135 * X11Keyboard.cs: Fixes to work on 64bit systems
8137 2005-02-26 Peter Bartok <pbartok@novell.com>
8140 - Now calling OnHandleDestroyed from DestroyHandle()
8141 instead of Dispose()
8142 - Removed bogus call to controls.Remove() from DestroyHandle()
8144 2005-02-26 Peter Bartok <pbartok@novell.com>
8146 * Control.cs: Properly destroy child windows when our handle is
8149 2005-02-25 Peter Bartok <pbartok@novell.com>
8152 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8153 - Alphabetized Static Methods and Subclasses
8156 - Added XException class to allow custom handling of X11 exceptions
8157 - Created custom X11 error handler, tied into XException class
8158 - Added support for MONO_XEXCEPTIONS env var to allow the user
8159 to either throw an exception on X errors or continue running
8160 after displaying the error
8161 - Added handling of DestroyNotify message
8162 - Added handler for CreateNotify message (still disabled)
8163 - Improved (tried to at least) Where method to provide file and lineno
8165 - Added XErrorHandler delegate
8166 - Added XRequest enumeration (to suppor translation of errors)
8168 2005-02-25 Jackson Harper <jackson@ximian.com>
8170 * PropertyManager.cs: Implement editing features
8171 * CurrencyManager.cs:
8172 * Binding.cs: First attempt at UpdateIsBinding
8173 * BindingManagerBase.cs: Call UpdateIsBinding before
8174 pushing/pulling data.
8176 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8178 * MenuAPI.cs: Respect disabled items
8179 * ThemeWin32Classic.cs
8180 - Caches ImageAttributes creation for DrawImageDisabled
8181 - Fixes vertical menu line drawing
8182 - Draws disabled arrows in disable menu items
8184 2005-02-24 Peter Bartok <pbartok@novell.com>
8187 - Added UserData property to allow associating arbitrary objects
8189 - Fixed leak; now removing Hwnd references from static windows array
8191 - Fixed Graphics leak in PaintEventEnd
8192 - Removed usage of HandleData, switched over to Hwnd class
8193 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8195 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8197 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8198 * ScrollBar.cs: Fixes bug
8199 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8200 keyboard navigation enhancements
8202 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8204 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8205 * GroupBox.cs: Add control styles
8206 * Label.cs: Add control styles
8207 * UpDownBase.cs: Add control styles
8208 * ListBox.cs: Add control styles
8209 * XplatUIWin32.cs: Fixes wrong parameter order
8212 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8214 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8216 2005-02-23 Jackson Harper <jackson@ximian.com>
8218 * PropertyManager.cs: Implement property binding. This doesn't
8219 seem to work yet though as (I think) there are some bugs in
8220 System.ComponentModel.PropertyDescriptor.
8221 * BindingContext.cs: Use new PropertyManager constructor.
8223 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8225 * ProgressBar.cs: use clip region in ProgressBar
8226 * ThemeWin32Classic.cs: use clip region in ProgressBar
8228 2004-02-22 Jackson Harper <jackson@ximian.com>
8230 * BindingsCollection.cs: Remove some debug code.
8232 2005-02-22 Jackson Harper <jackson@ximian.com>
8234 * BindingContext.cs:
8235 * ControlBindingsCollection.cs:
8236 * CurrencyManager.cs:
8238 * BindingManagerBase.cs: Initial implementation
8239 * BindingsCollection.cs: Add an internal contains method that the
8240 BindingManagerBase uses to ensure bindings aren't added twice to
8242 * PropertyManager.cs: Stubbed out.
8244 * ContainerControl.cs: Hook up databinding
8246 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8249 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8250 Fixed Invalidate/Update chain.
8251 Fixed tons of other minor bugs (this is almost a complete rewrite).
8253 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8255 * ComboBox.cs: do subcontrol creation when the control is created
8257 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8259 * Label.cs: fixes image drawing (image and imagelist)
8260 * ThemeWin32Classic.cs: cache brushes
8262 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8264 * Form.cs: Move menu drawing code to Theme class
8265 * ComboBox.cs: Move ComboBox drawing code to Theme class
8266 * MenuItem.cs: Move menu drawing code to Theme class
8267 * MenuAPI.cs: Move menu drawing code to Theme class
8268 * ThemeWin32Classic.cs: New methods
8269 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8270 * ListBox.cs: Move Listbox drawing code to Theme class
8271 * Theme.cs: New methods
8273 2005-02-20 Peter Bartok <pbartok@novell.com>
8276 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8277 only process mnemonics on those)
8278 - Fixed event sequence for key handling; first calling
8279 ProcessKeyEventArgs now
8281 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8282 for processing non-character keys
8283 - Fixed WM_CHAR to generate proper event sequence before processing
8284 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8287 2005-02-19 Peter Bartok <pbartok@novell.com>
8289 * UserControl.cs: Added TextChanged event; added attributes
8290 * SizeGrip.cs: Implemented resizing and optional display of grip
8291 * Form.cs: Fixed attribute
8292 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8293 Changed meaning of ScrollWindow bool argument; instead of the
8294 clear attribute (which will be true usually anyway), it gives the
8295 option of moving child controls as well.
8297 - Changed to match new ScrollWindow argument
8298 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8299 now handles the implicit parent window a WM puts around us
8300 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8302 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8303 * TreeView.cs: Adjusted to new ScrollWindow arguments
8305 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8307 * Form.cs: Menu integration with non-client area
8308 * MenuItem.cs: Menu integration with non-client area
8309 * MenuAPI.cs: Menu integration with non-client area
8311 2005-02-18 Peter Bartok <pbartok@novell.com>
8313 * MethodInvoker.cs: Added
8314 * MdiLayout.cs: Added
8315 * SendKeys.cs: Started implementation
8316 * ErrorIconAlignment.cs: Added
8318 2005-02-18 Peter Bartok <pbartok@novell.com>
8320 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8321 * Form.cs: Added handling for Menu-related Non-client messages
8323 2005-02-17 Peter Bartok <pbartok@novell.com>
8325 * UpDownBase.cs: Fixed typo, compilation errors
8326 * DomainUpDown.cs: Fixed attribute value
8328 2005-02-16 Miguel de Icaza <miguel@novell.com>
8330 * UpDownBase.cs: Attach entry events.
8332 Add ForeColor property, Focused, InterceptArrowKeys (interception
8335 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8338 - Redraw non client are on Setmenu
8339 - Calc proper menu starting point
8341 2005-02-17 Peter Bartok <pbartok@novell.com>
8343 * Application.cs: Fixed message_filter check
8345 2005-02-17 Peter Bartok <pbartok@novell.com>
8347 * Application.cs: Now calls registered message filters
8348 * DockStyle.cs: Fixed attribute
8349 * Form.cs: Fixed attribute
8350 * Menu.cs: Fixed attribute
8351 * ToolTip.cs: Fixed attribute
8352 * TreeNode.cs: Added missing attributes and arranged in regions
8353 * PropertyGrid.cs: Fixed signatures
8354 * TreeNodeCollection.cs: Added attributes
8355 * Splitter.cs: Added missing attributes; arranged into regions
8356 * TabPage.cs: Added missing attributes; arranged into regions
8357 * TextBoxBase.cs: Added missing attributes
8358 * TextBox.cs: Added missing attributes
8359 * ArrangeDirection.cs: Added missing attributes
8360 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8361 * ToolBarButton.cs: Fixed attributes
8362 * AnchorStyles.cs: Fixed attribute
8363 * TrackBar.cs: Fixed attributes
8364 * TabControl.cs: Added missing attributes and arranged into regions
8365 * ToolBar.cs: Fixed attribute
8366 * StatusBar.cs: Fixed signature, organized into regions and added
8368 * StatusBarPanel.cs: Fixed attributes
8369 * ContentsResizedEventArgs.cs: Implemented
8370 * ContentsResizedEventHandler.cs: Implemented
8371 * DateBoldEventArgs.cs: Implemented
8372 * DateBoldEventHandler.cs: Implemented
8373 * UpDownEventArgs.cs: Implemented
8374 * UpDownEventHandler.cs: Implemented
8376 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8378 * Form.cs: first Menu NC refactoring
8379 * MenuAPI.cs: first Menu NC refactoring
8381 2005-02-16 Peter Bartok <pbartok@novell.com>
8383 * ImeMode.cs: Added missing attributes
8384 * Menu.cs: Fixed attribute
8385 * GroupBox.cs: Fixed attribute
8386 * Label.cs: Fixed attribute
8387 * ColorDialog.cs (RunDialog): Removed TODO attribute
8388 * ComboBox.cs: Fixed attributes
8389 * ListControl.cs: Added missing attributes
8390 * PropertyGrid.cs: Fixed attributes
8391 * Control.cs: Fixed attributes
8392 * ListViewItem.cs: Added TypeConverter attribute
8393 * NotifyIcon.cs: Fixed attributes
8394 * ListView.cs: Fixed attributes
8395 * ButtonBase.cs: Fixed attribute
8396 * ImageList.cs: Added missing attributes
8397 * ContainerControl.cs: Fixed signature
8398 * CheckedListBox.cs: Fixed attribute; added missing attributes
8399 * Panel.cs: Fixed attributes
8400 * PropertyTabChangedEventArgs.cs: Added missing attribute
8401 * PropertyValueChangedEventArgs.cs: Added missing attribute
8402 * Binding.cs: Fixed attribute
8403 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8404 * ListBox.cs: Fixed attribute; added missing attributes;
8405 * ScrollableControl.cs: Added missing attributes
8406 * PictureBox.cs: Added missing attributes; implemented missing property
8407 * DateTimePicker.cs: Added missing attributes
8408 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8409 * MonthCalendar.cs: Fixed attributes
8410 * StatusBarPanel.cs: Added missing attributes
8411 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8413 2005-02-16 Peter Bartok <pbartok@novell.com>
8415 * TextBoxBase.cs: The previous method to enforce height yet remember
8416 the requested high was less than ideal, this is an attempt to do
8418 * Control.cs: Added comment about possible problem
8419 * Copyright: Updated format
8420 * GridItemType.cs: Fixed swapped values
8422 2005-02-15 Jackson Harper <jackson@ximian.com>
8424 * BaseCollection.cs: Use property so we never access an
8425 uninitialized list. Also initialize the list in the property.
8427 2005-02-15 Peter Bartok <pbartok@novell.com>
8429 * GroupBox.cs (ProcessMnemonic): Implemented
8430 * Label.cs (ProcessMnemonic): Implemented
8431 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8434 2005-02-15 Peter Bartok <pbartok@novell.com>
8436 * RadioButton.cs (ProcessMnemonic): Implemented
8437 * CheckBox.cs (ProcessMnemonic): Implemented
8439 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8441 - Added internal method to allow calling ProcessMnemonic from other
8443 * ContainerControl.cs:
8444 - Started support for handling validation chain handling
8445 - Implemented ProcessMnemonic support
8446 - Added Select() call to Active, to make sure the active control
8448 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8450 * ThemeWin32Classic.cs:
8451 - DrawCheckBox(): Fixed stringformat to show hotkeys
8452 - DrawRadioButton(): Fixed stringformat to show hotkeys
8453 * CommonDialog.cs: Removed WndProc override, not needed
8455 2005-02-14 Peter Bartok <pbartok@novell.com>
8457 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8458 missed those in the rewrite
8460 2005-02-14 Miguel de Icaza <miguel@novell.com>
8462 * NumericUpDown.cs (Increment, ToString): Add.
8463 (DecimalPlaces): implement.
8467 * UpDownBase.cs: Add the designer attributes.
8469 2005-02-13 Peter Bartok <pbartok@novell.com>
8471 * Panel.cs: Removed border_style, now in Control
8472 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8473 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8475 2005-02-13 Peter Bartok <pbartok@novell.com>
8477 * MouseButtons.cs: Added missing attributes
8478 * XplatUIStructs.cs: Added enumeration for title styles
8479 * LeftRightAlignment.cs: Added missing attributes
8480 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8481 it compatible with Graphics.FromHwnd()
8482 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8483 * Keys.cs: Added missing attributes
8484 * SelectionRange.cs: Added missing attributes
8485 * SelectionRangeConverter.cs: Added
8487 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8488 ReleaseMenuDC methods
8489 - Renamed ReleaseWindow to UngrabWindow
8490 - Added proper startup notice to allow version identification
8492 - Added missing attributes
8493 - Removed FormParent concept
8494 * Label.cs: Removed border_style field, now in Control
8495 * RadioButton.cs: Now properly selects RadioButton when focus is
8497 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8499 - Added missing attributes
8500 - Added borderstyle handling
8501 - Removed FormParent concept support
8502 - Fixed calls to XplatUI to match changed APIs
8503 - Fixed bug that would case us to use disposed Graphics objects
8504 - Removed unneeded internal methods
8505 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8506 - SelectNextControl(): Fixed to properly check common parents
8507 * TextBoxBase.cs: Removed border_style field (now in Control)
8509 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8510 fixed calculations for form size
8511 - Added support for localized strings and icons
8512 - Improved form size calculations, added border
8513 * ListView.cs: Removed border_style field (now in Control)
8514 * X11Structs.cs: Moved several structs from X11 driver here
8515 * X11Keyboard.cs: Changed debug message
8516 * Application.cs: Removed FormParent concept support
8518 - Resetting end_modal flag
8519 - Removed FormParent concept support
8520 * NativeWindow.cs: Removed FormParent concept support
8521 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8522 Client area and Non-Client whole window to allow support for WM_NC
8524 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8525 prevent using it until it supports Hwnd as per Geoff Norton's request
8526 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8527 * PictureBox.cs: Removed border_style field, now in Control
8528 * XplatUIWin32.cs: Added new driver methods
8530 2005-02-12 Peter Bartok <pbartok@novell.com>
8532 * OpacityConverter.cs: Implemented
8533 * Hwnd.cs: Internal class to support drivers that need to emulate
8534 client area/non-client area window behaviour
8536 2005-02-11 Peter Bartok <pbartok@novell.com>
8538 * KeysConverter.cs: Implemented
8540 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8542 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8543 * LinkLabel: Added missing attributes
8544 * MainMenu.cs: fixes ToString
8545 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8546 * ListBox.cs: fixes event position
8547 * TrackBar.cs: adds missing attributes and events
8549 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8551 * MenuItem.cs: Use SystemInformation and bug fixes
8552 * MenuAPI.cs: Use SystemInformation and bug fixes
8554 2005-02-09 Jackson Harper <jackson@ximian.com>
8556 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8557 their keystate otherwise things like VK_MENU get stuck "on".
8559 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8561 * ListBox.cs: Fixes AddRange bug
8563 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8566 - Add missing attributes
8567 - Add missing method
8569 * CheckedListBox.cs: Added missing attributes
8570 - Add missing attributes
8571 - Remove extra method
8573 * ComboBox.cs: Added missing attributes
8574 * VScrollBar.cs: Added missing attributes
8575 * ScrollBar.cs: Added missing attributes
8576 * ListBox.cs: Fixes signature, add missing consts
8577 * LinkArea.cs: Added missing attributes
8580 2005-02-08 Peter Bartok <pbartok@novell.com>
8582 * Menu.cs: Added missing attributes
8583 * MainMenu.cs: Added missing attributes
8584 * GroupBox.cs: Added missing attributes
8585 * Label.cs: Added missing attributes
8586 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8588 - Added Instance and Options properties
8589 - Added missing attributes
8590 * Cursor.cs: Made Serializable
8591 * NotifyIcon: Added missing attributes
8592 * MenuItem.cs: Added missing attributes
8593 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8594 * Panel.cs: Added Missing attributes
8595 * MonthCalendar.cs: Fixed CreateParams
8597 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8601 - Fixes issues with links
8602 - Adds the class attributes
8604 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8607 - Fixes button when no items available in dropdown
8608 - Fixes repainting problems
8609 - Adds the class attributes
8611 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8613 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8614 the current theme. Cache these on startup.
8616 2005-02-07 Jackson Harper <jackson@ximian.com>
8618 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8619 the scrollbar buttons when they are depressed.
8621 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8623 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8624 Get the display size from the main displayid. We currently dont
8625 support multiple display configurations.
8627 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8629 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8631 2005-02-07 Miguel de Icaza <miguel@novell.com>
8633 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8635 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8637 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8639 2005-02-04 Jackson Harper <jackson@ximian.com>
8641 * ThemeWin32Classic.cs: Respect the clipping rect when
8642 drawing. Only fill the intersection of clips and rects so there
8643 isn't a lot of large fills.
8644 * ScrollBar.cs: Pass the correct clipping rect to the theme
8645 engine. Remove some debug code.
8647 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8649 * DateTimePicker.cs:
8650 - Fixed crash on DateTime.Parse, use Constructor instead
8652 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8656 - Owner draw support (MeasureItem and DrawItem)
8658 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8661 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8662 - Fixes MenuItems.Add range
8664 - MergeMenu and Clone and CloneMenu functions
8666 2005-02-03 Jackson Harper <jackson@ximian.com>
8668 * ScrollBar.cs: Make abstract
8669 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8672 2005-02-03 Jackson Harper <jackson@ximian.com>
8674 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8675 all the unneeded refreshes and uses invalidates with properly
8678 2005-02-03 Peter Bartok <pbartok@novell.com>
8680 * ComponentModel.cs: Added
8681 * IDataGridEditingService.cs: Added
8682 * Timer.cs: Added missing attributes
8683 * ToolTip.cs: Added missing attributes
8685 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8687 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8689 2005-02-03 Peter Bartok <pbartok@novell.com>
8691 * ListBox.cs: Added missing attributes
8693 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8696 - Fixes font height after font change
8697 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8699 2005-02-02 Peter Bartok <pbartok@novell.com>
8701 * HandleData.cs: Introduced static methods to allow class
8702 to be more self-contained and track it's own HandleData objects
8703 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8704 HandleData to use new static methods
8706 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8709 - Fixes default size and PreferredHeight
8711 - ObjectCollection.Insert implementation
8717 - ObjectCollection.Insert implementation
8718 - No selection after clean
8721 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8723 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8725 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8728 - Caches ItemHeight calculation for OwnerDrawVariable
8729 - Handles dropdown properly
8730 - Fixes several minor bugs
8732 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8735 - Fixes 71946 and 71950
8736 - Fixes changing Multicolumn on the fly
8737 - Fixes keyboard navigation on Multicolumn listboxes
8739 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8741 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8744 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8746 * XplatUIOSX.cs: Allow applications to actually exit.
8748 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8750 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8751 their parent at creation time rather than lazily later. Fixes a major
8752 regression we were experiencing.
8754 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8756 * ThemeWin32Classic.cs: more date time picker painting fixes
8757 * DateTimePicker.cs: more monthcalendar drop down fixes
8758 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8760 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8763 - When moving the thumb going outside the control should stop the moving
8764 - Adds the firing of missing events
8765 - Fixes no button show if Size is not specified
8766 - End / Home keys for keyboard navigation
8768 2005-01-30 Peter Bartok <pbartok@novell.com>
8770 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8771 sanity check to prevent theoretical loop
8772 * XplatUIWin32.cs (SetVisible): Removed debug output
8773 * XplatUIX11.cs (SystrayChange): Added sanity check
8774 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8775 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8776 behaviour, valid until the X11 client window rewrite is done
8777 * TextBox.cs (ctor): Setting proper default foreground and background
8780 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8782 * Theme: Added DrawDateTimePicker to interface
8783 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8784 * DateTimePicker.cs: Created (still needs keys and painting code)
8785 * DateTimePickerFormat.cs: added
8786 * MonthCalendar.cs: fixed CreateParams for popup window mode
8788 2005-01-29 Peter Bartok <pbartok@novell.com>
8790 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8791 this should also the calculations for ligher/darker
8792 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8794 2005-01-29 Peter Bartok <pbartok@novell.com>
8796 * ArrangeDirection.cs: Added
8797 * ArrangeStartingPositon.cs: Added
8798 * SystemInformation.cs: Implemented
8799 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8800 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8801 used by SystemInformation class
8802 * X11Strucs.cs: Added XSizeHints structure
8804 - Fixed CreateParams to make sure the menu window is always visible
8805 - TrackPopupMenu: Added check to make sure we don't draw the
8808 2005-01-29 Peter Bartok <pbartok@novell.com>
8810 * HandleData.cs: Added method for altering invalid area
8811 * TextBoxBase.cs: Implemented TextLength
8813 2005-01-28 Peter Bartok <pbartok@novell.com>
8815 * XplatUIX11.cs: Improvement over last patch, not sending
8816 the WM_PAINT directly anymore, instead we scroll any pending
8817 exposed areas and let the system pick out the WM_PAINT later
8819 2005-01-28 Peter Bartok <pbartok@novell.com>
8821 * SWF.csproj: Deleted, no longer used. Instead,
8822 Managed.Windows.Forms/SWF.csproj should be used
8823 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8824 directly, to avoid a potential race condition with the next
8827 2005-01-28 Peter Bartok <pbartok@novell.com>
8829 * XplatUI.cs: Made class internal
8831 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8833 * CheckedListBox.cs:
8836 - Missing methods and events
8838 2005-01-27 Peter Bartok <pbartok@novell.com>
8840 * Application.cs (Run): Don't use form if we don't have one
8842 2005-01-27 Peter Bartok <pbartok@novell.com>
8844 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8846 2005-01-27 Peter Bartok <pbartok@novell.com>
8848 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8849 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8850 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8851 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8852 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8853 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8854 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8855 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8856 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8857 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8858 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8859 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8861 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8864 - Draw focus on Simple Combobox
8865 - Fixes drawing issues
8868 2005-01-27 Peter Bartok <pbartok@novell.com>
8871 - Place window in default location, instead of hardcoded 0/0
8872 - Send initial LocationChanged event
8874 - UpdateBounds after creation to find out where the WM placed us
8875 - Make sure that if the ParentForm changes location the Form
8877 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8878 to the root, but to whatever the WM placed around us.
8879 Translate to root coordinates before returning toplevel
8881 * XplatUIWin32.cs: Removed debug output
8882 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8883 flag to GetWindowPos, to allow translation of coordinates on X11
8885 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8887 * ListBox.cs: connect LostFocus Event
8889 2005-01-27 Peter Bartok <pbartok@novell.com>
8891 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8892 XplatUIX11.cs: Extended the Systray API
8893 * Form.cs: Removed debug output
8894 * Application.cs: Fixed focus assignment, always need to call
8895 XplatUI.Activate() since Form.Activate() has rules that may
8897 * NotifyIcon.cs: Should be complete now
8898 * ToolTip.cs: Worked around possible timer bug
8900 2005-01-27 Jackson Harper <jackson@ximian.com>
8903 - Only invalidate the effected tabs when the
8904 selected index changes. This reduces drawing and gets rid of some
8906 - Only refresh if the tabs need to be shifted, otherwise only
8907 invalidate the slider button.
8908 - On windows the tabs are not filled to right if the slider is
8911 2005-01-27 Jackson Harper <jackson@ximian.com>
8913 * TabControl.cs: Only refresh on mouseup if we are showing the
8914 slider. Also only invalidate the button whose state has changed.
8916 2005-01-26 Peter Bartok <pbartok@novell.com>
8918 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8919 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8920 and SystrayRemove() methods
8921 * XplatUIOSX.cs: Stubbed Systray methods
8923 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8925 - Fixed broken XChangeProperty calls (marshalling messed up things)
8926 * X11Structs.cs: Added enums and structs required for Size hinting
8927 * NotifyIcon.cs: Added & implemented
8929 2005-01-26 Jackson Harper <jackson@ximian.com>
8931 * TabControl.cs: Space vertically layed out tabs properly.
8933 2005-01-26 Peter Bartok <pbartok@novell.com>
8935 * Form.cs (CreateClientParams): Always set the location to 0,0
8936 since we're a child window.
8938 * Control.cs (SetVisibleCore): Always explicitly setting the location
8939 of a toplevel window, apparently X11 doesn't like to move windows
8940 while they're not mapped.
8942 2005-01-26 Jackson Harper <jackson@ximian.com>
8944 * TabControl.cs: Implement FillToRight size mode with vertically
8947 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8949 * ControlPaint.cs, ThemeWin32Classic.cs
8950 - Fixes DrawFocusRectangle
8952 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8955 - MenuBar tracking only starts when item is first clicked
8956 - Fixes menu hidding for multiple subitems
8957 - Unselect item in MenuBar when item Executed
8960 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8963 - IsInputKey for ListBox
8966 - Shift and Control item selection
8967 - Implement SelectionMode.MultiExtended
8970 - IsInputKey implemented
8971 - Do not generate OnTextChangedEdit on internal txt changes
8973 2005-01-23 Peter Bartok <pbartok@novell.com>
8975 * AccessibleObject.cs: Partially implemented Select()
8976 * MonthCalendar.cs: Added missing attributes and events
8977 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8978 form can properly override CreateParams.
8979 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8980 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8981 Control performs Invalidate & Update
8982 * NativeWindow (CreateHandle): Added special handling for Form
8983 and Form.FormParent classes to allow overriding of From.CreateParams
8985 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8987 - ControlNativeWindow: Added Owner property
8988 - Removed usage of Refresh() on property changes, changed into
8989 Invalidate(), we need to wait until the queue is processed for
8990 updates, direct calls might cause problems if not all vars for
8991 Paint are initialized
8992 - Added call to UpdateStyles() when creating the window, to set any
8993 styles that CreateWindow might have ignored.
8994 - Added support for Form CreateParent overrides to UpdateStyles()
8995 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8996 CreateParams are now properly overridable
8997 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8998 CreateParams are now properly overridable
9000 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9002 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9005 Capture LostFocus and OnTextBoxChanged. The later introduces a
9006 recursive invocation that I have not figured out yet.
9008 Reset the timer when not using (it was accumulating).
9011 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9012 user has made changes that require validation.
9014 Reset changing to avoid loops.
9016 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9018 * NumericUpDown.cs: Display value at startup.
9020 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9023 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9024 filled in. Added some basic parsing of text.
9026 Still missing the OnXXX method overrides, and figuring out the
9027 events that must be emitted.
9029 * UpDownBase.cs: Handle UserEdit on the Text property.
9031 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9034 - Fixes IntegralHeight
9037 2005-01-21 Jackson Harper <jackson@ximian.com>
9039 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9040 is set so that the page visibility is updated and the tabs are
9043 2005-01-21 Jackson Harper <jackson@ximian.com>
9045 * TabControl.cs: Use cliping rectangle for blitting. Give the
9046 theme the clipping rect so we can do clipping while
9047 drawing. Remove some debug code.
9049 2005-01-21 Jackson Harper <jackson@ximian.com>
9051 * TabPage.cs: Add a new method so tab pages can force the tab
9052 control to recalculate the tab page sizes.
9053 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9056 2005-01-20 Jackson Harper <jackson@ximian.com>
9058 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9060 2005-01-20 Jackson Harper <jackson@ximian.com>
9062 * TreeView.cs: Set the bounds for nodes properly. They were
9063 getting screwed up when checkboxes were not enabled, but images
9066 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9069 - Owner draw support
9072 2005-01-20 Jackson Harper <jackson@ximian.com>
9074 * XplatUIStructs.cs: More misc keys
9075 * X11Keyboard.cs: Ignore some control keys.
9077 2005-01-20 Jackson Harper <jackson@ximian.com>
9079 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9080 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9082 2005-01-19 Peter Bartok <pbartok@novell.com>
9084 * Control.cs: Un-selecting the control when it is loosing focus
9086 2005-01-19 Jackson Harper <jackson@ximian.com>
9088 * TreeView.cs: Hook up to the text controls leave event so we can
9089 end editing when the users clicks outside the text box.
9091 2005-01-19 Jackson Harper <jackson@ximian.com>
9093 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9094 get set in the conversion array.
9096 2005-01-19 Peter Bartok <pbartok@novell.com>
9098 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9099 focus is properly set
9101 - Added missing attributes
9102 - removed styles, those are already set in the base class
9104 - Added missing attributes
9105 - Added clip window styles
9106 * CheckBox.cs: Added missing attributes
9108 - FormParentWindow.CreateParams: Added required clip styles
9109 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9110 also filters modifier keys
9112 - Added assignment of Accept and Cancel button to enable Enter
9113 and Esc keys in MessageBox dialogs
9114 - FormParentWindow.CreateParams: Added required clip styles
9115 * RadioButton.cs: Added missing attributes
9116 * TextControl.cs: No longer draws selection if control does not
9119 - Now draws simple rectangle around test area to make it obvious
9120 there's a control. This is a hack until we properly support borders
9121 - A few simple fixes to support selections better, now erases selected
9122 text when typing, and resets selection when using movement keys
9124 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9126 * UpDownBase.cs: Added some new properties.
9128 * DomainUpDown.cs: Implement a lot to get my test working.
9130 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9132 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9134 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9136 * OSXStructs (WindowAttributes): Fixed csc complaints
9138 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9141 OSXStructs.cs: Initial refactor to move enums and consts into
9142 OSXStructs and use them in the driver for greater readability.
9144 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9146 * XplatUIOSX.cs: Initial support for Standard Cursors.
9147 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9149 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9151 * ComboBox.cs: ability to change style when the ctrl is already
9152 created, missing methods and events, bug fixes, signature fixes
9154 2005-01-19 Peter Bartok <pbartok@novell.com>
9156 * Cursors.cs (ctor): Added ctor to fix signature
9158 2005-01-18 Peter Bartok <pbartok@novell.com>
9160 * Button.cs: Implemented DoubleClick event
9162 - Fixed keyboard handling to behave like MS, where the press of
9163 Spacebar is equivalent to a mousedown, and the key release is
9164 equivalent to mouseup. Now a spacebar push will give the same
9165 visual feedback like a mouse click.
9166 - Added missing attributes
9167 - Added ImeModeChanged event
9168 - Added support for generating DoubleClick event for derived classes
9170 - Implemented DoubleClick event
9171 - Added missing attributes
9172 * CommonDialog.cs: Added missing attribute
9173 * ContextMenu.cs: Added missing attributes
9175 - AutoChecked buttons do not allow to be unselected when clicked
9176 (otherwise we might end up with no selected buttons in a group)
9177 - Added missing attributes
9178 - Implemented DoubleClickEvent
9179 * ThreadExceptionDialog.cs: Enabled TextBox code
9181 2005-01-18 Peter Bartok <pbartok@novell.com>
9183 * Form.cs: Removed debug output
9184 * Button.cs: Added support for DoubleClick method
9186 2005-01-18 Peter Bartok <pbartok@novell.com>
9189 - Added method to parent window that allows triggering size
9190 calculations when a menu is added/removed
9191 - set_Menu: Cleaned up mess from early days of Form and Control,
9192 now properly triggers a recalc when a menu is added/removed
9193 - Added case to select form itself as focused form if no child
9195 - Added PerformLayout call when showing dialog, to ensure properly
9198 - Select(): Made internal so Form can access it
9199 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9201 * Application.cs (Run): Removed hack and calls PerformLayout instead
9202 to trigger calculation when Form becomes visible
9204 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9206 * ComboBox.cs: fixes for ownerdraw
9208 2005-01-18 Peter Bartok <pbartok@novell.com>
9211 - Sentinel is no longer static, each Document gets it's own, this
9212 avoids locking or alternatively overwrite problems when more
9213 than one text control is used simultaneously.
9214 - Switched to use Hilight and HilightText brushes for text selection
9216 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9218 2005-01-18 Peter Bartok <pbartok@novell.com>
9221 - Hooked up the following events:
9229 o SystemColorsChanged
9232 - Removed debug output
9233 - Added a call to the current theme's ResetDefaults when a color change
9235 * Form.cs: Now setting the proper ImeMode
9236 * Theme.cs: Defined a method to force recreation of cached resources
9237 and rereading of system defaults (ResetDefaults())
9238 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9240 2005-01-17 Peter Bartok <pbartok@novell.com>
9242 * Control.cs: Added missing attributes
9244 2005-01-17 Jackson Harper <jackson@ximian.com>
9246 * TreeNode.cs: Implement editing. Add missing properties selected
9248 * TreeView.cs: Implement node editing. Also some fixes to use
9249 Invalidate (invalid area) instead of Refresh when selecting.
9251 2005-01-17 Peter Bartok <pbartok@novell.com>
9254 - Implemented InvokeGotFocus() method
9255 - Implemented InvokeLostFocus() method
9256 - Implemented InvokePaint() method
9257 - Implemented InvokePaintBackground() method
9258 - Implemented InvokeClick() method
9259 - Implemented FindForm() method
9260 - Implemented RectangleToClient() method
9261 - Implemented ClientToRectangle() method
9262 - Implemented ResetBackColor() method
9263 - Implemented ResetCursor() method
9264 - Implemented ResetFont() method
9265 - Implemented ResteForeColor() method
9266 - Implemented ResetImeMode() method
9267 - Implemented ResetLeftToRight() method
9268 - Implemented ResetText() method
9269 - Implemented Scale() methods
9270 - Implemented ScaleCore() method
9271 - Implemented Update() method
9272 - Removed unused variables
9273 - Stubbed AccessibilityNotifyClients and
9274 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9276 - Now setting proper default for RightToLeft property
9277 - Fixed bug in SetClientSizeCore that would cause windows to get
9279 - Now sending Click/DoubleClick events
9280 - Now selecting controls when left mouse button is clicked on
9282 * AccessibleEvents.cs: Added
9283 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9284 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9285 * XplatUIWin32.cs: Implemented UpdateWindow() method
9286 * XplatUIX11.cs: Implemented UpdateWindow() method
9287 * Form.cs: Removed stray semicolon causing CS0162 warning
9288 * ThemeWin32Classic.cs: Fixed unused variable warnings
9289 * ScrollableControl.cs: Now calls base method for ScaleCore
9290 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9291 style to avoid interference with internal click handler (which is
9292 different than standard Control click handling)
9294 - Now unchecks all sibling radio buttons when control is
9295 selected (Fixes #68756)
9296 - Removed internal tabstop variable, using the one inherited from
9299 2005-01-17 Jackson Harper <jackson@ximian.com>
9301 * NavigateEventArgs.cs: Fix base type.
9302 * LinkLabel.cs: Sig fix
9304 2005-01-17 Jackson Harper <jackson@ximian.com>
9306 * TreeView.cs: Only invalidate the effected nodes bounds when
9309 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9311 * XplatUIWin32.cs: fixes Win32 marshaling
9312 * XplatUIX11.cs: fixes method signature
9314 2005-01-17 Peter Bartok <pbartok@novell.com>
9316 * XplatUIX11.cs: Clean up resources when we no longer need them
9318 2005-01-17 Peter Bartok <pbartok@novell.com>
9320 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9321 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9322 and DestroyCursor() methods.
9323 * Cursor.cs: Partially implemented, now supports standard cursors;
9324 still contains some debug code
9325 * Cursors.cs: Implemented class
9327 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9329 - Implemented Cursor property
9330 - Replaced break; with return; more straightforwar and possibly
9332 - Now properly setting the result for WM_HELP
9333 * X11Structs.cs: Added CursorFontShape enum
9334 * XplatUIStructs.cs:
9335 - Added StdCursor enum (to support DefineStdCursor() method)
9336 - Added HitTest enum (to support sending WM_SETCURSOR message)
9338 - Now sends the WM_SETCURSOR message
9339 - Implemented new cursor methods
9340 * XplatUIOSX.cs: Stubbed new cursor methods
9342 - Implemented new cursor methods
9343 - Added GetSystemMetrics function and associated enumeration
9345 2005-01-15 Peter Bartok <pbartok@novell.com>
9348 - WndProc(): Now handles EnableNotifyMessage
9349 - SelectNextControl(): Fixed bug where if no child or sibling
9350 controls exist we looped endlessly
9352 2005-01-14 Jackson Harper <jackson@ximian.com>
9354 * TreeView.cs: Recalculate the tab pages when a new one is added
9355 so that the proper bounding rects are created.
9357 2005-01-14 Jackson Harper <jackson@ximian.com>
9359 * TreeView.cs: Draw a gray box instead of a grip in the lower
9360 right hand corner when there are both horizontal and vertical
9363 2005-01-14 Jackson Harper <jackson@ximian.com>
9365 * Control.cs: When erasing backgrounds use FromHwnd instead of
9366 FromHdc when there is a NULL wparam. This occurs on the X driver.
9367 * XplatUIX11.cs: Set the wparam to NULL.
9369 2005-01-13 Jackson Harper <jackson@ximian.com>
9371 * PictureBox.cs: Implement missing methods (except ToString, need
9372 to test that on windows) and events. When visibility is changed we
9373 need to redraw the image because the buffers are killed. When size
9374 is changed refresh if the sizemode needs it.
9376 2005-01-13 Peter Bartok <pbartok@novell.com>
9378 * Control.cs (SelectNextControl): Was using wrong method to select
9381 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9383 * ComboBox.cs: fixes dropstyle
9385 2005-01-13 Peter Bartok <pbartok@novell.com>
9388 - Implemented Select() override
9389 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9390 - Now sets keyboard focus on startup
9391 * Control.cs (SelectNextControl): Now properly handles directed=true
9393 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9394 - Added (really bad) focus rectangle (mostly for testing)
9395 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9396 to enforce redraw on focus changes
9397 * ContainerControl.cs:
9398 - Fixed detection of Shift-Tab key presses
9399 - Fixed traversal with arrow keys
9400 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9401 gonna keep this or if it's complete yet
9403 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9405 * ComboBox.cs: missing properties, fixes
9407 2005-01-13 Peter Bartok <pbartok@novell.com>
9409 * Panel.cs (ctor): Setting Selectable window style to off
9410 * Splitter.cs (ctor): Setting Selectable window style to off
9411 * GroupBox.cs (ctor): Setting Selectable window style to off
9412 * Label.cs (ctor): Setting Selectable window style to off
9414 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9416 * UpDownBase.cs (InitTimer): If the timer has been already
9419 Use a TextBox instead of a Label.
9421 2005-01-12 Jackson Harper <jackson@ximian.com>
9423 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9424 draw the connecting node lines (when ShowLines is true).
9425 * TreeNode.cs: The nodes index can now be updated. This is used
9426 when a node collection is sorted.
9427 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9428 insert or an existing unsorted node collection can be sorted.
9430 2005-01-12 Peter Bartok <pbartok@novell.com>
9432 * ContainerControl.cs: Implemented ProcessDialogKeys()
9434 2005-01-12 Peter Bartok <pbartok@novell.com>
9437 - Implemented SelectNextControl() method
9438 - Several focus related bug fixes
9439 - Fixed Docking calculations to match MS documentation and
9442 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9444 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9447 2005-01-12 Peter Bartok <pbartok@novell.com>
9450 - Fixed broken Contains() method
9451 - Implemented GetNextControl() method. Finally. This is the pre-
9452 requisite for focus handling.
9454 2005-01-12 Peter Bartok <pbartok@novell.com>
9456 * OSXStrucs.cs: Added
9458 2005-01-12 Peter Bartok <pbartok@novell.com>
9461 - Removed PeekMessageFlags
9462 - Implemented SetWindowStyle() method
9463 * XplatUIStructs.cs: Added PeekMessageFlags
9464 * X11Structs: Added missing border_width field to XWindowChanges struct
9466 - PeekMessage: Now throws exception if flags which are not yet
9467 supported are passed
9468 - Implemented SetWindowStyle() method
9469 - Fixed SetZOrder to handle AfterHwnd properly
9470 * XplatUI.cs: Added SetWindowStyle() method
9471 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9473 - Implemented UpdateStyles() method
9474 - Implemented UpdateZOrder() method
9475 * XplatUIOSX.cs: Added SetWindowStyle() stub
9477 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9479 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9483 2005-01-11 Jackson Harper <jackson@ximian.com>
9485 * TreeView.cs: Still need to draw lines to siblings even if out of
9486 the current node is out of the clip.
9488 2005-01-11 Jackson Harper <jackson@ximian.com>
9490 * TreeView.cs: When setting the hbar/vbar/grip position use
9491 SetBounds so that perform layout is only called once. Also suspend
9492 and resume layout so layout is only done once for all controls.
9493 - Removed some debug fluff
9494 * SizeGrip.cs: Call base implmentation in overriding methods.
9495 - When visibility is changed the drawing buffers are killed so we
9498 2005-01-11 Jackson Harper <jackson@ximian.com>
9500 * TreeView.cs: Calculate the open node count while drawing. This
9501 saves us an entire tree traversal for every paint operation. Use
9502 a member var for the open node count so less vars are passed around.
9504 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9507 - fixed selection to use mousemove, not mouse polling on timer
9508 * ThemeWin32Classic.cs
9509 - removed redundant unused variable "no_more_content"
9511 2005-01-11 Peter Bartok <pbartok@novell.com>
9513 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9514 are pending, so it now calls PeekMessage instead of GetMessage;
9515 implemented a incomplete version of PeekMessage
9517 2005-01-11 Peter Bartok <pbartok@novell.com>
9519 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9521 * TextBoxBase.cs: Added sending of TextChanged event
9523 2005-01-10 Jackson Harper <jackson@ximian.com>
9525 * TreeView.cs: Try not to draw outside the clipping rectangle on
9528 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9530 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9532 2005-01-10 Jackson Harper <jackson@ximian.com>
9535 - Implement fast scrolling. Now only the newly
9536 exposed nodes are drawn and the old image is moved using the
9537 XplatUI::ScrollWindow method.
9538 - Factor in height of nodes when calculating whether or not the
9539 node is in the clipping rect.
9541 2005-01-10 Jackson Harper <jackson@ximian.com>
9543 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9545 2005-01-10 Peter Bartok <pbartok@novell.com>
9547 * Application.cs: Added temporary hack to resolve all our resize
9548 required issues on startup. This will get fixed properly at
9549 some point in the future
9551 2005-01-10 Jackson Harper <jackson@ximian.com>
9553 * SizeGrip.cs: New internal class that is used as a sizing
9554 grip control...hence the name.
9556 2005-01-10 Peter Bartok <pbartok@novell.com>
9558 * Control.cs: Implemented proper TabIndex handling, now assigning
9559 a tabindex when a control is added to a container
9560 * GroupBox.cs (ctor): Now sets the Container style bit, required
9561 for Control.GetNextControl()
9563 2005-01-09 Jackson Harper <jackson@ximian.com>
9565 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9567 2005-01-09 Peter Bartok <pbartok@novell.com>
9569 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9570 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9571 an overload for ScrollWindow to allow only scrolling a rectangle
9573 2005-01-09 Peter Bartok <pbartok@novell.com>
9576 - Implemented SetDesktopBounds method
9577 - Implemented SetDesktopLocation method
9579 2005-01-08 Jackson Harper <jackson@ximian.com>
9581 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9582 the node count has changed, this removes to VScroll::Refresh calls
9585 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9587 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9589 2005-01-07 Jackson Harper <jackson@ximian.com>
9591 * TreeNode.cs: Just update the single node when it is
9592 checked. Don't refresh after toggling, the Expand/Collapse already
9594 * TreeView.cs: Respect clipping a little more when drawing. Try
9595 not to redraw things that don't need to be redrawn. Just hide the
9596 scrollbars when they are no longer needed instead of removing
9597 them, so they don't have to be created again and again.
9599 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9601 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9602 coordinates to window space to place the caret properly, FIXED.
9603 Implement GetWindowState & SetWindowState
9605 2005-01-06 Peter Bartok <pbartok@novell.com>
9608 - Implemented ClientSize property
9609 - Implemented DesktopBounds property
9610 - Implemented DesktopLocation property
9611 - Implemented IsRestrictedWindow property
9612 - Implemented Size property
9613 - Implemented TopLevel property
9614 - Implemented FormWindowState property
9616 - Implemented GetTopLevel() method
9617 - Implemented SetTopLevel() method
9618 * X11Structs.cs (Atom):
9619 - Added AnyPropertyType definition
9620 - Added MapState definiton and updated XWindowAttribute struct
9621 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9622 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9623 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9625 - Implemented GetWindowState() and SetWindowState() methods
9626 - Fixed Win32GetWindowLong return type
9628 - Introduced central function for sending NET_WM messages
9629 - Implemented GetWindowState() and SetWindowState() methods
9630 * TextBoxBase.cs (set_Lines):
9631 - Now uses Foreground color for text added via Text property (Duh!)
9632 - Added code to remember programmatically requested size (fixes
9633 behaviour when Multiline is set after Size)
9634 - Added AutoSize logic
9636 2005-01-06 Jackson Harper <jackson@ximian.com>
9638 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9640 2005-01-06 Jackson Harper <jackson@ximian.com>
9642 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9645 2005-01-06 Jackson Harper <jackson@ximian.com>
9647 * ScrollableControl.cs: Lazy init the scrollbars.
9649 2005-01-06 Jackson Harper <jackson@ximian.com>
9651 * Theme.cs: Speed up getting pens and solid brushes, by using
9652 their ARGB as a hash instead of tostring and not calling Contains.
9654 2005-01-06 Peter Bartok <pbartok@novell.com>
9657 - Implemented OnActivated and OnDeactivate event trigger
9658 - Implemented Activate() method
9659 - Fixed ShowDialog() to activate the form that was active before
9660 the dialog was shown
9662 - Added global active_window var that tracks the currently active
9664 - Now always grabs Property changes from the root window to always
9665 catch changes on the active window property
9666 - Added code to PropertyNotify handler to send Active/Inactive
9667 messages when state changes. This puts X11 and Win32 en par on
9668 WM_ACTIVATE notifications (except for double notifications when
9669 the user clicks away from our modal window to another one of our
9672 2005-01-05 Jackson Harper <jackson@ximian.com>
9674 * ImageList.cs: Implment ctor
9676 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9678 * XplatUIOSX.cs: Implement Activate/SetTopmost
9680 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9682 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9684 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9686 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9688 2005-01-05 Peter Bartok <pbartok@novell.com>
9690 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9691 XplatUIOSX.cs: Added GetActive method to return the currently
9692 active window for the application (or null, if none is active)
9694 - Implemented ActiveForm
9695 - Commented out owner assignment for modal dialogs (causes problems
9696 on Win32, since the owner will be disabled)
9697 - Reworked some Active/Focus handling (still incomplete)
9698 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9699 (causes problems on Win32, since the owner will be disabled)
9700 * IWin32Window: Added ComVisible attribute
9702 2005-01-05 Peter Bartok <pbartok@novell.com>
9704 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9705 required XplatUI functions.
9707 2005-01-05 Peter Bartok <pbartok@novell.com>
9709 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9710 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9711 to implement focus and activation handling; still incomplete and
9714 2005-01-04 Peter Bartok <pbartok@novell.com>
9716 * TextBoxBase.cs: Changed access level for Document property to
9717 match switch to internal for TextControl
9719 2005-01-04 Peter Bartok <pbartok@novell.com>
9721 * AccessibleObject: Added ComVisible attribute
9723 2005-01-04 Jackson Harper <jackson@ximian.com>
9725 * X11Keyboard.cs: Remove unneeded var.
9727 2005-01-04 Jackson Harper <jackson@ximian.com>
9729 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9731 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9732 ClientMessage. This makes apps exit cleanly (more often).
9734 2005-01-04 Jackson Harper <jackson@ximian.com>
9736 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9737 handling focus, return correct colors and fonts,
9738 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9739 handle selection, horizontal scrolling, and mouse interaction.
9741 2005-01-04 Peter Bartok <pbartok@novell.com>
9743 * ICommandExecutor.cs: Added
9744 * IDataGridColumnStyleEditingNotificationService.cs: Added
9745 * IFeatureSupport.cs: Added
9746 * IFileReaderService.cs: Added
9747 * IDataObject.cs: Added ComVisible attribute
9748 * AmbientProperties.cs: Added
9749 * BaseCollection.cs: Added missing attributes
9750 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9751 * BaseCollection.cs: Added missing attributes
9752 * Binding.cs: Added TypeConverter attribute
9753 * BindingContext.cs: Added DefaultEvent attribute
9754 * BindingsCollection.cs: Added DefaultEvent attribute
9755 * Button.cs: Added DefaultValue attribute
9756 * DragEventArgs.cs: Added ComVisible attribute
9757 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9758 * KeyEventArgs.cs: Added ComVisible attribute
9759 * KeyPressEventArgs.cs: Added ComVisible attribute
9760 * MouseEventArgs.cs: Added ComVisible attribute
9761 * NavigateEventArgs.cs: Added
9762 * NavigateEventHandler.cs: Added
9763 * FeatureSupport.cs: Added
9764 * OSFeature.cs: Added
9765 * Theme.cs: Added abstract Version property to support OSFeature
9766 * ThemeWin32Classic.cs: Added Version property to
9767 support OSFeature.Themes
9768 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9769 the proper styles to avoid background drawing are set, also doesn't
9771 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9772 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9773 * ScrollEventArgs.cs: Added ComVisible attribute
9774 * SplitterEventArgs.cs: Added ComVisible attribute
9775 * AccessibleSelection.cs: Added Flags attribute
9776 * Appearance.cs: Added ComVisible attribute
9777 * Border3DSide.cs: Added ComVisible attribute
9778 * Border3DStyle.cs: Added ComVisible attribute
9779 * BorderStyle.cs: Added ComVisible attribute
9780 * DragAction.cs: Added ComVisible attribute
9781 * ErrorBlinkStyle.cs: Added
9782 * ScrollEventType.cs: Added ComVisible attribute
9783 * AnchorStyles.cs: Added Editor attribute
9784 * DockStyle.cs: Added Editor attribute
9785 * HorizontalAlignment.cs: Added ComVisible attribute
9786 * HelpEventArgs.cs: Added ComVisible attribute
9787 * PaintEventArgs.cs: Added IDisposable
9789 2005-01-04 Peter Bartok <pbartok@novell.com>
9791 * TextControl.cs: Switched Line, LineTag and Document classes to
9794 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9796 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9797 Simple mode, fixes, IntegralHeight, etc.
9799 2005-01-04 Peter Bartok <pbartok@novell.com>
9801 * TextBoxBase.cs: Using proper font variable now
9803 2005-01-04 Peter Bartok <pbartok@novell.com>
9805 * Form.cs (ShowDialog): Set parent to owner, if provided
9806 * GroupBox.cs: Removed unused vars
9808 - Added GetHashCode() for Document and LineTag classes
9809 - Removed unused variables
9810 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9811 to allow translation between continuous char position and line/pos
9812 * CheckBox.cs: Removed vars that are provided by base class
9813 * RadioButton.cs: Removed vars that are provided by base class, added
9814 new keyword where required
9815 * LinkLabel.cs: Added new keyword where required
9816 * Control.cs (WndProc): Removed unused variable
9818 - Finished SelectionLength property
9819 - Implemented SelectionStart property
9820 - Implemented Text property
9821 - Removed unused vars
9822 * MessageBox.cs: Added new keyword where required
9823 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9825 * MenuAPI.cs: Added new keyword where required
9826 * ButtonBase.cs: Removed vars that are provided by base class, added
9827 new keyword where required
9828 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9829 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9831 * Application.cs (Run): Now triggers the ThreadExit event
9832 * CommonDialog.cs: Added new keyword where required; now properly sets
9833 parent (owner) for dialog
9834 * XplatUIX11.cs: Commented out unused vars
9835 * StatusBar.cs: Fixed signature for Text property
9836 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9838 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9840 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9841 TrackBar.cs, MonthCalendar.cs: remove unused vars
9843 2005-01-03 Jackson Harper <jackson@ximian.com>
9845 * ThemeWin32Classic.cs:
9846 * X11Keyboard.cs: Remove unused vars.
9848 2005-01-03 Peter Bartok <pbartok@novell.com>
9851 - set_Text: Tied into TextControl
9852 - set_TextAlignment: Tied into TextControl
9854 - Added alignment properties and implemented alignment handling
9855 and drawing (still has a bug, not generating proper expose events)
9856 - Added new Line() constructor to allow passing the line alignment
9857 - Fixed selection setting, properly handling end<start now
9858 - Added aligment considerations to RecalculateDocument()
9860 - Now properly enforces control height for single line controls
9861 - Added support for CharacterCasing
9862 - Added IsInputKey override
9863 - Fixed Keys.Enter logic
9864 - Added SetBoundsCore override
9865 - Fixed mouse selection handling
9867 2005-01-03 Jackson Harper <jackson@ximian.com>
9870 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9871 - Checkboxes are always aligned to the bottom of the node,
9872 regardless of item height.
9873 - Use the node bounds to draw the text so we can center it when
9874 the item height is greater then the font height.
9875 - Node::Bounds are only the text part of the node.
9876 * TreeNode.cs: New method to combine collapsing and unchecking all
9879 2005-01-02 Jackson Harper <jackson@ximian.com>
9881 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9882 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9883 tree when a check is changed. TODO: Only refresh the checked node.
9885 2004-12-30 Jackson Harper <jackson@ximian.com>
9887 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9888 * TreeNode.cs: When collapsing make sure to never collapse the
9891 2004-12-29 Jackson Harper <jackson@ximian.com>
9893 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9895 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
9897 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9899 2004-12-28 Peter Bartok <pbartok@novell.com>
9901 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9904 2004-12-28 Peter Bartok <pbartok@novell.com>
9906 * Control.cs (WndProc): Added WM_HELP handler, now generates
9908 * Form.cs: Added HelpButton property and required support code
9909 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9911 2004-12-28 Peter Bartok <pbartok@novell.com>
9914 - Made DialogForm.owner variable internal
9915 - Added check to ensure owner form is set before setting
9916 owner properties in CreateParams
9918 2004-12-28 Geoff Norton <gnorton@customerdna.com>
9920 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
9921 swizzling. Implement ClientToScreen and ScreenToClient. Implement
9922 GetCursorPos. Fix major visibility issues. Rework the windowing
9923 system to support borderless/titleless windows (implements menus).
9924 Fix GetWindowPos. Implement initial background color support for
9927 2004-12-28 Peter Bartok <pbartok@novell.com>
9929 * Form.cs (get_CreateParams): Make sure we have an owner before using
9930 the owner variable. Implement proper default if no owner exists
9932 2004-12-28 Peter Bartok <pbartok@novell.com>
9934 * In preparation for making Managed.Windows.Forms the default build target
9935 for System.Windows.Forms, the following stubbed files were added.
9936 Dialogs are currently being implemented by contributors and are only
9937 short-term place holders.
9938 * ColorDialog.cs: Initial check-in (minmal stub)
9939 * DataGrid.cs: Initial check-in (minimal stub)
9940 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9941 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9942 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9943 * FontDialog.cs: Initial check-in (minimal stub)
9944 * FileDialog.cs: Initial check-in (minimal stub)
9945 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9946 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9947 * OpenFileDialog: Initial check-in (minimal stub)
9948 * IComponentEditorPageSite.cs: Initial check-in
9949 * Splitter.cs: Initial check-in (for Jackson)
9950 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9951 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9952 * TextBox.cs: Initial check-in; still needs some wiring to
9954 * Form.cs: Implemented ControlBox property
9955 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9956 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9957 * TextControl.cs: Added selection functionality; added todo header
9959 - Implemented Lines property
9960 - Implemented TextHeight property
9961 - Implemented SelectedText property
9962 - Implemented SelectionLength property
9963 - Implemented SelectAll method
9964 - Implemented ToString method
9965 - Removed and cleaned up some debug code
9966 - Implemented (still buggy) mouse text selection
9968 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9970 * ComboBox.cs: Complete DropDownList implementation, fixes.
9972 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9974 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9975 * ComboBoxStyle.cs: ComboBoxStyle enum
9976 * ComboBox.cs: Initial work on ComboBox control
9978 2004-12-21 Peter Bartok <pbartok@novell.com>
9980 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9981 forward so that anything that creates a window gets the default,
9982 also no longer uses Visible property in CreateParams to avoid
9983 walking up the parent chain and possibly get the wrong visible
9984 status. Fixed IsVisible to no longer walk up to the parent.
9986 2004-12-21 Peter Bartok <pbartok@novell.com>
9988 * Form.cs (ShowDialog): Unset modality for the proper window
9990 2004-12-20 Peter Bartok <pbartok@novell.com>
9992 * CommonDialog.cs: Initial check-in
9994 2004-12-20 Peter Bartok <pbartok@novell.com>
9996 * Control.cs (Visible): Now uses the parent window instead of the
9997 client area window for the property
10000 - ShowDialog(): Now uses the proper window for modality
10001 - The default visibility state for the form parent is now false. This
10002 will prevent the user from seeing all the changes to the form and
10003 its controls before the application hits Application.Run()
10004 - Removed some stale commented out code
10007 - Added FindWindow() method to have a method to check for existence
10009 - Added ability to override default exception handling (for example
10010 when debugging with VS.Net; to do this the ExternalExceptionHandler
10012 - Removed some useless debug output
10015 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10016 not working as expected
10017 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10018 property to allow switching back to the modal window if focus is
10019 given to another one of our windows (Application Modal)
10020 - Now only sets override_redirect if we create a window
10022 - Moved EventMask selection before mapping of newly created window
10023 so we can catch the map event as well
10024 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10025 - Added various Atom related DllImports
10026 - Implemented Exit() method
10027 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10028 in the CreateParams
10030 * MessageBox.cs: Now properly deals with the FormParent window by
10031 providing an override the FormParent CreateParams property to
10032 set as POPUP instead of OVERLAPPED window.
10034 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10036 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10037 Minor code cleanup.
10039 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10041 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10043 2004-12-18 Peter Bartok <pbartok@novell.com>
10045 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10046 implementing SetModal() method
10048 2004-12-18 Peter Bartok <pbartok@novell.com>
10050 * X11Structs.cs (XGCValues): Fixed type of function element
10051 * XplatUI.cs: Added ScrollWindow() method
10052 * XplatUIDriver.cs: Added ScrollWindow() abstract
10053 * XplatUIWin32.cs: Implemented ScrollWindow() method
10054 * XplatUIX11.cs: Implemented ScrollWindow() method
10055 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10057 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10059 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10060 Some more keyboard support (INCOMPLETE)
10062 2004-12-17 Peter Bartok <pbartok@novell.com>
10065 - Added color attribute to line tags.
10066 - Added color argument to all functions dealing with tags
10067 - Added color argument support to various functions
10068 - Fixed miss-calculation of baseline/shift in certain circumstances
10070 * TextBoxBase.cs: Added new color option to test code
10072 2004-12-17 Jackson Harper <jackson@ximian.com>
10075 * MonthCalendar.cs: Signature fixes
10077 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10079 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10080 keyboard event moved it. Create a new graphics context for each paint resolves this
10082 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10084 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10085 Make caret exist and go blink blink. Initial keyboard support.
10086 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10089 2004-12-17 Jackson Harper <jackson@ximian.com>
10091 * XplatUIStructs.cs: Updated set of virtual keycodes.
10092 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10094 2004-12-17 Jackson Harper <jackson@ximian.com>
10096 * XplatUIX11.cs: Prune old keyboard code.
10098 2004-12-17 Jackson Harper <jackson@ximian.com>
10100 * XplatUIX11.cs: When generating mouse wparams get the modifier
10101 keys from the ModifierKeys property.
10103 2004-12-17 Jackson Harper <jackson@ximian.com>
10105 * X11Keyboard.cs: Send up/down input when generating
10106 messages. Remove some unused vars.
10108 2004-12-17 Jackson Harper <jackson@ximian.com>
10111 * TreeView.cs: get rid of warnings.
10113 2004-12-17 Jackson Harper <jackson@ximian.com>
10115 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10117 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10119 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10120 CheckedListBox.cs: Implementation
10122 2004-12-17 Peter Bartok <pbartok@novell.com>
10124 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10126 2004-12-16 Peter Bartok <pbartok@novell.com>
10129 - InsertCharAtCaret(): Fixed start pos fixup
10130 - CaretLine_get: No longer derives the line from the tag, the tag
10131 could be stale if lines in the document have been added or deleted
10132 - RebalanceAfterDelete(): Fixed bug in balancing code
10133 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10134 - Line.Streamline(): Now can also elminate leading empty tags
10135 - DumpTree(): Added a few more tests and prevented exception on
10137 - Added Debug section for Combining lines
10138 - Delete(): Now copies all remaining properties of a line
10141 - Left mousebutton now sets the caret (and middle button still acts
10142 as formatting tester, which must go away soon)
10143 - Added Debug section for Deleting/Combining lines
10144 - Fixed calculations for UpdateView after Combining lines
10146 2004-12-16 Peter Bartok <pbartok@novell.com>
10148 * TextControl.cs: Now properly aligns text on a baseline, using the
10149 new XplatUI.GetFontMetrics() method. Simplified several calculations
10150 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10153 2004-12-16 Peter Bartok <pbartok@novell.com>
10155 * XplatUI.cs: Added GetFontMetrics() method
10156 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10157 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10158 into libgdiplus, our private GetFontMetrics function
10159 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10160 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10162 2004-12-16 Jackson Harper <jackson@ximain.com>
10164 * XplatUIStruct.cs: Add enum for dead keys
10165 * X11Keyboard.cs: Map and unmap dead keys.
10167 2004-12-16 Jackson Harper <jackson@ximian.com>
10169 * X11Keyboard.cs: Detect and use the num lock mask.
10171 2004-12-16 Peter Bartok <pbartok@novell.com>
10173 * Control.cs (CreateGraphics): Added check to make sure the
10174 handle of the window exists before calling Graphics.FromHwnd()
10176 2004-12-16 Peter Bartok <pbartok@novell.com>
10178 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10179 contains a lot of code that's not supposed to be there for the
10180 real thing, but required for developing/testing the textbox
10183 2004-12-16 Peter Bartok <pbartok@novell.com>
10186 - Fixed Streamline method
10187 - Added FindTag method to Line
10188 - Added DumpTree method for debugging
10189 - Added DecrementLines() method for deleting lines
10190 - Fixed UpdateView to update the cursor to end-of-line on single-line
10192 - Added PositionCaret() method
10193 - Fixed MoveCaret(LineDown) to move into the last line, too
10194 - Added InsertChar overload
10195 - Fixed InsertChar tag offset calculations
10196 - Added DeleteChar() method
10197 - Added Combine() method for folding lines
10198 - Fixed Delete() method, no longer allocates wasted Line object and
10199 now copies all properties when swapping nodes
10200 - Delete() method now updates document line counter
10202 2004-12-15 Jackson Harper <jackson@ximian.com>
10204 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10205 * X11Keyboard.cs: Expose the currently selected modifier keys
10206 through a property.
10208 2004-12-15 Peter Bartok <pbartok@novell.com>
10210 * TextControl.cs: Initial check-in. Still incomplete
10212 2004-12-15 Jackson Harper <jackson@ximian.com>
10215 * TreeView.cs: Fix build on csc (second time today ;-))
10217 2004-12-15 Jackson Harper <jackson@ximian.com>
10219 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10220 is calculated and use this for click testing.
10221 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10223 2004-12-15 Jackson Harper <jackson@ximian.com>
10225 * TreeView.cs: Pass the nodes image index to the image list when
10226 drawing that image.
10228 2004-12-15 Jackson Harper <jackson@ximian.com>
10230 * X11Keyboard.cs: Set messages hwnd.
10231 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10232 post_message calls.
10234 2004-12-15 Jackson Harper <jackson@ximian.com>
10236 * X11Keyboard.cs: Fix to compile with csc.
10238 2004-12-15 Jackson Harper <jackson@ximian.com>
10240 * X11Structs.cs: Add key mask values
10241 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10242 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10243 down/up foo into WM_CHAR foo
10244 * KeyboardLayouts.cs: Common keyboard layouts
10245 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10246 post messages into the main queue.
10248 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10250 * Button.cs: implement ProcessMnemonic
10251 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10253 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10254 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10256 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10258 * MonthCalendar.cs: Implemented click-hold for next/previous month
10261 2004-12-11 Peter Bartok <pbartok@novell.com>
10264 - Added XKeyboardState (moved from XplatUIX11.cs)
10265 - Added XCreateGC related enums and structures
10266 - Added GXFunction for XSetFunction
10268 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10270 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10271 CaretVisible() calls
10273 * ToolTip.cs: Added code to prevent stealing focus from app windows
10275 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10276 DestroyCaret, SetCaretPos and CaretVisible)
10279 - Added implementation for caret functions
10280 - Moved hover variables into a struct, to make it a bit easier
10281 on the eyes and to debug
10282 - Removed XKeyboardState (moved to XplatUIX11.cs)
10283 - Moved Keyboard properties into the properties region
10285 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10286 call to get a graphics context for our control
10288 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10290 * TreeView.cs: Fixed bug. No matter what color was set it would always
10291 return SystemColors.Window
10293 * XplatUIWin32.cs: Implemented caret overrides
10295 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10297 * ListBox.cs: fire events, implement missing methods and properties,
10300 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10302 * MonthCalendar.cs: invalidation bug fixing
10303 * ThemeWin32Classic.cs: paint fixing
10305 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10307 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10308 prepare the CGContextRef there now.
10310 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10312 * MonthCalendar.cs:
10313 - optimisationL only invalidate areas that have changed
10314 * ThemeWin32Classic.cs:
10315 - only paint parts that intersect with clip_area
10317 2004-12-09 Peter Bartok <pbartok@novell.com>
10319 * Application.cs: Undid changes from r37004 which cause problems
10322 2004-12-09 Ravindra <rkumar@novell.com>
10324 * ToolBar.cs: Added support for displaying ContextMenu
10325 attached to a button on ToolBar.
10326 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10329 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10331 * Label.cs: autosize works in text change and removes unnecessary
10334 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10336 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10339 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10341 * XplatUIOSX.cs: Added mouse move/click/grab support
10342 Remove some debugging WriteLines not needed anymore.
10343 Add window resizing/positioning.
10344 Fix visibility on reparenting.
10346 2004-12-08 Peter Bartok <pbartok@novell.com>
10348 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10350 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10352 * XplatUIOSX.cs: Initial checkin
10353 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10355 2004-12-03 Ravindra <rkumar@novell.com>
10357 * ListView.cs: Added some keybindings and fixed scrolling.
10358 ScrollBars listen to ValueChanged event instead of Scroll
10359 Event. This would let us take care of all changes being
10360 done in the scrollbars' values programmatically or manually.
10361 * ListView.cs (CanMultiselect): Added a check for shift key.
10362 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10363 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10364 of ListViewSubItemCollection as well.
10366 2004-12-06 Peter Bartok <pbartok@novell.com>
10368 * Control.cs (Parent): Added check and exception to prevent
10371 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10373 * ListBox.cs: implemented clipping, selection single and multiple,
10376 2004-12-03 Ravindra <rkumar@novell.com>
10378 * ListView.cs (ListView_KeyDown):
10379 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10380 when CTRL key is pressed.
10381 * ListViewItem.cs (Selected): Fixed setting the property.
10383 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10385 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10387 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10388 MinimizeBox, ShowInTaskbar, TopMost properties.
10390 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10391 will be implemented).
10393 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10395 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10397 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10400 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10402 * TreeView.cs: BackColor is Colors.Window.
10404 2004-12-01 Jackson Harper <jackson@ximian.com>
10406 * TreeView.cs: When resizing the tree if the user is making it
10407 smaller we don't get expose events, so we need to handle adding
10408 the horizontal scrollbar in the size changed handler as well as
10409 the expose handler.
10411 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10413 * DrawItemState.cs: fixes wrong enum values
10415 2004-12-01 Jackson Harper <jackson@ximian.com>
10417 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10419 2004-12-01 Jackson Harper <jackson@ximian.com>
10421 * NodeLabelEditEventArgs.cs:
10422 * NodeLabelEditEventHandler.cs:
10423 * OpenTreeNodeEnumerator.cs:
10425 * TreeNodeCollection.cs:
10427 * TreeViewAction.cs:
10428 * TreeViewCancelEventArgs.cs:
10429 * TreeViewCancelEventHandler.cs:
10430 * TreeViewEventArgs.cs:
10431 * TreeViewEventHandler.cs: Initial implementation.
10433 2004-12-01 Ravindra <rkumar@novell.com>
10435 * ListView.cs (CalculateListView): Fixed scrolling related
10436 calculations. Also, removed some debug statements from other
10438 * ListViewItem.cs: Changed access to 'selected' instance variable
10439 from private to internal.
10440 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10442 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10444 * ThemeWin32Classic.cs: remove cache of brush and pens for
10445 specific controls and use the global system, fixes scrollbutton
10446 bugs (for small sizes, disabled, etc)
10448 * ScrollBar.cs: does not show the thumb for very small controls
10449 (as MS) and allow smaller buttons that the regular size
10451 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10453 * UpDownBase.cs: Add abstract methods for the interface.
10454 Add new virtual methods (need to be hooked up to TextEntry when it
10456 Add override methods for most features.
10457 Computes the size, forces the height of the text entry.
10459 * NumericUpDown.cs: Put here the current testing code.
10461 * Set eol-style property on all files that do not have mixed line
10462 endings, to minimize the future problems. There are still a few
10463 files with mixed endings, and someone should choose whether they
10464 want to move it or not.
10466 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10468 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10471 2004-11-30 Ravindra <rkumar@novell.com>
10473 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10474 drawing and replaced use of SystemColors by theme colors.
10475 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10476 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10477 same ListViewItem is being added more than once.
10479 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10481 * MonthCalendar.cs:
10482 - ControlStyles love to make the control not flicker
10484 2004-11-30 Peter Bartok <pbartok@novell.com>
10486 * CharacterCasing.cs: Added
10488 2004-11-29 Peter Bartok <pbartok@novell.com>
10490 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10491 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10492 I am removing these files as they conflict with already completed
10493 work. While it is fantastic to get contributions to MWF, I
10494 respectfully ask that everyone please coordinate their contributions
10495 through mono-winforms-list or #mono-winforms at this time. We're
10496 explicitly avoiding stubbing and don't want controls that don't have
10497 their basic functionality implemented in svn. Please also see
10498 http://www.mono-project.com/contributing/winforms.html
10501 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10503 * Application.cs (ModalRun): Don't hang after exit.
10505 * Theme.cs: New TreeViewDefaultSize property.
10507 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10508 with less hardcoded SystemColors constant.
10509 Implemented TreeViewDefaultSize.
10511 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10512 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10515 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10517 * MonthCalendar.cs:
10518 - Fix NextMonthDate and PrevMonthDate click moving calendar
10520 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10522 * MonthCalendar.cs:
10523 - Fix usage of ScrollChange Property when scrolling months
10525 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10527 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10528 - Fixes menu destroying
10529 - Support adding and removing items on already created menus
10531 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10533 * MonthCalendar.cs:
10534 - Re-worked all bolded dates handling to match win32
10535 * ThemeWin32Classic.cs:
10536 - Fixed rendering with bolded dates
10538 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10540 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10541 - Horizontal scroolbar
10546 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10548 * MonthCalendar.cs:
10549 - Fix Usage of MaxSelectionCount from SelectionRange
10550 - Fixed Shift + Cursor Selection
10551 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10552 - Fixed normal cursor selection to be compat with win32
10553 - Fixed Shift + Mouse Click selection
10555 2004-11-24 Peter Bartok <pbartok@novell.com>
10557 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10558 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10560 - CreatedKeyBoardMsg now updates keystate with Alt key
10561 - Added workaround for timer crash to CheckTimers, Jackson will
10562 develop a proper fix and check in later
10563 - Implemented DispatchMessage
10564 - Removed calling the native window proc from GetMessage (call
10565 now moved to DispatchMessage)
10567 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10568 the keydata (Fixes bug #69831)
10571 - (DispatchMessage): Switched to return IntPtr
10572 - Added DllImport for SetFocus
10574 2004-11-24 Ravindra <rkumar@novell.com>
10576 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10577 background drawing.
10578 * ListViewItem.cs: Fixed various properties, calculations
10579 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10580 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10581 and some internal properties. Fixed MouseDown handler and Paint
10584 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10586 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10588 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10590 * ContainerControl.cs: correct accidental check in of local changes
10592 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10594 * ThemeWin32Classic.cs:
10595 - Fixed Drawing Last month in grid (sometimes not showing)
10596 * MonthCalendar.cs:
10597 - Fixed title width calculation bug (makeing title small)
10599 2004-11-23 Peter Bartok <pbartok@novell.com>
10602 - Added generation of WM_MOUSEHOVER event
10603 - Added missing assignment of async_method atom
10604 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10606 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10608 * ThemeWin32Classic.cs:
10609 - Fixed Drawing of today circle when showtodaycircle not set
10610 - fixed drawing of first and last month in the grid (gay dates)
10611 * MonthCalendar.cs:
10612 - Fixed Drawing of today circle
10613 - Fixed drawing of grady dates
10614 - Fixed HitTest for today link when ShowToday set to false
10615 - Fixed DefaultSize to obey ShowToday
10617 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10619 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10620 * System.Windows.Forms/Theme.cs
10621 * MonthCalendar.cs: added for MonthCalendar
10622 * SelectionRange.cs: added for MonthCalendar
10623 * Day.cs: added for MonthCalendar: added for MonthCalendar
10624 * DateRangeEventArgs.cs: added for MonthCalendar
10625 * DateRangeEventHandler.cs: added for MonthCalendar
10627 2004-11-22 Ravindra <rkumar@novell.com>
10629 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10632 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10634 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10637 * NumericUpDown.cs: Added new implementation.
10638 * UpDownBase.cs: Added new implementation.
10640 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10643 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10646 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10649 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10651 * Timer.cs (Dispose): Should call the base dispose when
10654 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10656 * ScrollBar.cs: updates thumb position when max, min or increment
10659 2004-11-21 Ravindra <rkumar@novell.com>
10661 * ListView.cs: Implemented item selection, activation and
10662 column header style. Fixed properties to do a redraw, if
10663 required. Added support for MouseHover, DoubleClick, KeyDown
10664 and KeyUp event handling and some minor fixes.
10665 * ListViewItem.cs: Fixed constructor.
10666 * ThemeWin32Classic.cs: Improved drawing for ListView.
10668 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10670 * ThemeWin32Classic.cs: initial listbox drawing code
10671 * DrawMode.cs: new enumerator
10672 * ListControl.cs: stubbed class
10673 * ListBox.cs: initial implementation
10674 * Theme.cs: new methods definitions
10675 * SelectionMode.cs: new enumerator
10677 2004-11-17 Peter Bartok <pbartok@novell.com>
10679 * XplatUIWin32.cs: Added double-click events to the class style
10680 * Control.cs (WndProc):
10681 - Added handling of click-count to MouseDown/ MouseUp events.
10682 - Added handling of middle and right mouse buttons
10683 - Removed old debug code
10685 2004-11-17 Jackson Harper <jackson@ximian.com>
10687 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10689 2004-11-17 Ravindra <rkumar@novell.com>
10691 * ListView.cs: Added event handling for MouseMove/Up/Down.
10692 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10693 * ThemeWin32Classic.cs: We need to clear the graphics context and
10694 draw column header in a proper state.
10697 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10699 * Menu.cs: fixes signature
10701 2004-11-16 Peter Bartok <pbartok@novell.com>
10703 * XplatUIX11.cs (GetMessage): Implemented generation of
10704 double click mouse messages
10706 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10708 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10711 2004-11-11 Peter Bartok <pbartok@novell.com>
10713 * HandleData.cs: Added Visible property
10714 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10716 * XplatUIX11.cs: Removed old debug leftovers
10717 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10718 * Control.cs (WndProc): Removed old debug leftovers,
10719 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10720 needed WM_SIZE handling
10722 2004-11-11 Jackson Harper <jackson@ximian.com>
10724 * OwnerDrawPropertyBag.cs:
10725 * TreeViewImageIndexConverter.cs: Initial implementation
10727 2004-11-10 Jackson Harper <jackson@ximian.com>
10729 * ThemeWin32Classic.cs:
10730 * TabControl.cs: instead of moving tabs by the slider pos just
10731 start drawing at the tab that is offset by the slider. This way
10732 scrolling always moves by exactly one tab.
10734 2004-11-10 Jackson Harper <jackson@ximian.com>
10736 * TabControl.cs: You can only scroll left when the slider has
10737 already ben moved right.
10739 2004-11-10 Jackson Harper <jackson@ximian.com>
10741 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10744 2004-11-10 Jackson Harper <jackson@ximian.com>
10746 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10749 2004-11-09 Jackson Harper <jackson@ximian.com>
10751 * TabControl.cs (CalcXPos): New helper method so we can determine
10752 the proper place to start drawing vertical tabs.
10753 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10755 2004-11-09 Jackson Harper <jackson@ximian.com>
10757 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10758 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10759 and Bottom, left and right are illegal values for this and
10760 multiline is enabled when the alignment is set to left or right.
10761 (DrawTab): Each alignment block should draw the text itself now
10762 because Left requires special love. Also add rendering for Left
10765 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10767 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10768 does not destroy the windows, removes debugging messages
10770 2004-11-09 jba <jba-mono@optusnet.com.au>
10772 * ThemeWin32Classic.cs
10773 (DrawButtonBase): Fix verticle text rect clipping in windows
10774 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10775 rendering and incorrect text rect clipping
10776 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10777 rendering and incorrect text rect clipping
10779 2004-11-08 Jackson Harper <jackson@ximian.com>
10781 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10782 bottom when they are bottom aligned so the bottoms of the tabs get
10784 * TabControl.cs (DropRow): Move rows up instead of down when the
10785 tab control is bottom aligned.
10787 2004-11-08 13:59 pbartok
10790 - Added handling for various window styles
10791 - Added handling for popup windows
10792 - Added SetTopmost handling
10794 2004-11-08 13:55 pbartok
10797 - Added argument to SetTopmost method
10798 - Fixed broken ClientToScreen function
10800 2004-11-08 13:53 pbartok
10802 * XplatUIStructs.cs:
10803 - Added missing WS_EX styles
10805 2004-11-08 13:53 pbartok
10807 * XplatUI.cs, XplatUIDriver.cs:
10808 - Added argument to SetTopmost
10810 2004-11-08 13:52 pbartok
10813 - Added XSetWindowAttributes structure
10814 - Improved XWindowAttributes structure
10815 - Added SetWindowValuemask enum
10816 - Added window creation arguments enum
10817 - Added gravity enum
10818 - Added Motif hints structure
10819 - Added various Motif flags and enums
10820 - Added PropertyMode enum for property functions
10822 2004-11-08 13:50 pbartok
10825 - Fixed arguments for updated SetTopmost method
10827 2004-11-08 13:49 pbartok
10830 - Fixed arguments for updated SetTopmost function
10831 - Fixed usage of PointToClient
10833 2004-11-08 13:44 pbartok
10836 - Added Clipping of children and siblings
10838 2004-11-08 13:41 pbartok
10841 - Removed SetMenuBarWindow call. We do this in Form.cs
10843 2004-11-08 13:40 jackson
10845 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10846 scrolling jimmi in the correct location with bottom aligned tabs
10848 2004-11-08 13:36 pbartok
10850 * ContainerControl.cs:
10851 - Implemented BindingContext
10852 - Implemented ParentForm
10854 2004-11-08 12:46 jackson
10856 * TabControl.cs: Put bottom rendered tabs in the right location
10858 2004-11-08 07:15 jordi
10860 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10863 2004-11-05 17:30 jackson
10865 * TabControl.cs: When selected tabs are expanded make sure they
10866 don't go beyond the edges of the tab control
10868 2004-11-05 14:57 jackson
10870 * TabControl.cs: Reset show_slider so if the control is resized to
10871 a size where it is no longer needed it's not displayed anymore
10873 2004-11-05 13:16 jackson
10875 * TabControl.cs: Make tab pages non visible when added to the
10878 2004-11-05 12:42 jackson
10880 * TabControl.cs: Implement SizeMode.FillToRight
10882 2004-11-05 12:16 jackson
10884 * Control.cs: Do not call CreateHandle if the handle is already
10887 2004-11-05 11:46 jackson
10889 * TabControl.cs: Remove superflous call to CalcTabRows
10891 2004-11-05 09:07 jackson
10893 * XplatUIX11.cs: Update for Mono.Posix changes
10895 2004-11-05 07:00 ravindra
10897 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10900 2004-11-04 22:47 jba
10902 * ThemeWin32Classic.cs:
10903 - Fix Button rendering for FlatStyle = Flat or Popup
10904 - Fix RadioButton and CheckBox rendering when Appearance = Button
10905 (normal and flatstyle).
10906 - Correct outer rectangle color when drawing focus rectangle
10907 - Adjust button bounds to be 1 px smaller when focused
10908 - Make button not draw sunken 3d border when pushed (windows compat)
10909 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10910 - Offset the text in RadioButton and Checkbox when being rendered as
10912 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10914 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10915 - Fixed disabled text rendering for normally rendered radiobuttons
10917 2004-11-04 10:26 jackson
10919 * TabControl.cs: Recalculate tab rows when resizing
10921 2004-11-04 07:47 jordi
10923 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10924 collection completion, drawing issues, missing features
10926 2004-11-04 05:03 ravindra
10929 - We need to recalculate the Thumb area when
10930 LargeChange/maximum/minimum values are changed.
10931 - We set the 'pos' in UpdatePos() method to minimum, if it's less
10932 than minimum. This is required to handle the case if large_change is
10933 more than max, and use LargeChange property instead of large_change
10935 - We return max+1 when large_change is more than max, like MS does.
10937 2004-11-04 04:29 ravindra
10939 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10940 - Changed default value signatures (prefixed all with ListView).
10941 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10943 - Fixed calculations for ListViewItem and implemented Clone()
10946 2004-11-04 04:26 ravindra
10948 * Theme.cs, ThemeWin32Classic.cs:
10949 - Changed default ListView values signatures (prefixed all with
10951 - Fixed default size values for VScrollBar and HScrollBar.
10952 - Fixed DrawListViewItem method.
10954 2004-11-04 04:05 ravindra
10956 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10958 2004-11-04 04:04 ravindra
10960 * ImageList.cs: Implemented the missing overload for Draw method.
10962 2004-11-03 19:29 jackson
10964 * TabControl.cs: Handle dropping rows on selection properly
10966 2004-11-03 11:59 jackson
10968 * TabControl.cs: remove debug code
10970 2004-11-03 11:52 jackson
10972 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10973 the scrolly widgerywoo
10975 2004-11-02 13:52 jackson
10977 * TabControl.cs: Resize the tab pages and tabs when the tab control
10980 2004-11-02 13:40 jackson
10982 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10983 selected tab to the bottom
10985 2004-11-02 13:39 jackson
10987 * TabPage.cs: Store the tab pages row
10989 2004-11-02 12:33 jordi
10991 * MenuItem.cs: fixes handle creation
10993 2004-11-02 11:42 jackson
10995 * TabControl.cs: signature fix
10997 2004-11-02 08:56 jackson
10999 * TabControl.cs: Calculate whether the tab is on an edge properly.
11000 Remove top secret debugging code
11002 2004-11-01 19:57 jackson
11004 * TabControl.cs: Add click handling, and proper sizing
11006 2004-11-01 19:47 jackson
11008 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11011 2004-11-01 19:39 jackson
11013 * TabPage.cs: add internal property to store the bounds of a tab
11016 2004-10-30 04:23 ravindra
11018 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11021 2004-10-30 04:21 ravindra
11023 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11024 fixed calculations.
11026 2004-10-30 03:06 pbartok
11029 - Removed extension of DllImported libs
11031 2004-10-29 09:55 jordi
11033 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11034 navigation, itemcollection completion, menu fixes
11036 2004-10-27 22:58 pbartok
11039 - Now throws a nice error message when no X display could be opened
11041 2004-10-26 13:51 jordi
11043 * ListView.cs: removes warning
11045 2004-10-26 03:55 ravindra
11047 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11048 ThemeWin32Classic.cs: Some formatting for my last checkins.
11050 2004-10-26 03:36 ravindra
11052 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11053 control and default values.
11055 2004-10-26 03:35 ravindra
11057 * Theme.cs: Added some default values for ListView control.
11059 2004-10-26 03:33 ravindra
11061 * ToolBar.cs: ToolBar should use the user specified button size, if
11062 there is any. Added a size_specified flag for the same.
11064 2004-10-26 03:33 ravindra
11066 * ColumnHeader.cs: Added some internal members and calculations for
11069 2004-10-26 03:32 ravindra
11071 * ListViewItem.cs: Calculations for ListViewItem.
11073 2004-10-26 03:31 ravindra
11075 * ListView.cs: Added some internal members and calculations for
11078 2004-10-22 13:31 jordi
11080 * MenuAPI.cs: speedup menus drawing
11082 2004-10-22 13:16 jackson
11084 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11087 2004-10-22 11:49 jackson
11091 2004-10-22 11:41 jackson
11093 * Control.cs: Check to see if the window should have its background
11094 repainted by X when drawing.
11096 2004-10-22 11:31 jackson
11098 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11099 clear is true, this way we do not get flicker from X repainting the
11102 2004-10-22 11:28 jackson
11104 * XEventQueue.cs: Queue properly
11106 2004-10-21 09:38 jackson
11108 * XEventQueue.cs: Fix access modifier
11110 2004-10-21 09:36 jackson
11112 * XEventQueue.cs: Don't loose messages
11114 2004-10-21 09:22 jackson
11116 * XEventQueue.cs: Don't loose messages
11118 2004-10-20 04:15 jordi
11120 * BootMode.cs: enum need it by SystemInfo
11122 2004-10-19 21:58 pbartok
11125 - Small sanity check
11127 2004-10-19 21:56 pbartok
11130 - Added private FormParentWindow class which acts as the container
11131 for our form and as the non-client area where menus are drawn
11132 - Added/Moved required tie-ins to Jordi's menus
11133 - Fixed/Implemented the FormStartPosition functionality
11135 2004-10-19 21:52 pbartok
11138 - Removed unneeded locals
11139 - Added code to all size and location properties to understand and
11140 deal with the parent container of Form
11142 2004-10-19 21:33 pbartok
11145 - Fixed to deal with new Form subclasses for menus
11147 2004-10-19 17:48 jackson
11149 * XEventQueue.cs: commit correct version of file
11151 2004-10-19 16:50 jackson
11153 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11155 2004-10-19 16:15 jordi
11157 * MenuAPI.cs: MenuBarCalcSize returns the height
11159 2004-10-19 08:31 pbartok
11162 - Added missing call to PreProcessMessage before calling OnXXXKey
11165 2004-10-19 00:04 ravindra
11167 * ToolTip.cs: Fixed constructor.
11169 2004-10-18 09:31 jordi
11171 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11173 2004-10-18 09:26 jordi
11175 * MenuItem.cs: fixes MenuItem class signature
11177 2004-10-18 08:56 jordi
11179 * MenuAPI.cs: prevents windows from showing in the taskbar
11181 2004-10-18 00:28 ravindra
11183 * ToolTip.cs: Suppressed a warning message.
11185 2004-10-18 00:27 ravindra
11187 * Control.cs: Default value of visible property must be true.
11189 2004-10-17 23:19 pbartok
11192 - Complete implementation
11194 2004-10-17 23:19 pbartok
11197 - Added EnableWindow method
11198 - Added SetModal stub
11199 - Added generation of WM_ACTIVATE message (still needs testing)
11200 - Added SetTopMost stub
11201 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11203 2004-10-17 23:17 pbartok
11206 - Removed VirtualKeys to XplatUIStructs
11207 - Implemented SetTopMost method
11208 - Implemented EnableWindow method
11209 - Bugfix in ScreenToClient()
11210 - Bugfixes in ClientToScreen()
11212 2004-10-17 22:51 pbartok
11214 * XplatUIStructs.cs:
11215 - Added WS_EX styles to WindowStyles enumeration
11217 2004-10-17 22:50 pbartok
11219 * XplatUI.cs, XplatUIDriver.cs:
11220 - Added method for enabling/disabling windows
11221 - Added method for setting window modality
11222 - Added method for setting topmost window
11224 2004-10-17 22:49 pbartok
11226 * ThemeWin32Classic.cs:
11227 - Added ToolTip drawing code
11229 2004-10-17 22:49 pbartok
11232 - Added ToolTip abstracts
11234 2004-10-17 22:47 pbartok
11237 - Fixed Form.ControlCollection to handle owner relations
11238 - Added Owner/OwnedForms handling
11239 - Implemented Z-Ordering for owned forms
11240 - Removed unneeded private overload of ShowDialog
11241 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11243 - Fixed Close(), had wrong default
11244 - Added firing of OnLoad event
11245 - Added some commented out debug code for Ownership handling
11247 2004-10-17 22:16 pbartok
11250 - Fixed/implemented flat list of controls
11252 2004-10-17 22:14 pbartok
11255 - Added code to simulate modal dialogs on Win32
11257 2004-10-17 16:11 jordi
11259 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11262 2004-10-17 13:39 jordi
11264 * MenuAPI.cs: menu drawing fixes
11266 2004-10-15 09:10 ravindra
11268 * StructFormat.cs: General Enum.
11270 2004-10-15 09:09 ravindra
11272 * SizeGripStyle.cs: Enum for Form.
11274 2004-10-15 09:08 ravindra
11276 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11277 in Theme for ListView.
11279 2004-10-15 09:06 ravindra
11281 * ColumnHeader.cs: Flushing some formatting changes.
11283 2004-10-15 09:05 ravindra
11285 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11288 2004-10-15 09:03 ravindra
11290 * ListView.cs: Implemented Paint method and fixed coding style.
11292 2004-10-15 07:34 jordi
11294 * MenuAPI.cs: fix for X11
11296 2004-10-15 07:32 ravindra
11298 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11299 - Renamed Paint() method to Draw() for clarity. Also, moved
11300 DrawImage() to OnPaint().
11302 2004-10-15 07:25 ravindra
11304 * CheckBox.cs, RadioButton.cs:
11305 - Removed Redraw (), we get it from ButtonBase.
11306 - Implemented Paint (), to do class specific painting.
11308 2004-10-15 07:16 ravindra
11311 - Redraw () is not virtual now.
11312 - Added an internal virtual method Paint (), so that
11313 derived classes can do their painting on their own.
11314 - Modified OnPaint () to call Paint ().
11316 2004-10-15 06:43 jordi
11318 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11319 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11321 2004-10-15 00:30 ravindra
11324 - MessageBox on windows does not have min/max buttons.
11325 This change in CreateParams fixes this on Windows. We
11326 still need to implement this windowstyle behavior in
11329 2004-10-14 05:14 ravindra
11332 - Changed Redraw () to do a Refresh () always.
11333 - Fixed the MouseMove event handling when mouse is pressed,
11334 ie drag event handling.
11335 - Replaced the usage of ToolBarButton.Pressed property to
11336 ToolBarButton.pressed internal variable.
11338 2004-10-14 05:10 ravindra
11340 * ToolBarButton.cs:
11341 - Added an internal member 'inside' to handle mouse move
11342 with mouse pressed ie mouse drag event.
11343 - Changed 'Pressed' property to return true only when
11344 'inside' and 'pressed' are both true.
11345 - Some coding style love.
11347 2004-10-14 00:17 ravindra
11349 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11352 2004-10-14 00:15 ravindra
11354 * ButtonBase.cs: Redraw () related improvements.
11356 2004-10-14 00:14 ravindra
11358 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11359 removed unnecessary calls to Button.Show () method.
11361 2004-10-13 17:50 pbartok
11365 - Removed destroying of window until we solve the problem of X
11366 destroying the window before us on shutdown
11368 2004-10-13 16:32 pbartok
11371 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11373 2004-10-13 14:18 pbartok
11376 - Added code to destroy the X window
11378 2004-10-13 14:18 pbartok
11381 - Added code to destroy a window
11383 2004-10-13 14:12 pbartok
11386 - Added the Redraw on Resize that got dropped in the last rev
11388 2004-10-13 09:06 pbartok
11390 * ThemeWin32Classic.cs:
11391 - Path from John BouAntoun:
11392 * Fix check rendering (centre correctly for normal style, offset
11393 correctly for FlatStyle).
11394 * Fix border color usage (use backcolor) for FlatStyle.Popup
11395 * Use checkbox.Capture instead of checkbox.is_pressed when
11396 rendering flatstyle states.
11398 2004-10-12 21:48 pbartok
11400 * ThemeWin32Classic.cs:
11401 - Removed all occurences of SystemColors and replaced them with the
11402 matching theme color
11404 2004-10-12 21:41 pbartok
11406 * ThemeWin32Classic.cs:
11407 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11408 him using the function for flatstyle drawing
11409 - Changed functions to use the new version of CPDrawBorder3D
11411 2004-10-12 21:15 pbartok
11414 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11415 match MS documentation. They need to return defined colors if the
11416 passed color matches the configured control color. Thanks to John
11417 BouAntoun for pointing this out.
11419 2004-10-12 20:57 pbartok
11422 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11425 2004-10-12 20:46 pbartok
11428 - Fix from John BouAntoun: Now properly sets the Appearance property
11430 2004-10-12 20:45 pbartok
11432 * ThemeWin32Classic.cs:
11433 - Fixes from John BouAntoun: now handles forecolors and backcolors
11434 for flatstyle rendered controls much better; It also fixes normal
11435 checkbox rendering when pushed or disabled.
11437 2004-10-08 02:50 jordi
11439 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11442 2004-10-07 08:56 jordi
11444 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11446 2004-10-06 03:59 jordi
11448 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11449 XplatUIWin32.cs: removes warnings from compilation
11451 2004-10-05 12:23 jackson
11453 * RadioButton.cs: Fix ctor
11455 2004-10-05 11:10 pbartok
11458 - Partial implementation by Benjamin Dasnois
11460 2004-10-05 10:15 jackson
11462 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11465 2004-10-05 03:07 ravindra
11468 - Removed a private method, Draw ().
11469 - Fixed the ButtonDropDown event handling.
11470 - Fixed MouseMove event handling.
11472 2004-10-05 03:04 ravindra
11474 * ThemeWin32Classic.cs:
11475 - Added DrawListView method and ListViewDefaultSize property.
11476 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11477 - Changed DOS style CRLF to Unix format (dos2unix).
11479 2004-10-05 03:03 ravindra
11482 - Added DrawListView method and ListViewDefaultSize property.
11484 2004-10-05 02:42 ravindra
11486 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11487 clicks on DropDown arrow.
11489 2004-10-04 22:56 jackson
11491 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11492 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11493 Control handle the buffers, derived classes should not have to
11494 CreateBuffers themselves.
11496 2004-10-04 21:20 jackson
11498 * StatusBar.cs: The control handles resizing the buffers now.
11500 2004-10-04 21:18 jackson
11502 * Control.cs: When resizing the buffers should be invalidated. This
11503 should be handled in Control not in derived classes.
11505 2004-10-04 14:45 jackson
11509 2004-10-04 02:14 pbartok
11511 * LeftRightAlignment.cs:
11514 2004-10-04 01:09 jordi
11516 * ThemeWin32Classic.cs: fixes right button position causing right
11517 button not showing on horizontal scrollbars
11519 2004-10-02 13:12 pbartok
11522 - Simplified the Invalidate method by using an X call instead of
11523 generating the expose ourselves
11524 - Added an expose when the window background is changed
11525 - Implemented ClientToScreen method
11527 2004-10-02 13:08 pbartok
11530 - Added Win32EnableWindow method (test for implementing modal
11532 - Added ClientToScreen method and imports
11534 2004-10-02 13:07 pbartok
11536 * XplatUI.cs, XplatUIDriver.cs:
11537 - Added ClientToScreen coordinate translation method
11539 2004-10-02 13:06 pbartok
11541 * KeyPressEventArgs.cs:
11542 - Fixed access level for constructor
11544 2004-10-02 13:06 pbartok
11547 - Changed access level for the window_collection hash table
11549 2004-10-02 13:05 pbartok
11552 - Added KeyPreview property
11553 - Added Menu property (still incomplete, pending Jordi's menu work)
11554 - Implemented ProcessCmdKey
11555 - Implemented ProcessDialogKey
11556 - Implemented ProcessKeyPreview
11558 2004-10-02 13:02 pbartok
11561 - Added private method to get the Control object from the window
11563 - Implemented ContextMenu property
11564 - Implemented PointToScreen
11565 - Implemented PreProcessMessage
11566 - Implemented IsInputChar
11567 - Implemented IsInputKey
11568 - Implemented ProcessCmdKey
11569 - Completed ProcessKeyEventArgs
11570 - Fixed message loop to call the proper chain of functions on key
11572 - Implemented ProcessDialogChar
11573 - Implemented ProcessDialogKey
11574 - Implemented ProcessKeyMessage
11575 - Implemented ProcessKeyPreview
11576 - Added RaiseDragEvent stub (MS internal method)
11577 - Added RaiseKeyEvent stub (MS internal method)
11578 - Added RaiseMouseEvent stub (MS Internal method)
11579 - Added RaisePaintEvent stub (MS Internal method)
11580 - Added ResetMouseEventArgs stub (MS Internal method)
11581 - Implemented RtlTranslateAlignment
11582 - Implemented RtlTranslateContent
11583 - Implemented RtlTranslateHorizontal
11584 - Implemented RtlTranslateLeftRight
11585 - Added generation of KeyPress event
11587 2004-10-02 05:57 ravindra
11589 * ListViewItem.cs: Added attributes.
11591 2004-10-02 05:32 ravindra
11593 * ListView.cs: Added attributes.
11595 2004-10-01 11:53 jackson
11597 * Form.cs: Implement the Close method so work on MessageBox can
11600 2004-09-30 14:06 pbartok
11605 2004-09-30 11:34 jackson
11607 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11609 2004-09-30 07:26 ravindra
11611 * ListViewItemConverter.cs: Converter for ListViewItem.
11613 2004-09-30 07:26 ravindra
11615 * SortOrder.cs: Enum for ListView control.
11617 2004-09-30 07:25 ravindra
11619 * ColumnHeader.cs: Supporting class for ListView control.
11621 2004-09-30 07:24 ravindra
11623 * ListView.cs, ListViewItem.cs: Initial implementation.
11625 2004-09-30 07:20 ravindra
11627 * ItemActivation.cs: Enum for ListView Control.
11629 2004-09-29 20:29 pbartok
11632 - Added lookup of pixel value for background color; tries to get a
11633 color 'close' to the requested color, it avoids having to create a
11634 colormap. Depending on the display this could mean the used color
11635 is slightly off the desired color. Might have to change it to a more
11636 resource intensive colormap approach, but it will work as a
11637 workaround to avoid red screens.
11639 2004-09-29 14:27 jackson
11641 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11643 2004-09-28 12:44 pbartok
11645 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11646 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11647 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11648 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11649 TrackBar.cs, VScrollBar.cs:
11650 - Streamlined Theme interfaces:
11651 * Each DrawXXX method for a control now is passed the object for
11652 the control to be drawn in order to allow accessing any state the
11653 theme might require
11655 * ControlPaint methods for the theme now have a CP prefix to avoid
11656 name clashes with the Draw methods for controls
11658 * Every control now retrieves it's DefaultSize from the current
11661 2004-09-28 12:17 jackson
11663 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11666 2004-09-24 14:57 jackson
11668 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11669 Gives us a nice little performance boost.
11671 2004-09-24 12:02 jackson
11673 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11674 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11675 Control and supporting classes. Initial checkin
11677 2004-09-23 13:08 jackson
11679 * Form.cs: Temp build fixage
11681 2004-09-23 01:39 ravindra
11683 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11684 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11685 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11686 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11687 EventHandlers needed by ListView Control.
11689 2004-09-22 14:12 pbartok
11691 * ScrollableControl.cs:
11692 - Implemented DockPadding property
11693 - Implemented AutoScroll property
11694 - Implemented AutoScrollMargin property
11695 - Implemented AutoScrollMinSize property
11696 - Implemented AutoScrollPosition property
11697 - Implemented DisplayRectangle property (still incomplete)
11698 - Implemented CreateParams property
11699 - Implemented HScroll property
11700 - Implemented VScroll property
11701 - Implemented OnVisibleChanged property
11703 2004-09-22 14:09 pbartok
11706 - Added Form.ControllCollection class
11707 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11708 RemoveOwnedForm (still incomplete, missing on-top and common
11709 minimize/maximize behaviour)
11710 - Added StartPosition property (still incomplete, does not use when
11712 - Added ShowDialog() methods (still incomplete, missing forcing the
11715 2004-09-22 14:05 pbartok
11718 - Added message loop for modal dialogs
11720 2004-09-22 14:02 pbartok
11723 - Fixed wrong types for events
11725 2004-09-22 14:00 pbartok
11727 * Shortcut.cs, FormWindowState.cs:
11728 - Fixed wrong values
11730 2004-09-22 12:01 jackson
11732 * Control.cs: Text is never null
11734 2004-09-20 22:14 pbartok
11737 - Fixed accessibility level for Idle handler
11739 2004-09-20 18:54 jackson
11741 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11742 XplatUIX11.cs: New message loop that uses poll so we don't get a
11745 2004-09-17 10:43 pbartok
11748 - Fixed behaviour of arrow buttons. Now properly behaves like
11749 Buttons (and like Microsoft's scrollbar arrow buttons)
11751 2004-09-17 10:14 pbartok
11754 - Added missing release of keyboard/mouse capture
11756 2004-09-17 06:18 jordi
11758 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11759 Theme.cs: Very early menu support
11761 2004-09-16 17:45 pbartok
11764 - Fixed sending a window to the front
11765 - Added overload for SetWindowPos to avoid casting
11767 2004-09-16 17:44 pbartok
11770 - Added SendToBack and BringToFront methods
11772 2004-09-16 07:00 ravindra
11774 * Copyright: Added Novell URL.
11776 2004-09-16 07:00 ravindra
11778 * ToolBar.cs: Invalidate should be done before redrawing.
11780 2004-09-15 21:19 ravindra
11782 * ColumnHeaderStyle.cs: Enum for ListView Control.
11784 2004-09-15 21:18 ravindra
11786 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11789 2004-09-13 18:26 jackson
11791 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11794 2004-09-13 18:13 jackson
11796 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11797 a second thread and post messages into the main threads message
11798 queue. This makes timing much more consistent. Both win2K and XP
11799 have a minimum timer value of 15 milliseconds, so we now do this
11802 2004-09-13 15:18 pbartok
11804 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11806 - Added Z-Ordering methods
11808 2004-09-13 10:56 pbartok
11811 - Fixed #region names
11812 - Moved properties and methods into their proper #regions
11814 2004-09-13 10:51 pbartok
11817 - Added Accept and CancelButton properties
11818 - Added ProcessDialogKey() method
11820 2004-09-13 08:18 pbartok
11822 * IWindowTarget.cs:
11825 2004-09-10 21:50 pbartok
11828 - Added DoDragDrop() [incomplete]
11829 - Properly implemented 'Visible' handling
11830 - Added SetVisibleCore()
11831 - Implemented FindChildAtPoint()
11832 - Implemented GetContainerControl()
11833 - Implemented Hide()
11835 2004-09-10 19:28 pbartok
11838 - Moved methods into their appropriate #regions
11839 - Reordered methods within regions alphabetically
11841 2004-09-10 18:57 pbartok
11843 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11844 - Added method to retrieve text from window
11846 2004-09-10 18:56 pbartok
11849 - Moved some internal functions into the internal region
11850 - Implemented FontHeight
11851 - Implemented RenderRightToLeft
11852 - Implemented ResizeRedraw
11853 - Implemented ShowFocusCues
11854 - Implemented ShowKeyboardCues
11855 - Implemented FromChildHandle
11856 - Implemented FromHandle
11857 - Implemented IsMnemonic
11858 - Implemented ReflectMessage
11859 - All public and protected Static Methods are now complete
11861 2004-09-10 16:54 pbartok
11864 - Implemented remaining missing public instance properties
11865 - Alphabetized some out of order properties
11867 2004-09-10 05:51 ravindra
11869 * PictureBox.cs: Added a check for null image.
11871 2004-09-10 00:59 jordi
11873 * GroupBox.cs: remove cvs tag
11875 2004-09-09 05:25 ravindra
11877 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11879 2004-09-09 05:23 ravindra
11881 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11884 2004-09-09 02:28 pbartok
11886 * ThemeWin32Classic.cs:
11887 - Improve disabled string look
11889 2004-09-09 01:15 jordi
11891 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11894 2004-09-08 23:56 ravindra
11896 * ItemBoundsPortion.cs: It's enum, not a class!
11898 2004-09-08 23:47 ravindra
11900 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11903 2004-09-08 21:13 ravindra
11905 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11908 2004-09-08 21:03 ravindra
11910 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11913 2004-09-08 21:01 ravindra
11915 * ScrollableControl.cs: Removed unreachable code.
11917 2004-09-08 06:45 jordi
11919 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11921 2004-09-08 01:00 jackson
11923 * XplatUIX11.cs: Only run the timers when updating the message
11924 queue. This effectively gives X messages a higher priority then
11925 timer messages. Timers still need love though
11927 2004-09-07 14:01 jackson
11929 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11930 this for us and the handle is no longer valid.
11932 2004-09-07 13:59 jackson
11934 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11935 loop that manages to not crash. TODO: Add poll and cleanup timers
11937 2004-09-07 11:12 jordi
11939 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11941 2004-09-07 03:40 jordi
11943 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11944 fixes, methods, multiple links
11946 2004-09-06 06:55 jordi
11948 * Control.cs: Caches ClientRectangle rectangle value
11950 2004-09-05 02:03 jordi
11952 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11955 2004-09-04 11:10 jordi
11957 * Label.cs: Refresh when font changed
11959 2004-09-02 16:24 pbartok
11962 - Added sanity check to creation of double buffer bitmap
11964 2004-09-02 16:24 pbartok
11967 - Fixed selection of text color
11968 - Fixed handling of resize event; now properly recreates double
11970 - Added missing assignment of TextAlignment
11971 - Added proper default for TextAlignment
11973 2004-09-02 14:26 pbartok
11976 - Added missing RadioButton.RadioButtonAccessibleObject class
11978 2004-09-02 14:26 pbartok
11981 - Added missing Control.ControlAccessibleObject class
11982 - Started to implement Select()ion mechanisms, still very incomplete
11984 2004-09-02 14:25 pbartok
11986 * AccessibleObject.cs:
11987 - Added missing methods
11989 2004-09-02 14:23 pbartok
11991 * AccessibleNavigation.cs, AccessibleSelection.cs:
11994 2004-09-02 10:32 jordi
11996 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11997 pool for pens, brushes, and hatchbruses
11999 2004-09-01 15:30 jackson
12001 * StatusBar.cs: Fix typo
12003 2004-09-01 14:44 pbartok
12008 2004-09-01 14:39 pbartok
12010 * Button.cs, RadioButton.cs:
12011 - Functional initial check-in
12013 2004-09-01 14:01 pbartok
12016 - Added missing default
12017 - Added missing region mark
12019 2004-09-01 09:10 jordi
12021 * Label.cs: fixes method signatures, new methods, events, fixes
12024 2004-09-01 07:19 jordi
12026 * Control.cs: Init string variables with an empty object
12028 2004-09-01 04:20 jordi
12030 * Control.cs: fires OnFontChanged event
12032 2004-08-31 20:07 pbartok
12035 - Enabled display of strings
12037 2004-08-31 20:05 pbartok
12040 - Added (partial) implementation of DialogResult; rest needs to be
12041 implemented when the modal loop code is done
12043 2004-08-31 19:55 pbartok
12046 - Fixed to match the removal of the needs_redraw concept
12048 2004-08-31 19:55 pbartok
12051 - Removed the rather odd split between 'needs redraw' and redrawing
12052 - Now handles the events that require regeneration (ambient
12053 properties and size)
12055 2004-08-31 19:41 pbartok
12058 - Added firing of BackColorChanged event
12059 - Added TopLevelControl property
12060 - Fixed handling of WM_ERASEBKGRND message
12062 2004-08-31 12:49 pbartok
12068 2004-08-31 12:48 pbartok
12071 - Finished (famous last words)
12073 2004-08-31 04:35 jordi
12075 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12076 scrolling bugs, adds new methods
12078 2004-08-30 14:42 pbartok
12081 - Implemented CheckBox drawing code
12083 2004-08-30 14:42 pbartok
12086 - Made Redraw() and CheckRedraw() virtual
12087 - Improved mouse up/down/move logic to properly track buttons
12089 2004-08-30 09:44 pbartok
12092 - Updated to fix broken build. Not complete yet.
12094 2004-08-30 09:28 pbartok
12099 2004-08-30 09:17 pbartok
12104 2004-08-27 16:12 ravindra
12106 * ToolBarButton.cs: Added TypeConverter attribute.
12108 2004-08-27 16:07 ravindra
12110 * ImageIndexConverter.cs: Implemented.
12112 2004-08-27 14:17 pbartok
12115 - Removed unneeded stack vars
12116 - First attempt to fix sizing issues when layout is suspended
12118 2004-08-25 15:35 jordi
12120 * ScrollBar.cs: more fixes to scrollbar
12122 2004-08-25 14:04 ravindra
12124 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12125 Added the missing divider code and grip for ToolBar Control.
12127 2004-08-25 13:20 pbartok
12130 - Control now properly passes the ambient background color to child
12133 2004-08-25 13:20 jordi
12135 * ScrollBar.cs: small bug fix regarding bar position
12137 2004-08-25 12:33 pbartok
12140 - Now only calls SetTimer or KillTimer if the enabled state has
12143 2004-08-25 12:33 pbartok
12146 - Fixed timer handling, now seems to work
12147 - Improved error message for window creation
12149 2004-08-25 12:32 pbartok
12152 - Fixed generation of MouseUp message
12154 2004-08-25 12:29 jordi
12156 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12157 and fixes for progressbar
12159 2004-08-24 18:43 ravindra
12161 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12162 in ToolBar control.
12164 2004-08-24 17:15 pbartok
12168 - Added missing events
12171 2004-08-24 17:14 pbartok
12173 * StatusBar.cs, PictureBox.cs:
12174 - Now uses Control's CreateParams
12176 2004-08-24 16:36 pbartok
12179 - Fixed background color handling
12180 - Fixed sending of enter/leave events on a grab
12182 2004-08-24 16:35 pbartok
12185 - Refined definitions for CrossingEvent
12187 2004-08-24 12:37 jordi
12189 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12190 formmating, methods signature, and adds missing events
12192 2004-08-24 12:24 jordi
12194 * Control.cs: fire OnEnabledChanged event
12196 2004-08-24 11:17 pbartok
12199 - Implemented SetTimer() and KillTimer()
12201 2004-08-24 11:16 pbartok
12204 - Now uses Remove instead of Add to kill the timer
12206 2004-08-24 10:16 jackson
12208 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12209 picture boxes in the theme now. Draw picture box borders and obey
12212 2004-08-24 05:49 jackson
12214 * Timer.cs: Remove top secret debugging code
12216 2004-08-24 05:34 jackson
12218 * PictureBox.cs: Temp hack to make picture boxes draw their full
12221 2004-08-24 05:29 jackson
12223 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12224 XplatUIX11.cs: Move timers to the driver level. On X they are
12225 queued by the driver and checked on idle.
12227 2004-08-24 01:07 jackson
12229 * XplatUIX11.cs: Use a queue for async messages instead of passing
12230 them as ClientMessages since that was totally broken. Also simply
12231 check for events and return an idle message if none are found. This
12232 gives us an idle handler, and prevents deadlocking when no messages
12235 2004-08-23 18:19 ravindra
12237 * XplatUIWin32.cs: Removed the unwanted destructor.
12239 2004-08-23 17:27 pbartok
12242 - Finishing touches. Works now, just needs some optimizations.
12244 2004-08-23 16:53 jordi
12246 * ScrollBar.cs: small fix
12248 2004-08-23 16:45 pbartok
12251 - Removed debug output
12254 2004-08-23 16:43 jordi
12256 * ScrollBar.cs: [no log message]
12258 2004-08-23 16:10 pbartok
12261 - Fixed handling of WM_CLOSE message
12262 - Removed debug output
12264 2004-08-23 16:09 pbartok
12267 - Added handling of Idle event
12268 - Added handling of form closing
12269 - Fixed reporting of MessageLoop property
12270 - Removed some unneeded code, should provide a bit of a speedup
12272 2004-08-23 15:22 pbartok
12275 - Added InitLayout() method
12276 - Added code to properly perform layout when Anchor or Dock property
12278 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12279 LAMESPEC, tried to do it in a way that makes sense
12281 2004-08-23 14:10 jordi
12283 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12284 properties and methods
12286 2004-08-23 13:55 pbartok
12289 - Properly fixed Jordi's last fix
12290 - Now uses Cursor's Position property instead of calling XplatUI
12293 2004-08-23 13:44 jordi
12295 * PaintEventHandler.cs: Adding missing attribute
12297 2004-08-23 13:39 pbartok
12300 - Implemented Position property
12302 2004-08-23 13:39 pbartok
12304 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12305 - Added method to move mouse cursor
12307 2004-08-23 13:39 pbartok
12310 - Fixed setting of background color
12311 - Added method to move mouse cursor
12313 2004-08-23 13:16 jordi
12315 * Control.cs: avoids null exception
12317 2004-08-22 17:46 jackson
12319 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12322 2004-08-22 17:40 jackson
12324 * XplatUIX11.cs: Add some missing locks
12326 2004-08-22 15:10 pbartok
12328 * Control.cs, Form.cs:
12329 - Removed OverlappedWindow style from Control, instead it's default
12331 - Made form windows OverlappedWindow by default
12333 2004-08-22 13:34 jackson
12335 * ScrollBar.cs: Update the position through the Value property so
12336 the OnValueChanged event is raised.
12338 2004-08-22 12:04 pbartok
12341 - Added Cursor.cs and UserControl.cs
12343 2004-08-22 12:03 pbartok
12346 - Started implementation, not usable yet
12348 2004-08-22 12:00 pbartok
12351 - Implemented UserControl (complete)
12353 2004-08-21 19:20 ravindra
12355 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12357 2004-08-21 18:49 ravindra
12359 * ToolBar.cs: Probably this completes the missing attributes in
12362 2004-08-21 18:03 ravindra
12364 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12365 Fixed toolbar control signatures.
12367 2004-08-21 16:32 pbartok
12372 2004-08-21 16:30 pbartok
12377 2004-08-21 16:19 pbartok
12379 * Control.cs, Label.cs:
12382 2004-08-21 15:57 pbartok
12385 - Added loads of debug output for development
12386 - Fixed typo in method name
12388 2004-08-21 15:52 pbartok
12390 * ToolBarButtonClickEventArgs.cs:
12391 - Added missing base class
12393 2004-08-21 14:53 pbartok
12396 - Updated to match new GrabWindow signature
12398 2004-08-21 14:51 pbartok
12400 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12401 - Added method to get default display size
12403 2004-08-21 14:23 pbartok
12405 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12406 - Added method to query current grab state
12407 - Added argument to allow confining a grab to a window
12409 2004-08-21 14:22 pbartok
12412 - Added [Flags] attribute so that modifiers can be used in bitwise
12415 2004-08-21 14:21 pbartok
12417 * TrackBar.cs, ScrollBar.cs:
12418 - Replaced direct XplatUI calls with their Control counterpart
12420 2004-08-21 13:32 pbartok
12423 - Implemented Created property
12425 2004-08-21 13:28 pbartok
12428 - Implemented ContainsFocus
12430 2004-08-21 13:26 pbartok
12433 - Implemented CausesValidation
12435 2004-08-21 13:21 pbartok
12438 - Implemented CanFocus
12439 - Implemented CanSelect
12440 - Implemented Capture
12442 2004-08-21 12:35 pbartok
12445 - Fixed bug with Async message handling
12446 - Implemented getting the ModifierKeys
12448 2004-08-21 12:32 jackson
12450 * AsyncMethodResult.cs: Make sure we have the mutex before we
12451 release it. Fixes BeginInvoke on windows
12453 2004-08-21 11:31 pbartok
12455 * XplatUIWin32.cs, XplatUIX11.cs:
12456 - Drivers now return proper mouse state
12458 2004-08-21 10:54 jackson
12460 * Control.cs: Implement EndInvoke
12462 2004-08-21 10:48 jackson
12464 * Timer.cs: Remove unneeded finalizer
12466 2004-08-20 19:52 ravindra
12468 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12469 in mouse event handling in the ToolBar control.
12471 2004-08-20 19:50 ravindra
12473 * ImageList.cs: Changed draw method to use the arguments passed in
12476 2004-08-20 18:58 pbartok
12478 * XplatUIStructs.cs:
12479 - Added private message for async communication
12481 2004-08-20 17:38 ravindra
12483 * Control.cs: Made RightToLeft property virtual and removed a
12486 2004-08-20 14:39 jordi
12488 * ThemeGtk.cs: use style_attach
12490 2004-08-20 14:39 pbartok
12493 - Added jackson's Async code from X11 to Win32
12495 2004-08-20 14:09 pbartok
12498 - Added all new files
12500 2004-08-20 14:09 pbartok
12503 - Added call to set window background color
12505 2004-08-20 14:03 pbartok
12507 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12508 - Added method for setting the window background
12510 2004-08-20 14:02 pbartok
12513 - Added method for setting the background color
12514 - Added handling for erasing the window background
12516 2004-08-20 13:45 jordi
12518 * TrackBar.cs: fixes timer, new properties and methods
12520 2004-08-20 13:34 jackson
12522 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12525 2004-08-20 13:22 jackson
12527 * Timer.cs: Timer Tick events are now handed through Controls Async
12528 mechanism so the callbacks are executed in the same thread as X
12530 2004-08-20 13:19 jackson
12532 * XplatUIDriver.cs: Expose functionality to send async messages
12535 2004-08-20 13:18 jackson
12537 * Control.cs: Implement Begininvoke
12539 2004-08-20 13:14 jackson
12541 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12542 messages through the driver
12544 2004-08-20 13:12 jackson
12546 * XplatUIX11.cs: Lock before all X operations. Also added Async
12547 method functionality through XSendEvent
12549 2004-08-20 13:11 jackson
12551 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12552 This will screw up on 64 bit systems)
12554 2004-08-20 13:10 jackson
12556 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12557 Async messages through X/Win32
12559 2004-08-19 19:39 pbartok
12562 - Updated code to match new HandleData.DeviceContext type
12564 2004-08-19 19:38 pbartok
12567 - Made DeviceContext a generic object to allow usage from various
12569 - Added support for queueing Windows messages
12571 2004-08-19 19:37 pbartok
12574 - Added generation of MouseEnter, MouseLeave and MouseHover events
12575 - Added cleanup on EndPaint
12577 2004-08-19 19:17 pbartok
12580 - Added handling of WM_MOUSEHOVER
12581 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12584 2004-08-19 18:55 jordi
12586 * ThemeGtk.cs: fixes button order
12588 2004-08-19 18:12 jordi
12590 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12592 2004-08-19 17:09 pbartok
12595 - Added Right property
12596 - Added RightToLeft property
12598 2004-08-19 16:27 jordi
12600 * ThemeGtk.cs: experimental GTK theme support
12602 2004-08-19 16:26 jordi
12604 * ITheme.cs, Theme.cs: move themes from an interface to a class
12606 2004-08-19 16:25 jordi
12608 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12611 2004-08-19 16:04 pbartok
12614 - Added colormap basics
12615 - Added a way to re-initialize with a different display handle
12616 - Fixed setting of the window background color
12617 - Added various X11 imports related to colors and colormaps
12619 2004-08-19 15:51 pbartok
12622 - Removed packing hints (Paolo suggested this a while back)
12623 - fixed colormap type
12624 - Added default Atom types
12625 - Added Screen and color structs and enums
12627 2004-08-19 15:39 pbartok
12630 - Added missing Draw() method
12631 - Added missing RecreateHandle event
12633 2004-08-19 15:30 pbartok
12636 - Added handling of WM_CLOSE
12638 2004-08-18 13:16 jordi
12640 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12643 2004-08-18 09:56 jordi
12645 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12647 2004-08-17 15:31 ravindra
12649 * SWF.csproj: Updated project.
12651 2004-08-17 15:25 pbartok
12654 - Drawing improvement; don't call UpdateBounds if we are not visible
12655 (or have been minimized)
12657 2004-08-17 15:24 pbartok
12660 - Finished IsVisible
12661 - Added Win32GetWindowPlacement
12663 2004-08-17 15:08 jackson
12665 * Panel.cs: Initial checkin of the Panel
12667 2004-08-17 14:25 pbartok
12670 - Fixed broken handling of default window sizes
12672 2004-08-17 13:29 jackson
12674 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12675 has a large startup time.
12677 2004-08-17 10:25 jackson
12679 * HandleData.cs: union areas properly
12681 2004-08-17 10:12 jackson
12683 * HandleData.cs: union areas properly
12685 2004-08-16 20:00 ravindra
12687 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12689 2004-08-16 18:48 ravindra
12691 * ToolBar.cs: Added attributes.
12693 2004-08-16 17:17 ravindra
12695 * SWF.csproj: Updated project.
12697 2004-08-16 17:16 jackson
12699 * XplatUIX11.cs: Check for more expose events before sending a
12700 WM_PAINT so they can all be grouped together. This makes dragging a
12701 window across another window redraw in a sane way.
12703 2004-08-16 15:47 pbartok
12706 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12707 support OnMouseEnter/Leave()
12708 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12711 2004-08-16 15:46 pbartok
12713 * XplatUIStructs.cs, XplatUIX11.cs:
12714 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12715 OnMouseEnter/Leave()
12717 2004-08-16 15:34 jackson
12719 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12720 sure messages get the message field set to WM_NULL if they are not
12723 2004-08-16 15:24 jackson
12725 * HandleData.cs: HandleData is used for storing message information
12728 2004-08-15 17:23 ravindra
12730 * ColorDepth.cs: Added attribute.
12732 2004-08-15 17:23 ravindra
12734 * SWF.csproj: Updated project for ToolBar Control.
12736 2004-08-15 17:20 ravindra
12738 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12739 control and also dos2unix format.
12741 2004-08-15 17:13 ravindra
12743 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12744 ToolBarButtonClickEventArgs.cs,
12745 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12746 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12748 2004-08-15 15:31 pbartok
12751 - First (mostly) working version
12753 2004-08-13 16:15 pbartok
12756 - Fixed Anchor default
12758 2004-08-13 15:43 pbartok
12761 - Changed GetCursorPos signature
12763 2004-08-13 15:42 pbartok
12765 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12766 - Changed signature for GetCursorPos
12768 2004-08-13 15:25 pbartok
12772 - Fixed resizing/exposure handling
12774 2004-08-13 15:22 jordi
12776 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12779 2004-08-13 14:55 jordi
12781 * TrackBar.cs: change from wndproc to events
12783 2004-08-13 13:00 jordi
12785 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12786 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12788 2004-08-13 12:53 pbartok
12791 - Changed GetWindowPos to also provide client area size
12792 - Fixed broken prototypes for several win32 functions
12794 2004-08-13 12:53 pbartok
12796 * XplatUI.cs, XplatUIDriver.cs:
12797 - Changed GetWindowPos to also provide client area size
12799 2004-08-13 12:52 pbartok
12802 - Added generation of WM_POSCHANGED
12803 - Changed GetWindowPos to also provide client area size
12805 2004-08-13 12:52 pbartok
12808 - Added Dispose() and destructor
12809 - Fixed resizing and bounds calculation
12811 - Added memory savings for invisible windows
12813 2004-08-13 12:46 jordi
12815 * TrackBar.cs: adds timer and grap window
12817 2004-08-13 10:25 jackson
12819 * Timer.cs: SWF Timer
12821 2004-08-12 16:59 pbartok
12823 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12824 - Implemented method to get current mouse position
12826 2004-08-12 14:29 jordi
12828 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12829 enhancement, fix mouse problems, highli thumb, etc
12831 2004-08-12 13:31 pbartok
12834 - Fixed Anchoring bugs
12836 2004-08-12 13:01 jackson
12838 * StatusBar.cs: Don't forget things
12840 2004-08-12 12:54 jackson
12842 * ThemeWin32Classic.cs: Handle owner draw status bars
12844 2004-08-12 12:54 jackson
12846 * StatusBar.cs: Implement missing properties, events, and methods.
12847 Handle mouse clicking
12849 2004-08-12 10:19 jackson
12851 * StatusBarPanelClickEventArgs.cs,
12852 StatusBarPanelClickEventHandler.cs: Classes for handling status
12853 bar panel click events
12855 2004-08-12 10:10 jackson
12857 * Control.cs: Add missing properties
12859 2004-08-12 09:46 pbartok
12861 * BindingsManagerBase.cs:
12862 - Name changed to BindingManagerBase.cs
12864 2004-08-12 09:25 jordi
12866 * ScrollableControl.cs: calls ctrlbase instead of exeception
12868 2004-08-11 16:28 pbartok
12870 * InputLanguageChangingEventArgs.cs:
12871 - Never check in before compiling. Fixes the last check-in
12873 2004-08-11 16:26 pbartok
12875 * InputLanguageChangingEventArgs.cs:
12876 - More signature fixes
12878 2004-08-11 16:20 pbartok
12880 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12881 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12882 ImageListStreamer.cs, InputLanguage.cs,
12883 InputLanguageChangedEventArgs.cs,
12884 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12885 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12886 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12887 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12890 2004-08-11 16:16 pbartok
12894 - Added .Net 1.1 method
12896 2004-08-11 15:25 pbartok
12899 - Fixed BindingManagerBase.cs filename
12901 2004-08-11 15:22 pbartok
12903 * BindingManagerBase.cs:
12904 - Was checked in with wrong filename
12906 2004-08-11 14:50 pbartok
12911 2004-08-11 13:41 jordi
12913 * XplatUIWin32.cs: Fixes ClientRect
12915 2004-08-11 13:19 pbartok
12917 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12919 - We had SetWindowPos and MoveWindow to set window positions and
12920 size, removed MoveWindow. We have GetWindowPos, so it made sense to
12921 keep SetWindowPos as matching counterpart
12922 - Added some X11 sanity checking
12924 2004-08-11 12:59 pbartok
12927 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12928 (It seems that SetBounds is just a front for SetBoundsCore and
12929 SetBoundsCore updates the underlying window system and
12930 UpdateBounds is responsible for updating the variables associated
12931 with the Control and sending the events)
12932 - Major cleanup of Size handling; we now have two sizes, client_size
12933 and bounds. Bounds defines the window with decorations, client_size
12936 2004-08-11 12:55 pbartok
12938 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12939 - Added method to calculate difference between decorated window and
12942 2004-08-11 12:54 pbartok
12945 - Forcing redraw on resize
12947 2004-08-11 11:43 pbartok
12950 - Removed disposing of the actual images when the list is disposed
12952 2004-08-11 09:13 pbartok
12955 - Now properly reparents windows
12957 2004-08-11 08:37 pbartok
12962 2004-08-11 07:47 pbartok
12965 - Rewrote the collection stuff. Might not be as fast now, not
12966 keeping the number of children around and accessible directly, but
12967 it's more straightforward
12969 2004-08-11 07:44 pbartok
12971 * AccessibleObject.cs:
12972 - Fixed to match ControlCollection rewrite
12974 2004-08-11 07:43 pbartok
12977 - Added missing creation of the collection list
12979 2004-08-10 20:08 jackson
12981 * StatusBar.cs: Get the paint message from WndProc
12983 2004-08-10 19:31 jackson
12985 * ThemeWin32Classic.cs: Create Brushes as little as possible
12987 2004-08-10 19:20 jackson
12989 * UICues.cs: Add Flags attribute
12991 2004-08-10 19:19 jackson
12993 * StatusBarPanel.cs: Signature cleanup
12995 2004-08-10 19:10 jackson
12997 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12998 Initial implementation of status bar item drawing
13000 2004-08-10 17:27 jordi
13002 * TrackBar.cs: add missing methods, properties, and restructure to
13005 2004-08-10 16:24 jackson
13007 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13008 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13011 2004-08-10 13:21 jordi
13013 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13014 enhancements and standarize on win colors defaults
13016 2004-08-10 12:52 jackson
13018 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13019 ThemeWin32Classic.cs: Implement DrawItem functionality
13021 2004-08-10 12:47 jordi
13023 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13025 2004-08-10 12:32 jordi
13027 * Control.cs: throw ontextchange event
13029 2004-08-10 11:43 pbartok
13032 - Added more to the still unfinished Dock/Anchor layout code
13034 2004-08-10 11:39 pbartok
13036 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13037 - Added GetWindowPos method
13039 2004-08-10 11:36 pbartok
13042 - Implemented several methods
13044 2004-08-10 09:47 jackson
13046 * TrackBar.cs: Allow control to handle buffering
13048 2004-08-10 09:41 jackson
13050 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13052 2004-08-10 09:24 jackson
13054 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13056 2004-08-10 09:09 jackson
13058 * StatusBar.cs: Let Control handle all the buffering.
13060 2004-08-10 09:08 jackson
13062 * Control.cs: Control will now handle the buffering code, so each
13063 control does not have to implement this.
13065 2004-08-10 08:34 jackson
13067 * XplatUIDriver.cs: Use default colors from the theme
13069 2004-08-09 17:12 pbartok
13072 - Fixed several bugs Ravindra pointed out
13074 2004-08-09 16:11 pbartok
13077 - Added incomplete dock layout code
13078 - Added support for mouse wheel
13080 2004-08-09 16:09 pbartok
13083 - Added handling for middle and right mousebutton
13084 - Added handling for mouse wheel
13085 - Added handling for key state and mouse state and position
13086 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13089 2004-08-09 15:40 jackson
13091 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13092 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13095 2004-08-09 15:37 jackson
13097 * StatusBar.cs: Initial implementation of StatusBar
13099 2004-08-09 15:36 jackson
13101 * ITheme.cs: Add support for drawing status bar and getting status
13104 2004-08-09 15:35 pbartok
13109 2004-08-09 15:34 jackson
13111 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13112 status bar item sizes
13114 2004-08-09 15:21 jackson
13116 * ThemeWin32Classic.cs: Use known colors for default control
13119 2004-08-09 15:12 jackson
13121 * ThemeWin32Classic.cs: Make the default font static, it is static
13122 in control so this doesn't change functionality and creating fonts
13125 2004-08-09 14:56 pbartok
13128 - Added GrabMode enum
13130 2004-08-09 14:55 pbartok
13132 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13133 - Removed Run method, was only required for initial development
13135 2004-08-09 14:51 pbartok
13137 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13138 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13141 2004-08-09 13:48 pbartok
13144 - Fixed default sizing for child windows
13146 2004-08-09 12:56 pbartok
13149 - Added generation of WM_DESTROY message
13150 - Added handling of window manager induced shutdown
13152 2004-08-09 11:31 jackson
13154 * ThemeWin32Classic.cs: New names for control properties
13156 2004-08-09 11:25 jackson
13158 * Control.cs: Use new color names
13160 2004-08-09 11:02 jackson
13162 * XplatUI.cs: Get default window properties from the theme
13164 2004-08-09 11:01 jackson
13166 * ITheme.cs: The theme engine now controls default window
13169 2004-08-09 11:00 jackson
13171 * ThemeWin32Classic.cs: Add default window color properties
13173 2004-08-09 10:17 jackson
13175 * ThemeWin32Classic.cs: Use correct default back color
13177 2004-08-09 10:05 jackson
13179 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13182 2004-08-09 09:56 jackson
13184 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13186 2004-08-09 09:54 jackson
13188 * Control.cs: Get default properties from the theme.
13190 2004-08-09 09:53 jackson
13192 * ITheme.cs: Themes now handle default control properties
13194 2004-08-09 09:53 jackson
13196 * ThemeWin32Classic.cs: Themes now handle default control
13197 properties so coloring will be consistent
13199 2004-08-08 16:54 jordi
13201 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13203 2004-08-08 15:08 jordi
13205 * XplatUIX11.cs: fixes keyboard crash
13207 2004-08-08 13:47 jordi
13209 * Label.cs: add cvs header info
13211 2004-08-08 12:09 jackson
13213 * ThemeWin32Classic.cs: Add pen_buttonface
13215 2004-08-08 11:52 jordi
13217 * Label.cs, LinkLabel.cs: [no log message]
13219 2004-08-08 11:34 jordi
13221 * ThemeWin32Classic.cs: Use Windows Standard Colours
13223 2004-08-07 17:32 jordi
13225 * TrackBar.cs: throw exceptions of invalid enums values
13227 2004-08-07 17:31 jordi
13229 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13232 2004-08-07 16:56 jackson
13234 * HorizontalAlignment.cs: Initial checkin
13236 2004-08-07 13:16 jordi
13238 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13241 2004-08-07 13:05 jordi
13243 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13244 GetSysColor defines
13246 2004-08-06 18:01 pbartok
13248 * ThemeWin32Classic.cs:
13249 - Fixed some rounding issues with float/int
13251 2004-08-06 18:00 jackson
13253 * DockStyle.cs, AnchorStyles.cs:
13255 Add flags and serializable attributes.
13257 2004-08-06 17:46 pbartok
13260 - Implemented GetParent
13262 2004-08-06 17:18 pbartok
13265 - Fixed some rounding issues with float/int
13267 2004-08-06 17:17 pbartok
13269 * X11Structs.cs, XplatUIX11.cs:
13270 - Fixed Refresh and Invalidate
13272 2004-08-06 15:30 pbartok
13274 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13275 - Fixed recursive loop when resizing
13276 - Improved/fixed redrawing on expose messages
13278 2004-08-06 09:53 jordi
13280 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13281 keyboard navigation
13283 2004-08-06 08:02 pbartok
13285 * X11Structs.cs, XplatUIX11.cs:
13286 - Fixed reparenting
13287 - Fixed window border creation
13289 2004-08-05 15:38 pbartok
13292 - Attempted fix for reparenting problems
13294 2004-08-04 15:14 pbartok
13297 - Fixed Invalidation bug (calculated wrong client area)
13298 - Added ClientSize setter
13300 2004-08-04 15:13 pbartok
13303 - Added AutoScale properties
13305 2004-08-04 15:13 pbartok
13308 - Added latest files
13310 2004-08-04 14:11 pbartok
13312 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13314 - Added Invalidate handling
13316 2004-08-03 17:09 jordi
13318 * XplatUIDriver.cs: fixes spelling mistake
13320 2004-07-27 09:53 jordi
13322 * TrackBar.cs: fixes trackbar events, def classname, methods
13325 2004-07-27 09:29 jordi
13327 * ScrollBar.cs: fixes scrollbar events
13329 2004-07-27 04:38 jordi
13331 * Control.cs: changes to be able to run winforms samples
13333 2004-07-26 11:42 jordi
13335 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13336 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13338 2004-07-26 05:41 jordi
13340 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13341 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13344 2004-07-22 09:22 jordi
13346 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13347 check link overlapping, implement events, and fixes
13349 2004-07-21 10:28 jordi
13351 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13353 2004-07-21 10:19 jordi
13355 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13356 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13357 LinkLabelLinkClickedEventArgs.cs,
13358 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13359 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13362 2004-07-19 13:09 jordi
13364 * Control.cs, Label.cs: label control re-written: added missing
13365 functionlity, events, and properties
13367 2004-07-19 10:49 jordi
13369 * Control.cs: fixes SetBounds logic
13371 2004-07-19 01:29 jordi
13373 * Control.cs: Call RefreshWindow only if the window has created
13375 2004-07-15 14:05 pbartok
13377 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13378 - Implemented ImageList and ImageList.ImageCollection classes
13379 - Added ColorDepth enumeration
13380 - Updated SWF VS.Net project
13382 2004-07-15 11:06 jordi
13384 * XplatUIStructs.cs: added MsgButons enum
13386 2004-07-15 11:03 jordi
13388 * Control.cs: added basic mouse handeling events
13390 2004-07-15 03:38 jordi
13392 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13393 Vertical TrackBar control implementation
13395 2004-07-13 09:33 jordi
13397 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13399 2004-07-13 09:31 jordi
13401 * Control.cs, Form.cs: commit: new properties and fixes form size
13404 2004-07-09 14:13 miguel
13406 * ProgressBar.cs: Spelling
13408 2004-07-09 11:25 pbartok
13411 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13414 2004-07-09 11:17 miguel
13416 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13418 * ProgressBar.cs: Fixed spelling for `block'
13420 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13423 Avoid using the += on rect.X, that exposed a bug in the compiler.
13425 2004-07-08 23:21 pbartok
13427 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13428 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13429 BaseCollection.cs, Binding.cs, BindingContext.cs,
13430 BindingMemberInfo.cs, BindingsCollection.cs,
13431 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13432 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13433 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13434 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13435 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13436 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13437 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13438 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13439 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13440 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13441 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13442 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13443 InputLanguageChangedEventArgs.cs,
13444 InputLanguageChangedEventHandler.cs,
13445 InputLanguageChangingEventArgs.cs,
13446 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13447 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13448 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13449 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13450 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13451 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13452 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13453 QueryAccessibilityHelpEventArgs.cs,
13454 QueryAccessibilityHelpEventHandler.cs,
13455 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13456 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13457 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13458 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13459 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13460 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13461 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13462 XplatUIX11.cs, lang.cs: