1 2006-05-18 Mike Kestner <mkestner@novell.com>
3 * ListView.cs: do focused item selection like MS on clicks.
4 Rework focus handling for ItemControl so LostFocus invalidates as
6 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
7 the ListView ItemControl has focus.
9 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
11 * XplatUIX11.cs: If client_window ends up being width or height zero
12 due to border settings, move it off window inside whole_window (#78433)
14 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
16 * Mime.cs: Shrink the mime file cache correctly.
18 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
20 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
22 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
24 * XplatUIX11.cs (AddExpose): More sanity checks
26 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
29 - AddExpose: Don't add expose ranges outside the size of our
31 - Cast opacity values to Int32 to avoid crashes with certain
33 - Added disabled code paths that protect against illegal cross-
34 thread painting (Developers.exe)
36 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
38 * ProgressBar.cs: Invalidate the control when it's resized
39 since block size is based on control size. (#78388)
41 2006-05-16 Miguel de Icaza <miguel@novell.com>
43 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
44 of setting the incoming argument to the "reset" value, we set the
45 this.datamember to string.empty (before we were invalidating the
50 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
52 * Form.cs: Only apply transparency settings after the form
53 is created. (Fixes #77800)
55 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
57 * ApplicationContext.cs: Grab the HandleDestroyed event so
58 we know when to fire OnMainFormClosed
60 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
62 * Application.cs: Introduced sub-class to allow tracking of
63 threads and centralized triggering of the event mess for
64 ThreadExit, AppExit, etc.. (#76156)
66 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
69 - Do not return a null icon index value for a mime subclass.
70 Instead try the main mime type class too.
71 - Seems that some newer distributions don't have a link to some
72 gnome default icons anymore. So check the default gnome dir too.
75 2006-05-16 Jackson Harper <jackson@ximian.com>
77 * MdiClient.cs: Don't paint the parent background image if we have
78 our own background image.
80 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
83 - PerformLayout: Do not shrink space filled by DockStyle.Fill
84 controls, all filled controls are supposed to overlap (#78080)
85 - UpdateZOrder is supposed to update the control's z-order in the
86 parent's z-order chain. Fixed to behave like that
87 - BringToFront: Removed obsolete code
88 - SendToBack: Simplyfied
89 - SetChildIndex: Trigger layout calculations when Z-order changes
90 since layout is done by z-order
92 2006-05-16 Chris Toshok <toshok@ximian.com>
95 * DataGrid.cs (set_AlternatingBackColor): use
96 grid_drawing.InvalidateCells instead of Refresh().
97 (set_BackColor): call grid_drawing.InvalidateCells.
98 (set_BackgroundColor): use Invalidate instead of Refresh.
100 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
101 invalidate the cell area.
103 2006-05-15 Chris Toshok <toshok@ximian.com>
106 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
107 on to DataGridPaintRow.
108 (DataGridPaintRow): take a clip argument, and only draw the cells
109 which intersect it. same with the not_usedarea.
111 * Theme.cs (DataGridPaintRow) add @clip parameter.
113 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
114 XplatUI.ScrollWindow.
117 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
118 with last column which was causing a gray swath to appear with the
119 XplatUI.ScrollWindow code.
121 2006-05-15 Chris Toshok <toshok@ximian.com>
123 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
124 use XplatUI.ScrollWindow.
125 (VerticalScrollEvent): use XplatUI.ScrollWindow.
127 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
129 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
131 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
133 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
134 file since there are no equivalent X11 cursors
136 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
138 * MonthCalendar.cs : DateTimePicker should reflect selected date
139 on mouse*up*, not mouse*down*. Fixed originally reported part of
142 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
144 * TabControl.cs : When argument index is equal or more than tab
145 count, just ignore. Fixed bug #78395.
147 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
149 * Control.cs: Dispose all child controls when control is diposed (#78394)
151 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
153 * ColorDialog.cs: Finally it is possible to select the color with
156 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
158 * PrintDialog.cs: Fix typo
160 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
162 * PrintDialog.cs: PrintDialog is not resizable
163 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
164 color. Made some ToolBar drawing methods protected virtual.
166 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
168 * PrintDialog.cs: Implementation of the PrintDialog
170 2006-05-12 Chris Toshok <toshok@ximian.com>
172 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
173 thumb, instead use MoveThumb. This has the side effect of making
174 most of the other thumb moving machinery use MoveThumb as well.
175 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
176 need to actually invalidate the rectangle where the new thumb will
178 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
179 We force an Update() after, so it's not as fast as it could be,
180 but at least there's zero flicker and no droppings.
181 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
182 (UpdateThumbPos): add another argument (dirty), which says whether
183 or not to calculate/add dirty regions which we later invalidate.
184 For cases where we know we're going to use MoveThumb, we pass
185 false for this. Otherwise, pass true.
187 2006-05-12 Jackson Harper <jackson@ximian.com>
189 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
192 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
194 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
195 and GetClipRegion methods and UserClipWontExposeParent property.
196 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
197 overriding UserClipWontExposeParent property, setting to false, since
198 Win32 handles the required expose messages to draw our clipped parent
200 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
201 PaintEventStart to set the user clip region if set.
203 - Now internally tracking the Region for the control since we need to
204 store it if the handle is not yet created and only set it when it
205 becomes created. Before setting the region forced handle creation
206 - Added code to draw the parents underneath a user-clipped region
207 * Hwnd.cs: Added UserClip property
209 2006-05-12 Chris Toshok <toshok@ximian.com>
211 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
214 (set_SmallChange): same.
215 (OnMouseUpSB): remove the call to refresh when releasing the
216 thumb. We shouldn't need it.
218 2006-05-12 Miguel de Icaza <miguel@novell.com>
220 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
221 AutoSize set to None, we do not need to relayout everything, we
222 just need to invalidate the current region.
224 (Draw): Do not draw the entire ClientArea, just redraw the
225 clip area being passed.
227 * MdiClient.cs: Make MdiClient constructor with the Form argument
230 2006-05-12 Jackson Harper <jackson@ximian.com>
232 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
233 parents background image, but strangely not their own.
234 - (DrawStatusBarPanel): Take into account horizontal alignment
235 when drawing the strings and icons.
237 2006-05-12 Mike Kestner <mkestner@novell.com>
239 * ListBox.cs: avoid invalidations for focus when the collection is
242 2006-05-12 Chris Toshok <toshok@ximian.com>
244 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
245 invalidate the entire thumb area. Call InvalidateDirty which
246 limits the redraw to the thumb itself and surrounding pixels.
248 * XplatUIX11.cs (ScrollWindow): optimize copying.
250 2006-05-12 Chris Toshok <toshok@ximian.com>
252 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
253 Figure out the positioning/layout in a single pass instead of
254 multiple recursive invocations. Speeds up the initial display of
255 the data grid. Also, make many things private that were
256 originally public but unused outside this class.
258 2006-05-11 Jackson Harper <jackson@ximian.com>
260 * MdiClient.cs: Improved layout code.
262 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
264 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
267 2006-05-11 Chris Toshok <toshok@ximian.com>
269 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
270 union of that will always be {0,0,width,height}.
272 2006-05-11 Jackson Harper <jackson@ximian.com>
274 * Form.cs: Match MS's DefaultSize for forms (they must have
275 changed the size in sp2).
277 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
279 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
281 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
283 * TextControl.cs : Fixed bug #78109. This incorrect position
284 comparison caused crash on automatic line split.
285 * TextBoxBase.cs : reduce duplicate code.
287 2006-05-10 Jackson Harper <jackson@ximian.com>
289 * MdiClient.cs: Active form is only sent to the back when using
290 the Next form functionality, when a form is clicked the current
291 active shouldn't be sent to the back.
292 - Layout the mdi windows when the container is first made visible.
293 * Form.cs: Give the MdiClient a ref to the containing form when we
296 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
298 * LinkLabel.cs : link_font could be uninitialized, so populate one
299 before actual use. Fixed bug #78340.
301 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
303 * XplatUIX11.cs : clipboard format native value is IntPtr.
306 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
309 - Instead of showing context menus directly we send WM_CONTEXTMENU,
310 which is passed up the parent chain by DefWndProc
311 - We now handle WM_CONTEXTMENU to display any menu, or pass it
312 to DefWndProc (#77956)
313 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
315 2006-05-10 Jackson Harper <jackson@ximian.com>
317 * MdiClient.cs: We need to remove the controls from the mdi
318 collection, when we close the window.
319 * MdiWindowManager.cs: Special handling of closing mdi windows.
320 * InternalWindowManager.cs: Make the close method virtual so the
321 mdi window manager can handle it specially.
323 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
326 - Recalculate grid when the data source has changed
327 - Matches styles provided by user from all data sources types
328 * DataGridTableStyle.cs: For columns that provided by the user set the
329 with the preferred value is there was unassigned.
330 * CurrencyManager.cs: throw OnItemChanged event
332 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
334 * PictureBox.cs: Don't animate until handle is created. Start animation
335 when handle is created.
337 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
339 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
341 * XEventQueue.cs: We don't need to provide the extra info
343 2006-05-10 Jackson Harper <jackson@ximian.com>
345 * MdiClient.cs: If the mdi clients parent form has a background
346 image set, we draw that background image for the mdi area's
349 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
351 * TextBoxBase.cs: Set IBeam cursor (#78347)
353 2006-05-10 Mike Kestner <mkestner@novell.com>
355 * ToolBar.cs: fix some text padding issues with ButtonSize
356 calculation. Update the default size to match MS documentation.
357 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
358 button size. Fixes #78296.
360 2006-05-10 Mike Kestner <mkestner@novell.com>
362 * ListBox.cs: use is_visible for scrollbar positioning in case the
363 control isn't on screen yet. Fix off by one with Right vs Width
364 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
366 2006-05-10 Jackson Harper <jackson@ximian.com>
368 * X11Dnd.cs: Drop to a control with another control on top of it.
369 * ToolBar.cs: Work on a copy of the buttons list, so that it can
370 be modified in click handlers. TODO: Look for similar problems in
373 2006-05-09 Jackson Harper <jackson@ximian.com>
375 * Form.cs: Window managers need the old window state when setting
377 * InternalWindowManager.cs: Allow the base mdi window manager to
378 handle more of the MDI only stuff (like maximize buttons).
379 * MdiWindowManager.cs: Fix some snafus in changing the window
380 state. Add all the menu functionality, for both popup and
382 * MdiClient.cs: When a new form is selected the currently
383 activated form is sent to the back, this matches MS.
384 - Implement a new method to activate the next mdi child window.
386 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
389 - Added new InternalCapture method to allow controls to prevent
390 the capture behaviour on the click handlers
391 - Switched to use InternalCapture
393 - Using InternalCapture to prevent mouse captures from being released
394 on mouse button release (Fixes #78100)
395 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
396 returns Form borders if a caption is present. (Fixes #78310)
398 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
400 * TreeNode.cs: Changed serialization .ctor to not require every field
401 to be present. (#78265)
402 * OwnerDrawPropertyBag.cs: Added serialization .ctor
404 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
406 * MimeIcon.cs: for is faster than foreach for strings.
408 2006-05-05 Mike Kestner <mkestner@novell.com>
410 * CheckedListBox.cs: update check handling code to not use selected.
411 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
412 behavior for visual feedback, motion response, shift/ctrl handling,
413 and properly deal with all 4 selection modes. Updates to bounds
414 handling logic. Add scroll wheel support. [Fixes #77842]
416 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
419 - Moved adding of Implicit controls into .ctor. That way, subsequent
420 creation of the controls will not cause them to think they are
421 toplevel windows (fixes #78200 header problem)
422 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
423 - Switched visibility setting of header control to use internal field
424 to avoid triggering handle creation
425 - Now checking if handle is created before causing a refresh when items
426 are added (This makes us now match handle creation time with MS)
427 * Splitter.cs: Removed loading of private splitter cursor, switched to
428 Cursors version now that that is loading the right ones
429 * Cursors.cs: Load proper splitter cursors from resources
430 * Cursor.cs: Added second method of loading resource cursors for the
431 VS.Net users amongst us
433 2006-05-05 Mike Kestner <mkestner@novell.com>
435 * ListView.cs: give header_control a minimum size based on the
438 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
440 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
441 window seems to do that with metacity, so set that type. (#78120)
443 2006-05-05 Mike Kestner <mkestner@novell.com>
445 * ListViewItem.cs: fix Details mode checkbox layout bug.
446 * ThemeWin32Classic.cs: draw a ListView column header for unused space
447 at the end of the header, if it exists. [Fixes for #78200]
449 2006-05-04 Jackson Harper <jackson@ximian.com>
451 * MdiClient.cs: Add a helper property to get the container form.
452 * MdiWindowManager.cs: We have to make sure to use the menu origin
453 when drawing the icons and buttons, this fixes maximized window
454 icons/buttons on win32.
455 * InternalWindowManager.cs: Reset the restore captions when a
456 window goes from Maximized to Minimized and vice versa. Move the
457 DrawMaximizedButtons into the MdiWindowManager source, tool
458 windows can't be maximized. NOTE: This could use a little
459 refactoring if time ever permits.
461 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
463 * TextBox.cs: Add MWFCategoryAttributes
464 * TextBoxBase.cs: Add MWFCategoryAttributes
465 * Form.cs: Add MWFCategoryAttributes
467 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
469 * Control.cs: Add MWFCategoryAttributes
470 * ScrollableControl.cs: Add MWFCategoryAttributes
472 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
474 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
475 Divider is true. Fix a little glitch in PropertyToolBar
478 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
481 - Dispose: Call base.Dispose, this causes the disposed event
482 to be fired (and probably other, more important stuff)
483 - SetVisibleCore: Set is_visible to true after creating the
484 window so that the window still gets created invisible (if
485 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
486 to generate a WM_ACTIVE message
487 * Form.cs: Call Dispose when we want to destroy the window, instead of
488 just destroying the handle (Dispose will do that for us)
490 - RootWindow also needs a queue, so we can properly process the
491 property change events from RootWindow (like Activate)
492 - Generatic synthetic WM_ACTIVE message when the active window is
495 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
497 * LinkLabel.cs: Trigger a recalc of our label dimensions when
500 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
502 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
503 for determining width and height (image might not be assigned if
504 we're drawing an imagelist)
506 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
508 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
509 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
511 * Theme.cs: No longer returns hardcoded menu height, instead calls
513 * Form.cs (OnLoad): Scaling happens before triggering Load events
516 2006-05-01 Mike Kestner <mkestner@novell.com>
518 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
520 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
522 * TextBoxBase.cs: Removed Fixme
523 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
525 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
528 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
529 the rectangle relative to the parent, considering borders. We
530 don't really want that.
531 - ScrollWindow: Fixed warning to be more understandable
532 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
533 scrollbars and scroll only the visible area
534 * RichTextBox.cs: Removed debug output
536 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
538 * NumericUpDown.cs (Text): Just use base
539 * UpDownBase.cs: Ensure txtView is created before using it
541 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
543 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
544 casting to IntPtr to avoid 64bit overflow errors
546 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
549 - AllowDrop: Don't force handle creation.
550 - CreateHandle: Added call to tell driver if we're allowed to drop
552 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
554 * FileDialog.cs: Remember the last directory not only for the
555 current instance but also for new FileDialog instances.
557 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
559 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
560 broke sending async messages
562 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
565 - ScrollWindow: Fixed method. We finally generate expose events again
566 for scrolled areas. This was causing 'garbage' when scrolling
567 textbox and other controls that used ScrollWindow
568 - Switched from using the regular queue for paint events to the MS
569 model of 'generating' paint events when the queue is empty.
570 We use the new XQueueEvent.Paint subclass to store which windows
572 - AddExpose now takes the x/y/width/height of the exposed area
573 and inserts the window into the paint queue if not already there
574 - InvalidateWholeWindow: Switched to use new AddExpose method
575 - UpdateMessageQueue: Added which queue to monitor for paint events
576 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
577 the unlikely case nothing above handles it. We reset the expose
578 pending states to get them off the queue.
579 - GetMessage: Now pulls a paint event if no other events are in the
581 - Invalidate: Switched to new AddExpose method
582 - PeekMessage: Updated to understand pending paint events
583 - UpdateWindow: Fixed logic bug. We were only updating if the window
584 didn't need updating. Also switched to sending WM_PAINT directly,
586 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
587 and random access Remove(). The random access is needed to handle
588 UpdateWindow() where a WM_PAINT is sent directly without accessing
590 * ScrollBar.cs: Added Update() calls to cause immediate updates to
591 allow for better feedback when scrolling. Scrollbars are small and
592 the immediate update should make it 'feel' more responsive without
593 slowing things down. ScrollBar still needs it's invaliate logic
594 updated to not always invalidate the whole bar on certain changes.
596 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
599 (BackColor): if the control does not support a transparent background,
600 return the default backcolor when the parent backcolor is transparent.
602 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
604 * Application.cs: Updated to new StartLoop/GetMessage API
605 * RichTextBox.cs: Provide some output on RTF parsing errors
606 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
607 new queue_id argument to GetMessage and PeekMessage to allow faster
608 handling of per-thread queues in drivers.
609 * Hwnd.cs: Added Queue tracking and property
610 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
611 * XEventQueue.cs: Added thread trackingA
612 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
614 - Implemented new per-thread queue
615 - GetMessage: Fixed return/break behaviour on several cases. We were
616 returning stale messages in some cases, instead of just processing
619 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
621 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
623 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
625 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
626 fixed off-by-one comparisons between Width/Height and Right/Bottom.
628 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
630 * PropertyGridView.cs: Fix drop down width.
632 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
634 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
635 a mess in DrawToolBar, so I removed one of them.
637 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
639 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
640 needed (clip). Otherwise we get artifacts.
642 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
644 * FixedSizeTextBox.cs: Added constructor to allow specifying which
646 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
647 and switched FixedSizeTextBox to only be fixed vertical (#78116)
648 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
649 if it matches the scale base font (avoids unneeded scaling)
651 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
653 * X11DesktopColors.cs: One gtk_init_check should be enough
655 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
657 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
660 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
663 - Generate OnTextChanged for Backspace even if we're only deleting
664 the current selection
665 - When setting the Text property, only select all text if the
666 control does not have focus when it is being set. Otherwise
667 just place the cursor at the beginning of the control
669 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
671 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
672 Added a little helper to draw PropertyGrid ToolBar with a different
673 border and a different BackColor.
674 * PropertyGrid.cs: Some background parts didn't get painted with the
675 correct background color. Added a class that helps us to draw the
676 correct border for PropertyGridView and a class that helps us to
677 draw ToolBars with a different backcolor
678 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
680 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
682 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
683 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
685 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
687 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
688 into the palette entries. Also, since we're working on a copy
689 we needed to copy the palette back onto the bitmap.
690 * Cursor.cs: Same fix as XplatUIWin32.cs.
692 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
694 * ImageListStreamer.cs: Need to read the var (or we're off)
696 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
698 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
699 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
700 TextBoxBase.cs: Unused var fixes
701 * AxHost.cs: Small 2.0 fix
702 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
703 as it seems that is what at least Metacity expects. This will make
704 icons show up on 64bit platforms. We still have some 64bit size
705 issues, though, since the startup app window size still won't match.
707 2006-04-25 Mike Kestner <mkestner@novell.com>
709 * *.cs: cleanup newly reported exception var unused warnings.
711 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
713 * ThemeWin32Classic.cs: Button image alignment now matches exactly
716 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
718 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
719 image. The image position is always the same, no matter if the
720 button is pressed or not.
722 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
724 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
725 selection and set the correct filename for SaveFileDialog.
726 Patch by Emery Conrad.
728 2006-04-24 Mike Kestner <mkestner@novell.com>
730 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
731 check for item.X outside the ClientRect instead of item.Y. Fixes
734 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
736 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
737 trust that value blindly and do some sanity check. Fixes bug #77814.
739 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
741 * ImageListStreamer.cs: save the mask as a 1bpp image.
743 2006-04-21 Mike Kestner <mkestner@novell.com>
745 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
746 pass Checked and Indeterminate to the Theme Engine. Improve
747 encapsulation with ListBox.
748 * ListBox.cs: Keep a StringFormat instead of calculating it every item
749 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
750 nested types. Move all CheckState functionality to CheckedListBox.
751 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
752 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
753 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
754 single base list. Fix scrollbar sizing and placement to mirror MS.
755 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
757 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
758 for CheckedListBox by using new DrawItemState info. Center the
759 checkboxes on the items. Use new StringFormat property.
761 2006-04-18 Jackson Harper <jackson@ximian.com>
763 * Form.cs: MdiChildren don't do default locations the same way as
764 regular forms. This prevents a crash when trying to position the
767 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
769 * PropertyGridTextBox.cs: Formatting, copyright
770 * PropertiesTab.cs: Formatting
771 * PropertyGrid.cs: Formatting
772 * PropertyGridView.cs: Formatting, fix drop down, enabled double
773 click toggling of values
775 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
777 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
778 * Control.cs (.ctor): verify_thread_handle is static, don't reset
779 every time a control is created
780 * Application.cs: Removed obsolete EnableRTLMirroring method
782 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
784 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
785 SelectedIndex to -1. Fixes bug #78121.
787 2006-04-17 Jackson Harper <jackson@ximian.com>
789 * Binding.cs: Handle null values for Current and BindingContext.
790 This occurs when binding is a little delayed.
791 * CurrencyManager.cs: return null for Current when there are no
793 - Hookup to the listchanged event on the DataView and update
794 bindings when the list is changed. This fixes late binding of
797 2006-04-17 Jackson Harper <jackson@ximian.com>
800 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
803 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
805 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
807 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
808 with the correct ButtonState
810 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
812 * XplatUIX11.cs: Improved distinguishing between window types to
813 tell the WM a type closer to what the app wants (Fixes #78107)
815 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
817 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
820 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
822 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
823 drawing code to reflect the size grip changes
825 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
827 * ImageListStreamer.cs: fix handling of the mask that follows the main
828 bitmap when deserializing and serialize it properly. The generated mask
829 should better be a 1bpp image, but I'll do that later.
831 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
833 * FileDialog.cs: Show something in the DirComboBox on *nix if the
834 path doesn't fit into some of our Current.Places
836 2006-04-13 Jackson Harper <jackson@ximian.com>
838 * ComboBox.cs: Use borders instead of drawing our own decorations,
839 try to obey correct rules for heights.
842 * ThemeClearLooks.cs:
843 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
844 this is now handled by borders.
845 - Remove unused DrawListBoxDecorationSize method.
847 2006-04-13 Mike Kestner <mkestner@novell.com>
849 * MenuAPI.cs: null guarding for the disbled click check fixes crash
852 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
854 * ThemeWin32Classic.cs:
855 - Fixed CPDrawStringDisabled
856 - Corrected drawing of disabled menu items
857 - Fixed drawing of disabled radio buttons (bug #78095)
858 - Draw check in a disabled CheckBox with color ControlDark
860 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
862 * Form.cs: Use the provided width when calculating the menu size;
863 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
864 and ClientSize.Width won't be updated yet
865 * Application.cs: Use Visible instead of Show() to make form visible,
866 this way we create the handle later and menusize is considered
868 2006-04-12 Mike Kestner <mkestner@novell.com>
870 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
873 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
875 * TextBox.cs: Implemented context menu
877 2006-04-12 Mike Kestner <mkestner@novell.com>
879 * ListView.cs: implement box selection. fixes #77838.
880 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
882 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
884 * XplatUIX11.cs: Added setting of window type when transient window
885 is created (metacity would move it otherwise)
886 * X11Structs.cs: Added WINDOW_TYPE atoms
887 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
888 background (the control is Opaque but still wants transparent
891 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
893 * Control.cs: Added OnPaintBackgroundInternal to allow controls
894 that set Opaque but don't mean it (like all ButtonBase-derived
895 controls) to still draw their background
896 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
899 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
901 * Control.cs (PaintControlBackground): Set the graphics object
902 on our PaintEvent to null to prevent it from being disposed
903 when the PaintEvent gets disposed
905 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
907 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
908 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
910 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
913 - Added transparency check to BackColor property. Transparent
914 backgrounds are only allowed if the control styles permit it
915 - Added recursive painting of parent control background and
916 foreground if a control with a transparent backcolor is drawn
917 (Thanks to Tim Ringenback for providing his 'hack' as a base
918 for this patch) Fixes #77985 and #78026.
919 - Added Opaque style check before calling OnPaintBackground, no
920 need to draw the background if the control is opaque
921 - Removed ControlAccessibleObject owner variable (inherited from
922 base, no need to define again)
923 - Added some documentation links explaining the drawing events
926 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
928 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
929 that the affected control is the located at the left border of our
930 parent (Fixes #77936)
932 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
934 * TextBoxBase.cs: When rendering disabled or readonly controls,
935 draw the background with 'Control' instead of 'Window' color as
936 long as the user hasn't specifically set a color
938 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
940 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
941 since that won't be updated if the user types text (only if it's
944 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
946 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
947 layout changes do to app-triggered resizes will have the proper
948 display rectangle for layout
950 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
952 * ThemeWin32Classic.cs:
953 - Make use of the SystemBrushes and SystemPens wherever possible
954 - Corrected some highlight colors
955 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
957 * Theme.cs: Added Empty field to CPColor struct
959 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
961 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
962 is displayed when calculating the display rectangle. Thanks to Mike
963 for teaching me the err of my ways.
965 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
967 * ScrollableControl.cs:
968 - Rewrote DisplayRectangle code, now returning the proper x/y coords
969 (instead of 0,0) and we now return the real width/height instead of
970 just the clientrectangle, adjusted for padding. The rectangle is
971 now cached and created by the new CalculateDisplayRectangle method.
972 - Created new CalculateDisplayRectange method, which basically does
973 what get_DisplayRectangle() did originally, but now using the
974 right edge instead of DisplayRectangle to determine the size of
976 - get_Canvas(): Fixed it to properly calculate canvas for
977 right/bottom controls which seem to be placed to the right/bottom
978 of any controls that have a fixed location
979 - Removed TODO that's taken care of
980 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
981 and SetDisplayRectLocation according to new MSDN2 docs
982 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
983 event when that is called, this is added for compatibility
984 - ScrollControlIntoView(): Implemented.
985 - Switched scrollbars to be implicit, they shouldn't be selectable
986 * ContainerControl: Now that ScrollControlIntoView is implemented, we
987 call it when the active control is set/changed
988 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
989 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
990 implicit_control variable (used for native Win32 message generation)
991 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
992 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
993 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
994 * XplatUIStructs.cs: Added ScrollBarCommands enum
996 2006-04-10 Jackson Harper <jackson@ximian.com>
1006 * PrintPreviewControl.cs:
1012 * UpDownBase.cs: Fixup base event overrides.
1014 2006-04-06 Mike Kestner <mkestner@novell.com>
1016 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1017 all user-initiated value changes to min <= value <= max-thumbsz+1.
1018 (set_Value): check for vert/horiz when calculating new thumb position.
1019 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1021 (OnMouseMoveSB): refactor the thumb dragging code and refine
1022 invalidation logic to reduce flicker.
1023 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1024 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1025 (UpdateThumbPosition): small code readability cleanup
1027 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1029 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1032 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1034 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1036 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1038 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1039 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1040 This dramatically reduces the number of Pen.Dispose calls.
1041 Where possible call ResPool methods only once instead of calling it
1042 over and over again (for example for the same color).
1044 2006-04-06 Mike Kestner <mkestner@novell.com>
1046 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1047 Also remove an unused private field on the collection. Fixes #77972.
1049 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1051 * ThemeNice.cs: Added ToolBar drawing code
1053 2006-04-06 Mike Kestner <mkestner@novell.com>
1055 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1056 I'm assuming that means we need to look up the toplevel for the
1057 provided control. Fixes the crash trace in #77911 but exposes another
1058 crash in some strange reflection usage in NDocGui.
1060 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1062 * ThemeNice.cs: Gave it a little silver touch and added Images
1064 * FontDialog.cs: FontDialog is not resizable
1065 * FileDialg.cs: Added SizeGripStyle.Show
1067 2006-04-05 Jackson Harper <jackson@ximian.com>
1069 * KeyboardLayouts.cs: Remove warning.
1071 2006-04-05 Jackson Harper <jackson@ximian.com>
1073 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1074 all of our controls instead of Paint +=.
1089 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1090 use OnPaintInternal. Remove Width/Height and Visible checks in
1091 paint handler, this is done at a higher level now.
1092 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1093 * PaintEventArgs.cs: Add a handled flag so controls that don't
1094 want anymore painting after OnPaintInternal can make sure OnPaint
1097 2006-04-05 Mike Kestner <mkestner@novell.com>
1099 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1100 state of the form, so that we don't process events when Modal dialogs
1101 are up. Fixes #77922.
1103 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1105 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1108 2006-04-05 Mike Kestner <mkestner@novell.com>
1110 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1112 2006-04-05 Mike Kestner <mkestner@novell.com>
1114 * ListView.cs (HeaderMouseMove): null guarding for the over column
1115 when setting up the drag_to_index. Fixes #78015.
1117 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1119 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1120 in the taskbar. Transient windows seem to accomplish that.
1122 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1125 - Re-enabled CreateParams.X/Y code for FormStartPosition
1126 - Added code for manual placement when creating the Control
1127 - Incomplete patch to treat MDI forms differently when
1128 setting the ClientSizeCore. (Still need to figure out handling
1131 - When we're explicitly setting the X/Y position of a non-Child
1132 window, let the WM know. Metacity really wants this.
1134 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1136 * ThemeNice.cs: Added CPDrawButton
1138 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1140 * ThemeNice.cs: Changed the color for focused buttons and activated
1141 the arrows for small scroll buttons.
1143 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1145 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1146 anymore. Changed some method modifiers to protected (virtual)
1147 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1149 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1150 Updated drawing of menus, buttons and progressbars; added
1153 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1155 * ImageListStreamer.cs: implemented serialization/deserialization
1158 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1160 * ThemeWin32Classic.cs:
1161 - Removed all the DrawFrameControl stuff; CPDrawButton,
1162 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1164 - Updated and corrected the drawing code of CPDrawButton,
1165 CPDrawCheckBox and CPDrawRadioButton to better match ms
1166 - Updated theme checkbox and radiobutton code to use the CP*
1169 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1171 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1174 2006-03-31 Jackson Harper <jackson@ximian.com>
1176 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1178 * UpDownBase.cs: Don't CreateGraphics manually, use a
1179 Refresh. Ideally we would invalidate the correct areas here.
1181 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1184 - We now track the mapping state of windows. If a window (or
1185 one of it's parents) is not mapped we no longer permit
1186 WM_PAINT messages to be generated since we'd otherwise get
1187 lots of BadMatch X errors. Jackson did all the work figuring
1189 - Destroying the caret if the window it's contained in is
1190 destroyed. Can't use regular DestroyCaret method since it
1191 might fall into a drawing function (trying to remove the
1192 caret) and with that generate new BadMatch errors. Again,
1193 Jackson tracked this down.
1194 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1195 make sure we send the messages to all windows. (The old code
1196 would send the WM_DESTROY to the window, and then all child
1197 windows would be 'gone' because the WM_DESTROY handle lookup
1198 would no longer find the destroyed window)
1199 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1200 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1202 2006-03-31 Jackson Harper <jackson@ximian.com>
1204 * ScrollableControl.cs: Dont recalc if we are not visible.
1206 2006-03-31 Mike Kestner <mkestner@novell.com>
1208 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1209 the visibility branch.
1211 2006-03-31 Jackson Harper <jackson@ximian.com>
1213 * ScrollBar.cs: Cap values when incrementing/decrementing.
1215 2006-03-31 Mike Kestner <mkestner@novell.com>
1217 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1218 * ToolTip.cs: guard against timer expirations with no active control.
1219 Not sure why it happened.
1221 2006-03-31 Mike Kestner <mkestner@novell.com>
1223 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1225 * ToolTip.cs: Position the tooltip based on where the cursor is at
1226 popup time, not at MouseEnter time. Add a Down state so that we don't
1227 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1228 positioning offset. Lookup DisplaySize at positioning time, since it
1229 can theoretically change during invocation.
1230 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1231 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1233 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1235 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1236 Fixes behaviour when the Text property of the box is String.Empty
1238 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1240 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1241 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1244 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1246 * FileDialog.cs: Visual enhancement for the popup buttons in
1249 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1251 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1254 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1256 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1257 highlighted menu items to match ms
1259 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1261 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1263 2006-03-30 Mike Kestner <mkestner@novell.com>
1265 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1266 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1267 go active to account for HotLight to Selected transition.
1268 * MenuItem.cs: add internal Selected prop. Fill out the Status
1269 property by calculating it from item info. Add HotLight,
1270 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1272 2006-03-30 Mike Kestner <mkestner@novell.com>
1274 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1276 2006-03-29 Jackson Harper <jackson@ximian.com>
1278 * Form.cs: Implement TODO.
1280 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1282 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1283 missing proper dialog setup in the constructor
1285 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1287 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1289 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1290 - Fixed ResetBindings and removed TODO
1291 - Added check for cross-thread calls to get_Handle()
1292 - Added Marshaller attribute for set_Font to satisfy class status
1293 * FontDialog.cs: Removed TODOs that seemed implemented
1294 * UpDownBase.cs: Removed unneeded TODO and Fixme
1295 * MessageBox.cs: Implemented support for Default button and removed TODO
1296 * FileDialog.cs: Removed obsolete TODO
1297 * DomainUpDown.cs: Removed obsolete TODO
1298 * ButtonBase.cs: Removed obsolete TODO
1299 * XplatUIWin32.cs: Removed obsolete TODO
1301 - Removed obsolete TODO
1302 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1303 internal status updates
1304 - Making sure the active control is selected when the control is created
1305 * CurrencyManager.cs: Removed obsolete TODO
1307 2006-03-29 Mike Kestner <mkestner@novell.com>
1309 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1310 of PrintPreviewDialog and RichTextBox.
1312 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1314 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1315 DarkDark, Light and LightLight colors for a specific color
1316 * ThemeWin32Classic.cs:
1317 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1319 - Make use of the new ResPool helper CPColor
1320 - Draw ProgressBar and StatusBar with correct 3D borders
1322 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1324 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1326 2006-03-28 Mike Kestner <mkestner@novell.com>
1328 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1329 calculating col/row counts.
1331 2006-03-28 Mike Kestner <mkestner@novell.com>
1337 switch to explicit interface method implementation for some methods
1338 corcompare identifies as inconsistent with MS.
1340 2006-03-28 Mike Kestner <mkestner@novell.com>
1344 add a few missing methods from the class status output.
1346 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1348 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1351 2006-03-28 Mike Kestner <mkestner@novell.com>
1353 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1355 2006-03-27 Mike Kestner <mkestner@novell.com>
1357 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1358 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1360 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1362 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1364 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1366 * ThemeWin32Classic.cs:
1367 - GroupBox: Inserted a little gap between the text and the lines
1369 - Made the code in CPDrawBorder3D more readable
1370 - Corrected the drawing location of the up and down arrows in
1373 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1375 * ControlPaint.cs: Corrected line widths in DrawBorder for
1376 ButtonBorderStyle Inset and Outset
1378 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1380 * ThemeWin32Classic.cs:
1381 - Rewrote the totally broken CPDrawBorder3D method. That was
1382 one of the main problems for the terrific ThemeWin32Classic
1384 - Updated and corrected Button drawing
1385 - Correct the dimensions of the SizeGrip to match ms ones
1386 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1387 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1388 Border3DStyle.Sunken to match ms.
1390 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1392 * ThemeWin32Classic.cs: First small part of the "de-uglify
1393 ThemeWin32Classic" effort, SizeGrip
1395 2006-03-24 Jackson Harper <jackson@ximian.com>
1397 * XplatUIX11.cs: Give a max idle time of one second, this matches
1398 MS and forces an Idle event every second when there are no other
1399 events in the queue.
1401 2006-03-24 Mike Kestner <mkestner@novell.com>
1403 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1404 * ListView.Item.cs: fix layout issues with null image lists and images
1405 smaller than checkbox size.
1406 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1407 mode like MS does. It's weird, but consistent. ;-)
1410 2006-03-24 Mike Kestner <mkestner@novell.com>
1412 * ListView.cs: Scroll wheel support for the item control. Fixes
1415 2006-03-23 Jackson Harper <jackson@ximian.com>
1417 * ScrollableControl.cs: Special case negative sized areas, not
1419 * MonthCalendar.cs: Save the rect of the clicked date so we can
1420 use it for invalidation.
1421 - Try to cut down on the number of invalidates
1422 - Invalidate the rect the mouse is over and was over when moving
1423 the mouse, so we get the focus box following the cursor.
1425 2006-03-23 Mike Kestner <mkestner@novell.com>
1427 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1428 focus rectangle drawing. Fixes #77835.
1430 2006-03-23 Mike Kestner <mkestner@novell.com>
1432 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1433 the if and else if and reverting back to the original == check on the
1436 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1438 * FontDialog.cs: Update the example panel if the selected index of
1439 the fontListBox changes.
1441 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1443 * FileDialog.cs: Make FileDialog remember which directory it was in
1444 last in the same execution.
1446 2006-03-22 Mike Kestner <mkestner@novell.com>
1448 * FileDialog.cs: make the DropDownMenu on the toolbar display
1449 RadioChecks since they are mutually exclusive and that's what MS does.
1451 2006-03-22 Mike Kestner <mkestner@novell.com>
1453 * Theme.cs: add Color param to CPDrawMenuGlyph.
1454 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1455 checks and radio marks and arrows are visible on highlighted items.
1456 * ControlPaint.cs: update to use new Theme signature.
1458 2006-03-22 Mike Kestner <mkestner@novell.com>
1460 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1461 is active. Fixes #77870.
1463 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1465 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1466 to be focused/selected after startup
1468 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1471 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1472 CustomColors and ShowHelp properties
1473 - Some internal rewrites to get better results when using the
1476 2006-03-22 Mike Kestner <mkestner@novell.com>
1478 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1479 HoverSelection. Fixes #77836.
1481 2006-03-22 Mike Kestner <mkestner@novell.com>
1483 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1484 ToggleButtons. (De)Sensitize the Back button around a stack count of
1485 1, not 0. Update ButtonSize based on a pixel count of the win32
1486 control. Adjust the toolbar size/location for new button size.
1488 2006-03-22 Jackson Harper <jackson@ximian.com>
1490 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1492 * ScrollBar.cs: When doing increments and decrements we need to
1493 set the Value property so that ValueChanged gets raised. A
1494 possible optimization here would be to make an internal SetValue
1495 that doesn't invalidate immediately.
1496 * ToolTip.cs: Tooltips get added to their container (when
1497 supplied) so they get disposed when the container is disposed.
1498 - Don't create tooltips for String.Empty. This prevents all these
1499 little 2-3 pixel windows from showing up when running nunit-gui
1501 * Form.cs: Don't set topmost when setting the owner if the handles
1502 haven't been created yet. The topmost set will happen when the
1503 handles are created.
1505 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1508 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1509 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1510 visible (to allow them to recalculate their sizes)
1512 2006-03-21 Mike Kestner <mkestner@novell.com>
1514 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1515 methods. Removed a ton of redundant code. Still not really happy with
1516 the border rendering, but I think that's mainly because of the
1517 ControlDarkDark being black instead of a dark grey. Depending on how
1518 close we want to be, we might want to revisit those color choices.
1519 Among the new features added during the refactor were DropDownArrow
1520 pressed rendering, Disabled image rendering. Proper flat appearance
1521 boundary rendering. Removed the Divider and Wrapping dividers since I
1522 can't figure out any combination of themes and conditions to make the
1523 MS control draw a horizontal line on a toolbar despite what the
1524 Divider property docs indicate.
1525 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1526 conditions and incorrect layout. Updated to coding standard.
1527 * ToolBarButton.cs: refactored layout and positioning code from
1528 ToolBar to here. Invalidate wherever possible instead of forcing
1529 redraws of the whole toolbar.
1530 (Known remaining issues: explicit ButtonSize smaller than provided
1533 2006-03-21 Mike Kestner <mkestner@novell.com>
1535 * ContextMenu.cs (Show): use the position parameter instead of just
1536 showing at the MousePosition.
1538 2006-03-21 Jackson Harper <jackson@ximian.com>
1540 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1541 control handle this.
1542 * TreeNodeCollection.cs: If we are clearing the root node we need
1543 to reset top_node so calcs can still happen.
1544 * ThemeWin32Classic.cs: This is a Flags so we need to check
1547 2006-03-21 Jackson Harper <jackson@ximian.com>
1549 * DataGrid.cs: Create columns when the binding context has been
1551 * X11Structs.cs: Keysyms are uints.
1552 - Add size to fix build.
1554 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1556 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1558 - Added ResetMouseHover method to allow controls to retrigger
1559 hovering if they need it more than once
1560 - Implemented MouseHoverTime and MouseHoverSize properties
1561 * Timer.cs: Start() must reset the interval
1562 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1565 2006-03-21 Jackson Harper <jackson@ximian.com>
1567 * X11Keyboard.cs: improved layout detection. Move the nonchar
1568 tables into this file.
1569 * KeyboardLayouts.cs: Move the tables into resource files.
1571 2006-03-21 Mike Kestner <mkestner@novell.com>
1573 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1575 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1577 * Mime.cs: Various speed optimizations. Looking up mime types
1578 is now 2 times faster than before
1580 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1582 * CreateParams.cs: Added internal menu field
1584 - Switched call order for UpdateBounds; now we always call
1585 the one that also takes ClientSize, and we're calculating the
1586 client size via driver method in the others. The previous
1587 method of tracking client size by difference wasn't working
1588 for forms where even the starting client size wouldn't match
1589 the overall form size (due to borders) (Part of fix for #77729)
1590 - CreateParams(): Do not use parent.Handle unless the handle is
1591 already created. Causes havoc with Nexxia and throws off our
1592 creation of controls
1594 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1595 - Switched handling of ConfigureNotify over to new PerformNCCalc
1596 method (consolidates code)
1597 - Changed RequestNCRecalc to use new PerformNCCalc method
1598 - Added calls to RequestNCRecalc when menus and borders are changed
1599 to allow app to set NC size. (Part of fix for #77729) This matches
1600 when MS send a WM_NCRECALC on Win32 windows.
1601 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1602 (Part of fix for #77729). This matches what MS does, they also
1603 send that message when the form is made visible.
1604 - XException.GetMessage: Improved usability of X errors by including
1605 a translation of the window into Hwnd and Control class
1606 - Improved debug info for window creation, reparenting and destruction
1607 - Created helper method WindowIsMapped() [Currently not used]
1608 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1610 - CreateParams: Now setting our menu on the new internal menu field
1611 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1612 avoid calculating the same property twice
1614 - Improved usability of ToString() for debugging purposes
1615 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1616 determine the height of the menu, instead of just the font. This
1617 required to also create a graphics context and to keep a bmp
1618 around (for performance reasons)
1620 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1622 * MenuAPI.cs: Added OnMouseUp method
1624 - Now remembering the requested client size, avoids size errors
1625 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1626 instead of base if the menu is active. This is required due to
1627 control now capturing and releasing on down/up and it would
1628 prematurely release our menu capture
1630 2006-03-17 Jackson Harper <jackson@ximian.com>
1632 * KeyboardLayouts.cs: Add the czech layouts.
1634 2006-03-16 Jackson Harper <jackson@ximian.com>
1636 * Control.cs: Use the viewport space when sizing not the controls
1637 client size, so things like ScrollableControl that effect the
1638 viewport size (when scrollbars are added) are computed correctly.
1639 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1641 - Handle creating BindingManagers for null data sources.
1642 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1643 source, otherwise when rows are added they are added to the 'fake'
1644 datasource and we will crash when trying to set the position in
1646 - Use Implicit scrollbars on the datagrid so they arent
1649 2006-03-16 Jackson Harper <jackson@ximian.com>
1652 * InternalWindowManager.cs:
1653 * MdiWindowManager.cs:
1654 * X11Keyboard.cs: I really want Mike to love me again (fix
1657 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1660 - OnMouseDown: Switch to editing mode when clicking on the cell
1661 even if we're clicking on the cell that's currently
1663 - ProcessGridKey: Left/Right now wrap like MS.Net does
1664 - ProcessGridKey: Tab now knows to add a new row when tab is
1665 pressed in the cell of the last column of the
1667 - ProcessGridKey: Enter now adds another row if pressed in the last
1668 row and selectes the new row, same column cell
1669 - ProcessGridKey: Home/End navigate columns, not rows, like
1670 originally implemented
1671 - Broke ProcessKeyPreview code out into an extra Internal method
1672 so it can be called from the edit code
1673 * DataGridTextBox.cs (ProcessKeyMessage):
1674 - Switched to accept Tab keypresses
1675 - Added F2 handling to allow jumping to the end of the edited cell
1676 - Added logic to allow moving caret left/right inside edited cell
1677 and making the edited cell jump when the caret hits cell borders
1678 - Tab and Enter are now passed to the datagrid after being handled
1680 - Removed capture code now that Control handles it
1681 - set_SelectionStart now ensures caret is visible
1683 2006-03-16 Jackson Harper <jackson@ximian.com>
1685 * TrackBar.cs: Debackwards the increment/decrement for handling
1686 mouse clicks on the bar with vertical trackbars.
1687 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1690 2006-03-16 Mike Kestner <mkestner@novell.com>
1692 * ListView.cs: make shift/ctrl keyboard and mouse selection
1693 consistent with the MS control. Fix a bug in
1694 SelectedListViewItemCollection.Clear that was pissing me off for the
1695 better part of a day because the collection was being altered
1696 underneath us as we walked the list.
1698 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1700 * Control.cs: Not sure how we could miss this so long, but it seems
1701 that MS.Net has Capture set all the way from before calling
1702 OnMouseDown through sending the mouse events until after
1703 OnMouseUp. This will fix DataGrid's selection being set to end
1704 at the location of the MouseUp.
1706 2006-03-15 Jackson Harper <jackson@ximian.com>
1708 * BindingContext.cs: Check the binding after its added so that it
1709 can initialize the binding managers and hookup to events.
1710 * Binding.cs: Data members seem to sometimes include rows/cols in
1711 the format Row.Column we now take this into account.
1712 - Hookup to the position changed event so we can update the
1713 control when the position has changed in the data set.
1714 * CurrencyManager.cs: Take into account the row/col naming
1715 convention when creating dataset tables.
1716 * BindingContext.cs: Using a newer better way of storing
1717 datasource/datamember pairs. Hopefully this better matches MS for
1718 looking up binding managers.
1721 2006-03-15 Jackson Harper <jackson@ximian.com>
1723 * BindingContext.cs: The currency manager needs the data member
1724 name, if the member is a data set we use the name to find the
1726 * CurrencyManager.cs: When creating the list prefer an IList over
1728 - Attempt to create a DataTable from a DataSet (TODO: might need
1729 some better error checking here, although MS doesn't seem to have much)
1730 - If we have a DataTable create a view and use it as our list.
1732 2006-03-15 Mike Kestner <mkestner@novell.com>
1734 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1735 keyboard navigation. Support Up/Down/Left/Right selection correctly
1736 for all 4 View modes.
1737 * ListViewItem.cs: add internal row/col fields for icon layouts.
1739 2006-03-15 Jackson Harper <jackson@ximian.com>
1741 * TabControl.cs: Redraw the tabs when we resize so their newly
1742 calculated sizes are drawn on screen.
1743 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1744 composite characters.
1745 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1746 - filter events so that composite characters can be created
1748 * X11Structs.cs: Add XIMProperties enum.
1750 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1752 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1755 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1757 * Control.cs (PerformLayout): We don't need to consider visiblity
1758 for anchoring, only for docking. This fixes 'whacky' alignment
1759 in listbox and other controls that use implicit scrollbars after
1760 the previous PerformLayout patch
1761 * ListBox.cs: Switched to use implicit scrollbars
1763 2006-03-14 Mike Kestner <mkestner@novell.com>
1767 - chain up the "new event" overrides to base and use
1768 OnEvent to raise them. Part of fix for bug #76509.
1770 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1772 * FileDialog.cs: Do not select an item in the parent directory
1775 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1777 * Control.cs (PerformLayout): It would seem that we considered
1778 invisible windows for our layout. Not quite the right thing
1779 to do. Now we don't any longer, thereby fixing bug #76889.
1781 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1783 * Control.cs (CanFocus): I goofed. A control can have focus
1784 even though it's not selectable. Made it match MS docs.
1786 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1788 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1789 center by default (fixes #76895)
1790 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1791 all uses of Border3DSides.All with the explicit ORd together
1792 Left|Right|Top|Bottom because I assume that nobody was aware
1793 that All also implies a center fill. Most places I checked had
1795 * ProgressBarStyle.cs: Added
1797 2006-03-13 Mike Kestner <mkestner@novell.com>
1799 * ListView.cs: fix breakage in drag shadow header positioning
1800 from Peter's csc compilation fix.
1802 2006-03-13 Mike Kestner <mkestner@novell.com>
1804 * ListView.cs: fix NRE produced by backspacing twice in a focused
1807 2006-03-13 Mike Kestner <mkestner@novell.com>
1809 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1811 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1813 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1815 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1816 the allowed size before making programmatic size changes
1818 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1820 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1821 set, metacity is broken and will still use the emty sizes in
1822 the struct. (Fix for #77089)
1824 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1826 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
1827 WindowExStyles and marked both enums as Flags
1828 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1829 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1830 to match WindowStyles split
1832 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1833 - Updated to match WindowStyles split
1835 - Fixed FosterParent creation, was using ExStyle on the Style field
1836 (This should help with Popup focus issues)
1837 - Updated to match WindowStyles split
1839 2006-03-13 Jackson Harper <jackson@ximian.com>
1841 * MdiWindowManager.cs: Use the system menu height. Fixes some
1842 strange sizing issues.
1844 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1846 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1848 - Scroll to caret after inserting text (#77672)
1849 - Make scroll range one pixel higher, fixes off-by-one error (and
1850 makes underlines visible on the last line)
1852 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1854 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1855 the keyboard state from being stuck with keys in 'pressed' state when
1856 focus is switched away via keyboard
1857 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1858 reset the keyboard if no X11 KeyUp events are expected to come
1859 * X11Structs.cs: Switched type of Visible to bool to match driver
1861 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1864 - Switched caret to be just 1 pixel wide, matches MS and looks less
1866 - Moved caret display 1 pixel down from the top of the control
1868 - InsertCharAtCharet: Update the selection start if moving the caret
1869 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1870 - No longer always creating the caret when the caret methods are
1871 called. Only the actual ShowCaret/HideCaret will do that now
1872 - Only setting caret visible if the owner control has focus
1873 - UpdateView: Added invalidation-shortcut logic for center and right
1874 aligned text. Previously we'd update all according to the left
1875 logic which caused drawing errors. Also fixed height of invalidated
1876 areas, now properly invalidating the whole area (was off-by-one)
1877 - owner_HandleCreated: Always generate the document when the
1878 handle is created; this ensures that
1880 - Fixed situation where caret would disappear under the right
1881 window border, also improved scrolling behaviour on left-
1883 - Fixed right-aligned textboxes to have a border to the
1884 right instead of the caret being under the right border
1886 - Switched from 'nested' to simple visible/not visible tracking
1887 for caret (part of fix for #77671)
1888 - No longer passing through translated FocusIn/FocusOut messages
1889 since we were notifying too often and the wrong windows. Instead
1890 we just notify our focussed window of receiving or loosing focus
1891 * XplatUIWin32.cs: Switched from 'nested' show/hide
1892 counting for caret to simple visible yes/no behaviour (part of
1895 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1897 * Mime.cs: Remove debug code...
1899 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1901 * MimeGenerated.cs: Removed
1902 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1903 and subclasses) from /usr/(local/)share/mime and
1904 $HOME/.local/share/mime.
1906 2006-03-10 Jackson Harper <jackson@ximian.com>
1908 * MdiWindowManager.cs: Recalc the NC area when a window is
1909 maximized/restored so that the menu area is drawn on forms that
1912 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1914 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1915 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1916 us to force a WM_NCCALCRESIZE message being sent. This is needed
1919 2006-03-10 Jackson Harper <jackson@ximian.com>
1921 * Form.cs: We need to use the ActiveMenu when calculating menu
1923 - Fix nullref when the window manager hasn't been created yet.
1924 * Control.cs: Fix nullref when we try to bring a control to the
1925 front that has no parent.
1926 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1928 - Add a dummy item to the maximized menu so it always has the
1929 correct height. Otherwise when there are no menus we don't get our
1933 2006-03-10 Jackson Harper <jackson@ximian.com>
1935 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1937 * Form.cs: Make the window_state internal so the window managers
1939 - When an MDI child is maximized let its window manager create the
1940 main menu (so it can add its icon).
1941 - Notify the window managers of state changes
1942 - Let the window manager paint its buttons and handle button
1943 clicks on the menu when it is maximized.
1944 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1945 window manager, since tool windows don't use it, only mdi windows.
1946 - Tell the main form that we don't want it to handle NCPAINT
1947 itself to avoid extra painting.
1948 - Handle clicks on a maximized windows menu.
1949 - Handle window state changes
1950 - Handle minimize/maximize clicks correctly by setting the window state.
1951 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1952 when clicking on the forms icon).
1953 - New method to create a forms maximized menu. This is its normal
1955 - Handle window state changes.
1956 - Handle sizing of maximized windows. Maximized windows are just
1957 drawn bigger then the parent visible area. All controls are still
1958 there, they are just outside the visible area (this matches windows).
1959 * MdiClient.cs: No scrollbars when a child window is maximized.
1960 - Let the children windows figure out how big they should be when
1961 sizing maximized windows.
1962 - Implement a version of ArrangeIconicWindows somewhat similar to
1963 Windows version. There are some little differences, but I don't
1964 think any app will rely on the layout of minimized mdi windows.
1966 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1968 * Padding.cs: Several fixes to allow compiling with csc 2.0
1970 2006-03-09 Jackson Harper <jackson@ximian.com>
1973 * MenuItem.cs: Cheap hack so we can add items to the list without
1974 the events being raised. This allows adding mdi items during
1975 drawing. TODO: Should probably find a better time to add the items.
1977 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1979 * ThemeWin32Classic.cs:
1980 - CheckBox_DrawText: Added logic to not wrap if not enough space
1981 is available (Fix for bug #77727)
1982 - RadioButton_DrawText: Added logic not to wrap if not enough
1983 space is available (Fix for bug #77727). Also removed some
1984 duplicate code, DrawString always drawing the regular text
1985 before hitting the if statement.
1987 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1989 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1991 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1993 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1994 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1995 methods. Moved the new 2.0 properties into alphabetical order with
1996 other properties and added MonoTODO tags
1998 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2000 * AutoScaleMode.cs: Added. Fix build.
2002 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2004 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2005 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2006 and was requiring premature handle creation for calls from above
2007 * Form.cs, Control.cs: Removed handle arguments from calls to
2008 CalculateClientRect()
2010 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2012 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2013 drag_column.column_rect is MarshalByRef and can't be used that way
2015 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2017 * AxHost.cs: Added deserialization constructor for
2018 AxHost+State (fixes 77743)
2020 2006-03-09 Mike Kestner <mkestner@novell.com>
2023 - Added column drag reordering for details view.
2024 - fixed behavior when mouse is dragged off column and
2025 AllowColumnReorder is false.
2026 * ColumnHeader.cs: clone the format too in Clone.
2027 * Theme.cs: add DrawListViewHeaderDragDetails method.
2028 * ThemeWin32Classic.cs:
2029 - impl new method for drawing drag column shadows and targets.
2030 - support column offset for details mode in DrawListViewItem.
2032 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2034 * TextControl.cs: Reset the char_count when the document is cleared
2035 (Fixes bug reported on mono-winforms mailing list)
2037 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2039 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2040 of calling base we simply process the key ourselves, since both
2041 DefWindowProc and the handled method would set m.Result.
2044 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2046 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2047 method also moves the window; instead implemented a copy of
2048 Control.ScaleCore (Part of fix for #77456)
2050 - Created new CreateGraphicsInternal method to allow providing
2051 a graphics context when no handle is created without triggering
2052 handle creation. (Part of fix for #77456)
2053 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2055 - Switched Constructor to require TextBoxBase instead of Control (to
2056 allow uncast access to CreateGraphicsInternal)
2057 - Safeguarded use of owner.Handle property. No longer accessing it
2058 unless the handle is already created.
2059 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2060 - Now triggering a recalc when owning control becomes visible
2061 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2062 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2063 premature handle creation (Part of fix for #77456)
2065 - We now only destroy our double-buffering buffers when the
2066 control is resized or disposed, but not when visibility
2067 changes. (The code even re-created them twice every time)
2068 - Now requiring a redraw of the buffer on visibility changes
2069 (fixes bug 77654 part 2)
2070 - Not passing OnParentVisibleChanged up unless the control
2072 - CanFocus: Fixed to match MS documentation
2073 - Focus: Fixed to return actual focus state and to check if
2074 setting focus is legal before setting it
2076 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2078 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2079 when to draw focus rectangle by looking at parent focus and
2080 selected state instead. This fixes TabPages on Linux sometimes
2081 having none or multiple focus rectangles.
2082 * XplatUIX11.cs (SetFocus):
2083 - Don't set the focus if the same window already has focus
2084 - Use SendMessage instead of PostMessage (like it's Win32
2085 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2086 to match MS behaviour
2087 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2090 2006-03-07 Jackson Harper <jackson@ximian.com>
2092 * PictureBox.cs: Revert line I accidently committed last week.
2094 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2097 - Added new IsRecreating and ParentIsRecreating properties to
2098 allow testing if RecreateHandle has been called on ourselves
2099 or one of our parents
2100 - WndProc(WM_DESTROY): If our control handle is being recreated
2101 we immediately need to create the handle when receiving the
2102 destroy, that way our child windows find a valid parent handle
2103 when they themselves are being recreated upon WM_DESTROY receipt
2104 (fix for bug #77654 part 1)
2106 - DestroyWindow: WM_DESTROY must be sent to our own window before
2107 notifying any child windows. MS documents that child windows
2108 are still valid when WM_DESTROY is received. (Control now relies on
2110 - Added some fine-grain debug options
2112 2006-03-06 Jackson Harper <jackson@ximian.com>
2114 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2115 box and base calculations off this.
2116 * MdiChildContext.cs:
2117 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2120 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2122 * Splitter.cs: In situations where the affected control is added
2123 to the parent's control list after the splitter, we would not
2124 populate affected. Now we try populating it on mousedown, if
2125 it's not already set, and force it to be re-set whenever our
2128 2006-03-03 Matt Hargett <matt@use.net>
2130 * Control.cs: implement Control.Padding
2131 * Padding.cs: -Padding.All returns -1 when constructing with the
2132 implicit default ctor
2133 -Padding.ToString() matches MS.NET
2134 * ContainerControl.cs: implement
2135 ContainerControl.AutoScaleDimensions
2136 * ListControl.cs: implement ListControl.FormattingEnabled
2137 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2139 * TabPage.cs: Implement UseVisualStyleBackColor.
2140 * PictureBox.cs: Implement PictureBox.InitialImage.
2142 2006-03-03 Mike Kestner <mkestner@novell.com>
2144 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2145 event declarations to proxy to base event.
2146 * ListViewItem.cs: update to use ItemControl.
2147 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2148 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2149 column header label rendering for 0 width columns.
2151 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2153 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2154 that causes the control to be created. Fixes #77476.
2156 2006-03-02 Jackson Harper <jackson@ximian.com>
2158 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2161 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2163 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2164 passed in for the EventArgs (fixes #77690)
2166 2006-03-01 Jackson Harper <jackson@ximian.com>
2168 * ScrollBar.cs: Refresh afterbeing resized.
2170 2006-02-28 Mike Kestner <mkestner@novell.com>
2172 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2173 Clean up a tracker compile warning.
2174 * MenuItem.cs: add internal PerformPopup method.
2177 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2179 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2180 implicit expose) when the text is set to null
2182 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2184 * RichTextBox.cs (FlushText): When newline is true, we always
2185 need to split the line, even if no text is on it and we may
2186 never eat newlines. (Fixes #77669)
2188 2006-02-28 Mike Kestner <mkestner@novell.com>
2190 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2191 and set Selected instead.
2192 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2195 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2197 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2199 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2202 - Got rid of the panel. All controls are now directly added to
2204 - It is now possible to set a font with the Font property
2205 - MinSize and MaxSize property do now what they should
2206 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2207 - Searching and selecting a font with the font textbox works now,
2208 the same applies to the style and size textbox
2209 - Draw the correct 3D border in the example panel
2210 - Fixed a little mem leak (unused fonts didn't get disposed)
2211 - Many other internal updates/rewrites...
2214 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2217 - InsertRTFFromStream: Added 'number of characters inserted' argument
2218 - set_SelectedRTF: Now using the number of characters to calculate
2219 the new location for the selection and cursor (x/y cannot be used
2220 due to potentially already wrapped text)
2222 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2224 * TextControl.cs: Added property and implemented means to allow
2225 disabling recalculation of a document (can be used to speed up
2226 multiple inserts and is needed to make RTF inserts predictable, see
2228 * RichTextBox.cs: Using the new NoRecalc property of Document to
2229 keep x/y insert locations predictable. Also makes it faster inserting
2232 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2234 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2235 it's easier for a child control to handle the other messages without
2236 having to duplicate the special functionality
2238 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2239 code to handle processing the key ourselves, in order to get
2240 access to the result of KeyEventArgs.Handled. We now only call
2241 ProcessKey if they key hasn't been handled already. Fixes #77526.
2242 - set_Text: If null or empty string is given, just clear the
2243 document. Fixes part of #77526
2245 2006-02-27 Jackson Harper <jackson@ximian.com>
2247 * SizeGrip.cs: Paint the background color before painting the grip
2248 so things look right.
2249 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2251 2006-02-27 Mike Kestner <mkestner@novell.com>
2254 - Restructure layout and invalidation model to remove a ton of
2255 flicker from the control and speed up performance in general.
2256 - Add manual column resize, flickers like crazy, but I already have
2257 some ideas on how I'll fix that. (#76822)
2258 - Merge the three Icon-based views into a single layout method.
2259 - Move item selection interaction logic from the item since
2260 interaction with the collections is more appropriate to the view.
2261 - Deselection on non-item clicks.
2263 - Encapsulate most of the layout. Add some internal props to trigger
2264 layout. Move to a model where Items invalidate themselves instead
2265 of just invalidating the whole control every time something changes.
2266 - Invalidate on Text/Caption changes.
2267 - switch to an offset based layout model to avoid having to absolute
2268 position every element on item moves.
2269 - correct checkbox layout to conform to MS layout.
2270 * ThemeWin32Classic.cs:
2271 - refactor some column header drawing code.
2272 - fix string justification for column headers (#76821)
2273 - make SmallIcon labels top justified for compat with MS impl.
2274 * ThemeClearlooks.cs:
2275 - adjust to new ListViewItem internal checkbox bounds api.
2277 2006-02-27 Jackson Harper <jackson@ximian.com>
2279 * Control.cs: Change where implicit controls fall in the zorder.
2280 They are now on top of all children.
2281 - Synced AddImplicit code with Add
2282 - Removed unused enumerator.
2283 * SizeGrip.cs: Remove the TODO as its been TODONE.
2285 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2287 * TextControl.cs(Insert): Combine the last lines unless the insertion
2288 string ends with \n\n, otherwise we leave one line too many (Fixes
2289 something I noticed with the testapp for #77526; the bug itself was
2290 already fixed in the previous checkin)
2292 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2295 - SelectionColor and SelectionFont methods no longer set absolute
2296 styles. Instead, the keep font or color respectively (This
2297 resolves a long-standing FIXME in the code)
2298 - When flushing RTF text, the insert code now considers text trailing
2299 behind the insertion point (Fixes the bug where when replacing
2300 the selected text via SelectedRTF the remainder of the line behind
2301 the selection would stay on the first insertion line)
2303 - AppendText now updates the selection points after inserting text
2304 - AppendText now ensures that the last tag (sometimes 0-length) of
2305 the document is used for the style information (Fixes part of
2308 - Created new FontDefiniton class to allow describing partial style
2310 - StreamLine() now takes a lines argument, to allow it to decide
2311 whether an encountered zero-length tag is the last in the document
2312 (which must be kept to not loose the font/color contained in it,
2314 - Created Combine() and Split() methods for Marker structs, to
2315 support marker updates due to reformatted documents (soft line
2317 - Implemented Document.CaretTag setter
2318 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2319 of the last line (Not the cause, but also exposed by bug #77220)
2320 - Added LineTag argument to InsertString method, to allow callers
2321 to force a certain tag to be used (required to force use of the
2322 trailing zero-length tag of a document)
2323 - Now updating markers in Combine(), to avoid stale tag markers
2324 - Added some method descriptions to aid maintenance
2325 - Implemented new FormatText concept, allowing additive/subtractive
2326 formatting by only specifying the components that are to be
2327 changed. This was needed for resolving the RTB.SelectedColor/
2328 RTB.SelectedFont fixmes
2329 - Added Break() support method to allow breaking up linetags (used
2330 for partial formatting)
2331 - Added GenerateTextFormat() method. It is used for partial
2332 formatting and allows to generate a full font/color from given
2333 attributes and an existing tag.
2335 2006-02-26 Jackson Harper <jackson@ximian.com>
2337 * XplatUIX11.cs: Use the correct caption height.
2338 - Translate hittest coordinates to screen coords to match MS.
2339 * XplatUIWin32.cs: When we create MDI windows we need to reset
2340 some of the style flags, so we get a nice blank window, and can
2341 draw all the decorations ourselves.
2342 - Set a clipping rectangle on the non client paint event, the
2343 window manager drawing code needs one.
2344 * Form.cs: The window manager needs to know when the window state
2346 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2347 don't need to factor in border and title sizes in these
2348 methods. TODO: Remove the args and fix the call points.
2349 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2351 - Let the driver set the cursors.
2352 - Improve active window handling
2353 - Correct sizes for title bars and buttons.
2354 - Match MS drawing better
2355 * MdiWindowManager.cs: We don't need to handle border style
2356 updates specially anymore.
2357 - Check for scrollbars when windows are done moving
2358 - Handle Active properly.
2359 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2360 correctly. I am spewing the exception though, so we don't hide the
2363 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2365 * DataGridViewRowPostPaintEventArgs.cs,
2366 DataGridViewCellPaintingEventArgs.cs,
2367 DataGridViewRowCollection.cs,
2368 DataGridViewRowPrePaintEventArgs.cs,
2369 DataGridViewCell.cs: Clear a few warnings and implement a few
2370 exceptions that should be thrown.
2372 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2374 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2375 'inheriting' our parent's (non-default) cursor. (Part of
2378 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2380 * XplatUIX11.cs: Fixed cast to make csc happy
2382 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2384 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2385 it's for the client area (part of fix for #77479 and needed
2386 for MDI window cursor handling)
2388 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2389 the appropriate default cursors and also passing the message
2391 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2392 for non-client areas
2394 2006-02-15 Jackson Harper <jackson@ximian.com>
2396 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2397 is a real MDI window
2399 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2401 * X11DesktopColors.cs: Instead of checking the desktop session
2402 string for "KDE" check if it starts with "KDE"
2404 2006-02-10 Jackson Harper <jackson@ximian.com>
2406 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2409 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2411 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2414 - Got rid of the panel. All controls are now directly added to
2416 - Changed to mono coding style
2418 2006-02-10 Jackson Harper <jackson@ximian.com>
2420 * InternalWindowManager.cs: We don't need the set visibility to
2421 false hack anymore now that peter has written beautiful shutdown
2424 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2426 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2427 where already explicitly destroyed
2429 2006-02-10 Jackson Harper <jackson@ximian.com>
2431 * MdiClient.cs: Handle the case where windows are too high or to
2432 the left and we need scrollbars.
2434 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2436 * MimeIcon.cs: Added some icons
2439 - Got rid of the panel. All controls are now directly added to
2441 - Changed to mono coding style
2442 - On Linux "My Computer" and "My Network" will now show some
2443 more usefull information. A new class, MasterMount, gathers
2444 this information from /proc/mount. Updated MWFFileView to make
2445 use of this information
2446 - Fixed a bug that caused FileDialog to crash when
2447 ".recently_used" file had a zero size
2448 - FilterIndex does now what it should
2450 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2453 2006-02-09 Jackson Harper <jackson@ximian.com>
2455 * ComboBox.cs: Don't touch if null.
2457 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2459 * Cursor.cs: 64bit safeness fix
2460 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2462 2006-02-09 Jackson Harper <jackson@ximian.com>
2464 * Form.cs: If a form is made into an MDI form update the styles so
2465 all the props can get set correctly.
2466 - Kill the mdi_container when we dont need it anymore.
2467 * InternalWindowManager.cs: Add missing NOT
2469 2006-02-08 Jackson Harper <jackson@ximian.com>
2471 * InternalWindowManager.cs: Respek clipping when drawing MDi
2474 2006-02-08 Jackson Harper <jackson@ximian.com>
2476 * Hwnd.cs: Add bits to track non client expose events.
2477 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2478 gives us a proper invalid rect and will allow for some nice
2479 optimizations with NC client drawing
2480 - MDI windows are children windows, so move their style handling
2481 into the child window block.
2482 * InternalWindowManager.cs: Remove a state reset that was
2483 getting invoked at the wrong time. Fixes managed windows getting
2484 into a 'stuck' captured state.
2486 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2488 * TextControl.cs (Document.ctor): Now initializing
2489 selection_anchor. Fixes #77493
2491 2006-02-07 Jackson Harper <jackson@ximian.com>
2493 * TrackBar.cs: The increment/decrements were backwards.
2495 2006-02-07 Mike Kestner <mkestner@novell.com>
2497 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2498 to the instance itself.
2500 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2502 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2503 on ulongs and pointers, the size differs between 32bit and 64bit
2506 2006-02-07 Mike Kestner <mkestner@novell.com>
2508 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2509 for 64 bit platforms to work around a metacity bug.
2511 2006-02-07 Jackson Harper <jackson@ximian.com>
2513 * TrackBar.cs: Process the input keys we need, and hookup to
2514 KeyDown instead of using WndProc, so we get key messages.
2516 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2518 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2520 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2521 we need to translate the XdndVersion atoms array before sending it
2523 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2526 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2527 number of bits for the property, not the number of bytes. The
2528 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2529 but would not crash since it specified 8 bits instead of 4 bits)
2530 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2531 defined as XID -> long in the C headers)
2532 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2533 references since those are now IntPtr to begin with
2534 - Switched all Atom.XXX 'int' casts to IntPtr casts
2535 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2536 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2537 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2539 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2540 - Changed atom in HoverStruct to be IntPtr
2542 - Removed local DllImports, switched code to use those from XplatUIX11
2543 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2545 2006-02-06 Mike Kestner <mkestner@novell.com>
2547 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2548 method signatures in the import region. There may still be some
2549 lingering struct marshaling issues, as I didn't drill down into those.
2552 2006-02-06 Jackson Harper <jackson@ximian.com>
2554 * ComboBox.cs: Dont manually set the top_item, this is computed
2555 when the scrollbar position is set.
2557 2006-02-06 Mike Kestner <mkestner@novell.com>
2559 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2560 startup crashes on amd64. There's other fixes needed. All pinvoke
2561 usage of Atom needs to be mapped to IntPtr for example. And there are
2562 likely other int/long issues to be addressed.
2564 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2566 * FileDialog.cs: One more...
2568 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2570 * FileDialog.cs: Next try
2572 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2574 * FileDialog.cs: First part of fix for #77464
2576 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2578 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2579 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2580 AcceptButton border drawing.
2582 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2584 * Form.cs: Moved positioning of form after auto scaling is applied,
2585 otherwise it would possibly use wrong form size.
2587 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2589 * Control.cs (RecreateHandle): No need to re-create any child
2590 controls, the child windows will get destroyed automatically by
2591 the windowing system or driver, and re-created when the handle
2592 is being accessed the first time. Fixes #77456
2593 * Form.cs: No longer setting the form to closing if the handle is
2594 being recreated. This seems like the right thing to do, don't
2595 have a bug or testcase for this, though.
2597 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2599 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2600 controls to avoid unwanted side effects
2602 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2605 - ScaleCore needs to scale the bounds, not the ClientSize of the
2606 control. Fixes #77416.
2607 - DefaultSize is 0,0 for control
2609 - DefaultSize is 100, 20
2610 - SetBoundsCore: Now enforcing the height, no matter if the provided
2611 height is more or less than the preferred one, as long as AutoSize
2613 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2615 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2618 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2619 call unless both performLayout is true *and* we have a pending
2621 - ResumeLayout: MS does not completely nest Suspend and Resume,
2622 they bottom out at 0, fixed our code to match that.
2623 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2624 SetBoundsCore, we were updating even when we shouldn't. This fixes
2625 swf-anchors mis-anchoring when resizing the app fast and lots.
2626 - UpdateDistances: Now only setting the left and top distance if
2627 we have a parent and are not suspended, this is based on
2628 a suggestion by Don Edvaldson in bug #77355.
2629 - OnVisibleChanged: Fixed logic when to create the control. We may
2630 not create the control if we have no parent or if it's not visible;
2631 switched to using Visible property instead of is_visible field
2632 since the property also considers parent states. This fixes a bug
2633 when starting Paint.Net
2635 2006-02-02 Jackson Harper <jackson@ximian.com>
2637 * Form.cs: If the forms handle hasn't been created yet don't call
2638 into xplatui to make it top most, just set the topmost flag on the
2639 form in CreateParams
2640 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2642 2006-02-01 Jackson Harper <jackson@ximian.com>
2644 * ScrollableControl.cs: Refactored the Recalculate method a
2645 little, this wasn't handling all the variants of bottom and right
2646 bars needed to be added and added/removed based on their
2647 counterparts being added/removed (which changes the drawable
2648 size). Also we special case client widths and heights of 0 and
2649 don't add the scrollbar for those.
2651 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2654 - Added method to get AbsoluteGeometry(); currently unused, but might
2655 be used in the future, if we try again to figure out toplevel
2656 coordinates with some more crappy window managers
2657 - Added FrameExtents() method to retrieve the WM set decoration size
2658 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2659 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2661 - Added whacky_wm tracking var for metacity
2662 - Added logic to have default menu height if the actual menu height
2663 has not yet been calculated (part of fix for #77426)
2664 * Form.cs: Keep track whether client size has been set and re-set
2665 it if a menu is added/removed afterwards (Fixes #77426)
2667 2006-01-31 Jackson Harper <jackson@ximian.com>
2669 * Control.cs: When a new Site is set on the component attempt to
2670 pull the AmbientProperties from it.
2672 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2674 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2675 in the background of the owning form. Fixes #77332
2677 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2679 * MimeIcon.cs: Fix for #77409
2681 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2683 * XplatUIX11GTK.cs: Initial import
2685 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2687 * FixedSizeTextBox: fixes class signature
2689 2006-01-30 Jackson Harper <jackson@ximian.com>
2691 * FixedSizeTextBox.cs: New internal class that represents a
2692 textBox that will not be scaled.
2695 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2698 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2700 * XplatUIX11.cs: Retrieve default screen number instead of
2701 assuming 0. Attempted fix for #77318
2703 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2706 - GetWindowPos: When a window is parented by FosterParent, use
2707 the desktop instead of FosterParent as the base to get coordinates
2708 - CreateWindow: Don't make FosterParent the parent window for Popups
2709 if we don't want a taskbar entry, Popups automatically don't get one
2710 * Hwnd.cs: Need to call remove to actually remove the key from the
2713 2006-01-30 Mike Kestner <mkestner@novell.com>
2715 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2717 2006-01-30 Jackson Harper <jackson@ximian.com>
2720 * TreeNode.cs: Raise events no matter how the treenode is
2721 checked. Patch by Don Edvalson.
2723 2006-01-30 Jackson Harper <jackson@ximian.com>
2725 * TreeNode.cs: Signature fix.
2727 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2729 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2731 2006-01-20 Mike Kestner <mkestner@novell.com>
2733 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2734 event forwarding when menus are active.
2735 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2736 Most of the patch is pdb's with a little rework.
2738 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2740 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2741 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2742 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2743 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2744 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2745 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2746 the PaintWindowDecorations method
2747 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2748 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2749 * MenuAPI.cs: Made tracker window invisible
2751 - Removed GetMenuDC and ReleaseMenuDC methods
2752 - Implemented the client=false path for PaintEventStart and
2755 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2757 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2758 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2761 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2763 - CreateParams: Reworked the styles to match MS look'n'feel,
2764 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2765 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2767 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2769 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2770 window is not mapped, since otherwise every form that's being
2771 created is considered minimized, which is wrong.
2772 * Form.cs: Catching the exception and returning our internal value
2775 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2777 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2778 SetWindowMinMax() to have means to tell the driver about the minimum,
2779 maximum and maximized state window sizes. (Part of the fix for #76485)
2781 - Implemented tracking of minimum and maximum window size, now calling
2782 new SetWindowMinMax() driver method to tell the driver (Part of the
2784 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2785 (Completes fix for #76485)
2786 - Calling new SetWindowMinMax driver method when the handle for a
2787 form is created, to make sure the driver knows about it even if
2788 the values have been set before the window was created
2789 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2790 to avoid messing up our anchoring calculations (partial fix
2792 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2794 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2795 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2796 (and presumably other freedesktop.org compliant WMs). Left the
2797 assumption unmapped=minimized, needed for SetVisible to work.
2798 - Now setting the window state when creating windows
2799 - Fixed SetVisible to consider/set the window state when mapping
2800 a Form. We cannot set the state before it's mapped, and we cannot
2801 use Form.WindowState once it's mapped (since it would ask the
2802 driver and get 'normal'. Therefore, we grab the state before
2803 mapping, map, and then set state.
2804 - Implmemented SetWindowMinMax method; Metacity does not seem to
2805 honor the ZoomHints, though.
2807 - Removed MINMAXINFO (moved to XplatUIStructs)
2808 - Added SetWindowMinMax stub (on Win32 the only way to set that
2809 information is in response to the WM_GETMINMAXINFO message, which
2810 is handled in Form.cs)
2811 - Added logic to SetVisible to set the proper window state when a
2812 form is made visible (fixes #75720)
2814 2006-01-26 Jackson Harper <jackson@ximian.com>
2816 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2817 same way we handle them with Invoke.
2819 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2822 - Added tracking of window state so CreateParams can return
2823 the appropriate style
2824 - Moved setting of WS_CAPTION style in CreateParams to allow
2825 styles without caption
2826 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
2827 control if the TextBox property is accessed. Fixes #77345
2829 - get_Created: now uses is_disposed and is_created to determine
2830 return value (suggested by Jackson)
2831 - CreateHandle: No longer exits if the handle is being recreated
2832 - RecreateHandle: If the handle is not yet created call the
2833 appropriate method to create either control or handle. If the
2834 control is already created CreateHandle will simply exit instead
2835 of just creating the handle
2836 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2837 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2840 - When DestroyWindow is called, instead of waiting for the
2841 DestroyNotification from X11, we directly post it to the WndProc
2842 and immediately dispose the hwnd object.
2843 Same applies to DestroyChildWindows, and this obsoletes the
2844 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2845 child windows before our own, to avoid X11 errors.
2846 - Removed the direct sending of WM_PAINT on UpdateWindow
2848 - Reworked DoEvents and GetMessage to allow access to internal queue
2849 even when trying non-blocking access to the queue. Fixes #77335.
2850 Based on a patch suggestion by Don Edvalson. The new private
2851 GetMessage can now also be used as a backend for a PeekMessage
2853 * XplatUI.cs: Improved debug output for CreateWindow
2855 2006-01-25 Jackson Harper <jackson@ximian.com>
2857 * Help.cs: Allow param to be null. Patch by Don Edvalson.
2859 2006-01-24 Jackson Harper <jackson@ximian.com>
2861 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2862 when we have a MaxDropItems lower then the selected index.
2864 2006-01-24 Jackson Harper <jackson@ximian.com>
2866 * Control.cs: Don't allow selection of non visible controls, allow
2867 selection of controls without parents.
2869 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2871 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2872 * DataGridDrawingLogic.cs: Add editing row only when is necessary
2874 2006-01-23 Jackson Harper <jackson@ximian.com>
2876 * UpDownBase.cs: Make the textbox handle all the selection and
2877 tabbing. This fixes tabing to updown controls.
2879 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2881 * TextBoxBase.cs: fixes exception thown the object was null
2883 2006-01-23 Jackson Harper <jackson@ximian.com>
2885 * ButtonBase.cs: Just use the base CreateParams. They set
2886 visibility and enabled correctly.
2889 * MonthCalendar.cs: Lets let the base set as much of the
2890 createparams as possible so we don't have duplicate code all over
2893 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
2895 * ThemeGtk.cs: Added TrackBar and some experimental code to
2896 get double buffering back
2898 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2900 * DataGrid.cs: Allows row number set internally higher than the last
2901 when creating a new row. Restores the editing functionality.
2903 2006-01-20 Mike Kestner <mkestner@novell.com>
2905 * MimeIcon.cs: delay Image creation until the icons are accessed
2906 instead of creating 190 scaled images on GnomeHandler startup.
2908 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2910 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2911 first call base before processing the event. Fixes #77279
2913 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2915 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2916 that the stride for the GDI bitmap would match the stride of
2919 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2921 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2923 2006-01-19 Jackson Harper <jackson@ximian.com>
2925 * ComboBox.cs: Hookup the text controls keydown event so we get
2926 those when the text control has the focus.
2928 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2930 * Label.cs: Now using the base events instead of defining new ones;
2931 this allows us to just call the base properties without having to
2932 duplicate all base property logic
2934 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2936 * Label.cs: A label by default is not a tabstop (Fixes one of our
2937 failing nunit tests)
2939 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2941 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2942 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2944 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2946 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2947 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2950 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2951 constructor creates images that can't be saved. Part of the fix
2953 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2954 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2955 bug fix for handling window state in forms properly)
2957 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2959 * ThemeGtk.cs: Simplify ScrollBar drawing
2961 2006-01-18 Jackson Harper <jackson@ximian.com>
2963 * Splitter.cs: Set the default dock style for the splitter control
2966 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2968 * ThemeGtk.cs: Corrected StateType and ShadowType for
2971 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2973 * Control.cs: Make use of Theme.DoubleBufferingSupported
2975 - Added drawing for flat style buttons
2976 - Added ScrollBar drawing
2978 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2980 * ThemeClearlooks.cs: Removed some unneeded code.
2981 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2983 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2985 * LinkLabel.cs: We need to update the hover drawing when
2986 leaving the control as well.
2988 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2990 * DataGrid.cs: Clicking on non empty areas in the columns
2991 area was giving an exception
2993 2006-01-17 Jackson Harper <jackson@ximian.com>
2995 * ThemeWin32Classic.cs:
2996 * ListView.cs: Do not draw/clip the headers when the header style
2999 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3001 * DataGrid.cs: Fixes 77260
3003 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3005 * DataGrid.cs: Clicking on a column on a empty grid was giving
3008 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3010 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3011 or any keypress will crash the grid.
3013 2006-01-17 Mike Kestner <mkestner@novell.com>
3015 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3016 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3017 invisible/previously-visible items.
3020 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3022 * ThemeClearlooks.cs:
3023 - Added CL_Draw_Button method; now other theme controls that are
3024 not derived from button or do not have a button can draw buttons
3026 - Updated ComboBox drawing
3027 - Beautified RadioButton drawing
3028 - Corrected drawing of bottom and left tabs
3029 - Beautified DateTimePicker and MonthCalendar
3030 - Added CPDrawButton and CPDrawRadioButton
3032 2006-01-16 Jackson Harper <jackson@ximian.com>
3034 * ComboBox.cs: Set the initial value of the scrollbar to the
3035 current index. Reduce the numbers of refreshs and IndexOfs called.
3037 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3039 * FileDialog.cs: When the file listview is focused hitting the
3040 backspace key moves the fileview to the parent directory
3042 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3045 - Added RecreateHandle call when changing taskbar visibility to
3046 trigger reparenting in Win32 driver (Fixes #75719)
3047 - If a window has minimize or maximize buttons, it cannot have
3050 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3051 the toplevel form with FosterParent (A toolwindow not on the
3052 taskbar) (Fixes #75719)
3053 - Made FosterParent a toolwindow
3055 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3057 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3059 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3061 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3062 is currently over that control, make sure that tooltip_window.Text
3065 2006-01-13 Mike Kestner <mkestner@novell.com>
3067 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3069 2006-01-13 Jackson Harper <jackson@ximian.com>
3071 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3072 value passed. Also redraw the selected node when we recieve
3073 focus, so tabbing between trees works correctly.
3075 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3077 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3078 ~/.gconf/%gconf-tree.xml, so use
3079 .gconf/desktop/gnome/interface/%gconf.xml
3081 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3083 * TextControl.cs: Draw text in gray if control is disabled
3085 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3087 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3088 make sure it's always visible. Fixes #76680.
3090 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3092 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3094 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3096 * PageSetupDialog.cs: Added.
3097 * PrintDialog.cs: Attributes.
3098 * PrintPreviewControl.cs: Updates.
3099 * PrintPreviewDialog.cs: Updates.
3101 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3103 * Control.cs: Undid my selection check fix, since it's not needed
3105 - Now considering the presence of hscroll/vscroll when sizing
3106 vscroll/hscroll respectively. Fixed bug #77077
3107 - Added Left/Up/Down/Right to IsInputKey list to prevent
3108 ContainerControl from stealing them. This fixes what I broke
3109 with my last checkin.
3111 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3113 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3114 I finally understand how the property can be set without a setter :-)
3116 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3119 - Switched RunLoop to use static Message.Create to create a
3121 - Added PreProcessMessage call in runloop for keyboard events; this
3122 is part of the fix for #77219, I overlooked this originally in the
3123 MSDN doc for PreProcessMessage
3125 - Removed call to PreProcessMessage from handling of keyboard
3126 messages; it's supposed to be done in the message pump
3127 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3128 per MSDN documentation.
3129 - IsInputChar: All chars are input chars by default; removed the
3130 parent calling chain, MS does not document that
3131 - PreProcessMessage: If IsInputChar is true, we want to return false
3132 to allow dispatching of the message
3133 - When selecting the next control, now also check that we're not
3134 selecting ourselves again and therefore return a false positive.
3136 - Tried to match return values for IsInputKey and ProcessDialogKey
3137 to what MS returns; moved processing of our special keys outside
3138 ProcessDialogKey since MS does not seem to return true on those.
3139 - Moved code that previously was in ProcessDialogKey into new private
3140 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3141 - Reworked handling of WM_CHAR to not have to duplicate code from
3142 Control.cs anymore, instead we simply call down to base.
3144 2006-01-12 Jackson Harper <jackson@ximian.com>
3146 * ComboBox.cs: We always need to refresh the text area when
3147 EndUpdate is called. Fixes the combobox in the file dialog.
3148 * Control.cs: Don't create the creator_thread until the controls
3149 handle is created. Also in InvokeRequired we check if the
3150 creator_thread is null. This gives the effect of InvokeRequired
3151 returning true if the controls handle is not created yet, and
3154 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3157 - Added StartLoop() driver method. This is used to allow drivers to
3158 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3159 loop for a particular thread
3160 - Added EndLoop() driver method. This is called once the message
3161 pump for the thread is shut down
3162 - Added SupportsTransparency method to allow the driver to indicate
3163 opacity support for windows
3165 - Removed TODO attribute, completed AllowTransparency property
3166 - Added documented logic to Opacity
3167 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3168 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3169 versions of CompatibleTextRendering
3170 * X11Structs.cs: Added opacity atom to our atom enumeration
3171 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3172 of a form might be set before it's reparented by the WM, and we need
3173 the opacity value without calling up to Form)
3174 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3175 SupportsTransparency() driver methods
3176 * Application.cs: Now calling StartLoop and EndLoop driver methods
3178 - Added opacity atom registration
3179 - Added StartLoop()/EndLoop() methods. They're empty right now but
3180 will need to get implemented when we switch to a per-thread queue
3181 - Implemented SupportsTransparency() method
3182 - Implemented SetWindowTransparency() method
3183 - Added support for setting the opacity value when a window is
3184 reparented (since the opacity needs to be set on the WM frame)
3185 * XplatUIOSX.cs, XplatUIWin32.cs:
3186 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3188 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3190 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3192 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3194 * FileDialog.cs: Added ToolTip for MWFFileView
3195 * MimeIcon.cs: Rewrote GnomeHandler.
3196 - Get currently used gnome icon theme from
3197 ($HOME)/.gconf/%gconf-tree.xml
3198 - Make use of inherited icon themes
3199 - Support SVG icon themes like Tango via librsvg
3201 2006-01-12 Miguel de Icaza <miguel@novell.com>
3203 Revert's Jackson's revert which broke 2.0 builds. Fix both
3206 * Application.cs: Move the use_compatible_text_rendering outside
3207 the NET_2_0 define. If we ever need to use the
3208 use_compatible_text_rendering on the individual controls they will
3209 access the variable from the common shared code paths.
3211 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3214 - Added more granular debug options
3215 - Added method to print both window text and id
3216 - Switched debug output to use new Window() debug method
3217 - Added IsEnabled() driver method
3218 - Added EnableWindow() driver method
3220 - Removed end_modal; no longer needed, new loop handles termination
3221 via 'closing' variable
3222 - If form is modal, setting DialogResult will now initiate loop
3223 termination via 'closing' variable
3224 - Added support for is_enabled/WS_DISABLED to CreateParams
3225 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3227 - Removed code that's now in RunLoop from ShowDialog()
3228 - Added various documented sanity checks to ShowDialog()
3229 - Added handling of WM_DESTROY message; we set 'closing' on getting
3230 the message to indicate the message pump to terminate
3231 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3232 send by the Application.ExitThread method. (We send the message
3233 to destroy the window after all other events have been
3234 processed through the queue, instead of destroying the handle
3236 - Moved code from Close() method to WM_CLOSE handler; added logic
3237 to only send close-related events if the form is not displayed
3239 * Splitter.cs (..ctor): Fixed typo in resource name
3241 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3243 - set_Cursor: Now only setting calling into XplatUI if the handle for
3244 the control is already created; this avoids implict handle creation
3245 or crashes if it's not created
3246 - set_Enabled: Now setting the enabled state via the new driver method
3247 instead of just tracking it
3248 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3249 - CreateControl: Reordered event firing and method calls to more
3250 closely fire events in the order MS does. Now setting the
3251 enabled state in the driver when creating the control.
3252 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3254 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3255 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3256 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3258 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3259 - Added EnabledHwnd property to easily allow a driver to find the
3260 handle of the first enabled window in the parent chain (this is
3261 used by drivers to pass up input events of disabled windows)
3262 * XplatUIDriver.cs: Added IsEnabled() method
3264 - Removed crude and obsolete exiting tracking variable
3265 - Removed internal ModalRun(); replaced by RunLoop()
3266 - Implemented private CloseForms() method to allow closing all
3267 windows owned by a particular (or all) threads
3268 - Exit() now properly closes all windows without forcing the message
3270 - Removed obsolete InternalExit() method
3271 - Changed Run() methods to use new RunLoop() message pump
3272 - Implemented new RunLoop() method for both modal and non-modal forms
3274 - get_CreateParams: Added setting of WS_DISABLED
3275 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3276 invoked via Form.ShowDialog()
3277 * NativeWindow.cs: We don't remove the window from the collection when
3278 the handle is destroyed; there might still be messages for it in the
3279 queue (mainly the resulting WM_DESTROY); instead it will be removed
3280 when Control calls InvalidateHandle in the WM_DESTROY handler
3282 - CreateWindow: Added logic to handle the WS_DISABLED window style
3283 - EnableWindow: Implemented based on Hwnd.Enabled
3284 - GetMessage: Reset PostQuitState so the method can be called again
3285 - Implemented support for disabled windows (passing messages to the
3286 first enabled parent) in handling all input messages
3287 - Added optimizations for handling Expose events
3288 - Implemeted new driver method IsEnabled()
3289 - Now always resetting paint pending tracking vars when we start paint
3290 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3291 * XplatUIOSX.cs: Added IsEnabled method stub
3292 * XplatUIWin32.cs: Implemented new IsEnabled() method
3294 2006-01-11 Jackson Harper <jackson@ximian.com>
3296 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3297 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3299 * ColorDialog.cs: Clear out the old form before adding the new
3302 2006-01-11 Jackson Harper <jackson@ximian.com>
3304 * X11Dnd.cs: Make sure to add all the text formats when adding
3305 strings to the data object.
3306 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3307 do some redrawing too. Also change the UpdateNode to an
3308 UpdateBelow so the newly added node gets painted.
3310 2006-01-11 Miguel de Icaza <miguel@novell.com>
3312 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3313 LinkLabel.cs, PropertyGrid.cs: Implement the
3314 UseCompatibleTextRendering property for 2.x
3316 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3318 2006-01-11 Jackson Harper <jackson@ximian.com>
3320 * TreeView.cs: Use the property for setting the selected node so
3321 the correct events get raised.
3322 * TreeNode.cs: Update the tree when the fore/back colours of a
3325 2006-01-10 Jackson Harper <jackson@ximian.com>
3327 * TreeView.cs: Allow setting SelectedNode to null.
3329 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3331 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3333 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3335 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3337 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3339 * PrintDialog.cs: Added attributes and set default property values.
3341 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3343 * PrintControllerWithStatusDialog.cs:
3344 Added PrintControllerWithStatusDialog.
3346 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3348 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3349 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3351 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3353 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3355 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3357 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3358 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3360 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3362 * MimeIcon.cs: Added internal class SVGUtil.
3364 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3366 * FileDialog.cs: Don't crash if there are two files with the
3367 same name but different locations.
3369 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3371 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3372 dates across multiple month grids. Used to not highlight entire
3373 month, but does now.
3375 2006-01-06 Jackson Harper <jackson@ximian.com>
3377 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3378 message loop. Change timer intervals to numbers that seem more
3381 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3383 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3384 object for location info since screen object is now implemented.
3386 2006-01-05 Jackson Harper <jackson@ximian.com>
3388 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3389 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3390 AsyncMethodResult, this is because we ALWAYS want the
3391 ManualResetEvent to get set.
3392 * Control.cs: When disposing use an async invoke to call shutdown
3393 code, so that thigns don't block on the finalizer thread. Also
3394 check if we even have a message loop before trying to send
3395 messages, if we don't then don't bother sending messages.
3396 - No more weak references for async methods
3397 * XplatUIDriver.cs: No more weak references for async methods.
3399 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3401 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3402 returns two FontFamily with the same name
3404 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3406 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3407 drawing disabled text. Instead using the ColorGrayText color
3409 2006-01-04 Jackson Harper <jackson@ximian.com>
3411 * TreeNode.cs: redraw the node when its image index is changed.
3413 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3415 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3416 time I checked there are no others like it.
3418 2006-01-04 Jackson Harper <jackson@ximian.com>
3420 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3421 this gives the behavoir I was looking for.
3422 * Control.cs: Special case Invoking EventHandlers, this matches MS
3423 and fixes part of bug #76326.
3425 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3427 * ThemeClearlooks.cs, FileDialog.cs:
3428 - Reflect the latest Theme class changes
3429 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3432 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3434 * Theme.cs: Cache UI resource images and resize them if needed
3436 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3438 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3439 is called. This fixes the crash in Nexxia when setting the font
3440 attributes in the chat. [However, RTF needs a look-over to make sure
3441 that all SelectionXXX methods handle the special case that selection
3442 is empty and therefore the change must be applied to all text starting
3443 at the cursor/selection start]
3445 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3447 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3448 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3449 * X11Keyboard.cs: Switched to new way of calling PostMessage
3451 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3453 * Theme.cs: Added theme interface for images to allow the theme to
3454 control what images are used for things like FileDialog, MessageBox
3456 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3458 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3461 - Removed some dead code
3462 - Opening a recently used file does work now
3463 - Small UI enhancements
3466 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3468 * FileDialog.cs: Forgot too add __MonoCS__
3470 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3472 * FileDialog.cs: We are able to read recently used files now let's
3473 go on and write them.
3475 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3477 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3479 * MimeIcon.cs: Do a check for the top level media type also
3481 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3483 * ThemeClearlooks.cs:
3484 - Added CPDrawStringDisabled
3485 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3486 some chars if the text doesn't fit into text_rect
3487 - DrawListViewItem: If View = View.LargeIcon center the image;
3488 rewrote the drawing of ListViewItem.Text if View =
3491 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3493 * MimeIcon.cs: Use default KDE icon theme if there is no
3494 "48x48" directory for the current icon theme, fixes #77114
3495 * Mime.cs: Disable not working and actually not used code.
3496 * ThemeWin32Classic.cs:
3497 - Replace "new SolidBrush" in GetControlBackBrush and
3498 GetControlForeBrush with ResPool.GetSolidBrush
3499 - Changed DrawListViewItem from private to protected virtual
3501 - Added form.MaximizeBox = true
3502 - Don't throw an exception if there is a broken symbolic link
3504 2005-12-23 Jackson Harper <jackson@ximian.com>
3506 * TabControl.cs: Give the panels focus, keyboard navigation is
3507 fixed so this works correctly now.
3508 - We need these key events also.
3509 * ToolBar.cs: Remove some of the poor mans double buffering.
3511 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3513 * ComboBox.cs: The internal TextBox now returns the focus.
3515 2005-12-23 Jackson Harper <jackson@ximian.com>
3517 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3519 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3521 * Control.cs: Removed debug code
3522 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3525 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3527 * Control.cs: When creating the control, update the Z-order after
3528 all it's children are created, too. (Fixes nexxia not showing
3531 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3533 * Control.cs: Do not update the anchoring distances if layout is
3534 suspended, instead do it once layout is resumed
3536 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3539 - After many hours of debugging, for both Jackson and
3540 myself, it turns out that it helps to set the parent of a control
3541 if you want to actually see it onscreen. In the spirit of that
3542 discovery, we're now setting the parent of the control and
3543 it's children when the control's handle is created. This fix
3544 will make Lutz Roeder's Reflector run happily.
3545 - now just creating the handle instead of the whole control when
3546 getting a graphics context for the control.
3548 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3550 * ScrollableControl.cs: When calculating the canvas, don't consider
3551 the scrollbar widths. Instead, predict if horizontal scrollbar
3552 will affect canvas when deciding on vertical display and vice versa.
3554 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3556 * RichTextBox.cs: Set default RTF font for documents that don't
3557 have a font table (Fixes #77076)
3559 2005-12-22 Jackson Harper <jackson@ximian.com>
3561 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3562 clipboard. This prevents a NullRef in that case.
3563 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3564 clipboard. PRIMARY is for the currently selected text only. (We
3565 should implement PRIMARY at some point.
3567 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3569 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3570 a Unicode function with a structure that was defined in Ansi way.
3573 2005-12-21 Jackson Harper <jackson@ximian.com>
3575 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3576 on. Because thats how it rolls. (and this avoids it using ambient
3578 * ThemeWin32Classic.cs: Use the proper back color for filling.
3579 * Menu.cs: Use the system menu bar color for drawing menu
3580 bars. Using the window back color will bring ambient colours into
3583 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3585 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3586 Bitmaps were created and not disposed.
3588 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3590 * Control.cs (CreateControl): Don't do anything if the control is
3591 already created, otherwise we'd fire the OnCreated event more than
3594 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3596 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3597 will always match. Instead return -1. Fixes #76464.
3599 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3601 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3602 neither the beginning nor the end of the line (Fixes bug #76479)
3604 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3607 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3608 where handle is invalid
3609 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3610 instead of slower linear search
3611 * NativeWindow.cs: Don't remove the window from the hashtable until
3612 after the driver has destroyed it (since the driver might use
3613 Control.FromHandle to lookup the control object
3614 * Hwnd.cs: Added DestroyPending property to track if a window is
3615 already destroyed as far as the driver is concerned and only hasn't
3616 yet notified the control
3618 - Activate(): Check if the window is still valid before using the
3620 - Implemented DestroyChildWindow() method to mark child windows as
3621 destroyed when a window is destroyed. This prevents situations
3622 where we might call an X method based on queued events for a
3623 window that already has been destroyed but we haven't yet pulled
3624 the destroy method from the queue.
3625 - Added a call to the new DestroyChildWindow() method to the drivers
3626 DestroyWindow code. Also now marking the destroyed window itself
3629 2005-12-20 Jackson Harper <jackson@ximian.com>
3632 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3633 anymore. Just do them when needed, also track the rects of panels
3634 so that we can optimize refreshing more in the future.
3636 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3638 * ColorDialog.cs: Fixed focus drawing in small color controls
3640 2005-12-19 Jackson Harper <jackson@ximian.com>
3642 * InternalWindowManager.cs:
3643 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3644 moving windows works properly.
3646 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3649 - Removed call to InitLayout() from SetBoundsCore(); doc says
3650 it's only called when a control is added to a container
3651 - Split InitLayout logic, moved to separate UpdateDistances() method
3652 since we need to perform those calculations more often than just
3653 when adding the control to a container. (Needed to fix #77022)
3654 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3655 - Reduced the OnBindingContextChanged events count, don't send them
3656 unless the control is created, we still aren't totally matching
3657 MS, but I can't quite figure out some of their rules
3659 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3661 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3664 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3666 * ThemeClearlooks.cs:
3667 - Updated ProgressBar drawing
3668 - Corrected drawing of ScrollBars and scroll buttons
3669 - Some temporary fixes for minor pixel artefacts
3671 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3674 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3675 cause events to be sent in the same order as MS does.
3676 - Added ChangeParent() method to trigger various OnXXXChanged events
3677 that need to be fired when a parent changes (This is a reworking
3678 of the patch from r54254, with the X11 errors fixed)
3679 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3680 since on MS we get OnLayoutChanged events when calling Clear()
3681 - Changed Enabled property to consider parent state as well, if a
3682 parent is not enabled, the control will not be either
3683 - Changed Parent property to simply call Controls.Add() since that
3684 now does all the work required, this way we avoid code duplication
3685 - Threw in a few OnBindingsContextChanged calls to try and match
3686 when MS sends them. We seem to send a few too many, though.
3687 - Added call to CreateControl when adding the control to a parent.
3688 We were never calling CreateControl. Still needs some work, in
3689 some places we treat HandleCreated and ControlCreated as equal,
3691 - Removed obsolete commented out code from UpdateZOrder()
3693 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3695 * ThemeClearlooks.cs: Updated TrackBar drawing.
3697 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3699 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3701 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3703 * FileDialog.cs: Add the Help button and the open readonly
3704 checkbox only if needed
3706 2005-12-16 Jackson Harper <jackson@ximian.com>
3708 * Control.cs: Make sure we have an active menu before trying to
3709 process commands on it. Prevents menu-less forms from crashing
3710 when Alt is pressed.
3711 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3713 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3716 2005-12-16 Jackson Harper <jackson@ximian.com>
3718 * InternalWindowManager.cs: Don't translate tool windows screen
3719 coordinates. This fixes windows 'bouncing' around when being moved.
3721 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3724 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3725 not quite MS compatible, MS uses that number only for single line
3726 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3728 - Now enforcing the MaxLength limit when entering characters
3729 - Added argument to internal Paste() method to track if it's called
3730 from programatically or via keyboard, since keyboard driven pastes
3731 need to enforce max-length
3732 - Added logic to Paste to only paste as many chars as MaxLength
3734 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3736 - Added Length property to return number of characters in document
3737 - Added private CharCount property which only tracks actual chars
3738 in the document (no linefeeds) and fires event when CharCount
3740 - Added tracking of character count to all methods that alter it
3741 - Added LengthChanged event to allow applications to subscribe
3742 to any changes to the document
3744 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3747 - Removed local password_char field (moved to TextBoxBase)
3748 - Now setting the document's password var when password is
3751 - Added password_char field (needed here so MultiLine can
3753 - Added logic to MultiLine property setter to set the document's
3754 variable when password display is allowed
3755 - Removed debug code and made some debug code conditional
3757 - Added RecalculatePasswordLine() method to handle special password
3759 - Added PasswordChar property, also added related tracking vars
3760 - Draw() method now uses local text var for grabbing text to draw,
3761 this var is set to line.text unless we're doing password display,
3762 then it is set to the pre-generated all-password-chars line
3763 - Added calling RecalculatePasswordLine() method for password lines
3765 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3768 - Added Reparented property to allow tracking of Window Manager
3769 reparenting actions (which affect X/Y calculations of toplevel
3771 - Made ToString() print window handles in hex
3773 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3774 determine if X/Y needs offsetting
3775 - AddConfigureNotify(): Fixed offset calculations
3776 - Now adds ReparentNotify messages into the queue
3777 - Now processes ReparentNotify messages and causes a
3778 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3779 is reparented (as most likely it's X/Y coordinates are changed
3782 2005-12-14 Jackson Harper <jackson@ximian.com>
3784 * XplatUIX11.cs: Tool windows still need to respek focus.
3786 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3788 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3789 have a working release
3791 2005-12-13 Jackson Harper <jackson@ximian.com>
3793 * Form.cs: Update styles after setting the border style regardless
3794 of whether or not the window is using a window manager.
3796 2005-12-13 Jackson Harper <jackson@ximian.com>
3798 * Form.cs: We now hook into an internal window manager instead of just an
3799 MDI subsystem, this is so we can have properly behaving tool windows.
3800 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3801 * InternalWindowManager.cs: New internal class that acts as a
3802 window manager for tool windows and as a base for mdi windows.
3803 * MdiWindowManager.cs: New class that acts as a window manager for
3806 2005-12-12 Jackson Harper <jackson@ximian.com>
3808 * Control.cs: Updates so we match behavoir for for implicit
3809 controls. Fixes explosions in MDI.
3811 2005-12-12 Jackson Harper <jackson@ximian.com>
3813 * Control.cs: Implement Invalidate (Region).
3815 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3818 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3819 the same events as MS does. MS fires events for each property
3820 except, for unknown reasons, Cursor, when the control is reparented.
3821 I can't seem to totally match add/remove since MS also fires some
3822 VisibleChanged events, which makes no sense. Consolidated the
3823 parenting code into a separate method so it can be called from
3824 both Add and Remove. set_Parent no longer needs any special logic
3825 as it calls the parent's add method which implicitly fires
3827 - Removed some obsolete code and debug output
3828 - Enabled state is inherited from parents, if this is enabled
3830 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3832 * Form.cs: Removed commented out code
3834 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3837 - Added internal version of Invoke, with additional argument
3838 indicating if we're calling it from a Dispose() handler. That
3839 way we can avoid BeginInvoke throwing an exception if we're
3840 calling for an already destroyed window.
3841 - Added a dispose argument to BeginInvokeInternal, and made the
3842 check if a valid window handle chain exists conditional on
3843 it not being a dispose call
3844 - Removed code in DestroyHandle to destroy our children. Since we
3845 now handle the WM_DESTROY message we will catch all our children
3847 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3849 - Added a field to track the application context of the form.
3850 - No need to set closing variable as response to WM_CLOSE, instead
3851 we destroy the window. We also call PostQuitMessage if the form
3852 has an application context (which makes it the main app form,
3853 which, when closed terminates the app)
3855 - Dropped Exit() method, it's naming was confusing
3856 - Added PostQuitMessage() which causes GetMessage to return false
3857 once the message queue is empty
3858 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
3860 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3861 no longer a valid XplatUI method, but left it in since it's used
3862 internally. Added empty PostQuitMessage() method.
3863 * MenuAPI.cs: Replaced call to Exit() with call to
3864 PostQuitMessage, even though this is probably no longer needed.
3865 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3866 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3868 - Replaced call to XplatUI.Exit() with PostQuitMessage()
3869 - Removed old debug code that would call XplatUI for exception
3870 display, enabled standard exception handling (Still not enabled
3871 though, until NativeWindow's ExternalExceptionHandler define
3874 - Added internal method to allow control to update NativeWindow
3875 after a window has been destroyed
3876 - Added handling of already destroyed windows when calling i
3878 - Added removal of handle from list on ReleaseHandle
3880 - Dropped GetMessageResult var and related code
3881 - Added PostQuitState to field to track if PostQuitMessage has been
3883 - Dropped Exit() method
3884 - Added PostQuitMessage() method
3885 - GetMessage now will return false if PostQuitState is set and no
3886 more messages are in the queue.
3887 - Expose handler will no longer generate WM_PAINT messages if we are
3888 in PostQuitState since it's very likely any windows have already
3889 been destroyed, and since Hwnd won't get updated until we have
3890 processed the DestroyNotify we'd be causing X errors.
3892 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3894 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3895 Thanks to Mike for pointing out the err of my ways.
3897 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3899 * Control.cs(PreProcessMessage): Moved menu handling back, but
3900 after all other key handling, to match MS (who handles Menu in
3902 * Menu.cs (WndProc): Removed my brainfart
3904 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3906 * Control.cs(PreProcessMessage): Removed special menu handling
3907 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3909 2005-12-07 Mike Kestner <mkestner@novell.com>
3911 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3912 state according in tracker.
3913 * Menu.cs : promote tracker field to base class and provide a tracker
3914 lookup capability. Add/Remove shortcuts dynamically if the top menu
3915 has a tracker. Unparent items that are removed from the collection.
3916 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3917 * Theme*.cs: add always_show_hotkeys field to support configurability
3918 of mnemonic display. win32 doesn't show mnemonics until Alt is
3921 2005-12-07 Jackson Harper <jackson@ximian.com>
3923 * MdiChildContext.cs: Use Control.ResetCursor.
3924 * Control.cs: ResetCursor needs to set the property so that the
3925 correct XplatUI call gets made.
3927 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3929 * Control.cs: More fixes to make our key events match MS. We
3930 were not setting the modifier state on KeyData, and we were
3931 not generating any events when Alt was pressed with a key
3932 since handling of WM_SYSxxx was missing for the OnKey methods.
3934 2005-12-07 Jackson Harper <jackson@ximian.com>
3936 * MdiChildContext.cs: reenable the sizing code.
3937 - When the mouse leaves a window reset its cursor.
3939 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3941 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3943 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3945 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3946 widths of Fixed3D borders
3948 2005-12-07 Jackson Harper <jackson@ximian.com>
3950 * MdiClient.cs: Fix warnings. Earn Mike's love.
3952 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3954 * ThemeClearlooks.cs:
3955 - Adjusted mouse over button color
3956 - Added first parts of CheckBox drawing
3957 - Added correct color for selected text background
3958 - Fixed ComboBox drawing
3959 - Added CPDrawBorder3D and CPDrawBorder
3961 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3963 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3965 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3967 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3968 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3969 alert users via sound. We could add an enum arg with different
3970 types of alerts in the future
3972 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3974 * Control.cs: Fix behaviour problems pointed out by Mike
3976 2005-12-05 Mike Kestner <mkestner@novell.com>
3978 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3979 prop setters. Calls parent.Refresh for now, but could be maybe be
3980 optimized with an internal method on StatusBar at some point.
3983 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3985 * RichTextBox.cs: Implemented get_SelectionColor
3987 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3989 * ThemeClearlooks.cs:
3991 - Draw black button border only if button is Form.AcceptButton
3992 - Draw correct button color for pressed RadioButton if the mouse
3993 has entered the button
3994 - Updated ProgressBar drawing!
3995 - Updated CPDrawSizeGrip drawing
3996 - Updated StatusBarPanel drawing
3998 2005-12-05 Mike Kestner <mkestner@novell.com>
4000 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4001 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4003 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4005 * ThemeClearlooks.cs: Initial check-in, activate with
4006 export MONO_THEME=clearlooks
4007 * ThemeEngine.cs: Added ThemeClearlooks
4009 2005-12-03 Mike Kestner <mkestner@novell.com>
4011 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4014 2005-12-02 Jackson Harper <jackson@ximian.com>
4016 * Form.cs: If the child form has no menu the default main menu is
4017 used as the active menu.
4019 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4021 * ListBox.cs: Check if any items exist before trying to resolve
4022 coordinates into items
4024 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4026 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4027 as the second color for the background hatch
4029 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4031 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4032 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4033 sure that what we pass to FormatText is always 1-based. Fixes #76885
4035 2005-11-29 Miguel de Icaza <miguel@novell.com>
4037 * NumericUpDown.cs (EndInit): When we are done initializing,
4038 reflect any updates on the UI.
4040 2005-12-02 Jackson Harper <jackson@ximian.com>
4042 * ImplicitHScrollBar.cs:
4043 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4044 their container controls.
4045 * TreeView.cs: Use the new implicit scrollbars.
4047 2005-12-02 Jackson Harper <jackson@ximian.com>
4049 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4051 * TreeNodeCollection.cs: If we remove the topnode we need to
4052 update topnode to the next node in line.
4053 - When clearing nodes go through the same process as removing
4054 them, so they get depareneted and checked if they are top node.
4056 2005-12-01 Jackson Harper <jackson@ximian.com>
4058 * TreeView.cs: When imagelists are used the image area is
4059 selectable as well as the text.
4060 - If there are no selected nodes select the first one.
4061 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4062 so don't do it more then we need to.
4064 2005-12-01 Jackson Harper <jackson@ximian.com>
4066 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4067 that arrows can be scaled.
4069 2005-12-01 Jackson Harper <jackson@ximian.com>
4071 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4072 fail. Patch by Dieter Bremes
4074 2005-11-30 Jackson Harper <jackson@ximian.com>
4076 * Form.cs: Property is 2.0 only
4077 * PrintDialog.cs: Signature fix.
4079 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4082 - No longer artificially moves text 2 pixels down (now that we have
4083 borders this is no longer needed)
4084 - Added calcs for left, hanging and right indent
4086 2005-11-23 Mike Kestner <mkestner@novell.com>
4088 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4090 2005-11-30 Jackson Harper <jackson@ximian.com>
4092 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4093 get cloned as part of CloneMenu ().
4094 * Menu.cs: Make sure the parent of the items get set correctly
4095 when they are added. And the owners are notified of the changes.
4096 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4097 we can change the menu being displayed/handled by the form without
4098 changing the menu assosciated with the form.
4099 - Don't let Mdi children draw/handle menus.
4101 2005-11-30 Jackson Harper <jackson@ximian.com>
4103 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4104 a MenuChanged event. Just to make the API a little more
4107 * MenuItem.cs: Use the new OnMenuChanged
4108 * MdiChildContext.cs: Handle menu merging.
4109 * Form.cs: Implement MergedMenu.
4111 2005-11-30 Jackson Harper <jackson@ximian.com>
4113 * Menu.cs: We were misusing Add. Add goes behind the specified
4114 index according to the docs, and does not replace the specified
4115 index. So I added an Insert method.
4117 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4119 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4120 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4122 * RichTextBox.cs: Added calls to base for DnD events
4124 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4127 - Fixed drag-selection related crash; style fixes
4128 - Implemented undo class
4129 o Implemented method to capture document state for specified
4130 range in document tree
4131 o Implemented method to restore captured document state
4132 o Implemented cursor tracking
4133 o Implemented basic undo stack
4134 - Added undo cursor tracking to methods altering cursor location
4135 - Added undo tracking to selection deletion (still missing
4136 other text-altering hookups)
4138 - Added SelectionLength property
4139 - Implemented CanPaste()
4140 - Implemented Paste()
4141 - Added missing protected methods
4142 - Fixed RTF->Document conversion; now uses font index 0 and color
4143 index 0 as the default font for the parsed text
4144 - Fixed RTF<->Document font size translation
4145 - Fixed RTF generation, now properly handles cross-tag boundaries
4146 for single line selection
4147 - No longer always appends blank line to generated RTF
4149 - Added missing attributes
4150 - Hooked up undo-related methods
4152 - Implemented Copy()
4153 - Implemented Paste()
4155 - Fixed caret mis-behaviour on backspace across line-boundaries
4157 2005-11-29 Jackson Harper <jackson@ximian.com>
4159 * MdiClient.cs: Add a method for activating mdi children. Very
4160 basic right now. I imagine someday it might need more girth.
4161 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4162 children windows names are added to the menu item.
4163 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4164 mdilist. This happens regardless of whether or not there are any
4165 mdi windows to see in the list, and according to my tests happens
4166 before the items are even added. Also happens if there isn't even
4167 an mdi client to get windows from.
4169 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4171 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4172 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4174 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4176 * DataGridTableStyle.cs:
4177 - Create always the styles for the missing columns even if they are
4178 provided by the user (not default table style)
4181 - Fixes SetDataBinding (always re-attach source)
4182 - Fixes SetNewDataSource (only clear styles if they are not for
4184 - Expands OnTableStylesCollectionChanged to handle style refresh
4187 2005-11-29 Jackson Harper <jackson@ximian.com>
4189 * FileDialog.cs: Implement missing bits, remove some dead
4191 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4192 creation of the panel so that the options set on the dialog are
4193 seen when the panel is created.
4194 * TreeView.cs: raise a click when items are clicked.
4196 2005-11-29 Jackson Harper <jackson@ximian.com>
4198 * MdiClient.cs: Pass some signature methods through to base.
4200 2005-11-28 Jackson Harper <jackson@ximian.com>
4202 * ListView.cs: Raise the click event when items are clicked.
4204 2005-11-28 Jackson Harper <jackson@ximian.com>
4206 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4209 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4211 * ThemeNice.cs: - Removed 1 pixel bitmaps
4212 - Use SmoothingMode.AntiAlias where it makes sense
4213 (ScrollButton arrow for example)
4214 - Enhanced Button focus drawing
4215 - Fixed ComboBox drawing (no artefacts anymore, focus
4216 rectangle is back again, reduced size of ComboButton, etc.)
4217 - Fixed RadioButton focus drawing for Appearence.Button
4218 - Slight ScrollButton redesign
4219 - Some LinearGradientBrush size fixes
4220 - GroupBoxes have now rounded edges
4221 - Fixed StatusBar drawing
4223 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4225 * ThemeNice.cs: - Remove dead code
4226 - use correct background colors for menus, etc.
4227 - Fake pixel drawing with 1 pixel bitmaps
4229 2005-11-24 Jackson Harper <jackson@ximian.com>
4231 * MdiClient.cs: Size the scrollbars when resizing the window.
4232 - Resize the maximized windows when the client is resized
4233 * Form.cs: Make the child context available
4235 2005-11-23 Jackson Harper <jackson@ximian.com>
4237 * MdiChildContext.cs: Don't size windows if they are maximized.
4239 2005-11-23 Mike Kestner <mkestner@novell.com>
4241 * ContextMenu.cs: use MenuTracker.
4242 * Control.cs: remove menu handle usage.
4243 * Form.cs: remove menu handle usage.
4244 * Hwnd.cs: remove menu handle usage.
4245 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4246 motion and clicks to the new Tracker handlers.
4247 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4249 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4250 Killed the MENU and MENUITEM data types and associated collections
4251 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4252 MenuTracker class that exposes the leftovers from the old MenuAPI
4253 static methods. Restructured Capture handling so that only one grab is
4254 done for the entire menu hierarchy instead of handing off grabs to
4255 submenus. Tracker now has an invisible control to Capture when active.
4256 * MenuItem.cs: add sizing accessors, kill Create
4258 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4259 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4260 MENU(ITEM). remove menu handle usage, use Menu directly.
4261 * XplatUIDriver.cs: remove menu handle usage.
4262 * XplatUIOSX.cs: remove menu handle usage.
4263 * XplatUIWin32.cs: remove menu handle usage.
4264 * XplatUIX11.cs: remove menu handle usage.
4266 2005-11-22 Jackson Harper <jackson@ximian.com>
4268 * Hwnd.cs: Don't compute the menu size for
4269 DefaultClientRectangle.
4270 - Reenable menu sizes being computed for GetClienRectangle.
4271 * Form.cs: Remove comment of trechery
4273 2005-11-22 Jackson Harper <jackson@ximian.com>
4275 * Hwnd.cs: The adjustments for the menu bar are made when it is
4276 attached to the form.
4278 2005-11-19 Jackson Harper <jackson@ximian.com>
4280 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4281 (just like on windows).
4283 2005-11-19 Jackson Harper <jackson@ximian.com>
4285 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4286 use real buttons anymore because they are in non client area. The
4287 one TODO here is that I need to somehow invalidate a section of
4288 the non client area.
4290 2005-11-18 Jackson Harper <jackson@ximian.com>
4292 * Control.cs: Put the enum check back in now that MDI doesnt have
4293 to use this to set border styles.
4294 * Form.cs: Only set mdi child windows borders if the handle has
4296 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4297 this directly on to the driver.
4298 - Get the move start position before adjusting for the titlebar
4299 height, this fixes the windows "skipping" when they are first
4302 2005-11-18 Jackson Harper <jackson@ximian.com>
4304 * XplatUIX11.cs: Just compute the mdi borders separately as they
4305 don't totally match up with normal form borders.
4307 2005-11-18 Jackson Harper <jackson@ximian.com>
4309 * Control.cs: Set WS_ styles for borders, so that the driver does
4310 not have to retrieve the control instance to figure out what kind
4311 of borders it should have.
4312 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4313 driver can know its an mdi child easily.
4314 * XplatUIX11.cs: Get the border styles and whether the window is
4315 MDI from the Styles and ExStyles params instead of having to get a
4316 control. This prevents a chicken and egg problem.
4318 2005-11-18 Jackson Harper <jackson@ximian.com>
4320 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4322 2005-11-18 Jackson Harper <jackson@ximian.com>
4324 * MdiClient.cs: Calculate when to add and remove scrollbars
4326 * MdiChildContext.cs: Adjust the y position to take the titlebar
4328 - No height for FormBorderStyle.None
4330 2005-11-18 Jackson Harper <jackson@ximian.com>
4332 * Control.cs: Allow non enum values to be used for
4333 InternalBorderStyle. MDI does this to set a special border style.
4334 - New utility methods for converting points to/from client coords
4335 - Add the newly created control to the Controls collection before
4336 updating its style. This way UpdateStyle can walk the control
4337 heirarchy to find the control if needed.
4338 so I don't need to create a new Point object all the time.
4339 * Form.cs: Let MDI windows handle their border styles.
4340 - Set styles on MDI windows so the correct title style is derived.
4341 * MdiChildContext.cs: Move all the painting and window handling
4342 into the non client area.
4343 - Use correct sizing and put correct buttons on frames based on
4344 the FormBorderStyle.
4345 - Notify the mdi client about scrolling
4346 - Need to handle the buttons ourselves now, because they are all
4347 in non client areas and we can't add controls there.
4348 * MdiClient.cs: Halfway to scrolling, this implementation is
4349 somewhat broken though, we need to check to make sure other
4350 windows aren't causing scrolling before removing the bars. Also
4351 the bars need to be drawn on top, maybe I can switch implicit
4352 controls to be on top.
4353 * Hwnd.cs: caption_height and tool_caption_height are now
4354 properties of an hwnd, this way they can be set by the driver
4355 based on the type of window they are. In X11 the window manager
4356 handles the decorations so caption_height is zero unless its an
4358 - Add 3 pixel borders for MDI windows (0xFFFF).
4359 - Get rid of some code duplication, have DefaultClientRectanle
4360 just call GetClientRectangle.
4361 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4363 - Set border styles differently for mdi windows.
4364 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4367 2005-11-15 Mike Kestner <mkestner@novell.com>
4369 * Menu.cs: when adding an item to the collection, if item is already
4370 parented, remove it from the parent.
4372 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4374 * X11DesktopColors.cs: Added KDE support
4376 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4379 - Clipboard methods now can translate Rtf format
4380 - No longer removes clipboard contents whenever a new format is added
4381 to allow placing multiple formats on the clipboard
4382 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4383 will place all formats contained in it onto the clipboard. Also
4384 now cleans the clipboard before placing a new object onto it
4386 - Implemented set_Rtf
4387 - Implemented set_SelectedRtf
4388 - Created InsertRTFFromStream() method to allow single code base
4389 for all properties and methods that insert RTF into document
4390 - Removed debug output
4392 - Fixed Delete(int) to fix up line numbers
4393 - Fixed ReplaceSelection to combine start and end line
4394 - Fixed serious DeleteChars bug that would leave the document tree
4396 - Improved DumpTree with several logic checks to detect broken
4398 - Removed debug lines
4399 - Fixed Caret.WordForward/WordBack moving code, now always also
4400 updates caret.tag (fixes crash when word-selecting across tag
4401 boundaries via keyboard)
4402 - Added Insert() method for inserting multiline text into documents
4403 - Fixed DeleteChars() calculation errors that would cause a broken
4404 tag chain with multiple tag lines
4405 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4406 - Split() no longer moves caret if split is at caret location
4407 - ReplaceSelection() now updates the cursor and re-displays it
4408 - ReplaceSelection() now uses new Insert() method to avoid code
4410 - FormatText() can now handle formatting partial lines
4412 - Append now uses new TextControl.Insert() method (this avoids
4414 - Implemented Ctrl-X (Cut) (
4415 - Implemented Ctrl-C (Copy)
4416 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4417 regeneration when pasting text; roundtripping Copy&Paste within
4418 edit control still fails due to some calculation bugs in GenerateRTF)
4419 - The Delete key will now remove the current selection if it is visible
4420 * TextBox.cs: Removed debug lines
4421 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4422 driver to be initialized and can't therefore be done via a static ctor)
4424 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4426 * TextControl.cs: Added backend code for finding char arrays and strings
4428 - Added mouse wheel scroll support
4429 - Added support for VScroll and HScroll events
4431 - Implemented all seven Find() variants
4432 - Implemented GetCharFromPosition()
4433 - Implemented GetCharIndexFromPosition()
4434 - Implemented GetLineFromIndex()
4435 - Implemented GetPositionFromCharIndex();
4436 - Implemented SaveFile for PlainText and UnicodeText
4437 - Fixed set_Font, now setting a new font applies that font to
4439 - Implemented generic Document to RTF converter
4440 - Implemented SaveFile for RichText format (still missing unicode
4441 conversion for non-ansi chars)
4442 - Implemented get_Rtf
4443 - Implemented get_SelectedRtf
4445 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4447 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4448 to allow any captures to be released before triggering OnClick. This
4449 way a click handler may capture the mouse without interference.
4450 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4451 This way we send them even though X may not allow a grab (if the window
4452 isn't visible, for example)
4454 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4456 * DataGridViewRowEventArgs.cs: DataGridView implementation
4457 * DataGridViewElement.cs: DataGridView implementation
4458 * DataGridViewComboBoxCell.cs: DataGridView implementation
4459 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4460 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4461 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4462 * ImageLayout.cs: DataGridView implementation
4463 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4464 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4465 * DataGridViewSelectionMode.cs: DataGridView implementation
4466 * IDataGridViewEditingControl.cs: DataGridView implementation
4467 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4468 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4469 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4470 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4471 * DataGridViewColumnSortMode.cs: DataGridView implementation
4472 * DataGridView.cs: DataGridView implementation
4473 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4474 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4475 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4476 * Padding.cs: DataGridView implementation
4477 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4478 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4479 * DataGridViewRowEventHandler.cs: DataGridView implementation
4480 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4481 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4482 * DataGridViewButtonCell.cs: DataGridView implementation
4483 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4484 * DataGridViewEditMode.cs: DataGridView implementation
4485 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4486 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4487 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4488 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4489 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4490 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4491 * DataGridViewCellEventHandler.cs: DataGridView implementation
4492 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4493 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4494 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4495 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4496 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4497 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4498 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4499 * QuestionEventArgs.cs: DataGridView implementation
4500 * IDataGridViewEditingCell.cs: DataGridView implementation
4501 * DataGridViewTriState.cs: DataGridView implementation
4502 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4503 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4504 * DataGridViewColumnCollection.cs: DataGridView implementation
4505 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4506 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4507 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4508 * DataGridViewColumn.cs: DataGridView implementation
4509 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4510 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4511 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4512 * DataGridViewRow.cs: DataGridView implementation
4513 * DataGridViewImageCellLayout.cs: DataGridView implementation
4514 * DataGridViewImageCell.cs: DataGridView implementation
4515 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4516 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4517 * DataGridViewHeaderCell.cs: DataGridView implementation
4518 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4519 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4520 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4521 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4522 * QuestionEventHandler.cs: DataGridView implementation
4523 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4524 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4525 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4526 * DataGridViewCell.cs: DataGridView implementation
4527 * DataGridViewCellEventArgs.cs: DataGridView implementation
4528 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4529 * DataGridViewCellStyle.cs: DataGridView implementation
4530 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4531 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4532 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4533 * TextFormatFlags.cs: DataGridView implementation
4534 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4535 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4536 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4537 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4538 * DataGridViewButtonColumn.cs: DataGridView implementation
4539 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4540 * HandledMouseEventArgs.cs: DataGridView implementation
4541 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4542 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4543 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4544 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4545 * DataGridViewRowCollection.cs: DataGridView implementation
4546 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4547 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4548 * DataGridViewHitTestType.cs: DataGridView implementation
4549 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4550 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4551 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4552 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4553 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4554 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4555 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4556 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4557 * DataGridViewContentAlignment.cs: DataGridView implementation
4558 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4559 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4560 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4561 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4562 * DataGridViewPaintParts.cs: DataGridView implementation
4563 * DataGridViewCellCollection.cs: DataGridView implementation
4564 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4565 * DataGridViewImageColumn.cs: DataGridView implementation
4566 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4567 * DataGridViewElementStates.cs: DataGridView implementation
4568 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4569 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4570 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4571 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4572 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4573 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4574 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4575 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4576 * DataGridViewTextBoxCell.cs: DataGridView implementation
4577 * DataGridViewBand.cs: DataGridView implementation
4578 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4579 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4580 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4581 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4582 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4583 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4584 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4585 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4586 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4587 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4588 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4590 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4592 * ThemeWin32Classic.cs:
4593 - Draw the outside focus rectangle around buttons
4594 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4595 doesn't use end caps for every dash of a line anymore. This
4596 workaround ignores the forecolor.
4598 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4600 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4603 2005-11-07 Jackson Harper <jackson@ximian.com>
4605 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4607 2005-11-07 Jackson Harper <jackson@ximian.com>
4609 * ScrollableControl.cs: Calculate the maximum and change vars
4610 (more) correctly so that scrollbars appear as a sensible size.
4612 2005-11-04 Jackson Harper <jackson@ximian.com>
4614 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4616 * TreeView.cs: When the tree is sorted null out the top_node so
4617 that it is recalculated.
4618 - Use dotted lines instead of dashed lines to match MS better.
4620 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4623 - Implements key search for items. Useful when browsing files with FileDialog
4624 - When changing view mode or when clear the items reset scrollbar positions
4626 2005-11-04 Jackson Harper <jackson@ximian.com>
4628 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4629 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4630 as to what the method may do as there is no real way of creating a
4631 derived CurrencyManager and calling the method.
4633 2005-11-03 Jackson Harper <jackson@ximian.com>
4635 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4636 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4637 method which seems to just be used internally to refresh the tabs.
4639 2005-11-03 Jackson Harper <jackson@ximian.com>
4641 * TabControl.cs: Implement the remove method. Fix some broken
4644 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4646 * DateTimePicker.cs:
4647 - Added missing DateTimePickerAccessibleObject class
4648 - Added missing events
4649 - Added OnFontChanged method
4650 * Form.cs: Added missing attributes
4651 * TreeView.cs: Added missing attributes
4653 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4655 * GridItemCollection.cs: Fix signatures
4657 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4659 * XplatUI.cs: Updated build rev/date
4660 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4661 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4662 * Application.cs: Trigger context-specific ExitThread events
4664 2005-11-03 Jackson Harper <jackson@ximian.com>
4668 * GridTableStylesCollection.cs:
4673 * MonthCalendar.cs: Signature fixes
4675 2005-11-03 Jackson Harper <jackson@ximian.com>
4677 * TreeNodeCollection.cs: Remove should not be virtual.
4678 * TreeView.cs: Implement the last of the missing methods.
4680 2005-11-03 Jackson Harper <jackson@ximian.com>
4682 * TreeNodeConverter.cs: Implement to get off my class-status back.
4684 2005-11-03 Jackson Harper <jackson@ximian.com>
4686 * TreeView.cs: Hookup the bits for drag and drop.
4687 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4688 that nodes can be moved from tree to tree easily this just causes
4689 all sorts of problems.
4690 * TreeNodeCollection: Don't need to give treenodes an index and
4691 treeview anymore when they are added, these are computed on the
4692 fly. Also make sure to remove a node before its added.
4694 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4697 - Added CaretSelection enum
4698 - Added comparison methods to Marker struct, makes selection code
4700 - Added SelectionStart and SelectionEnd as 'moveable' location for
4701 the CaretDirection enum and handler
4702 - Added selection_prev variable to track optimized invalidation for
4703 word and line selection
4704 - Added SelectionVisible property (returns true if there is a valid
4706 - Switched CaretHasFocus to only display the caret if there is no
4708 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4709 using the direct character index; should be much faster
4710 - Added various conditional debug statements
4711 - Fixed invalidation calculation for selection ranges
4712 - Added ExpandSelection() method to support word and line selection
4713 - Switched SetSelectionToCaret to use new Marker compare overloads
4714 - Added central IsWordSeparator() method to determine word
4715 separators/whitespace and FindWordSeparator() to streamline common
4716 usage of IsWordSeparator()
4718 - Removed unneeded grabbed variable, it was just mirroring
4720 - No longer firing OnTextChanged event when Text setter is called,
4721 since the base will fire the event for us
4722 - Added handling of Ctrl-Up/Down selection
4723 - Added handling of Shift-Cursorkey selection
4724 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4726 - Added handling of Shift and Ctrl-Shift-Home/End selection
4727 - Removed some debug output
4728 - Added handling for single/double/tripple-click to place caret/
4729 select word/select line respectively (Fixes bug #76031)
4730 - Added support for drag expansion of word/line selection
4731 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4734 2005-11-02 Jackson Harper <jackson@ximian.com>
4736 * X11Dnd.cs: If the drag is going to and from a MWF window just
4737 copy the data instead of sending it out through the X Selection
4740 2005-11-02 Jackson Harper <jackson@ximian.com>
4743 * XplatUIX11.cs: When in a drag we don't want motion notify
4744 messages to get passed on to the other controls. This prevents
4745 mouse move messages from showing up in the drag source.
4747 2005-11-02 Jackson Harper <jackson@ximian.com>
4749 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4750 the correct button is release to end a drag.
4751 * XplatUIX11.cs: Make the button state internal so the drag system
4752 can access it. Dragging needs to know about all button releases,
4753 not just left button.
4755 2005-11-02 Miguel de Icaza <miguel@novell.com>
4757 * Form.cs (Icon): If the icon is null, reset the icon to the
4760 * Cursor.cs: When writing the AND-mask bitmap do not include the
4761 number of colors, but hardcode those to two (black and white),
4762 fixes the loading of color cursors (Paint Dot Net).
4764 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4765 turn off autoscaling.
4767 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4769 2005-11-02 Jackson Harper <jackson@ximian.com>
4771 * X11Dnd.cs: Make sure to send a status message if the pointer
4772 enters a control that can not accept a drop, otherwise the cursor
4773 isn't updated correctly. Also tried to compress the lines of code
4776 2005-11-02 Jackson Harper <jackson@ximian.com>
4778 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4779 set actions correctly. This isn't perfect as XDND and win32 have
4780 some differences on how you allow actions. I'll clear this up by
4781 adding a path for drag from MWF to MWF windows.
4782 * XplatUIX11.cs: Hook into the dnd system.
4784 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4786 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4787 previously shown but they are no longer need it. Very obvious when
4788 browsing files with FileDialog.
4790 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4792 * Control.cs: We always need to call OnPaintBackground. We pretty much
4793 ignore AllPaintingInWmPaint and always do the painting there, whether
4794 it's set or not, since we always ignore the WM_ERASEBKGND message
4795 (which we don't generate on X11). This fixes #76616.
4796 * Panel.cs: Removed unneeded background painting. This happens properly
4797 in Control.cs already
4799 2005-10-31 Mike Kestner <mkestner@novell.com>
4801 * Menu.cs: Add items to collection before setting their index.
4802 * MenuItem.cs : add range checking with ArgumentException like MS.
4805 2005-10-31 Jackson Harper <jackson@ximian.com>
4807 * ListBox.cs: Invalidate if the area is visible at all not just
4808 contained in the visible rect. Fixes unselection of semi visible
4811 2005-10-31 Jackson Harper <jackson@ximian.com>
4813 * Control.cs: Consistently name the dnd methods. Make them
4814 internal so we can override them to match some MS behavoir
4816 * Win32DnD.cs: Use the new consistent names.
4818 2005-10-31 Jackson Harper <jackson@ximian.com>
4820 * TreeView.cs: Don't draw the selected node when we lose focus.
4822 2005-10-31 Jackson Harper <jackson@ximian.com>
4824 * X11Dnd.cs: We still need to reset the state even though a full
4825 reset isn't being done, otherwise status's still get sent all over
4828 2005-10-31 Jackson Harper <jackson@ximian.com>
4830 * Control.cs: Make the dnd_aware flag internal so the dnd
4831 subsystem can check it. Catch exceptions thrown in dnd handlers to
4833 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4834 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4835 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4836 flags to reduce the number of dnd enters/status's sent.
4838 2005-10-31 Jackson Harper <jackson@ximian.com>
4840 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4842 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4844 * PictureBox.cs: Fixes 76512
4846 2005-10-28 Jackson Harper <jackson@ximian.com>
4848 * X11Dnd.cs: Early implementation to support winforms being a drag
4849 source for data on X11. Also restructured the converters so they
4850 can go both ways now.
4851 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4853 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
4855 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4858 2005-10-27 Jackson Harper <jackson@ximian.com>
4860 * TreeNode.cs: Implement serialization so my DnD examples will work.
4862 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
4864 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4865 TreeView.cs: Don't dispose objects that are not owned.
4867 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
4869 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4870 should retrieve the current cursor and report that, but XplatUI
4871 doesn't (yet) have an interface for that (and I'm not sure I even
4873 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4874 until any message loop processing is done (and the WM_SETCURSOR
4875 replaces the cursor to the proper one)
4877 - Fixed override behaviour, we can't set the cursor globally on X11,
4878 just for our windows.
4879 - Invalidating the System.Drawing X11 display handle when we are
4881 * Control.cs: Fix to make csc happy
4883 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
4886 - get_Text: Add last line (without trailing newline) to returned
4888 - get_TextLength: Count last line in returned length
4889 - ToString: Call Text property instead of duplicating code
4891 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
4893 * ImageList.cs: Dispose ImageAttributes objects.
4895 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4897 * ImageList.cs: Use attribute constructors with less arguments where
4900 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4902 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4903 Use typeof instead of strings when assembly is referenced. Added
4906 2005-10-21 Jackson Harper <jackson@ximian.com>
4908 * ListView.cs: Raise a double click event. Also tried to somewhat
4909 fix when the selectedindexchanged event is raised. Its still
4912 2005-10-21 Jackson Harper <jackson@ximian.com>
4914 * TreeView.cs: New method to invalidate the plus minus area of a
4915 node without invalidating the whole node (maybe this can be used
4916 in some more places).
4917 * TreeNodeCollection.cs: When adding to an empty node we need to
4918 invalidate its plus minus area so the little block shows up.
4920 2005-10-21 Jackson Harper <jackson@ximian.com>
4922 * TreeView.cs: Make sure that when we invalidate a node the bounds
4923 are big enough to cover the selected box and the focus
4924 rectangle. Use a different colour for the lines connecting nodes
4925 so they show up with all themes.
4927 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4929 * NativeWindow.cs: Don't call anything that could call into the driver,
4930 we might be on a different thread.
4932 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4934 * Control.cs(Dispose): Since Dispose might run on a different thread,
4935 make sure that we call methods that could call into the driver via
4936 invoke, to avoid thread issues
4938 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4940 * XplatUI.cs: Removed finalizer
4941 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4942 not allowing to be called on the finalizer thread.
4944 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4947 - Reverted r51889 and r51891.
4948 - Added ImageListItem class that stores unmodified image items and image
4949 properties required to create list images until handle is created.
4950 - Added AddItem and moved image creation logic to AddItemInternal.
4951 - Added CreateHandle method that creates images based on unmodified items.
4952 - Added DestroyHandle that changes state to store unmodified items.
4953 - Add and AddStrip methods no more create handle.
4954 - ReduceColorDepth has no return value.
4955 - Dispose destroys handle.
4956 - Modified other methods to reflect the above changes.
4957 - Implemented key support.
4958 - Added profile 2.0 members and attributes.
4959 - Added private Reset and ShouldSerialize methods that provide the same
4960 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4961 them as they are private.
4962 - Added some more comments about implementation details.
4964 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4966 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4968 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4970 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4972 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4974 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4975 * DataGridColumnStyle.cs: Remove debug message
4977 2005-10-20 Jackson Harper <jackson@ximian.com>
4979 * TreeView.cs: We can always get input keys regardless of whether
4980 or not editing is enabled. They are used for navigation.
4982 2005-10-20 Jackson Harper <jackson@ximian.com>
4984 * TreeNode.cs: Use the viewport rect for determining if a node
4985 needs to be moved for visibility. Don't use Begin/End edit. This
4986 calls a full refresh when its done.
4987 * TreeView.cs: New SetBottom works correctly. Make the viewport
4988 rect property internal so the treenodes can see it. When clicking
4989 on a node we need to ensure that its visible because it might just
4990 be partly visible when clicked.
4992 2005-10-20 Jackson Harper <jackson@ximian.com>
4994 * TreeNodeCollection.cs: Remove debug code.
4996 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4998 * Datagrid.cs: Implements column sorting in Datagrid
4999 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5001 2005-10-20 Jackson Harper <jackson@ximian.com>
5003 * TreeNodeCollection.cs: Remove items properly. Update the correct
5004 area after removing them.
5006 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5008 * Datagrid.cs: Should not call base.OnPaintBackground
5010 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5012 * XplatUIX11.cs (GetMessage):
5013 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5014 window instead of client window
5015 - Now properly calculates NC_xBUTTONUP message coordinates
5016 - ScreenToMenu now properly calculates it's coordinates of whole
5017 window, since menus are in the whole window, not in the client
5019 - Added WholeToScreen coordinate translation method
5021 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5023 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5024 want to return a message, loop back to the beginning of the function
5025 and grab the next real message to process instead.
5027 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5029 * Splitter.cs: Properly set limits if no filler control is used
5031 2005-10-19 Jackson Harper <jackson@ximian.com>
5033 * ColorDialog.cs: Don't show the help button if it is not enabled
5034 instead of disabling it (this is what MS does). Don't create the
5035 panel until the dialog is run, otherwise the vars (such as
5036 ShowHelp) are not set yet.
5038 2005-10-19 Jackson Harper <jackson@ximian.com>
5040 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5041 are reduced when adding nodes.
5043 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5046 2005-10-19 Jackson Harper <jackson@ximian.com>
5048 * FolderBrowserDialog.cs: End editing our treeview so the window
5049 actually gets refreshed.
5051 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5053 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5054 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5057 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5059 * MenuAPI.cs: Returns after Hidding window
5060 * XplatUIX11.cs: Added TODO found while debugging menu issues
5062 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5064 * XplatUIX11.cs: Do not re-map the whole window when it's size
5065 becomes non-zero unless it's supposed to be actually visible
5067 2005-10-18 Jackson Harper <jackson@ximian.com>
5069 * TreeView.cs: We don't need to keep a count anymore.
5070 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5071 use the Grow method.
5073 2005-10-18 Jackson Harper <jackson@ximian.com>
5075 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5076 implement it manually here.
5078 2005-10-18 Jackson Harper <jackson@ximian.com>
5080 * ImageList.cs: Dont kill the list when the colour depth is
5081 changed, just change the colour depth of all the images.
5082 - Same goes for setting the image size. Just resize them all
5083 instead of killing the list softly.
5085 2005-10-18 Jackson Harper <jackson@ximian.com>
5087 * Control.cs: Don't invalidate empty rectangles.
5089 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5092 - Adds checked item to the Checked/Item lists (where empty before)
5093 - Do not add items to the Selected lists if they are already present
5095 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5096 - When deleting items make sure that we delete them for the Selected
5097 and Checked list also.
5099 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5101 * Label.cs: Dispose objects no longer used
5102 * ThemeWin32Classic.cs: Dispose objects no longer used
5104 2005-10-18 Jackson Harper <jackson@ximian.com>
5106 * TabControl.cs: Don't refresh the whole control when the tabs are
5107 scrolled, we just need to refresh the tab area.
5109 2005-10-17 Jackson Harper <jackson@ximian.com>
5111 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5112 after handle when we need it.
5114 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5116 * Control.cs: When the parent size changes, recalculate anchor
5117 positions. Partial fix for #76462
5119 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5121 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5124 2005-10-17 Jackson Harper <jackson@ximian.com>
5126 * MonthCalendar.cs: Don't create the numeric up down until our
5127 handle is created. Otherwise our handle is created in the
5128 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5131 2005-10-17 Jackson Harper <jackson@ximian.com>
5133 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5136 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5137 * TreeNode.cs : small logical fix (was using local var instead of field)
5139 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5141 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5143 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5145 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5147 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5150 - Re-implemented anchoring code. My first version was really broken.
5151 This fixes bug #76033. Unlike the previous implementation we will
5152 no longer have round errors since all numbers are calculated from
5153 scratch every time. Removed various anchor-related obsolete vars.
5154 - InitLayout no longer causes layout event firing and layout to be
5157 2005-10-16 Jackson Harper <jackson@ximian.com>
5159 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5162 2005-10-16 Jackson Harper <jackson@ximian.com>
5164 * TabControl.cs: Remove debug code.
5166 2005-10-16 Jackson Harper <jackson@ximian.com>
5168 * XEventQueue.cs: Increase the default queue size (very simple
5169 apps needed to grow the queue).
5170 * Hwnd.cs: No finalizer so we don't need to suppress
5171 finalization. Compute the invalid area manually so a new rectangle
5172 does not newto be created.
5173 * ScrollableControl.cs: Don't set any params (otherwise visibility
5174 isn't set correctly).
5175 * MdiChildContext.cs: New constructor takes the mdi parent so it
5176 doesn't have to be computed and avoids a crash on windows. Draw
5177 the window icon properly, and allow the text to be seen.
5178 * Form.cs: Use new MdiChildContext constructor. Make sure the
5179 child context isn't null in wndproc.
5180 * TabControl.cs: Don't set focus, this is muddling keyboard
5181 behavoir. Expand the tab rows when a window size increase will
5182 allow extra tabs to be seen. Don't allow tabs smaller than the
5183 width of a window to be scrolled out of view.
5185 * TreeView.cs: Use measure string to calculate a nodes width, the
5186 width is cached and only updated when the text or the font is
5187 changed. Don't check for expand/collapse clicks on the first level
5188 nodes if root lines are disabled.
5190 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5192 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5194 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5196 * DataGridBoolColumn.cs: fixes warning
5198 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5200 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5201 to match more to match more precisely the MS Net behavior
5203 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5205 * Hwnd.cs: Added field to track if window is mapped
5207 - Unmap windows if they become 0-size, re-map when
5208 they are >0 again; fixes #76035
5209 - Re-set our error handler after initializing X11Desktop
5210 to override any error handlers Gtk or whatever was called
5213 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5215 * CheckedListBox.cs: Removed unused vars
5216 * ListView.cs: Fixed signatures
5217 * RichTextBox.cs: Removed unused vars
5218 * TextBoxBase.cs: Removed unused vars
5219 * XplatUIWin32.cs: Removed unused vars
5220 * XplatUIX11.cs: Removed unused vars
5221 * XplatUI.cs: Updated version and date to latest published
5223 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5225 * Cursor.cs: Added private .ctor to work around a bug in
5226 resourceset (Thanks to Geoff Norton for the help on this)
5227 * SplitterEventArgs.cs: Made fields accessible so we don't
5228 waste boatloads of objects and can reuse the same one
5230 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5231 any captions and borders when generating screen coordinates
5232 * Splitter.cs: Reimplemented control, now fully complete, uses
5233 rubberband drawing, supports and obeys all properties, has
5236 2005-10-13 Miguel de Icaza <miguel@novell.com>
5238 * Form.cs (Form): Setup default values for autoscale and
5239 autoscale_base_size; Make these instance variables, not static
5242 (OnLoad): on the first load, adjust the size of the form.
5244 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5246 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5247 width argument to DrawReversibleRectangle()
5248 * XplatUIWin32.cs, XplatUIX11.cs:
5249 - Implemented width for DrawReversibleRectangle()
5250 - Added logic to DrawReversibleRectangle that recognizes a zero
5251 width or height and only draws a line in that situation
5253 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5255 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5256 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5257 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5258 method (it uses our FosterParent window to get a graphics context)
5260 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5262 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5263 and SetWindowBackground methods
5265 - Setting proper ControlStyles
5266 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5267 EraseWindowBackground, instead we draw the window background
5268 ourselves in PaintControlBackground. This behaviour is
5269 required to match MS, where, when OnPaintBackground is not
5270 called, the background is not drawn.
5271 - Removed unneeded Refresh() in set_Text
5272 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5274 - Created DeriveStyles method to translate from CreateParams to
5275 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5276 matches FormBorderStyle enum values)
5277 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5278 style calculations into single DeriveStyles method
5279 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5280 from redrawing the whole window on any resize or expose.
5281 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5282 all styles were applied to our whole/client window appropriately
5283 - Removed EraseWindowBackground() and SetWindowBackground() methods
5284 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5285 no longer clear/redraw the background through X
5286 - Removed handling of erase_pending bit, we have no use for it (or
5289 - Removed generation and handling of WM_ERASEBKGND message
5290 - Removed EraseWindowBackground() and SetWindowBackground() methods
5291 - Removed handling of hwnd.ErasePending flag
5293 - Removed EraseWindowBackground() and SetWindowBackground() methods
5294 - We no longer call EraseWindowBackground on PaintEventStart, we
5295 ignore the fErase flag, erasing is handled in Control in the
5297 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5298 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5299 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5300 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5301 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5302 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5303 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5305 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5307 * PropertyGrids.cs: Get sub properties
5308 * PropertyGridView.cs: Fix drawing code
5310 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5312 * ListBox.cs: Fixes 76383
5314 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5316 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5317 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5318 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5321 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5323 * ComboBox.cs: Fixes border drawing
5325 2005-10-10 Miguel de Icaza <miguel@novell.com>
5327 * MimeIcon.cs: Ignore errors if the file can not be read.
5329 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5331 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5332 - Fixed border calculations
5333 - Fixed horizontal scrolling in single column listboxes
5334 - Fixed drawing issues
5336 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5338 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5339 FormBorderStyle enum
5340 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5341 code to determine FormBorderStyles from CreateParams
5343 - Fixed bug where we'd set the wrong window styles if we were
5344 not creating an MDI window
5345 - Added call to XplatUI.SetBorderStyle when form borders are set
5346 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5348 - Removed obsolete edge style
5349 - Switched from BorderStyle to FormBorderStyle
5351 2005-10-10 Jackson Harper <jackson@ximian.com>
5353 * Form.cs: Use the property to get the window handle instead of
5354 accessing it directly. Prevents a null reference exception.
5356 2005-10-10 Jackson Harper <jackson@ximian.com>
5358 * TreeView.cs: Don't adjust the rect given to DrawString now that
5359 our libgdiplus draws correctly.
5361 2005-10-08 Jackson Harper <jackson@ximian.com>
5363 * TreeView.cs: Don't try to find the clicked on node if there are
5364 no nodes in the tree.
5366 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5372 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5374 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5375 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5377 Use ResPool for brushes and dispose System.Drawing objects that
5378 are not used anymore.
5380 2005-10-07 Jackson Harper <jackson@ximian.com>
5382 * MdiChildContext.cs: Use the new borders instead of drawing them
5385 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5387 * Calling UpdateBounds after changing the window's BorderStyle
5388 since the style can change the ClientSize
5390 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5392 * Control.cs: Made PaintControlBackground virtual
5393 * Panel.cs: Overriding PaintControlBackground instead of using paint
5394 event; paint event method was interfering with 'real' users of the
5397 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5399 * ThemeWin32Classic.cs: remove border drawing since it is handled
5400 by the base control class now and was causing double border drawing.
5402 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5404 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5405 but it does seem to match MS behaviour. This fixes bug #75324
5407 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5409 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5410 somewhat hackish looking
5412 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5415 - We now accept Enter even if AcceptEnter is false, if the containing
5416 form does not have an AcceptButton configured (fixes bug #76355)
5417 - Calculations are now fixed to no longer use Width/Height, but
5418 ClientSize.Width/Height, since we now support borders (this was
5419 a result of fixing borders and therefore bug #76166)
5420 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5421 true (fixes bug #76354)
5423 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5426 - Defaulting BorderStyle and setting it in XplatUI when our window
5428 - Added enum check to InternalBorderStyle setter
5430 - Added drawing of window borders
5431 - Now properly calculates WM decorations offset for toplevel
5432 windows (fixes bug #74763)
5434 - Implemented BorderStyles for windows (we're letting win32 draw
5436 - Fixed the signature for SetWindowLong
5437 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5438 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5440 * UpDownBase.cs: Remove drawing of borders, this is handled by
5441 the driver, outside the client area
5442 * ListView.cs: Removed bogus border calculations. The control should
5443 be oblivious to borders, since those are not part of the client
5445 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5446 * ThemeWin32Classic.cs: Removed border calculations from ListView
5449 2005-10-06 Jackson Harper <jackson@ximian.com>
5451 * MdiChildContext.cs: Clear out the old virtual position remove
5452 all the unneeded calls to CreateGraphics.
5454 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5456 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5458 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5461 - Added loading and setting of our new default icon
5462 - Only set icon if window is already created
5464 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5467 - Do not explicitly set the foreground and background colors, to
5468 allow inheriting from parents (fixes #76302)
5469 - Use Control's InternalBorderStyle property to deal with borders
5471 2005-10-06 Jackson Harper <jackson@ximian.com>
5473 * MdiChildContext.cs: Use the new xplatui function to draw a
5476 2005-10-06 Jackson Harper <jackson@ximian.com>
5478 * Form.cs: Add the parent before creating the child context cause
5479 we need the parent when setting up the child.
5481 2005-10-06 Jackson Harper <jackson@ximian.com>
5483 * FolderBrowserDialog.cs: redo the tree population code so a
5484 second thread isn't used. Should be a lot faster and more stable
5487 2005-10-05 Jackson Harper <jackson@ximian.com>
5489 * TreeView.cs: There are no expand/collapse boxes if the node has
5492 2005-10-05 Jackson Harper <jackson@ximian.com>
5494 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5496 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5498 * FileDialog.cs: Fix InitialDirectory
5500 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5503 - Fixes changing between styles
5505 - Fixes last item crashing when navigating with keyboard
5507 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5509 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5511 2005-10-05 Jackson Harper <jackson@ximian.com>
5513 * TreeView.cs: If updating the root node do a full refresh.
5514 * TreeNode.cs: The root node should be expanded by default. Also
5515 added a utility prop to tell if we are the root node.
5516 * TreeNodeCollection.cs: Only refresh if the node we are being
5517 added to is expanded. Also added a comment on a potential
5520 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5522 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5523 in dispose method. Fixes #76330
5525 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5527 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5529 - Implements vertical and horizontal scrolling using XplatUI
5530 - Fixes keyboard navagation
5531 - Fixes EnsureVisible
5533 - Handles and draws focus properly
5536 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5538 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5539 Create handle. NET_2_0: Destroy handle when value is null.
5541 2005-10-03 Jackson Harper <jackson@ximian.com>
5543 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5544 revert and a new patch to prevent the thumb from refreshing so
5547 2005-10-02 Jackson Harper <jackson@ximian.com>
5549 * ScrollBar.cs: Don't update position if it hasn't actually
5550 changed. This occurs when you hold down the increment/decrement
5551 buttons and the thumb gets to the max/min.
5553 2005-10-01 Jackson Harper <jackson@ximian.com>
5556 * MdiChildContext.cs:
5557 * MdiClient.cs: Implement ActiveMdiChild in Form.
5559 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5561 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5563 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5565 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5568 2005-09-30 Jackson Harper <jackson@ximian.com>
5570 * ListBox.cs: Don't do a full refresh unless some data has
5573 2005-09-30 Jackson Harper <jackson@ximian.com>
5575 * TreeView.cs: Make sure that the checkboxes size is factored in
5576 even when not visible.
5578 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5580 * FileDialog.cs: Fix Jordi's build break
5582 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5585 - Use standard the Windows colours for the combobox as espected
5586 - Dispose objects that use resouces when no longer need them
5588 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5590 * X11DesktopColors.cs: Initial incomplete implementation
5591 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5593 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5596 - Switched Theme color names to match the names defined in
5597 System.Drawing.KnownColors. Life's hard enough, no need to make
5599 - Added setters to all theme color properties so themes can set
5600 their color schemes. The setters also propagate the color changes
5601 to System.Drawing.KnownColors via reflection
5602 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5603 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5604 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5605 use the new, more logical theme color names
5606 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5608 * ThemeWin32Classic.cs:
5609 - Removed code to set the old classic Windows colors. Instead it
5610 now relies on the colors returned by System.Drawing.KnownColors
5611 which will be either modern static colors (Unix) or colors
5612 read from the user's configuration (Win32)
5613 - Updated to use the new, more logical theme color names
5614 - Switched DataGrid drawing code to use only Theme colors instead of
5615 a mix of System.Drawing.KnownColors and Theme colors
5616 - DrawFrameControl(): Removed code that fills the button area, the
5617 fill would overwrite any previous fill done by a control. This
5619 - Added DrawReversibleRectangle() stub
5620 * ScrollableControl.cs: Set visible state to false when scrollbars
5621 are removed (pdn fix)
5622 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5623 DrawReversibleRectangle() method to allow drawing primitive
5625 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5627 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5629 * ImageList.cs: Add(Icon): Create handle.
5631 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5634 * ThemeWin32Classic.cs:
5637 - Issues with drawing
5639 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5641 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5642 source has to be the ImageList.
5644 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5646 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5648 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5650 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5652 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5654 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5656 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5657 * GridItem.cs: Fixed TODOs
5658 * GridItemCollection.cs: Added ICollection interface
5660 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5662 * ImageList.cs: Resize icons when needed.
5664 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5667 - Fixes GetBounds and returns on screen rects
5669 - Fixes vertical and horzintal scrolling of items
5670 * ThemeWin32Classic.cs:
5673 2005-09-29 Raja R Harinath <harinath@gmail.com>
5675 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5677 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5679 * ImageList.cs: Added comments about handle creation. Moved Handle,
5680 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5681 Handle is created in Add methods.
5683 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5685 * DataGridDrawingLogic.cs:
5686 - Takes rows into account on Colum calculations
5687 - Returns the column when clickig
5689 - Fixes default HitTestInfo values
5690 - Fixes HitTestInfo.ToString
5691 - Fixes ResetBackColor
5693 2005-09-28 Jackson Harper <jackson@ximian.com>
5695 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5696 sizing or cursor changes). Also added some temp code to draw the
5697 titlebars text (Makes dev a little easier).
5699 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5701 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5703 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5705 * ListBox.cs: Fixes bug 76253
5707 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5709 * ImageList.cs: Added comments about the current implementation. Added
5710 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5711 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5712 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5713 with Bitmap.LockBits for better performance. Revised the whole file to
5714 match MS.NET behaviour and provide better performance. Non-public
5715 interface members are calling public members even when they throw
5716 NotSupportedException for better maintainability. Moved ColorDepth,
5717 ImageSize, ImageStream and TransparentColor implementations to
5718 ImageCollection for better performance as these properties are not used
5720 * ImageListStreamer.cs: Added a new internal constructor that takes an
5721 ImageList.ImageCollection and serializes Images based on
5722 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5723 match ImageList property name.
5725 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5727 * ListBox.cs: Fixes IndexFromPoint for last item
5729 2005-09-27 Jackson Harper <jackson@ximian.com>
5731 * Form.cs: Set the position of new mdi children correctly.
5733 2005-09-27 Jackson Harper <jackson@ximian.com>
5735 * MdiClient.cs: New mdi children need to be added to the back of
5736 the controls collection so the zorder is set correctly. Also add a
5737 count of all the child windows that have been created.
5739 2005-09-27 Jackson Harper <jackson@ximian.com>
5741 * Form.cs (CreateParams): Setup MDI forms correctly.
5743 2005-09-27 Jackson Harper <jackson@ximian.com>
5745 * MdiChildContext.cs:
5752 * ScrollableControl.cs:
5753 * ComboBox.cs: Add implicit controls using the new implict control
5754 functionality in ControlCollection. Also try to block multiple
5755 control add in a suspend/resume layout to save some cycles.
5757 2005-09-27 Jackson Harper <jackson@ximian.com>
5759 * Control.cs: Add functionality to the controls collection to add
5760 'implicit controls' these are controls that are created by the
5761 containing control but should not be exposed to the user. Such as
5762 scrollbars in the treeview.
5763 * Form.cs: The list var of the ControlsCollection is no longer
5764 available because of the potential of implicit controls getting
5765 ignored by someone accessing the list directly.
5767 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5769 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5770 loose it's parent. (Fixed bug introduced in r49103 when we added
5771 setting the child parent to null on Remove)
5773 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5775 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5776 * Splitter.cs: Added missing attributes for BorderStyle property.
5777 * TextBoxBase.cs: Marked Calculate* methods internal.
5778 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5781 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5783 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5785 2005-09-25 Jackson Harper <jackson@ximian.com>
5787 * TreeView.cs: Update the node bounds correctly regardless of
5788 whether the node is visible.
5790 2005-09-25 Jackson Harper <jackson@ximian.com>
5792 * ImageList.cs: Don't dispose the image after it is added to the
5793 image list. Only reformat images that need to be resized.
5795 2005-09-25 Jackson Harper <jackson@ximian.com>
5797 * ImageList.cs: Don't set the format when changing the image.
5799 2005-09-25 Jackson Harper <jackson@ximian.com>
5801 * TreeView.cs: We can't just assume the node has a font. Use the
5802 treeviews font if no node font is available.
5804 2005-09-25 Jackson Harper <jackson@ximian.com>
5806 * TreeView.cs: Allow the scrollbars to be reset with negative
5808 - Don't add scrollbars to negative sized windows.
5810 2005-09-23 Jackson Harper <jackson@ximian.com>
5812 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5813 old Mono.Posix. Also remove some stray code that shouldn't have
5816 2005-09-23 Jackson Harper <jackson@ximian.com>
5818 * TreeView.cs: Attempt at proper sizing of the horizontal
5819 scrollbar. Also don't resize the scrollbars unless they are
5822 2005-09-23 Jackson Harper <jackson@ximian.com>
5824 * TreeView.cs: We don't need to expand the invalid area when the
5825 selection changes, as this is all drawn in the node's bounding
5826 box. The area needs to be expanded (previous typo was contracting
5827 it) when the focus rect moves.
5829 2005-09-23 Jackson Harper <jackson@ximian.com>
5831 * TreeView.cs: Display the selection box under the correct
5832 circumstances. We were rendering white text with no selection box
5835 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5837 * TextControl.cs(Split): Now updates selection start/end if it points
5838 into a line that's being split. Fixes a FIXME and bug #75258
5840 2005-09-23 Jackson Harper <jackson@ximian.com>
5843 * ListControl.cs: Don't use the path when retrieving binding
5844 managers from the binding context. My bat sense tells me that the
5845 path is only used on insertion.
5847 2005-09-22 Jackson Harper <jackson@ximian.com>
5849 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5851 2005-09-22 Jackson Harper <jackson@ximian.com>
5853 * Splitter.cs: There are special cursors used for splitting.
5854 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5856 2005-09-22 Jackson Harper <jackson@ximian.com>
5858 * Splitter.cs: Change the cursor appropriately when the splitter
5859 is moused over, so the user actually knows there is a splitter
5862 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5864 * Label.cs : Fix ToString method to give same output as MS.NET
5866 2005-09-22 Jackson Harper <jackson@ximian.com>
5868 * TreeView.cs: Create the scrollbars when the handle is created
5869 and add them right away, just make them invisble. Also account for
5870 the window being shrunk vertically to the point that the vert
5871 scrollbar needs to be added.
5872 - Remove some 0.5 adjustments to get around anti aliasing issues.
5874 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
5876 * MainMenu.cs: Fixes default value
5877 * MenuItem.cs: Fixes default value
5879 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
5881 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5883 2005-09-21 Jackson Harper <jackson@ximian.com>
5885 * Control.cs: Don't try to set the border style on the window if
5886 it hasn't been created. When the window is created the border
5889 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5891 * Control.cs (Update): Don't call XplatUI if we don't have a
5894 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5896 * ContainerControl.cs: Instead of throwing an exception, print
5897 a one-time warning about Validate not being implemented
5898 * XplatUIWin32.cs: Removed debug output
5900 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5902 * Control.cs: Only set XplatUI background if we expect the windowing
5903 system to handle the background. This stops controls that draw their
5904 own background from flickering
5906 * XplatUIX11.cs: Support custom visuals and colormaps for window
5907 creation. This allows, amongst other things, using MWF X11 windows
5910 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5912 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5913 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5914 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5915 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5916 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5917 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5918 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5919 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5920 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5921 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5922 GridColumnStylesCollection.cs,
5923 IDataGridColumnStyleEditingNotificationService.cs,
5924 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5925 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5926 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5927 TreeNodeCollection.cs, AmbientProperties.cs,
5928 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5929 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5930 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5931 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5932 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5933 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5934 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5935 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5936 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5937 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5938 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5939 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5940 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5941 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5942 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5943 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5944 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5945 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5946 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5947 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5948 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5949 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5950 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5951 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5952 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5953 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5954 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5955 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5956 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5957 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5958 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5959 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5960 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5961 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5962 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5963 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5964 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5966 2005-09-21 Jackson Harper <jackson@ximian.com>
5968 * TreeNode.cs: Call Before/After Expand not Collapse when
5971 2005-09-20 Jackson Harper <jackson@ximian.com>
5973 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5975 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5979 - Fixes proper storing of subitems
5980 - Fixes not updated items
5982 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5984 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5985 things if our window handle isn't created yet. Also disabled
5986 debug for TextBoxBase
5988 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5990 * MenuAPI.cs: Remove filtering of events to allow menu usage
5992 2005-09-20 Miguel de Icaza <miguel@novell.com>
5994 * Cursor.cs: Allow null to be passed to Cursor.Current.
5996 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5998 * ThemeWin32Classic.cs:
5999 - Change some private methods/fields to protected virtual so that
6000 they can be accessed and overriden in derived classes
6001 - First refactoring of some methods. Derived themes now don't
6002 need to duplicate the complete code from ThemeWin32Classic
6004 - Added nice StatusBar
6005 - Derive from ThemeWin32Classic and not Theme
6006 - Removed duplicate ThemeWin32Classic code
6008 2005-09-20 Miguel de Icaza <miguel@novell.com>
6010 * Control.cs (ControlCollection.Add): If the value null is passed
6011 the control is ignored.
6015 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6017 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6018 PostQuitMessage state.
6019 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6021 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6023 * Application.cs: Our constructor will never get called, move
6024 initialization to fields; fixes bug #75933
6026 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6029 - Allow files to be selected properly using file name
6031 - Add ability to change diretory (absolute / relative)
6032 using file name combo box.
6034 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6037 - Fixes Multicolumn listboxes item wrong calculations
6038 - Allows to click when only one item is in the listbox
6039 - Fixes crash when no items using keyboard navigation
6041 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6043 * ComboBox.cs: Reverted almost everything from the latest patch which
6046 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6049 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6051 - When DropDownStyle is Simple, it does not show scrollbar
6052 to the last item of the list.
6053 - When DropDownStyle is Simple, it crashed when the list was
6054 scrolled down with the down cursor key.
6055 - Fixed a bug that when DropDownStyle is DropDownList, the
6056 selected item was not shown.
6057 - The position of the selected item was not preserved when
6058 the next dropdown happened.
6059 * ThemeWin32Classic.cs:
6060 - Items were wrapped at the right end.
6061 * CheckedListBox.cs:
6064 - Items should be fully shown.
6065 - When resizing and vertical scrollbar disappeared, the item
6066 of index 0 should be on the top of the list.
6067 - GetItemRectangle should consider the size of ver. scrollbar
6069 - SizingGrip area should not be allocated when it is not
6071 - Now it reflects MinWidth of the containing panel and
6072 fixed a crash that happens when its width becomes so small.
6074 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6076 * CheckedListBox.cs: Fixes bug 76028
6077 * ListBox.cs: Fixes bug 76028
6079 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6081 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6082 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6084 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6086 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6088 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6090 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6092 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6094 * IRootGridEntry.cs: Added
6095 * PropertyGridCommands.cs: Added
6096 * PropertiesTab.cs: Added missing methods and property
6097 * PropertyGridView.cs: Made class internal
6098 * PropertyGridTextBox.cs: Made class internal
6100 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6102 * MimeIcon.cs: Try to check some other environment variables
6103 if "DESKTOP_SESSION" returns "default"
6105 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6107 * ThemeNice.cs: Corrected background colors (e.g. menus)
6108 * ColorDialog.cs: Use correct background colors for controls
6110 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6112 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6114 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6116 * RichTextBox.cs: Added initial implementation
6117 * lang.cs: Removed. Was accidentally checked in long time ago
6118 * TODO: Removed. Contents were obsolete
6120 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6122 * PropertiesTab.cs : Added
6124 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6126 * PropertyGrid.cs : Update
6127 * PropertyGridView.cs : Update
6128 * System.Windows.Forms.resx : Added images and strings
6130 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6132 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6134 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6136 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6137 a busy loop right after the Ungrab the X11 display is otherwise
6140 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6142 * ThemeWin32Classic.cs: Optimise the use of clipping
6144 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6146 * DataGrid.cs: fixes recursion bug
6148 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6151 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6154 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6156 * ThemeNice.cs: Draw nice ProgressBars
6158 2005-09-01 Miguel de Icaza <miguel@novell.com>
6160 * VScrollBar.cs: Another buglet found by Aaron's tool.
6162 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6165 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6168 - Added nicer menu drawing
6172 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6174 * CreateParams.cs (ToString): Made output match MS
6175 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6176 handle is already created (to avoid forcing window creation)
6177 * XplatUIX11.cs: Set window text to caption after creating window,
6178 in case Text was set before window was created
6179 * Form.cs: Use this.Text instead of a static string as caption
6181 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6183 * NotifyIcon.cs: Don't set the window to visible; this screws
6184 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6185 OnPaint without a bitmap)
6186 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6187 happen very often anyway; we could add the check to the WM_PAINT
6188 event generation code
6190 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6192 * NotifyIcon.cs: Fill the icon area with a background color, to
6193 avoid 'residue' when transparent icons are drawn
6195 - Handle whole_window == client_window when destroying windows
6196 - SystrayAdd(): Set client_window to whole_window value to
6197 get mouse and other events passed to NotifyIcon
6199 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6201 * Form.cs: Set proper default for Opacity property
6203 - ShowSystray(): Don't bother creating telling the OS
6204 about the systray item if no icon is provided
6205 - Now handles WM_NCPAINT message to deal with whole/client window
6207 - Create window as visible to not get caught by Expose optimization
6208 * Hwnd.cs: Removed debug message
6209 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6210 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6211 PaintEventStart/End to use new client argument
6213 - Commented out debug messages
6214 - Switched PaintEventStart/End to use new client argument
6215 * XplatUI.cs: Added client window bool to PaintEventStart()/
6216 PaintEventEnd() calls, to support drawing in non-client areas
6218 - Added client window bool to PaintEventStart()/PaintEventEnd()
6219 calls, to support drawing in non-client areas
6220 - Added conditional compile to allow using MWF BeginInvoke
6223 - Added some conditional debug output
6224 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6225 whole/client window split
6226 - Implemented handling of client argument to PaintEventStart()/End()
6228 - Throw exception if BeginInvoke() is called and the window handle
6229 or one of the window's parent handles is not created
6230 - Added conditional compile to allow using MWF BeginInvoke on
6232 - get_Parent(): Only sets parent if handle is created. This avoids
6233 forcing window handle creation when parent is set.
6234 - Now fires Layout and Parent changed events in proper order
6235 - Switched to use Handle instead of window.Handle for Z-Order setting,
6236 the get_Parent() patch above causes us to possibly get null for 'window'
6237 - Implemented handling of client argument to PaintEventStart()/End()
6238 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6240 - Now sends a Refresh() to all child windows when Refresh() is called
6242 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6244 * Form.cs: Added (non-functional) Opacity property
6245 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6247 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6248 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6249 use export MONO_THEME=nice to activate it.
6250 Currently supported controls:
6254 - TabControl (TabAlignment.Top only, other will follow)
6255 * ThemeEngine.cs: Add theme nice
6256 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6259 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6261 * Splitter.cs: Resize docked control and its neighbor.
6263 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6264 -- Making Windows with Menus layout correctly --
6265 * Form.cs : The first leg of the fix
6266 Menu setter - adjust Client Size as needed to make space for the menu
6267 SetClientSizeCore - doesn't call base version to be able to pass the
6268 menu handle to XplatUI.CalculateWindowRect
6269 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6270 * XplatUIX11.cs: The critical second leg of the fix
6271 GetWindowPos needs to use a recalculated client_rect
6272 so that resizing the window doesn't break layout of child controls.
6273 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6276 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6278 * Label.cs: Now properly recalculates width and height on Font and Text
6279 changes if AutoSize is set
6281 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6282 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6284 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6286 * ImageList.cs: Makes ToString method compatible with MS
6288 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6290 * MenuAPI.cs: fixes bug 75716
6292 2005-08-11 Umadevi S <sumadevi@novell.com>
6293 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6295 2005-08-11 Umadevi S <sumadevi@novell.com>
6296 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6298 2005-08-10 Umadevi S <sumadevi@novell.com>
6299 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6301 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6303 * Menu.cs: fixes bug 75700
6304 * MenuAPI.cs: fixes navigation issues
6306 2005-08-09 Umadevi S <sumadevi@novell.com>
6307 * CheckedListBox.cs - simple fix for GetItemChecked.
6309 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6311 * ComboBox.cs: Serveral fixes
6312 * ListBox.cs: Serveral fixes
6314 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6316 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6317 * ListBox.cs: Fixes FindString methods
6319 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6321 * DataGrid.cs: fixes bugs exposed by new tests
6323 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6325 * Mime.cs: Compile Mono assembly references only if compiling
6326 with Mono (Allows to build with VS.Net again)
6328 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6330 * Control.cs (PaintControlBackground): Draw background image
6332 (CheckForIllegalCrossThreadCalls): Stubbed.
6334 * Form.cs (OnCreateControl): Center when should be centered.
6336 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6338 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6340 * Binding.cs: Binding to properties should be case unsensitive
6342 2005-07-18 vlindos@nucleusys.com
6344 * DataGrid.cs: fixes setmember order
6346 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6348 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6349 * FileDialog.cs: FileDialog is now resizable and uses the new
6352 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6354 * DataGridTextBoxColumn.cs: default value
6355 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6356 * GridTableStylesCollection.cs: fixes checking MappingName
6357 * DataGridDrawingLogic.cs: fixes drawing logic issues
6358 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6359 * DataGrid.cs: fixes
6361 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6363 * MimeGenerated.cs: Use case sensitive comparer for
6364 NameValueCollections
6366 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6368 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6369 * ThemeWin32Classic.cs: bug fixes, code refactoring
6370 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6371 * DataGrid.cs: bug fixes, code refactoring
6372 * DataGridTextBox.cs: bug fixes, code refactoring
6373 * DataGridColumnStyle.cs: bug fixes, code refactoring
6374 * Theme.cs: bug fixes, code refactoring
6376 2005-07-01 Peter Bartok <pbartok@novell.com>
6378 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6379 and other text box usage
6381 2005-07-01 Jackson Harper <jackson@ximian.com>
6383 * TabControl.cs: Make sure the bottom of the tab covers the pages
6386 2005-06-30 Peter Bartok <pbartok@novell.com>
6388 * Form.cs (ShowDialog): Assign owner of the dialog
6389 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6390 might have been moved to a tag with different height
6392 2005-06-30 Jackson Harper <jackson@ximian.com>
6394 * Form.cs: Don't create an infinite loop when setting focus
6395 * MenuItem.cs: Don't dirty the parents if we don't have any
6397 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6399 * LibSupport.cs: Rename
6401 2005-06-29 Peter Bartok <pbartok@novell.com>
6403 * TextBoxBase.cs: Re-align caret after deleting a character
6405 - DeleteChars(): Ensure that tag covers the provided position
6406 - StreamLine(): Drop reference for dropped tag
6408 2005-06-29 Peter Bartok <pbartok@novell.com>
6411 - Selections now work properly, anchoring at the initial location
6412 and properly extending in either direction (SetSelectionToCaret(),
6413 SetSelectionStart() and SetSelectionEnd())
6414 - No longer redraws the whole control on selection change, now
6415 calculates delta between previous and new selection and only
6416 invalidates/redraws that area
6417 - Fixed FindPos() math off-by-one errors
6418 - Changed DeleteChars() to verify the provided tag covers the
6419 provided position, selections may have a tag that doesn't cover
6420 the position if the selection is at a tag border
6421 - Fixed off-by-one errors in DeleteChars()
6422 - Added missing streamlining check in DeleteChars() to remove
6424 - Implemented Invalidate() method, now properly calculates exposures
6425 between two given lines/positions
6426 - Implemented SetSelection()
6427 - Obsoleted and removed FixupSelection()
6428 - Improved RecalculateDocument() logic, removing code duplication
6430 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6432 * LibSupport.cs: changes to match different input/output arguments.
6434 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6436 * LibSupport.cs: added libsupport.so init routine.
6438 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6440 * ControlBindingsCollection.cs
6441 - Throws an exception on null datasource when adding
6442 - Checks for duplicated bindings when adding
6444 2005-06-28 Jackson Harper <jackson@ximian.com>
6446 * TreeView.cs (OnKeyDown): Support left and right properly
6447 (navigates as well as expanding and collapsing.
6448 - Add support for Multiply, this expands all the selected nodes
6452 2005-06-28 Jackson Harper <jackson@ximian.com>
6454 * TreeView.cs: Implement keyboard navigation, currently supports,
6455 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6456 support for toggling checkboxes with the space bar.
6458 2005-06-28 Jackson Harper <jackson@ximian.com>
6460 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6463 2005-06-28 Jackson Harper <jackson@ximian.com>
6465 * TreeView.cs: Add missing event.
6467 2005-06-27 Peter Bartok <pbartok@novell.com>
6470 - Made line ending size configurable (now allows for counting
6471 lineendings as \n or \r\n)
6472 - Added margin to viewport to keep caret visible on right side
6473 - Fixed translation routines for line/pos to documentpos to consider
6474 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6475 - Fixed some line-endings to be unix style
6476 - Fixed Document.FormatText to perform it's calculations 1-based
6477 - Added descriptions for a few methods that might otherwise get
6479 - Added NOTE section with some basic conventions to remember at
6481 - Major fixup for RichTextBox selection drawing:
6482 * Fixed crashes when multiple tags on a single line were selected
6483 * fixed selection box drawing not overlaying text
6484 * fixed bogus offset calculation for tags not starting at index 1
6485 * Switched behaviour from using multiple Substrings of a
6486 StringBuilder.ToString() to using multiple
6487 StringBuilder.ToString(start, length) statements, hoping this is
6488 faster (kept original version commented out in the code, in case
6489 original version was faster)
6490 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6492 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6495 2005-06-27 Jackson Harper <jackson@ximian.com>
6497 * TabControl.cs: Move to the left and right with the arrow
6498 keys. These keys don't cycle beyond first and last like
6499 tab. Refresh all the tabs when scrolling them to the left or
6502 2005-06-27 Jackson Harper <jackson@ximian.com>
6505 - ToString: Added method
6506 - CreateParams: Remove TODO and comment
6507 - OnKeyDown: Cycle through bounds properly.
6508 - SelectedIndex: Scroll to the right or left if we need to
6509 display the newly selected tab.
6511 2005-06-23 Jackson Harper <jackson@ximian.com>
6513 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6516 2005-06-23 Jackson Harper <jackson@ximian.com>
6518 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6519 CTRL-SHIFT-TAB, and HOME, END are there any others?
6521 2005-06-23 Jackson Harper <jackson@ximian.com>
6523 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6525 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6527 * DataGridTextBoxColumn.cs: fixes and enhancements
6528 * ThemeWin32Classic.cs: fixes and enhancements
6529 * DataGridBoolColumn.cs: fixes and enhancements
6530 * DataGridDrawingLogic.cs: fixes and enhancements
6531 * CurrencyManager.cs: fixes and enhancements
6532 * DataGrid.cs: fixes and enhancements
6533 * DataGridColumnStyle.cs: fixes and enhancements
6535 2005-06-22 Jackson Harper <jackson@ximian.com>
6537 * TabControl.cs: Add some missing methods that just call into the
6538 base. Make the TabPageCollection's IList interface behave in the
6539 same manner as the MS implementation.
6541 2005-06-22 Peter Bartok <pbartok@novell.com>
6543 * TextControl.cs: Added sanity check
6545 - Fixed wrapping behaviour, don't set wrap on single line controls
6546 (this fixes the breakage of colordialog introduced in an earlier
6548 - Added rudimentary support for autoscrolling right-aligned controls
6549 (still needs fixing, also, center alignment scroll is missing)
6551 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6553 * ScrollBar.cs: Fixes thumbpos on Maximum values
6555 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6557 * PropertyGridView.cs: Pass context information to UITypeEditors
6559 2005-06-21 Peter Bartok <pbartok@novell.com>
6562 - Now calling PositionCaret with absolute space coordinates
6563 - Enabled vertical scrolling
6564 - Better tracking of scrollbar changes, tied into WidthChange
6566 - Improved cursor tracking
6567 - Removed debug output
6569 - PositionCaret coordinates are now works in absolute space, not
6571 - Improved tracking of document size
6572 - Added events for width and height changes
6574 2005-06-21 Peter Bartok <pbartok@novell.com>
6576 * Form.cs: Set focus to active control when form is activated
6578 - Added word-wrap functionality to RecalculateLine()
6579 - Added some short function descriptions for VS.Net to aid in
6580 writing dependent controls
6581 - Added Caret property, returning the current coords of the caret
6582 - Added ViewPortWidth and ViewPortHeight properties
6583 - Added Wrap property
6584 - Added CaretMoved event
6585 - Removed some old debug code
6586 - Split() can now create soft splits
6587 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6588 - Added method to format existing text
6589 - Fixed size/alignment calculations to use viewport
6590 - RecalculateDocument now can handle changing line-numbers while
6594 - Added some wrap logic, we don't wrap if alignment is not left
6595 - Added casts for scrollbar var, base class switched types to
6596 also support RichTextBoxA
6597 - Implemented handling of scrollbar visibility flags
6600 - Switched scrollbars type to RichTextBoxScrollBars to support
6602 - Added tracking of canvas width/height
6603 - Switched scrollbars to be not selectable (to keep focus on text)
6604 - Added central CalculateDocument() method to handle all redraw
6606 - Added ReadOnly support
6607 - Added WordWrap support
6608 - Fixed handling of Enter key (we now treat it as a DialogKey)
6609 - Fixed caret positioning when h or v scroll is not zero
6610 - Fixed placing/generation of vertical scrollbar
6611 - Added CalculateScrollBars() method to allow updating scrollbar
6612 limits and visibility
6613 - Fixed handling of horizontal scroll
6614 - Added handling of vertical scroll
6615 - Implemented auto-'jump' when caret moves to close to a left or
6616 right border and there is text to be scrolled into view (currently
6617 there's the potential for a stack overflow, until a bug in
6620 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6622 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6624 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6628 - return application/x-zerosize for files with size zero
6629 (if no extension pattern matches).
6630 - check matches collection for strings too.
6631 - return only the first mime type if the name value
6632 collection has more than one mime type.
6634 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6636 * PropertyGrid.cs: Cleaned up some TODOs
6637 * PropertyGridView.cs: Added support for UITypeEditors
6639 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6641 * DataGrid.cs: clears cached value
6643 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6645 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6646 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6647 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6648 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6650 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6652 * ThemeWin32Classic.cs: fixes colour
6654 2005-06-15 Peter Bartok <pbartok@novell.com>
6656 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6657 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6658 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6659 * Control.cs: Added some MWFCategory and MWFDescription attributes
6660 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6662 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6664 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6667 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6669 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6670 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6671 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6672 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6673 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6674 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6676 2005-06-13 Jackson Harper <jackson@ximian.com>
6678 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6679 isn't printed when the user enables dropping. (X11 does accept
6682 2005-06-13 Jackson Harper <jackson@ximian.com>
6684 * TreeView.cs: Remove some TODOS.
6686 2005-06-13 Jackson Harper <jackson@ximian.com>
6688 * Form.cs: Hook into the mdi framework.
6689 * MdiClient.cs: Use the base control collections add method so
6690 parents get setup correctly. Set the default back colour and dock
6692 * MdiChildContext.cs: New class, this bad actor handles an
6693 instance of an MDI window. Right now there is only basic
6694 support. You can drag, close, and resize windows. Minimize and
6695 Maximize are partially implemented.
6697 2005-06-13 Jackson Harper <jackson@ximian.com>
6699 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6700 freaky when both vals are negative. NOTE: There are probably other
6701 places in XplatUIX11 that this needs to be done.
6703 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6705 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6706 * DataGridColumnStyle.cs: fixes signature
6708 2005-06-12 Jackson Harper <jackson@ximian.com>
6710 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6713 2005-06-11 Jackson Harper <jackson@ximian.com>
6715 * StatusBarPanel.cs: Signature cleanups. Implement
6718 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6720 * DataGridTextBoxColumn.cs: Honors aligment
6721 * GridColumnStylesCollection.cs: Contains is case unsensitive
6722 * GridTableStylesCollection.cs: several fixes
6723 * DataGridTableStyle.cs: default column creation
6724 * DataGridDrawingLogic.cs: fixes
6725 * CurrencyManager.cs: ListName property
6726 * DataGrid.cs: multiple styles support
6727 * DataGridColumnStyle.cs: fixes
6730 2005-06-10 Peter Bartok <pbartok@novell.com>
6732 * Control.cs(Select): Moved SetFocus call to avoid potential
6733 loops if controls change the active control when getting focus
6734 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6737 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6739 * ImageListConverter.cs: Implemented
6741 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6743 * MonthCalendar.cs: Wired in NumericUpDown control for year
6745 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6747 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6748 DoubleClick events, since they are not meant to be fired.
6750 2005-06-09 Peter Bartok <pbartok@novell.com>
6752 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6753 Jonathan's standalone controls into MWF, implemented missing
6754 events, attributes and methods; added xxxAccessible classes
6755 * AccessibleObject.cs: Made fields internal so other classes
6756 can change them if needed
6758 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6760 * UpDownBase.cs: Complete implementation
6761 * NumericUpDown.cs: Complete implementation
6762 * DomainUpDown.cs: Complete implementation
6764 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6766 * DataGridTextBoxColumn.cs: drawing fixes
6767 * DataGridCell.cs: fixes ToString method to match MSNet
6768 * DataGridTableStyle.cs: fixes
6769 * DataGridBoolColumn.cs: fixes, drawing
6770 * DataGridDrawingLogic.cs: fixes, new methods
6771 * DataGridTextBox.cs: Keyboard and fixes
6773 - Keyboard navigation
6775 - Row selection (single, multiple, deletion, etc)
6778 2005-06-07 Jackson Harper <jackson@ximian.com>
6780 * ThemeWin32Classic.cs: Clear the background area when drawing
6783 2005-06-06 Peter Bartok <pbartok@novell.com>
6785 * ImageListStreamer.cs: Fixed signature for GetData
6786 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6788 - Added missing ChildAccessibleObject class
6789 - Added missing OnXXXFocus overrides, switched to using those
6790 instead of the event handler
6792 - Added Parent property for ControlAccessibleObject
6795 - Added ResetBindings()
6796 * ListBindingConverter.cs: Implemented some methods
6797 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6798 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6799 * ContainerControl.cs: Fixed signature, now subscribing to the
6800 ControlRemoved event instead of overriding the handler, LAMESPEC
6801 * CurrencyManager.cs: Added missing attribute
6802 * MonthCalendar.cs: Added missing properties
6804 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6806 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6808 2005-06-06 Gaurav Vaish and Ankit Jain
6810 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6811 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6813 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6815 * Control.cs: fixes CreateParams Width / Height.
6817 2005-06-05 Peter Bartok <pbartok@novell.com>
6819 * Win32DnD.cs: Removed compilation warnings
6821 2005-06-05 Peter Bartok <pbartok@novell.com>
6823 * Control.cs (CreateParams): Since we don't know if one of the
6824 properties we use is overridden, lets make sure if we fail accessing
6825 we continue with a backup plan
6827 2005-06-05 Peter Bartok <pbartok@novell.com>
6830 - Removed debug output
6831 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6833 - Plugged resource leak
6834 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6837 2005-06-05 Peter Bartok <pbartok@novell.com>
6839 * XplatUIWin32.cs: Removed DnD code
6840 * Win32DnD.cs: Implemented drop source and drop target functionality
6842 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6844 * UpDownBase.cs: remove duplicate addition of event, enable some code
6845 that was commented out.
6846 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6847 Validate input when a key is pressed. It works fine now for every
6848 combination of Hexadecimal. Only missing some drawing love when sharing
6849 space with other controls.
6851 2005-06-04 Peter Bartok <pbartok@novell.com>
6854 - We need to pass a window for DragDrop, so enable callback events
6855 - Added DnD callback events when being a DragSource
6856 * XplatUI.cs (StartDrag): Added window handle argument
6857 * XplatUIDriver.cs (StartDrag): Added window handle argument
6858 * QueryContinueDragEventArgs: Made fields internally accessible so
6859 drivers can set them
6860 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6863 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
6865 * DataGridTextBoxColumn.cs: column text editing
6866 * DataGridTableStyle.cs: Respect columns styles created by the user
6867 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6868 * DataGridBoolColumn.cs: bool column editing
6869 * DataGrid.cs: fixes to scrolling, properties, etc
6870 * DataGridTextBox.cs: handle keyboard
6871 * DataGridColumnStyle.cs: fixes
6873 2005-06-02 Jackson Harper <jackson@ximian.com>
6875 * ImageListStreamer.cs: Somewhat broken implementation of
6876 GetObjectData. The RLE needs some work to match MS properly.
6878 2005-06-02 Jackson Harper <jackson@ximian.com>
6880 * X11Dnd.cs: Attempting to keep at least one file in MWF
6883 2005-06-02 Peter Bartok <pbartok@novell.com>
6885 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6888 2005-06-02 Peter Bartok <pbartok@novell.com>
6890 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6891 * XplatUI.cs: Added DoDragDrop() method
6892 * XplatUIDriver.cs: Added DoDragDrop() method
6894 2005-06-02 Jackson Harper <jackson@ximian.com>
6896 * Splitter.cs: Implement BorderStyle.
6898 2005-06-02 Jackson Harper <jackson@ximian.com>
6900 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6901 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6904 2005-06-02 Peter Bartok <pbartok@novell.com>
6908 - Fixed broken insertion code for SetData, now also
6909 overwrites any existing entry of the same format name
6910 * Hwnd.cs: Added list of pointers that automatically gets
6911 freed when the window is disposed
6912 * XplatUI.cs: Call driver initialization method when loading
6915 - OnDragLeave takes EventArgs, not DragEventArgs
6916 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6918 - Forces style update when drop state changes
6919 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6920 not perfect since we cannot (yet) call the IDataObject.GetData()
6921 method, we keep getting 0x80004005 error, dunno why)
6923 2005-06-02 Peter Bartok <pbartok@novell.com>
6925 * DragEventArgs.cs: Make fields internal so we can cache the
6926 object and re-set the fields from XplatUI
6928 2005-06-02 Jackson Harper <jackson@ximian.com>
6930 * Control.cs: Add some internal methods so the DnD subsystem can
6931 raise DnD events. Also call into the driver when AllowDrop is set.
6933 * XplatUIDriver.cs: New method for setting whether or not a window
6934 is allowed to accept drag and drop messages.
6936 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6938 * ScrollBar.cs: Make sure that values sent in Scroll events
6939 are always between Maximum and Minimum.
6941 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6943 * Menu.cs: Call MenuChanged when menuitem visibility has been
6945 * MenuItem.cs: Rebuild menu when item is (not) visible.
6946 * MainMenu.cs: MainMenu has special MenuChanged.
6947 * Theme.cs: Caption and FrameBorderSize are not fixed.
6948 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6949 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6951 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6952 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6954 2005-05-30 Jackson Harper <jackson@ximian.com>
6956 * DataFormat.cs: We can't statically initialize this stuff because
6957 it calls into the xplatui and could create a loop. So we lazy init
6960 2005-05-28 Jackson Harper <jackson@ximian.com>
6962 * Control.cs: Proper implementation of Product(Name/Version).
6964 2005-05-27 Jackson Harper <jackson@ximian.com>
6966 * DataObject.cs: Dont crash if no data is found.
6968 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6969 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6970 as per status page, guessing it should be set to true
6972 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6974 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6975 * DataGridTableStyle.cs: set proper formatting text, def header text
6976 * ThemeWin32Classic.cs: new themable paramaters
6977 * DataGridBoolColumn.cs: paint check box, get data, fixes
6978 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6979 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6980 * DataGridColumnStyle.cs: fixes
6981 * Theme.cs: new themable paramaters
6983 2005-05-26 Peter Bartok <pbartok@novell.com>
6985 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6987 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6988 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6990 2005-05-24 Peter Bartok <pbartok@novell.com>
6992 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6993 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6994 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6995 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6996 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6997 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6998 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6999 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7000 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7001 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7002 missing attributes, etc
7003 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7005 2005-05-24 Peter Bartok <pbartok@novell.com>
7007 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7008 when user tries to get help
7009 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7010 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7011 to suppress warnings
7012 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7013 avoid unreachable code warning
7015 2005-05-20 Peter Bartok <pbartok@novell.com>
7017 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7019 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7021 * DataGridTextBoxColumn.cs: Basic painting methods
7022 * DataGridTableStyle.cs: Set table style in the column
7023 * ThemeWin32Classic.cs: Use Theme for colors
7024 * DataGridDrawingLogic.cs: Implement more drawing
7025 * DataGrid.cs: drawing, theming, enhacements, fixes
7026 * DataGridColumnStyle.cs: fixes, drawing
7027 * Theme.cs: theming for Datagrid
7029 2005-05-20 Peter Bartok <pbartok@novell.com>
7031 * Cursor.cs: Implemented GetObjectData() method
7033 2005-05-20 Peter Bartok <pbartok@novell.com>
7035 * Cursors.cs: Added setting of cursor name
7037 - Implemented constructors
7038 - Implemented Draw and DrawStretched
7039 - Implemented Current property
7040 - Implemented == and != operators
7041 - Implemented Dispose()
7042 - Implemented ToString
7043 - Added missing attributes
7045 - Added missing reset for OverrideCursor when DoEvents is called
7046 - Fixed creation of cursor, logic was wrong
7048 - Added missing reset for OverrideCursor when DoEvents is called
7049 - Fixed creation of cursor, bit arrays were swapped
7050 * Clipboard.cs: Removed obsolete MonoTODO attribute
7052 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7054 * ComboBox.cs: fixes OnSelectedItemChanged
7055 * ControlBindingsCollection.cs: fixes item range check
7057 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7060 - Calc preferred height properly
7061 - Implement missing properties
7063 * NumericUpDown.cs: Implement missing events
7065 2005-05-19 Jackson Harper <jackson@ximian.com>
7067 * TabControl.cs: New method that resizes the tab pages before
7068 redrawing them. This as needed as the control is double buffered
7069 and sizing will not be recalculated unless ResizeTabPages is
7071 * TabPage.cs: Set base.Text instead of Text in the constructor so
7072 that UpdateOwner does not get called. Use the new Redraw method of
7073 TabControl instead of Refresh so the sizing is recalculated.
7074 * ThemeWin32Classic.cs: Draw the text for button tabs.
7076 2005-05-19 Jackson Harper <jackson@ximian.com>
7078 * Control.cs: Paint control background images. Fix typo where
7079 PaintControlBackground was not getting called correctly.
7081 2005-05-19 Peter Bartok <pbartok@novell.com>
7083 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7084 I can investigate, apparently I broke FileDialog
7086 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7088 * AxHost.cs: Some simple properties.
7089 * Control.cs: window must be accessible after ctor.
7090 * Form.cs: Added TransparencyKey property.
7091 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7092 * XplatUIWin32.cs: SetBorderStyle implemented.
7094 2005-05-18 Peter Bartok <pbartok@novell.com>
7096 * DataObject.cs: Entries are not global but particular to the
7097 DataObject, now it behaves that way
7098 * XplatUIWin32.cs: Implemented Clipboard methods
7099 * Clipboard.cs: Implemented
7100 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7101 * XplatUIOSX.cs: Updated to final clipboard prototypes
7102 * XplatUIX11.cs: Implemented Clipboard methods
7103 * XplatUIDriver.cs: Updated to final clipboard prototypes
7104 * XplatUIStructs.cs:
7105 - Added BITMAPINFOHEADER struct
7106 - Added ClipboardFormats enum
7108 - Added ClipboardStruct
7109 - Added Atom enum items for clipboard types
7110 - Fixed atom types for Selection event structures
7112 - Added internal properties and methods for drivers to enumerate
7114 - Switched initialization method to allow drivers to assign their
7115 own IDs even for the MS predefined clipboard IDs
7116 * XplatUI.cs: Updated to final clipboard interface
7118 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7119 * PropertyGridView.cs: Fixed compiler warnings.
7121 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7122 * PropertyGrid.cs: Added some event calls
7123 * PropertyGridView.cs: Change drawing code to use double buffering
7124 * PropertyGridTextBox.cs: Changed Text property name
7125 * GridItem.cs: Added Bounds property.
7126 * GridEntry.cs: Added Bounds property.
7128 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7130 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7131 since GetType() may not return the correct type if the object is
7134 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7136 * TreeNodeCollection.cs: fixes get/set item ranges
7138 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7140 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7142 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7144 * ComboBox.cs: Fix item range comparation
7145 * ListView.cs: Fix item range comparation
7147 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7150 - Clear example panel when OnPaint is called
7151 - Better solution for displaying the example panel text
7152 - Select default indexes in the ListBoxes
7154 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7156 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7158 2005-05-11 Peter Bartok <pbartok@novell.com>
7160 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7161 * SelectionRangeConverter.cs: Implemented
7162 * PropertyGrid.cs: Fixed attribute value
7164 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7165 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7166 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7167 that's common to all drivers. First methods to go there are
7168 Sebastien Pouliot's CAS Stack Propagation helper methods
7169 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7170 Sebastien Pouliot for CAS Stack Propagation
7172 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7175 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7177 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7179 * DataGridTextBoxColumn.cs: fixed some members
7180 * GridColumnStylesCollection.cs: indexed column is case insensitive
7181 * DataGridTableStyle.cs: fixes
7182 * ThemeWin32Classic.cs: add new theme parameter
7183 * Theme.cs: add new theme parameter
7184 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7185 * DataGrid.cs: fixes, new internal properties, etc.
7186 * DataGridColumnStyle.cs: allows to set grid value
7189 2005-05-10 Peter Bartok <pbartok@novell.com>
7191 * AccessibleObject.cs:
7192 - Removed MonoTODO attribute on help, method is correct
7193 - Fixed Bounds property
7194 * AxHost.cs: Moved MonoTODO
7195 * ButtonBase.cs: Now setting AccessibleObject properties
7196 * RadioButton.cs: Setting proper AccessibleObject role
7197 * CheckBox.cs: Setting proper AccessibleObject role
7198 * ControlBindingsCollection.cs: Added properties, methods and attributes
7199 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7200 userdefined DataFormats.Format items as well
7201 * ListControl.cs: Removed data_member from the public eye
7202 * OpenFileDialog.cs:
7204 - Added missing attributes
7205 * SaveFileDialog.cs: Added missing attributes
7206 * ImageListStreamer.cs: Fixed code that caused warnings
7207 * LinkLabel.cs: Removed unreachable code
7208 * TreeView.cs: Fixed code that caused warnings
7209 * PropertyGridView.cs: Fixed code that caused warnings
7210 * GridColumnStylesCollection.cs: Added missing attributes
7211 * GridTableStylesCollection: Added missing attribute
7212 * PropertyManager: Added .ctor
7213 * SecurityIDType: Added
7214 * DataObject.cs: Implemented class
7215 * LinkArea.cs: Added missing attribute
7217 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7219 * RadioButton.cs: call base method to allow to fire OnClick event
7220 * UpDownBase.cs: OnMouseUp call base method
7221 * CheckedListBox.cs: call base method before returning
7222 * TrackBar.cs: call base method before returning
7225 2005-05-10 Peter Bartok <pbartok@novell.com>
7227 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7230 2005-05-10 Peter Bartok <pbartok@novell.com>
7232 * DataFormats.cs: Implemented
7233 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7234 XplatUIX11.cs: Added Clipboard APIs
7235 * XplatUIWin32.cs: Implemented Clipboard APIs
7236 * FolderBrowserDialog.cs: Added missing event, attributes
7238 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7240 * CheckBox.cs: call base method to allow to fire OnClick event
7242 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7244 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7246 2005-05-06 Peter Bartok <pbartok@novell.com>
7248 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7249 * Screen.cs: Implemented
7250 * HelpNavigator.cs: Added
7251 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7253 * HelpProvider.cs: Implemented all we can do until we have a CHM
7254 help library (which means that "What's This" does work now)
7256 2005-05-06 Jackson Harper <jackson@ximian.com>
7258 * XplatUIX11.cs: Fix waking up the main loop.
7260 2005-05-05 Peter Bartok <pbartok@novell.com>
7262 * XplatUI.cs: Updated revision
7263 * Form.cs: Removed enless loop
7264 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7265 * Label.cs (OnPaint): Added call to base.OnPaint()
7266 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7267 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7268 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7270 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7271 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7272 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7273 reuse of ToolTipWindow by other controls
7274 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7275 * XplatUIX11.cs: Now clipping drawing area (experimental)
7276 * PictureBox.cs: Moved base.OnPaint() call to end of method
7277 * Theme.cs: Fixed ToolTip abstracts to match new format
7278 * ErrorProvider.cs: Implemented
7280 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7282 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7286 - Implements LinkBehavior
7289 2005-05-03 Jackson Harper <jackson@ximian.com>
7291 * ListView.cs: Calculate the scrollbar positioning on resize and
7292 paint, so they get put in the correct place.
7294 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7296 * ColorDialogs.cs: The small color panels are now handled by
7297 SmallColorControl. This fixes drawing of the focus rectangle
7298 and adds a 3D border.
7300 2005-05-03 Peter Bartok <pbartok@novell.com>
7302 * Control.cs: Modified version of Jonathan Chamber's fix for
7305 2005-05-03 Jackson Harper <jackson@ximian.com>
7307 * ListView.cs: Remove redraw variable. Control now handles whether
7308 or not a redraw needs to be done, and will only raise the paint
7309 event if redrawing is needed.
7311 2005-05-03 Jackson Harper <jackson@ximian.com>
7313 * Splitter.cs: No decorations for the splitter form. Cache the
7316 2005-05-03 Jackson Harper <jackson@ximian.com>
7318 * TreeView.cs: Use dashed lines to connect nodes. Use the
7319 ControlPaint method for drawing the focus rect instead of doing
7322 2005-05-02 Peter Bartok <pbartok@novell.com>
7324 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7326 2005-04-29 Jackson Harper <jackson@ximian.com>
7328 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7329 entire image buffer. Just clear the clipping rectangle.
7331 2005-04-29 Jackson Harper <jackson@ximian.com>
7333 * ThemeWin32Classic.cs: Don't draw list view items that are
7334 outside the clipping rectangle.
7336 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7338 * ListBox.cs: added horizontal item scroll
7340 2005-04-29 Jackson Harper <jackson@ximian.com>
7342 * ThemeWin32Classic.cs: Remove some old debug code that was
7343 causing flicker with the new double buffering code.
7345 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7347 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7348 behave like combobox and comboboxlist (still not sure if this is
7351 2005-04-28 Jackson Harper <jackson@ximian.com>
7353 * ThemeWin32Classic.cs: Don't fill the middle of progress
7354 bars. This fills areas outside of the clip bounds that don't need
7357 2005-04-28 Jackson Harper <jackson@ximian.com>
7359 * Control.cs: Don't expose functionality to touch the image buffers.
7361 * ListView.cs: We do not need to (and no longer can) manipulate
7362 the image buffers directly. All of this is handled by Control.
7364 2005-04-28 Peter Bartok <pbartok@novell.com>
7366 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7367 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7368 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7370 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7373 - Adjust control's height for non-simple comboboxes (bug fix)
7375 * MenuAPI.cs: remove unused var
7376 * ScrollBar.cs: remove unsed var
7378 * ListBox.cs: unselect items when clearing
7380 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7382 * ListControl.cs: honors OnPositionChanged and default Selected Item
7383 * ListBox.cs: unselect items when clearing
7385 2005-04-27 Jackson Harper <jackson@ximian.com>
7387 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7388 if a "correct" keyboard is not found. This will make us not crash,
7389 but might give some users bad keyboard layouts...seems to be the
7390 same thing rewind does.
7392 2005-04-27 Jackson Harper <jackson@ximian.com>
7394 * BindingManagerBase.cs: Attach the current/position changed
7395 handlers to their respective events.
7397 2005-04-27 Jackson Harper <jackson@ximian.com>
7399 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7401 * ThemeWin32Classic.cs: Don't fill the background for picture
7402 boxes. This could overright user drawing.
7403 * ComboBox.cs: Just fill the clipping rect not the entire client
7404 rect when drawing the background. This prevents pieces of the
7405 image buffer from getting overwritten and is theoretically faster.
7407 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7409 * ComboBox.cs: Databinding support fixes, fire missing events
7410 * ListControl.cs: implement missing methods and properties, fixes
7411 * ThemeWin32Classic.cs: Databiding support on Drawing
7412 * CheckedListBox.cs: Databinding support fixes, fire missing events
7413 * ListBox.cs: Databinding support fixes, fire missing events
7415 2005-04-25 Peter Bartok <pbartok@novell.com>
7417 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7419 2005-04-25 Jackson Harper <jackson@ximian.com>
7421 * TreeView.cs: Use the horizontal scrollbars height not width when
7422 determining how much of the client area is available.
7424 2005-04-25 Jackson Harper <jackson@ximian.com>
7426 * Control.cs: Double buffering is handled differently now. As per
7427 the spec, the extra buffer is created in the WM_PAINT message and
7428 passed down to the control's drawing code.
7436 * PropertyGridView.cs:
7448 * DateTimePicker.cs:
7450 * TreeView.cs: Update to new double buffering system.
7451 * MonthCalendar.cs: Uncomment block, as Capture is now
7452 working. Update to new double buffering
7453 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7454 * PaintEventArgs.cs: New internal method allows us to set the
7455 graphics object. This is used for double buffering.
7456 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7457 rectangle. The internal paint_area var has been removed from
7458 StatusBar. The clipping rect should be used instead.
7459 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7460 * TabPage.cs: The RefreshTabs method was removed, so just call the
7461 tab controls Refresh method now.
7462 * TabControl.cs: Update to new double buffering. Make sure the
7463 handle is created before sizing the tab pages, otherwise we will
7464 get stuck in a loop.
7466 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7468 * LinkLabel.cs: Fix typo, bug #74719; patch
7469 from Borja Sanchez Zamorano
7471 2005-04-22 Jackson Harper <jackson@ximian.com>
7473 * TreeNode.cs: Implement Handle stuff.
7474 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7476 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7478 * DataGridTextBoxColumn.cs: call base constructors, fixes
7479 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7480 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7481 * DataGridTableStyle.cs: implements create default column styles
7482 * DataGridBoolColumn.cs: which types can handle
7483 * DataGrid.cs: missing methods, fixes, new functionality
7484 * DataGridColumnStyle.cs: fixes
7486 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7487 * FolderBrowserDialog.cs:
7488 - Use a thread to fill the TreeView
7489 - Adjusted some sizes
7491 2005-04-19 Peter Bartok <pbartok@novell.com>
7493 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7494 property. Fixes #74360.
7496 2005-04-19 Jackson Harper <jackson@ximian.com>
7498 * XEventQueue.cs: Lock when getting the lockqueue size.
7499 * PictureBox.cs: Call base OnPaint
7501 2005-04-19 Peter Bartok <pbartok@novell.com>
7503 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7504 messages were no longer being processed (this broke BeginInvoke)
7507 2005-04-18 Jackson Harper <jackson@ximian.com>
7509 * TreeView.cs: buglet that caused node images to get drawn
7510 regardless of whether or not they were in the clipping rectangle.
7512 2005-04-18 Jackson Harper <jackson@ximian.com>
7514 * CurrencyManager.cs: There are four rules for GetItemProperties:
7515 - If the type is an array use the element type of the array
7516 - If the type is a typed list, use the type
7517 - If the list contains an Item property that is not an object, use
7519 - use the first element of the list if there are any elements in
7522 2005-04-17 Jackson Harper <jackson@ximian.oom>
7524 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7525 click. This handles offsets for scrolling properly and reduces
7526 memory. Also fixed GetNode to not offset now that TopNode works
7528 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7530 2005-04-17 Jackson Harper <jackson@ximian.com>
7532 * CursorConverter.cs: Initial implementation.
7534 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7536 * ListControl.cs: work towards complex data binding support on ListControl
7537 * CurrencyManager.cs: work towards complex data binding support on ListControl
7538 * ListBox.cs: work towards complex data binding support on ListControl
7541 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7543 * GridTableStylesCollection.cs: fixes name and constructor
7544 * DataGridTableStyle.cs: fixes
7545 * DataGridBoolColumn.cs: fixes names and constructors
7546 * DataGrid.cs: define methods and properties. Some init implementations
7547 * DataGridCell.cs: define methods and properties. Some init implementations
7548 * GridTablesFactory.cs: Define methods and properties
7550 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7552 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7553 graphics port changes. We still want the coordinates in global screen
7556 2005-04-14 Jackson Harper <jackson@ximian.com>
7558 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7559 check plus minus or checkbox clicks unless those features are enabled.
7561 2005-04-14 Jackson Harper <jackson@ximian.com>
7563 * TreeView.cs: Add methods for setting the top and bottom visible
7564 nodes. TreeNode::EnsureVisible uses these methods.
7565 * TreeNode.cs: Implement EnsureVisible
7567 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7569 * Form.cs: Pospone menu assignation if the window has not been created yet
7570 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7573 2005-04-12 Jackson Harper <jackson@ximian.com>
7575 * TreeView.cs: Set the TopNode properly when scrolling
7576 occurs. This has the added benifit of reducing the amount of
7577 walking that needs to be done when drawing. Also removed an old
7579 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7581 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7583 * Timer.cs: fixes interval setting when the timer is already enabled
7585 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7587 * FolderBrowserDialog.cs: First approach
7589 2005-04-09 Peter Bartok <pbartok@novell.com>
7591 * FolderBrowserDialog: Added
7593 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7595 * LinkLabel.cs: move drawing code into the theme
7596 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7597 * Theme.cs: define DrawLinkLabel method
7599 2005-04-05 Jackson Harper <jackson@ximian.com>
7601 * BindingContext.cs: Use weak references so these bad actors don't
7602 stay alive longer then they need to.
7604 2005-04-05 Jackson Harper <jackson@ximian.com>
7606 * ListControl.cs: Basic implementation of complex databinding.
7608 * ListBox.cs: Add calls to ListControl databinding methods.
7610 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7613 - Don't change PopupButtonState to Normal when the
7614 PopupButton gets pressed several times.
7615 - Renamed ButtonPanel to PopupButtonPanel
7617 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7619 * ColorDialog.cs: Use cached objects instead of creating them
7620 * LinkLabel.cs: Use cached objects instead of creating them
7621 * Splitter.cs: Use cached objects instead of creating them
7622 * FontDialog.cs: Use cached objects instead of creating them
7623 * PropertyGridView.cs: Use cached objects instead of creating them
7624 * MessageBox.cs: Use cached objects instead of creating them
7625 * FileDialog.cs: Use cached objects instead of creating them
7626 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7627 * TreeView.cs: Use cached objects instead of creating them
7629 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7631 * Control.cs: use Equals to compare the font since no == op
7632 * ScrollBar.cs: use Equals to compare the font since no == op
7634 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7636 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7638 2005-04-01 Jackson Harper <jackson@ximian.com>
7640 * Binding.cs: Implement IsBinding.
7641 * BindingManagerBase.cs:
7642 * PropertyManager.cs:
7643 * CurrencyManager.cs: Add IsSuspended property.
7645 2005-04-01 Jackson Harper <jackson@ximian.com>
7647 * Binding.cs: Had some IsAssignableFrom calls backwards.
7649 2005-04-01 Jackson Harper <jackson@ximian.com>
7651 * Binding.cs: Handle null data members when pulling data.
7652 * PropertyManager.cs: Handle the data member being a property that
7655 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7657 * DataGridTextBoxColumn.cs: fixes signature
7658 * DataGrid.cs: calls right constructor
7660 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7662 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7663 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7664 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7665 * DataGridTableStyle.cs: implements DataGridTableStyle
7666 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7667 * DataGridTextBox.cs: implements DataGridTextBox
7668 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7670 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7672 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7674 2005-03-29 Peter Bartok <pbartok@novell.com>
7677 - Properly implemented CompanyName property
7678 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7679 returns a path that includes CompanyName, ProductName and
7680 Version (fixes bug #70330)
7682 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7684 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7687 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7689 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7691 - Added ReadOnly CheckBox
7692 - Further refactoring: moved some code from Open-/SaveFileDialog
7695 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7697 * OpenFileDialog.cs: Fixed CheckFileExists
7699 Moved FileView and DirComboBox outside FileDialog class.
7700 They can now be used outside FileDialog
7702 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7704 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7705 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7707 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7709 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7710 - Added missing CreatePrompt property in SaveDialog
7711 - Overall SaveDialog handling should be better now
7712 - Added non standard ShowHiddenFiles property
7713 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7714 - Added InitialDirectory and RestoreDirectory support
7716 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7718 * FileDialog.cs: Made dirComboBox usable
7720 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7722 * FileDialog.cs: Added Filter support (case sensitiv)
7724 2005-03-24 Jackson Harper <jackson@ximian.com>
7726 * TabControl.cs: Need a couple more pixels for the lines.
7728 2005-03-23 Jackson Harper <jackson@ximian.com>
7730 * TabControl.cs: Give the tab page focus when it is selected.
7732 2005-03-23 Jackson Harper <jackson@ximian.com>
7734 * TabControl.cs: Account for the drawing of tabs borders when
7735 invalidating. If the slider was clicked dont do click detection on
7738 2005-03-23 Jackson Harper <jackson@ximian.com>
7740 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7742 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7744 * CategoryGridEntry.cs: Added
7745 * GridItem.cs: Added helper properties
7746 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7747 * GridEntry.cs: Updated code for collection
7748 * PropertyGrid.cs: Cleaned up some formatting
7749 * PropertyGridView.cs: Added drop down functionality for enums.
7750 * GridItemCollection.cs: Added enumerator logic
7751 * PropertyGridEntry.cs: Added
7753 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7756 - Removed unnecessary commented code
7757 - Fixed handling for entering the filename manually in the combobox
7759 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7761 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7763 2005-03-18 Peter Bartok <pbartok@novell.com>
7765 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7766 them being touching the border
7768 2005-03-18 Peter Bartok <pbartok@novell.com>
7770 * TextControl.cs: Quick hack to center text better
7772 2005-03-18 Peter Bartok <pbartok@novell.com>
7775 - Don't throw NotImplemented exceptions, just print a notice once
7776 instead (requested by Miguel). This makes running existing SWF
7779 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7780 - Added context menu trigger on right click
7781 * Panel.cs: Trigger invalidate on resize
7783 - Removed old double-buffer drawing
7784 - Added ResizeRedraw style to force proper update of statusbar
7786 - Removed debug output
7787 * ThemeWin32Classic.cs:
7788 - Fixed drawing of status bar, now draws Text property if there
7789 are no defined panels
7791 2005-03-18 Jackson Harper <jackson@ximian.com>
7793 * ImageList.cs: When the image stream is set pull all the images
7795 * ImageListStreamer.cs: Implement reading image list streams.
7797 2005-03-18 Peter Bartok <pbartok@novell.com>
7799 * ThemeWin32Classic.cs (DrawPictureBox):
7800 - Fixed calculations for centered drawing
7801 - Fixed drawing for normal mode, not scaling the image on normal
7803 2005-03-18 Peter Bartok <pbartok@novell.com>
7805 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7808 - Made Open/Save button the accept button for FileDialog
7809 - Tied the cancel button to the IButtonControl cancel button
7810 - Save/Open now properly builds the pathname
7811 - Now handles user-entered text
7812 - Preventing crash on right-click if no item is selected
7813 - Fixed Text property, now uses contents of textbox
7814 - Fixed SelectedText property, now just returns the text part that
7815 is selected in the text box
7817 2005-03-18 Jackson Harper <jackson@ximian.com>
7819 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7820 rect, make sure to de-adjust the interior rect after drawing the
7823 2005-03-18 Peter Bartok <pbartok@novell.com>
7825 * MenuAPI.cs: Remove menu *before* executing selected action to
7826 prevent the menu from 'hanging around'
7828 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7830 * XplatUIOSX.cs: Implemented WorkingArea property
7832 2005-03-17 Peter Bartok <pbartok@novell.com>
7834 * XplatUIX11.cs: Fixed menu coord calculations
7835 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7836 for calculating offsets
7838 2005-03-17 Peter Bartok <pbartok@novell.com>
7840 * Hwnd.cs: Do not consider menu presence for default client
7841 rectangle location/size
7842 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7843 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7844 translation functions
7845 * FileDialog.cs: Fixed (what I presume is a) typo
7847 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
7849 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7850 X access (avoids X-Async errors)
7852 2005-03-16 Jackson Harper <jackson@ximian.com>
7854 * TabControl.cs: Raise the SelectedIndexChanged event.
7856 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
7858 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7859 - Removed vertical ToolBar and replaced it with a custom panel
7860 (desktop and home button already work)
7861 - Added Help button (some controls get resized or relocated then)
7862 - Draw correct text depending on Open or Save.
7863 - Fixed some typos...
7865 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
7868 - Only change Maximum and Minimum when need it (bug fix)
7870 2005-03-15 Peter Bartok <pbartok@novell.com>
7872 * Form.cs: Use Handle for icon, to trigger creation if
7873 the window does not yet exist
7875 - CanSelect: Slight performance improvement
7876 - Focus(): Preventing possible recursion
7877 - Invalidate(): Removed ControlStyle based clear flag setting
7878 - WM_PAINT: fixed logic for calling OnPaintBackground
7879 - WM_ERASEBKGND: Fixed logic, added call to new driver method
7880 EraseWindowBackground if the control doesn't paint background
7882 - Moved EraseWindowBackground() method to internal methods
7883 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7884 is sent via SendMessage on BeginPaint call on Win32
7886 - Added EraseWindowBackground() method
7887 - No longer sends WM_ERASEBKGND on .Expose, but on call to
7888 PaintEventStart, which more closely matches Win32 behaviour
7889 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7890 - Fixed SetFocus() to properly deal with client and whole windows
7891 * Hwnd.cs: Added ErasePending property
7892 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7893 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7895 2005-03-12 Geoff Norton <gnorton@customerdna.com>
7898 - Fix hard loop when timers exist.
7899 - Fix bugs with middle and right click for 3 button mice.
7901 2005-03-11 Peter Bartok <pbartok@novell.com>
7904 - get_WorkingArea: Need to call X directly, GetWindowPos only
7905 returns cached data now
7906 - Added sanity check to GetWindowPos hwnd usage
7908 2005-03-11 Jackson Harper <jackson@ximian.com>
7910 * BindingManagerBase.cs: This method isn't used anymore as
7911 PullData now updates the data in the control.
7913 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7915 * Form.cs: fixes menu drawing on X11
7916 * MenuAPI.cs: fixes menu drawing on X11
7918 2005-03-11 Peter Bartok <pbartok@novell.com>
7920 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7921 from Jonathan Gilbert; should fix bug #73606
7922 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7923 in Screen coordinates. Thanks, Jordi.
7924 * Form.cs: Added missing attribute
7926 2005-03-11 Peter Bartok <pbartok@novell.com>
7929 - Rudimentary Mdi support
7930 - Removed outdated FormParent code
7931 - Implemented lots of missing properties and methods, still missing
7932 transparency support
7933 - Added missing attributes
7934 - Implemented support for MaximumBounds
7935 - Added firing of various events
7936 * XplatUI.cs: Added SetIcon() method
7937 * XplatUIDriver.cs: Added SetIcon() abstract
7938 * XplatUIOSX.cs: Stubbed out SetIcon() method
7940 - Implemented SetIcon() support
7941 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7942 - Switched to unix line endings
7944 - Made POINT internal so for can access it as part of MINMAX
7945 - Implemented SetIcon() support
7946 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7947 native Mdi support again, might have to go managed)
7948 * Control.cs: Now fires the StyleChanged event
7949 * MdiClient.cs: Added; still mostly empty
7951 2005-03-10 Peter Bartok <pbartok@novell.com>
7953 * SaveFileDialog.cs: Added emtpy file
7955 2005-03-08 Peter Bartok <pbartok@novell.com>
7957 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7958 in turn triggers OnCreateContro) when creating a handle for the
7960 * TextControl.cs: Fixed endless loop in certain cases when
7961 replacing the current selection
7963 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7966 - Honors NewValue changes in Scroll events allowing apps to change it
7967 - Adds First and Last Scroll events
7968 - Fixes Thumb events
7970 2005-03-07 Peter Bartok <pbartok@novell.com>
7972 * Hwnd.cs: Added DefaultClientRectangle property
7973 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7974 more detailed debug information
7976 - Fixed size-change feedback loop, where we would pull an old size
7977 off the queue and mistakenly change our window's size to an
7979 - Now compressing ConfigureNotify events, to reduce looping and
7981 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7984 2005-03-07 Jackson Harper <jackson@ximian.com>
7986 * Binding.cs: Push data pushes from data -> property. Check if the
7987 property is readonly when attempting to set it.
7989 2005-03-07 Jackson Harper <jackson@ximian.com>
7991 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7992 instead of IsSubclassOf. Pulling data now sets the value on the
7994 * PropertyManager.cs:
7995 * CurrencyManager.cs: Just need to pull data when updating now,
7996 because PullData will set the value on the control.
7998 2005-03-04 Jackson Harper <jackson@ximian.com>
8000 * Binding.cs: Implement data type parsing and converting on pulled
8001 data. TODO: Are there more ways the data can be converted?
8003 2005-03-04 Jackson Harper <jackson@ximian.com>
8005 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8006 controls Validating method so we can repull the data when the
8007 control loses focus.
8009 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8012 - Fixes null string format
8015 - Adds enum type checks
8016 - Fixes redrawing and recalc need after changing some properties
8017 - Fixes on focus_item set after the event
8018 - Fixes adding columns after the control has been created
8020 * ThemeWin32Classic.cs:
8021 - Fixes CheckBox focus rectangle
8022 - Fixes ColumnHeader drawing
8025 2005-03-03 Jackson Harper <jackson@ximian.com>
8027 * Binding.cs: Bind to <Property>Changed events so we can detect
8028 when properties are changed and update the data.
8030 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8033 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8034 - Fixes ImageList constructor with ImageList container
8035 - Fixes image scaling (wrong parameters at DrawImage)
8037 2005-02-02 Jackson Harper <jackson@ximian.com>
8039 * Binding.cs: Make property searches case-insensitive. Eliminate
8040 some duplicated code.
8042 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8045 - Handle focus event
8046 - Fix scrollbar events
8047 - Discard highlighted item if remove it
8048 - Fixes SelectedItem with strings
8050 2005-03-01 Peter Bartok <pbartok@novell.com>
8053 - Fixed Visible property, now follows (once again) parent chain
8054 to return false if any control in the chain is visible=false
8055 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8056 - Fixed several places where is_visible instead of Visible was used
8057 - Implemented FIXME related to focus selection when setting focused
8058 control to be invisible
8060 * XplatUIWin32.cs: Now using proper method to find out if window is
8061 visible. Thanks to Jordi for pointing it out
8063 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8065 * ComboBox.cs: show/hide scrollbar instead of creating it
8067 2005-02-27 Jackson Harper <jackson@ximian.com>
8069 * CurrencyManager.cs: Add PositionChanged stuff.
8071 2005-02-27 Peter Bartok <pbartok@novell.com>
8073 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8074 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8075 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8077 - Implemented GetMenuDC()
8078 - Implemented GetMenuOrigin()
8079 - Implemented ReleaseMenuDC()
8080 - Implemented generation of WM_NCPAINT message
8081 - Implemented generation and handling of WM_NCCALCSIZE message
8082 * Form.cs: Added debug helper message for Jordi's menu work
8084 - Modified ClientRect property; added setter, fixed getter to handle
8085 setting of ClientRect
8086 - Added MenuOrigin property
8088 2005-02-26 Peter Bartok <pbartok@novell.com>
8091 - Destroys the caret if a window that's being destroyed contains it
8092 - Ignores expose events coming from the X11 queue for windows that
8093 already are destroyed
8094 - Now uses the proper variable for handling DestroyNotify, before we
8095 marked the wrong window as destroyed
8096 - Improved/added some debug output
8098 2005-02-26 Peter Bartok <pbartok@novell.com>
8100 * X11Keyboard.cs: Fixes to work on 64bit systems
8102 2005-02-26 Peter Bartok <pbartok@novell.com>
8105 - Now calling OnHandleDestroyed from DestroyHandle()
8106 instead of Dispose()
8107 - Removed bogus call to controls.Remove() from DestroyHandle()
8109 2005-02-26 Peter Bartok <pbartok@novell.com>
8111 * Control.cs: Properly destroy child windows when our handle is
8114 2005-02-25 Peter Bartok <pbartok@novell.com>
8117 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8118 - Alphabetized Static Methods and Subclasses
8121 - Added XException class to allow custom handling of X11 exceptions
8122 - Created custom X11 error handler, tied into XException class
8123 - Added support for MONO_XEXCEPTIONS env var to allow the user
8124 to either throw an exception on X errors or continue running
8125 after displaying the error
8126 - Added handling of DestroyNotify message
8127 - Added handler for CreateNotify message (still disabled)
8128 - Improved (tried to at least) Where method to provide file and lineno
8130 - Added XErrorHandler delegate
8131 - Added XRequest enumeration (to suppor translation of errors)
8133 2005-02-25 Jackson Harper <jackson@ximian.com>
8135 * PropertyManager.cs: Implement editing features
8136 * CurrencyManager.cs:
8137 * Binding.cs: First attempt at UpdateIsBinding
8138 * BindingManagerBase.cs: Call UpdateIsBinding before
8139 pushing/pulling data.
8141 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8143 * MenuAPI.cs: Respect disabled items
8144 * ThemeWin32Classic.cs
8145 - Caches ImageAttributes creation for DrawImageDisabled
8146 - Fixes vertical menu line drawing
8147 - Draws disabled arrows in disable menu items
8149 2005-02-24 Peter Bartok <pbartok@novell.com>
8152 - Added UserData property to allow associating arbitrary objects
8154 - Fixed leak; now removing Hwnd references from static windows array
8156 - Fixed Graphics leak in PaintEventEnd
8157 - Removed usage of HandleData, switched over to Hwnd class
8158 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8160 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8162 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8163 * ScrollBar.cs: Fixes bug
8164 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8165 keyboard navigation enhancements
8167 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8169 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8170 * GroupBox.cs: Add control styles
8171 * Label.cs: Add control styles
8172 * UpDownBase.cs: Add control styles
8173 * ListBox.cs: Add control styles
8174 * XplatUIWin32.cs: Fixes wrong parameter order
8177 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8179 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8181 2005-02-23 Jackson Harper <jackson@ximian.com>
8183 * PropertyManager.cs: Implement property binding. This doesn't
8184 seem to work yet though as (I think) there are some bugs in
8185 System.ComponentModel.PropertyDescriptor.
8186 * BindingContext.cs: Use new PropertyManager constructor.
8188 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8190 * ProgressBar.cs: use clip region in ProgressBar
8191 * ThemeWin32Classic.cs: use clip region in ProgressBar
8193 2004-02-22 Jackson Harper <jackson@ximian.com>
8195 * BindingsCollection.cs: Remove some debug code.
8197 2005-02-22 Jackson Harper <jackson@ximian.com>
8199 * BindingContext.cs:
8200 * ControlBindingsCollection.cs:
8201 * CurrencyManager.cs:
8203 * BindingManagerBase.cs: Initial implementation
8204 * BindingsCollection.cs: Add an internal contains method that the
8205 BindingManagerBase uses to ensure bindings aren't added twice to
8207 * PropertyManager.cs: Stubbed out.
8209 * ContainerControl.cs: Hook up databinding
8211 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8214 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8215 Fixed Invalidate/Update chain.
8216 Fixed tons of other minor bugs (this is almost a complete rewrite).
8218 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8220 * ComboBox.cs: do subcontrol creation when the control is created
8222 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8224 * Label.cs: fixes image drawing (image and imagelist)
8225 * ThemeWin32Classic.cs: cache brushes
8227 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8229 * Form.cs: Move menu drawing code to Theme class
8230 * ComboBox.cs: Move ComboBox drawing code to Theme class
8231 * MenuItem.cs: Move menu drawing code to Theme class
8232 * MenuAPI.cs: Move menu drawing code to Theme class
8233 * ThemeWin32Classic.cs: New methods
8234 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8235 * ListBox.cs: Move Listbox drawing code to Theme class
8236 * Theme.cs: New methods
8238 2005-02-20 Peter Bartok <pbartok@novell.com>
8241 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8242 only process mnemonics on those)
8243 - Fixed event sequence for key handling; first calling
8244 ProcessKeyEventArgs now
8246 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8247 for processing non-character keys
8248 - Fixed WM_CHAR to generate proper event sequence before processing
8249 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8252 2005-02-19 Peter Bartok <pbartok@novell.com>
8254 * UserControl.cs: Added TextChanged event; added attributes
8255 * SizeGrip.cs: Implemented resizing and optional display of grip
8256 * Form.cs: Fixed attribute
8257 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8258 Changed meaning of ScrollWindow bool argument; instead of the
8259 clear attribute (which will be true usually anyway), it gives the
8260 option of moving child controls as well.
8262 - Changed to match new ScrollWindow argument
8263 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8264 now handles the implicit parent window a WM puts around us
8265 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8267 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8268 * TreeView.cs: Adjusted to new ScrollWindow arguments
8270 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8272 * Form.cs: Menu integration with non-client area
8273 * MenuItem.cs: Menu integration with non-client area
8274 * MenuAPI.cs: Menu integration with non-client area
8276 2005-02-18 Peter Bartok <pbartok@novell.com>
8278 * MethodInvoker.cs: Added
8279 * MdiLayout.cs: Added
8280 * SendKeys.cs: Started implementation
8281 * ErrorIconAlignment.cs: Added
8283 2005-02-18 Peter Bartok <pbartok@novell.com>
8285 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8286 * Form.cs: Added handling for Menu-related Non-client messages
8288 2005-02-17 Peter Bartok <pbartok@novell.com>
8290 * UpDownBase.cs: Fixed typo, compilation errors
8291 * DomainUpDown.cs: Fixed attribute value
8293 2005-02-16 Miguel de Icaza <miguel@novell.com>
8295 * UpDownBase.cs: Attach entry events.
8297 Add ForeColor property, Focused, InterceptArrowKeys (interception
8300 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8303 - Redraw non client are on Setmenu
8304 - Calc proper menu starting point
8306 2005-02-17 Peter Bartok <pbartok@novell.com>
8308 * Application.cs: Fixed message_filter check
8310 2005-02-17 Peter Bartok <pbartok@novell.com>
8312 * Application.cs: Now calls registered message filters
8313 * DockStyle.cs: Fixed attribute
8314 * Form.cs: Fixed attribute
8315 * Menu.cs: Fixed attribute
8316 * ToolTip.cs: Fixed attribute
8317 * TreeNode.cs: Added missing attributes and arranged in regions
8318 * PropertyGrid.cs: Fixed signatures
8319 * TreeNodeCollection.cs: Added attributes
8320 * Splitter.cs: Added missing attributes; arranged into regions
8321 * TabPage.cs: Added missing attributes; arranged into regions
8322 * TextBoxBase.cs: Added missing attributes
8323 * TextBox.cs: Added missing attributes
8324 * ArrangeDirection.cs: Added missing attributes
8325 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8326 * ToolBarButton.cs: Fixed attributes
8327 * AnchorStyles.cs: Fixed attribute
8328 * TrackBar.cs: Fixed attributes
8329 * TabControl.cs: Added missing attributes and arranged into regions
8330 * ToolBar.cs: Fixed attribute
8331 * StatusBar.cs: Fixed signature, organized into regions and added
8333 * StatusBarPanel.cs: Fixed attributes
8334 * ContentsResizedEventArgs.cs: Implemented
8335 * ContentsResizedEventHandler.cs: Implemented
8336 * DateBoldEventArgs.cs: Implemented
8337 * DateBoldEventHandler.cs: Implemented
8338 * UpDownEventArgs.cs: Implemented
8339 * UpDownEventHandler.cs: Implemented
8341 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8343 * Form.cs: first Menu NC refactoring
8344 * MenuAPI.cs: first Menu NC refactoring
8346 2005-02-16 Peter Bartok <pbartok@novell.com>
8348 * ImeMode.cs: Added missing attributes
8349 * Menu.cs: Fixed attribute
8350 * GroupBox.cs: Fixed attribute
8351 * Label.cs: Fixed attribute
8352 * ColorDialog.cs (RunDialog): Removed TODO attribute
8353 * ComboBox.cs: Fixed attributes
8354 * ListControl.cs: Added missing attributes
8355 * PropertyGrid.cs: Fixed attributes
8356 * Control.cs: Fixed attributes
8357 * ListViewItem.cs: Added TypeConverter attribute
8358 * NotifyIcon.cs: Fixed attributes
8359 * ListView.cs: Fixed attributes
8360 * ButtonBase.cs: Fixed attribute
8361 * ImageList.cs: Added missing attributes
8362 * ContainerControl.cs: Fixed signature
8363 * CheckedListBox.cs: Fixed attribute; added missing attributes
8364 * Panel.cs: Fixed attributes
8365 * PropertyTabChangedEventArgs.cs: Added missing attribute
8366 * PropertyValueChangedEventArgs.cs: Added missing attribute
8367 * Binding.cs: Fixed attribute
8368 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8369 * ListBox.cs: Fixed attribute; added missing attributes;
8370 * ScrollableControl.cs: Added missing attributes
8371 * PictureBox.cs: Added missing attributes; implemented missing property
8372 * DateTimePicker.cs: Added missing attributes
8373 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8374 * MonthCalendar.cs: Fixed attributes
8375 * StatusBarPanel.cs: Added missing attributes
8376 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8378 2005-02-16 Peter Bartok <pbartok@novell.com>
8380 * TextBoxBase.cs: The previous method to enforce height yet remember
8381 the requested high was less than ideal, this is an attempt to do
8383 * Control.cs: Added comment about possible problem
8384 * Copyright: Updated format
8385 * GridItemType.cs: Fixed swapped values
8387 2005-02-15 Jackson Harper <jackson@ximian.com>
8389 * BaseCollection.cs: Use property so we never access an
8390 uninitialized list. Also initialize the list in the property.
8392 2005-02-15 Peter Bartok <pbartok@novell.com>
8394 * GroupBox.cs (ProcessMnemonic): Implemented
8395 * Label.cs (ProcessMnemonic): Implemented
8396 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8399 2005-02-15 Peter Bartok <pbartok@novell.com>
8401 * RadioButton.cs (ProcessMnemonic): Implemented
8402 * CheckBox.cs (ProcessMnemonic): Implemented
8404 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8406 - Added internal method to allow calling ProcessMnemonic from other
8408 * ContainerControl.cs:
8409 - Started support for handling validation chain handling
8410 - Implemented ProcessMnemonic support
8411 - Added Select() call to Active, to make sure the active control
8413 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8415 * ThemeWin32Classic.cs:
8416 - DrawCheckBox(): Fixed stringformat to show hotkeys
8417 - DrawRadioButton(): Fixed stringformat to show hotkeys
8418 * CommonDialog.cs: Removed WndProc override, not needed
8420 2005-02-14 Peter Bartok <pbartok@novell.com>
8422 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8423 missed those in the rewrite
8425 2005-02-14 Miguel de Icaza <miguel@novell.com>
8427 * NumericUpDown.cs (Increment, ToString): Add.
8428 (DecimalPlaces): implement.
8432 * UpDownBase.cs: Add the designer attributes.
8434 2005-02-13 Peter Bartok <pbartok@novell.com>
8436 * Panel.cs: Removed border_style, now in Control
8437 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8438 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8440 2005-02-13 Peter Bartok <pbartok@novell.com>
8442 * MouseButtons.cs: Added missing attributes
8443 * XplatUIStructs.cs: Added enumeration for title styles
8444 * LeftRightAlignment.cs: Added missing attributes
8445 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8446 it compatible with Graphics.FromHwnd()
8447 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8448 * Keys.cs: Added missing attributes
8449 * SelectionRange.cs: Added missing attributes
8450 * SelectionRangeConverter.cs: Added
8452 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8453 ReleaseMenuDC methods
8454 - Renamed ReleaseWindow to UngrabWindow
8455 - Added proper startup notice to allow version identification
8457 - Added missing attributes
8458 - Removed FormParent concept
8459 * Label.cs: Removed border_style field, now in Control
8460 * RadioButton.cs: Now properly selects RadioButton when focus is
8462 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8464 - Added missing attributes
8465 - Added borderstyle handling
8466 - Removed FormParent concept support
8467 - Fixed calls to XplatUI to match changed APIs
8468 - Fixed bug that would case us to use disposed Graphics objects
8469 - Removed unneeded internal methods
8470 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8471 - SelectNextControl(): Fixed to properly check common parents
8472 * TextBoxBase.cs: Removed border_style field (now in Control)
8474 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8475 fixed calculations for form size
8476 - Added support for localized strings and icons
8477 - Improved form size calculations, added border
8478 * ListView.cs: Removed border_style field (now in Control)
8479 * X11Structs.cs: Moved several structs from X11 driver here
8480 * X11Keyboard.cs: Changed debug message
8481 * Application.cs: Removed FormParent concept support
8483 - Resetting end_modal flag
8484 - Removed FormParent concept support
8485 * NativeWindow.cs: Removed FormParent concept support
8486 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8487 Client area and Non-Client whole window to allow support for WM_NC
8489 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8490 prevent using it until it supports Hwnd as per Geoff Norton's request
8491 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8492 * PictureBox.cs: Removed border_style field, now in Control
8493 * XplatUIWin32.cs: Added new driver methods
8495 2005-02-12 Peter Bartok <pbartok@novell.com>
8497 * OpacityConverter.cs: Implemented
8498 * Hwnd.cs: Internal class to support drivers that need to emulate
8499 client area/non-client area window behaviour
8501 2005-02-11 Peter Bartok <pbartok@novell.com>
8503 * KeysConverter.cs: Implemented
8505 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8507 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8508 * LinkLabel: Added missing attributes
8509 * MainMenu.cs: fixes ToString
8510 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8511 * ListBox.cs: fixes event position
8512 * TrackBar.cs: adds missing attributes and events
8514 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8516 * MenuItem.cs: Use SystemInformation and bug fixes
8517 * MenuAPI.cs: Use SystemInformation and bug fixes
8519 2005-02-09 Jackson Harper <jackson@ximian.com>
8521 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8522 their keystate otherwise things like VK_MENU get stuck "on".
8524 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8526 * ListBox.cs: Fixes AddRange bug
8528 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8531 - Add missing attributes
8532 - Add missing method
8534 * CheckedListBox.cs: Added missing attributes
8535 - Add missing attributes
8536 - Remove extra method
8538 * ComboBox.cs: Added missing attributes
8539 * VScrollBar.cs: Added missing attributes
8540 * ScrollBar.cs: Added missing attributes
8541 * ListBox.cs: Fixes signature, add missing consts
8542 * LinkArea.cs: Added missing attributes
8545 2005-02-08 Peter Bartok <pbartok@novell.com>
8547 * Menu.cs: Added missing attributes
8548 * MainMenu.cs: Added missing attributes
8549 * GroupBox.cs: Added missing attributes
8550 * Label.cs: Added missing attributes
8551 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8553 - Added Instance and Options properties
8554 - Added missing attributes
8555 * Cursor.cs: Made Serializable
8556 * NotifyIcon: Added missing attributes
8557 * MenuItem.cs: Added missing attributes
8558 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8559 * Panel.cs: Added Missing attributes
8560 * MonthCalendar.cs: Fixed CreateParams
8562 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8566 - Fixes issues with links
8567 - Adds the class attributes
8569 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8572 - Fixes button when no items available in dropdown
8573 - Fixes repainting problems
8574 - Adds the class attributes
8576 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8578 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8579 the current theme. Cache these on startup.
8581 2005-02-07 Jackson Harper <jackson@ximian.com>
8583 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8584 the scrollbar buttons when they are depressed.
8586 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8588 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8589 Get the display size from the main displayid. We currently dont
8590 support multiple display configurations.
8592 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8594 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8596 2005-02-07 Miguel de Icaza <miguel@novell.com>
8598 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8600 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8602 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8604 2005-02-04 Jackson Harper <jackson@ximian.com>
8606 * ThemeWin32Classic.cs: Respect the clipping rect when
8607 drawing. Only fill the intersection of clips and rects so there
8608 isn't a lot of large fills.
8609 * ScrollBar.cs: Pass the correct clipping rect to the theme
8610 engine. Remove some debug code.
8612 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8614 * DateTimePicker.cs:
8615 - Fixed crash on DateTime.Parse, use Constructor instead
8617 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8621 - Owner draw support (MeasureItem and DrawItem)
8623 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8626 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8627 - Fixes MenuItems.Add range
8629 - MergeMenu and Clone and CloneMenu functions
8631 2005-02-03 Jackson Harper <jackson@ximian.com>
8633 * ScrollBar.cs: Make abstract
8634 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8637 2005-02-03 Jackson Harper <jackson@ximian.com>
8639 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8640 all the unneeded refreshes and uses invalidates with properly
8643 2005-02-03 Peter Bartok <pbartok@novell.com>
8645 * ComponentModel.cs: Added
8646 * IDataGridEditingService.cs: Added
8647 * Timer.cs: Added missing attributes
8648 * ToolTip.cs: Added missing attributes
8650 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8652 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8654 2005-02-03 Peter Bartok <pbartok@novell.com>
8656 * ListBox.cs: Added missing attributes
8658 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8661 - Fixes font height after font change
8662 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8664 2005-02-02 Peter Bartok <pbartok@novell.com>
8666 * HandleData.cs: Introduced static methods to allow class
8667 to be more self-contained and track it's own HandleData objects
8668 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8669 HandleData to use new static methods
8671 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8674 - Fixes default size and PreferredHeight
8676 - ObjectCollection.Insert implementation
8682 - ObjectCollection.Insert implementation
8683 - No selection after clean
8686 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8688 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8690 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8693 - Caches ItemHeight calculation for OwnerDrawVariable
8694 - Handles dropdown properly
8695 - Fixes several minor bugs
8697 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8700 - Fixes 71946 and 71950
8701 - Fixes changing Multicolumn on the fly
8702 - Fixes keyboard navigation on Multicolumn listboxes
8704 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8706 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8709 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8711 * XplatUIOSX.cs: Allow applications to actually exit.
8713 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8715 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8716 their parent at creation time rather than lazily later. Fixes a major
8717 regression we were experiencing.
8719 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8721 * ThemeWin32Classic.cs: more date time picker painting fixes
8722 * DateTimePicker.cs: more monthcalendar drop down fixes
8723 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8725 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8728 - When moving the thumb going outside the control should stop the moving
8729 - Adds the firing of missing events
8730 - Fixes no button show if Size is not specified
8731 - End / Home keys for keyboard navigation
8733 2005-01-30 Peter Bartok <pbartok@novell.com>
8735 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8736 sanity check to prevent theoretical loop
8737 * XplatUIWin32.cs (SetVisible): Removed debug output
8738 * XplatUIX11.cs (SystrayChange): Added sanity check
8739 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8740 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8741 behaviour, valid until the X11 client window rewrite is done
8742 * TextBox.cs (ctor): Setting proper default foreground and background
8745 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8747 * Theme: Added DrawDateTimePicker to interface
8748 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8749 * DateTimePicker.cs: Created (still needs keys and painting code)
8750 * DateTimePickerFormat.cs: added
8751 * MonthCalendar.cs: fixed CreateParams for popup window mode
8753 2005-01-29 Peter Bartok <pbartok@novell.com>
8755 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8756 this should also the calculations for ligher/darker
8757 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8759 2005-01-29 Peter Bartok <pbartok@novell.com>
8761 * ArrangeDirection.cs: Added
8762 * ArrangeStartingPositon.cs: Added
8763 * SystemInformation.cs: Implemented
8764 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8765 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8766 used by SystemInformation class
8767 * X11Strucs.cs: Added XSizeHints structure
8769 - Fixed CreateParams to make sure the menu window is always visible
8770 - TrackPopupMenu: Added check to make sure we don't draw the
8773 2005-01-29 Peter Bartok <pbartok@novell.com>
8775 * HandleData.cs: Added method for altering invalid area
8776 * TextBoxBase.cs: Implemented TextLength
8778 2005-01-28 Peter Bartok <pbartok@novell.com>
8780 * XplatUIX11.cs: Improvement over last patch, not sending
8781 the WM_PAINT directly anymore, instead we scroll any pending
8782 exposed areas and let the system pick out the WM_PAINT later
8784 2005-01-28 Peter Bartok <pbartok@novell.com>
8786 * SWF.csproj: Deleted, no longer used. Instead,
8787 Managed.Windows.Forms/SWF.csproj should be used
8788 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8789 directly, to avoid a potential race condition with the next
8792 2005-01-28 Peter Bartok <pbartok@novell.com>
8794 * XplatUI.cs: Made class internal
8796 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8798 * CheckedListBox.cs:
8801 - Missing methods and events
8803 2005-01-27 Peter Bartok <pbartok@novell.com>
8805 * Application.cs (Run): Don't use form if we don't have one
8807 2005-01-27 Peter Bartok <pbartok@novell.com>
8809 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8811 2005-01-27 Peter Bartok <pbartok@novell.com>
8813 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8814 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8815 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8816 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8817 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8818 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8819 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8820 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8821 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8822 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8823 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8824 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8826 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8829 - Draw focus on Simple Combobox
8830 - Fixes drawing issues
8833 2005-01-27 Peter Bartok <pbartok@novell.com>
8836 - Place window in default location, instead of hardcoded 0/0
8837 - Send initial LocationChanged event
8839 - UpdateBounds after creation to find out where the WM placed us
8840 - Make sure that if the ParentForm changes location the Form
8842 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8843 to the root, but to whatever the WM placed around us.
8844 Translate to root coordinates before returning toplevel
8846 * XplatUIWin32.cs: Removed debug output
8847 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8848 flag to GetWindowPos, to allow translation of coordinates on X11
8850 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8852 * ListBox.cs: connect LostFocus Event
8854 2005-01-27 Peter Bartok <pbartok@novell.com>
8856 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8857 XplatUIX11.cs: Extended the Systray API
8858 * Form.cs: Removed debug output
8859 * Application.cs: Fixed focus assignment, always need to call
8860 XplatUI.Activate() since Form.Activate() has rules that may
8862 * NotifyIcon.cs: Should be complete now
8863 * ToolTip.cs: Worked around possible timer bug
8865 2005-01-27 Jackson Harper <jackson@ximian.com>
8868 - Only invalidate the effected tabs when the
8869 selected index changes. This reduces drawing and gets rid of some
8871 - Only refresh if the tabs need to be shifted, otherwise only
8872 invalidate the slider button.
8873 - On windows the tabs are not filled to right if the slider is
8876 2005-01-27 Jackson Harper <jackson@ximian.com>
8878 * TabControl.cs: Only refresh on mouseup if we are showing the
8879 slider. Also only invalidate the button whose state has changed.
8881 2005-01-26 Peter Bartok <pbartok@novell.com>
8883 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8884 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8885 and SystrayRemove() methods
8886 * XplatUIOSX.cs: Stubbed Systray methods
8888 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8890 - Fixed broken XChangeProperty calls (marshalling messed up things)
8891 * X11Structs.cs: Added enums and structs required for Size hinting
8892 * NotifyIcon.cs: Added & implemented
8894 2005-01-26 Jackson Harper <jackson@ximian.com>
8896 * TabControl.cs: Space vertically layed out tabs properly.
8898 2005-01-26 Peter Bartok <pbartok@novell.com>
8900 * Form.cs (CreateClientParams): Always set the location to 0,0
8901 since we're a child window.
8903 * Control.cs (SetVisibleCore): Always explicitly setting the location
8904 of a toplevel window, apparently X11 doesn't like to move windows
8905 while they're not mapped.
8907 2005-01-26 Jackson Harper <jackson@ximian.com>
8909 * TabControl.cs: Implement FillToRight size mode with vertically
8912 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8914 * ControlPaint.cs, ThemeWin32Classic.cs
8915 - Fixes DrawFocusRectangle
8917 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8920 - MenuBar tracking only starts when item is first clicked
8921 - Fixes menu hidding for multiple subitems
8922 - Unselect item in MenuBar when item Executed
8925 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8928 - IsInputKey for ListBox
8931 - Shift and Control item selection
8932 - Implement SelectionMode.MultiExtended
8935 - IsInputKey implemented
8936 - Do not generate OnTextChangedEdit on internal txt changes
8938 2005-01-23 Peter Bartok <pbartok@novell.com>
8940 * AccessibleObject.cs: Partially implemented Select()
8941 * MonthCalendar.cs: Added missing attributes and events
8942 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8943 form can properly override CreateParams.
8944 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8945 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8946 Control performs Invalidate & Update
8947 * NativeWindow (CreateHandle): Added special handling for Form
8948 and Form.FormParent classes to allow overriding of From.CreateParams
8950 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8952 - ControlNativeWindow: Added Owner property
8953 - Removed usage of Refresh() on property changes, changed into
8954 Invalidate(), we need to wait until the queue is processed for
8955 updates, direct calls might cause problems if not all vars for
8956 Paint are initialized
8957 - Added call to UpdateStyles() when creating the window, to set any
8958 styles that CreateWindow might have ignored.
8959 - Added support for Form CreateParent overrides to UpdateStyles()
8960 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8961 CreateParams are now properly overridable
8962 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8963 CreateParams are now properly overridable
8965 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8967 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8970 Capture LostFocus and OnTextBoxChanged. The later introduces a
8971 recursive invocation that I have not figured out yet.
8973 Reset the timer when not using (it was accumulating).
8976 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8977 user has made changes that require validation.
8979 Reset changing to avoid loops.
8981 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8983 * NumericUpDown.cs: Display value at startup.
8985 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8988 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8989 filled in. Added some basic parsing of text.
8991 Still missing the OnXXX method overrides, and figuring out the
8992 events that must be emitted.
8994 * UpDownBase.cs: Handle UserEdit on the Text property.
8996 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8999 - Fixes IntegralHeight
9002 2005-01-21 Jackson Harper <jackson@ximian.com>
9004 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9005 is set so that the page visibility is updated and the tabs are
9008 2005-01-21 Jackson Harper <jackson@ximian.com>
9010 * TabControl.cs: Use cliping rectangle for blitting. Give the
9011 theme the clipping rect so we can do clipping while
9012 drawing. Remove some debug code.
9014 2005-01-21 Jackson Harper <jackson@ximian.com>
9016 * TabPage.cs: Add a new method so tab pages can force the tab
9017 control to recalculate the tab page sizes.
9018 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9021 2005-01-20 Jackson Harper <jackson@ximian.com>
9023 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9025 2005-01-20 Jackson Harper <jackson@ximian.com>
9027 * TreeView.cs: Set the bounds for nodes properly. They were
9028 getting screwed up when checkboxes were not enabled, but images
9031 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9034 - Owner draw support
9037 2005-01-20 Jackson Harper <jackson@ximian.com>
9039 * XplatUIStructs.cs: More misc keys
9040 * X11Keyboard.cs: Ignore some control keys.
9042 2005-01-20 Jackson Harper <jackson@ximian.com>
9044 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9045 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9047 2005-01-19 Peter Bartok <pbartok@novell.com>
9049 * Control.cs: Un-selecting the control when it is loosing focus
9051 2005-01-19 Jackson Harper <jackson@ximian.com>
9053 * TreeView.cs: Hook up to the text controls leave event so we can
9054 end editing when the users clicks outside the text box.
9056 2005-01-19 Jackson Harper <jackson@ximian.com>
9058 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9059 get set in the conversion array.
9061 2005-01-19 Peter Bartok <pbartok@novell.com>
9063 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9064 focus is properly set
9066 - Added missing attributes
9067 - removed styles, those are already set in the base class
9069 - Added missing attributes
9070 - Added clip window styles
9071 * CheckBox.cs: Added missing attributes
9073 - FormParentWindow.CreateParams: Added required clip styles
9074 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9075 also filters modifier keys
9077 - Added assignment of Accept and Cancel button to enable Enter
9078 and Esc keys in MessageBox dialogs
9079 - FormParentWindow.CreateParams: Added required clip styles
9080 * RadioButton.cs: Added missing attributes
9081 * TextControl.cs: No longer draws selection if control does not
9084 - Now draws simple rectangle around test area to make it obvious
9085 there's a control. This is a hack until we properly support borders
9086 - A few simple fixes to support selections better, now erases selected
9087 text when typing, and resets selection when using movement keys
9089 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9091 * UpDownBase.cs: Added some new properties.
9093 * DomainUpDown.cs: Implement a lot to get my test working.
9095 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9097 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9099 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9101 * OSXStructs (WindowAttributes): Fixed csc complaints
9103 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9106 OSXStructs.cs: Initial refactor to move enums and consts into
9107 OSXStructs and use them in the driver for greater readability.
9109 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9111 * XplatUIOSX.cs: Initial support for Standard Cursors.
9112 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9114 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9116 * ComboBox.cs: ability to change style when the ctrl is already
9117 created, missing methods and events, bug fixes, signature fixes
9119 2005-01-19 Peter Bartok <pbartok@novell.com>
9121 * Cursors.cs (ctor): Added ctor to fix signature
9123 2005-01-18 Peter Bartok <pbartok@novell.com>
9125 * Button.cs: Implemented DoubleClick event
9127 - Fixed keyboard handling to behave like MS, where the press of
9128 Spacebar is equivalent to a mousedown, and the key release is
9129 equivalent to mouseup. Now a spacebar push will give the same
9130 visual feedback like a mouse click.
9131 - Added missing attributes
9132 - Added ImeModeChanged event
9133 - Added support for generating DoubleClick event for derived classes
9135 - Implemented DoubleClick event
9136 - Added missing attributes
9137 * CommonDialog.cs: Added missing attribute
9138 * ContextMenu.cs: Added missing attributes
9140 - AutoChecked buttons do not allow to be unselected when clicked
9141 (otherwise we might end up with no selected buttons in a group)
9142 - Added missing attributes
9143 - Implemented DoubleClickEvent
9144 * ThreadExceptionDialog.cs: Enabled TextBox code
9146 2005-01-18 Peter Bartok <pbartok@novell.com>
9148 * Form.cs: Removed debug output
9149 * Button.cs: Added support for DoubleClick method
9151 2005-01-18 Peter Bartok <pbartok@novell.com>
9154 - Added method to parent window that allows triggering size
9155 calculations when a menu is added/removed
9156 - set_Menu: Cleaned up mess from early days of Form and Control,
9157 now properly triggers a recalc when a menu is added/removed
9158 - Added case to select form itself as focused form if no child
9160 - Added PerformLayout call when showing dialog, to ensure properly
9163 - Select(): Made internal so Form can access it
9164 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9166 * Application.cs (Run): Removed hack and calls PerformLayout instead
9167 to trigger calculation when Form becomes visible
9169 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9171 * ComboBox.cs: fixes for ownerdraw
9173 2005-01-18 Peter Bartok <pbartok@novell.com>
9176 - Sentinel is no longer static, each Document gets it's own, this
9177 avoids locking or alternatively overwrite problems when more
9178 than one text control is used simultaneously.
9179 - Switched to use Hilight and HilightText brushes for text selection
9181 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9183 2005-01-18 Peter Bartok <pbartok@novell.com>
9186 - Hooked up the following events:
9194 o SystemColorsChanged
9197 - Removed debug output
9198 - Added a call to the current theme's ResetDefaults when a color change
9200 * Form.cs: Now setting the proper ImeMode
9201 * Theme.cs: Defined a method to force recreation of cached resources
9202 and rereading of system defaults (ResetDefaults())
9203 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9205 2005-01-17 Peter Bartok <pbartok@novell.com>
9207 * Control.cs: Added missing attributes
9209 2005-01-17 Jackson Harper <jackson@ximian.com>
9211 * TreeNode.cs: Implement editing. Add missing properties selected
9213 * TreeView.cs: Implement node editing. Also some fixes to use
9214 Invalidate (invalid area) instead of Refresh when selecting.
9216 2005-01-17 Peter Bartok <pbartok@novell.com>
9219 - Implemented InvokeGotFocus() method
9220 - Implemented InvokeLostFocus() method
9221 - Implemented InvokePaint() method
9222 - Implemented InvokePaintBackground() method
9223 - Implemented InvokeClick() method
9224 - Implemented FindForm() method
9225 - Implemented RectangleToClient() method
9226 - Implemented ClientToRectangle() method
9227 - Implemented ResetBackColor() method
9228 - Implemented ResetCursor() method
9229 - Implemented ResetFont() method
9230 - Implemented ResteForeColor() method
9231 - Implemented ResetImeMode() method
9232 - Implemented ResetLeftToRight() method
9233 - Implemented ResetText() method
9234 - Implemented Scale() methods
9235 - Implemented ScaleCore() method
9236 - Implemented Update() method
9237 - Removed unused variables
9238 - Stubbed AccessibilityNotifyClients and
9239 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9241 - Now setting proper default for RightToLeft property
9242 - Fixed bug in SetClientSizeCore that would cause windows to get
9244 - Now sending Click/DoubleClick events
9245 - Now selecting controls when left mouse button is clicked on
9247 * AccessibleEvents.cs: Added
9248 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9249 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9250 * XplatUIWin32.cs: Implemented UpdateWindow() method
9251 * XplatUIX11.cs: Implemented UpdateWindow() method
9252 * Form.cs: Removed stray semicolon causing CS0162 warning
9253 * ThemeWin32Classic.cs: Fixed unused variable warnings
9254 * ScrollableControl.cs: Now calls base method for ScaleCore
9255 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9256 style to avoid interference with internal click handler (which is
9257 different than standard Control click handling)
9259 - Now unchecks all sibling radio buttons when control is
9260 selected (Fixes #68756)
9261 - Removed internal tabstop variable, using the one inherited from
9264 2005-01-17 Jackson Harper <jackson@ximian.com>
9266 * NavigateEventArgs.cs: Fix base type.
9267 * LinkLabel.cs: Sig fix
9269 2005-01-17 Jackson Harper <jackson@ximian.com>
9271 * TreeView.cs: Only invalidate the effected nodes bounds when
9274 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9276 * XplatUIWin32.cs: fixes Win32 marshaling
9277 * XplatUIX11.cs: fixes method signature
9279 2005-01-17 Peter Bartok <pbartok@novell.com>
9281 * XplatUIX11.cs: Clean up resources when we no longer need them
9283 2005-01-17 Peter Bartok <pbartok@novell.com>
9285 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9286 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9287 and DestroyCursor() methods.
9288 * Cursor.cs: Partially implemented, now supports standard cursors;
9289 still contains some debug code
9290 * Cursors.cs: Implemented class
9292 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9294 - Implemented Cursor property
9295 - Replaced break; with return; more straightforwar and possibly
9297 - Now properly setting the result for WM_HELP
9298 * X11Structs.cs: Added CursorFontShape enum
9299 * XplatUIStructs.cs:
9300 - Added StdCursor enum (to support DefineStdCursor() method)
9301 - Added HitTest enum (to support sending WM_SETCURSOR message)
9303 - Now sends the WM_SETCURSOR message
9304 - Implemented new cursor methods
9305 * XplatUIOSX.cs: Stubbed new cursor methods
9307 - Implemented new cursor methods
9308 - Added GetSystemMetrics function and associated enumeration
9310 2005-01-15 Peter Bartok <pbartok@novell.com>
9313 - WndProc(): Now handles EnableNotifyMessage
9314 - SelectNextControl(): Fixed bug where if no child or sibling
9315 controls exist we looped endlessly
9317 2005-01-14 Jackson Harper <jackson@ximian.com>
9319 * TreeView.cs: Recalculate the tab pages when a new one is added
9320 so that the proper bounding rects are created.
9322 2005-01-14 Jackson Harper <jackson@ximian.com>
9324 * TreeView.cs: Draw a gray box instead of a grip in the lower
9325 right hand corner when there are both horizontal and vertical
9328 2005-01-14 Jackson Harper <jackson@ximian.com>
9330 * Control.cs: When erasing backgrounds use FromHwnd instead of
9331 FromHdc when there is a NULL wparam. This occurs on the X driver.
9332 * XplatUIX11.cs: Set the wparam to NULL.
9334 2005-01-13 Jackson Harper <jackson@ximian.com>
9336 * PictureBox.cs: Implement missing methods (except ToString, need
9337 to test that on windows) and events. When visibility is changed we
9338 need to redraw the image because the buffers are killed. When size
9339 is changed refresh if the sizemode needs it.
9341 2005-01-13 Peter Bartok <pbartok@novell.com>
9343 * Control.cs (SelectNextControl): Was using wrong method to select
9346 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9348 * ComboBox.cs: fixes dropstyle
9350 2005-01-13 Peter Bartok <pbartok@novell.com>
9353 - Implemented Select() override
9354 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9355 - Now sets keyboard focus on startup
9356 * Control.cs (SelectNextControl): Now properly handles directed=true
9358 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9359 - Added (really bad) focus rectangle (mostly for testing)
9360 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9361 to enforce redraw on focus changes
9362 * ContainerControl.cs:
9363 - Fixed detection of Shift-Tab key presses
9364 - Fixed traversal with arrow keys
9365 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9366 gonna keep this or if it's complete yet
9368 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9370 * ComboBox.cs: missing properties, fixes
9372 2005-01-13 Peter Bartok <pbartok@novell.com>
9374 * Panel.cs (ctor): Setting Selectable window style to off
9375 * Splitter.cs (ctor): Setting Selectable window style to off
9376 * GroupBox.cs (ctor): Setting Selectable window style to off
9377 * Label.cs (ctor): Setting Selectable window style to off
9379 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9381 * UpDownBase.cs (InitTimer): If the timer has been already
9384 Use a TextBox instead of a Label.
9386 2005-01-12 Jackson Harper <jackson@ximian.com>
9388 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9389 draw the connecting node lines (when ShowLines is true).
9390 * TreeNode.cs: The nodes index can now be updated. This is used
9391 when a node collection is sorted.
9392 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9393 insert or an existing unsorted node collection can be sorted.
9395 2005-01-12 Peter Bartok <pbartok@novell.com>
9397 * ContainerControl.cs: Implemented ProcessDialogKeys()
9399 2005-01-12 Peter Bartok <pbartok@novell.com>
9402 - Implemented SelectNextControl() method
9403 - Several focus related bug fixes
9404 - Fixed Docking calculations to match MS documentation and
9407 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9409 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9412 2005-01-12 Peter Bartok <pbartok@novell.com>
9415 - Fixed broken Contains() method
9416 - Implemented GetNextControl() method. Finally. This is the pre-
9417 requisite for focus handling.
9419 2005-01-12 Peter Bartok <pbartok@novell.com>
9421 * OSXStrucs.cs: Added
9423 2005-01-12 Peter Bartok <pbartok@novell.com>
9426 - Removed PeekMessageFlags
9427 - Implemented SetWindowStyle() method
9428 * XplatUIStructs.cs: Added PeekMessageFlags
9429 * X11Structs: Added missing border_width field to XWindowChanges struct
9431 - PeekMessage: Now throws exception if flags which are not yet
9432 supported are passed
9433 - Implemented SetWindowStyle() method
9434 - Fixed SetZOrder to handle AfterHwnd properly
9435 * XplatUI.cs: Added SetWindowStyle() method
9436 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9438 - Implemented UpdateStyles() method
9439 - Implemented UpdateZOrder() method
9440 * XplatUIOSX.cs: Added SetWindowStyle() stub
9442 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9444 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9448 2005-01-11 Jackson Harper <jackson@ximian.com>
9450 * TreeView.cs: Still need to draw lines to siblings even if out of
9451 the current node is out of the clip.
9453 2005-01-11 Jackson Harper <jackson@ximian.com>
9455 * TreeView.cs: When setting the hbar/vbar/grip position use
9456 SetBounds so that perform layout is only called once. Also suspend
9457 and resume layout so layout is only done once for all controls.
9458 - Removed some debug fluff
9459 * SizeGrip.cs: Call base implmentation in overriding methods.
9460 - When visibility is changed the drawing buffers are killed so we
9463 2005-01-11 Jackson Harper <jackson@ximian.com>
9465 * TreeView.cs: Calculate the open node count while drawing. This
9466 saves us an entire tree traversal for every paint operation. Use
9467 a member var for the open node count so less vars are passed around.
9469 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9472 - fixed selection to use mousemove, not mouse polling on timer
9473 * ThemeWin32Classic.cs
9474 - removed redundant unused variable "no_more_content"
9476 2005-01-11 Peter Bartok <pbartok@novell.com>
9478 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9479 are pending, so it now calls PeekMessage instead of GetMessage;
9480 implemented a incomplete version of PeekMessage
9482 2005-01-11 Peter Bartok <pbartok@novell.com>
9484 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9486 * TextBoxBase.cs: Added sending of TextChanged event
9488 2005-01-10 Jackson Harper <jackson@ximian.com>
9490 * TreeView.cs: Try not to draw outside the clipping rectangle on
9493 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9495 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9497 2005-01-10 Jackson Harper <jackson@ximian.com>
9500 - Implement fast scrolling. Now only the newly
9501 exposed nodes are drawn and the old image is moved using the
9502 XplatUI::ScrollWindow method.
9503 - Factor in height of nodes when calculating whether or not the
9504 node is in the clipping rect.
9506 2005-01-10 Jackson Harper <jackson@ximian.com>
9508 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9510 2005-01-10 Peter Bartok <pbartok@novell.com>
9512 * Application.cs: Added temporary hack to resolve all our resize
9513 required issues on startup. This will get fixed properly at
9514 some point in the future
9516 2005-01-10 Jackson Harper <jackson@ximian.com>
9518 * SizeGrip.cs: New internal class that is used as a sizing
9519 grip control...hence the name.
9521 2005-01-10 Peter Bartok <pbartok@novell.com>
9523 * Control.cs: Implemented proper TabIndex handling, now assigning
9524 a tabindex when a control is added to a container
9525 * GroupBox.cs (ctor): Now sets the Container style bit, required
9526 for Control.GetNextControl()
9528 2005-01-09 Jackson Harper <jackson@ximian.com>
9530 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9532 2005-01-09 Peter Bartok <pbartok@novell.com>
9534 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9535 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9536 an overload for ScrollWindow to allow only scrolling a rectangle
9538 2005-01-09 Peter Bartok <pbartok@novell.com>
9541 - Implemented SetDesktopBounds method
9542 - Implemented SetDesktopLocation method
9544 2005-01-08 Jackson Harper <jackson@ximian.com>
9546 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9547 the node count has changed, this removes to VScroll::Refresh calls
9550 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9552 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9554 2005-01-07 Jackson Harper <jackson@ximian.com>
9556 * TreeNode.cs: Just update the single node when it is
9557 checked. Don't refresh after toggling, the Expand/Collapse already
9559 * TreeView.cs: Respect clipping a little more when drawing. Try
9560 not to redraw things that don't need to be redrawn. Just hide the
9561 scrollbars when they are no longer needed instead of removing
9562 them, so they don't have to be created again and again.
9564 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9566 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9567 coordinates to window space to place the caret properly, FIXED.
9568 Implement GetWindowState & SetWindowState
9570 2005-01-06 Peter Bartok <pbartok@novell.com>
9573 - Implemented ClientSize property
9574 - Implemented DesktopBounds property
9575 - Implemented DesktopLocation property
9576 - Implemented IsRestrictedWindow property
9577 - Implemented Size property
9578 - Implemented TopLevel property
9579 - Implemented FormWindowState property
9581 - Implemented GetTopLevel() method
9582 - Implemented SetTopLevel() method
9583 * X11Structs.cs (Atom):
9584 - Added AnyPropertyType definition
9585 - Added MapState definiton and updated XWindowAttribute struct
9586 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9587 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9588 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9590 - Implemented GetWindowState() and SetWindowState() methods
9591 - Fixed Win32GetWindowLong return type
9593 - Introduced central function for sending NET_WM messages
9594 - Implemented GetWindowState() and SetWindowState() methods
9595 * TextBoxBase.cs (set_Lines):
9596 - Now uses Foreground color for text added via Text property (Duh!)
9597 - Added code to remember programmatically requested size (fixes
9598 behaviour when Multiline is set after Size)
9599 - Added AutoSize logic
9601 2005-01-06 Jackson Harper <jackson@ximian.com>
9603 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9605 2005-01-06 Jackson Harper <jackson@ximian.com>
9607 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9610 2005-01-06 Jackson Harper <jackson@ximian.com>
9612 * ScrollableControl.cs: Lazy init the scrollbars.
9614 2005-01-06 Jackson Harper <jackson@ximian.com>
9616 * Theme.cs: Speed up getting pens and solid brushes, by using
9617 their ARGB as a hash instead of tostring and not calling Contains.
9619 2005-01-06 Peter Bartok <pbartok@novell.com>
9622 - Implemented OnActivated and OnDeactivate event trigger
9623 - Implemented Activate() method
9624 - Fixed ShowDialog() to activate the form that was active before
9625 the dialog was shown
9627 - Added global active_window var that tracks the currently active
9629 - Now always grabs Property changes from the root window to always
9630 catch changes on the active window property
9631 - Added code to PropertyNotify handler to send Active/Inactive
9632 messages when state changes. This puts X11 and Win32 en par on
9633 WM_ACTIVATE notifications (except for double notifications when
9634 the user clicks away from our modal window to another one of our
9637 2005-01-05 Jackson Harper <jackson@ximian.com>
9639 * ImageList.cs: Implment ctor
9641 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9643 * XplatUIOSX.cs: Implement Activate/SetTopmost
9645 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9647 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9649 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9651 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9653 2005-01-05 Peter Bartok <pbartok@novell.com>
9655 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9656 XplatUIOSX.cs: Added GetActive method to return the currently
9657 active window for the application (or null, if none is active)
9659 - Implemented ActiveForm
9660 - Commented out owner assignment for modal dialogs (causes problems
9661 on Win32, since the owner will be disabled)
9662 - Reworked some Active/Focus handling (still incomplete)
9663 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9664 (causes problems on Win32, since the owner will be disabled)
9665 * IWin32Window: Added ComVisible attribute
9667 2005-01-05 Peter Bartok <pbartok@novell.com>
9669 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9670 required XplatUI functions.
9672 2005-01-05 Peter Bartok <pbartok@novell.com>
9674 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9675 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9676 to implement focus and activation handling; still incomplete and
9679 2005-01-04 Peter Bartok <pbartok@novell.com>
9681 * TextBoxBase.cs: Changed access level for Document property to
9682 match switch to internal for TextControl
9684 2005-01-04 Peter Bartok <pbartok@novell.com>
9686 * AccessibleObject: Added ComVisible attribute
9688 2005-01-04 Jackson Harper <jackson@ximian.com>
9690 * X11Keyboard.cs: Remove unneeded var.
9692 2005-01-04 Jackson Harper <jackson@ximian.com>
9694 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9696 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9697 ClientMessage. This makes apps exit cleanly (more often).
9699 2005-01-04 Jackson Harper <jackson@ximian.com>
9701 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9702 handling focus, return correct colors and fonts,
9703 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9704 handle selection, horizontal scrolling, and mouse interaction.
9706 2005-01-04 Peter Bartok <pbartok@novell.com>
9708 * ICommandExecutor.cs: Added
9709 * IDataGridColumnStyleEditingNotificationService.cs: Added
9710 * IFeatureSupport.cs: Added
9711 * IFileReaderService.cs: Added
9712 * IDataObject.cs: Added ComVisible attribute
9713 * AmbientProperties.cs: Added
9714 * BaseCollection.cs: Added missing attributes
9715 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9716 * BaseCollection.cs: Added missing attributes
9717 * Binding.cs: Added TypeConverter attribute
9718 * BindingContext.cs: Added DefaultEvent attribute
9719 * BindingsCollection.cs: Added DefaultEvent attribute
9720 * Button.cs: Added DefaultValue attribute
9721 * DragEventArgs.cs: Added ComVisible attribute
9722 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9723 * KeyEventArgs.cs: Added ComVisible attribute
9724 * KeyPressEventArgs.cs: Added ComVisible attribute
9725 * MouseEventArgs.cs: Added ComVisible attribute
9726 * NavigateEventArgs.cs: Added
9727 * NavigateEventHandler.cs: Added
9728 * FeatureSupport.cs: Added
9729 * OSFeature.cs: Added
9730 * Theme.cs: Added abstract Version property to support OSFeature
9731 * ThemeWin32Classic.cs: Added Version property to
9732 support OSFeature.Themes
9733 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9734 the proper styles to avoid background drawing are set, also doesn't
9736 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9737 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9738 * ScrollEventArgs.cs: Added ComVisible attribute
9739 * SplitterEventArgs.cs: Added ComVisible attribute
9740 * AccessibleSelection.cs: Added Flags attribute
9741 * Appearance.cs: Added ComVisible attribute
9742 * Border3DSide.cs: Added ComVisible attribute
9743 * Border3DStyle.cs: Added ComVisible attribute
9744 * BorderStyle.cs: Added ComVisible attribute
9745 * DragAction.cs: Added ComVisible attribute
9746 * ErrorBlinkStyle.cs: Added
9747 * ScrollEventType.cs: Added ComVisible attribute
9748 * AnchorStyles.cs: Added Editor attribute
9749 * DockStyle.cs: Added Editor attribute
9750 * HorizontalAlignment.cs: Added ComVisible attribute
9751 * HelpEventArgs.cs: Added ComVisible attribute
9752 * PaintEventArgs.cs: Added IDisposable
9754 2005-01-04 Peter Bartok <pbartok@novell.com>
9756 * TextControl.cs: Switched Line, LineTag and Document classes to
9759 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9761 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9762 Simple mode, fixes, IntegralHeight, etc.
9764 2005-01-04 Peter Bartok <pbartok@novell.com>
9766 * TextBoxBase.cs: Using proper font variable now
9768 2005-01-04 Peter Bartok <pbartok@novell.com>
9770 * Form.cs (ShowDialog): Set parent to owner, if provided
9771 * GroupBox.cs: Removed unused vars
9773 - Added GetHashCode() for Document and LineTag classes
9774 - Removed unused variables
9775 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9776 to allow translation between continuous char position and line/pos
9777 * CheckBox.cs: Removed vars that are provided by base class
9778 * RadioButton.cs: Removed vars that are provided by base class, added
9779 new keyword where required
9780 * LinkLabel.cs: Added new keyword where required
9781 * Control.cs (WndProc): Removed unused variable
9783 - Finished SelectionLength property
9784 - Implemented SelectionStart property
9785 - Implemented Text property
9786 - Removed unused vars
9787 * MessageBox.cs: Added new keyword where required
9788 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9790 * MenuAPI.cs: Added new keyword where required
9791 * ButtonBase.cs: Removed vars that are provided by base class, added
9792 new keyword where required
9793 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9794 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9796 * Application.cs (Run): Now triggers the ThreadExit event
9797 * CommonDialog.cs: Added new keyword where required; now properly sets
9798 parent (owner) for dialog
9799 * XplatUIX11.cs: Commented out unused vars
9800 * StatusBar.cs: Fixed signature for Text property
9801 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9803 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9805 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9806 TrackBar.cs, MonthCalendar.cs: remove unused vars
9808 2005-01-03 Jackson Harper <jackson@ximian.com>
9810 * ThemeWin32Classic.cs:
9811 * X11Keyboard.cs: Remove unused vars.
9813 2005-01-03 Peter Bartok <pbartok@novell.com>
9816 - set_Text: Tied into TextControl
9817 - set_TextAlignment: Tied into TextControl
9819 - Added alignment properties and implemented alignment handling
9820 and drawing (still has a bug, not generating proper expose events)
9821 - Added new Line() constructor to allow passing the line alignment
9822 - Fixed selection setting, properly handling end<start now
9823 - Added aligment considerations to RecalculateDocument()
9825 - Now properly enforces control height for single line controls
9826 - Added support for CharacterCasing
9827 - Added IsInputKey override
9828 - Fixed Keys.Enter logic
9829 - Added SetBoundsCore override
9830 - Fixed mouse selection handling
9832 2005-01-03 Jackson Harper <jackson@ximian.com>
9835 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9836 - Checkboxes are always aligned to the bottom of the node,
9837 regardless of item height.
9838 - Use the node bounds to draw the text so we can center it when
9839 the item height is greater then the font height.
9840 - Node::Bounds are only the text part of the node.
9841 * TreeNode.cs: New method to combine collapsing and unchecking all
9844 2005-01-02 Jackson Harper <jackson@ximian.com>
9846 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9847 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9848 tree when a check is changed. TODO: Only refresh the checked node.
9850 2004-12-30 Jackson Harper <jackson@ximian.com>
9852 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9853 * TreeNode.cs: When collapsing make sure to never collapse the
9856 2004-12-29 Jackson Harper <jackson@ximian.com>
9858 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9860 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
9862 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9864 2004-12-28 Peter Bartok <pbartok@novell.com>
9866 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9869 2004-12-28 Peter Bartok <pbartok@novell.com>
9871 * Control.cs (WndProc): Added WM_HELP handler, now generates
9873 * Form.cs: Added HelpButton property and required support code
9874 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9876 2004-12-28 Peter Bartok <pbartok@novell.com>
9879 - Made DialogForm.owner variable internal
9880 - Added check to ensure owner form is set before setting
9881 owner properties in CreateParams
9883 2004-12-28 Geoff Norton <gnorton@customerdna.com>
9885 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
9886 swizzling. Implement ClientToScreen and ScreenToClient. Implement
9887 GetCursorPos. Fix major visibility issues. Rework the windowing
9888 system to support borderless/titleless windows (implements menus).
9889 Fix GetWindowPos. Implement initial background color support for
9892 2004-12-28 Peter Bartok <pbartok@novell.com>
9894 * Form.cs (get_CreateParams): Make sure we have an owner before using
9895 the owner variable. Implement proper default if no owner exists
9897 2004-12-28 Peter Bartok <pbartok@novell.com>
9899 * In preparation for making Managed.Windows.Forms the default build target
9900 for System.Windows.Forms, the following stubbed files were added.
9901 Dialogs are currently being implemented by contributors and are only
9902 short-term place holders.
9903 * ColorDialog.cs: Initial check-in (minmal stub)
9904 * DataGrid.cs: Initial check-in (minimal stub)
9905 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9906 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9907 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9908 * FontDialog.cs: Initial check-in (minimal stub)
9909 * FileDialog.cs: Initial check-in (minimal stub)
9910 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9911 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9912 * OpenFileDialog: Initial check-in (minimal stub)
9913 * IComponentEditorPageSite.cs: Initial check-in
9914 * Splitter.cs: Initial check-in (for Jackson)
9915 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9916 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9917 * TextBox.cs: Initial check-in; still needs some wiring to
9919 * Form.cs: Implemented ControlBox property
9920 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9921 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9922 * TextControl.cs: Added selection functionality; added todo header
9924 - Implemented Lines property
9925 - Implemented TextHeight property
9926 - Implemented SelectedText property
9927 - Implemented SelectionLength property
9928 - Implemented SelectAll method
9929 - Implemented ToString method
9930 - Removed and cleaned up some debug code
9931 - Implemented (still buggy) mouse text selection
9933 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9935 * ComboBox.cs: Complete DropDownList implementation, fixes.
9937 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9939 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9940 * ComboBoxStyle.cs: ComboBoxStyle enum
9941 * ComboBox.cs: Initial work on ComboBox control
9943 2004-12-21 Peter Bartok <pbartok@novell.com>
9945 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9946 forward so that anything that creates a window gets the default,
9947 also no longer uses Visible property in CreateParams to avoid
9948 walking up the parent chain and possibly get the wrong visible
9949 status. Fixed IsVisible to no longer walk up to the parent.
9951 2004-12-21 Peter Bartok <pbartok@novell.com>
9953 * Form.cs (ShowDialog): Unset modality for the proper window
9955 2004-12-20 Peter Bartok <pbartok@novell.com>
9957 * CommonDialog.cs: Initial check-in
9959 2004-12-20 Peter Bartok <pbartok@novell.com>
9961 * Control.cs (Visible): Now uses the parent window instead of the
9962 client area window for the property
9965 - ShowDialog(): Now uses the proper window for modality
9966 - The default visibility state for the form parent is now false. This
9967 will prevent the user from seeing all the changes to the form and
9968 its controls before the application hits Application.Run()
9969 - Removed some stale commented out code
9972 - Added FindWindow() method to have a method to check for existence
9974 - Added ability to override default exception handling (for example
9975 when debugging with VS.Net; to do this the ExternalExceptionHandler
9977 - Removed some useless debug output
9980 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9981 not working as expected
9982 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9983 property to allow switching back to the modal window if focus is
9984 given to another one of our windows (Application Modal)
9985 - Now only sets override_redirect if we create a window
9987 - Moved EventMask selection before mapping of newly created window
9988 so we can catch the map event as well
9989 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9990 - Added various Atom related DllImports
9991 - Implemented Exit() method
9992 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9995 * MessageBox.cs: Now properly deals with the FormParent window by
9996 providing an override the FormParent CreateParams property to
9997 set as POPUP instead of OVERLAPPED window.
9999 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10001 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10002 Minor code cleanup.
10004 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10006 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10008 2004-12-18 Peter Bartok <pbartok@novell.com>
10010 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10011 implementing SetModal() method
10013 2004-12-18 Peter Bartok <pbartok@novell.com>
10015 * X11Structs.cs (XGCValues): Fixed type of function element
10016 * XplatUI.cs: Added ScrollWindow() method
10017 * XplatUIDriver.cs: Added ScrollWindow() abstract
10018 * XplatUIWin32.cs: Implemented ScrollWindow() method
10019 * XplatUIX11.cs: Implemented ScrollWindow() method
10020 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10022 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10024 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10025 Some more keyboard support (INCOMPLETE)
10027 2004-12-17 Peter Bartok <pbartok@novell.com>
10030 - Added color attribute to line tags.
10031 - Added color argument to all functions dealing with tags
10032 - Added color argument support to various functions
10033 - Fixed miss-calculation of baseline/shift in certain circumstances
10035 * TextBoxBase.cs: Added new color option to test code
10037 2004-12-17 Jackson Harper <jackson@ximian.com>
10040 * MonthCalendar.cs: Signature fixes
10042 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10044 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10045 keyboard event moved it. Create a new graphics context for each paint resolves this
10047 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10049 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10050 Make caret exist and go blink blink. Initial keyboard support.
10051 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10054 2004-12-17 Jackson Harper <jackson@ximian.com>
10056 * XplatUIStructs.cs: Updated set of virtual keycodes.
10057 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10059 2004-12-17 Jackson Harper <jackson@ximian.com>
10061 * XplatUIX11.cs: Prune old keyboard code.
10063 2004-12-17 Jackson Harper <jackson@ximian.com>
10065 * XplatUIX11.cs: When generating mouse wparams get the modifier
10066 keys from the ModifierKeys property.
10068 2004-12-17 Jackson Harper <jackson@ximian.com>
10070 * X11Keyboard.cs: Send up/down input when generating
10071 messages. Remove some unused vars.
10073 2004-12-17 Jackson Harper <jackson@ximian.com>
10076 * TreeView.cs: get rid of warnings.
10078 2004-12-17 Jackson Harper <jackson@ximian.com>
10080 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10082 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10084 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10085 CheckedListBox.cs: Implementation
10087 2004-12-17 Peter Bartok <pbartok@novell.com>
10089 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10091 2004-12-16 Peter Bartok <pbartok@novell.com>
10094 - InsertCharAtCaret(): Fixed start pos fixup
10095 - CaretLine_get: No longer derives the line from the tag, the tag
10096 could be stale if lines in the document have been added or deleted
10097 - RebalanceAfterDelete(): Fixed bug in balancing code
10098 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10099 - Line.Streamline(): Now can also elminate leading empty tags
10100 - DumpTree(): Added a few more tests and prevented exception on
10102 - Added Debug section for Combining lines
10103 - Delete(): Now copies all remaining properties of a line
10106 - Left mousebutton now sets the caret (and middle button still acts
10107 as formatting tester, which must go away soon)
10108 - Added Debug section for Deleting/Combining lines
10109 - Fixed calculations for UpdateView after Combining lines
10111 2004-12-16 Peter Bartok <pbartok@novell.com>
10113 * TextControl.cs: Now properly aligns text on a baseline, using the
10114 new XplatUI.GetFontMetrics() method. Simplified several calculations
10115 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10118 2004-12-16 Peter Bartok <pbartok@novell.com>
10120 * XplatUI.cs: Added GetFontMetrics() method
10121 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10122 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10123 into libgdiplus, our private GetFontMetrics function
10124 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10125 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10127 2004-12-16 Jackson Harper <jackson@ximain.com>
10129 * XplatUIStruct.cs: Add enum for dead keys
10130 * X11Keyboard.cs: Map and unmap dead keys.
10132 2004-12-16 Jackson Harper <jackson@ximian.com>
10134 * X11Keyboard.cs: Detect and use the num lock mask.
10136 2004-12-16 Peter Bartok <pbartok@novell.com>
10138 * Control.cs (CreateGraphics): Added check to make sure the
10139 handle of the window exists before calling Graphics.FromHwnd()
10141 2004-12-16 Peter Bartok <pbartok@novell.com>
10143 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10144 contains a lot of code that's not supposed to be there for the
10145 real thing, but required for developing/testing the textbox
10148 2004-12-16 Peter Bartok <pbartok@novell.com>
10151 - Fixed Streamline method
10152 - Added FindTag method to Line
10153 - Added DumpTree method for debugging
10154 - Added DecrementLines() method for deleting lines
10155 - Fixed UpdateView to update the cursor to end-of-line on single-line
10157 - Added PositionCaret() method
10158 - Fixed MoveCaret(LineDown) to move into the last line, too
10159 - Added InsertChar overload
10160 - Fixed InsertChar tag offset calculations
10161 - Added DeleteChar() method
10162 - Added Combine() method for folding lines
10163 - Fixed Delete() method, no longer allocates wasted Line object and
10164 now copies all properties when swapping nodes
10165 - Delete() method now updates document line counter
10167 2004-12-15 Jackson Harper <jackson@ximian.com>
10169 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10170 * X11Keyboard.cs: Expose the currently selected modifier keys
10171 through a property.
10173 2004-12-15 Peter Bartok <pbartok@novell.com>
10175 * TextControl.cs: Initial check-in. Still incomplete
10177 2004-12-15 Jackson Harper <jackson@ximian.com>
10180 * TreeView.cs: Fix build on csc (second time today ;-))
10182 2004-12-15 Jackson Harper <jackson@ximian.com>
10184 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10185 is calculated and use this for click testing.
10186 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10188 2004-12-15 Jackson Harper <jackson@ximian.com>
10190 * TreeView.cs: Pass the nodes image index to the image list when
10191 drawing that image.
10193 2004-12-15 Jackson Harper <jackson@ximian.com>
10195 * X11Keyboard.cs: Set messages hwnd.
10196 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10197 post_message calls.
10199 2004-12-15 Jackson Harper <jackson@ximian.com>
10201 * X11Keyboard.cs: Fix to compile with csc.
10203 2004-12-15 Jackson Harper <jackson@ximian.com>
10205 * X11Structs.cs: Add key mask values
10206 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10207 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10208 down/up foo into WM_CHAR foo
10209 * KeyboardLayouts.cs: Common keyboard layouts
10210 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10211 post messages into the main queue.
10213 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10215 * Button.cs: implement ProcessMnemonic
10216 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10218 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10219 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10221 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10223 * MonthCalendar.cs: Implemented click-hold for next/previous month
10226 2004-12-11 Peter Bartok <pbartok@novell.com>
10229 - Added XKeyboardState (moved from XplatUIX11.cs)
10230 - Added XCreateGC related enums and structures
10231 - Added GXFunction for XSetFunction
10233 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10235 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10236 CaretVisible() calls
10238 * ToolTip.cs: Added code to prevent stealing focus from app windows
10240 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10241 DestroyCaret, SetCaretPos and CaretVisible)
10244 - Added implementation for caret functions
10245 - Moved hover variables into a struct, to make it a bit easier
10246 on the eyes and to debug
10247 - Removed XKeyboardState (moved to XplatUIX11.cs)
10248 - Moved Keyboard properties into the properties region
10250 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10251 call to get a graphics context for our control
10253 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10255 * TreeView.cs: Fixed bug. No matter what color was set it would always
10256 return SystemColors.Window
10258 * XplatUIWin32.cs: Implemented caret overrides
10260 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10262 * ListBox.cs: fire events, implement missing methods and properties,
10265 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10267 * MonthCalendar.cs: invalidation bug fixing
10268 * ThemeWin32Classic.cs: paint fixing
10270 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10272 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10273 prepare the CGContextRef there now.
10275 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10277 * MonthCalendar.cs:
10278 - optimisationL only invalidate areas that have changed
10279 * ThemeWin32Classic.cs:
10280 - only paint parts that intersect with clip_area
10282 2004-12-09 Peter Bartok <pbartok@novell.com>
10284 * Application.cs: Undid changes from r37004 which cause problems
10287 2004-12-09 Ravindra <rkumar@novell.com>
10289 * ToolBar.cs: Added support for displaying ContextMenu
10290 attached to a button on ToolBar.
10291 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10294 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10296 * Label.cs: autosize works in text change and removes unnecessary
10299 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10301 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10304 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10306 * XplatUIOSX.cs: Added mouse move/click/grab support
10307 Remove some debugging WriteLines not needed anymore.
10308 Add window resizing/positioning.
10309 Fix visibility on reparenting.
10311 2004-12-08 Peter Bartok <pbartok@novell.com>
10313 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10315 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10317 * XplatUIOSX.cs: Initial checkin
10318 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10320 2004-12-03 Ravindra <rkumar@novell.com>
10322 * ListView.cs: Added some keybindings and fixed scrolling.
10323 ScrollBars listen to ValueChanged event instead of Scroll
10324 Event. This would let us take care of all changes being
10325 done in the scrollbars' values programmatically or manually.
10326 * ListView.cs (CanMultiselect): Added a check for shift key.
10327 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10328 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10329 of ListViewSubItemCollection as well.
10331 2004-12-06 Peter Bartok <pbartok@novell.com>
10333 * Control.cs (Parent): Added check and exception to prevent
10336 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10338 * ListBox.cs: implemented clipping, selection single and multiple,
10341 2004-12-03 Ravindra <rkumar@novell.com>
10343 * ListView.cs (ListView_KeyDown):
10344 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10345 when CTRL key is pressed.
10346 * ListViewItem.cs (Selected): Fixed setting the property.
10348 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10350 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10352 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10353 MinimizeBox, ShowInTaskbar, TopMost properties.
10355 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10356 will be implemented).
10358 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10360 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10362 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10365 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10367 * TreeView.cs: BackColor is Colors.Window.
10369 2004-12-01 Jackson Harper <jackson@ximian.com>
10371 * TreeView.cs: When resizing the tree if the user is making it
10372 smaller we don't get expose events, so we need to handle adding
10373 the horizontal scrollbar in the size changed handler as well as
10374 the expose handler.
10376 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10378 * DrawItemState.cs: fixes wrong enum values
10380 2004-12-01 Jackson Harper <jackson@ximian.com>
10382 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10384 2004-12-01 Jackson Harper <jackson@ximian.com>
10386 * NodeLabelEditEventArgs.cs:
10387 * NodeLabelEditEventHandler.cs:
10388 * OpenTreeNodeEnumerator.cs:
10390 * TreeNodeCollection.cs:
10392 * TreeViewAction.cs:
10393 * TreeViewCancelEventArgs.cs:
10394 * TreeViewCancelEventHandler.cs:
10395 * TreeViewEventArgs.cs:
10396 * TreeViewEventHandler.cs: Initial implementation.
10398 2004-12-01 Ravindra <rkumar@novell.com>
10400 * ListView.cs (CalculateListView): Fixed scrolling related
10401 calculations. Also, removed some debug statements from other
10403 * ListViewItem.cs: Changed access to 'selected' instance variable
10404 from private to internal.
10405 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10407 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10409 * ThemeWin32Classic.cs: remove cache of brush and pens for
10410 specific controls and use the global system, fixes scrollbutton
10411 bugs (for small sizes, disabled, etc)
10413 * ScrollBar.cs: does not show the thumb for very small controls
10414 (as MS) and allow smaller buttons that the regular size
10416 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10418 * UpDownBase.cs: Add abstract methods for the interface.
10419 Add new virtual methods (need to be hooked up to TextEntry when it
10421 Add override methods for most features.
10422 Computes the size, forces the height of the text entry.
10424 * NumericUpDown.cs: Put here the current testing code.
10426 * Set eol-style property on all files that do not have mixed line
10427 endings, to minimize the future problems. There are still a few
10428 files with mixed endings, and someone should choose whether they
10429 want to move it or not.
10431 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10433 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10436 2004-11-30 Ravindra <rkumar@novell.com>
10438 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10439 drawing and replaced use of SystemColors by theme colors.
10440 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10441 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10442 same ListViewItem is being added more than once.
10444 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10446 * MonthCalendar.cs:
10447 - ControlStyles love to make the control not flicker
10449 2004-11-30 Peter Bartok <pbartok@novell.com>
10451 * CharacterCasing.cs: Added
10453 2004-11-29 Peter Bartok <pbartok@novell.com>
10455 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10456 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10457 I am removing these files as they conflict with already completed
10458 work. While it is fantastic to get contributions to MWF, I
10459 respectfully ask that everyone please coordinate their contributions
10460 through mono-winforms-list or #mono-winforms at this time. We're
10461 explicitly avoiding stubbing and don't want controls that don't have
10462 their basic functionality implemented in svn. Please also see
10463 http://www.mono-project.com/contributing/winforms.html
10466 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10468 * Application.cs (ModalRun): Don't hang after exit.
10470 * Theme.cs: New TreeViewDefaultSize property.
10472 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10473 with less hardcoded SystemColors constant.
10474 Implemented TreeViewDefaultSize.
10476 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10477 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10480 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10482 * MonthCalendar.cs:
10483 - Fix NextMonthDate and PrevMonthDate click moving calendar
10485 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10487 * MonthCalendar.cs:
10488 - Fix usage of ScrollChange Property when scrolling months
10490 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10492 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10493 - Fixes menu destroying
10494 - Support adding and removing items on already created menus
10496 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10498 * MonthCalendar.cs:
10499 - Re-worked all bolded dates handling to match win32
10500 * ThemeWin32Classic.cs:
10501 - Fixed rendering with bolded dates
10503 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10505 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10506 - Horizontal scroolbar
10511 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10513 * MonthCalendar.cs:
10514 - Fix Usage of MaxSelectionCount from SelectionRange
10515 - Fixed Shift + Cursor Selection
10516 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10517 - Fixed normal cursor selection to be compat with win32
10518 - Fixed Shift + Mouse Click selection
10520 2004-11-24 Peter Bartok <pbartok@novell.com>
10522 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10523 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10525 - CreatedKeyBoardMsg now updates keystate with Alt key
10526 - Added workaround for timer crash to CheckTimers, Jackson will
10527 develop a proper fix and check in later
10528 - Implemented DispatchMessage
10529 - Removed calling the native window proc from GetMessage (call
10530 now moved to DispatchMessage)
10532 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10533 the keydata (Fixes bug #69831)
10536 - (DispatchMessage): Switched to return IntPtr
10537 - Added DllImport for SetFocus
10539 2004-11-24 Ravindra <rkumar@novell.com>
10541 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10542 background drawing.
10543 * ListViewItem.cs: Fixed various properties, calculations
10544 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10545 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10546 and some internal properties. Fixed MouseDown handler and Paint
10549 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10551 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10553 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10555 * ContainerControl.cs: correct accidental check in of local changes
10557 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10559 * ThemeWin32Classic.cs:
10560 - Fixed Drawing Last month in grid (sometimes not showing)
10561 * MonthCalendar.cs:
10562 - Fixed title width calculation bug (makeing title small)
10564 2004-11-23 Peter Bartok <pbartok@novell.com>
10567 - Added generation of WM_MOUSEHOVER event
10568 - Added missing assignment of async_method atom
10569 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10571 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10573 * ThemeWin32Classic.cs:
10574 - Fixed Drawing of today circle when showtodaycircle not set
10575 - fixed drawing of first and last month in the grid (gay dates)
10576 * MonthCalendar.cs:
10577 - Fixed Drawing of today circle
10578 - Fixed drawing of grady dates
10579 - Fixed HitTest for today link when ShowToday set to false
10580 - Fixed DefaultSize to obey ShowToday
10582 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10584 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10585 * System.Windows.Forms/Theme.cs
10586 * MonthCalendar.cs: added for MonthCalendar
10587 * SelectionRange.cs: added for MonthCalendar
10588 * Day.cs: added for MonthCalendar: added for MonthCalendar
10589 * DateRangeEventArgs.cs: added for MonthCalendar
10590 * DateRangeEventHandler.cs: added for MonthCalendar
10592 2004-11-22 Ravindra <rkumar@novell.com>
10594 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10597 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10599 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10602 * NumericUpDown.cs: Added new implementation.
10603 * UpDownBase.cs: Added new implementation.
10605 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10608 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10611 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10614 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10616 * Timer.cs (Dispose): Should call the base dispose when
10619 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10621 * ScrollBar.cs: updates thumb position when max, min or increment
10624 2004-11-21 Ravindra <rkumar@novell.com>
10626 * ListView.cs: Implemented item selection, activation and
10627 column header style. Fixed properties to do a redraw, if
10628 required. Added support for MouseHover, DoubleClick, KeyDown
10629 and KeyUp event handling and some minor fixes.
10630 * ListViewItem.cs: Fixed constructor.
10631 * ThemeWin32Classic.cs: Improved drawing for ListView.
10633 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10635 * ThemeWin32Classic.cs: initial listbox drawing code
10636 * DrawMode.cs: new enumerator
10637 * ListControl.cs: stubbed class
10638 * ListBox.cs: initial implementation
10639 * Theme.cs: new methods definitions
10640 * SelectionMode.cs: new enumerator
10642 2004-11-17 Peter Bartok <pbartok@novell.com>
10644 * XplatUIWin32.cs: Added double-click events to the class style
10645 * Control.cs (WndProc):
10646 - Added handling of click-count to MouseDown/ MouseUp events.
10647 - Added handling of middle and right mouse buttons
10648 - Removed old debug code
10650 2004-11-17 Jackson Harper <jackson@ximian.com>
10652 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10654 2004-11-17 Ravindra <rkumar@novell.com>
10656 * ListView.cs: Added event handling for MouseMove/Up/Down.
10657 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10658 * ThemeWin32Classic.cs: We need to clear the graphics context and
10659 draw column header in a proper state.
10662 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10664 * Menu.cs: fixes signature
10666 2004-11-16 Peter Bartok <pbartok@novell.com>
10668 * XplatUIX11.cs (GetMessage): Implemented generation of
10669 double click mouse messages
10671 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10673 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10676 2004-11-11 Peter Bartok <pbartok@novell.com>
10678 * HandleData.cs: Added Visible property
10679 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10681 * XplatUIX11.cs: Removed old debug leftovers
10682 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10683 * Control.cs (WndProc): Removed old debug leftovers,
10684 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10685 needed WM_SIZE handling
10687 2004-11-11 Jackson Harper <jackson@ximian.com>
10689 * OwnerDrawPropertyBag.cs:
10690 * TreeViewImageIndexConverter.cs: Initial implementation
10692 2004-11-10 Jackson Harper <jackson@ximian.com>
10694 * ThemeWin32Classic.cs:
10695 * TabControl.cs: instead of moving tabs by the slider pos just
10696 start drawing at the tab that is offset by the slider. This way
10697 scrolling always moves by exactly one tab.
10699 2004-11-10 Jackson Harper <jackson@ximian.com>
10701 * TabControl.cs: You can only scroll left when the slider has
10702 already ben moved right.
10704 2004-11-10 Jackson Harper <jackson@ximian.com>
10706 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10709 2004-11-10 Jackson Harper <jackson@ximian.com>
10711 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10714 2004-11-09 Jackson Harper <jackson@ximian.com>
10716 * TabControl.cs (CalcXPos): New helper method so we can determine
10717 the proper place to start drawing vertical tabs.
10718 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10720 2004-11-09 Jackson Harper <jackson@ximian.com>
10722 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10723 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10724 and Bottom, left and right are illegal values for this and
10725 multiline is enabled when the alignment is set to left or right.
10726 (DrawTab): Each alignment block should draw the text itself now
10727 because Left requires special love. Also add rendering for Left
10730 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10732 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10733 does not destroy the windows, removes debugging messages
10735 2004-11-09 jba <jba-mono@optusnet.com.au>
10737 * ThemeWin32Classic.cs
10738 (DrawButtonBase): Fix verticle text rect clipping in windows
10739 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10740 rendering and incorrect text rect clipping
10741 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10742 rendering and incorrect text rect clipping
10744 2004-11-08 Jackson Harper <jackson@ximian.com>
10746 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10747 bottom when they are bottom aligned so the bottoms of the tabs get
10749 * TabControl.cs (DropRow): Move rows up instead of down when the
10750 tab control is bottom aligned.
10752 2004-11-08 13:59 pbartok
10755 - Added handling for various window styles
10756 - Added handling for popup windows
10757 - Added SetTopmost handling
10759 2004-11-08 13:55 pbartok
10762 - Added argument to SetTopmost method
10763 - Fixed broken ClientToScreen function
10765 2004-11-08 13:53 pbartok
10767 * XplatUIStructs.cs:
10768 - Added missing WS_EX styles
10770 2004-11-08 13:53 pbartok
10772 * XplatUI.cs, XplatUIDriver.cs:
10773 - Added argument to SetTopmost
10775 2004-11-08 13:52 pbartok
10778 - Added XSetWindowAttributes structure
10779 - Improved XWindowAttributes structure
10780 - Added SetWindowValuemask enum
10781 - Added window creation arguments enum
10782 - Added gravity enum
10783 - Added Motif hints structure
10784 - Added various Motif flags and enums
10785 - Added PropertyMode enum for property functions
10787 2004-11-08 13:50 pbartok
10790 - Fixed arguments for updated SetTopmost method
10792 2004-11-08 13:49 pbartok
10795 - Fixed arguments for updated SetTopmost function
10796 - Fixed usage of PointToClient
10798 2004-11-08 13:44 pbartok
10801 - Added Clipping of children and siblings
10803 2004-11-08 13:41 pbartok
10806 - Removed SetMenuBarWindow call. We do this in Form.cs
10808 2004-11-08 13:40 jackson
10810 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10811 scrolling jimmi in the correct location with bottom aligned tabs
10813 2004-11-08 13:36 pbartok
10815 * ContainerControl.cs:
10816 - Implemented BindingContext
10817 - Implemented ParentForm
10819 2004-11-08 12:46 jackson
10821 * TabControl.cs: Put bottom rendered tabs in the right location
10823 2004-11-08 07:15 jordi
10825 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10828 2004-11-05 17:30 jackson
10830 * TabControl.cs: When selected tabs are expanded make sure they
10831 don't go beyond the edges of the tab control
10833 2004-11-05 14:57 jackson
10835 * TabControl.cs: Reset show_slider so if the control is resized to
10836 a size where it is no longer needed it's not displayed anymore
10838 2004-11-05 13:16 jackson
10840 * TabControl.cs: Make tab pages non visible when added to the
10843 2004-11-05 12:42 jackson
10845 * TabControl.cs: Implement SizeMode.FillToRight
10847 2004-11-05 12:16 jackson
10849 * Control.cs: Do not call CreateHandle if the handle is already
10852 2004-11-05 11:46 jackson
10854 * TabControl.cs: Remove superflous call to CalcTabRows
10856 2004-11-05 09:07 jackson
10858 * XplatUIX11.cs: Update for Mono.Posix changes
10860 2004-11-05 07:00 ravindra
10862 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10865 2004-11-04 22:47 jba
10867 * ThemeWin32Classic.cs:
10868 - Fix Button rendering for FlatStyle = Flat or Popup
10869 - Fix RadioButton and CheckBox rendering when Appearance = Button
10870 (normal and flatstyle).
10871 - Correct outer rectangle color when drawing focus rectangle
10872 - Adjust button bounds to be 1 px smaller when focused
10873 - Make button not draw sunken 3d border when pushed (windows compat)
10874 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10875 - Offset the text in RadioButton and Checkbox when being rendered as
10877 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10879 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10880 - Fixed disabled text rendering for normally rendered radiobuttons
10882 2004-11-04 10:26 jackson
10884 * TabControl.cs: Recalculate tab rows when resizing
10886 2004-11-04 07:47 jordi
10888 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10889 collection completion, drawing issues, missing features
10891 2004-11-04 05:03 ravindra
10894 - We need to recalculate the Thumb area when
10895 LargeChange/maximum/minimum values are changed.
10896 - We set the 'pos' in UpdatePos() method to minimum, if it's less
10897 than minimum. This is required to handle the case if large_change is
10898 more than max, and use LargeChange property instead of large_change
10900 - We return max+1 when large_change is more than max, like MS does.
10902 2004-11-04 04:29 ravindra
10904 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10905 - Changed default value signatures (prefixed all with ListView).
10906 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10908 - Fixed calculations for ListViewItem and implemented Clone()
10911 2004-11-04 04:26 ravindra
10913 * Theme.cs, ThemeWin32Classic.cs:
10914 - Changed default ListView values signatures (prefixed all with
10916 - Fixed default size values for VScrollBar and HScrollBar.
10917 - Fixed DrawListViewItem method.
10919 2004-11-04 04:05 ravindra
10921 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10923 2004-11-04 04:04 ravindra
10925 * ImageList.cs: Implemented the missing overload for Draw method.
10927 2004-11-03 19:29 jackson
10929 * TabControl.cs: Handle dropping rows on selection properly
10931 2004-11-03 11:59 jackson
10933 * TabControl.cs: remove debug code
10935 2004-11-03 11:52 jackson
10937 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10938 the scrolly widgerywoo
10940 2004-11-02 13:52 jackson
10942 * TabControl.cs: Resize the tab pages and tabs when the tab control
10945 2004-11-02 13:40 jackson
10947 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10948 selected tab to the bottom
10950 2004-11-02 13:39 jackson
10952 * TabPage.cs: Store the tab pages row
10954 2004-11-02 12:33 jordi
10956 * MenuItem.cs: fixes handle creation
10958 2004-11-02 11:42 jackson
10960 * TabControl.cs: signature fix
10962 2004-11-02 08:56 jackson
10964 * TabControl.cs: Calculate whether the tab is on an edge properly.
10965 Remove top secret debugging code
10967 2004-11-01 19:57 jackson
10969 * TabControl.cs: Add click handling, and proper sizing
10971 2004-11-01 19:47 jackson
10973 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10976 2004-11-01 19:39 jackson
10978 * TabPage.cs: add internal property to store the bounds of a tab
10981 2004-10-30 04:23 ravindra
10983 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10986 2004-10-30 04:21 ravindra
10988 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10989 fixed calculations.
10991 2004-10-30 03:06 pbartok
10994 - Removed extension of DllImported libs
10996 2004-10-29 09:55 jordi
10998 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10999 navigation, itemcollection completion, menu fixes
11001 2004-10-27 22:58 pbartok
11004 - Now throws a nice error message when no X display could be opened
11006 2004-10-26 13:51 jordi
11008 * ListView.cs: removes warning
11010 2004-10-26 03:55 ravindra
11012 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11013 ThemeWin32Classic.cs: Some formatting for my last checkins.
11015 2004-10-26 03:36 ravindra
11017 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11018 control and default values.
11020 2004-10-26 03:35 ravindra
11022 * Theme.cs: Added some default values for ListView control.
11024 2004-10-26 03:33 ravindra
11026 * ToolBar.cs: ToolBar should use the user specified button size, if
11027 there is any. Added a size_specified flag for the same.
11029 2004-10-26 03:33 ravindra
11031 * ColumnHeader.cs: Added some internal members and calculations for
11034 2004-10-26 03:32 ravindra
11036 * ListViewItem.cs: Calculations for ListViewItem.
11038 2004-10-26 03:31 ravindra
11040 * ListView.cs: Added some internal members and calculations for
11043 2004-10-22 13:31 jordi
11045 * MenuAPI.cs: speedup menus drawing
11047 2004-10-22 13:16 jackson
11049 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11052 2004-10-22 11:49 jackson
11056 2004-10-22 11:41 jackson
11058 * Control.cs: Check to see if the window should have its background
11059 repainted by X when drawing.
11061 2004-10-22 11:31 jackson
11063 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11064 clear is true, this way we do not get flicker from X repainting the
11067 2004-10-22 11:28 jackson
11069 * XEventQueue.cs: Queue properly
11071 2004-10-21 09:38 jackson
11073 * XEventQueue.cs: Fix access modifier
11075 2004-10-21 09:36 jackson
11077 * XEventQueue.cs: Don't loose messages
11079 2004-10-21 09:22 jackson
11081 * XEventQueue.cs: Don't loose messages
11083 2004-10-20 04:15 jordi
11085 * BootMode.cs: enum need it by SystemInfo
11087 2004-10-19 21:58 pbartok
11090 - Small sanity check
11092 2004-10-19 21:56 pbartok
11095 - Added private FormParentWindow class which acts as the container
11096 for our form and as the non-client area where menus are drawn
11097 - Added/Moved required tie-ins to Jordi's menus
11098 - Fixed/Implemented the FormStartPosition functionality
11100 2004-10-19 21:52 pbartok
11103 - Removed unneeded locals
11104 - Added code to all size and location properties to understand and
11105 deal with the parent container of Form
11107 2004-10-19 21:33 pbartok
11110 - Fixed to deal with new Form subclasses for menus
11112 2004-10-19 17:48 jackson
11114 * XEventQueue.cs: commit correct version of file
11116 2004-10-19 16:50 jackson
11118 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11120 2004-10-19 16:15 jordi
11122 * MenuAPI.cs: MenuBarCalcSize returns the height
11124 2004-10-19 08:31 pbartok
11127 - Added missing call to PreProcessMessage before calling OnXXXKey
11130 2004-10-19 00:04 ravindra
11132 * ToolTip.cs: Fixed constructor.
11134 2004-10-18 09:31 jordi
11136 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11138 2004-10-18 09:26 jordi
11140 * MenuItem.cs: fixes MenuItem class signature
11142 2004-10-18 08:56 jordi
11144 * MenuAPI.cs: prevents windows from showing in the taskbar
11146 2004-10-18 00:28 ravindra
11148 * ToolTip.cs: Suppressed a warning message.
11150 2004-10-18 00:27 ravindra
11152 * Control.cs: Default value of visible property must be true.
11154 2004-10-17 23:19 pbartok
11157 - Complete implementation
11159 2004-10-17 23:19 pbartok
11162 - Added EnableWindow method
11163 - Added SetModal stub
11164 - Added generation of WM_ACTIVATE message (still needs testing)
11165 - Added SetTopMost stub
11166 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11168 2004-10-17 23:17 pbartok
11171 - Removed VirtualKeys to XplatUIStructs
11172 - Implemented SetTopMost method
11173 - Implemented EnableWindow method
11174 - Bugfix in ScreenToClient()
11175 - Bugfixes in ClientToScreen()
11177 2004-10-17 22:51 pbartok
11179 * XplatUIStructs.cs:
11180 - Added WS_EX styles to WindowStyles enumeration
11182 2004-10-17 22:50 pbartok
11184 * XplatUI.cs, XplatUIDriver.cs:
11185 - Added method for enabling/disabling windows
11186 - Added method for setting window modality
11187 - Added method for setting topmost window
11189 2004-10-17 22:49 pbartok
11191 * ThemeWin32Classic.cs:
11192 - Added ToolTip drawing code
11194 2004-10-17 22:49 pbartok
11197 - Added ToolTip abstracts
11199 2004-10-17 22:47 pbartok
11202 - Fixed Form.ControlCollection to handle owner relations
11203 - Added Owner/OwnedForms handling
11204 - Implemented Z-Ordering for owned forms
11205 - Removed unneeded private overload of ShowDialog
11206 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11208 - Fixed Close(), had wrong default
11209 - Added firing of OnLoad event
11210 - Added some commented out debug code for Ownership handling
11212 2004-10-17 22:16 pbartok
11215 - Fixed/implemented flat list of controls
11217 2004-10-17 22:14 pbartok
11220 - Added code to simulate modal dialogs on Win32
11222 2004-10-17 16:11 jordi
11224 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11227 2004-10-17 13:39 jordi
11229 * MenuAPI.cs: menu drawing fixes
11231 2004-10-15 09:10 ravindra
11233 * StructFormat.cs: General Enum.
11235 2004-10-15 09:09 ravindra
11237 * SizeGripStyle.cs: Enum for Form.
11239 2004-10-15 09:08 ravindra
11241 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11242 in Theme for ListView.
11244 2004-10-15 09:06 ravindra
11246 * ColumnHeader.cs: Flushing some formatting changes.
11248 2004-10-15 09:05 ravindra
11250 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11253 2004-10-15 09:03 ravindra
11255 * ListView.cs: Implemented Paint method and fixed coding style.
11257 2004-10-15 07:34 jordi
11259 * MenuAPI.cs: fix for X11
11261 2004-10-15 07:32 ravindra
11263 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11264 - Renamed Paint() method to Draw() for clarity. Also, moved
11265 DrawImage() to OnPaint().
11267 2004-10-15 07:25 ravindra
11269 * CheckBox.cs, RadioButton.cs:
11270 - Removed Redraw (), we get it from ButtonBase.
11271 - Implemented Paint (), to do class specific painting.
11273 2004-10-15 07:16 ravindra
11276 - Redraw () is not virtual now.
11277 - Added an internal virtual method Paint (), so that
11278 derived classes can do their painting on their own.
11279 - Modified OnPaint () to call Paint ().
11281 2004-10-15 06:43 jordi
11283 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11284 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11286 2004-10-15 00:30 ravindra
11289 - MessageBox on windows does not have min/max buttons.
11290 This change in CreateParams fixes this on Windows. We
11291 still need to implement this windowstyle behavior in
11294 2004-10-14 05:14 ravindra
11297 - Changed Redraw () to do a Refresh () always.
11298 - Fixed the MouseMove event handling when mouse is pressed,
11299 ie drag event handling.
11300 - Replaced the usage of ToolBarButton.Pressed property to
11301 ToolBarButton.pressed internal variable.
11303 2004-10-14 05:10 ravindra
11305 * ToolBarButton.cs:
11306 - Added an internal member 'inside' to handle mouse move
11307 with mouse pressed ie mouse drag event.
11308 - Changed 'Pressed' property to return true only when
11309 'inside' and 'pressed' are both true.
11310 - Some coding style love.
11312 2004-10-14 00:17 ravindra
11314 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11317 2004-10-14 00:15 ravindra
11319 * ButtonBase.cs: Redraw () related improvements.
11321 2004-10-14 00:14 ravindra
11323 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11324 removed unnecessary calls to Button.Show () method.
11326 2004-10-13 17:50 pbartok
11330 - Removed destroying of window until we solve the problem of X
11331 destroying the window before us on shutdown
11333 2004-10-13 16:32 pbartok
11336 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11338 2004-10-13 14:18 pbartok
11341 - Added code to destroy the X window
11343 2004-10-13 14:18 pbartok
11346 - Added code to destroy a window
11348 2004-10-13 14:12 pbartok
11351 - Added the Redraw on Resize that got dropped in the last rev
11353 2004-10-13 09:06 pbartok
11355 * ThemeWin32Classic.cs:
11356 - Path from John BouAntoun:
11357 * Fix check rendering (centre correctly for normal style, offset
11358 correctly for FlatStyle).
11359 * Fix border color usage (use backcolor) for FlatStyle.Popup
11360 * Use checkbox.Capture instead of checkbox.is_pressed when
11361 rendering flatstyle states.
11363 2004-10-12 21:48 pbartok
11365 * ThemeWin32Classic.cs:
11366 - Removed all occurences of SystemColors and replaced them with the
11367 matching theme color
11369 2004-10-12 21:41 pbartok
11371 * ThemeWin32Classic.cs:
11372 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11373 him using the function for flatstyle drawing
11374 - Changed functions to use the new version of CPDrawBorder3D
11376 2004-10-12 21:15 pbartok
11379 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11380 match MS documentation. They need to return defined colors if the
11381 passed color matches the configured control color. Thanks to John
11382 BouAntoun for pointing this out.
11384 2004-10-12 20:57 pbartok
11387 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11390 2004-10-12 20:46 pbartok
11393 - Fix from John BouAntoun: Now properly sets the Appearance property
11395 2004-10-12 20:45 pbartok
11397 * ThemeWin32Classic.cs:
11398 - Fixes from John BouAntoun: now handles forecolors and backcolors
11399 for flatstyle rendered controls much better; It also fixes normal
11400 checkbox rendering when pushed or disabled.
11402 2004-10-08 02:50 jordi
11404 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11407 2004-10-07 08:56 jordi
11409 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11411 2004-10-06 03:59 jordi
11413 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11414 XplatUIWin32.cs: removes warnings from compilation
11416 2004-10-05 12:23 jackson
11418 * RadioButton.cs: Fix ctor
11420 2004-10-05 11:10 pbartok
11423 - Partial implementation by Benjamin Dasnois
11425 2004-10-05 10:15 jackson
11427 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11430 2004-10-05 03:07 ravindra
11433 - Removed a private method, Draw ().
11434 - Fixed the ButtonDropDown event handling.
11435 - Fixed MouseMove event handling.
11437 2004-10-05 03:04 ravindra
11439 * ThemeWin32Classic.cs:
11440 - Added DrawListView method and ListViewDefaultSize property.
11441 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11442 - Changed DOS style CRLF to Unix format (dos2unix).
11444 2004-10-05 03:03 ravindra
11447 - Added DrawListView method and ListViewDefaultSize property.
11449 2004-10-05 02:42 ravindra
11451 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11452 clicks on DropDown arrow.
11454 2004-10-04 22:56 jackson
11456 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11457 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11458 Control handle the buffers, derived classes should not have to
11459 CreateBuffers themselves.
11461 2004-10-04 21:20 jackson
11463 * StatusBar.cs: The control handles resizing the buffers now.
11465 2004-10-04 21:18 jackson
11467 * Control.cs: When resizing the buffers should be invalidated. This
11468 should be handled in Control not in derived classes.
11470 2004-10-04 14:45 jackson
11474 2004-10-04 02:14 pbartok
11476 * LeftRightAlignment.cs:
11479 2004-10-04 01:09 jordi
11481 * ThemeWin32Classic.cs: fixes right button position causing right
11482 button not showing on horizontal scrollbars
11484 2004-10-02 13:12 pbartok
11487 - Simplified the Invalidate method by using an X call instead of
11488 generating the expose ourselves
11489 - Added an expose when the window background is changed
11490 - Implemented ClientToScreen method
11492 2004-10-02 13:08 pbartok
11495 - Added Win32EnableWindow method (test for implementing modal
11497 - Added ClientToScreen method and imports
11499 2004-10-02 13:07 pbartok
11501 * XplatUI.cs, XplatUIDriver.cs:
11502 - Added ClientToScreen coordinate translation method
11504 2004-10-02 13:06 pbartok
11506 * KeyPressEventArgs.cs:
11507 - Fixed access level for constructor
11509 2004-10-02 13:06 pbartok
11512 - Changed access level for the window_collection hash table
11514 2004-10-02 13:05 pbartok
11517 - Added KeyPreview property
11518 - Added Menu property (still incomplete, pending Jordi's menu work)
11519 - Implemented ProcessCmdKey
11520 - Implemented ProcessDialogKey
11521 - Implemented ProcessKeyPreview
11523 2004-10-02 13:02 pbartok
11526 - Added private method to get the Control object from the window
11528 - Implemented ContextMenu property
11529 - Implemented PointToScreen
11530 - Implemented PreProcessMessage
11531 - Implemented IsInputChar
11532 - Implemented IsInputKey
11533 - Implemented ProcessCmdKey
11534 - Completed ProcessKeyEventArgs
11535 - Fixed message loop to call the proper chain of functions on key
11537 - Implemented ProcessDialogChar
11538 - Implemented ProcessDialogKey
11539 - Implemented ProcessKeyMessage
11540 - Implemented ProcessKeyPreview
11541 - Added RaiseDragEvent stub (MS internal method)
11542 - Added RaiseKeyEvent stub (MS internal method)
11543 - Added RaiseMouseEvent stub (MS Internal method)
11544 - Added RaisePaintEvent stub (MS Internal method)
11545 - Added ResetMouseEventArgs stub (MS Internal method)
11546 - Implemented RtlTranslateAlignment
11547 - Implemented RtlTranslateContent
11548 - Implemented RtlTranslateHorizontal
11549 - Implemented RtlTranslateLeftRight
11550 - Added generation of KeyPress event
11552 2004-10-02 05:57 ravindra
11554 * ListViewItem.cs: Added attributes.
11556 2004-10-02 05:32 ravindra
11558 * ListView.cs: Added attributes.
11560 2004-10-01 11:53 jackson
11562 * Form.cs: Implement the Close method so work on MessageBox can
11565 2004-09-30 14:06 pbartok
11570 2004-09-30 11:34 jackson
11572 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11574 2004-09-30 07:26 ravindra
11576 * ListViewItemConverter.cs: Converter for ListViewItem.
11578 2004-09-30 07:26 ravindra
11580 * SortOrder.cs: Enum for ListView control.
11582 2004-09-30 07:25 ravindra
11584 * ColumnHeader.cs: Supporting class for ListView control.
11586 2004-09-30 07:24 ravindra
11588 * ListView.cs, ListViewItem.cs: Initial implementation.
11590 2004-09-30 07:20 ravindra
11592 * ItemActivation.cs: Enum for ListView Control.
11594 2004-09-29 20:29 pbartok
11597 - Added lookup of pixel value for background color; tries to get a
11598 color 'close' to the requested color, it avoids having to create a
11599 colormap. Depending on the display this could mean the used color
11600 is slightly off the desired color. Might have to change it to a more
11601 resource intensive colormap approach, but it will work as a
11602 workaround to avoid red screens.
11604 2004-09-29 14:27 jackson
11606 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11608 2004-09-28 12:44 pbartok
11610 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11611 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11612 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11613 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11614 TrackBar.cs, VScrollBar.cs:
11615 - Streamlined Theme interfaces:
11616 * Each DrawXXX method for a control now is passed the object for
11617 the control to be drawn in order to allow accessing any state the
11618 theme might require
11620 * ControlPaint methods for the theme now have a CP prefix to avoid
11621 name clashes with the Draw methods for controls
11623 * Every control now retrieves it's DefaultSize from the current
11626 2004-09-28 12:17 jackson
11628 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11631 2004-09-24 14:57 jackson
11633 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11634 Gives us a nice little performance boost.
11636 2004-09-24 12:02 jackson
11638 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11639 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11640 Control and supporting classes. Initial checkin
11642 2004-09-23 13:08 jackson
11644 * Form.cs: Temp build fixage
11646 2004-09-23 01:39 ravindra
11648 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11649 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11650 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11651 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11652 EventHandlers needed by ListView Control.
11654 2004-09-22 14:12 pbartok
11656 * ScrollableControl.cs:
11657 - Implemented DockPadding property
11658 - Implemented AutoScroll property
11659 - Implemented AutoScrollMargin property
11660 - Implemented AutoScrollMinSize property
11661 - Implemented AutoScrollPosition property
11662 - Implemented DisplayRectangle property (still incomplete)
11663 - Implemented CreateParams property
11664 - Implemented HScroll property
11665 - Implemented VScroll property
11666 - Implemented OnVisibleChanged property
11668 2004-09-22 14:09 pbartok
11671 - Added Form.ControllCollection class
11672 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11673 RemoveOwnedForm (still incomplete, missing on-top and common
11674 minimize/maximize behaviour)
11675 - Added StartPosition property (still incomplete, does not use when
11677 - Added ShowDialog() methods (still incomplete, missing forcing the
11680 2004-09-22 14:05 pbartok
11683 - Added message loop for modal dialogs
11685 2004-09-22 14:02 pbartok
11688 - Fixed wrong types for events
11690 2004-09-22 14:00 pbartok
11692 * Shortcut.cs, FormWindowState.cs:
11693 - Fixed wrong values
11695 2004-09-22 12:01 jackson
11697 * Control.cs: Text is never null
11699 2004-09-20 22:14 pbartok
11702 - Fixed accessibility level for Idle handler
11704 2004-09-20 18:54 jackson
11706 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11707 XplatUIX11.cs: New message loop that uses poll so we don't get a
11710 2004-09-17 10:43 pbartok
11713 - Fixed behaviour of arrow buttons. Now properly behaves like
11714 Buttons (and like Microsoft's scrollbar arrow buttons)
11716 2004-09-17 10:14 pbartok
11719 - Added missing release of keyboard/mouse capture
11721 2004-09-17 06:18 jordi
11723 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11724 Theme.cs: Very early menu support
11726 2004-09-16 17:45 pbartok
11729 - Fixed sending a window to the front
11730 - Added overload for SetWindowPos to avoid casting
11732 2004-09-16 17:44 pbartok
11735 - Added SendToBack and BringToFront methods
11737 2004-09-16 07:00 ravindra
11739 * Copyright: Added Novell URL.
11741 2004-09-16 07:00 ravindra
11743 * ToolBar.cs: Invalidate should be done before redrawing.
11745 2004-09-15 21:19 ravindra
11747 * ColumnHeaderStyle.cs: Enum for ListView Control.
11749 2004-09-15 21:18 ravindra
11751 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11754 2004-09-13 18:26 jackson
11756 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11759 2004-09-13 18:13 jackson
11761 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11762 a second thread and post messages into the main threads message
11763 queue. This makes timing much more consistent. Both win2K and XP
11764 have a minimum timer value of 15 milliseconds, so we now do this
11767 2004-09-13 15:18 pbartok
11769 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11771 - Added Z-Ordering methods
11773 2004-09-13 10:56 pbartok
11776 - Fixed #region names
11777 - Moved properties and methods into their proper #regions
11779 2004-09-13 10:51 pbartok
11782 - Added Accept and CancelButton properties
11783 - Added ProcessDialogKey() method
11785 2004-09-13 08:18 pbartok
11787 * IWindowTarget.cs:
11790 2004-09-10 21:50 pbartok
11793 - Added DoDragDrop() [incomplete]
11794 - Properly implemented 'Visible' handling
11795 - Added SetVisibleCore()
11796 - Implemented FindChildAtPoint()
11797 - Implemented GetContainerControl()
11798 - Implemented Hide()
11800 2004-09-10 19:28 pbartok
11803 - Moved methods into their appropriate #regions
11804 - Reordered methods within regions alphabetically
11806 2004-09-10 18:57 pbartok
11808 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11809 - Added method to retrieve text from window
11811 2004-09-10 18:56 pbartok
11814 - Moved some internal functions into the internal region
11815 - Implemented FontHeight
11816 - Implemented RenderRightToLeft
11817 - Implemented ResizeRedraw
11818 - Implemented ShowFocusCues
11819 - Implemented ShowKeyboardCues
11820 - Implemented FromChildHandle
11821 - Implemented FromHandle
11822 - Implemented IsMnemonic
11823 - Implemented ReflectMessage
11824 - All public and protected Static Methods are now complete
11826 2004-09-10 16:54 pbartok
11829 - Implemented remaining missing public instance properties
11830 - Alphabetized some out of order properties
11832 2004-09-10 05:51 ravindra
11834 * PictureBox.cs: Added a check for null image.
11836 2004-09-10 00:59 jordi
11838 * GroupBox.cs: remove cvs tag
11840 2004-09-09 05:25 ravindra
11842 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11844 2004-09-09 05:23 ravindra
11846 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11849 2004-09-09 02:28 pbartok
11851 * ThemeWin32Classic.cs:
11852 - Improve disabled string look
11854 2004-09-09 01:15 jordi
11856 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11859 2004-09-08 23:56 ravindra
11861 * ItemBoundsPortion.cs: It's enum, not a class!
11863 2004-09-08 23:47 ravindra
11865 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11868 2004-09-08 21:13 ravindra
11870 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11873 2004-09-08 21:03 ravindra
11875 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11878 2004-09-08 21:01 ravindra
11880 * ScrollableControl.cs: Removed unreachable code.
11882 2004-09-08 06:45 jordi
11884 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11886 2004-09-08 01:00 jackson
11888 * XplatUIX11.cs: Only run the timers when updating the message
11889 queue. This effectively gives X messages a higher priority then
11890 timer messages. Timers still need love though
11892 2004-09-07 14:01 jackson
11894 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11895 this for us and the handle is no longer valid.
11897 2004-09-07 13:59 jackson
11899 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11900 loop that manages to not crash. TODO: Add poll and cleanup timers
11902 2004-09-07 11:12 jordi
11904 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11906 2004-09-07 03:40 jordi
11908 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11909 fixes, methods, multiple links
11911 2004-09-06 06:55 jordi
11913 * Control.cs: Caches ClientRectangle rectangle value
11915 2004-09-05 02:03 jordi
11917 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11920 2004-09-04 11:10 jordi
11922 * Label.cs: Refresh when font changed
11924 2004-09-02 16:24 pbartok
11927 - Added sanity check to creation of double buffer bitmap
11929 2004-09-02 16:24 pbartok
11932 - Fixed selection of text color
11933 - Fixed handling of resize event; now properly recreates double
11935 - Added missing assignment of TextAlignment
11936 - Added proper default for TextAlignment
11938 2004-09-02 14:26 pbartok
11941 - Added missing RadioButton.RadioButtonAccessibleObject class
11943 2004-09-02 14:26 pbartok
11946 - Added missing Control.ControlAccessibleObject class
11947 - Started to implement Select()ion mechanisms, still very incomplete
11949 2004-09-02 14:25 pbartok
11951 * AccessibleObject.cs:
11952 - Added missing methods
11954 2004-09-02 14:23 pbartok
11956 * AccessibleNavigation.cs, AccessibleSelection.cs:
11959 2004-09-02 10:32 jordi
11961 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11962 pool for pens, brushes, and hatchbruses
11964 2004-09-01 15:30 jackson
11966 * StatusBar.cs: Fix typo
11968 2004-09-01 14:44 pbartok
11973 2004-09-01 14:39 pbartok
11975 * Button.cs, RadioButton.cs:
11976 - Functional initial check-in
11978 2004-09-01 14:01 pbartok
11981 - Added missing default
11982 - Added missing region mark
11984 2004-09-01 09:10 jordi
11986 * Label.cs: fixes method signatures, new methods, events, fixes
11989 2004-09-01 07:19 jordi
11991 * Control.cs: Init string variables with an empty object
11993 2004-09-01 04:20 jordi
11995 * Control.cs: fires OnFontChanged event
11997 2004-08-31 20:07 pbartok
12000 - Enabled display of strings
12002 2004-08-31 20:05 pbartok
12005 - Added (partial) implementation of DialogResult; rest needs to be
12006 implemented when the modal loop code is done
12008 2004-08-31 19:55 pbartok
12011 - Fixed to match the removal of the needs_redraw concept
12013 2004-08-31 19:55 pbartok
12016 - Removed the rather odd split between 'needs redraw' and redrawing
12017 - Now handles the events that require regeneration (ambient
12018 properties and size)
12020 2004-08-31 19:41 pbartok
12023 - Added firing of BackColorChanged event
12024 - Added TopLevelControl property
12025 - Fixed handling of WM_ERASEBKGRND message
12027 2004-08-31 12:49 pbartok
12033 2004-08-31 12:48 pbartok
12036 - Finished (famous last words)
12038 2004-08-31 04:35 jordi
12040 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12041 scrolling bugs, adds new methods
12043 2004-08-30 14:42 pbartok
12046 - Implemented CheckBox drawing code
12048 2004-08-30 14:42 pbartok
12051 - Made Redraw() and CheckRedraw() virtual
12052 - Improved mouse up/down/move logic to properly track buttons
12054 2004-08-30 09:44 pbartok
12057 - Updated to fix broken build. Not complete yet.
12059 2004-08-30 09:28 pbartok
12064 2004-08-30 09:17 pbartok
12069 2004-08-27 16:12 ravindra
12071 * ToolBarButton.cs: Added TypeConverter attribute.
12073 2004-08-27 16:07 ravindra
12075 * ImageIndexConverter.cs: Implemented.
12077 2004-08-27 14:17 pbartok
12080 - Removed unneeded stack vars
12081 - First attempt to fix sizing issues when layout is suspended
12083 2004-08-25 15:35 jordi
12085 * ScrollBar.cs: more fixes to scrollbar
12087 2004-08-25 14:04 ravindra
12089 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12090 Added the missing divider code and grip for ToolBar Control.
12092 2004-08-25 13:20 pbartok
12095 - Control now properly passes the ambient background color to child
12098 2004-08-25 13:20 jordi
12100 * ScrollBar.cs: small bug fix regarding bar position
12102 2004-08-25 12:33 pbartok
12105 - Now only calls SetTimer or KillTimer if the enabled state has
12108 2004-08-25 12:33 pbartok
12111 - Fixed timer handling, now seems to work
12112 - Improved error message for window creation
12114 2004-08-25 12:32 pbartok
12117 - Fixed generation of MouseUp message
12119 2004-08-25 12:29 jordi
12121 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12122 and fixes for progressbar
12124 2004-08-24 18:43 ravindra
12126 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12127 in ToolBar control.
12129 2004-08-24 17:15 pbartok
12133 - Added missing events
12136 2004-08-24 17:14 pbartok
12138 * StatusBar.cs, PictureBox.cs:
12139 - Now uses Control's CreateParams
12141 2004-08-24 16:36 pbartok
12144 - Fixed background color handling
12145 - Fixed sending of enter/leave events on a grab
12147 2004-08-24 16:35 pbartok
12150 - Refined definitions for CrossingEvent
12152 2004-08-24 12:37 jordi
12154 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12155 formmating, methods signature, and adds missing events
12157 2004-08-24 12:24 jordi
12159 * Control.cs: fire OnEnabledChanged event
12161 2004-08-24 11:17 pbartok
12164 - Implemented SetTimer() and KillTimer()
12166 2004-08-24 11:16 pbartok
12169 - Now uses Remove instead of Add to kill the timer
12171 2004-08-24 10:16 jackson
12173 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12174 picture boxes in the theme now. Draw picture box borders and obey
12177 2004-08-24 05:49 jackson
12179 * Timer.cs: Remove top secret debugging code
12181 2004-08-24 05:34 jackson
12183 * PictureBox.cs: Temp hack to make picture boxes draw their full
12186 2004-08-24 05:29 jackson
12188 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12189 XplatUIX11.cs: Move timers to the driver level. On X they are
12190 queued by the driver and checked on idle.
12192 2004-08-24 01:07 jackson
12194 * XplatUIX11.cs: Use a queue for async messages instead of passing
12195 them as ClientMessages since that was totally broken. Also simply
12196 check for events and return an idle message if none are found. This
12197 gives us an idle handler, and prevents deadlocking when no messages
12200 2004-08-23 18:19 ravindra
12202 * XplatUIWin32.cs: Removed the unwanted destructor.
12204 2004-08-23 17:27 pbartok
12207 - Finishing touches. Works now, just needs some optimizations.
12209 2004-08-23 16:53 jordi
12211 * ScrollBar.cs: small fix
12213 2004-08-23 16:45 pbartok
12216 - Removed debug output
12219 2004-08-23 16:43 jordi
12221 * ScrollBar.cs: [no log message]
12223 2004-08-23 16:10 pbartok
12226 - Fixed handling of WM_CLOSE message
12227 - Removed debug output
12229 2004-08-23 16:09 pbartok
12232 - Added handling of Idle event
12233 - Added handling of form closing
12234 - Fixed reporting of MessageLoop property
12235 - Removed some unneeded code, should provide a bit of a speedup
12237 2004-08-23 15:22 pbartok
12240 - Added InitLayout() method
12241 - Added code to properly perform layout when Anchor or Dock property
12243 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12244 LAMESPEC, tried to do it in a way that makes sense
12246 2004-08-23 14:10 jordi
12248 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12249 properties and methods
12251 2004-08-23 13:55 pbartok
12254 - Properly fixed Jordi's last fix
12255 - Now uses Cursor's Position property instead of calling XplatUI
12258 2004-08-23 13:44 jordi
12260 * PaintEventHandler.cs: Adding missing attribute
12262 2004-08-23 13:39 pbartok
12265 - Implemented Position property
12267 2004-08-23 13:39 pbartok
12269 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12270 - Added method to move mouse cursor
12272 2004-08-23 13:39 pbartok
12275 - Fixed setting of background color
12276 - Added method to move mouse cursor
12278 2004-08-23 13:16 jordi
12280 * Control.cs: avoids null exception
12282 2004-08-22 17:46 jackson
12284 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12287 2004-08-22 17:40 jackson
12289 * XplatUIX11.cs: Add some missing locks
12291 2004-08-22 15:10 pbartok
12293 * Control.cs, Form.cs:
12294 - Removed OverlappedWindow style from Control, instead it's default
12296 - Made form windows OverlappedWindow by default
12298 2004-08-22 13:34 jackson
12300 * ScrollBar.cs: Update the position through the Value property so
12301 the OnValueChanged event is raised.
12303 2004-08-22 12:04 pbartok
12306 - Added Cursor.cs and UserControl.cs
12308 2004-08-22 12:03 pbartok
12311 - Started implementation, not usable yet
12313 2004-08-22 12:00 pbartok
12316 - Implemented UserControl (complete)
12318 2004-08-21 19:20 ravindra
12320 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12322 2004-08-21 18:49 ravindra
12324 * ToolBar.cs: Probably this completes the missing attributes in
12327 2004-08-21 18:03 ravindra
12329 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12330 Fixed toolbar control signatures.
12332 2004-08-21 16:32 pbartok
12337 2004-08-21 16:30 pbartok
12342 2004-08-21 16:19 pbartok
12344 * Control.cs, Label.cs:
12347 2004-08-21 15:57 pbartok
12350 - Added loads of debug output for development
12351 - Fixed typo in method name
12353 2004-08-21 15:52 pbartok
12355 * ToolBarButtonClickEventArgs.cs:
12356 - Added missing base class
12358 2004-08-21 14:53 pbartok
12361 - Updated to match new GrabWindow signature
12363 2004-08-21 14:51 pbartok
12365 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12366 - Added method to get default display size
12368 2004-08-21 14:23 pbartok
12370 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12371 - Added method to query current grab state
12372 - Added argument to allow confining a grab to a window
12374 2004-08-21 14:22 pbartok
12377 - Added [Flags] attribute so that modifiers can be used in bitwise
12380 2004-08-21 14:21 pbartok
12382 * TrackBar.cs, ScrollBar.cs:
12383 - Replaced direct XplatUI calls with their Control counterpart
12385 2004-08-21 13:32 pbartok
12388 - Implemented Created property
12390 2004-08-21 13:28 pbartok
12393 - Implemented ContainsFocus
12395 2004-08-21 13:26 pbartok
12398 - Implemented CausesValidation
12400 2004-08-21 13:21 pbartok
12403 - Implemented CanFocus
12404 - Implemented CanSelect
12405 - Implemented Capture
12407 2004-08-21 12:35 pbartok
12410 - Fixed bug with Async message handling
12411 - Implemented getting the ModifierKeys
12413 2004-08-21 12:32 jackson
12415 * AsyncMethodResult.cs: Make sure we have the mutex before we
12416 release it. Fixes BeginInvoke on windows
12418 2004-08-21 11:31 pbartok
12420 * XplatUIWin32.cs, XplatUIX11.cs:
12421 - Drivers now return proper mouse state
12423 2004-08-21 10:54 jackson
12425 * Control.cs: Implement EndInvoke
12427 2004-08-21 10:48 jackson
12429 * Timer.cs: Remove unneeded finalizer
12431 2004-08-20 19:52 ravindra
12433 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12434 in mouse event handling in the ToolBar control.
12436 2004-08-20 19:50 ravindra
12438 * ImageList.cs: Changed draw method to use the arguments passed in
12441 2004-08-20 18:58 pbartok
12443 * XplatUIStructs.cs:
12444 - Added private message for async communication
12446 2004-08-20 17:38 ravindra
12448 * Control.cs: Made RightToLeft property virtual and removed a
12451 2004-08-20 14:39 jordi
12453 * ThemeGtk.cs: use style_attach
12455 2004-08-20 14:39 pbartok
12458 - Added jackson's Async code from X11 to Win32
12460 2004-08-20 14:09 pbartok
12463 - Added all new files
12465 2004-08-20 14:09 pbartok
12468 - Added call to set window background color
12470 2004-08-20 14:03 pbartok
12472 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12473 - Added method for setting the window background
12475 2004-08-20 14:02 pbartok
12478 - Added method for setting the background color
12479 - Added handling for erasing the window background
12481 2004-08-20 13:45 jordi
12483 * TrackBar.cs: fixes timer, new properties and methods
12485 2004-08-20 13:34 jackson
12487 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12490 2004-08-20 13:22 jackson
12492 * Timer.cs: Timer Tick events are now handed through Controls Async
12493 mechanism so the callbacks are executed in the same thread as X
12495 2004-08-20 13:19 jackson
12497 * XplatUIDriver.cs: Expose functionality to send async messages
12500 2004-08-20 13:18 jackson
12502 * Control.cs: Implement Begininvoke
12504 2004-08-20 13:14 jackson
12506 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12507 messages through the driver
12509 2004-08-20 13:12 jackson
12511 * XplatUIX11.cs: Lock before all X operations. Also added Async
12512 method functionality through XSendEvent
12514 2004-08-20 13:11 jackson
12516 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12517 This will screw up on 64 bit systems)
12519 2004-08-20 13:10 jackson
12521 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12522 Async messages through X/Win32
12524 2004-08-19 19:39 pbartok
12527 - Updated code to match new HandleData.DeviceContext type
12529 2004-08-19 19:38 pbartok
12532 - Made DeviceContext a generic object to allow usage from various
12534 - Added support for queueing Windows messages
12536 2004-08-19 19:37 pbartok
12539 - Added generation of MouseEnter, MouseLeave and MouseHover events
12540 - Added cleanup on EndPaint
12542 2004-08-19 19:17 pbartok
12545 - Added handling of WM_MOUSEHOVER
12546 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12549 2004-08-19 18:55 jordi
12551 * ThemeGtk.cs: fixes button order
12553 2004-08-19 18:12 jordi
12555 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12557 2004-08-19 17:09 pbartok
12560 - Added Right property
12561 - Added RightToLeft property
12563 2004-08-19 16:27 jordi
12565 * ThemeGtk.cs: experimental GTK theme support
12567 2004-08-19 16:26 jordi
12569 * ITheme.cs, Theme.cs: move themes from an interface to a class
12571 2004-08-19 16:25 jordi
12573 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12576 2004-08-19 16:04 pbartok
12579 - Added colormap basics
12580 - Added a way to re-initialize with a different display handle
12581 - Fixed setting of the window background color
12582 - Added various X11 imports related to colors and colormaps
12584 2004-08-19 15:51 pbartok
12587 - Removed packing hints (Paolo suggested this a while back)
12588 - fixed colormap type
12589 - Added default Atom types
12590 - Added Screen and color structs and enums
12592 2004-08-19 15:39 pbartok
12595 - Added missing Draw() method
12596 - Added missing RecreateHandle event
12598 2004-08-19 15:30 pbartok
12601 - Added handling of WM_CLOSE
12603 2004-08-18 13:16 jordi
12605 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12608 2004-08-18 09:56 jordi
12610 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12612 2004-08-17 15:31 ravindra
12614 * SWF.csproj: Updated project.
12616 2004-08-17 15:25 pbartok
12619 - Drawing improvement; don't call UpdateBounds if we are not visible
12620 (or have been minimized)
12622 2004-08-17 15:24 pbartok
12625 - Finished IsVisible
12626 - Added Win32GetWindowPlacement
12628 2004-08-17 15:08 jackson
12630 * Panel.cs: Initial checkin of the Panel
12632 2004-08-17 14:25 pbartok
12635 - Fixed broken handling of default window sizes
12637 2004-08-17 13:29 jackson
12639 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12640 has a large startup time.
12642 2004-08-17 10:25 jackson
12644 * HandleData.cs: union areas properly
12646 2004-08-17 10:12 jackson
12648 * HandleData.cs: union areas properly
12650 2004-08-16 20:00 ravindra
12652 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12654 2004-08-16 18:48 ravindra
12656 * ToolBar.cs: Added attributes.
12658 2004-08-16 17:17 ravindra
12660 * SWF.csproj: Updated project.
12662 2004-08-16 17:16 jackson
12664 * XplatUIX11.cs: Check for more expose events before sending a
12665 WM_PAINT so they can all be grouped together. This makes dragging a
12666 window across another window redraw in a sane way.
12668 2004-08-16 15:47 pbartok
12671 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12672 support OnMouseEnter/Leave()
12673 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12676 2004-08-16 15:46 pbartok
12678 * XplatUIStructs.cs, XplatUIX11.cs:
12679 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12680 OnMouseEnter/Leave()
12682 2004-08-16 15:34 jackson
12684 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12685 sure messages get the message field set to WM_NULL if they are not
12688 2004-08-16 15:24 jackson
12690 * HandleData.cs: HandleData is used for storing message information
12693 2004-08-15 17:23 ravindra
12695 * ColorDepth.cs: Added attribute.
12697 2004-08-15 17:23 ravindra
12699 * SWF.csproj: Updated project for ToolBar Control.
12701 2004-08-15 17:20 ravindra
12703 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12704 control and also dos2unix format.
12706 2004-08-15 17:13 ravindra
12708 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12709 ToolBarButtonClickEventArgs.cs,
12710 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12711 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12713 2004-08-15 15:31 pbartok
12716 - First (mostly) working version
12718 2004-08-13 16:15 pbartok
12721 - Fixed Anchor default
12723 2004-08-13 15:43 pbartok
12726 - Changed GetCursorPos signature
12728 2004-08-13 15:42 pbartok
12730 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12731 - Changed signature for GetCursorPos
12733 2004-08-13 15:25 pbartok
12737 - Fixed resizing/exposure handling
12739 2004-08-13 15:22 jordi
12741 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12744 2004-08-13 14:55 jordi
12746 * TrackBar.cs: change from wndproc to events
12748 2004-08-13 13:00 jordi
12750 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12751 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12753 2004-08-13 12:53 pbartok
12756 - Changed GetWindowPos to also provide client area size
12757 - Fixed broken prototypes for several win32 functions
12759 2004-08-13 12:53 pbartok
12761 * XplatUI.cs, XplatUIDriver.cs:
12762 - Changed GetWindowPos to also provide client area size
12764 2004-08-13 12:52 pbartok
12767 - Added generation of WM_POSCHANGED
12768 - Changed GetWindowPos to also provide client area size
12770 2004-08-13 12:52 pbartok
12773 - Added Dispose() and destructor
12774 - Fixed resizing and bounds calculation
12776 - Added memory savings for invisible windows
12778 2004-08-13 12:46 jordi
12780 * TrackBar.cs: adds timer and grap window
12782 2004-08-13 10:25 jackson
12784 * Timer.cs: SWF Timer
12786 2004-08-12 16:59 pbartok
12788 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12789 - Implemented method to get current mouse position
12791 2004-08-12 14:29 jordi
12793 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12794 enhancement, fix mouse problems, highli thumb, etc
12796 2004-08-12 13:31 pbartok
12799 - Fixed Anchoring bugs
12801 2004-08-12 13:01 jackson
12803 * StatusBar.cs: Don't forget things
12805 2004-08-12 12:54 jackson
12807 * ThemeWin32Classic.cs: Handle owner draw status bars
12809 2004-08-12 12:54 jackson
12811 * StatusBar.cs: Implement missing properties, events, and methods.
12812 Handle mouse clicking
12814 2004-08-12 10:19 jackson
12816 * StatusBarPanelClickEventArgs.cs,
12817 StatusBarPanelClickEventHandler.cs: Classes for handling status
12818 bar panel click events
12820 2004-08-12 10:10 jackson
12822 * Control.cs: Add missing properties
12824 2004-08-12 09:46 pbartok
12826 * BindingsManagerBase.cs:
12827 - Name changed to BindingManagerBase.cs
12829 2004-08-12 09:25 jordi
12831 * ScrollableControl.cs: calls ctrlbase instead of exeception
12833 2004-08-11 16:28 pbartok
12835 * InputLanguageChangingEventArgs.cs:
12836 - Never check in before compiling. Fixes the last check-in
12838 2004-08-11 16:26 pbartok
12840 * InputLanguageChangingEventArgs.cs:
12841 - More signature fixes
12843 2004-08-11 16:20 pbartok
12845 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12846 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12847 ImageListStreamer.cs, InputLanguage.cs,
12848 InputLanguageChangedEventArgs.cs,
12849 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12850 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12851 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12852 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12855 2004-08-11 16:16 pbartok
12859 - Added .Net 1.1 method
12861 2004-08-11 15:25 pbartok
12864 - Fixed BindingManagerBase.cs filename
12866 2004-08-11 15:22 pbartok
12868 * BindingManagerBase.cs:
12869 - Was checked in with wrong filename
12871 2004-08-11 14:50 pbartok
12876 2004-08-11 13:41 jordi
12878 * XplatUIWin32.cs: Fixes ClientRect
12880 2004-08-11 13:19 pbartok
12882 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12884 - We had SetWindowPos and MoveWindow to set window positions and
12885 size, removed MoveWindow. We have GetWindowPos, so it made sense to
12886 keep SetWindowPos as matching counterpart
12887 - Added some X11 sanity checking
12889 2004-08-11 12:59 pbartok
12892 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12893 (It seems that SetBounds is just a front for SetBoundsCore and
12894 SetBoundsCore updates the underlying window system and
12895 UpdateBounds is responsible for updating the variables associated
12896 with the Control and sending the events)
12897 - Major cleanup of Size handling; we now have two sizes, client_size
12898 and bounds. Bounds defines the window with decorations, client_size
12901 2004-08-11 12:55 pbartok
12903 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12904 - Added method to calculate difference between decorated window and
12907 2004-08-11 12:54 pbartok
12910 - Forcing redraw on resize
12912 2004-08-11 11:43 pbartok
12915 - Removed disposing of the actual images when the list is disposed
12917 2004-08-11 09:13 pbartok
12920 - Now properly reparents windows
12922 2004-08-11 08:37 pbartok
12927 2004-08-11 07:47 pbartok
12930 - Rewrote the collection stuff. Might not be as fast now, not
12931 keeping the number of children around and accessible directly, but
12932 it's more straightforward
12934 2004-08-11 07:44 pbartok
12936 * AccessibleObject.cs:
12937 - Fixed to match ControlCollection rewrite
12939 2004-08-11 07:43 pbartok
12942 - Added missing creation of the collection list
12944 2004-08-10 20:08 jackson
12946 * StatusBar.cs: Get the paint message from WndProc
12948 2004-08-10 19:31 jackson
12950 * ThemeWin32Classic.cs: Create Brushes as little as possible
12952 2004-08-10 19:20 jackson
12954 * UICues.cs: Add Flags attribute
12956 2004-08-10 19:19 jackson
12958 * StatusBarPanel.cs: Signature cleanup
12960 2004-08-10 19:10 jackson
12962 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12963 Initial implementation of status bar item drawing
12965 2004-08-10 17:27 jordi
12967 * TrackBar.cs: add missing methods, properties, and restructure to
12970 2004-08-10 16:24 jackson
12972 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12973 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12976 2004-08-10 13:21 jordi
12978 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12979 enhancements and standarize on win colors defaults
12981 2004-08-10 12:52 jackson
12983 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12984 ThemeWin32Classic.cs: Implement DrawItem functionality
12986 2004-08-10 12:47 jordi
12988 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12990 2004-08-10 12:32 jordi
12992 * Control.cs: throw ontextchange event
12994 2004-08-10 11:43 pbartok
12997 - Added more to the still unfinished Dock/Anchor layout code
12999 2004-08-10 11:39 pbartok
13001 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13002 - Added GetWindowPos method
13004 2004-08-10 11:36 pbartok
13007 - Implemented several methods
13009 2004-08-10 09:47 jackson
13011 * TrackBar.cs: Allow control to handle buffering
13013 2004-08-10 09:41 jackson
13015 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13017 2004-08-10 09:24 jackson
13019 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13021 2004-08-10 09:09 jackson
13023 * StatusBar.cs: Let Control handle all the buffering.
13025 2004-08-10 09:08 jackson
13027 * Control.cs: Control will now handle the buffering code, so each
13028 control does not have to implement this.
13030 2004-08-10 08:34 jackson
13032 * XplatUIDriver.cs: Use default colors from the theme
13034 2004-08-09 17:12 pbartok
13037 - Fixed several bugs Ravindra pointed out
13039 2004-08-09 16:11 pbartok
13042 - Added incomplete dock layout code
13043 - Added support for mouse wheel
13045 2004-08-09 16:09 pbartok
13048 - Added handling for middle and right mousebutton
13049 - Added handling for mouse wheel
13050 - Added handling for key state and mouse state and position
13051 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13054 2004-08-09 15:40 jackson
13056 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13057 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13060 2004-08-09 15:37 jackson
13062 * StatusBar.cs: Initial implementation of StatusBar
13064 2004-08-09 15:36 jackson
13066 * ITheme.cs: Add support for drawing status bar and getting status
13069 2004-08-09 15:35 pbartok
13074 2004-08-09 15:34 jackson
13076 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13077 status bar item sizes
13079 2004-08-09 15:21 jackson
13081 * ThemeWin32Classic.cs: Use known colors for default control
13084 2004-08-09 15:12 jackson
13086 * ThemeWin32Classic.cs: Make the default font static, it is static
13087 in control so this doesn't change functionality and creating fonts
13090 2004-08-09 14:56 pbartok
13093 - Added GrabMode enum
13095 2004-08-09 14:55 pbartok
13097 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13098 - Removed Run method, was only required for initial development
13100 2004-08-09 14:51 pbartok
13102 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13103 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13106 2004-08-09 13:48 pbartok
13109 - Fixed default sizing for child windows
13111 2004-08-09 12:56 pbartok
13114 - Added generation of WM_DESTROY message
13115 - Added handling of window manager induced shutdown
13117 2004-08-09 11:31 jackson
13119 * ThemeWin32Classic.cs: New names for control properties
13121 2004-08-09 11:25 jackson
13123 * Control.cs: Use new color names
13125 2004-08-09 11:02 jackson
13127 * XplatUI.cs: Get default window properties from the theme
13129 2004-08-09 11:01 jackson
13131 * ITheme.cs: The theme engine now controls default window
13134 2004-08-09 11:00 jackson
13136 * ThemeWin32Classic.cs: Add default window color properties
13138 2004-08-09 10:17 jackson
13140 * ThemeWin32Classic.cs: Use correct default back color
13142 2004-08-09 10:05 jackson
13144 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13147 2004-08-09 09:56 jackson
13149 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13151 2004-08-09 09:54 jackson
13153 * Control.cs: Get default properties from the theme.
13155 2004-08-09 09:53 jackson
13157 * ITheme.cs: Themes now handle default control properties
13159 2004-08-09 09:53 jackson
13161 * ThemeWin32Classic.cs: Themes now handle default control
13162 properties so coloring will be consistent
13164 2004-08-08 16:54 jordi
13166 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13168 2004-08-08 15:08 jordi
13170 * XplatUIX11.cs: fixes keyboard crash
13172 2004-08-08 13:47 jordi
13174 * Label.cs: add cvs header info
13176 2004-08-08 12:09 jackson
13178 * ThemeWin32Classic.cs: Add pen_buttonface
13180 2004-08-08 11:52 jordi
13182 * Label.cs, LinkLabel.cs: [no log message]
13184 2004-08-08 11:34 jordi
13186 * ThemeWin32Classic.cs: Use Windows Standard Colours
13188 2004-08-07 17:32 jordi
13190 * TrackBar.cs: throw exceptions of invalid enums values
13192 2004-08-07 17:31 jordi
13194 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13197 2004-08-07 16:56 jackson
13199 * HorizontalAlignment.cs: Initial checkin
13201 2004-08-07 13:16 jordi
13203 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13206 2004-08-07 13:05 jordi
13208 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13209 GetSysColor defines
13211 2004-08-06 18:01 pbartok
13213 * ThemeWin32Classic.cs:
13214 - Fixed some rounding issues with float/int
13216 2004-08-06 18:00 jackson
13218 * DockStyle.cs, AnchorStyles.cs:
13220 Add flags and serializable attributes.
13222 2004-08-06 17:46 pbartok
13225 - Implemented GetParent
13227 2004-08-06 17:18 pbartok
13230 - Fixed some rounding issues with float/int
13232 2004-08-06 17:17 pbartok
13234 * X11Structs.cs, XplatUIX11.cs:
13235 - Fixed Refresh and Invalidate
13237 2004-08-06 15:30 pbartok
13239 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13240 - Fixed recursive loop when resizing
13241 - Improved/fixed redrawing on expose messages
13243 2004-08-06 09:53 jordi
13245 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13246 keyboard navigation
13248 2004-08-06 08:02 pbartok
13250 * X11Structs.cs, XplatUIX11.cs:
13251 - Fixed reparenting
13252 - Fixed window border creation
13254 2004-08-05 15:38 pbartok
13257 - Attempted fix for reparenting problems
13259 2004-08-04 15:14 pbartok
13262 - Fixed Invalidation bug (calculated wrong client area)
13263 - Added ClientSize setter
13265 2004-08-04 15:13 pbartok
13268 - Added AutoScale properties
13270 2004-08-04 15:13 pbartok
13273 - Added latest files
13275 2004-08-04 14:11 pbartok
13277 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13279 - Added Invalidate handling
13281 2004-08-03 17:09 jordi
13283 * XplatUIDriver.cs: fixes spelling mistake
13285 2004-07-27 09:53 jordi
13287 * TrackBar.cs: fixes trackbar events, def classname, methods
13290 2004-07-27 09:29 jordi
13292 * ScrollBar.cs: fixes scrollbar events
13294 2004-07-27 04:38 jordi
13296 * Control.cs: changes to be able to run winforms samples
13298 2004-07-26 11:42 jordi
13300 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13301 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13303 2004-07-26 05:41 jordi
13305 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13306 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13309 2004-07-22 09:22 jordi
13311 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13312 check link overlapping, implement events, and fixes
13314 2004-07-21 10:28 jordi
13316 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13318 2004-07-21 10:19 jordi
13320 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13321 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13322 LinkLabelLinkClickedEventArgs.cs,
13323 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13324 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13327 2004-07-19 13:09 jordi
13329 * Control.cs, Label.cs: label control re-written: added missing
13330 functionlity, events, and properties
13332 2004-07-19 10:49 jordi
13334 * Control.cs: fixes SetBounds logic
13336 2004-07-19 01:29 jordi
13338 * Control.cs: Call RefreshWindow only if the window has created
13340 2004-07-15 14:05 pbartok
13342 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13343 - Implemented ImageList and ImageList.ImageCollection classes
13344 - Added ColorDepth enumeration
13345 - Updated SWF VS.Net project
13347 2004-07-15 11:06 jordi
13349 * XplatUIStructs.cs: added MsgButons enum
13351 2004-07-15 11:03 jordi
13353 * Control.cs: added basic mouse handeling events
13355 2004-07-15 03:38 jordi
13357 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13358 Vertical TrackBar control implementation
13360 2004-07-13 09:33 jordi
13362 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13364 2004-07-13 09:31 jordi
13366 * Control.cs, Form.cs: commit: new properties and fixes form size
13369 2004-07-09 14:13 miguel
13371 * ProgressBar.cs: Spelling
13373 2004-07-09 11:25 pbartok
13376 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13379 2004-07-09 11:17 miguel
13381 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13383 * ProgressBar.cs: Fixed spelling for `block'
13385 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13388 Avoid using the += on rect.X, that exposed a bug in the compiler.
13390 2004-07-08 23:21 pbartok
13392 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13393 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13394 BaseCollection.cs, Binding.cs, BindingContext.cs,
13395 BindingMemberInfo.cs, BindingsCollection.cs,
13396 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13397 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13398 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13399 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13400 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13401 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13402 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13403 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13404 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13405 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13406 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13407 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13408 InputLanguageChangedEventArgs.cs,
13409 InputLanguageChangedEventHandler.cs,
13410 InputLanguageChangingEventArgs.cs,
13411 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13412 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13413 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13414 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13415 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13416 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13417 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13418 QueryAccessibilityHelpEventArgs.cs,
13419 QueryAccessibilityHelpEventHandler.cs,
13420 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13421 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13422 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13423 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13424 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13425 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13426 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13427 XplatUIX11.cs, lang.cs: