1 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
3 * TextControl.cs : Fixed bug #78109. This incorrect position
4 comparison caused crash on automatic line split.
5 * TextBoxBase.cs : reduce duplicate code.
7 2006-05-10 Jackson Harper <jackson@ximian.com>
9 * MdiClient.cs: Active form is only sent to the back when using
10 the Next form functionality, when a form is clicked the current
11 active shouldn't be sent to the back.
12 - Layout the mdi windows when the container is first made visible.
13 * Form.cs: Give the MdiClient a ref to the containing form when we
16 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
18 * LinkLabel.cs : link_font could be uninitialized, so populate one
19 before actual use. Fixed bug #78340.
21 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
23 * XplatUIX11.cs : clipboard format native value is IntPtr.
26 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
29 - Instead of showing context menus directly we send WM_CONTEXTMENU,
30 which is passed up the parent chain by DefWndProc
31 - We now handle WM_CONTEXTMENU to display any menu, or pass it
32 to DefWndProc (#77956)
33 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
35 2006-05-10 Jackson Harper <jackson@ximian.com>
37 * MdiClient.cs: We need to remove the controls from the mdi
38 collection, when we close the window.
39 * MdiWindowManager.cs: Special handling of closing mdi windows.
40 * InternalWindowManager.cs: Make the close method virtual so the
41 mdi window manager can handle it specially.
43 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
46 - Recalculate grid when the data source has changed
47 - Matches styles provided by user from all data sources types
48 * DataGridTableStyle.cs: For columns that provided by the user set the
49 with the preferred value is there was unassigned.
50 * CurrencyManager.cs: throw OnItemChanged event
52 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
54 * PictureBox.cs: Don't animate until handle is created. Start animation
55 when handle is created.
57 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
59 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
61 * XEventQueue.cs: We don't need to provide the extra info
63 2006-05-10 Jackson Harper <jackson@ximian.com>
65 * MdiClient.cs: If the mdi clients parent form has a background
66 image set, we draw that background image for the mdi area's
69 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
71 * TextBoxBase.cs: Set IBeam cursor (#78347)
73 2006-05-10 Mike Kestner <mkestner@novell.com>
75 * ToolBar.cs: fix some text padding issues with ButtonSize
76 calculation. Update the default size to match MS documentation.
77 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
78 button size. Fixes #78296.
80 2006-05-10 Mike Kestner <mkestner@novell.com>
82 * ListBox.cs: use is_visible for scrollbar positioning in case the
83 control isn't on screen yet. Fix off by one with Right vs Width
84 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
86 2006-05-10 Jackson Harper <jackson@ximian.com>
88 * X11Dnd.cs: Drop to a control with another control on top of it.
89 * ToolBar.cs: Work on a copy of the buttons list, so that it can
90 be modified in click handlers. TODO: Look for similar problems in
93 2006-05-09 Jackson Harper <jackson@ximian.com>
95 * Form.cs: Window managers need the old window state when setting
97 * InternalWindowManager.cs: Allow the base mdi window manager to
98 handle more of the MDI only stuff (like maximize buttons).
99 * MdiWindowManager.cs: Fix some snafus in changing the window
100 state. Add all the menu functionality, for both popup and
102 * MdiClient.cs: When a new form is selected the currently
103 activated form is sent to the back, this matches MS.
104 - Implement a new method to activate the next mdi child window.
106 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
109 - Added new InternalCapture method to allow controls to prevent
110 the capture behaviour on the click handlers
111 - Switched to use InternalCapture
113 - Using InternalCapture to prevent mouse captures from being released
114 on mouse button release (Fixes #78100)
115 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
116 returns Form borders if a caption is present. (Fixes #78310)
118 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
120 * TreeNode.cs: Changed serialization .ctor to not require every field
121 to be present. (#78265)
122 * OwnerDrawPropertyBag.cs: Added serialization .ctor
124 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
126 * MimeIcon.cs: for is faster than foreach for strings.
128 2006-05-05 Mike Kestner <mkestner@novell.com>
130 * CheckedListBox.cs: update check handling code to not use selected.
131 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
132 behavior for visual feedback, motion response, shift/ctrl handling,
133 and properly deal with all 4 selection modes. Updates to bounds
134 handling logic. Add scroll wheel support. [Fixes #77842]
136 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
139 - Moved adding of Implicit controls into .ctor. That way, subsequent
140 creation of the controls will not cause them to think they are
141 toplevel windows (fixes #78200 header problem)
142 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
143 - Switched visibility setting of header control to use internal field
144 to avoid triggering handle creation
145 - Now checking if handle is created before causing a refresh when items
146 are added (This makes us now match handle creation time with MS)
147 * Splitter.cs: Removed loading of private splitter cursor, switched to
148 Cursors version now that that is loading the right ones
149 * Cursors.cs: Load proper splitter cursors from resources
150 * Cursor.cs: Added second method of loading resource cursors for the
151 VS.Net users amongst us
153 2006-05-05 Mike Kestner <mkestner@novell.com>
155 * ListView.cs: give header_control a minimum size based on the
158 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
160 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
161 window seems to do that with metacity, so set that type. (#78120)
163 2006-05-05 Mike Kestner <mkestner@novell.com>
165 * ListViewItem.cs: fix Details mode checkbox layout bug.
166 * ThemeWin32Classic.cs: draw a ListView column header for unused space
167 at the end of the header, if it exists. [Fixes for #78200]
169 2006-05-04 Jackson Harper <jackson@ximian.com>
171 * MdiClient.cs: Add a helper property to get the container form.
172 * MdiWindowManager.cs: We have to make sure to use the menu origin
173 when drawing the icons and buttons, this fixes maximized window
174 icons/buttons on win32.
175 * InternalWindowManager.cs: Reset the restore captions when a
176 window goes from Maximized to Minimized and vice versa. Move the
177 DrawMaximizedButtons into the MdiWindowManager source, tool
178 windows can't be maximized. NOTE: This could use a little
179 refactoring if time ever permits.
181 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
183 * TextBox.cs: Add MWFCategoryAttributes
184 * TextBoxBase.cs: Add MWFCategoryAttributes
185 * Form.cs: Add MWFCategoryAttributes
187 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
189 * Control.cs: Add MWFCategoryAttributes
190 * ScrollableControl.cs: Add MWFCategoryAttributes
192 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
194 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
195 Divider is true. Fix a little glitch in PropertyToolBar
198 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
201 - Dispose: Call base.Dispose, this causes the disposed event
202 to be fired (and probably other, more important stuff)
203 - SetVisibleCore: Set is_visible to true after creating the
204 window so that the window still gets created invisible (if
205 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
206 to generate a WM_ACTIVE message
207 * Form.cs: Call Dispose when we want to destroy the window, instead of
208 just destroying the handle (Dispose will do that for us)
210 - RootWindow also needs a queue, so we can properly process the
211 property change events from RootWindow (like Activate)
212 - Generatic synthetic WM_ACTIVE message when the active window is
215 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
217 * LinkLabel.cs: Trigger a recalc of our label dimensions when
220 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
222 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
223 for determining width and height (image might not be assigned if
224 we're drawing an imagelist)
226 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
228 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
229 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
231 * Theme.cs: No longer returns hardcoded menu height, instead calls
233 * Form.cs (OnLoad): Scaling happens before triggering Load events
236 2006-05-01 Mike Kestner <mkestner@novell.com>
238 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
240 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
242 * TextBoxBase.cs: Removed Fixme
243 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
245 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
248 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
249 the rectangle relative to the parent, considering borders. We
250 don't really want that.
251 - ScrollWindow: Fixed warning to be more understandable
252 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
253 scrollbars and scroll only the visible area
254 * RichTextBox.cs: Removed debug output
256 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
258 * NumericUpDown.cs (Text): Just use base
259 * UpDownBase.cs: Ensure txtView is created before using it
261 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
263 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
264 casting to IntPtr to avoid 64bit overflow errors
266 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
269 - AllowDrop: Don't force handle creation.
270 - CreateHandle: Added call to tell driver if we're allowed to drop
272 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
274 * FileDialog.cs: Remember the last directory not only for the
275 current instance but also for new FileDialog instances.
277 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
279 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
280 broke sending async messages
282 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
285 - ScrollWindow: Fixed method. We finally generate expose events again
286 for scrolled areas. This was causing 'garbage' when scrolling
287 textbox and other controls that used ScrollWindow
288 - Switched from using the regular queue for paint events to the MS
289 model of 'generating' paint events when the queue is empty.
290 We use the new XQueueEvent.Paint subclass to store which windows
292 - AddExpose now takes the x/y/width/height of the exposed area
293 and inserts the window into the paint queue if not already there
294 - InvalidateWholeWindow: Switched to use new AddExpose method
295 - UpdateMessageQueue: Added which queue to monitor for paint events
296 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
297 the unlikely case nothing above handles it. We reset the expose
298 pending states to get them off the queue.
299 - GetMessage: Now pulls a paint event if no other events are in the
301 - Invalidate: Switched to new AddExpose method
302 - PeekMessage: Updated to understand pending paint events
303 - UpdateWindow: Fixed logic bug. We were only updating if the window
304 didn't need updating. Also switched to sending WM_PAINT directly,
306 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
307 and random access Remove(). The random access is needed to handle
308 UpdateWindow() where a WM_PAINT is sent directly without accessing
310 * ScrollBar.cs: Added Update() calls to cause immediate updates to
311 allow for better feedback when scrolling. Scrollbars are small and
312 the immediate update should make it 'feel' more responsive without
313 slowing things down. ScrollBar still needs it's invaliate logic
314 updated to not always invalidate the whole bar on certain changes.
316 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
319 (BackColor): if the control does not support a transparent background,
320 return the default backcolor when the parent backcolor is transparent.
322 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
324 * Application.cs: Updated to new StartLoop/GetMessage API
325 * RichTextBox.cs: Provide some output on RTF parsing errors
326 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
327 new queue_id argument to GetMessage and PeekMessage to allow faster
328 handling of per-thread queues in drivers.
329 * Hwnd.cs: Added Queue tracking and property
330 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
331 * XEventQueue.cs: Added thread trackingA
332 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
334 - Implemented new per-thread queue
335 - GetMessage: Fixed return/break behaviour on several cases. We were
336 returning stale messages in some cases, instead of just processing
339 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
341 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
343 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
345 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
346 fixed off-by-one comparisons between Width/Height and Right/Bottom.
348 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
350 * PropertyGridView.cs: Fix drop down width.
352 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
354 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
355 a mess in DrawToolBar, so I removed one of them.
357 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
359 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
360 needed (clip). Otherwise we get artifacts.
362 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
364 * FixedSizeTextBox.cs: Added constructor to allow specifying which
366 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
367 and switched FixedSizeTextBox to only be fixed vertical (#78116)
368 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
369 if it matches the scale base font (avoids unneeded scaling)
371 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
373 * X11DesktopColors.cs: One gtk_init_check should be enough
375 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
377 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
380 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
383 - Generate OnTextChanged for Backspace even if we're only deleting
384 the current selection
385 - When setting the Text property, only select all text if the
386 control does not have focus when it is being set. Otherwise
387 just place the cursor at the beginning of the control
389 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
391 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
392 Added a little helper to draw PropertyGrid ToolBar with a different
393 border and a different BackColor.
394 * PropertyGrid.cs: Some background parts didn't get painted with the
395 correct background color. Added a class that helps us to draw the
396 correct border for PropertyGridView and a class that helps us to
397 draw ToolBars with a different backcolor
398 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
400 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
402 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
403 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
405 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
407 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
408 into the palette entries. Also, since we're working on a copy
409 we needed to copy the palette back onto the bitmap.
410 * Cursor.cs: Same fix as XplatUIWin32.cs.
412 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
414 * ImageListStreamer.cs: Need to read the var (or we're off)
416 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
418 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
419 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
420 TextBoxBase.cs: Unused var fixes
421 * AxHost.cs: Small 2.0 fix
422 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
423 as it seems that is what at least Metacity expects. This will make
424 icons show up on 64bit platforms. We still have some 64bit size
425 issues, though, since the startup app window size still won't match.
427 2006-04-25 Mike Kestner <mkestner@novell.com>
429 * *.cs: cleanup newly reported exception var unused warnings.
431 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
433 * ThemeWin32Classic.cs: Button image alignment now matches exactly
436 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
438 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
439 image. The image position is always the same, no matter if the
440 button is pressed or not.
442 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
444 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
445 selection and set the correct filename for SaveFileDialog.
446 Patch by Emery Conrad.
448 2006-04-24 Mike Kestner <mkestner@novell.com>
450 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
451 check for item.X outside the ClientRect instead of item.Y. Fixes
454 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
456 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
457 trust that value blindly and do some sanity check. Fixes bug #77814.
459 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
461 * ImageListStreamer.cs: save the mask as a 1bpp image.
463 2006-04-21 Mike Kestner <mkestner@novell.com>
465 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
466 pass Checked and Indeterminate to the Theme Engine. Improve
467 encapsulation with ListBox.
468 * ListBox.cs: Keep a StringFormat instead of calculating it every item
469 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
470 nested types. Move all CheckState functionality to CheckedListBox.
471 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
472 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
473 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
474 single base list. Fix scrollbar sizing and placement to mirror MS.
475 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
477 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
478 for CheckedListBox by using new DrawItemState info. Center the
479 checkboxes on the items. Use new StringFormat property.
481 2006-04-18 Jackson Harper <jackson@ximian.com>
483 * Form.cs: MdiChildren don't do default locations the same way as
484 regular forms. This prevents a crash when trying to position the
487 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
489 * PropertyGridTextBox.cs: Formatting, copyright
490 * PropertiesTab.cs: Formatting
491 * PropertyGrid.cs: Formatting
492 * PropertyGridView.cs: Formatting, fix drop down, enabled double
493 click toggling of values
495 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
497 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
498 * Control.cs (.ctor): verify_thread_handle is static, don't reset
499 every time a control is created
500 * Application.cs: Removed obsolete EnableRTLMirroring method
502 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
504 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
505 SelectedIndex to -1. Fixes bug #78121.
507 2006-04-17 Jackson Harper <jackson@ximian.com>
509 * Binding.cs: Handle null values for Current and BindingContext.
510 This occurs when binding is a little delayed.
511 * CurrencyManager.cs: return null for Current when there are no
513 - Hookup to the listchanged event on the DataView and update
514 bindings when the list is changed. This fixes late binding of
517 2006-04-17 Jackson Harper <jackson@ximian.com>
520 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
523 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
525 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
527 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
528 with the correct ButtonState
530 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
532 * XplatUIX11.cs: Improved distinguishing between window types to
533 tell the WM a type closer to what the app wants (Fixes #78107)
535 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
537 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
540 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
542 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
543 drawing code to reflect the size grip changes
545 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
547 * ImageListStreamer.cs: fix handling of the mask that follows the main
548 bitmap when deserializing and serialize it properly. The generated mask
549 should better be a 1bpp image, but I'll do that later.
551 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
553 * FileDialog.cs: Show something in the DirComboBox on *nix if the
554 path doesn't fit into some of our Current.Places
556 2006-04-13 Jackson Harper <jackson@ximian.com>
558 * ComboBox.cs: Use borders instead of drawing our own decorations,
559 try to obey correct rules for heights.
562 * ThemeClearLooks.cs:
563 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
564 this is now handled by borders.
565 - Remove unused DrawListBoxDecorationSize method.
567 2006-04-13 Mike Kestner <mkestner@novell.com>
569 * MenuAPI.cs: null guarding for the disbled click check fixes crash
572 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
574 * ThemeWin32Classic.cs:
575 - Fixed CPDrawStringDisabled
576 - Corrected drawing of disabled menu items
577 - Fixed drawing of disabled radio buttons (bug #78095)
578 - Draw check in a disabled CheckBox with color ControlDark
580 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
582 * Form.cs: Use the provided width when calculating the menu size;
583 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
584 and ClientSize.Width won't be updated yet
585 * Application.cs: Use Visible instead of Show() to make form visible,
586 this way we create the handle later and menusize is considered
588 2006-04-12 Mike Kestner <mkestner@novell.com>
590 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
593 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
595 * TextBox.cs: Implemented context menu
597 2006-04-12 Mike Kestner <mkestner@novell.com>
599 * ListView.cs: implement box selection. fixes #77838.
600 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
602 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
604 * XplatUIX11.cs: Added setting of window type when transient window
605 is created (metacity would move it otherwise)
606 * X11Structs.cs: Added WINDOW_TYPE atoms
607 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
608 background (the control is Opaque but still wants transparent
611 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
613 * Control.cs: Added OnPaintBackgroundInternal to allow controls
614 that set Opaque but don't mean it (like all ButtonBase-derived
615 controls) to still draw their background
616 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
619 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
621 * Control.cs (PaintControlBackground): Set the graphics object
622 on our PaintEvent to null to prevent it from being disposed
623 when the PaintEvent gets disposed
625 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
627 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
628 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
630 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
633 - Added transparency check to BackColor property. Transparent
634 backgrounds are only allowed if the control styles permit it
635 - Added recursive painting of parent control background and
636 foreground if a control with a transparent backcolor is drawn
637 (Thanks to Tim Ringenback for providing his 'hack' as a base
638 for this patch) Fixes #77985 and #78026.
639 - Added Opaque style check before calling OnPaintBackground, no
640 need to draw the background if the control is opaque
641 - Removed ControlAccessibleObject owner variable (inherited from
642 base, no need to define again)
643 - Added some documentation links explaining the drawing events
646 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
648 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
649 that the affected control is the located at the left border of our
650 parent (Fixes #77936)
652 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
654 * TextBoxBase.cs: When rendering disabled or readonly controls,
655 draw the background with 'Control' instead of 'Window' color as
656 long as the user hasn't specifically set a color
658 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
660 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
661 since that won't be updated if the user types text (only if it's
664 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
666 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
667 layout changes do to app-triggered resizes will have the proper
668 display rectangle for layout
670 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
672 * ThemeWin32Classic.cs:
673 - Make use of the SystemBrushes and SystemPens wherever possible
674 - Corrected some highlight colors
675 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
677 * Theme.cs: Added Empty field to CPColor struct
679 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
681 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
682 is displayed when calculating the display rectangle. Thanks to Mike
683 for teaching me the err of my ways.
685 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
687 * ScrollableControl.cs:
688 - Rewrote DisplayRectangle code, now returning the proper x/y coords
689 (instead of 0,0) and we now return the real width/height instead of
690 just the clientrectangle, adjusted for padding. The rectangle is
691 now cached and created by the new CalculateDisplayRectangle method.
692 - Created new CalculateDisplayRectange method, which basically does
693 what get_DisplayRectangle() did originally, but now using the
694 right edge instead of DisplayRectangle to determine the size of
696 - get_Canvas(): Fixed it to properly calculate canvas for
697 right/bottom controls which seem to be placed to the right/bottom
698 of any controls that have a fixed location
699 - Removed TODO that's taken care of
700 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
701 and SetDisplayRectLocation according to new MSDN2 docs
702 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
703 event when that is called, this is added for compatibility
704 - ScrollControlIntoView(): Implemented.
705 - Switched scrollbars to be implicit, they shouldn't be selectable
706 * ContainerControl: Now that ScrollControlIntoView is implemented, we
707 call it when the active control is set/changed
708 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
709 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
710 implicit_control variable (used for native Win32 message generation)
711 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
712 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
713 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
714 * XplatUIStructs.cs: Added ScrollBarCommands enum
716 2006-04-10 Jackson Harper <jackson@ximian.com>
726 * PrintPreviewControl.cs:
732 * UpDownBase.cs: Fixup base event overrides.
734 2006-04-06 Mike Kestner <mkestner@novell.com>
736 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
737 all user-initiated value changes to min <= value <= max-thumbsz+1.
738 (set_Value): check for vert/horiz when calculating new thumb position.
739 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
741 (OnMouseMoveSB): refactor the thumb dragging code and refine
742 invalidation logic to reduce flicker.
743 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
744 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
745 (UpdateThumbPosition): small code readability cleanup
747 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
749 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
752 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
754 * ThemeNice.cs: Use a better graphics effect when a button is pressed
756 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
758 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
759 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
760 This dramatically reduces the number of Pen.Dispose calls.
761 Where possible call ResPool methods only once instead of calling it
762 over and over again (for example for the same color).
764 2006-04-06 Mike Kestner <mkestner@novell.com>
766 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
767 Also remove an unused private field on the collection. Fixes #77972.
769 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
771 * ThemeNice.cs: Added ToolBar drawing code
773 2006-04-06 Mike Kestner <mkestner@novell.com>
775 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
776 I'm assuming that means we need to look up the toplevel for the
777 provided control. Fixes the crash trace in #77911 but exposes another
778 crash in some strange reflection usage in NDocGui.
780 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
782 * ThemeNice.cs: Gave it a little silver touch and added Images
784 * FontDialog.cs: FontDialog is not resizable
785 * FileDialg.cs: Added SizeGripStyle.Show
787 2006-04-05 Jackson Harper <jackson@ximian.com>
789 * KeyboardLayouts.cs: Remove warning.
791 2006-04-05 Jackson Harper <jackson@ximian.com>
793 * Control.cs: Enable OnPaintInternal so we can use it for drawing
794 all of our controls instead of Paint +=.
809 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
810 use OnPaintInternal. Remove Width/Height and Visible checks in
811 paint handler, this is done at a higher level now.
812 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
813 * PaintEventArgs.cs: Add a handled flag so controls that don't
814 want anymore painting after OnPaintInternal can make sure OnPaint
817 2006-04-05 Mike Kestner <mkestner@novell.com>
819 * Form.cs: fix the menu WndProc hacks to respect the native enabled
820 state of the form, so that we don't process events when Modal dialogs
821 are up. Fixes #77922.
823 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
825 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
828 2006-04-05 Mike Kestner <mkestner@novell.com>
830 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
832 2006-04-05 Mike Kestner <mkestner@novell.com>
834 * ListView.cs (HeaderMouseMove): null guarding for the over column
835 when setting up the drag_to_index. Fixes #78015.
837 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
839 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
840 in the taskbar. Transient windows seem to accomplish that.
842 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
845 - Re-enabled CreateParams.X/Y code for FormStartPosition
846 - Added code for manual placement when creating the Control
847 - Incomplete patch to treat MDI forms differently when
848 setting the ClientSizeCore. (Still need to figure out handling
851 - When we're explicitly setting the X/Y position of a non-Child
852 window, let the WM know. Metacity really wants this.
854 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
856 * ThemeNice.cs: Added CPDrawButton
858 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
860 * ThemeNice.cs: Changed the color for focused buttons and activated
861 the arrows for small scroll buttons.
863 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
865 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
866 anymore. Changed some method modifiers to protected (virtual)
867 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
869 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
870 Updated drawing of menus, buttons and progressbars; added
873 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
875 * ImageListStreamer.cs: implemented serialization/deserialization
878 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
880 * ThemeWin32Classic.cs:
881 - Removed all the DrawFrameControl stuff; CPDrawButton,
882 CPDrawCheckBox and CPDrawRadioButton are now handled directly
884 - Updated and corrected the drawing code of CPDrawButton,
885 CPDrawCheckBox and CPDrawRadioButton to better match ms
886 - Updated theme checkbox and radiobutton code to use the CP*
889 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
891 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
894 2006-03-31 Jackson Harper <jackson@ximian.com>
896 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
898 * UpDownBase.cs: Don't CreateGraphics manually, use a
899 Refresh. Ideally we would invalidate the correct areas here.
901 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
904 - We now track the mapping state of windows. If a window (or
905 one of it's parents) is not mapped we no longer permit
906 WM_PAINT messages to be generated since we'd otherwise get
907 lots of BadMatch X errors. Jackson did all the work figuring
909 - Destroying the caret if the window it's contained in is
910 destroyed. Can't use regular DestroyCaret method since it
911 might fall into a drawing function (trying to remove the
912 caret) and with that generate new BadMatch errors. Again,
913 Jackson tracked this down.
914 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
915 make sure we send the messages to all windows. (The old code
916 would send the WM_DESTROY to the window, and then all child
917 windows would be 'gone' because the WM_DESTROY handle lookup
918 would no longer find the destroyed window)
919 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
920 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
922 2006-03-31 Jackson Harper <jackson@ximian.com>
924 * ScrollableControl.cs: Dont recalc if we are not visible.
926 2006-03-31 Mike Kestner <mkestner@novell.com>
928 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
929 the visibility branch.
931 2006-03-31 Jackson Harper <jackson@ximian.com>
933 * ScrollBar.cs: Cap values when incrementing/decrementing.
935 2006-03-31 Mike Kestner <mkestner@novell.com>
937 * MenuAPI.cs: setup menu.tracker for popup/context menus.
938 * ToolTip.cs: guard against timer expirations with no active control.
939 Not sure why it happened.
941 2006-03-31 Mike Kestner <mkestner@novell.com>
943 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
945 * ToolTip.cs: Position the tooltip based on where the cursor is at
946 popup time, not at MouseEnter time. Add a Down state so that we don't
947 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
948 positioning offset. Lookup DisplaySize at positioning time, since it
949 can theoretically change during invocation.
950 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
951 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
953 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
955 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
956 Fixes behaviour when the Text property of the box is String.Empty
958 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
960 * XplatUIX11.cs: Only send mouseleave for our client windows, not
961 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
964 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
966 * FileDialog.cs: Visual enhancement for the popup buttons in
969 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
971 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
974 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
976 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
977 highlighted menu items to match ms
979 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
981 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
983 2006-03-30 Mike Kestner <mkestner@novell.com>
985 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
986 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
987 go active to account for HotLight to Selected transition.
988 * MenuItem.cs: add internal Selected prop. Fill out the Status
989 property by calculating it from item info. Add HotLight,
990 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
992 2006-03-30 Mike Kestner <mkestner@novell.com>
994 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
996 2006-03-29 Jackson Harper <jackson@ximian.com>
998 * Form.cs: Implement TODO.
1000 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1002 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1003 missing proper dialog setup in the constructor
1005 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1007 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1009 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1010 - Fixed ResetBindings and removed TODO
1011 - Added check for cross-thread calls to get_Handle()
1012 - Added Marshaller attribute for set_Font to satisfy class status
1013 * FontDialog.cs: Removed TODOs that seemed implemented
1014 * UpDownBase.cs: Removed unneeded TODO and Fixme
1015 * MessageBox.cs: Implemented support for Default button and removed TODO
1016 * FileDialog.cs: Removed obsolete TODO
1017 * DomainUpDown.cs: Removed obsolete TODO
1018 * ButtonBase.cs: Removed obsolete TODO
1019 * XplatUIWin32.cs: Removed obsolete TODO
1021 - Removed obsolete TODO
1022 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1023 internal status updates
1024 - Making sure the active control is selected when the control is created
1025 * CurrencyManager.cs: Removed obsolete TODO
1027 2006-03-29 Mike Kestner <mkestner@novell.com>
1029 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1030 of PrintPreviewDialog and RichTextBox.
1032 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1034 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1035 DarkDark, Light and LightLight colors for a specific color
1036 * ThemeWin32Classic.cs:
1037 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1039 - Make use of the new ResPool helper CPColor
1040 - Draw ProgressBar and StatusBar with correct 3D borders
1042 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1044 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1046 2006-03-28 Mike Kestner <mkestner@novell.com>
1048 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1049 calculating col/row counts.
1051 2006-03-28 Mike Kestner <mkestner@novell.com>
1057 switch to explicit interface method implementation for some methods
1058 corcompare identifies as inconsistent with MS.
1060 2006-03-28 Mike Kestner <mkestner@novell.com>
1064 add a few missing methods from the class status output.
1066 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1068 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1071 2006-03-28 Mike Kestner <mkestner@novell.com>
1073 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1075 2006-03-27 Mike Kestner <mkestner@novell.com>
1077 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1078 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1080 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1082 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1084 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1086 * ThemeWin32Classic.cs:
1087 - GroupBox: Inserted a little gap between the text and the lines
1089 - Made the code in CPDrawBorder3D more readable
1090 - Corrected the drawing location of the up and down arrows in
1093 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1095 * ControlPaint.cs: Corrected line widths in DrawBorder for
1096 ButtonBorderStyle Inset and Outset
1098 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1100 * ThemeWin32Classic.cs:
1101 - Rewrote the totally broken CPDrawBorder3D method. That was
1102 one of the main problems for the terrific ThemeWin32Classic
1104 - Updated and corrected Button drawing
1105 - Correct the dimensions of the SizeGrip to match ms ones
1106 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1107 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1108 Border3DStyle.Sunken to match ms.
1110 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1112 * ThemeWin32Classic.cs: First small part of the "de-uglify
1113 ThemeWin32Classic" effort, SizeGrip
1115 2006-03-24 Jackson Harper <jackson@ximian.com>
1117 * XplatUIX11.cs: Give a max idle time of one second, this matches
1118 MS and forces an Idle event every second when there are no other
1119 events in the queue.
1121 2006-03-24 Mike Kestner <mkestner@novell.com>
1123 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1124 * ListView.Item.cs: fix layout issues with null image lists and images
1125 smaller than checkbox size.
1126 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1127 mode like MS does. It's weird, but consistent. ;-)
1130 2006-03-24 Mike Kestner <mkestner@novell.com>
1132 * ListView.cs: Scroll wheel support for the item control. Fixes
1135 2006-03-23 Jackson Harper <jackson@ximian.com>
1137 * ScrollableControl.cs: Special case negative sized areas, not
1139 * MonthCalendar.cs: Save the rect of the clicked date so we can
1140 use it for invalidation.
1141 - Try to cut down on the number of invalidates
1142 - Invalidate the rect the mouse is over and was over when moving
1143 the mouse, so we get the focus box following the cursor.
1145 2006-03-23 Mike Kestner <mkestner@novell.com>
1147 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1148 focus rectangle drawing. Fixes #77835.
1150 2006-03-23 Mike Kestner <mkestner@novell.com>
1152 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1153 the if and else if and reverting back to the original == check on the
1156 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1158 * FontDialog.cs: Update the example panel if the selected index of
1159 the fontListBox changes.
1161 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1163 * FileDialog.cs: Make FileDialog remember which directory it was in
1164 last in the same execution.
1166 2006-03-22 Mike Kestner <mkestner@novell.com>
1168 * FileDialog.cs: make the DropDownMenu on the toolbar display
1169 RadioChecks since they are mutually exclusive and that's what MS does.
1171 2006-03-22 Mike Kestner <mkestner@novell.com>
1173 * Theme.cs: add Color param to CPDrawMenuGlyph.
1174 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1175 checks and radio marks and arrows are visible on highlighted items.
1176 * ControlPaint.cs: update to use new Theme signature.
1178 2006-03-22 Mike Kestner <mkestner@novell.com>
1180 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1181 is active. Fixes #77870.
1183 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1185 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1186 to be focused/selected after startup
1188 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1191 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1192 CustomColors and ShowHelp properties
1193 - Some internal rewrites to get better results when using the
1196 2006-03-22 Mike Kestner <mkestner@novell.com>
1198 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1199 HoverSelection. Fixes #77836.
1201 2006-03-22 Mike Kestner <mkestner@novell.com>
1203 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1204 ToggleButtons. (De)Sensitize the Back button around a stack count of
1205 1, not 0. Update ButtonSize based on a pixel count of the win32
1206 control. Adjust the toolbar size/location for new button size.
1208 2006-03-22 Jackson Harper <jackson@ximian.com>
1210 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1212 * ScrollBar.cs: When doing increments and decrements we need to
1213 set the Value property so that ValueChanged gets raised. A
1214 possible optimization here would be to make an internal SetValue
1215 that doesn't invalidate immediately.
1216 * ToolTip.cs: Tooltips get added to their container (when
1217 supplied) so they get disposed when the container is disposed.
1218 - Don't create tooltips for String.Empty. This prevents all these
1219 little 2-3 pixel windows from showing up when running nunit-gui
1221 * Form.cs: Don't set topmost when setting the owner if the handles
1222 haven't been created yet. The topmost set will happen when the
1223 handles are created.
1225 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1228 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1229 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1230 visible (to allow them to recalculate their sizes)
1232 2006-03-21 Mike Kestner <mkestner@novell.com>
1234 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1235 methods. Removed a ton of redundant code. Still not really happy with
1236 the border rendering, but I think that's mainly because of the
1237 ControlDarkDark being black instead of a dark grey. Depending on how
1238 close we want to be, we might want to revisit those color choices.
1239 Among the new features added during the refactor were DropDownArrow
1240 pressed rendering, Disabled image rendering. Proper flat appearance
1241 boundary rendering. Removed the Divider and Wrapping dividers since I
1242 can't figure out any combination of themes and conditions to make the
1243 MS control draw a horizontal line on a toolbar despite what the
1244 Divider property docs indicate.
1245 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1246 conditions and incorrect layout. Updated to coding standard.
1247 * ToolBarButton.cs: refactored layout and positioning code from
1248 ToolBar to here. Invalidate wherever possible instead of forcing
1249 redraws of the whole toolbar.
1250 (Known remaining issues: explicit ButtonSize smaller than provided
1253 2006-03-21 Mike Kestner <mkestner@novell.com>
1255 * ContextMenu.cs (Show): use the position parameter instead of just
1256 showing at the MousePosition.
1258 2006-03-21 Jackson Harper <jackson@ximian.com>
1260 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1261 control handle this.
1262 * TreeNodeCollection.cs: If we are clearing the root node we need
1263 to reset top_node so calcs can still happen.
1264 * ThemeWin32Classic.cs: This is a Flags so we need to check
1267 2006-03-21 Jackson Harper <jackson@ximian.com>
1269 * DataGrid.cs: Create columns when the binding context has been
1271 * X11Structs.cs: Keysyms are uints.
1272 - Add size to fix build.
1274 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1276 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1278 - Added ResetMouseHover method to allow controls to retrigger
1279 hovering if they need it more than once
1280 - Implemented MouseHoverTime and MouseHoverSize properties
1281 * Timer.cs: Start() must reset the interval
1282 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1285 2006-03-21 Jackson Harper <jackson@ximian.com>
1287 * X11Keyboard.cs: improved layout detection. Move the nonchar
1288 tables into this file.
1289 * KeyboardLayouts.cs: Move the tables into resource files.
1291 2006-03-21 Mike Kestner <mkestner@novell.com>
1293 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1295 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1297 * Mime.cs: Various speed optimizations. Looking up mime types
1298 is now 2 times faster than before
1300 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1302 * CreateParams.cs: Added internal menu field
1304 - Switched call order for UpdateBounds; now we always call
1305 the one that also takes ClientSize, and we're calculating the
1306 client size via driver method in the others. The previous
1307 method of tracking client size by difference wasn't working
1308 for forms where even the starting client size wouldn't match
1309 the overall form size (due to borders) (Part of fix for #77729)
1310 - CreateParams(): Do not use parent.Handle unless the handle is
1311 already created. Causes havoc with Nexxia and throws off our
1312 creation of controls
1314 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1315 - Switched handling of ConfigureNotify over to new PerformNCCalc
1316 method (consolidates code)
1317 - Changed RequestNCRecalc to use new PerformNCCalc method
1318 - Added calls to RequestNCRecalc when menus and borders are changed
1319 to allow app to set NC size. (Part of fix for #77729) This matches
1320 when MS send a WM_NCRECALC on Win32 windows.
1321 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1322 (Part of fix for #77729). This matches what MS does, they also
1323 send that message when the form is made visible.
1324 - XException.GetMessage: Improved usability of X errors by including
1325 a translation of the window into Hwnd and Control class
1326 - Improved debug info for window creation, reparenting and destruction
1327 - Created helper method WindowIsMapped() [Currently not used]
1328 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1330 - CreateParams: Now setting our menu on the new internal menu field
1331 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1332 avoid calculating the same property twice
1334 - Improved usability of ToString() for debugging purposes
1335 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1336 determine the height of the menu, instead of just the font. This
1337 required to also create a graphics context and to keep a bmp
1338 around (for performance reasons)
1340 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1342 * MenuAPI.cs: Added OnMouseUp method
1344 - Now remembering the requested client size, avoids size errors
1345 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1346 instead of base if the menu is active. This is required due to
1347 control now capturing and releasing on down/up and it would
1348 prematurely release our menu capture
1350 2006-03-17 Jackson Harper <jackson@ximian.com>
1352 * KeyboardLayouts.cs: Add the czech layouts.
1354 2006-03-16 Jackson Harper <jackson@ximian.com>
1356 * Control.cs: Use the viewport space when sizing not the controls
1357 client size, so things like ScrollableControl that effect the
1358 viewport size (when scrollbars are added) are computed correctly.
1359 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1361 - Handle creating BindingManagers for null data sources.
1362 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1363 source, otherwise when rows are added they are added to the 'fake'
1364 datasource and we will crash when trying to set the position in
1366 - Use Implicit scrollbars on the datagrid so they arent
1369 2006-03-16 Jackson Harper <jackson@ximian.com>
1372 * InternalWindowManager.cs:
1373 * MdiWindowManager.cs:
1374 * X11Keyboard.cs: I really want Mike to love me again (fix
1377 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1380 - OnMouseDown: Switch to editing mode when clicking on the cell
1381 even if we're clicking on the cell that's currently
1383 - ProcessGridKey: Left/Right now wrap like MS.Net does
1384 - ProcessGridKey: Tab now knows to add a new row when tab is
1385 pressed in the cell of the last column of the
1387 - ProcessGridKey: Enter now adds another row if pressed in the last
1388 row and selectes the new row, same column cell
1389 - ProcessGridKey: Home/End navigate columns, not rows, like
1390 originally implemented
1391 - Broke ProcessKeyPreview code out into an extra Internal method
1392 so it can be called from the edit code
1393 * DataGridTextBox.cs (ProcessKeyMessage):
1394 - Switched to accept Tab keypresses
1395 - Added F2 handling to allow jumping to the end of the edited cell
1396 - Added logic to allow moving caret left/right inside edited cell
1397 and making the edited cell jump when the caret hits cell borders
1398 - Tab and Enter are now passed to the datagrid after being handled
1400 - Removed capture code now that Control handles it
1401 - set_SelectionStart now ensures caret is visible
1403 2006-03-16 Jackson Harper <jackson@ximian.com>
1405 * TrackBar.cs: Debackwards the increment/decrement for handling
1406 mouse clicks on the bar with vertical trackbars.
1407 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1410 2006-03-16 Mike Kestner <mkestner@novell.com>
1412 * ListView.cs: make shift/ctrl keyboard and mouse selection
1413 consistent with the MS control. Fix a bug in
1414 SelectedListViewItemCollection.Clear that was pissing me off for the
1415 better part of a day because the collection was being altered
1416 underneath us as we walked the list.
1418 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1420 * Control.cs: Not sure how we could miss this so long, but it seems
1421 that MS.Net has Capture set all the way from before calling
1422 OnMouseDown through sending the mouse events until after
1423 OnMouseUp. This will fix DataGrid's selection being set to end
1424 at the location of the MouseUp.
1426 2006-03-15 Jackson Harper <jackson@ximian.com>
1428 * BindingContext.cs: Check the binding after its added so that it
1429 can initialize the binding managers and hookup to events.
1430 * Binding.cs: Data members seem to sometimes include rows/cols in
1431 the format Row.Column we now take this into account.
1432 - Hookup to the position changed event so we can update the
1433 control when the position has changed in the data set.
1434 * CurrencyManager.cs: Take into account the row/col naming
1435 convention when creating dataset tables.
1436 * BindingContext.cs: Using a newer better way of storing
1437 datasource/datamember pairs. Hopefully this better matches MS for
1438 looking up binding managers.
1441 2006-03-15 Jackson Harper <jackson@ximian.com>
1443 * BindingContext.cs: The currency manager needs the data member
1444 name, if the member is a data set we use the name to find the
1446 * CurrencyManager.cs: When creating the list prefer an IList over
1448 - Attempt to create a DataTable from a DataSet (TODO: might need
1449 some better error checking here, although MS doesn't seem to have much)
1450 - If we have a DataTable create a view and use it as our list.
1452 2006-03-15 Mike Kestner <mkestner@novell.com>
1454 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1455 keyboard navigation. Support Up/Down/Left/Right selection correctly
1456 for all 4 View modes.
1457 * ListViewItem.cs: add internal row/col fields for icon layouts.
1459 2006-03-15 Jackson Harper <jackson@ximian.com>
1461 * TabControl.cs: Redraw the tabs when we resize so their newly
1462 calculated sizes are drawn on screen.
1463 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1464 composite characters.
1465 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1466 - filter events so that composite characters can be created
1468 * X11Structs.cs: Add XIMProperties enum.
1470 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1472 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1475 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1477 * Control.cs (PerformLayout): We don't need to consider visiblity
1478 for anchoring, only for docking. This fixes 'whacky' alignment
1479 in listbox and other controls that use implicit scrollbars after
1480 the previous PerformLayout patch
1481 * ListBox.cs: Switched to use implicit scrollbars
1483 2006-03-14 Mike Kestner <mkestner@novell.com>
1487 - chain up the "new event" overrides to base and use
1488 OnEvent to raise them. Part of fix for bug #76509.
1490 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1492 * FileDialog.cs: Do not select an item in the parent directory
1495 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1497 * Control.cs (PerformLayout): It would seem that we considered
1498 invisible windows for our layout. Not quite the right thing
1499 to do. Now we don't any longer, thereby fixing bug #76889.
1501 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1503 * Control.cs (CanFocus): I goofed. A control can have focus
1504 even though it's not selectable. Made it match MS docs.
1506 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1508 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1509 center by default (fixes #76895)
1510 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1511 all uses of Border3DSides.All with the explicit ORd together
1512 Left|Right|Top|Bottom because I assume that nobody was aware
1513 that All also implies a center fill. Most places I checked had
1515 * ProgressBarStyle.cs: Added
1517 2006-03-13 Mike Kestner <mkestner@novell.com>
1519 * ListView.cs: fix breakage in drag shadow header positioning
1520 from Peter's csc compilation fix.
1522 2006-03-13 Mike Kestner <mkestner@novell.com>
1524 * ListView.cs: fix NRE produced by backspacing twice in a focused
1527 2006-03-13 Mike Kestner <mkestner@novell.com>
1529 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1531 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1533 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1535 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1536 the allowed size before making programmatic size changes
1538 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1540 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1541 set, metacity is broken and will still use the emty sizes in
1542 the struct. (Fix for #77089)
1544 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1546 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
1547 WindowExStyles and marked both enums as Flags
1548 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1549 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1550 to match WindowStyles split
1552 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1553 - Updated to match WindowStyles split
1555 - Fixed FosterParent creation, was using ExStyle on the Style field
1556 (This should help with Popup focus issues)
1557 - Updated to match WindowStyles split
1559 2006-03-13 Jackson Harper <jackson@ximian.com>
1561 * MdiWindowManager.cs: Use the system menu height. Fixes some
1562 strange sizing issues.
1564 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1566 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1568 - Scroll to caret after inserting text (#77672)
1569 - Make scroll range one pixel higher, fixes off-by-one error (and
1570 makes underlines visible on the last line)
1572 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1574 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1575 the keyboard state from being stuck with keys in 'pressed' state when
1576 focus is switched away via keyboard
1577 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1578 reset the keyboard if no X11 KeyUp events are expected to come
1579 * X11Structs.cs: Switched type of Visible to bool to match driver
1581 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1584 - Switched caret to be just 1 pixel wide, matches MS and looks less
1586 - Moved caret display 1 pixel down from the top of the control
1588 - InsertCharAtCharet: Update the selection start if moving the caret
1589 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1590 - No longer always creating the caret when the caret methods are
1591 called. Only the actual ShowCaret/HideCaret will do that now
1592 - Only setting caret visible if the owner control has focus
1593 - UpdateView: Added invalidation-shortcut logic for center and right
1594 aligned text. Previously we'd update all according to the left
1595 logic which caused drawing errors. Also fixed height of invalidated
1596 areas, now properly invalidating the whole area (was off-by-one)
1597 - owner_HandleCreated: Always generate the document when the
1598 handle is created; this ensures that
1600 - Fixed situation where caret would disappear under the right
1601 window border, also improved scrolling behaviour on left-
1603 - Fixed right-aligned textboxes to have a border to the
1604 right instead of the caret being under the right border
1606 - Switched from 'nested' to simple visible/not visible tracking
1607 for caret (part of fix for #77671)
1608 - No longer passing through translated FocusIn/FocusOut messages
1609 since we were notifying too often and the wrong windows. Instead
1610 we just notify our focussed window of receiving or loosing focus
1611 * XplatUIWin32.cs: Switched from 'nested' show/hide
1612 counting for caret to simple visible yes/no behaviour (part of
1615 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1617 * Mime.cs: Remove debug code...
1619 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1621 * MimeGenerated.cs: Removed
1622 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1623 and subclasses) from /usr/(local/)share/mime and
1624 $HOME/.local/share/mime.
1626 2006-03-10 Jackson Harper <jackson@ximian.com>
1628 * MdiWindowManager.cs: Recalc the NC area when a window is
1629 maximized/restored so that the menu area is drawn on forms that
1632 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1634 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1635 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1636 us to force a WM_NCCALCRESIZE message being sent. This is needed
1639 2006-03-10 Jackson Harper <jackson@ximian.com>
1641 * Form.cs: We need to use the ActiveMenu when calculating menu
1643 - Fix nullref when the window manager hasn't been created yet.
1644 * Control.cs: Fix nullref when we try to bring a control to the
1645 front that has no parent.
1646 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1648 - Add a dummy item to the maximized menu so it always has the
1649 correct height. Otherwise when there are no menus we don't get our
1653 2006-03-10 Jackson Harper <jackson@ximian.com>
1655 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1657 * Form.cs: Make the window_state internal so the window managers
1659 - When an MDI child is maximized let its window manager create the
1660 main menu (so it can add its icon).
1661 - Notify the window managers of state changes
1662 - Let the window manager paint its buttons and handle button
1663 clicks on the menu when it is maximized.
1664 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1665 window manager, since tool windows don't use it, only mdi windows.
1666 - Tell the main form that we don't want it to handle NCPAINT
1667 itself to avoid extra painting.
1668 - Handle clicks on a maximized windows menu.
1669 - Handle window state changes
1670 - Handle minimize/maximize clicks correctly by setting the window state.
1671 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1672 when clicking on the forms icon).
1673 - New method to create a forms maximized menu. This is its normal
1675 - Handle window state changes.
1676 - Handle sizing of maximized windows. Maximized windows are just
1677 drawn bigger then the parent visible area. All controls are still
1678 there, they are just outside the visible area (this matches windows).
1679 * MdiClient.cs: No scrollbars when a child window is maximized.
1680 - Let the children windows figure out how big they should be when
1681 sizing maximized windows.
1682 - Implement a version of ArrangeIconicWindows somewhat similar to
1683 Windows version. There are some little differences, but I don't
1684 think any app will rely on the layout of minimized mdi windows.
1686 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1688 * Padding.cs: Several fixes to allow compiling with csc 2.0
1690 2006-03-09 Jackson Harper <jackson@ximian.com>
1693 * MenuItem.cs: Cheap hack so we can add items to the list without
1694 the events being raised. This allows adding mdi items during
1695 drawing. TODO: Should probably find a better time to add the items.
1697 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1699 * ThemeWin32Classic.cs:
1700 - CheckBox_DrawText: Added logic to not wrap if not enough space
1701 is available (Fix for bug #77727)
1702 - RadioButton_DrawText: Added logic not to wrap if not enough
1703 space is available (Fix for bug #77727). Also removed some
1704 duplicate code, DrawString always drawing the regular text
1705 before hitting the if statement.
1707 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1709 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1711 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1713 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1714 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1715 methods. Moved the new 2.0 properties into alphabetical order with
1716 other properties and added MonoTODO tags
1718 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1720 * AutoScaleMode.cs: Added. Fix build.
1722 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1724 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1725 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1726 and was requiring premature handle creation for calls from above
1727 * Form.cs, Control.cs: Removed handle arguments from calls to
1728 CalculateClientRect()
1730 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1732 * ListView.cs (HeaderMouseMove): Fix csc compilation.
1733 drag_column.column_rect is MarshalByRef and can't be used that way
1735 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1737 * AxHost.cs: Added deserialization constructor for
1738 AxHost+State (fixes 77743)
1740 2006-03-09 Mike Kestner <mkestner@novell.com>
1743 - Added column drag reordering for details view.
1744 - fixed behavior when mouse is dragged off column and
1745 AllowColumnReorder is false.
1746 * ColumnHeader.cs: clone the format too in Clone.
1747 * Theme.cs: add DrawListViewHeaderDragDetails method.
1748 * ThemeWin32Classic.cs:
1749 - impl new method for drawing drag column shadows and targets.
1750 - support column offset for details mode in DrawListViewItem.
1752 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1754 * TextControl.cs: Reset the char_count when the document is cleared
1755 (Fixes bug reported on mono-winforms mailing list)
1757 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1759 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1760 of calling base we simply process the key ourselves, since both
1761 DefWindowProc and the handled method would set m.Result.
1764 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1766 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1767 method also moves the window; instead implemented a copy of
1768 Control.ScaleCore (Part of fix for #77456)
1770 - Created new CreateGraphicsInternal method to allow providing
1771 a graphics context when no handle is created without triggering
1772 handle creation. (Part of fix for #77456)
1773 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1775 - Switched Constructor to require TextBoxBase instead of Control (to
1776 allow uncast access to CreateGraphicsInternal)
1777 - Safeguarded use of owner.Handle property. No longer accessing it
1778 unless the handle is already created.
1779 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1780 - Now triggering a recalc when owning control becomes visible
1781 * TextBox.cs, RichTextBox.cs: Switched to use new internal
1782 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1783 premature handle creation (Part of fix for #77456)
1785 - We now only destroy our double-buffering buffers when the
1786 control is resized or disposed, but not when visibility
1787 changes. (The code even re-created them twice every time)
1788 - Now requiring a redraw of the buffer on visibility changes
1789 (fixes bug 77654 part 2)
1790 - Not passing OnParentVisibleChanged up unless the control
1792 - CanFocus: Fixed to match MS documentation
1793 - Focus: Fixed to return actual focus state and to check if
1794 setting focus is legal before setting it
1796 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
1798 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1799 when to draw focus rectangle by looking at parent focus and
1800 selected state instead. This fixes TabPages on Linux sometimes
1801 having none or multiple focus rectangles.
1802 * XplatUIX11.cs (SetFocus):
1803 - Don't set the focus if the same window already has focus
1804 - Use SendMessage instead of PostMessage (like it's Win32
1805 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1806 to match MS behaviour
1807 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1810 2006-03-07 Jackson Harper <jackson@ximian.com>
1812 * PictureBox.cs: Revert line I accidently committed last week.
1814 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1817 - Added new IsRecreating and ParentIsRecreating properties to
1818 allow testing if RecreateHandle has been called on ourselves
1819 or one of our parents
1820 - WndProc(WM_DESTROY): If our control handle is being recreated
1821 we immediately need to create the handle when receiving the
1822 destroy, that way our child windows find a valid parent handle
1823 when they themselves are being recreated upon WM_DESTROY receipt
1824 (fix for bug #77654 part 1)
1826 - DestroyWindow: WM_DESTROY must be sent to our own window before
1827 notifying any child windows. MS documents that child windows
1828 are still valid when WM_DESTROY is received. (Control now relies on
1830 - Added some fine-grain debug options
1832 2006-03-06 Jackson Harper <jackson@ximian.com>
1834 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1835 box and base calculations off this.
1836 * MdiChildContext.cs:
1837 * MdiWindowManager.cs: Don't need to ensure scrollbars here
1840 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
1842 * Splitter.cs: In situations where the affected control is added
1843 to the parent's control list after the splitter, we would not
1844 populate affected. Now we try populating it on mousedown, if
1845 it's not already set, and force it to be re-set whenever our
1848 2006-03-03 Matt Hargett <matt@use.net>
1850 * Control.cs: implement Control.Padding
1851 * Padding.cs: -Padding.All returns -1 when constructing with the
1852 implicit default ctor
1853 -Padding.ToString() matches MS.NET
1854 * ContainerControl.cs: implement
1855 ContainerControl.AutoScaleDimensions
1856 * ListControl.cs: implement ListControl.FormattingEnabled
1857 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1859 * TabPage.cs: Implement UseVisualStyleBackColor.
1860 * PictureBox.cs: Implement PictureBox.InitialImage.
1862 2006-03-03 Mike Kestner <mkestner@novell.com>
1864 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1865 event declarations to proxy to base event.
1866 * ListViewItem.cs: update to use ItemControl.
1867 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1868 * ThemeWin32Classic.cs: update to new ListView theme API and fix
1869 column header label rendering for 0 width columns.
1871 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
1873 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1874 that causes the control to be created. Fixes #77476.
1876 2006-03-02 Jackson Harper <jackson@ximian.com>
1878 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1881 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1883 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1884 passed in for the EventArgs (fixes #77690)
1886 2006-03-01 Jackson Harper <jackson@ximian.com>
1888 * ScrollBar.cs: Refresh afterbeing resized.
1890 2006-02-28 Mike Kestner <mkestner@novell.com>
1892 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1893 Clean up a tracker compile warning.
1894 * MenuItem.cs: add internal PerformPopup method.
1897 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1899 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1900 implicit expose) when the text is set to null
1902 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1904 * RichTextBox.cs (FlushText): When newline is true, we always
1905 need to split the line, even if no text is on it and we may
1906 never eat newlines. (Fixes #77669)
1908 2006-02-28 Mike Kestner <mkestner@novell.com>
1910 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
1911 and set Selected instead.
1912 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
1915 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1917 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1919 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
1922 - Got rid of the panel. All controls are now directly added to
1924 - It is now possible to set a font with the Font property
1925 - MinSize and MaxSize property do now what they should
1926 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1927 - Searching and selecting a font with the font textbox works now,
1928 the same applies to the style and size textbox
1929 - Draw the correct 3D border in the example panel
1930 - Fixed a little mem leak (unused fonts didn't get disposed)
1931 - Many other internal updates/rewrites...
1934 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1937 - InsertRTFFromStream: Added 'number of characters inserted' argument
1938 - set_SelectedRTF: Now using the number of characters to calculate
1939 the new location for the selection and cursor (x/y cannot be used
1940 due to potentially already wrapped text)
1942 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1944 * TextControl.cs: Added property and implemented means to allow
1945 disabling recalculation of a document (can be used to speed up
1946 multiple inserts and is needed to make RTF inserts predictable, see
1948 * RichTextBox.cs: Using the new NoRecalc property of Document to
1949 keep x/y insert locations predictable. Also makes it faster inserting
1952 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1954 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1955 it's easier for a child control to handle the other messages without
1956 having to duplicate the special functionality
1958 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1959 code to handle processing the key ourselves, in order to get
1960 access to the result of KeyEventArgs.Handled. We now only call
1961 ProcessKey if they key hasn't been handled already. Fixes #77526.
1962 - set_Text: If null or empty string is given, just clear the
1963 document. Fixes part of #77526
1965 2006-02-27 Jackson Harper <jackson@ximian.com>
1967 * SizeGrip.cs: Paint the background color before painting the grip
1968 so things look right.
1969 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1971 2006-02-27 Mike Kestner <mkestner@novell.com>
1974 - Restructure layout and invalidation model to remove a ton of
1975 flicker from the control and speed up performance in general.
1976 - Add manual column resize, flickers like crazy, but I already have
1977 some ideas on how I'll fix that. (#76822)
1978 - Merge the three Icon-based views into a single layout method.
1979 - Move item selection interaction logic from the item since
1980 interaction with the collections is more appropriate to the view.
1981 - Deselection on non-item clicks.
1983 - Encapsulate most of the layout. Add some internal props to trigger
1984 layout. Move to a model where Items invalidate themselves instead
1985 of just invalidating the whole control every time something changes.
1986 - Invalidate on Text/Caption changes.
1987 - switch to an offset based layout model to avoid having to absolute
1988 position every element on item moves.
1989 - correct checkbox layout to conform to MS layout.
1990 * ThemeWin32Classic.cs:
1991 - refactor some column header drawing code.
1992 - fix string justification for column headers (#76821)
1993 - make SmallIcon labels top justified for compat with MS impl.
1994 * ThemeClearlooks.cs:
1995 - adjust to new ListViewItem internal checkbox bounds api.
1997 2006-02-27 Jackson Harper <jackson@ximian.com>
1999 * Control.cs: Change where implicit controls fall in the zorder.
2000 They are now on top of all children.
2001 - Synced AddImplicit code with Add
2002 - Removed unused enumerator.
2003 * SizeGrip.cs: Remove the TODO as its been TODONE.
2005 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2007 * TextControl.cs(Insert): Combine the last lines unless the insertion
2008 string ends with \n\n, otherwise we leave one line too many (Fixes
2009 something I noticed with the testapp for #77526; the bug itself was
2010 already fixed in the previous checkin)
2012 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2015 - SelectionColor and SelectionFont methods no longer set absolute
2016 styles. Instead, the keep font or color respectively (This
2017 resolves a long-standing FIXME in the code)
2018 - When flushing RTF text, the insert code now considers text trailing
2019 behind the insertion point (Fixes the bug where when replacing
2020 the selected text via SelectedRTF the remainder of the line behind
2021 the selection would stay on the first insertion line)
2023 - AppendText now updates the selection points after inserting text
2024 - AppendText now ensures that the last tag (sometimes 0-length) of
2025 the document is used for the style information (Fixes part of
2028 - Created new FontDefiniton class to allow describing partial style
2030 - StreamLine() now takes a lines argument, to allow it to decide
2031 whether an encountered zero-length tag is the last in the document
2032 (which must be kept to not loose the font/color contained in it,
2034 - Created Combine() and Split() methods for Marker structs, to
2035 support marker updates due to reformatted documents (soft line
2037 - Implemented Document.CaretTag setter
2038 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2039 of the last line (Not the cause, but also exposed by bug #77220)
2040 - Added LineTag argument to InsertString method, to allow callers
2041 to force a certain tag to be used (required to force use of the
2042 trailing zero-length tag of a document)
2043 - Now updating markers in Combine(), to avoid stale tag markers
2044 - Added some method descriptions to aid maintenance
2045 - Implemented new FormatText concept, allowing additive/subtractive
2046 formatting by only specifying the components that are to be
2047 changed. This was needed for resolving the RTB.SelectedColor/
2048 RTB.SelectedFont fixmes
2049 - Added Break() support method to allow breaking up linetags (used
2050 for partial formatting)
2051 - Added GenerateTextFormat() method. It is used for partial
2052 formatting and allows to generate a full font/color from given
2053 attributes and an existing tag.
2055 2006-02-26 Jackson Harper <jackson@ximian.com>
2057 * XplatUIX11.cs: Use the correct caption height.
2058 - Translate hittest coordinates to screen coords to match MS.
2059 * XplatUIWin32.cs: When we create MDI windows we need to reset
2060 some of the style flags, so we get a nice blank window, and can
2061 draw all the decorations ourselves.
2062 - Set a clipping rectangle on the non client paint event, the
2063 window manager drawing code needs one.
2064 * Form.cs: The window manager needs to know when the window state
2066 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2067 don't need to factor in border and title sizes in these
2068 methods. TODO: Remove the args and fix the call points.
2069 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2071 - Let the driver set the cursors.
2072 - Improve active window handling
2073 - Correct sizes for title bars and buttons.
2074 - Match MS drawing better
2075 * MdiWindowManager.cs: We don't need to handle border style
2076 updates specially anymore.
2077 - Check for scrollbars when windows are done moving
2078 - Handle Active properly.
2079 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2080 correctly. I am spewing the exception though, so we don't hide the
2083 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2085 * DataGridViewRowPostPaintEventArgs.cs,
2086 DataGridViewCellPaintingEventArgs.cs,
2087 DataGridViewRowCollection.cs,
2088 DataGridViewRowPrePaintEventArgs.cs,
2089 DataGridViewCell.cs: Clear a few warnings and implement a few
2090 exceptions that should be thrown.
2092 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2094 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2095 'inheriting' our parent's (non-default) cursor. (Part of
2098 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2100 * XplatUIX11.cs: Fixed cast to make csc happy
2102 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2104 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2105 it's for the client area (part of fix for #77479 and needed
2106 for MDI window cursor handling)
2108 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2109 the appropriate default cursors and also passing the message
2111 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2112 for non-client areas
2114 2006-02-15 Jackson Harper <jackson@ximian.com>
2116 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2117 is a real MDI window
2119 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2121 * X11DesktopColors.cs: Instead of checking the desktop session
2122 string for "KDE" check if it starts with "KDE"
2124 2006-02-10 Jackson Harper <jackson@ximian.com>
2126 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2129 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2131 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2134 - Got rid of the panel. All controls are now directly added to
2136 - Changed to mono coding style
2138 2006-02-10 Jackson Harper <jackson@ximian.com>
2140 * InternalWindowManager.cs: We don't need the set visibility to
2141 false hack anymore now that peter has written beautiful shutdown
2144 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2146 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2147 where already explicitly destroyed
2149 2006-02-10 Jackson Harper <jackson@ximian.com>
2151 * MdiClient.cs: Handle the case where windows are too high or to
2152 the left and we need scrollbars.
2154 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2156 * MimeIcon.cs: Added some icons
2159 - Got rid of the panel. All controls are now directly added to
2161 - Changed to mono coding style
2162 - On Linux "My Computer" and "My Network" will now show some
2163 more usefull information. A new class, MasterMount, gathers
2164 this information from /proc/mount. Updated MWFFileView to make
2165 use of this information
2166 - Fixed a bug that caused FileDialog to crash when
2167 ".recently_used" file had a zero size
2168 - FilterIndex does now what it should
2170 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2173 2006-02-09 Jackson Harper <jackson@ximian.com>
2175 * ComboBox.cs: Don't touch if null.
2177 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2179 * Cursor.cs: 64bit safeness fix
2180 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2182 2006-02-09 Jackson Harper <jackson@ximian.com>
2184 * Form.cs: If a form is made into an MDI form update the styles so
2185 all the props can get set correctly.
2186 - Kill the mdi_container when we dont need it anymore.
2187 * InternalWindowManager.cs: Add missing NOT
2189 2006-02-08 Jackson Harper <jackson@ximian.com>
2191 * InternalWindowManager.cs: Respek clipping when drawing MDi
2194 2006-02-08 Jackson Harper <jackson@ximian.com>
2196 * Hwnd.cs: Add bits to track non client expose events.
2197 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2198 gives us a proper invalid rect and will allow for some nice
2199 optimizations with NC client drawing
2200 - MDI windows are children windows, so move their style handling
2201 into the child window block.
2202 * InternalWindowManager.cs: Remove a state reset that was
2203 getting invoked at the wrong time. Fixes managed windows getting
2204 into a 'stuck' captured state.
2206 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2208 * TextControl.cs (Document.ctor): Now initializing
2209 selection_anchor. Fixes #77493
2211 2006-02-07 Jackson Harper <jackson@ximian.com>
2213 * TrackBar.cs: The increment/decrements were backwards.
2215 2006-02-07 Mike Kestner <mkestner@novell.com>
2217 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2218 to the instance itself.
2220 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2222 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2223 on ulongs and pointers, the size differs between 32bit and 64bit
2226 2006-02-07 Mike Kestner <mkestner@novell.com>
2228 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2229 for 64 bit platforms to work around a metacity bug.
2231 2006-02-07 Jackson Harper <jackson@ximian.com>
2233 * TrackBar.cs: Process the input keys we need, and hookup to
2234 KeyDown instead of using WndProc, so we get key messages.
2236 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2238 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2240 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2241 we need to translate the XdndVersion atoms array before sending it
2243 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2246 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2247 number of bits for the property, not the number of bytes. The
2248 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2249 but would not crash since it specified 8 bits instead of 4 bits)
2250 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2251 defined as XID -> long in the C headers)
2252 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2253 references since those are now IntPtr to begin with
2254 - Switched all Atom.XXX 'int' casts to IntPtr casts
2255 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2256 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2257 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2259 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2260 - Changed atom in HoverStruct to be IntPtr
2262 - Removed local DllImports, switched code to use those from XplatUIX11
2263 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2265 2006-02-06 Mike Kestner <mkestner@novell.com>
2267 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2268 method signatures in the import region. There may still be some
2269 lingering struct marshaling issues, as I didn't drill down into those.
2272 2006-02-06 Jackson Harper <jackson@ximian.com>
2274 * ComboBox.cs: Dont manually set the top_item, this is computed
2275 when the scrollbar position is set.
2277 2006-02-06 Mike Kestner <mkestner@novell.com>
2279 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2280 startup crashes on amd64. There's other fixes needed. All pinvoke
2281 usage of Atom needs to be mapped to IntPtr for example. And there are
2282 likely other int/long issues to be addressed.
2284 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2286 * FileDialog.cs: One more...
2288 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2290 * FileDialog.cs: Next try
2292 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2294 * FileDialog.cs: First part of fix for #77464
2296 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2298 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2299 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2300 AcceptButton border drawing.
2302 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2304 * Form.cs: Moved positioning of form after auto scaling is applied,
2305 otherwise it would possibly use wrong form size.
2307 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2309 * Control.cs (RecreateHandle): No need to re-create any child
2310 controls, the child windows will get destroyed automatically by
2311 the windowing system or driver, and re-created when the handle
2312 is being accessed the first time. Fixes #77456
2313 * Form.cs: No longer setting the form to closing if the handle is
2314 being recreated. This seems like the right thing to do, don't
2315 have a bug or testcase for this, though.
2317 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2319 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2320 controls to avoid unwanted side effects
2322 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2325 - ScaleCore needs to scale the bounds, not the ClientSize of the
2326 control. Fixes #77416.
2327 - DefaultSize is 0,0 for control
2329 - DefaultSize is 100, 20
2330 - SetBoundsCore: Now enforcing the height, no matter if the provided
2331 height is more or less than the preferred one, as long as AutoSize
2333 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2335 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2338 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2339 call unless both performLayout is true *and* we have a pending
2341 - ResumeLayout: MS does not completely nest Suspend and Resume,
2342 they bottom out at 0, fixed our code to match that.
2343 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2344 SetBoundsCore, we were updating even when we shouldn't. This fixes
2345 swf-anchors mis-anchoring when resizing the app fast and lots.
2346 - UpdateDistances: Now only setting the left and top distance if
2347 we have a parent and are not suspended, this is based on
2348 a suggestion by Don Edvaldson in bug #77355.
2349 - OnVisibleChanged: Fixed logic when to create the control. We may
2350 not create the control if we have no parent or if it's not visible;
2351 switched to using Visible property instead of is_visible field
2352 since the property also considers parent states. This fixes a bug
2353 when starting Paint.Net
2355 2006-02-02 Jackson Harper <jackson@ximian.com>
2357 * Form.cs: If the forms handle hasn't been created yet don't call
2358 into xplatui to make it top most, just set the topmost flag on the
2359 form in CreateParams
2360 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2362 2006-02-01 Jackson Harper <jackson@ximian.com>
2364 * ScrollableControl.cs: Refactored the Recalculate method a
2365 little, this wasn't handling all the variants of bottom and right
2366 bars needed to be added and added/removed based on their
2367 counterparts being added/removed (which changes the drawable
2368 size). Also we special case client widths and heights of 0 and
2369 don't add the scrollbar for those.
2371 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2374 - Added method to get AbsoluteGeometry(); currently unused, but might
2375 be used in the future, if we try again to figure out toplevel
2376 coordinates with some more crappy window managers
2377 - Added FrameExtents() method to retrieve the WM set decoration size
2378 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2379 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2381 - Added whacky_wm tracking var for metacity
2382 - Added logic to have default menu height if the actual menu height
2383 has not yet been calculated (part of fix for #77426)
2384 * Form.cs: Keep track whether client size has been set and re-set
2385 it if a menu is added/removed afterwards (Fixes #77426)
2387 2006-01-31 Jackson Harper <jackson@ximian.com>
2389 * Control.cs: When a new Site is set on the component attempt to
2390 pull the AmbientProperties from it.
2392 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2394 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2395 in the background of the owning form. Fixes #77332
2397 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2399 * MimeIcon.cs: Fix for #77409
2401 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2403 * XplatUIX11GTK.cs: Initial import
2405 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2407 * FixedSizeTextBox: fixes class signature
2409 2006-01-30 Jackson Harper <jackson@ximian.com>
2411 * FixedSizeTextBox.cs: New internal class that represents a
2412 textBox that will not be scaled.
2415 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2418 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2420 * XplatUIX11.cs: Retrieve default screen number instead of
2421 assuming 0. Attempted fix for #77318
2423 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2426 - GetWindowPos: When a window is parented by FosterParent, use
2427 the desktop instead of FosterParent as the base to get coordinates
2428 - CreateWindow: Don't make FosterParent the parent window for Popups
2429 if we don't want a taskbar entry, Popups automatically don't get one
2430 * Hwnd.cs: Need to call remove to actually remove the key from the
2433 2006-01-30 Mike Kestner <mkestner@novell.com>
2435 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2437 2006-01-30 Jackson Harper <jackson@ximian.com>
2440 * TreeNode.cs: Raise events no matter how the treenode is
2441 checked. Patch by Don Edvalson.
2443 2006-01-30 Jackson Harper <jackson@ximian.com>
2445 * TreeNode.cs: Signature fix.
2447 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2449 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2451 2006-01-20 Mike Kestner <mkestner@novell.com>
2453 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2454 event forwarding when menus are active.
2455 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2456 Most of the patch is pdb's with a little rework.
2458 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2460 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2461 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2462 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2463 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2464 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2465 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2466 the PaintWindowDecorations method
2467 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2468 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2469 * MenuAPI.cs: Made tracker window invisible
2471 - Removed GetMenuDC and ReleaseMenuDC methods
2472 - Implemented the client=false path for PaintEventStart and
2475 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2477 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2478 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2481 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2483 - CreateParams: Reworked the styles to match MS look'n'feel,
2484 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2485 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2487 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2489 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2490 window is not mapped, since otherwise every form that's being
2491 created is considered minimized, which is wrong.
2492 * Form.cs: Catching the exception and returning our internal value
2495 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2497 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2498 SetWindowMinMax() to have means to tell the driver about the minimum,
2499 maximum and maximized state window sizes. (Part of the fix for #76485)
2501 - Implemented tracking of minimum and maximum window size, now calling
2502 new SetWindowMinMax() driver method to tell the driver (Part of the
2504 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2505 (Completes fix for #76485)
2506 - Calling new SetWindowMinMax driver method when the handle for a
2507 form is created, to make sure the driver knows about it even if
2508 the values have been set before the window was created
2509 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2510 to avoid messing up our anchoring calculations (partial fix
2512 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2514 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2515 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2516 (and presumably other freedesktop.org compliant WMs). Left the
2517 assumption unmapped=minimized, needed for SetVisible to work.
2518 - Now setting the window state when creating windows
2519 - Fixed SetVisible to consider/set the window state when mapping
2520 a Form. We cannot set the state before it's mapped, and we cannot
2521 use Form.WindowState once it's mapped (since it would ask the
2522 driver and get 'normal'. Therefore, we grab the state before
2523 mapping, map, and then set state.
2524 - Implmemented SetWindowMinMax method; Metacity does not seem to
2525 honor the ZoomHints, though.
2527 - Removed MINMAXINFO (moved to XplatUIStructs)
2528 - Added SetWindowMinMax stub (on Win32 the only way to set that
2529 information is in response to the WM_GETMINMAXINFO message, which
2530 is handled in Form.cs)
2531 - Added logic to SetVisible to set the proper window state when a
2532 form is made visible (fixes #75720)
2534 2006-01-26 Jackson Harper <jackson@ximian.com>
2536 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2537 same way we handle them with Invoke.
2539 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2542 - Added tracking of window state so CreateParams can return
2543 the appropriate style
2544 - Moved setting of WS_CAPTION style in CreateParams to allow
2545 styles without caption
2546 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
2547 control if the TextBox property is accessed. Fixes #77345
2549 - get_Created: now uses is_disposed and is_created to determine
2550 return value (suggested by Jackson)
2551 - CreateHandle: No longer exits if the handle is being recreated
2552 - RecreateHandle: If the handle is not yet created call the
2553 appropriate method to create either control or handle. If the
2554 control is already created CreateHandle will simply exit instead
2555 of just creating the handle
2556 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2557 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2560 - When DestroyWindow is called, instead of waiting for the
2561 DestroyNotification from X11, we directly post it to the WndProc
2562 and immediately dispose the hwnd object.
2563 Same applies to DestroyChildWindows, and this obsoletes the
2564 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2565 child windows before our own, to avoid X11 errors.
2566 - Removed the direct sending of WM_PAINT on UpdateWindow
2568 - Reworked DoEvents and GetMessage to allow access to internal queue
2569 even when trying non-blocking access to the queue. Fixes #77335.
2570 Based on a patch suggestion by Don Edvalson. The new private
2571 GetMessage can now also be used as a backend for a PeekMessage
2573 * XplatUI.cs: Improved debug output for CreateWindow
2575 2006-01-25 Jackson Harper <jackson@ximian.com>
2577 * Help.cs: Allow param to be null. Patch by Don Edvalson.
2579 2006-01-24 Jackson Harper <jackson@ximian.com>
2581 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2582 when we have a MaxDropItems lower then the selected index.
2584 2006-01-24 Jackson Harper <jackson@ximian.com>
2586 * Control.cs: Don't allow selection of non visible controls, allow
2587 selection of controls without parents.
2589 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2591 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2592 * DataGridDrawingLogic.cs: Add editing row only when is necessary
2594 2006-01-23 Jackson Harper <jackson@ximian.com>
2596 * UpDownBase.cs: Make the textbox handle all the selection and
2597 tabbing. This fixes tabing to updown controls.
2599 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2601 * TextBoxBase.cs: fixes exception thown the object was null
2603 2006-01-23 Jackson Harper <jackson@ximian.com>
2605 * ButtonBase.cs: Just use the base CreateParams. They set
2606 visibility and enabled correctly.
2609 * MonthCalendar.cs: Lets let the base set as much of the
2610 createparams as possible so we don't have duplicate code all over
2613 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
2615 * ThemeGtk.cs: Added TrackBar and some experimental code to
2616 get double buffering back
2618 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2620 * DataGrid.cs: Allows row number set internally higher than the last
2621 when creating a new row. Restores the editing functionality.
2623 2006-01-20 Mike Kestner <mkestner@novell.com>
2625 * MimeIcon.cs: delay Image creation until the icons are accessed
2626 instead of creating 190 scaled images on GnomeHandler startup.
2628 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2630 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2631 first call base before processing the event. Fixes #77279
2633 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2635 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2636 that the stride for the GDI bitmap would match the stride of
2639 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2641 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2643 2006-01-19 Jackson Harper <jackson@ximian.com>
2645 * ComboBox.cs: Hookup the text controls keydown event so we get
2646 those when the text control has the focus.
2648 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2650 * Label.cs: Now using the base events instead of defining new ones;
2651 this allows us to just call the base properties without having to
2652 duplicate all base property logic
2654 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2656 * Label.cs: A label by default is not a tabstop (Fixes one of our
2657 failing nunit tests)
2659 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2661 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2662 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2664 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2666 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2667 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2670 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2671 constructor creates images that can't be saved. Part of the fix
2673 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2674 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2675 bug fix for handling window state in forms properly)
2677 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2679 * ThemeGtk.cs: Simplify ScrollBar drawing
2681 2006-01-18 Jackson Harper <jackson@ximian.com>
2683 * Splitter.cs: Set the default dock style for the splitter control
2686 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2688 * ThemeGtk.cs: Corrected StateType and ShadowType for
2691 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2693 * Control.cs: Make use of Theme.DoubleBufferingSupported
2695 - Added drawing for flat style buttons
2696 - Added ScrollBar drawing
2698 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2700 * ThemeClearlooks.cs: Removed some unneeded code.
2701 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2703 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2705 * LinkLabel.cs: We need to update the hover drawing when
2706 leaving the control as well.
2708 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2710 * DataGrid.cs: Clicking on non empty areas in the columns
2711 area was giving an exception
2713 2006-01-17 Jackson Harper <jackson@ximian.com>
2715 * ThemeWin32Classic.cs:
2716 * ListView.cs: Do not draw/clip the headers when the header style
2719 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2721 * DataGrid.cs: Fixes 77260
2723 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2725 * DataGrid.cs: Clicking on a column on a empty grid was giving
2728 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2730 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2731 or any keypress will crash the grid.
2733 2006-01-17 Mike Kestner <mkestner@novell.com>
2735 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2736 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
2737 invisible/previously-visible items.
2740 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
2742 * ThemeClearlooks.cs:
2743 - Added CL_Draw_Button method; now other theme controls that are
2744 not derived from button or do not have a button can draw buttons
2746 - Updated ComboBox drawing
2747 - Beautified RadioButton drawing
2748 - Corrected drawing of bottom and left tabs
2749 - Beautified DateTimePicker and MonthCalendar
2750 - Added CPDrawButton and CPDrawRadioButton
2752 2006-01-16 Jackson Harper <jackson@ximian.com>
2754 * ComboBox.cs: Set the initial value of the scrollbar to the
2755 current index. Reduce the numbers of refreshs and IndexOfs called.
2757 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
2759 * FileDialog.cs: When the file listview is focused hitting the
2760 backspace key moves the fileview to the parent directory
2762 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2765 - Added RecreateHandle call when changing taskbar visibility to
2766 trigger reparenting in Win32 driver (Fixes #75719)
2767 - If a window has minimize or maximize buttons, it cannot have
2770 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2771 the toplevel form with FosterParent (A toolwindow not on the
2772 taskbar) (Fixes #75719)
2773 - Made FosterParent a toolwindow
2775 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2777 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2779 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2781 * ToolTip.cs: If SetToolTip is called from a control and the mouse
2782 is currently over that control, make sure that tooltip_window.Text
2785 2006-01-13 Mike Kestner <mkestner@novell.com>
2787 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2789 2006-01-13 Jackson Harper <jackson@ximian.com>
2791 * TreeView.cs: On MS GetNodeAt never actually factors in the X
2792 value passed. Also redraw the selected node when we recieve
2793 focus, so tabbing between trees works correctly.
2795 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2797 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2798 ~/.gconf/%gconf-tree.xml, so use
2799 .gconf/desktop/gnome/interface/%gconf.xml
2801 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2803 * TextControl.cs: Draw text in gray if control is disabled
2805 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2807 * TreeView.cs: Draw the focus rectangle outside the highlight, to
2808 make sure it's always visible. Fixes #76680.
2810 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2812 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2814 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
2816 * PageSetupDialog.cs: Added.
2817 * PrintDialog.cs: Attributes.
2818 * PrintPreviewControl.cs: Updates.
2819 * PrintPreviewDialog.cs: Updates.
2821 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2823 * Control.cs: Undid my selection check fix, since it's not needed
2825 - Now considering the presence of hscroll/vscroll when sizing
2826 vscroll/hscroll respectively. Fixed bug #77077
2827 - Added Left/Up/Down/Right to IsInputKey list to prevent
2828 ContainerControl from stealing them. This fixes what I broke
2829 with my last checkin.
2831 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2833 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2834 I finally understand how the property can be set without a setter :-)
2836 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2839 - Switched RunLoop to use static Message.Create to create a
2841 - Added PreProcessMessage call in runloop for keyboard events; this
2842 is part of the fix for #77219, I overlooked this originally in the
2843 MSDN doc for PreProcessMessage
2845 - Removed call to PreProcessMessage from handling of keyboard
2846 messages; it's supposed to be done in the message pump
2847 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2848 per MSDN documentation.
2849 - IsInputChar: All chars are input chars by default; removed the
2850 parent calling chain, MS does not document that
2851 - PreProcessMessage: If IsInputChar is true, we want to return false
2852 to allow dispatching of the message
2853 - When selecting the next control, now also check that we're not
2854 selecting ourselves again and therefore return a false positive.
2856 - Tried to match return values for IsInputKey and ProcessDialogKey
2857 to what MS returns; moved processing of our special keys outside
2858 ProcessDialogKey since MS does not seem to return true on those.
2859 - Moved code that previously was in ProcessDialogKey into new private
2860 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2861 - Reworked handling of WM_CHAR to not have to duplicate code from
2862 Control.cs anymore, instead we simply call down to base.
2864 2006-01-12 Jackson Harper <jackson@ximian.com>
2866 * ComboBox.cs: We always need to refresh the text area when
2867 EndUpdate is called. Fixes the combobox in the file dialog.
2868 * Control.cs: Don't create the creator_thread until the controls
2869 handle is created. Also in InvokeRequired we check if the
2870 creator_thread is null. This gives the effect of InvokeRequired
2871 returning true if the controls handle is not created yet, and
2874 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2877 - Added StartLoop() driver method. This is used to allow drivers to
2878 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2879 loop for a particular thread
2880 - Added EndLoop() driver method. This is called once the message
2881 pump for the thread is shut down
2882 - Added SupportsTransparency method to allow the driver to indicate
2883 opacity support for windows
2885 - Removed TODO attribute, completed AllowTransparency property
2886 - Added documented logic to Opacity
2887 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2888 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2889 versions of CompatibleTextRendering
2890 * X11Structs.cs: Added opacity atom to our atom enumeration
2891 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2892 of a form might be set before it's reparented by the WM, and we need
2893 the opacity value without calling up to Form)
2894 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
2895 SupportsTransparency() driver methods
2896 * Application.cs: Now calling StartLoop and EndLoop driver methods
2898 - Added opacity atom registration
2899 - Added StartLoop()/EndLoop() methods. They're empty right now but
2900 will need to get implemented when we switch to a per-thread queue
2901 - Implemented SupportsTransparency() method
2902 - Implemented SetWindowTransparency() method
2903 - Added support for setting the opacity value when a window is
2904 reparented (since the opacity needs to be set on the WM frame)
2905 * XplatUIOSX.cs, XplatUIWin32.cs:
2906 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2908 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2910 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2912 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2914 * FileDialog.cs: Added ToolTip for MWFFileView
2915 * MimeIcon.cs: Rewrote GnomeHandler.
2916 - Get currently used gnome icon theme from
2917 ($HOME)/.gconf/%gconf-tree.xml
2918 - Make use of inherited icon themes
2919 - Support SVG icon themes like Tango via librsvg
2921 2006-01-12 Miguel de Icaza <miguel@novell.com>
2923 Revert's Jackson's revert which broke 2.0 builds. Fix both
2926 * Application.cs: Move the use_compatible_text_rendering outside
2927 the NET_2_0 define. If we ever need to use the
2928 use_compatible_text_rendering on the individual controls they will
2929 access the variable from the common shared code paths.
2931 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2934 - Added more granular debug options
2935 - Added method to print both window text and id
2936 - Switched debug output to use new Window() debug method
2937 - Added IsEnabled() driver method
2938 - Added EnableWindow() driver method
2940 - Removed end_modal; no longer needed, new loop handles termination
2941 via 'closing' variable
2942 - If form is modal, setting DialogResult will now initiate loop
2943 termination via 'closing' variable
2944 - Added support for is_enabled/WS_DISABLED to CreateParams
2945 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2947 - Removed code that's now in RunLoop from ShowDialog()
2948 - Added various documented sanity checks to ShowDialog()
2949 - Added handling of WM_DESTROY message; we set 'closing' on getting
2950 the message to indicate the message pump to terminate
2951 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2952 send by the Application.ExitThread method. (We send the message
2953 to destroy the window after all other events have been
2954 processed through the queue, instead of destroying the handle
2956 - Moved code from Close() method to WM_CLOSE handler; added logic
2957 to only send close-related events if the form is not displayed
2959 * Splitter.cs (..ctor): Fixed typo in resource name
2961 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2963 - set_Cursor: Now only setting calling into XplatUI if the handle for
2964 the control is already created; this avoids implict handle creation
2965 or crashes if it's not created
2966 - set_Enabled: Now setting the enabled state via the new driver method
2967 instead of just tracking it
2968 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2969 - CreateControl: Reordered event firing and method calls to more
2970 closely fire events in the order MS does. Now setting the
2971 enabled state in the driver when creating the control.
2972 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2974 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2975 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2976 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2978 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2979 - Added EnabledHwnd property to easily allow a driver to find the
2980 handle of the first enabled window in the parent chain (this is
2981 used by drivers to pass up input events of disabled windows)
2982 * XplatUIDriver.cs: Added IsEnabled() method
2984 - Removed crude and obsolete exiting tracking variable
2985 - Removed internal ModalRun(); replaced by RunLoop()
2986 - Implemented private CloseForms() method to allow closing all
2987 windows owned by a particular (or all) threads
2988 - Exit() now properly closes all windows without forcing the message
2990 - Removed obsolete InternalExit() method
2991 - Changed Run() methods to use new RunLoop() message pump
2992 - Implemented new RunLoop() method for both modal and non-modal forms
2994 - get_CreateParams: Added setting of WS_DISABLED
2995 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2996 invoked via Form.ShowDialog()
2997 * NativeWindow.cs: We don't remove the window from the collection when
2998 the handle is destroyed; there might still be messages for it in the
2999 queue (mainly the resulting WM_DESTROY); instead it will be removed
3000 when Control calls InvalidateHandle in the WM_DESTROY handler
3002 - CreateWindow: Added logic to handle the WS_DISABLED window style
3003 - EnableWindow: Implemented based on Hwnd.Enabled
3004 - GetMessage: Reset PostQuitState so the method can be called again
3005 - Implemented support for disabled windows (passing messages to the
3006 first enabled parent) in handling all input messages
3007 - Added optimizations for handling Expose events
3008 - Implemeted new driver method IsEnabled()
3009 - Now always resetting paint pending tracking vars when we start paint
3010 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3011 * XplatUIOSX.cs: Added IsEnabled method stub
3012 * XplatUIWin32.cs: Implemented new IsEnabled() method
3014 2006-01-11 Jackson Harper <jackson@ximian.com>
3016 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3017 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3019 * ColorDialog.cs: Clear out the old form before adding the new
3022 2006-01-11 Jackson Harper <jackson@ximian.com>
3024 * X11Dnd.cs: Make sure to add all the text formats when adding
3025 strings to the data object.
3026 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3027 do some redrawing too. Also change the UpdateNode to an
3028 UpdateBelow so the newly added node gets painted.
3030 2006-01-11 Miguel de Icaza <miguel@novell.com>
3032 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3033 LinkLabel.cs, PropertyGrid.cs: Implement the
3034 UseCompatibleTextRendering property for 2.x
3036 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3038 2006-01-11 Jackson Harper <jackson@ximian.com>
3040 * TreeView.cs: Use the property for setting the selected node so
3041 the correct events get raised.
3042 * TreeNode.cs: Update the tree when the fore/back colours of a
3045 2006-01-10 Jackson Harper <jackson@ximian.com>
3047 * TreeView.cs: Allow setting SelectedNode to null.
3049 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3051 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3053 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3055 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3057 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3059 * PrintDialog.cs: Added attributes and set default property values.
3061 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3063 * PrintControllerWithStatusDialog.cs:
3064 Added PrintControllerWithStatusDialog.
3066 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3068 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3069 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3071 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3073 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3075 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3077 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3078 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3080 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3082 * MimeIcon.cs: Added internal class SVGUtil.
3084 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3086 * FileDialog.cs: Don't crash if there are two files with the
3087 same name but different locations.
3089 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3091 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3092 dates across multiple month grids. Used to not highlight entire
3093 month, but does now.
3095 2006-01-06 Jackson Harper <jackson@ximian.com>
3097 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3098 message loop. Change timer intervals to numbers that seem more
3101 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3103 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3104 object for location info since screen object is now implemented.
3106 2006-01-05 Jackson Harper <jackson@ximian.com>
3108 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3109 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3110 AsyncMethodResult, this is because we ALWAYS want the
3111 ManualResetEvent to get set.
3112 * Control.cs: When disposing use an async invoke to call shutdown
3113 code, so that thigns don't block on the finalizer thread. Also
3114 check if we even have a message loop before trying to send
3115 messages, if we don't then don't bother sending messages.
3116 - No more weak references for async methods
3117 * XplatUIDriver.cs: No more weak references for async methods.
3119 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3121 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3122 returns two FontFamily with the same name
3124 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3126 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3127 drawing disabled text. Instead using the ColorGrayText color
3129 2006-01-04 Jackson Harper <jackson@ximian.com>
3131 * TreeNode.cs: redraw the node when its image index is changed.
3133 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3135 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3136 time I checked there are no others like it.
3138 2006-01-04 Jackson Harper <jackson@ximian.com>
3140 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3141 this gives the behavoir I was looking for.
3142 * Control.cs: Special case Invoking EventHandlers, this matches MS
3143 and fixes part of bug #76326.
3145 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3147 * ThemeClearlooks.cs, FileDialog.cs:
3148 - Reflect the latest Theme class changes
3149 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3152 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3154 * Theme.cs: Cache UI resource images and resize them if needed
3156 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3158 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3159 is called. This fixes the crash in Nexxia when setting the font
3160 attributes in the chat. [However, RTF needs a look-over to make sure
3161 that all SelectionXXX methods handle the special case that selection
3162 is empty and therefore the change must be applied to all text starting
3163 at the cursor/selection start]
3165 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3167 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3168 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3169 * X11Keyboard.cs: Switched to new way of calling PostMessage
3171 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3173 * Theme.cs: Added theme interface for images to allow the theme to
3174 control what images are used for things like FileDialog, MessageBox
3176 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3178 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3181 - Removed some dead code
3182 - Opening a recently used file does work now
3183 - Small UI enhancements
3186 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3188 * FileDialog.cs: Forgot too add __MonoCS__
3190 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3192 * FileDialog.cs: We are able to read recently used files now let's
3193 go on and write them.
3195 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3197 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3199 * MimeIcon.cs: Do a check for the top level media type also
3201 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3203 * ThemeClearlooks.cs:
3204 - Added CPDrawStringDisabled
3205 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3206 some chars if the text doesn't fit into text_rect
3207 - DrawListViewItem: If View = View.LargeIcon center the image;
3208 rewrote the drawing of ListViewItem.Text if View =
3211 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3213 * MimeIcon.cs: Use default KDE icon theme if there is no
3214 "48x48" directory for the current icon theme, fixes #77114
3215 * Mime.cs: Disable not working and actually not used code.
3216 * ThemeWin32Classic.cs:
3217 - Replace "new SolidBrush" in GetControlBackBrush and
3218 GetControlForeBrush with ResPool.GetSolidBrush
3219 - Changed DrawListViewItem from private to protected virtual
3221 - Added form.MaximizeBox = true
3222 - Don't throw an exception if there is a broken symbolic link
3224 2005-12-23 Jackson Harper <jackson@ximian.com>
3226 * TabControl.cs: Give the panels focus, keyboard navigation is
3227 fixed so this works correctly now.
3228 - We need these key events also.
3229 * ToolBar.cs: Remove some of the poor mans double buffering.
3231 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3233 * ComboBox.cs: The internal TextBox now returns the focus.
3235 2005-12-23 Jackson Harper <jackson@ximian.com>
3237 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3239 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3241 * Control.cs: Removed debug code
3242 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3245 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3247 * Control.cs: When creating the control, update the Z-order after
3248 all it's children are created, too. (Fixes nexxia not showing
3251 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3253 * Control.cs: Do not update the anchoring distances if layout is
3254 suspended, instead do it once layout is resumed
3256 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3259 - After many hours of debugging, for both Jackson and
3260 myself, it turns out that it helps to set the parent of a control
3261 if you want to actually see it onscreen. In the spirit of that
3262 discovery, we're now setting the parent of the control and
3263 it's children when the control's handle is created. This fix
3264 will make Lutz Roeder's Reflector run happily.
3265 - now just creating the handle instead of the whole control when
3266 getting a graphics context for the control.
3268 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3270 * ScrollableControl.cs: When calculating the canvas, don't consider
3271 the scrollbar widths. Instead, predict if horizontal scrollbar
3272 will affect canvas when deciding on vertical display and vice versa.
3274 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3276 * RichTextBox.cs: Set default RTF font for documents that don't
3277 have a font table (Fixes #77076)
3279 2005-12-22 Jackson Harper <jackson@ximian.com>
3281 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3282 clipboard. This prevents a NullRef in that case.
3283 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3284 clipboard. PRIMARY is for the currently selected text only. (We
3285 should implement PRIMARY at some point.
3287 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3289 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3290 a Unicode function with a structure that was defined in Ansi way.
3293 2005-12-21 Jackson Harper <jackson@ximian.com>
3295 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3296 on. Because thats how it rolls. (and this avoids it using ambient
3298 * ThemeWin32Classic.cs: Use the proper back color for filling.
3299 * Menu.cs: Use the system menu bar color for drawing menu
3300 bars. Using the window back color will bring ambient colours into
3303 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3305 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3306 Bitmaps were created and not disposed.
3308 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3310 * Control.cs (CreateControl): Don't do anything if the control is
3311 already created, otherwise we'd fire the OnCreated event more than
3314 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3316 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3317 will always match. Instead return -1. Fixes #76464.
3319 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3321 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3322 neither the beginning nor the end of the line (Fixes bug #76479)
3324 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3327 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3328 where handle is invalid
3329 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3330 instead of slower linear search
3331 * NativeWindow.cs: Don't remove the window from the hashtable until
3332 after the driver has destroyed it (since the driver might use
3333 Control.FromHandle to lookup the control object
3334 * Hwnd.cs: Added DestroyPending property to track if a window is
3335 already destroyed as far as the driver is concerned and only hasn't
3336 yet notified the control
3338 - Activate(): Check if the window is still valid before using the
3340 - Implemented DestroyChildWindow() method to mark child windows as
3341 destroyed when a window is destroyed. This prevents situations
3342 where we might call an X method based on queued events for a
3343 window that already has been destroyed but we haven't yet pulled
3344 the destroy method from the queue.
3345 - Added a call to the new DestroyChildWindow() method to the drivers
3346 DestroyWindow code. Also now marking the destroyed window itself
3349 2005-12-20 Jackson Harper <jackson@ximian.com>
3352 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3353 anymore. Just do them when needed, also track the rects of panels
3354 so that we can optimize refreshing more in the future.
3356 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3358 * ColorDialog.cs: Fixed focus drawing in small color controls
3360 2005-12-19 Jackson Harper <jackson@ximian.com>
3362 * InternalWindowManager.cs:
3363 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3364 moving windows works properly.
3366 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3369 - Removed call to InitLayout() from SetBoundsCore(); doc says
3370 it's only called when a control is added to a container
3371 - Split InitLayout logic, moved to separate UpdateDistances() method
3372 since we need to perform those calculations more often than just
3373 when adding the control to a container. (Needed to fix #77022)
3374 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3375 - Reduced the OnBindingContextChanged events count, don't send them
3376 unless the control is created, we still aren't totally matching
3377 MS, but I can't quite figure out some of their rules
3379 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3381 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3384 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3386 * ThemeClearlooks.cs:
3387 - Updated ProgressBar drawing
3388 - Corrected drawing of ScrollBars and scroll buttons
3389 - Some temporary fixes for minor pixel artefacts
3391 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3394 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3395 cause events to be sent in the same order as MS does.
3396 - Added ChangeParent() method to trigger various OnXXXChanged events
3397 that need to be fired when a parent changes (This is a reworking
3398 of the patch from r54254, with the X11 errors fixed)
3399 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3400 since on MS we get OnLayoutChanged events when calling Clear()
3401 - Changed Enabled property to consider parent state as well, if a
3402 parent is not enabled, the control will not be either
3403 - Changed Parent property to simply call Controls.Add() since that
3404 now does all the work required, this way we avoid code duplication
3405 - Threw in a few OnBindingsContextChanged calls to try and match
3406 when MS sends them. We seem to send a few too many, though.
3407 - Added call to CreateControl when adding the control to a parent.
3408 We were never calling CreateControl. Still needs some work, in
3409 some places we treat HandleCreated and ControlCreated as equal,
3411 - Removed obsolete commented out code from UpdateZOrder()
3413 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3415 * ThemeClearlooks.cs: Updated TrackBar drawing.
3417 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3419 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3421 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3423 * FileDialog.cs: Add the Help button and the open readonly
3424 checkbox only if needed
3426 2005-12-16 Jackson Harper <jackson@ximian.com>
3428 * Control.cs: Make sure we have an active menu before trying to
3429 process commands on it. Prevents menu-less forms from crashing
3430 when Alt is pressed.
3431 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3433 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3436 2005-12-16 Jackson Harper <jackson@ximian.com>
3438 * InternalWindowManager.cs: Don't translate tool windows screen
3439 coordinates. This fixes windows 'bouncing' around when being moved.
3441 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3444 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3445 not quite MS compatible, MS uses that number only for single line
3446 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3448 - Now enforcing the MaxLength limit when entering characters
3449 - Added argument to internal Paste() method to track if it's called
3450 from programatically or via keyboard, since keyboard driven pastes
3451 need to enforce max-length
3452 - Added logic to Paste to only paste as many chars as MaxLength
3454 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3456 - Added Length property to return number of characters in document
3457 - Added private CharCount property which only tracks actual chars
3458 in the document (no linefeeds) and fires event when CharCount
3460 - Added tracking of character count to all methods that alter it
3461 - Added LengthChanged event to allow applications to subscribe
3462 to any changes to the document
3464 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3467 - Removed local password_char field (moved to TextBoxBase)
3468 - Now setting the document's password var when password is
3471 - Added password_char field (needed here so MultiLine can
3473 - Added logic to MultiLine property setter to set the document's
3474 variable when password display is allowed
3475 - Removed debug code and made some debug code conditional
3477 - Added RecalculatePasswordLine() method to handle special password
3479 - Added PasswordChar property, also added related tracking vars
3480 - Draw() method now uses local text var for grabbing text to draw,
3481 this var is set to line.text unless we're doing password display,
3482 then it is set to the pre-generated all-password-chars line
3483 - Added calling RecalculatePasswordLine() method for password lines
3485 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3488 - Added Reparented property to allow tracking of Window Manager
3489 reparenting actions (which affect X/Y calculations of toplevel
3491 - Made ToString() print window handles in hex
3493 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3494 determine if X/Y needs offsetting
3495 - AddConfigureNotify(): Fixed offset calculations
3496 - Now adds ReparentNotify messages into the queue
3497 - Now processes ReparentNotify messages and causes a
3498 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3499 is reparented (as most likely it's X/Y coordinates are changed
3502 2005-12-14 Jackson Harper <jackson@ximian.com>
3504 * XplatUIX11.cs: Tool windows still need to respek focus.
3506 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3508 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3509 have a working release
3511 2005-12-13 Jackson Harper <jackson@ximian.com>
3513 * Form.cs: Update styles after setting the border style regardless
3514 of whether or not the window is using a window manager.
3516 2005-12-13 Jackson Harper <jackson@ximian.com>
3518 * Form.cs: We now hook into an internal window manager instead of just an
3519 MDI subsystem, this is so we can have properly behaving tool windows.
3520 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3521 * InternalWindowManager.cs: New internal class that acts as a
3522 window manager for tool windows and as a base for mdi windows.
3523 * MdiWindowManager.cs: New class that acts as a window manager for
3526 2005-12-12 Jackson Harper <jackson@ximian.com>
3528 * Control.cs: Updates so we match behavoir for for implicit
3529 controls. Fixes explosions in MDI.
3531 2005-12-12 Jackson Harper <jackson@ximian.com>
3533 * Control.cs: Implement Invalidate (Region).
3535 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3538 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3539 the same events as MS does. MS fires events for each property
3540 except, for unknown reasons, Cursor, when the control is reparented.
3541 I can't seem to totally match add/remove since MS also fires some
3542 VisibleChanged events, which makes no sense. Consolidated the
3543 parenting code into a separate method so it can be called from
3544 both Add and Remove. set_Parent no longer needs any special logic
3545 as it calls the parent's add method which implicitly fires
3547 - Removed some obsolete code and debug output
3548 - Enabled state is inherited from parents, if this is enabled
3550 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3552 * Form.cs: Removed commented out code
3554 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3557 - Added internal version of Invoke, with additional argument
3558 indicating if we're calling it from a Dispose() handler. That
3559 way we can avoid BeginInvoke throwing an exception if we're
3560 calling for an already destroyed window.
3561 - Added a dispose argument to BeginInvokeInternal, and made the
3562 check if a valid window handle chain exists conditional on
3563 it not being a dispose call
3564 - Removed code in DestroyHandle to destroy our children. Since we
3565 now handle the WM_DESTROY message we will catch all our children
3567 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3569 - Added a field to track the application context of the form.
3570 - No need to set closing variable as response to WM_CLOSE, instead
3571 we destroy the window. We also call PostQuitMessage if the form
3572 has an application context (which makes it the main app form,
3573 which, when closed terminates the app)
3575 - Dropped Exit() method, it's naming was confusing
3576 - Added PostQuitMessage() which causes GetMessage to return false
3577 once the message queue is empty
3578 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
3580 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3581 no longer a valid XplatUI method, but left it in since it's used
3582 internally. Added empty PostQuitMessage() method.
3583 * MenuAPI.cs: Replaced call to Exit() with call to
3584 PostQuitMessage, even though this is probably no longer needed.
3585 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3586 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3588 - Replaced call to XplatUI.Exit() with PostQuitMessage()
3589 - Removed old debug code that would call XplatUI for exception
3590 display, enabled standard exception handling (Still not enabled
3591 though, until NativeWindow's ExternalExceptionHandler define
3594 - Added internal method to allow control to update NativeWindow
3595 after a window has been destroyed
3596 - Added handling of already destroyed windows when calling i
3598 - Added removal of handle from list on ReleaseHandle
3600 - Dropped GetMessageResult var and related code
3601 - Added PostQuitState to field to track if PostQuitMessage has been
3603 - Dropped Exit() method
3604 - Added PostQuitMessage() method
3605 - GetMessage now will return false if PostQuitState is set and no
3606 more messages are in the queue.
3607 - Expose handler will no longer generate WM_PAINT messages if we are
3608 in PostQuitState since it's very likely any windows have already
3609 been destroyed, and since Hwnd won't get updated until we have
3610 processed the DestroyNotify we'd be causing X errors.
3612 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3614 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3615 Thanks to Mike for pointing out the err of my ways.
3617 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3619 * Control.cs(PreProcessMessage): Moved menu handling back, but
3620 after all other key handling, to match MS (who handles Menu in
3622 * Menu.cs (WndProc): Removed my brainfart
3624 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3626 * Control.cs(PreProcessMessage): Removed special menu handling
3627 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3629 2005-12-07 Mike Kestner <mkestner@novell.com>
3631 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3632 state according in tracker.
3633 * Menu.cs : promote tracker field to base class and provide a tracker
3634 lookup capability. Add/Remove shortcuts dynamically if the top menu
3635 has a tracker. Unparent items that are removed from the collection.
3636 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3637 * Theme*.cs: add always_show_hotkeys field to support configurability
3638 of mnemonic display. win32 doesn't show mnemonics until Alt is
3641 2005-12-07 Jackson Harper <jackson@ximian.com>
3643 * MdiChildContext.cs: Use Control.ResetCursor.
3644 * Control.cs: ResetCursor needs to set the property so that the
3645 correct XplatUI call gets made.
3647 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3649 * Control.cs: More fixes to make our key events match MS. We
3650 were not setting the modifier state on KeyData, and we were
3651 not generating any events when Alt was pressed with a key
3652 since handling of WM_SYSxxx was missing for the OnKey methods.
3654 2005-12-07 Jackson Harper <jackson@ximian.com>
3656 * MdiChildContext.cs: reenable the sizing code.
3657 - When the mouse leaves a window reset its cursor.
3659 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3661 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3663 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3665 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3666 widths of Fixed3D borders
3668 2005-12-07 Jackson Harper <jackson@ximian.com>
3670 * MdiClient.cs: Fix warnings. Earn Mike's love.
3672 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3674 * ThemeClearlooks.cs:
3675 - Adjusted mouse over button color
3676 - Added first parts of CheckBox drawing
3677 - Added correct color for selected text background
3678 - Fixed ComboBox drawing
3679 - Added CPDrawBorder3D and CPDrawBorder
3681 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3683 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3685 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3687 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3688 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3689 alert users via sound. We could add an enum arg with different
3690 types of alerts in the future
3692 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3694 * Control.cs: Fix behaviour problems pointed out by Mike
3696 2005-12-05 Mike Kestner <mkestner@novell.com>
3698 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3699 prop setters. Calls parent.Refresh for now, but could be maybe be
3700 optimized with an internal method on StatusBar at some point.
3703 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3705 * RichTextBox.cs: Implemented get_SelectionColor
3707 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3709 * ThemeClearlooks.cs:
3711 - Draw black button border only if button is Form.AcceptButton
3712 - Draw correct button color for pressed RadioButton if the mouse
3713 has entered the button
3714 - Updated ProgressBar drawing!
3715 - Updated CPDrawSizeGrip drawing
3716 - Updated StatusBarPanel drawing
3718 2005-12-05 Mike Kestner <mkestner@novell.com>
3720 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3721 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3723 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
3725 * ThemeClearlooks.cs: Initial check-in, activate with
3726 export MONO_THEME=clearlooks
3727 * ThemeEngine.cs: Added ThemeClearlooks
3729 2005-12-03 Mike Kestner <mkestner@novell.com>
3731 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3734 2005-12-02 Jackson Harper <jackson@ximian.com>
3736 * Form.cs: If the child form has no menu the default main menu is
3737 used as the active menu.
3739 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3741 * ListBox.cs: Check if any items exist before trying to resolve
3742 coordinates into items
3744 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3746 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3747 as the second color for the background hatch
3749 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3751 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3752 * RichTextBox.cs: FormatText position arguments are 1-based, now making
3753 sure that what we pass to FormatText is always 1-based. Fixes #76885
3755 2005-11-29 Miguel de Icaza <miguel@novell.com>
3757 * NumericUpDown.cs (EndInit): When we are done initializing,
3758 reflect any updates on the UI.
3760 2005-12-02 Jackson Harper <jackson@ximian.com>
3762 * ImplicitHScrollBar.cs:
3763 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3764 their container controls.
3765 * TreeView.cs: Use the new implicit scrollbars.
3767 2005-12-02 Jackson Harper <jackson@ximian.com>
3769 * TreeView.cs: Make top_node internal so the TreeNodeCollections
3771 * TreeNodeCollection.cs: If we remove the topnode we need to
3772 update topnode to the next node in line.
3773 - When clearing nodes go through the same process as removing
3774 them, so they get depareneted and checked if they are top node.
3776 2005-12-01 Jackson Harper <jackson@ximian.com>
3778 * TreeView.cs: When imagelists are used the image area is
3779 selectable as well as the text.
3780 - If there are no selected nodes select the first one.
3781 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3782 so don't do it more then we need to.
3784 2005-12-01 Jackson Harper <jackson@ximian.com>
3786 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3787 that arrows can be scaled.
3789 2005-12-01 Jackson Harper <jackson@ximian.com>
3791 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3792 fail. Patch by Dieter Bremes
3794 2005-11-30 Jackson Harper <jackson@ximian.com>
3796 * Form.cs: Property is 2.0 only
3797 * PrintDialog.cs: Signature fix.
3799 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3802 - No longer artificially moves text 2 pixels down (now that we have
3803 borders this is no longer needed)
3804 - Added calcs for left, hanging and right indent
3806 2005-11-23 Mike Kestner <mkestner@novell.com>
3808 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3810 2005-11-30 Jackson Harper <jackson@ximian.com>
3812 * MdiChildContext.cs: Set the cloned menus forms, as these don't
3813 get cloned as part of CloneMenu ().
3814 * Menu.cs: Make sure the parent of the items get set correctly
3815 when they are added. And the owners are notified of the changes.
3816 * Form.cs: Create an ActiveMenu property, so that when MDI is used
3817 we can change the menu being displayed/handled by the form without
3818 changing the menu assosciated with the form.
3819 - Don't let Mdi children draw/handle menus.
3821 2005-11-30 Jackson Harper <jackson@ximian.com>
3823 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3824 a MenuChanged event. Just to make the API a little more
3827 * MenuItem.cs: Use the new OnMenuChanged
3828 * MdiChildContext.cs: Handle menu merging.
3829 * Form.cs: Implement MergedMenu.
3831 2005-11-30 Jackson Harper <jackson@ximian.com>
3833 * Menu.cs: We were misusing Add. Add goes behind the specified
3834 index according to the docs, and does not replace the specified
3835 index. So I added an Insert method.
3837 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3839 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3840 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3842 * RichTextBox.cs: Added calls to base for DnD events
3844 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
3847 - Fixed drag-selection related crash; style fixes
3848 - Implemented undo class
3849 o Implemented method to capture document state for specified
3850 range in document tree
3851 o Implemented method to restore captured document state
3852 o Implemented cursor tracking
3853 o Implemented basic undo stack
3854 - Added undo cursor tracking to methods altering cursor location
3855 - Added undo tracking to selection deletion (still missing
3856 other text-altering hookups)
3858 - Added SelectionLength property
3859 - Implemented CanPaste()
3860 - Implemented Paste()
3861 - Added missing protected methods
3862 - Fixed RTF->Document conversion; now uses font index 0 and color
3863 index 0 as the default font for the parsed text
3864 - Fixed RTF<->Document font size translation
3865 - Fixed RTF generation, now properly handles cross-tag boundaries
3866 for single line selection
3867 - No longer always appends blank line to generated RTF
3869 - Added missing attributes
3870 - Hooked up undo-related methods
3872 - Implemented Copy()
3873 - Implemented Paste()
3875 - Fixed caret mis-behaviour on backspace across line-boundaries
3877 2005-11-29 Jackson Harper <jackson@ximian.com>
3879 * MdiClient.cs: Add a method for activating mdi children. Very
3880 basic right now. I imagine someday it might need more girth.
3881 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3882 children windows names are added to the menu item.
3883 * ThemeWin32Classic.cs: Draw the arrow if the item is an
3884 mdilist. This happens regardless of whether or not there are any
3885 mdi windows to see in the list, and according to my tests happens
3886 before the items are even added. Also happens if there isn't even
3887 an mdi client to get windows from.
3889 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
3891 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3892 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3894 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
3896 * DataGridTableStyle.cs:
3897 - Create always the styles for the missing columns even if they are
3898 provided by the user (not default table style)
3901 - Fixes SetDataBinding (always re-attach source)
3902 - Fixes SetNewDataSource (only clear styles if they are not for
3904 - Expands OnTableStylesCollectionChanged to handle style refresh
3907 2005-11-29 Jackson Harper <jackson@ximian.com>
3909 * FileDialog.cs: Implement missing bits, remove some dead
3911 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3912 creation of the panel so that the options set on the dialog are
3913 seen when the panel is created.
3914 * TreeView.cs: raise a click when items are clicked.
3916 2005-11-29 Jackson Harper <jackson@ximian.com>
3918 * MdiClient.cs: Pass some signature methods through to base.
3920 2005-11-28 Jackson Harper <jackson@ximian.com>
3922 * ListView.cs: Raise the click event when items are clicked.
3924 2005-11-28 Jackson Harper <jackson@ximian.com>
3926 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3929 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3931 * ThemeNice.cs: - Removed 1 pixel bitmaps
3932 - Use SmoothingMode.AntiAlias where it makes sense
3933 (ScrollButton arrow for example)
3934 - Enhanced Button focus drawing
3935 - Fixed ComboBox drawing (no artefacts anymore, focus
3936 rectangle is back again, reduced size of ComboButton, etc.)
3937 - Fixed RadioButton focus drawing for Appearence.Button
3938 - Slight ScrollButton redesign
3939 - Some LinearGradientBrush size fixes
3940 - GroupBoxes have now rounded edges
3941 - Fixed StatusBar drawing
3943 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3945 * ThemeNice.cs: - Remove dead code
3946 - use correct background colors for menus, etc.
3947 - Fake pixel drawing with 1 pixel bitmaps
3949 2005-11-24 Jackson Harper <jackson@ximian.com>
3951 * MdiClient.cs: Size the scrollbars when resizing the window.
3952 - Resize the maximized windows when the client is resized
3953 * Form.cs: Make the child context available
3955 2005-11-23 Jackson Harper <jackson@ximian.com>
3957 * MdiChildContext.cs: Don't size windows if they are maximized.
3959 2005-11-23 Mike Kestner <mkestner@novell.com>
3961 * ContextMenu.cs: use MenuTracker.
3962 * Control.cs: remove menu handle usage.
3963 * Form.cs: remove menu handle usage.
3964 * Hwnd.cs: remove menu handle usage.
3965 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3966 motion and clicks to the new Tracker handlers.
3967 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3969 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3970 Killed the MENU and MENUITEM data types and associated collections
3971 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3972 MenuTracker class that exposes the leftovers from the old MenuAPI
3973 static methods. Restructured Capture handling so that only one grab is
3974 done for the entire menu hierarchy instead of handing off grabs to
3975 submenus. Tracker now has an invisible control to Capture when active.
3976 * MenuItem.cs: add sizing accessors, kill Create
3978 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3979 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3980 MENU(ITEM). remove menu handle usage, use Menu directly.
3981 * XplatUIDriver.cs: remove menu handle usage.
3982 * XplatUIOSX.cs: remove menu handle usage.
3983 * XplatUIWin32.cs: remove menu handle usage.
3984 * XplatUIX11.cs: remove menu handle usage.
3986 2005-11-22 Jackson Harper <jackson@ximian.com>
3988 * Hwnd.cs: Don't compute the menu size for
3989 DefaultClientRectangle.
3990 - Reenable menu sizes being computed for GetClienRectangle.
3991 * Form.cs: Remove comment of trechery
3993 2005-11-22 Jackson Harper <jackson@ximian.com>
3995 * Hwnd.cs: The adjustments for the menu bar are made when it is
3996 attached to the form.
3998 2005-11-19 Jackson Harper <jackson@ximian.com>
4000 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4001 (just like on windows).
4003 2005-11-19 Jackson Harper <jackson@ximian.com>
4005 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4006 use real buttons anymore because they are in non client area. The
4007 one TODO here is that I need to somehow invalidate a section of
4008 the non client area.
4010 2005-11-18 Jackson Harper <jackson@ximian.com>
4012 * Control.cs: Put the enum check back in now that MDI doesnt have
4013 to use this to set border styles.
4014 * Form.cs: Only set mdi child windows borders if the handle has
4016 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4017 this directly on to the driver.
4018 - Get the move start position before adjusting for the titlebar
4019 height, this fixes the windows "skipping" when they are first
4022 2005-11-18 Jackson Harper <jackson@ximian.com>
4024 * XplatUIX11.cs: Just compute the mdi borders separately as they
4025 don't totally match up with normal form borders.
4027 2005-11-18 Jackson Harper <jackson@ximian.com>
4029 * Control.cs: Set WS_ styles for borders, so that the driver does
4030 not have to retrieve the control instance to figure out what kind
4031 of borders it should have.
4032 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4033 driver can know its an mdi child easily.
4034 * XplatUIX11.cs: Get the border styles and whether the window is
4035 MDI from the Styles and ExStyles params instead of having to get a
4036 control. This prevents a chicken and egg problem.
4038 2005-11-18 Jackson Harper <jackson@ximian.com>
4040 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4042 2005-11-18 Jackson Harper <jackson@ximian.com>
4044 * MdiClient.cs: Calculate when to add and remove scrollbars
4046 * MdiChildContext.cs: Adjust the y position to take the titlebar
4048 - No height for FormBorderStyle.None
4050 2005-11-18 Jackson Harper <jackson@ximian.com>
4052 * Control.cs: Allow non enum values to be used for
4053 InternalBorderStyle. MDI does this to set a special border style.
4054 - New utility methods for converting points to/from client coords
4055 - Add the newly created control to the Controls collection before
4056 updating its style. This way UpdateStyle can walk the control
4057 heirarchy to find the control if needed.
4058 so I don't need to create a new Point object all the time.
4059 * Form.cs: Let MDI windows handle their border styles.
4060 - Set styles on MDI windows so the correct title style is derived.
4061 * MdiChildContext.cs: Move all the painting and window handling
4062 into the non client area.
4063 - Use correct sizing and put correct buttons on frames based on
4064 the FormBorderStyle.
4065 - Notify the mdi client about scrolling
4066 - Need to handle the buttons ourselves now, because they are all
4067 in non client areas and we can't add controls there.
4068 * MdiClient.cs: Halfway to scrolling, this implementation is
4069 somewhat broken though, we need to check to make sure other
4070 windows aren't causing scrolling before removing the bars. Also
4071 the bars need to be drawn on top, maybe I can switch implicit
4072 controls to be on top.
4073 * Hwnd.cs: caption_height and tool_caption_height are now
4074 properties of an hwnd, this way they can be set by the driver
4075 based on the type of window they are. In X11 the window manager
4076 handles the decorations so caption_height is zero unless its an
4078 - Add 3 pixel borders for MDI windows (0xFFFF).
4079 - Get rid of some code duplication, have DefaultClientRectanle
4080 just call GetClientRectangle.
4081 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4083 - Set border styles differently for mdi windows.
4084 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4087 2005-11-15 Mike Kestner <mkestner@novell.com>
4089 * Menu.cs: when adding an item to the collection, if item is already
4090 parented, remove it from the parent.
4092 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4094 * X11DesktopColors.cs: Added KDE support
4096 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4099 - Clipboard methods now can translate Rtf format
4100 - No longer removes clipboard contents whenever a new format is added
4101 to allow placing multiple formats on the clipboard
4102 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4103 will place all formats contained in it onto the clipboard. Also
4104 now cleans the clipboard before placing a new object onto it
4106 - Implemented set_Rtf
4107 - Implemented set_SelectedRtf
4108 - Created InsertRTFFromStream() method to allow single code base
4109 for all properties and methods that insert RTF into document
4110 - Removed debug output
4112 - Fixed Delete(int) to fix up line numbers
4113 - Fixed ReplaceSelection to combine start and end line
4114 - Fixed serious DeleteChars bug that would leave the document tree
4116 - Improved DumpTree with several logic checks to detect broken
4118 - Removed debug lines
4119 - Fixed Caret.WordForward/WordBack moving code, now always also
4120 updates caret.tag (fixes crash when word-selecting across tag
4121 boundaries via keyboard)
4122 - Added Insert() method for inserting multiline text into documents
4123 - Fixed DeleteChars() calculation errors that would cause a broken
4124 tag chain with multiple tag lines
4125 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4126 - Split() no longer moves caret if split is at caret location
4127 - ReplaceSelection() now updates the cursor and re-displays it
4128 - ReplaceSelection() now uses new Insert() method to avoid code
4130 - FormatText() can now handle formatting partial lines
4132 - Append now uses new TextControl.Insert() method (this avoids
4134 - Implemented Ctrl-X (Cut) (
4135 - Implemented Ctrl-C (Copy)
4136 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4137 regeneration when pasting text; roundtripping Copy&Paste within
4138 edit control still fails due to some calculation bugs in GenerateRTF)
4139 - The Delete key will now remove the current selection if it is visible
4140 * TextBox.cs: Removed debug lines
4141 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4142 driver to be initialized and can't therefore be done via a static ctor)
4144 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4146 * TextControl.cs: Added backend code for finding char arrays and strings
4148 - Added mouse wheel scroll support
4149 - Added support for VScroll and HScroll events
4151 - Implemented all seven Find() variants
4152 - Implemented GetCharFromPosition()
4153 - Implemented GetCharIndexFromPosition()
4154 - Implemented GetLineFromIndex()
4155 - Implemented GetPositionFromCharIndex();
4156 - Implemented SaveFile for PlainText and UnicodeText
4157 - Fixed set_Font, now setting a new font applies that font to
4159 - Implemented generic Document to RTF converter
4160 - Implemented SaveFile for RichText format (still missing unicode
4161 conversion for non-ansi chars)
4162 - Implemented get_Rtf
4163 - Implemented get_SelectedRtf
4165 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4167 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4168 to allow any captures to be released before triggering OnClick. This
4169 way a click handler may capture the mouse without interference.
4170 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4171 This way we send them even though X may not allow a grab (if the window
4172 isn't visible, for example)
4174 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4176 * DataGridViewRowEventArgs.cs: DataGridView implementation
4177 * DataGridViewElement.cs: DataGridView implementation
4178 * DataGridViewComboBoxCell.cs: DataGridView implementation
4179 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4180 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4181 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4182 * ImageLayout.cs: DataGridView implementation
4183 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4184 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4185 * DataGridViewSelectionMode.cs: DataGridView implementation
4186 * IDataGridViewEditingControl.cs: DataGridView implementation
4187 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4188 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4189 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4190 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4191 * DataGridViewColumnSortMode.cs: DataGridView implementation
4192 * DataGridView.cs: DataGridView implementation
4193 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4194 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4195 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4196 * Padding.cs: DataGridView implementation
4197 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4198 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4199 * DataGridViewRowEventHandler.cs: DataGridView implementation
4200 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4201 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4202 * DataGridViewButtonCell.cs: DataGridView implementation
4203 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4204 * DataGridViewEditMode.cs: DataGridView implementation
4205 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4206 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4207 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4208 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4209 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4210 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4211 * DataGridViewCellEventHandler.cs: DataGridView implementation
4212 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4213 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4214 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4215 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4216 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4217 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4218 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4219 * QuestionEventArgs.cs: DataGridView implementation
4220 * IDataGridViewEditingCell.cs: DataGridView implementation
4221 * DataGridViewTriState.cs: DataGridView implementation
4222 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4223 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4224 * DataGridViewColumnCollection.cs: DataGridView implementation
4225 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4226 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4227 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4228 * DataGridViewColumn.cs: DataGridView implementation
4229 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4230 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4231 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4232 * DataGridViewRow.cs: DataGridView implementation
4233 * DataGridViewImageCellLayout.cs: DataGridView implementation
4234 * DataGridViewImageCell.cs: DataGridView implementation
4235 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4236 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4237 * DataGridViewHeaderCell.cs: DataGridView implementation
4238 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4239 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4240 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4241 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4242 * QuestionEventHandler.cs: DataGridView implementation
4243 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4244 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4245 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4246 * DataGridViewCell.cs: DataGridView implementation
4247 * DataGridViewCellEventArgs.cs: DataGridView implementation
4248 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4249 * DataGridViewCellStyle.cs: DataGridView implementation
4250 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4251 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4252 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4253 * TextFormatFlags.cs: DataGridView implementation
4254 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4255 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4256 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4257 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4258 * DataGridViewButtonColumn.cs: DataGridView implementation
4259 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4260 * HandledMouseEventArgs.cs: DataGridView implementation
4261 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4262 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4263 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4264 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4265 * DataGridViewRowCollection.cs: DataGridView implementation
4266 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4267 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4268 * DataGridViewHitTestType.cs: DataGridView implementation
4269 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4270 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4271 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4272 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4273 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4274 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4275 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4276 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4277 * DataGridViewContentAlignment.cs: DataGridView implementation
4278 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4279 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4280 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4281 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4282 * DataGridViewPaintParts.cs: DataGridView implementation
4283 * DataGridViewCellCollection.cs: DataGridView implementation
4284 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4285 * DataGridViewImageColumn.cs: DataGridView implementation
4286 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4287 * DataGridViewElementStates.cs: DataGridView implementation
4288 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4289 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4290 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4291 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4292 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4293 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4294 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4295 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4296 * DataGridViewTextBoxCell.cs: DataGridView implementation
4297 * DataGridViewBand.cs: DataGridView implementation
4298 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4299 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4300 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4301 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4302 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4303 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4304 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4305 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4306 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4307 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4308 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4310 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4312 * ThemeWin32Classic.cs:
4313 - Draw the outside focus rectangle around buttons
4314 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4315 doesn't use end caps for every dash of a line anymore. This
4316 workaround ignores the forecolor.
4318 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4320 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4323 2005-11-07 Jackson Harper <jackson@ximian.com>
4325 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4327 2005-11-07 Jackson Harper <jackson@ximian.com>
4329 * ScrollableControl.cs: Calculate the maximum and change vars
4330 (more) correctly so that scrollbars appear as a sensible size.
4332 2005-11-04 Jackson Harper <jackson@ximian.com>
4334 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4336 * TreeView.cs: When the tree is sorted null out the top_node so
4337 that it is recalculated.
4338 - Use dotted lines instead of dashed lines to match MS better.
4340 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4343 - Implements key search for items. Useful when browsing files with FileDialog
4344 - When changing view mode or when clear the items reset scrollbar positions
4346 2005-11-04 Jackson Harper <jackson@ximian.com>
4348 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4349 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4350 as to what the method may do as there is no real way of creating a
4351 derived CurrencyManager and calling the method.
4353 2005-11-03 Jackson Harper <jackson@ximian.com>
4355 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4356 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4357 method which seems to just be used internally to refresh the tabs.
4359 2005-11-03 Jackson Harper <jackson@ximian.com>
4361 * TabControl.cs: Implement the remove method. Fix some broken
4364 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4366 * DateTimePicker.cs:
4367 - Added missing DateTimePickerAccessibleObject class
4368 - Added missing events
4369 - Added OnFontChanged method
4370 * Form.cs: Added missing attributes
4371 * TreeView.cs: Added missing attributes
4373 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4375 * GridItemCollection.cs: Fix signatures
4377 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4379 * XplatUI.cs: Updated build rev/date
4380 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4381 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4382 * Application.cs: Trigger context-specific ExitThread events
4384 2005-11-03 Jackson Harper <jackson@ximian.com>
4388 * GridTableStylesCollection.cs:
4393 * MonthCalendar.cs: Signature fixes
4395 2005-11-03 Jackson Harper <jackson@ximian.com>
4397 * TreeNodeCollection.cs: Remove should not be virtual.
4398 * TreeView.cs: Implement the last of the missing methods.
4400 2005-11-03 Jackson Harper <jackson@ximian.com>
4402 * TreeNodeConverter.cs: Implement to get off my class-status back.
4404 2005-11-03 Jackson Harper <jackson@ximian.com>
4406 * TreeView.cs: Hookup the bits for drag and drop.
4407 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4408 that nodes can be moved from tree to tree easily this just causes
4409 all sorts of problems.
4410 * TreeNodeCollection: Don't need to give treenodes an index and
4411 treeview anymore when they are added, these are computed on the
4412 fly. Also make sure to remove a node before its added.
4414 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4417 - Added CaretSelection enum
4418 - Added comparison methods to Marker struct, makes selection code
4420 - Added SelectionStart and SelectionEnd as 'moveable' location for
4421 the CaretDirection enum and handler
4422 - Added selection_prev variable to track optimized invalidation for
4423 word and line selection
4424 - Added SelectionVisible property (returns true if there is a valid
4426 - Switched CaretHasFocus to only display the caret if there is no
4428 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4429 using the direct character index; should be much faster
4430 - Added various conditional debug statements
4431 - Fixed invalidation calculation for selection ranges
4432 - Added ExpandSelection() method to support word and line selection
4433 - Switched SetSelectionToCaret to use new Marker compare overloads
4434 - Added central IsWordSeparator() method to determine word
4435 separators/whitespace and FindWordSeparator() to streamline common
4436 usage of IsWordSeparator()
4438 - Removed unneeded grabbed variable, it was just mirroring
4440 - No longer firing OnTextChanged event when Text setter is called,
4441 since the base will fire the event for us
4442 - Added handling of Ctrl-Up/Down selection
4443 - Added handling of Shift-Cursorkey selection
4444 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4446 - Added handling of Shift and Ctrl-Shift-Home/End selection
4447 - Removed some debug output
4448 - Added handling for single/double/tripple-click to place caret/
4449 select word/select line respectively (Fixes bug #76031)
4450 - Added support for drag expansion of word/line selection
4451 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4454 2005-11-02 Jackson Harper <jackson@ximian.com>
4456 * X11Dnd.cs: If the drag is going to and from a MWF window just
4457 copy the data instead of sending it out through the X Selection
4460 2005-11-02 Jackson Harper <jackson@ximian.com>
4463 * XplatUIX11.cs: When in a drag we don't want motion notify
4464 messages to get passed on to the other controls. This prevents
4465 mouse move messages from showing up in the drag source.
4467 2005-11-02 Jackson Harper <jackson@ximian.com>
4469 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4470 the correct button is release to end a drag.
4471 * XplatUIX11.cs: Make the button state internal so the drag system
4472 can access it. Dragging needs to know about all button releases,
4473 not just left button.
4475 2005-11-02 Miguel de Icaza <miguel@novell.com>
4477 * Form.cs (Icon): If the icon is null, reset the icon to the
4480 * Cursor.cs: When writing the AND-mask bitmap do not include the
4481 number of colors, but hardcode those to two (black and white),
4482 fixes the loading of color cursors (Paint Dot Net).
4484 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4485 turn off autoscaling.
4487 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4489 2005-11-02 Jackson Harper <jackson@ximian.com>
4491 * X11Dnd.cs: Make sure to send a status message if the pointer
4492 enters a control that can not accept a drop, otherwise the cursor
4493 isn't updated correctly. Also tried to compress the lines of code
4496 2005-11-02 Jackson Harper <jackson@ximian.com>
4498 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4499 set actions correctly. This isn't perfect as XDND and win32 have
4500 some differences on how you allow actions. I'll clear this up by
4501 adding a path for drag from MWF to MWF windows.
4502 * XplatUIX11.cs: Hook into the dnd system.
4504 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4506 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4507 previously shown but they are no longer need it. Very obvious when
4508 browsing files with FileDialog.
4510 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4512 * Control.cs: We always need to call OnPaintBackground. We pretty much
4513 ignore AllPaintingInWmPaint and always do the painting there, whether
4514 it's set or not, since we always ignore the WM_ERASEBKGND message
4515 (which we don't generate on X11). This fixes #76616.
4516 * Panel.cs: Removed unneeded background painting. This happens properly
4517 in Control.cs already
4519 2005-10-31 Mike Kestner <mkestner@novell.com>
4521 * Menu.cs: Add items to collection before setting their index.
4522 * MenuItem.cs : add range checking with ArgumentException like MS.
4525 2005-10-31 Jackson Harper <jackson@ximian.com>
4527 * ListBox.cs: Invalidate if the area is visible at all not just
4528 contained in the visible rect. Fixes unselection of semi visible
4531 2005-10-31 Jackson Harper <jackson@ximian.com>
4533 * Control.cs: Consistently name the dnd methods. Make them
4534 internal so we can override them to match some MS behavoir
4536 * Win32DnD.cs: Use the new consistent names.
4538 2005-10-31 Jackson Harper <jackson@ximian.com>
4540 * TreeView.cs: Don't draw the selected node when we lose focus.
4542 2005-10-31 Jackson Harper <jackson@ximian.com>
4544 * X11Dnd.cs: We still need to reset the state even though a full
4545 reset isn't being done, otherwise status's still get sent all over
4548 2005-10-31 Jackson Harper <jackson@ximian.com>
4550 * Control.cs: Make the dnd_aware flag internal so the dnd
4551 subsystem can check it. Catch exceptions thrown in dnd handlers to
4553 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4554 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4555 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4556 flags to reduce the number of dnd enters/status's sent.
4558 2005-10-31 Jackson Harper <jackson@ximian.com>
4560 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4562 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4564 * PictureBox.cs: Fixes 76512
4566 2005-10-28 Jackson Harper <jackson@ximian.com>
4568 * X11Dnd.cs: Early implementation to support winforms being a drag
4569 source for data on X11. Also restructured the converters so they
4570 can go both ways now.
4571 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4573 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
4575 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4578 2005-10-27 Jackson Harper <jackson@ximian.com>
4580 * TreeNode.cs: Implement serialization so my DnD examples will work.
4582 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
4584 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4585 TreeView.cs: Don't dispose objects that are not owned.
4587 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
4589 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4590 should retrieve the current cursor and report that, but XplatUI
4591 doesn't (yet) have an interface for that (and I'm not sure I even
4593 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4594 until any message loop processing is done (and the WM_SETCURSOR
4595 replaces the cursor to the proper one)
4597 - Fixed override behaviour, we can't set the cursor globally on X11,
4598 just for our windows.
4599 - Invalidating the System.Drawing X11 display handle when we are
4601 * Control.cs: Fix to make csc happy
4603 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
4606 - get_Text: Add last line (without trailing newline) to returned
4608 - get_TextLength: Count last line in returned length
4609 - ToString: Call Text property instead of duplicating code
4611 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
4613 * ImageList.cs: Dispose ImageAttributes objects.
4615 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4617 * ImageList.cs: Use attribute constructors with less arguments where
4620 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4622 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4623 Use typeof instead of strings when assembly is referenced. Added
4626 2005-10-21 Jackson Harper <jackson@ximian.com>
4628 * ListView.cs: Raise a double click event. Also tried to somewhat
4629 fix when the selectedindexchanged event is raised. Its still
4632 2005-10-21 Jackson Harper <jackson@ximian.com>
4634 * TreeView.cs: New method to invalidate the plus minus area of a
4635 node without invalidating the whole node (maybe this can be used
4636 in some more places).
4637 * TreeNodeCollection.cs: When adding to an empty node we need to
4638 invalidate its plus minus area so the little block shows up.
4640 2005-10-21 Jackson Harper <jackson@ximian.com>
4642 * TreeView.cs: Make sure that when we invalidate a node the bounds
4643 are big enough to cover the selected box and the focus
4644 rectangle. Use a different colour for the lines connecting nodes
4645 so they show up with all themes.
4647 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4649 * NativeWindow.cs: Don't call anything that could call into the driver,
4650 we might be on a different thread.
4652 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4654 * Control.cs(Dispose): Since Dispose might run on a different thread,
4655 make sure that we call methods that could call into the driver via
4656 invoke, to avoid thread issues
4658 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4660 * XplatUI.cs: Removed finalizer
4661 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4662 not allowing to be called on the finalizer thread.
4664 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4667 - Reverted r51889 and r51891.
4668 - Added ImageListItem class that stores unmodified image items and image
4669 properties required to create list images until handle is created.
4670 - Added AddItem and moved image creation logic to AddItemInternal.
4671 - Added CreateHandle method that creates images based on unmodified items.
4672 - Added DestroyHandle that changes state to store unmodified items.
4673 - Add and AddStrip methods no more create handle.
4674 - ReduceColorDepth has no return value.
4675 - Dispose destroys handle.
4676 - Modified other methods to reflect the above changes.
4677 - Implemented key support.
4678 - Added profile 2.0 members and attributes.
4679 - Added private Reset and ShouldSerialize methods that provide the same
4680 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4681 them as they are private.
4682 - Added some more comments about implementation details.
4684 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4686 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4688 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4690 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4692 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4694 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4695 * DataGridColumnStyle.cs: Remove debug message
4697 2005-10-20 Jackson Harper <jackson@ximian.com>
4699 * TreeView.cs: We can always get input keys regardless of whether
4700 or not editing is enabled. They are used for navigation.
4702 2005-10-20 Jackson Harper <jackson@ximian.com>
4704 * TreeNode.cs: Use the viewport rect for determining if a node
4705 needs to be moved for visibility. Don't use Begin/End edit. This
4706 calls a full refresh when its done.
4707 * TreeView.cs: New SetBottom works correctly. Make the viewport
4708 rect property internal so the treenodes can see it. When clicking
4709 on a node we need to ensure that its visible because it might just
4710 be partly visible when clicked.
4712 2005-10-20 Jackson Harper <jackson@ximian.com>
4714 * TreeNodeCollection.cs: Remove debug code.
4716 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4718 * Datagrid.cs: Implements column sorting in Datagrid
4719 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4721 2005-10-20 Jackson Harper <jackson@ximian.com>
4723 * TreeNodeCollection.cs: Remove items properly. Update the correct
4724 area after removing them.
4726 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4728 * Datagrid.cs: Should not call base.OnPaintBackground
4730 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4732 * XplatUIX11.cs (GetMessage):
4733 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4734 window instead of client window
4735 - Now properly calculates NC_xBUTTONUP message coordinates
4736 - ScreenToMenu now properly calculates it's coordinates of whole
4737 window, since menus are in the whole window, not in the client
4739 - Added WholeToScreen coordinate translation method
4741 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4743 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4744 want to return a message, loop back to the beginning of the function
4745 and grab the next real message to process instead.
4747 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4749 * Splitter.cs: Properly set limits if no filler control is used
4751 2005-10-19 Jackson Harper <jackson@ximian.com>
4753 * ColorDialog.cs: Don't show the help button if it is not enabled
4754 instead of disabling it (this is what MS does). Don't create the
4755 panel until the dialog is run, otherwise the vars (such as
4756 ShowHelp) are not set yet.
4758 2005-10-19 Jackson Harper <jackson@ximian.com>
4760 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4761 are reduced when adding nodes.
4763 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4766 2005-10-19 Jackson Harper <jackson@ximian.com>
4768 * FolderBrowserDialog.cs: End editing our treeview so the window
4769 actually gets refreshed.
4771 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4773 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
4774 Obsoleted handling of WM_ERASEBKGND, now always draws our background
4777 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4779 * MenuAPI.cs: Returns after Hidding window
4780 * XplatUIX11.cs: Added TODO found while debugging menu issues
4782 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4784 * XplatUIX11.cs: Do not re-map the whole window when it's size
4785 becomes non-zero unless it's supposed to be actually visible
4787 2005-10-18 Jackson Harper <jackson@ximian.com>
4789 * TreeView.cs: We don't need to keep a count anymore.
4790 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4791 use the Grow method.
4793 2005-10-18 Jackson Harper <jackson@ximian.com>
4795 * TreeNodeCollection.cs: Insert is not supported on arrays, so
4796 implement it manually here.
4798 2005-10-18 Jackson Harper <jackson@ximian.com>
4800 * ImageList.cs: Dont kill the list when the colour depth is
4801 changed, just change the colour depth of all the images.
4802 - Same goes for setting the image size. Just resize them all
4803 instead of killing the list softly.
4805 2005-10-18 Jackson Harper <jackson@ximian.com>
4807 * Control.cs: Don't invalidate empty rectangles.
4809 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4812 - Adds checked item to the Checked/Item lists (where empty before)
4813 - Do not add items to the Selected lists if they are already present
4815 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4816 - When deleting items make sure that we delete them for the Selected
4817 and Checked list also.
4819 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4821 * Label.cs: Dispose objects no longer used
4822 * ThemeWin32Classic.cs: Dispose objects no longer used
4824 2005-10-18 Jackson Harper <jackson@ximian.com>
4826 * TabControl.cs: Don't refresh the whole control when the tabs are
4827 scrolled, we just need to refresh the tab area.
4829 2005-10-17 Jackson Harper <jackson@ximian.com>
4831 * XplatUIX11.cs: Compress code a little bit. Only calculate the
4832 after handle when we need it.
4834 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4836 * Control.cs: When the parent size changes, recalculate anchor
4837 positions. Partial fix for #76462
4839 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4841 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
4844 2005-10-17 Jackson Harper <jackson@ximian.com>
4846 * MonthCalendar.cs: Don't create the numeric up down until our
4847 handle is created. Otherwise our handle is created in the
4848 constructor and we don't know if we are a WS_CHILD or WS_POPUP
4851 2005-10-17 Jackson Harper <jackson@ximian.com>
4853 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4856 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4857 * TreeNode.cs : small logical fix (was using local var instead of field)
4859 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4861 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4863 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4865 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4867 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
4870 - Re-implemented anchoring code. My first version was really broken.
4871 This fixes bug #76033. Unlike the previous implementation we will
4872 no longer have round errors since all numbers are calculated from
4873 scratch every time. Removed various anchor-related obsolete vars.
4874 - InitLayout no longer causes layout event firing and layout to be
4877 2005-10-16 Jackson Harper <jackson@ximian.com>
4879 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4882 2005-10-16 Jackson Harper <jackson@ximian.com>
4884 * TabControl.cs: Remove debug code.
4886 2005-10-16 Jackson Harper <jackson@ximian.com>
4888 * XEventQueue.cs: Increase the default queue size (very simple
4889 apps needed to grow the queue).
4890 * Hwnd.cs: No finalizer so we don't need to suppress
4891 finalization. Compute the invalid area manually so a new rectangle
4892 does not newto be created.
4893 * ScrollableControl.cs: Don't set any params (otherwise visibility
4894 isn't set correctly).
4895 * MdiChildContext.cs: New constructor takes the mdi parent so it
4896 doesn't have to be computed and avoids a crash on windows. Draw
4897 the window icon properly, and allow the text to be seen.
4898 * Form.cs: Use new MdiChildContext constructor. Make sure the
4899 child context isn't null in wndproc.
4900 * TabControl.cs: Don't set focus, this is muddling keyboard
4901 behavoir. Expand the tab rows when a window size increase will
4902 allow extra tabs to be seen. Don't allow tabs smaller than the
4903 width of a window to be scrolled out of view.
4905 * TreeView.cs: Use measure string to calculate a nodes width, the
4906 width is cached and only updated when the text or the font is
4907 changed. Don't check for expand/collapse clicks on the first level
4908 nodes if root lines are disabled.
4910 2005-10-16 Ritvik Mayank <mritvik@novell.com>
4912 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4914 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4916 * DataGridBoolColumn.cs: fixes warning
4918 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4920 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4921 to match more to match more precisely the MS Net behavior
4923 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4925 * Hwnd.cs: Added field to track if window is mapped
4927 - Unmap windows if they become 0-size, re-map when
4928 they are >0 again; fixes #76035
4929 - Re-set our error handler after initializing X11Desktop
4930 to override any error handlers Gtk or whatever was called
4933 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4935 * CheckedListBox.cs: Removed unused vars
4936 * ListView.cs: Fixed signatures
4937 * RichTextBox.cs: Removed unused vars
4938 * TextBoxBase.cs: Removed unused vars
4939 * XplatUIWin32.cs: Removed unused vars
4940 * XplatUIX11.cs: Removed unused vars
4941 * XplatUI.cs: Updated version and date to latest published
4943 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4945 * Cursor.cs: Added private .ctor to work around a bug in
4946 resourceset (Thanks to Geoff Norton for the help on this)
4947 * SplitterEventArgs.cs: Made fields accessible so we don't
4948 waste boatloads of objects and can reuse the same one
4950 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4951 any captions and borders when generating screen coordinates
4952 * Splitter.cs: Reimplemented control, now fully complete, uses
4953 rubberband drawing, supports and obeys all properties, has
4956 2005-10-13 Miguel de Icaza <miguel@novell.com>
4958 * Form.cs (Form): Setup default values for autoscale and
4959 autoscale_base_size; Make these instance variables, not static
4962 (OnLoad): on the first load, adjust the size of the form.
4964 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4966 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4967 width argument to DrawReversibleRectangle()
4968 * XplatUIWin32.cs, XplatUIX11.cs:
4969 - Implemented width for DrawReversibleRectangle()
4970 - Added logic to DrawReversibleRectangle that recognizes a zero
4971 width or height and only draws a line in that situation
4973 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4975 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4976 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4977 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4978 method (it uses our FosterParent window to get a graphics context)
4980 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4982 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4983 and SetWindowBackground methods
4985 - Setting proper ControlStyles
4986 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4987 EraseWindowBackground, instead we draw the window background
4988 ourselves in PaintControlBackground. This behaviour is
4989 required to match MS, where, when OnPaintBackground is not
4990 called, the background is not drawn.
4991 - Removed unneeded Refresh() in set_Text
4992 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4994 - Created DeriveStyles method to translate from CreateParams to
4995 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4996 matches FormBorderStyle enum values)
4997 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4998 style calculations into single DeriveStyles method
4999 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5000 from redrawing the whole window on any resize or expose.
5001 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5002 all styles were applied to our whole/client window appropriately
5003 - Removed EraseWindowBackground() and SetWindowBackground() methods
5004 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5005 no longer clear/redraw the background through X
5006 - Removed handling of erase_pending bit, we have no use for it (or
5009 - Removed generation and handling of WM_ERASEBKGND message
5010 - Removed EraseWindowBackground() and SetWindowBackground() methods
5011 - Removed handling of hwnd.ErasePending flag
5013 - Removed EraseWindowBackground() and SetWindowBackground() methods
5014 - We no longer call EraseWindowBackground on PaintEventStart, we
5015 ignore the fErase flag, erasing is handled in Control in the
5017 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5018 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5019 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5020 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5021 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5022 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5023 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5025 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5027 * PropertyGrids.cs: Get sub properties
5028 * PropertyGridView.cs: Fix drawing code
5030 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5032 * ListBox.cs: Fixes 76383
5034 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5036 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5037 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5038 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5041 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5043 * ComboBox.cs: Fixes border drawing
5045 2005-10-10 Miguel de Icaza <miguel@novell.com>
5047 * MimeIcon.cs: Ignore errors if the file can not be read.
5049 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5051 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5052 - Fixed border calculations
5053 - Fixed horizontal scrolling in single column listboxes
5054 - Fixed drawing issues
5056 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5058 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5059 FormBorderStyle enum
5060 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5061 code to determine FormBorderStyles from CreateParams
5063 - Fixed bug where we'd set the wrong window styles if we were
5064 not creating an MDI window
5065 - Added call to XplatUI.SetBorderStyle when form borders are set
5066 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5068 - Removed obsolete edge style
5069 - Switched from BorderStyle to FormBorderStyle
5071 2005-10-10 Jackson Harper <jackson@ximian.com>
5073 * Form.cs: Use the property to get the window handle instead of
5074 accessing it directly. Prevents a null reference exception.
5076 2005-10-10 Jackson Harper <jackson@ximian.com>
5078 * TreeView.cs: Don't adjust the rect given to DrawString now that
5079 our libgdiplus draws correctly.
5081 2005-10-08 Jackson Harper <jackson@ximian.com>
5083 * TreeView.cs: Don't try to find the clicked on node if there are
5084 no nodes in the tree.
5086 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5092 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5094 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5095 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5097 Use ResPool for brushes and dispose System.Drawing objects that
5098 are not used anymore.
5100 2005-10-07 Jackson Harper <jackson@ximian.com>
5102 * MdiChildContext.cs: Use the new borders instead of drawing them
5105 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5107 * Calling UpdateBounds after changing the window's BorderStyle
5108 since the style can change the ClientSize
5110 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5112 * Control.cs: Made PaintControlBackground virtual
5113 * Panel.cs: Overriding PaintControlBackground instead of using paint
5114 event; paint event method was interfering with 'real' users of the
5117 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5119 * ThemeWin32Classic.cs: remove border drawing since it is handled
5120 by the base control class now and was causing double border drawing.
5122 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5124 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5125 but it does seem to match MS behaviour. This fixes bug #75324
5127 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5129 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5130 somewhat hackish looking
5132 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5135 - We now accept Enter even if AcceptEnter is false, if the containing
5136 form does not have an AcceptButton configured (fixes bug #76355)
5137 - Calculations are now fixed to no longer use Width/Height, but
5138 ClientSize.Width/Height, since we now support borders (this was
5139 a result of fixing borders and therefore bug #76166)
5140 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5141 true (fixes bug #76354)
5143 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5146 - Defaulting BorderStyle and setting it in XplatUI when our window
5148 - Added enum check to InternalBorderStyle setter
5150 - Added drawing of window borders
5151 - Now properly calculates WM decorations offset for toplevel
5152 windows (fixes bug #74763)
5154 - Implemented BorderStyles for windows (we're letting win32 draw
5156 - Fixed the signature for SetWindowLong
5157 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5158 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5160 * UpDownBase.cs: Remove drawing of borders, this is handled by
5161 the driver, outside the client area
5162 * ListView.cs: Removed bogus border calculations. The control should
5163 be oblivious to borders, since those are not part of the client
5165 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5166 * ThemeWin32Classic.cs: Removed border calculations from ListView
5169 2005-10-06 Jackson Harper <jackson@ximian.com>
5171 * MdiChildContext.cs: Clear out the old virtual position remove
5172 all the unneeded calls to CreateGraphics.
5174 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5176 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5178 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5181 - Added loading and setting of our new default icon
5182 - Only set icon if window is already created
5184 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5187 - Do not explicitly set the foreground and background colors, to
5188 allow inheriting from parents (fixes #76302)
5189 - Use Control's InternalBorderStyle property to deal with borders
5191 2005-10-06 Jackson Harper <jackson@ximian.com>
5193 * MdiChildContext.cs: Use the new xplatui function to draw a
5196 2005-10-06 Jackson Harper <jackson@ximian.com>
5198 * Form.cs: Add the parent before creating the child context cause
5199 we need the parent when setting up the child.
5201 2005-10-06 Jackson Harper <jackson@ximian.com>
5203 * FolderBrowserDialog.cs: redo the tree population code so a
5204 second thread isn't used. Should be a lot faster and more stable
5207 2005-10-05 Jackson Harper <jackson@ximian.com>
5209 * TreeView.cs: There are no expand/collapse boxes if the node has
5212 2005-10-05 Jackson Harper <jackson@ximian.com>
5214 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5216 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5218 * FileDialog.cs: Fix InitialDirectory
5220 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5223 - Fixes changing between styles
5225 - Fixes last item crashing when navigating with keyboard
5227 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5229 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5231 2005-10-05 Jackson Harper <jackson@ximian.com>
5233 * TreeView.cs: If updating the root node do a full refresh.
5234 * TreeNode.cs: The root node should be expanded by default. Also
5235 added a utility prop to tell if we are the root node.
5236 * TreeNodeCollection.cs: Only refresh if the node we are being
5237 added to is expanded. Also added a comment on a potential
5240 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5242 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5243 in dispose method. Fixes #76330
5245 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5247 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5249 - Implements vertical and horizontal scrolling using XplatUI
5250 - Fixes keyboard navagation
5251 - Fixes EnsureVisible
5253 - Handles and draws focus properly
5256 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5258 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5259 Create handle. NET_2_0: Destroy handle when value is null.
5261 2005-10-03 Jackson Harper <jackson@ximian.com>
5263 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5264 revert and a new patch to prevent the thumb from refreshing so
5267 2005-10-02 Jackson Harper <jackson@ximian.com>
5269 * ScrollBar.cs: Don't update position if it hasn't actually
5270 changed. This occurs when you hold down the increment/decrement
5271 buttons and the thumb gets to the max/min.
5273 2005-10-01 Jackson Harper <jackson@ximian.com>
5276 * MdiChildContext.cs:
5277 * MdiClient.cs: Implement ActiveMdiChild in Form.
5279 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5281 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5283 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5285 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5288 2005-09-30 Jackson Harper <jackson@ximian.com>
5290 * ListBox.cs: Don't do a full refresh unless some data has
5293 2005-09-30 Jackson Harper <jackson@ximian.com>
5295 * TreeView.cs: Make sure that the checkboxes size is factored in
5296 even when not visible.
5298 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5300 * FileDialog.cs: Fix Jordi's build break
5302 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5305 - Use standard the Windows colours for the combobox as espected
5306 - Dispose objects that use resouces when no longer need them
5308 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5310 * X11DesktopColors.cs: Initial incomplete implementation
5311 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5313 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5316 - Switched Theme color names to match the names defined in
5317 System.Drawing.KnownColors. Life's hard enough, no need to make
5319 - Added setters to all theme color properties so themes can set
5320 their color schemes. The setters also propagate the color changes
5321 to System.Drawing.KnownColors via reflection
5322 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5323 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5324 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5325 use the new, more logical theme color names
5326 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5328 * ThemeWin32Classic.cs:
5329 - Removed code to set the old classic Windows colors. Instead it
5330 now relies on the colors returned by System.Drawing.KnownColors
5331 which will be either modern static colors (Unix) or colors
5332 read from the user's configuration (Win32)
5333 - Updated to use the new, more logical theme color names
5334 - Switched DataGrid drawing code to use only Theme colors instead of
5335 a mix of System.Drawing.KnownColors and Theme colors
5336 - DrawFrameControl(): Removed code that fills the button area, the
5337 fill would overwrite any previous fill done by a control. This
5339 - Added DrawReversibleRectangle() stub
5340 * ScrollableControl.cs: Set visible state to false when scrollbars
5341 are removed (pdn fix)
5342 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5343 DrawReversibleRectangle() method to allow drawing primitive
5345 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5347 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5349 * ImageList.cs: Add(Icon): Create handle.
5351 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5354 * ThemeWin32Classic.cs:
5357 - Issues with drawing
5359 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5361 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5362 source has to be the ImageList.
5364 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5366 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5368 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5370 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5372 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5374 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5376 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5377 * GridItem.cs: Fixed TODOs
5378 * GridItemCollection.cs: Added ICollection interface
5380 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5382 * ImageList.cs: Resize icons when needed.
5384 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5387 - Fixes GetBounds and returns on screen rects
5389 - Fixes vertical and horzintal scrolling of items
5390 * ThemeWin32Classic.cs:
5393 2005-09-29 Raja R Harinath <harinath@gmail.com>
5395 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5397 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5399 * ImageList.cs: Added comments about handle creation. Moved Handle,
5400 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5401 Handle is created in Add methods.
5403 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5405 * DataGridDrawingLogic.cs:
5406 - Takes rows into account on Colum calculations
5407 - Returns the column when clickig
5409 - Fixes default HitTestInfo values
5410 - Fixes HitTestInfo.ToString
5411 - Fixes ResetBackColor
5413 2005-09-28 Jackson Harper <jackson@ximian.com>
5415 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5416 sizing or cursor changes). Also added some temp code to draw the
5417 titlebars text (Makes dev a little easier).
5419 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5421 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5423 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5425 * ListBox.cs: Fixes bug 76253
5427 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5429 * ImageList.cs: Added comments about the current implementation. Added
5430 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5431 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5432 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5433 with Bitmap.LockBits for better performance. Revised the whole file to
5434 match MS.NET behaviour and provide better performance. Non-public
5435 interface members are calling public members even when they throw
5436 NotSupportedException for better maintainability. Moved ColorDepth,
5437 ImageSize, ImageStream and TransparentColor implementations to
5438 ImageCollection for better performance as these properties are not used
5440 * ImageListStreamer.cs: Added a new internal constructor that takes an
5441 ImageList.ImageCollection and serializes Images based on
5442 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5443 match ImageList property name.
5445 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5447 * ListBox.cs: Fixes IndexFromPoint for last item
5449 2005-09-27 Jackson Harper <jackson@ximian.com>
5451 * Form.cs: Set the position of new mdi children correctly.
5453 2005-09-27 Jackson Harper <jackson@ximian.com>
5455 * MdiClient.cs: New mdi children need to be added to the back of
5456 the controls collection so the zorder is set correctly. Also add a
5457 count of all the child windows that have been created.
5459 2005-09-27 Jackson Harper <jackson@ximian.com>
5461 * Form.cs (CreateParams): Setup MDI forms correctly.
5463 2005-09-27 Jackson Harper <jackson@ximian.com>
5465 * MdiChildContext.cs:
5472 * ScrollableControl.cs:
5473 * ComboBox.cs: Add implicit controls using the new implict control
5474 functionality in ControlCollection. Also try to block multiple
5475 control add in a suspend/resume layout to save some cycles.
5477 2005-09-27 Jackson Harper <jackson@ximian.com>
5479 * Control.cs: Add functionality to the controls collection to add
5480 'implicit controls' these are controls that are created by the
5481 containing control but should not be exposed to the user. Such as
5482 scrollbars in the treeview.
5483 * Form.cs: The list var of the ControlsCollection is no longer
5484 available because of the potential of implicit controls getting
5485 ignored by someone accessing the list directly.
5487 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5489 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5490 loose it's parent. (Fixed bug introduced in r49103 when we added
5491 setting the child parent to null on Remove)
5493 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5495 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5496 * Splitter.cs: Added missing attributes for BorderStyle property.
5497 * TextBoxBase.cs: Marked Calculate* methods internal.
5498 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5501 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5503 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5505 2005-09-25 Jackson Harper <jackson@ximian.com>
5507 * TreeView.cs: Update the node bounds correctly regardless of
5508 whether the node is visible.
5510 2005-09-25 Jackson Harper <jackson@ximian.com>
5512 * ImageList.cs: Don't dispose the image after it is added to the
5513 image list. Only reformat images that need to be resized.
5515 2005-09-25 Jackson Harper <jackson@ximian.com>
5517 * ImageList.cs: Don't set the format when changing the image.
5519 2005-09-25 Jackson Harper <jackson@ximian.com>
5521 * TreeView.cs: We can't just assume the node has a font. Use the
5522 treeviews font if no node font is available.
5524 2005-09-25 Jackson Harper <jackson@ximian.com>
5526 * TreeView.cs: Allow the scrollbars to be reset with negative
5528 - Don't add scrollbars to negative sized windows.
5530 2005-09-23 Jackson Harper <jackson@ximian.com>
5532 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5533 old Mono.Posix. Also remove some stray code that shouldn't have
5536 2005-09-23 Jackson Harper <jackson@ximian.com>
5538 * TreeView.cs: Attempt at proper sizing of the horizontal
5539 scrollbar. Also don't resize the scrollbars unless they are
5542 2005-09-23 Jackson Harper <jackson@ximian.com>
5544 * TreeView.cs: We don't need to expand the invalid area when the
5545 selection changes, as this is all drawn in the node's bounding
5546 box. The area needs to be expanded (previous typo was contracting
5547 it) when the focus rect moves.
5549 2005-09-23 Jackson Harper <jackson@ximian.com>
5551 * TreeView.cs: Display the selection box under the correct
5552 circumstances. We were rendering white text with no selection box
5555 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5557 * TextControl.cs(Split): Now updates selection start/end if it points
5558 into a line that's being split. Fixes a FIXME and bug #75258
5560 2005-09-23 Jackson Harper <jackson@ximian.com>
5563 * ListControl.cs: Don't use the path when retrieving binding
5564 managers from the binding context. My bat sense tells me that the
5565 path is only used on insertion.
5567 2005-09-22 Jackson Harper <jackson@ximian.com>
5569 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5571 2005-09-22 Jackson Harper <jackson@ximian.com>
5573 * Splitter.cs: There are special cursors used for splitting.
5574 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5576 2005-09-22 Jackson Harper <jackson@ximian.com>
5578 * Splitter.cs: Change the cursor appropriately when the splitter
5579 is moused over, so the user actually knows there is a splitter
5582 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5584 * Label.cs : Fix ToString method to give same output as MS.NET
5586 2005-09-22 Jackson Harper <jackson@ximian.com>
5588 * TreeView.cs: Create the scrollbars when the handle is created
5589 and add them right away, just make them invisble. Also account for
5590 the window being shrunk vertically to the point that the vert
5591 scrollbar needs to be added.
5592 - Remove some 0.5 adjustments to get around anti aliasing issues.
5594 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
5596 * MainMenu.cs: Fixes default value
5597 * MenuItem.cs: Fixes default value
5599 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
5601 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5603 2005-09-21 Jackson Harper <jackson@ximian.com>
5605 * Control.cs: Don't try to set the border style on the window if
5606 it hasn't been created. When the window is created the border
5609 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5611 * Control.cs (Update): Don't call XplatUI if we don't have a
5614 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5616 * ContainerControl.cs: Instead of throwing an exception, print
5617 a one-time warning about Validate not being implemented
5618 * XplatUIWin32.cs: Removed debug output
5620 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5622 * Control.cs: Only set XplatUI background if we expect the windowing
5623 system to handle the background. This stops controls that draw their
5624 own background from flickering
5626 * XplatUIX11.cs: Support custom visuals and colormaps for window
5627 creation. This allows, amongst other things, using MWF X11 windows
5630 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5632 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5633 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5634 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5635 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5636 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5637 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5638 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5639 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5640 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5641 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5642 GridColumnStylesCollection.cs,
5643 IDataGridColumnStyleEditingNotificationService.cs,
5644 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5645 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5646 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5647 TreeNodeCollection.cs, AmbientProperties.cs,
5648 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5649 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5650 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5651 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5652 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5653 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5654 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5655 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5656 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5657 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5658 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5659 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5660 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5661 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5662 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5663 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5664 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5665 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5666 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5667 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5668 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5669 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5670 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5671 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5672 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5673 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5674 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5675 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5676 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5677 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5678 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5679 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5680 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5681 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5682 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5683 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5684 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5686 2005-09-21 Jackson Harper <jackson@ximian.com>
5688 * TreeNode.cs: Call Before/After Expand not Collapse when
5691 2005-09-20 Jackson Harper <jackson@ximian.com>
5693 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5695 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5699 - Fixes proper storing of subitems
5700 - Fixes not updated items
5702 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5704 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5705 things if our window handle isn't created yet. Also disabled
5706 debug for TextBoxBase
5708 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5710 * MenuAPI.cs: Remove filtering of events to allow menu usage
5712 2005-09-20 Miguel de Icaza <miguel@novell.com>
5714 * Cursor.cs: Allow null to be passed to Cursor.Current.
5716 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5718 * ThemeWin32Classic.cs:
5719 - Change some private methods/fields to protected virtual so that
5720 they can be accessed and overriden in derived classes
5721 - First refactoring of some methods. Derived themes now don't
5722 need to duplicate the complete code from ThemeWin32Classic
5724 - Added nice StatusBar
5725 - Derive from ThemeWin32Classic and not Theme
5726 - Removed duplicate ThemeWin32Classic code
5728 2005-09-20 Miguel de Icaza <miguel@novell.com>
5730 * Control.cs (ControlCollection.Add): If the value null is passed
5731 the control is ignored.
5735 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5737 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5738 PostQuitMessage state.
5739 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5741 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5743 * Application.cs: Our constructor will never get called, move
5744 initialization to fields; fixes bug #75933
5746 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5749 - Allow files to be selected properly using file name
5751 - Add ability to change diretory (absolute / relative)
5752 using file name combo box.
5754 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5757 - Fixes Multicolumn listboxes item wrong calculations
5758 - Allows to click when only one item is in the listbox
5759 - Fixes crash when no items using keyboard navigation
5761 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
5763 * ComboBox.cs: Reverted almost everything from the latest patch which
5766 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
5769 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5771 - When DropDownStyle is Simple, it does not show scrollbar
5772 to the last item of the list.
5773 - When DropDownStyle is Simple, it crashed when the list was
5774 scrolled down with the down cursor key.
5775 - Fixed a bug that when DropDownStyle is DropDownList, the
5776 selected item was not shown.
5777 - The position of the selected item was not preserved when
5778 the next dropdown happened.
5779 * ThemeWin32Classic.cs:
5780 - Items were wrapped at the right end.
5781 * CheckedListBox.cs:
5784 - Items should be fully shown.
5785 - When resizing and vertical scrollbar disappeared, the item
5786 of index 0 should be on the top of the list.
5787 - GetItemRectangle should consider the size of ver. scrollbar
5789 - SizingGrip area should not be allocated when it is not
5791 - Now it reflects MinWidth of the containing panel and
5792 fixed a crash that happens when its width becomes so small.
5794 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5796 * CheckedListBox.cs: Fixes bug 76028
5797 * ListBox.cs: Fixes bug 76028
5799 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5801 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5802 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5804 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
5806 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5808 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5810 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
5812 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5814 * IRootGridEntry.cs: Added
5815 * PropertyGridCommands.cs: Added
5816 * PropertiesTab.cs: Added missing methods and property
5817 * PropertyGridView.cs: Made class internal
5818 * PropertyGridTextBox.cs: Made class internal
5820 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5822 * MimeIcon.cs: Try to check some other environment variables
5823 if "DESKTOP_SESSION" returns "default"
5825 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5827 * ThemeNice.cs: Corrected background colors (e.g. menus)
5828 * ColorDialog.cs: Use correct background colors for controls
5830 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5832 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5834 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
5836 * RichTextBox.cs: Added initial implementation
5837 * lang.cs: Removed. Was accidentally checked in long time ago
5838 * TODO: Removed. Contents were obsolete
5840 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5842 * PropertiesTab.cs : Added
5844 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5846 * PropertyGrid.cs : Update
5847 * PropertyGridView.cs : Update
5848 * System.Windows.Forms.resx : Added images and strings
5850 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5852 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5854 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5856 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5857 a busy loop right after the Ungrab the X11 display is otherwise
5860 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
5862 * ThemeWin32Classic.cs: Optimise the use of clipping
5864 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
5866 * DataGrid.cs: fixes recursion bug
5868 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
5871 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5874 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
5876 * ThemeNice.cs: Draw nice ProgressBars
5878 2005-09-01 Miguel de Icaza <miguel@novell.com>
5880 * VScrollBar.cs: Another buglet found by Aaron's tool.
5882 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5885 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
5888 - Added nicer menu drawing
5892 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5894 * CreateParams.cs (ToString): Made output match MS
5895 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
5896 handle is already created (to avoid forcing window creation)
5897 * XplatUIX11.cs: Set window text to caption after creating window,
5898 in case Text was set before window was created
5899 * Form.cs: Use this.Text instead of a static string as caption
5901 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5903 * NotifyIcon.cs: Don't set the window to visible; this screws
5904 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5905 OnPaint without a bitmap)
5906 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
5907 happen very often anyway; we could add the check to the WM_PAINT
5908 event generation code
5910 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5912 * NotifyIcon.cs: Fill the icon area with a background color, to
5913 avoid 'residue' when transparent icons are drawn
5915 - Handle whole_window == client_window when destroying windows
5916 - SystrayAdd(): Set client_window to whole_window value to
5917 get mouse and other events passed to NotifyIcon
5919 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5921 * Form.cs: Set proper default for Opacity property
5923 - ShowSystray(): Don't bother creating telling the OS
5924 about the systray item if no icon is provided
5925 - Now handles WM_NCPAINT message to deal with whole/client window
5927 - Create window as visible to not get caught by Expose optimization
5928 * Hwnd.cs: Removed debug message
5929 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5930 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5931 PaintEventStart/End to use new client argument
5933 - Commented out debug messages
5934 - Switched PaintEventStart/End to use new client argument
5935 * XplatUI.cs: Added client window bool to PaintEventStart()/
5936 PaintEventEnd() calls, to support drawing in non-client areas
5938 - Added client window bool to PaintEventStart()/PaintEventEnd()
5939 calls, to support drawing in non-client areas
5940 - Added conditional compile to allow using MWF BeginInvoke
5943 - Added some conditional debug output
5944 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5945 whole/client window split
5946 - Implemented handling of client argument to PaintEventStart()/End()
5948 - Throw exception if BeginInvoke() is called and the window handle
5949 or one of the window's parent handles is not created
5950 - Added conditional compile to allow using MWF BeginInvoke on
5952 - get_Parent(): Only sets parent if handle is created. This avoids
5953 forcing window handle creation when parent is set.
5954 - Now fires Layout and Parent changed events in proper order
5955 - Switched to use Handle instead of window.Handle for Z-Order setting,
5956 the get_Parent() patch above causes us to possibly get null for 'window'
5957 - Implemented handling of client argument to PaintEventStart()/End()
5958 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5960 - Now sends a Refresh() to all child windows when Refresh() is called
5962 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5964 * Form.cs: Added (non-functional) Opacity property
5965 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5967 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5968 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5969 use export MONO_THEME=nice to activate it.
5970 Currently supported controls:
5974 - TabControl (TabAlignment.Top only, other will follow)
5975 * ThemeEngine.cs: Add theme nice
5976 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5979 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5981 * Splitter.cs: Resize docked control and its neighbor.
5983 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5984 -- Making Windows with Menus layout correctly --
5985 * Form.cs : The first leg of the fix
5986 Menu setter - adjust Client Size as needed to make space for the menu
5987 SetClientSizeCore - doesn't call base version to be able to pass the
5988 menu handle to XplatUI.CalculateWindowRect
5989 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5990 * XplatUIX11.cs: The critical second leg of the fix
5991 GetWindowPos needs to use a recalculated client_rect
5992 so that resizing the window doesn't break layout of child controls.
5993 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5996 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5998 * Label.cs: Now properly recalculates width and height on Font and Text
5999 changes if AutoSize is set
6001 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6002 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6004 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6006 * ImageList.cs: Makes ToString method compatible with MS
6008 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6010 * MenuAPI.cs: fixes bug 75716
6012 2005-08-11 Umadevi S <sumadevi@novell.com>
6013 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6015 2005-08-11 Umadevi S <sumadevi@novell.com>
6016 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6018 2005-08-10 Umadevi S <sumadevi@novell.com>
6019 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6021 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6023 * Menu.cs: fixes bug 75700
6024 * MenuAPI.cs: fixes navigation issues
6026 2005-08-09 Umadevi S <sumadevi@novell.com>
6027 * CheckedListBox.cs - simple fix for GetItemChecked.
6029 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6031 * ComboBox.cs: Serveral fixes
6032 * ListBox.cs: Serveral fixes
6034 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6036 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6037 * ListBox.cs: Fixes FindString methods
6039 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6041 * DataGrid.cs: fixes bugs exposed by new tests
6043 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6045 * Mime.cs: Compile Mono assembly references only if compiling
6046 with Mono (Allows to build with VS.Net again)
6048 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6050 * Control.cs (PaintControlBackground): Draw background image
6052 (CheckForIllegalCrossThreadCalls): Stubbed.
6054 * Form.cs (OnCreateControl): Center when should be centered.
6056 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6058 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6060 * Binding.cs: Binding to properties should be case unsensitive
6062 2005-07-18 vlindos@nucleusys.com
6064 * DataGrid.cs: fixes setmember order
6066 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6068 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6069 * FileDialog.cs: FileDialog is now resizable and uses the new
6072 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6074 * DataGridTextBoxColumn.cs: default value
6075 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6076 * GridTableStylesCollection.cs: fixes checking MappingName
6077 * DataGridDrawingLogic.cs: fixes drawing logic issues
6078 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6079 * DataGrid.cs: fixes
6081 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6083 * MimeGenerated.cs: Use case sensitive comparer for
6084 NameValueCollections
6086 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6088 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6089 * ThemeWin32Classic.cs: bug fixes, code refactoring
6090 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6091 * DataGrid.cs: bug fixes, code refactoring
6092 * DataGridTextBox.cs: bug fixes, code refactoring
6093 * DataGridColumnStyle.cs: bug fixes, code refactoring
6094 * Theme.cs: bug fixes, code refactoring
6096 2005-07-01 Peter Bartok <pbartok@novell.com>
6098 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6099 and other text box usage
6101 2005-07-01 Jackson Harper <jackson@ximian.com>
6103 * TabControl.cs: Make sure the bottom of the tab covers the pages
6106 2005-06-30 Peter Bartok <pbartok@novell.com>
6108 * Form.cs (ShowDialog): Assign owner of the dialog
6109 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6110 might have been moved to a tag with different height
6112 2005-06-30 Jackson Harper <jackson@ximian.com>
6114 * Form.cs: Don't create an infinite loop when setting focus
6115 * MenuItem.cs: Don't dirty the parents if we don't have any
6117 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6119 * LibSupport.cs: Rename
6121 2005-06-29 Peter Bartok <pbartok@novell.com>
6123 * TextBoxBase.cs: Re-align caret after deleting a character
6125 - DeleteChars(): Ensure that tag covers the provided position
6126 - StreamLine(): Drop reference for dropped tag
6128 2005-06-29 Peter Bartok <pbartok@novell.com>
6131 - Selections now work properly, anchoring at the initial location
6132 and properly extending in either direction (SetSelectionToCaret(),
6133 SetSelectionStart() and SetSelectionEnd())
6134 - No longer redraws the whole control on selection change, now
6135 calculates delta between previous and new selection and only
6136 invalidates/redraws that area
6137 - Fixed FindPos() math off-by-one errors
6138 - Changed DeleteChars() to verify the provided tag covers the
6139 provided position, selections may have a tag that doesn't cover
6140 the position if the selection is at a tag border
6141 - Fixed off-by-one errors in DeleteChars()
6142 - Added missing streamlining check in DeleteChars() to remove
6144 - Implemented Invalidate() method, now properly calculates exposures
6145 between two given lines/positions
6146 - Implemented SetSelection()
6147 - Obsoleted and removed FixupSelection()
6148 - Improved RecalculateDocument() logic, removing code duplication
6150 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6152 * LibSupport.cs: changes to match different input/output arguments.
6154 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6156 * LibSupport.cs: added libsupport.so init routine.
6158 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6160 * ControlBindingsCollection.cs
6161 - Throws an exception on null datasource when adding
6162 - Checks for duplicated bindings when adding
6164 2005-06-28 Jackson Harper <jackson@ximian.com>
6166 * TreeView.cs (OnKeyDown): Support left and right properly
6167 (navigates as well as expanding and collapsing.
6168 - Add support for Multiply, this expands all the selected nodes
6172 2005-06-28 Jackson Harper <jackson@ximian.com>
6174 * TreeView.cs: Implement keyboard navigation, currently supports,
6175 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6176 support for toggling checkboxes with the space bar.
6178 2005-06-28 Jackson Harper <jackson@ximian.com>
6180 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6183 2005-06-28 Jackson Harper <jackson@ximian.com>
6185 * TreeView.cs: Add missing event.
6187 2005-06-27 Peter Bartok <pbartok@novell.com>
6190 - Made line ending size configurable (now allows for counting
6191 lineendings as \n or \r\n)
6192 - Added margin to viewport to keep caret visible on right side
6193 - Fixed translation routines for line/pos to documentpos to consider
6194 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6195 - Fixed some line-endings to be unix style
6196 - Fixed Document.FormatText to perform it's calculations 1-based
6197 - Added descriptions for a few methods that might otherwise get
6199 - Added NOTE section with some basic conventions to remember at
6201 - Major fixup for RichTextBox selection drawing:
6202 * Fixed crashes when multiple tags on a single line were selected
6203 * fixed selection box drawing not overlaying text
6204 * fixed bogus offset calculation for tags not starting at index 1
6205 * Switched behaviour from using multiple Substrings of a
6206 StringBuilder.ToString() to using multiple
6207 StringBuilder.ToString(start, length) statements, hoping this is
6208 faster (kept original version commented out in the code, in case
6209 original version was faster)
6210 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6212 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6215 2005-06-27 Jackson Harper <jackson@ximian.com>
6217 * TabControl.cs: Move to the left and right with the arrow
6218 keys. These keys don't cycle beyond first and last like
6219 tab. Refresh all the tabs when scrolling them to the left or
6222 2005-06-27 Jackson Harper <jackson@ximian.com>
6225 - ToString: Added method
6226 - CreateParams: Remove TODO and comment
6227 - OnKeyDown: Cycle through bounds properly.
6228 - SelectedIndex: Scroll to the right or left if we need to
6229 display the newly selected tab.
6231 2005-06-23 Jackson Harper <jackson@ximian.com>
6233 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6236 2005-06-23 Jackson Harper <jackson@ximian.com>
6238 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6239 CTRL-SHIFT-TAB, and HOME, END are there any others?
6241 2005-06-23 Jackson Harper <jackson@ximian.com>
6243 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6245 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6247 * DataGridTextBoxColumn.cs: fixes and enhancements
6248 * ThemeWin32Classic.cs: fixes and enhancements
6249 * DataGridBoolColumn.cs: fixes and enhancements
6250 * DataGridDrawingLogic.cs: fixes and enhancements
6251 * CurrencyManager.cs: fixes and enhancements
6252 * DataGrid.cs: fixes and enhancements
6253 * DataGridColumnStyle.cs: fixes and enhancements
6255 2005-06-22 Jackson Harper <jackson@ximian.com>
6257 * TabControl.cs: Add some missing methods that just call into the
6258 base. Make the TabPageCollection's IList interface behave in the
6259 same manner as the MS implementation.
6261 2005-06-22 Peter Bartok <pbartok@novell.com>
6263 * TextControl.cs: Added sanity check
6265 - Fixed wrapping behaviour, don't set wrap on single line controls
6266 (this fixes the breakage of colordialog introduced in an earlier
6268 - Added rudimentary support for autoscrolling right-aligned controls
6269 (still needs fixing, also, center alignment scroll is missing)
6271 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6273 * ScrollBar.cs: Fixes thumbpos on Maximum values
6275 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6277 * PropertyGridView.cs: Pass context information to UITypeEditors
6279 2005-06-21 Peter Bartok <pbartok@novell.com>
6282 - Now calling PositionCaret with absolute space coordinates
6283 - Enabled vertical scrolling
6284 - Better tracking of scrollbar changes, tied into WidthChange
6286 - Improved cursor tracking
6287 - Removed debug output
6289 - PositionCaret coordinates are now works in absolute space, not
6291 - Improved tracking of document size
6292 - Added events for width and height changes
6294 2005-06-21 Peter Bartok <pbartok@novell.com>
6296 * Form.cs: Set focus to active control when form is activated
6298 - Added word-wrap functionality to RecalculateLine()
6299 - Added some short function descriptions for VS.Net to aid in
6300 writing dependent controls
6301 - Added Caret property, returning the current coords of the caret
6302 - Added ViewPortWidth and ViewPortHeight properties
6303 - Added Wrap property
6304 - Added CaretMoved event
6305 - Removed some old debug code
6306 - Split() can now create soft splits
6307 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6308 - Added method to format existing text
6309 - Fixed size/alignment calculations to use viewport
6310 - RecalculateDocument now can handle changing line-numbers while
6314 - Added some wrap logic, we don't wrap if alignment is not left
6315 - Added casts for scrollbar var, base class switched types to
6316 also support RichTextBoxA
6317 - Implemented handling of scrollbar visibility flags
6320 - Switched scrollbars type to RichTextBoxScrollBars to support
6322 - Added tracking of canvas width/height
6323 - Switched scrollbars to be not selectable (to keep focus on text)
6324 - Added central CalculateDocument() method to handle all redraw
6326 - Added ReadOnly support
6327 - Added WordWrap support
6328 - Fixed handling of Enter key (we now treat it as a DialogKey)
6329 - Fixed caret positioning when h or v scroll is not zero
6330 - Fixed placing/generation of vertical scrollbar
6331 - Added CalculateScrollBars() method to allow updating scrollbar
6332 limits and visibility
6333 - Fixed handling of horizontal scroll
6334 - Added handling of vertical scroll
6335 - Implemented auto-'jump' when caret moves to close to a left or
6336 right border and there is text to be scrolled into view (currently
6337 there's the potential for a stack overflow, until a bug in
6340 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6342 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6344 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6348 - return application/x-zerosize for files with size zero
6349 (if no extension pattern matches).
6350 - check matches collection for strings too.
6351 - return only the first mime type if the name value
6352 collection has more than one mime type.
6354 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6356 * PropertyGrid.cs: Cleaned up some TODOs
6357 * PropertyGridView.cs: Added support for UITypeEditors
6359 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6361 * DataGrid.cs: clears cached value
6363 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6365 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6366 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6367 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6368 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6370 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6372 * ThemeWin32Classic.cs: fixes colour
6374 2005-06-15 Peter Bartok <pbartok@novell.com>
6376 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6377 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6378 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6379 * Control.cs: Added some MWFCategory and MWFDescription attributes
6380 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6382 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6384 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6387 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6389 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6390 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6391 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6392 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6393 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6394 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6396 2005-06-13 Jackson Harper <jackson@ximian.com>
6398 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6399 isn't printed when the user enables dropping. (X11 does accept
6402 2005-06-13 Jackson Harper <jackson@ximian.com>
6404 * TreeView.cs: Remove some TODOS.
6406 2005-06-13 Jackson Harper <jackson@ximian.com>
6408 * Form.cs: Hook into the mdi framework.
6409 * MdiClient.cs: Use the base control collections add method so
6410 parents get setup correctly. Set the default back colour and dock
6412 * MdiChildContext.cs: New class, this bad actor handles an
6413 instance of an MDI window. Right now there is only basic
6414 support. You can drag, close, and resize windows. Minimize and
6415 Maximize are partially implemented.
6417 2005-06-13 Jackson Harper <jackson@ximian.com>
6419 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6420 freaky when both vals are negative. NOTE: There are probably other
6421 places in XplatUIX11 that this needs to be done.
6423 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6425 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6426 * DataGridColumnStyle.cs: fixes signature
6428 2005-06-12 Jackson Harper <jackson@ximian.com>
6430 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6433 2005-06-11 Jackson Harper <jackson@ximian.com>
6435 * StatusBarPanel.cs: Signature cleanups. Implement
6438 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6440 * DataGridTextBoxColumn.cs: Honors aligment
6441 * GridColumnStylesCollection.cs: Contains is case unsensitive
6442 * GridTableStylesCollection.cs: several fixes
6443 * DataGridTableStyle.cs: default column creation
6444 * DataGridDrawingLogic.cs: fixes
6445 * CurrencyManager.cs: ListName property
6446 * DataGrid.cs: multiple styles support
6447 * DataGridColumnStyle.cs: fixes
6450 2005-06-10 Peter Bartok <pbartok@novell.com>
6452 * Control.cs(Select): Moved SetFocus call to avoid potential
6453 loops if controls change the active control when getting focus
6454 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6457 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6459 * ImageListConverter.cs: Implemented
6461 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6463 * MonthCalendar.cs: Wired in NumericUpDown control for year
6465 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6467 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6468 DoubleClick events, since they are not meant to be fired.
6470 2005-06-09 Peter Bartok <pbartok@novell.com>
6472 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6473 Jonathan's standalone controls into MWF, implemented missing
6474 events, attributes and methods; added xxxAccessible classes
6475 * AccessibleObject.cs: Made fields internal so other classes
6476 can change them if needed
6478 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6480 * UpDownBase.cs: Complete implementation
6481 * NumericUpDown.cs: Complete implementation
6482 * DomainUpDown.cs: Complete implementation
6484 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6486 * DataGridTextBoxColumn.cs: drawing fixes
6487 * DataGridCell.cs: fixes ToString method to match MSNet
6488 * DataGridTableStyle.cs: fixes
6489 * DataGridBoolColumn.cs: fixes, drawing
6490 * DataGridDrawingLogic.cs: fixes, new methods
6491 * DataGridTextBox.cs: Keyboard and fixes
6493 - Keyboard navigation
6495 - Row selection (single, multiple, deletion, etc)
6498 2005-06-07 Jackson Harper <jackson@ximian.com>
6500 * ThemeWin32Classic.cs: Clear the background area when drawing
6503 2005-06-06 Peter Bartok <pbartok@novell.com>
6505 * ImageListStreamer.cs: Fixed signature for GetData
6506 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6508 - Added missing ChildAccessibleObject class
6509 - Added missing OnXXXFocus overrides, switched to using those
6510 instead of the event handler
6512 - Added Parent property for ControlAccessibleObject
6515 - Added ResetBindings()
6516 * ListBindingConverter.cs: Implemented some methods
6517 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6518 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6519 * ContainerControl.cs: Fixed signature, now subscribing to the
6520 ControlRemoved event instead of overriding the handler, LAMESPEC
6521 * CurrencyManager.cs: Added missing attribute
6522 * MonthCalendar.cs: Added missing properties
6524 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6526 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6528 2005-06-06 Gaurav Vaish and Ankit Jain
6530 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6531 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6533 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6535 * Control.cs: fixes CreateParams Width / Height.
6537 2005-06-05 Peter Bartok <pbartok@novell.com>
6539 * Win32DnD.cs: Removed compilation warnings
6541 2005-06-05 Peter Bartok <pbartok@novell.com>
6543 * Control.cs (CreateParams): Since we don't know if one of the
6544 properties we use is overridden, lets make sure if we fail accessing
6545 we continue with a backup plan
6547 2005-06-05 Peter Bartok <pbartok@novell.com>
6550 - Removed debug output
6551 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6553 - Plugged resource leak
6554 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6557 2005-06-05 Peter Bartok <pbartok@novell.com>
6559 * XplatUIWin32.cs: Removed DnD code
6560 * Win32DnD.cs: Implemented drop source and drop target functionality
6562 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6564 * UpDownBase.cs: remove duplicate addition of event, enable some code
6565 that was commented out.
6566 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6567 Validate input when a key is pressed. It works fine now for every
6568 combination of Hexadecimal. Only missing some drawing love when sharing
6569 space with other controls.
6571 2005-06-04 Peter Bartok <pbartok@novell.com>
6574 - We need to pass a window for DragDrop, so enable callback events
6575 - Added DnD callback events when being a DragSource
6576 * XplatUI.cs (StartDrag): Added window handle argument
6577 * XplatUIDriver.cs (StartDrag): Added window handle argument
6578 * QueryContinueDragEventArgs: Made fields internally accessible so
6579 drivers can set them
6580 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6583 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
6585 * DataGridTextBoxColumn.cs: column text editing
6586 * DataGridTableStyle.cs: Respect columns styles created by the user
6587 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6588 * DataGridBoolColumn.cs: bool column editing
6589 * DataGrid.cs: fixes to scrolling, properties, etc
6590 * DataGridTextBox.cs: handle keyboard
6591 * DataGridColumnStyle.cs: fixes
6593 2005-06-02 Jackson Harper <jackson@ximian.com>
6595 * ImageListStreamer.cs: Somewhat broken implementation of
6596 GetObjectData. The RLE needs some work to match MS properly.
6598 2005-06-02 Jackson Harper <jackson@ximian.com>
6600 * X11Dnd.cs: Attempting to keep at least one file in MWF
6603 2005-06-02 Peter Bartok <pbartok@novell.com>
6605 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6608 2005-06-02 Peter Bartok <pbartok@novell.com>
6610 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6611 * XplatUI.cs: Added DoDragDrop() method
6612 * XplatUIDriver.cs: Added DoDragDrop() method
6614 2005-06-02 Jackson Harper <jackson@ximian.com>
6616 * Splitter.cs: Implement BorderStyle.
6618 2005-06-02 Jackson Harper <jackson@ximian.com>
6620 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6621 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6624 2005-06-02 Peter Bartok <pbartok@novell.com>
6628 - Fixed broken insertion code for SetData, now also
6629 overwrites any existing entry of the same format name
6630 * Hwnd.cs: Added list of pointers that automatically gets
6631 freed when the window is disposed
6632 * XplatUI.cs: Call driver initialization method when loading
6635 - OnDragLeave takes EventArgs, not DragEventArgs
6636 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6638 - Forces style update when drop state changes
6639 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6640 not perfect since we cannot (yet) call the IDataObject.GetData()
6641 method, we keep getting 0x80004005 error, dunno why)
6643 2005-06-02 Peter Bartok <pbartok@novell.com>
6645 * DragEventArgs.cs: Make fields internal so we can cache the
6646 object and re-set the fields from XplatUI
6648 2005-06-02 Jackson Harper <jackson@ximian.com>
6650 * Control.cs: Add some internal methods so the DnD subsystem can
6651 raise DnD events. Also call into the driver when AllowDrop is set.
6653 * XplatUIDriver.cs: New method for setting whether or not a window
6654 is allowed to accept drag and drop messages.
6656 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6658 * ScrollBar.cs: Make sure that values sent in Scroll events
6659 are always between Maximum and Minimum.
6661 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6663 * Menu.cs: Call MenuChanged when menuitem visibility has been
6665 * MenuItem.cs: Rebuild menu when item is (not) visible.
6666 * MainMenu.cs: MainMenu has special MenuChanged.
6667 * Theme.cs: Caption and FrameBorderSize are not fixed.
6668 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6669 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6671 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6672 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6674 2005-05-30 Jackson Harper <jackson@ximian.com>
6676 * DataFormat.cs: We can't statically initialize this stuff because
6677 it calls into the xplatui and could create a loop. So we lazy init
6680 2005-05-28 Jackson Harper <jackson@ximian.com>
6682 * Control.cs: Proper implementation of Product(Name/Version).
6684 2005-05-27 Jackson Harper <jackson@ximian.com>
6686 * DataObject.cs: Dont crash if no data is found.
6688 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6689 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6690 as per status page, guessing it should be set to true
6692 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6694 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6695 * DataGridTableStyle.cs: set proper formatting text, def header text
6696 * ThemeWin32Classic.cs: new themable paramaters
6697 * DataGridBoolColumn.cs: paint check box, get data, fixes
6698 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6699 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6700 * DataGridColumnStyle.cs: fixes
6701 * Theme.cs: new themable paramaters
6703 2005-05-26 Peter Bartok <pbartok@novell.com>
6705 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6707 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6708 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6710 2005-05-24 Peter Bartok <pbartok@novell.com>
6712 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6713 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6714 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6715 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6716 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6717 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6718 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6719 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6720 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6721 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6722 missing attributes, etc
6723 * DataGridPreferredColumnWidthTypeConverter.cs: Added
6725 2005-05-24 Peter Bartok <pbartok@novell.com>
6727 * Help.cs: Added, implemented trivial functions, throws up MessageBox
6728 when user tries to get help
6729 * DataObject.cs, DataFormats.cs, LinkArea.cs,
6730 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6731 to suppress warnings
6732 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6733 avoid unreachable code warning
6735 2005-05-20 Peter Bartok <pbartok@novell.com>
6737 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6739 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6741 * DataGridTextBoxColumn.cs: Basic painting methods
6742 * DataGridTableStyle.cs: Set table style in the column
6743 * ThemeWin32Classic.cs: Use Theme for colors
6744 * DataGridDrawingLogic.cs: Implement more drawing
6745 * DataGrid.cs: drawing, theming, enhacements, fixes
6746 * DataGridColumnStyle.cs: fixes, drawing
6747 * Theme.cs: theming for Datagrid
6749 2005-05-20 Peter Bartok <pbartok@novell.com>
6751 * Cursor.cs: Implemented GetObjectData() method
6753 2005-05-20 Peter Bartok <pbartok@novell.com>
6755 * Cursors.cs: Added setting of cursor name
6757 - Implemented constructors
6758 - Implemented Draw and DrawStretched
6759 - Implemented Current property
6760 - Implemented == and != operators
6761 - Implemented Dispose()
6762 - Implemented ToString
6763 - Added missing attributes
6765 - Added missing reset for OverrideCursor when DoEvents is called
6766 - Fixed creation of cursor, logic was wrong
6768 - Added missing reset for OverrideCursor when DoEvents is called
6769 - Fixed creation of cursor, bit arrays were swapped
6770 * Clipboard.cs: Removed obsolete MonoTODO attribute
6772 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6774 * ComboBox.cs: fixes OnSelectedItemChanged
6775 * ControlBindingsCollection.cs: fixes item range check
6777 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6780 - Calc preferred height properly
6781 - Implement missing properties
6783 * NumericUpDown.cs: Implement missing events
6785 2005-05-19 Jackson Harper <jackson@ximian.com>
6787 * TabControl.cs: New method that resizes the tab pages before
6788 redrawing them. This as needed as the control is double buffered
6789 and sizing will not be recalculated unless ResizeTabPages is
6791 * TabPage.cs: Set base.Text instead of Text in the constructor so
6792 that UpdateOwner does not get called. Use the new Redraw method of
6793 TabControl instead of Refresh so the sizing is recalculated.
6794 * ThemeWin32Classic.cs: Draw the text for button tabs.
6796 2005-05-19 Jackson Harper <jackson@ximian.com>
6798 * Control.cs: Paint control background images. Fix typo where
6799 PaintControlBackground was not getting called correctly.
6801 2005-05-19 Peter Bartok <pbartok@novell.com>
6803 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6804 I can investigate, apparently I broke FileDialog
6806 2005-05-19 Marek Safar <marek.safar@seznam.cz>
6808 * AxHost.cs: Some simple properties.
6809 * Control.cs: window must be accessible after ctor.
6810 * Form.cs: Added TransparencyKey property.
6811 * TextBoxBase.cs: Implemented Clear. Text property can be null.
6812 * XplatUIWin32.cs: SetBorderStyle implemented.
6814 2005-05-18 Peter Bartok <pbartok@novell.com>
6816 * DataObject.cs: Entries are not global but particular to the
6817 DataObject, now it behaves that way
6818 * XplatUIWin32.cs: Implemented Clipboard methods
6819 * Clipboard.cs: Implemented
6820 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6821 * XplatUIOSX.cs: Updated to final clipboard prototypes
6822 * XplatUIX11.cs: Implemented Clipboard methods
6823 * XplatUIDriver.cs: Updated to final clipboard prototypes
6824 * XplatUIStructs.cs:
6825 - Added BITMAPINFOHEADER struct
6826 - Added ClipboardFormats enum
6828 - Added ClipboardStruct
6829 - Added Atom enum items for clipboard types
6830 - Fixed atom types for Selection event structures
6832 - Added internal properties and methods for drivers to enumerate
6834 - Switched initialization method to allow drivers to assign their
6835 own IDs even for the MS predefined clipboard IDs
6836 * XplatUI.cs: Updated to final clipboard interface
6838 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6839 * PropertyGridView.cs: Fixed compiler warnings.
6841 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6842 * PropertyGrid.cs: Added some event calls
6843 * PropertyGridView.cs: Change drawing code to use double buffering
6844 * PropertyGridTextBox.cs: Changed Text property name
6845 * GridItem.cs: Added Bounds property.
6846 * GridEntry.cs: Added Bounds property.
6848 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
6850 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6851 since GetType() may not return the correct type if the object is
6854 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
6856 * TreeNodeCollection.cs: fixes get/set item ranges
6858 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6860 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6862 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6864 * ComboBox.cs: Fix item range comparation
6865 * ListView.cs: Fix item range comparation
6867 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6870 - Clear example panel when OnPaint is called
6871 - Better solution for displaying the example panel text
6872 - Select default indexes in the ListBoxes
6874 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6876 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
6878 2005-05-11 Peter Bartok <pbartok@novell.com>
6880 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6881 * SelectionRangeConverter.cs: Implemented
6882 * PropertyGrid.cs: Fixed attribute value
6884 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6885 - Added Sebastien Pouliot's CAS Stack Propagation fixes
6886 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6887 that's common to all drivers. First methods to go there are
6888 Sebastien Pouliot's CAS Stack Propagation helper methods
6889 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6890 Sebastien Pouliot for CAS Stack Propagation
6892 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6895 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6897 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
6899 * DataGridTextBoxColumn.cs: fixed some members
6900 * GridColumnStylesCollection.cs: indexed column is case insensitive
6901 * DataGridTableStyle.cs: fixes
6902 * ThemeWin32Classic.cs: add new theme parameter
6903 * Theme.cs: add new theme parameter
6904 * DataGridDrawingLogic.cs: Datagrid's drawing logic
6905 * DataGrid.cs: fixes, new internal properties, etc.
6906 * DataGridColumnStyle.cs: allows to set grid value
6909 2005-05-10 Peter Bartok <pbartok@novell.com>
6911 * AccessibleObject.cs:
6912 - Removed MonoTODO attribute on help, method is correct
6913 - Fixed Bounds property
6914 * AxHost.cs: Moved MonoTODO
6915 * ButtonBase.cs: Now setting AccessibleObject properties
6916 * RadioButton.cs: Setting proper AccessibleObject role
6917 * CheckBox.cs: Setting proper AccessibleObject role
6918 * ControlBindingsCollection.cs: Added properties, methods and attributes
6919 * DataFormats.cs: Fixed awkward internal API, and changed to enable
6920 userdefined DataFormats.Format items as well
6921 * ListControl.cs: Removed data_member from the public eye
6922 * OpenFileDialog.cs:
6924 - Added missing attributes
6925 * SaveFileDialog.cs: Added missing attributes
6926 * ImageListStreamer.cs: Fixed code that caused warnings
6927 * LinkLabel.cs: Removed unreachable code
6928 * TreeView.cs: Fixed code that caused warnings
6929 * PropertyGridView.cs: Fixed code that caused warnings
6930 * GridColumnStylesCollection.cs: Added missing attributes
6931 * GridTableStylesCollection: Added missing attribute
6932 * PropertyManager: Added .ctor
6933 * SecurityIDType: Added
6934 * DataObject.cs: Implemented class
6935 * LinkArea.cs: Added missing attribute
6937 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6939 * RadioButton.cs: call base method to allow to fire OnClick event
6940 * UpDownBase.cs: OnMouseUp call base method
6941 * CheckedListBox.cs: call base method before returning
6942 * TrackBar.cs: call base method before returning
6945 2005-05-10 Peter Bartok <pbartok@novell.com>
6947 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6950 2005-05-10 Peter Bartok <pbartok@novell.com>
6952 * DataFormats.cs: Implemented
6953 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6954 XplatUIX11.cs: Added Clipboard APIs
6955 * XplatUIWin32.cs: Implemented Clipboard APIs
6956 * FolderBrowserDialog.cs: Added missing event, attributes
6958 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6960 * CheckBox.cs: call base method to allow to fire OnClick event
6962 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6964 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6966 2005-05-06 Peter Bartok <pbartok@novell.com>
6968 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6969 * Screen.cs: Implemented
6970 * HelpNavigator.cs: Added
6971 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6973 * HelpProvider.cs: Implemented all we can do until we have a CHM
6974 help library (which means that "What's This" does work now)
6976 2005-05-06 Jackson Harper <jackson@ximian.com>
6978 * XplatUIX11.cs: Fix waking up the main loop.
6980 2005-05-05 Peter Bartok <pbartok@novell.com>
6982 * XplatUI.cs: Updated revision
6983 * Form.cs: Removed enless loop
6984 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6985 * Label.cs (OnPaint): Added call to base.OnPaint()
6986 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6987 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6988 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6990 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6991 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6992 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6993 reuse of ToolTipWindow by other controls
6994 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6995 * XplatUIX11.cs: Now clipping drawing area (experimental)
6996 * PictureBox.cs: Moved base.OnPaint() call to end of method
6997 * Theme.cs: Fixed ToolTip abstracts to match new format
6998 * ErrorProvider.cs: Implemented
7000 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7002 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7006 - Implements LinkBehavior
7009 2005-05-03 Jackson Harper <jackson@ximian.com>
7011 * ListView.cs: Calculate the scrollbar positioning on resize and
7012 paint, so they get put in the correct place.
7014 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7016 * ColorDialogs.cs: The small color panels are now handled by
7017 SmallColorControl. This fixes drawing of the focus rectangle
7018 and adds a 3D border.
7020 2005-05-03 Peter Bartok <pbartok@novell.com>
7022 * Control.cs: Modified version of Jonathan Chamber's fix for
7025 2005-05-03 Jackson Harper <jackson@ximian.com>
7027 * ListView.cs: Remove redraw variable. Control now handles whether
7028 or not a redraw needs to be done, and will only raise the paint
7029 event if redrawing is needed.
7031 2005-05-03 Jackson Harper <jackson@ximian.com>
7033 * Splitter.cs: No decorations for the splitter form. Cache the
7036 2005-05-03 Jackson Harper <jackson@ximian.com>
7038 * TreeView.cs: Use dashed lines to connect nodes. Use the
7039 ControlPaint method for drawing the focus rect instead of doing
7042 2005-05-02 Peter Bartok <pbartok@novell.com>
7044 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7046 2005-04-29 Jackson Harper <jackson@ximian.com>
7048 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7049 entire image buffer. Just clear the clipping rectangle.
7051 2005-04-29 Jackson Harper <jackson@ximian.com>
7053 * ThemeWin32Classic.cs: Don't draw list view items that are
7054 outside the clipping rectangle.
7056 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7058 * ListBox.cs: added horizontal item scroll
7060 2005-04-29 Jackson Harper <jackson@ximian.com>
7062 * ThemeWin32Classic.cs: Remove some old debug code that was
7063 causing flicker with the new double buffering code.
7065 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7067 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7068 behave like combobox and comboboxlist (still not sure if this is
7071 2005-04-28 Jackson Harper <jackson@ximian.com>
7073 * ThemeWin32Classic.cs: Don't fill the middle of progress
7074 bars. This fills areas outside of the clip bounds that don't need
7077 2005-04-28 Jackson Harper <jackson@ximian.com>
7079 * Control.cs: Don't expose functionality to touch the image buffers.
7081 * ListView.cs: We do not need to (and no longer can) manipulate
7082 the image buffers directly. All of this is handled by Control.
7084 2005-04-28 Peter Bartok <pbartok@novell.com>
7086 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7087 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7088 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7090 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7093 - Adjust control's height for non-simple comboboxes (bug fix)
7095 * MenuAPI.cs: remove unused var
7096 * ScrollBar.cs: remove unsed var
7098 * ListBox.cs: unselect items when clearing
7100 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7102 * ListControl.cs: honors OnPositionChanged and default Selected Item
7103 * ListBox.cs: unselect items when clearing
7105 2005-04-27 Jackson Harper <jackson@ximian.com>
7107 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7108 if a "correct" keyboard is not found. This will make us not crash,
7109 but might give some users bad keyboard layouts...seems to be the
7110 same thing rewind does.
7112 2005-04-27 Jackson Harper <jackson@ximian.com>
7114 * BindingManagerBase.cs: Attach the current/position changed
7115 handlers to their respective events.
7117 2005-04-27 Jackson Harper <jackson@ximian.com>
7119 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7121 * ThemeWin32Classic.cs: Don't fill the background for picture
7122 boxes. This could overright user drawing.
7123 * ComboBox.cs: Just fill the clipping rect not the entire client
7124 rect when drawing the background. This prevents pieces of the
7125 image buffer from getting overwritten and is theoretically faster.
7127 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7129 * ComboBox.cs: Databinding support fixes, fire missing events
7130 * ListControl.cs: implement missing methods and properties, fixes
7131 * ThemeWin32Classic.cs: Databiding support on Drawing
7132 * CheckedListBox.cs: Databinding support fixes, fire missing events
7133 * ListBox.cs: Databinding support fixes, fire missing events
7135 2005-04-25 Peter Bartok <pbartok@novell.com>
7137 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7139 2005-04-25 Jackson Harper <jackson@ximian.com>
7141 * TreeView.cs: Use the horizontal scrollbars height not width when
7142 determining how much of the client area is available.
7144 2005-04-25 Jackson Harper <jackson@ximian.com>
7146 * Control.cs: Double buffering is handled differently now. As per
7147 the spec, the extra buffer is created in the WM_PAINT message and
7148 passed down to the control's drawing code.
7156 * PropertyGridView.cs:
7168 * DateTimePicker.cs:
7170 * TreeView.cs: Update to new double buffering system.
7171 * MonthCalendar.cs: Uncomment block, as Capture is now
7172 working. Update to new double buffering
7173 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7174 * PaintEventArgs.cs: New internal method allows us to set the
7175 graphics object. This is used for double buffering.
7176 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7177 rectangle. The internal paint_area var has been removed from
7178 StatusBar. The clipping rect should be used instead.
7179 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7180 * TabPage.cs: The RefreshTabs method was removed, so just call the
7181 tab controls Refresh method now.
7182 * TabControl.cs: Update to new double buffering. Make sure the
7183 handle is created before sizing the tab pages, otherwise we will
7184 get stuck in a loop.
7186 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7188 * LinkLabel.cs: Fix typo, bug #74719; patch
7189 from Borja Sanchez Zamorano
7191 2005-04-22 Jackson Harper <jackson@ximian.com>
7193 * TreeNode.cs: Implement Handle stuff.
7194 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7196 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7198 * DataGridTextBoxColumn.cs: call base constructors, fixes
7199 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7200 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7201 * DataGridTableStyle.cs: implements create default column styles
7202 * DataGridBoolColumn.cs: which types can handle
7203 * DataGrid.cs: missing methods, fixes, new functionality
7204 * DataGridColumnStyle.cs: fixes
7206 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7207 * FolderBrowserDialog.cs:
7208 - Use a thread to fill the TreeView
7209 - Adjusted some sizes
7211 2005-04-19 Peter Bartok <pbartok@novell.com>
7213 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7214 property. Fixes #74360.
7216 2005-04-19 Jackson Harper <jackson@ximian.com>
7218 * XEventQueue.cs: Lock when getting the lockqueue size.
7219 * PictureBox.cs: Call base OnPaint
7221 2005-04-19 Peter Bartok <pbartok@novell.com>
7223 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7224 messages were no longer being processed (this broke BeginInvoke)
7227 2005-04-18 Jackson Harper <jackson@ximian.com>
7229 * TreeView.cs: buglet that caused node images to get drawn
7230 regardless of whether or not they were in the clipping rectangle.
7232 2005-04-18 Jackson Harper <jackson@ximian.com>
7234 * CurrencyManager.cs: There are four rules for GetItemProperties:
7235 - If the type is an array use the element type of the array
7236 - If the type is a typed list, use the type
7237 - If the list contains an Item property that is not an object, use
7239 - use the first element of the list if there are any elements in
7242 2005-04-17 Jackson Harper <jackson@ximian.oom>
7244 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7245 click. This handles offsets for scrolling properly and reduces
7246 memory. Also fixed GetNode to not offset now that TopNode works
7248 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7250 2005-04-17 Jackson Harper <jackson@ximian.com>
7252 * CursorConverter.cs: Initial implementation.
7254 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7256 * ListControl.cs: work towards complex data binding support on ListControl
7257 * CurrencyManager.cs: work towards complex data binding support on ListControl
7258 * ListBox.cs: work towards complex data binding support on ListControl
7261 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7263 * GridTableStylesCollection.cs: fixes name and constructor
7264 * DataGridTableStyle.cs: fixes
7265 * DataGridBoolColumn.cs: fixes names and constructors
7266 * DataGrid.cs: define methods and properties. Some init implementations
7267 * DataGridCell.cs: define methods and properties. Some init implementations
7268 * GridTablesFactory.cs: Define methods and properties
7270 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7272 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7273 graphics port changes. We still want the coordinates in global screen
7276 2005-04-14 Jackson Harper <jackson@ximian.com>
7278 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7279 check plus minus or checkbox clicks unless those features are enabled.
7281 2005-04-14 Jackson Harper <jackson@ximian.com>
7283 * TreeView.cs: Add methods for setting the top and bottom visible
7284 nodes. TreeNode::EnsureVisible uses these methods.
7285 * TreeNode.cs: Implement EnsureVisible
7287 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7289 * Form.cs: Pospone menu assignation if the window has not been created yet
7290 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7293 2005-04-12 Jackson Harper <jackson@ximian.com>
7295 * TreeView.cs: Set the TopNode properly when scrolling
7296 occurs. This has the added benifit of reducing the amount of
7297 walking that needs to be done when drawing. Also removed an old
7299 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7301 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7303 * Timer.cs: fixes interval setting when the timer is already enabled
7305 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7307 * FolderBrowserDialog.cs: First approach
7309 2005-04-09 Peter Bartok <pbartok@novell.com>
7311 * FolderBrowserDialog: Added
7313 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7315 * LinkLabel.cs: move drawing code into the theme
7316 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7317 * Theme.cs: define DrawLinkLabel method
7319 2005-04-05 Jackson Harper <jackson@ximian.com>
7321 * BindingContext.cs: Use weak references so these bad actors don't
7322 stay alive longer then they need to.
7324 2005-04-05 Jackson Harper <jackson@ximian.com>
7326 * ListControl.cs: Basic implementation of complex databinding.
7328 * ListBox.cs: Add calls to ListControl databinding methods.
7330 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7333 - Don't change PopupButtonState to Normal when the
7334 PopupButton gets pressed several times.
7335 - Renamed ButtonPanel to PopupButtonPanel
7337 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7339 * ColorDialog.cs: Use cached objects instead of creating them
7340 * LinkLabel.cs: Use cached objects instead of creating them
7341 * Splitter.cs: Use cached objects instead of creating them
7342 * FontDialog.cs: Use cached objects instead of creating them
7343 * PropertyGridView.cs: Use cached objects instead of creating them
7344 * MessageBox.cs: Use cached objects instead of creating them
7345 * FileDialog.cs: Use cached objects instead of creating them
7346 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7347 * TreeView.cs: Use cached objects instead of creating them
7349 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7351 * Control.cs: use Equals to compare the font since no == op
7352 * ScrollBar.cs: use Equals to compare the font since no == op
7354 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7356 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7358 2005-04-01 Jackson Harper <jackson@ximian.com>
7360 * Binding.cs: Implement IsBinding.
7361 * BindingManagerBase.cs:
7362 * PropertyManager.cs:
7363 * CurrencyManager.cs: Add IsSuspended property.
7365 2005-04-01 Jackson Harper <jackson@ximian.com>
7367 * Binding.cs: Had some IsAssignableFrom calls backwards.
7369 2005-04-01 Jackson Harper <jackson@ximian.com>
7371 * Binding.cs: Handle null data members when pulling data.
7372 * PropertyManager.cs: Handle the data member being a property that
7375 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7377 * DataGridTextBoxColumn.cs: fixes signature
7378 * DataGrid.cs: calls right constructor
7380 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7382 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7383 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7384 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7385 * DataGridTableStyle.cs: implements DataGridTableStyle
7386 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7387 * DataGridTextBox.cs: implements DataGridTextBox
7388 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7390 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7392 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7394 2005-03-29 Peter Bartok <pbartok@novell.com>
7397 - Properly implemented CompanyName property
7398 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7399 returns a path that includes CompanyName, ProductName and
7400 Version (fixes bug #70330)
7402 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7404 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7407 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7409 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7411 - Added ReadOnly CheckBox
7412 - Further refactoring: moved some code from Open-/SaveFileDialog
7415 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7417 * OpenFileDialog.cs: Fixed CheckFileExists
7419 Moved FileView and DirComboBox outside FileDialog class.
7420 They can now be used outside FileDialog
7422 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7424 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7425 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7427 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7429 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7430 - Added missing CreatePrompt property in SaveDialog
7431 - Overall SaveDialog handling should be better now
7432 - Added non standard ShowHiddenFiles property
7433 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7434 - Added InitialDirectory and RestoreDirectory support
7436 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7438 * FileDialog.cs: Made dirComboBox usable
7440 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7442 * FileDialog.cs: Added Filter support (case sensitiv)
7444 2005-03-24 Jackson Harper <jackson@ximian.com>
7446 * TabControl.cs: Need a couple more pixels for the lines.
7448 2005-03-23 Jackson Harper <jackson@ximian.com>
7450 * TabControl.cs: Give the tab page focus when it is selected.
7452 2005-03-23 Jackson Harper <jackson@ximian.com>
7454 * TabControl.cs: Account for the drawing of tabs borders when
7455 invalidating. If the slider was clicked dont do click detection on
7458 2005-03-23 Jackson Harper <jackson@ximian.com>
7460 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7462 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7464 * CategoryGridEntry.cs: Added
7465 * GridItem.cs: Added helper properties
7466 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7467 * GridEntry.cs: Updated code for collection
7468 * PropertyGrid.cs: Cleaned up some formatting
7469 * PropertyGridView.cs: Added drop down functionality for enums.
7470 * GridItemCollection.cs: Added enumerator logic
7471 * PropertyGridEntry.cs: Added
7473 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7476 - Removed unnecessary commented code
7477 - Fixed handling for entering the filename manually in the combobox
7479 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7481 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7483 2005-03-18 Peter Bartok <pbartok@novell.com>
7485 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7486 them being touching the border
7488 2005-03-18 Peter Bartok <pbartok@novell.com>
7490 * TextControl.cs: Quick hack to center text better
7492 2005-03-18 Peter Bartok <pbartok@novell.com>
7495 - Don't throw NotImplemented exceptions, just print a notice once
7496 instead (requested by Miguel). This makes running existing SWF
7499 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7500 - Added context menu trigger on right click
7501 * Panel.cs: Trigger invalidate on resize
7503 - Removed old double-buffer drawing
7504 - Added ResizeRedraw style to force proper update of statusbar
7506 - Removed debug output
7507 * ThemeWin32Classic.cs:
7508 - Fixed drawing of status bar, now draws Text property if there
7509 are no defined panels
7511 2005-03-18 Jackson Harper <jackson@ximian.com>
7513 * ImageList.cs: When the image stream is set pull all the images
7515 * ImageListStreamer.cs: Implement reading image list streams.
7517 2005-03-18 Peter Bartok <pbartok@novell.com>
7519 * ThemeWin32Classic.cs (DrawPictureBox):
7520 - Fixed calculations for centered drawing
7521 - Fixed drawing for normal mode, not scaling the image on normal
7523 2005-03-18 Peter Bartok <pbartok@novell.com>
7525 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7528 - Made Open/Save button the accept button for FileDialog
7529 - Tied the cancel button to the IButtonControl cancel button
7530 - Save/Open now properly builds the pathname
7531 - Now handles user-entered text
7532 - Preventing crash on right-click if no item is selected
7533 - Fixed Text property, now uses contents of textbox
7534 - Fixed SelectedText property, now just returns the text part that
7535 is selected in the text box
7537 2005-03-18 Jackson Harper <jackson@ximian.com>
7539 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7540 rect, make sure to de-adjust the interior rect after drawing the
7543 2005-03-18 Peter Bartok <pbartok@novell.com>
7545 * MenuAPI.cs: Remove menu *before* executing selected action to
7546 prevent the menu from 'hanging around'
7548 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7550 * XplatUIOSX.cs: Implemented WorkingArea property
7552 2005-03-17 Peter Bartok <pbartok@novell.com>
7554 * XplatUIX11.cs: Fixed menu coord calculations
7555 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7556 for calculating offsets
7558 2005-03-17 Peter Bartok <pbartok@novell.com>
7560 * Hwnd.cs: Do not consider menu presence for default client
7561 rectangle location/size
7562 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7563 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7564 translation functions
7565 * FileDialog.cs: Fixed (what I presume is a) typo
7567 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
7569 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7570 X access (avoids X-Async errors)
7572 2005-03-16 Jackson Harper <jackson@ximian.com>
7574 * TabControl.cs: Raise the SelectedIndexChanged event.
7576 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
7578 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7579 - Removed vertical ToolBar and replaced it with a custom panel
7580 (desktop and home button already work)
7581 - Added Help button (some controls get resized or relocated then)
7582 - Draw correct text depending on Open or Save.
7583 - Fixed some typos...
7585 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
7588 - Only change Maximum and Minimum when need it (bug fix)
7590 2005-03-15 Peter Bartok <pbartok@novell.com>
7592 * Form.cs: Use Handle for icon, to trigger creation if
7593 the window does not yet exist
7595 - CanSelect: Slight performance improvement
7596 - Focus(): Preventing possible recursion
7597 - Invalidate(): Removed ControlStyle based clear flag setting
7598 - WM_PAINT: fixed logic for calling OnPaintBackground
7599 - WM_ERASEBKGND: Fixed logic, added call to new driver method
7600 EraseWindowBackground if the control doesn't paint background
7602 - Moved EraseWindowBackground() method to internal methods
7603 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7604 is sent via SendMessage on BeginPaint call on Win32
7606 - Added EraseWindowBackground() method
7607 - No longer sends WM_ERASEBKGND on .Expose, but on call to
7608 PaintEventStart, which more closely matches Win32 behaviour
7609 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7610 - Fixed SetFocus() to properly deal with client and whole windows
7611 * Hwnd.cs: Added ErasePending property
7612 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7613 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7615 2005-03-12 Geoff Norton <gnorton@customerdna.com>
7618 - Fix hard loop when timers exist.
7619 - Fix bugs with middle and right click for 3 button mice.
7621 2005-03-11 Peter Bartok <pbartok@novell.com>
7624 - get_WorkingArea: Need to call X directly, GetWindowPos only
7625 returns cached data now
7626 - Added sanity check to GetWindowPos hwnd usage
7628 2005-03-11 Jackson Harper <jackson@ximian.com>
7630 * BindingManagerBase.cs: This method isn't used anymore as
7631 PullData now updates the data in the control.
7633 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7635 * Form.cs: fixes menu drawing on X11
7636 * MenuAPI.cs: fixes menu drawing on X11
7638 2005-03-11 Peter Bartok <pbartok@novell.com>
7640 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7641 from Jonathan Gilbert; should fix bug #73606
7642 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7643 in Screen coordinates. Thanks, Jordi.
7644 * Form.cs: Added missing attribute
7646 2005-03-11 Peter Bartok <pbartok@novell.com>
7649 - Rudimentary Mdi support
7650 - Removed outdated FormParent code
7651 - Implemented lots of missing properties and methods, still missing
7652 transparency support
7653 - Added missing attributes
7654 - Implemented support for MaximumBounds
7655 - Added firing of various events
7656 * XplatUI.cs: Added SetIcon() method
7657 * XplatUIDriver.cs: Added SetIcon() abstract
7658 * XplatUIOSX.cs: Stubbed out SetIcon() method
7660 - Implemented SetIcon() support
7661 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7662 - Switched to unix line endings
7664 - Made POINT internal so for can access it as part of MINMAX
7665 - Implemented SetIcon() support
7666 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7667 native Mdi support again, might have to go managed)
7668 * Control.cs: Now fires the StyleChanged event
7669 * MdiClient.cs: Added; still mostly empty
7671 2005-03-10 Peter Bartok <pbartok@novell.com>
7673 * SaveFileDialog.cs: Added emtpy file
7675 2005-03-08 Peter Bartok <pbartok@novell.com>
7677 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7678 in turn triggers OnCreateContro) when creating a handle for the
7680 * TextControl.cs: Fixed endless loop in certain cases when
7681 replacing the current selection
7683 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7686 - Honors NewValue changes in Scroll events allowing apps to change it
7687 - Adds First and Last Scroll events
7688 - Fixes Thumb events
7690 2005-03-07 Peter Bartok <pbartok@novell.com>
7692 * Hwnd.cs: Added DefaultClientRectangle property
7693 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7694 more detailed debug information
7696 - Fixed size-change feedback loop, where we would pull an old size
7697 off the queue and mistakenly change our window's size to an
7699 - Now compressing ConfigureNotify events, to reduce looping and
7701 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7704 2005-03-07 Jackson Harper <jackson@ximian.com>
7706 * Binding.cs: Push data pushes from data -> property. Check if the
7707 property is readonly when attempting to set it.
7709 2005-03-07 Jackson Harper <jackson@ximian.com>
7711 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7712 instead of IsSubclassOf. Pulling data now sets the value on the
7714 * PropertyManager.cs:
7715 * CurrencyManager.cs: Just need to pull data when updating now,
7716 because PullData will set the value on the control.
7718 2005-03-04 Jackson Harper <jackson@ximian.com>
7720 * Binding.cs: Implement data type parsing and converting on pulled
7721 data. TODO: Are there more ways the data can be converted?
7723 2005-03-04 Jackson Harper <jackson@ximian.com>
7725 * Binding.cs: Support <Property>IsNull checks. Also bind to the
7726 controls Validating method so we can repull the data when the
7727 control loses focus.
7729 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
7732 - Fixes null string format
7735 - Adds enum type checks
7736 - Fixes redrawing and recalc need after changing some properties
7737 - Fixes on focus_item set after the event
7738 - Fixes adding columns after the control has been created
7740 * ThemeWin32Classic.cs:
7741 - Fixes CheckBox focus rectangle
7742 - Fixes ColumnHeader drawing
7745 2005-03-03 Jackson Harper <jackson@ximian.com>
7747 * Binding.cs: Bind to <Property>Changed events so we can detect
7748 when properties are changed and update the data.
7750 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
7753 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7754 - Fixes ImageList constructor with ImageList container
7755 - Fixes image scaling (wrong parameters at DrawImage)
7757 2005-02-02 Jackson Harper <jackson@ximian.com>
7759 * Binding.cs: Make property searches case-insensitive. Eliminate
7760 some duplicated code.
7762 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
7765 - Handle focus event
7766 - Fix scrollbar events
7767 - Discard highlighted item if remove it
7768 - Fixes SelectedItem with strings
7770 2005-03-01 Peter Bartok <pbartok@novell.com>
7773 - Fixed Visible property, now follows (once again) parent chain
7774 to return false if any control in the chain is visible=false
7775 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7776 - Fixed several places where is_visible instead of Visible was used
7777 - Implemented FIXME related to focus selection when setting focused
7778 control to be invisible
7780 * XplatUIWin32.cs: Now using proper method to find out if window is
7781 visible. Thanks to Jordi for pointing it out
7783 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
7785 * ComboBox.cs: show/hide scrollbar instead of creating it
7787 2005-02-27 Jackson Harper <jackson@ximian.com>
7789 * CurrencyManager.cs: Add PositionChanged stuff.
7791 2005-02-27 Peter Bartok <pbartok@novell.com>
7793 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7794 * XplatUIOSX.cs: Added GetMenuOrigin() stub
7795 * XplatUIWin32.cs: Implemented GetMenuOrigin()
7797 - Implemented GetMenuDC()
7798 - Implemented GetMenuOrigin()
7799 - Implemented ReleaseMenuDC()
7800 - Implemented generation of WM_NCPAINT message
7801 - Implemented generation and handling of WM_NCCALCSIZE message
7802 * Form.cs: Added debug helper message for Jordi's menu work
7804 - Modified ClientRect property; added setter, fixed getter to handle
7805 setting of ClientRect
7806 - Added MenuOrigin property
7808 2005-02-26 Peter Bartok <pbartok@novell.com>
7811 - Destroys the caret if a window that's being destroyed contains it
7812 - Ignores expose events coming from the X11 queue for windows that
7813 already are destroyed
7814 - Now uses the proper variable for handling DestroyNotify, before we
7815 marked the wrong window as destroyed
7816 - Improved/added some debug output
7818 2005-02-26 Peter Bartok <pbartok@novell.com>
7820 * X11Keyboard.cs: Fixes to work on 64bit systems
7822 2005-02-26 Peter Bartok <pbartok@novell.com>
7825 - Now calling OnHandleDestroyed from DestroyHandle()
7826 instead of Dispose()
7827 - Removed bogus call to controls.Remove() from DestroyHandle()
7829 2005-02-26 Peter Bartok <pbartok@novell.com>
7831 * Control.cs: Properly destroy child windows when our handle is
7834 2005-02-25 Peter Bartok <pbartok@novell.com>
7837 - Added 'DriverDebug' define to allow tracing XplatUI API calls
7838 - Alphabetized Static Methods and Subclasses
7841 - Added XException class to allow custom handling of X11 exceptions
7842 - Created custom X11 error handler, tied into XException class
7843 - Added support for MONO_XEXCEPTIONS env var to allow the user
7844 to either throw an exception on X errors or continue running
7845 after displaying the error
7846 - Added handling of DestroyNotify message
7847 - Added handler for CreateNotify message (still disabled)
7848 - Improved (tried to at least) Where method to provide file and lineno
7850 - Added XErrorHandler delegate
7851 - Added XRequest enumeration (to suppor translation of errors)
7853 2005-02-25 Jackson Harper <jackson@ximian.com>
7855 * PropertyManager.cs: Implement editing features
7856 * CurrencyManager.cs:
7857 * Binding.cs: First attempt at UpdateIsBinding
7858 * BindingManagerBase.cs: Call UpdateIsBinding before
7859 pushing/pulling data.
7861 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
7863 * MenuAPI.cs: Respect disabled items
7864 * ThemeWin32Classic.cs
7865 - Caches ImageAttributes creation for DrawImageDisabled
7866 - Fixes vertical menu line drawing
7867 - Draws disabled arrows in disable menu items
7869 2005-02-24 Peter Bartok <pbartok@novell.com>
7872 - Added UserData property to allow associating arbitrary objects
7874 - Fixed leak; now removing Hwnd references from static windows array
7876 - Fixed Graphics leak in PaintEventEnd
7877 - Removed usage of HandleData, switched over to Hwnd class
7878 * HandleData.cs: Removed, obsoleted by Hwnd.cs
7880 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7882 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7883 * ScrollBar.cs: Fixes bug
7884 * TrackBar.cs: removes death code, clipping, mimize refreshes,
7885 keyboard navigation enhancements
7887 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7889 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7890 * GroupBox.cs: Add control styles
7891 * Label.cs: Add control styles
7892 * UpDownBase.cs: Add control styles
7893 * ListBox.cs: Add control styles
7894 * XplatUIWin32.cs: Fixes wrong parameter order
7897 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
7899 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7901 2005-02-23 Jackson Harper <jackson@ximian.com>
7903 * PropertyManager.cs: Implement property binding. This doesn't
7904 seem to work yet though as (I think) there are some bugs in
7905 System.ComponentModel.PropertyDescriptor.
7906 * BindingContext.cs: Use new PropertyManager constructor.
7908 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
7910 * ProgressBar.cs: use clip region in ProgressBar
7911 * ThemeWin32Classic.cs: use clip region in ProgressBar
7913 2004-02-22 Jackson Harper <jackson@ximian.com>
7915 * BindingsCollection.cs: Remove some debug code.
7917 2005-02-22 Jackson Harper <jackson@ximian.com>
7919 * BindingContext.cs:
7920 * ControlBindingsCollection.cs:
7921 * CurrencyManager.cs:
7923 * BindingManagerBase.cs: Initial implementation
7924 * BindingsCollection.cs: Add an internal contains method that the
7925 BindingManagerBase uses to ensure bindings aren't added twice to
7927 * PropertyManager.cs: Stubbed out.
7929 * ContainerControl.cs: Hook up databinding
7931 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7934 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7935 Fixed Invalidate/Update chain.
7936 Fixed tons of other minor bugs (this is almost a complete rewrite).
7938 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7940 * ComboBox.cs: do subcontrol creation when the control is created
7942 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7944 * Label.cs: fixes image drawing (image and imagelist)
7945 * ThemeWin32Classic.cs: cache brushes
7947 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7949 * Form.cs: Move menu drawing code to Theme class
7950 * ComboBox.cs: Move ComboBox drawing code to Theme class
7951 * MenuItem.cs: Move menu drawing code to Theme class
7952 * MenuAPI.cs: Move menu drawing code to Theme class
7953 * ThemeWin32Classic.cs: New methods
7954 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7955 * ListBox.cs: Move Listbox drawing code to Theme class
7956 * Theme.cs: New methods
7958 2005-02-20 Peter Bartok <pbartok@novell.com>
7961 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7962 only process mnemonics on those)
7963 - Fixed event sequence for key handling; first calling
7964 ProcessKeyEventArgs now
7966 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7967 for processing non-character keys
7968 - Fixed WM_CHAR to generate proper event sequence before processing
7969 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7972 2005-02-19 Peter Bartok <pbartok@novell.com>
7974 * UserControl.cs: Added TextChanged event; added attributes
7975 * SizeGrip.cs: Implemented resizing and optional display of grip
7976 * Form.cs: Fixed attribute
7977 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7978 Changed meaning of ScrollWindow bool argument; instead of the
7979 clear attribute (which will be true usually anyway), it gives the
7980 option of moving child controls as well.
7982 - Changed to match new ScrollWindow argument
7983 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7984 now handles the implicit parent window a WM puts around us
7985 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7987 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7988 * TreeView.cs: Adjusted to new ScrollWindow arguments
7990 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7992 * Form.cs: Menu integration with non-client area
7993 * MenuItem.cs: Menu integration with non-client area
7994 * MenuAPI.cs: Menu integration with non-client area
7996 2005-02-18 Peter Bartok <pbartok@novell.com>
7998 * MethodInvoker.cs: Added
7999 * MdiLayout.cs: Added
8000 * SendKeys.cs: Started implementation
8001 * ErrorIconAlignment.cs: Added
8003 2005-02-18 Peter Bartok <pbartok@novell.com>
8005 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8006 * Form.cs: Added handling for Menu-related Non-client messages
8008 2005-02-17 Peter Bartok <pbartok@novell.com>
8010 * UpDownBase.cs: Fixed typo, compilation errors
8011 * DomainUpDown.cs: Fixed attribute value
8013 2005-02-16 Miguel de Icaza <miguel@novell.com>
8015 * UpDownBase.cs: Attach entry events.
8017 Add ForeColor property, Focused, InterceptArrowKeys (interception
8020 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8023 - Redraw non client are on Setmenu
8024 - Calc proper menu starting point
8026 2005-02-17 Peter Bartok <pbartok@novell.com>
8028 * Application.cs: Fixed message_filter check
8030 2005-02-17 Peter Bartok <pbartok@novell.com>
8032 * Application.cs: Now calls registered message filters
8033 * DockStyle.cs: Fixed attribute
8034 * Form.cs: Fixed attribute
8035 * Menu.cs: Fixed attribute
8036 * ToolTip.cs: Fixed attribute
8037 * TreeNode.cs: Added missing attributes and arranged in regions
8038 * PropertyGrid.cs: Fixed signatures
8039 * TreeNodeCollection.cs: Added attributes
8040 * Splitter.cs: Added missing attributes; arranged into regions
8041 * TabPage.cs: Added missing attributes; arranged into regions
8042 * TextBoxBase.cs: Added missing attributes
8043 * TextBox.cs: Added missing attributes
8044 * ArrangeDirection.cs: Added missing attributes
8045 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8046 * ToolBarButton.cs: Fixed attributes
8047 * AnchorStyles.cs: Fixed attribute
8048 * TrackBar.cs: Fixed attributes
8049 * TabControl.cs: Added missing attributes and arranged into regions
8050 * ToolBar.cs: Fixed attribute
8051 * StatusBar.cs: Fixed signature, organized into regions and added
8053 * StatusBarPanel.cs: Fixed attributes
8054 * ContentsResizedEventArgs.cs: Implemented
8055 * ContentsResizedEventHandler.cs: Implemented
8056 * DateBoldEventArgs.cs: Implemented
8057 * DateBoldEventHandler.cs: Implemented
8058 * UpDownEventArgs.cs: Implemented
8059 * UpDownEventHandler.cs: Implemented
8061 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8063 * Form.cs: first Menu NC refactoring
8064 * MenuAPI.cs: first Menu NC refactoring
8066 2005-02-16 Peter Bartok <pbartok@novell.com>
8068 * ImeMode.cs: Added missing attributes
8069 * Menu.cs: Fixed attribute
8070 * GroupBox.cs: Fixed attribute
8071 * Label.cs: Fixed attribute
8072 * ColorDialog.cs (RunDialog): Removed TODO attribute
8073 * ComboBox.cs: Fixed attributes
8074 * ListControl.cs: Added missing attributes
8075 * PropertyGrid.cs: Fixed attributes
8076 * Control.cs: Fixed attributes
8077 * ListViewItem.cs: Added TypeConverter attribute
8078 * NotifyIcon.cs: Fixed attributes
8079 * ListView.cs: Fixed attributes
8080 * ButtonBase.cs: Fixed attribute
8081 * ImageList.cs: Added missing attributes
8082 * ContainerControl.cs: Fixed signature
8083 * CheckedListBox.cs: Fixed attribute; added missing attributes
8084 * Panel.cs: Fixed attributes
8085 * PropertyTabChangedEventArgs.cs: Added missing attribute
8086 * PropertyValueChangedEventArgs.cs: Added missing attribute
8087 * Binding.cs: Fixed attribute
8088 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8089 * ListBox.cs: Fixed attribute; added missing attributes;
8090 * ScrollableControl.cs: Added missing attributes
8091 * PictureBox.cs: Added missing attributes; implemented missing property
8092 * DateTimePicker.cs: Added missing attributes
8093 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8094 * MonthCalendar.cs: Fixed attributes
8095 * StatusBarPanel.cs: Added missing attributes
8096 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8098 2005-02-16 Peter Bartok <pbartok@novell.com>
8100 * TextBoxBase.cs: The previous method to enforce height yet remember
8101 the requested high was less than ideal, this is an attempt to do
8103 * Control.cs: Added comment about possible problem
8104 * Copyright: Updated format
8105 * GridItemType.cs: Fixed swapped values
8107 2005-02-15 Jackson Harper <jackson@ximian.com>
8109 * BaseCollection.cs: Use property so we never access an
8110 uninitialized list. Also initialize the list in the property.
8112 2005-02-15 Peter Bartok <pbartok@novell.com>
8114 * GroupBox.cs (ProcessMnemonic): Implemented
8115 * Label.cs (ProcessMnemonic): Implemented
8116 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8119 2005-02-15 Peter Bartok <pbartok@novell.com>
8121 * RadioButton.cs (ProcessMnemonic): Implemented
8122 * CheckBox.cs (ProcessMnemonic): Implemented
8124 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8126 - Added internal method to allow calling ProcessMnemonic from other
8128 * ContainerControl.cs:
8129 - Started support for handling validation chain handling
8130 - Implemented ProcessMnemonic support
8131 - Added Select() call to Active, to make sure the active control
8133 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8135 * ThemeWin32Classic.cs:
8136 - DrawCheckBox(): Fixed stringformat to show hotkeys
8137 - DrawRadioButton(): Fixed stringformat to show hotkeys
8138 * CommonDialog.cs: Removed WndProc override, not needed
8140 2005-02-14 Peter Bartok <pbartok@novell.com>
8142 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8143 missed those in the rewrite
8145 2005-02-14 Miguel de Icaza <miguel@novell.com>
8147 * NumericUpDown.cs (Increment, ToString): Add.
8148 (DecimalPlaces): implement.
8152 * UpDownBase.cs: Add the designer attributes.
8154 2005-02-13 Peter Bartok <pbartok@novell.com>
8156 * Panel.cs: Removed border_style, now in Control
8157 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8158 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8160 2005-02-13 Peter Bartok <pbartok@novell.com>
8162 * MouseButtons.cs: Added missing attributes
8163 * XplatUIStructs.cs: Added enumeration for title styles
8164 * LeftRightAlignment.cs: Added missing attributes
8165 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8166 it compatible with Graphics.FromHwnd()
8167 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8168 * Keys.cs: Added missing attributes
8169 * SelectionRange.cs: Added missing attributes
8170 * SelectionRangeConverter.cs: Added
8172 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8173 ReleaseMenuDC methods
8174 - Renamed ReleaseWindow to UngrabWindow
8175 - Added proper startup notice to allow version identification
8177 - Added missing attributes
8178 - Removed FormParent concept
8179 * Label.cs: Removed border_style field, now in Control
8180 * RadioButton.cs: Now properly selects RadioButton when focus is
8182 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8184 - Added missing attributes
8185 - Added borderstyle handling
8186 - Removed FormParent concept support
8187 - Fixed calls to XplatUI to match changed APIs
8188 - Fixed bug that would case us to use disposed Graphics objects
8189 - Removed unneeded internal methods
8190 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8191 - SelectNextControl(): Fixed to properly check common parents
8192 * TextBoxBase.cs: Removed border_style field (now in Control)
8194 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8195 fixed calculations for form size
8196 - Added support for localized strings and icons
8197 - Improved form size calculations, added border
8198 * ListView.cs: Removed border_style field (now in Control)
8199 * X11Structs.cs: Moved several structs from X11 driver here
8200 * X11Keyboard.cs: Changed debug message
8201 * Application.cs: Removed FormParent concept support
8203 - Resetting end_modal flag
8204 - Removed FormParent concept support
8205 * NativeWindow.cs: Removed FormParent concept support
8206 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8207 Client area and Non-Client whole window to allow support for WM_NC
8209 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8210 prevent using it until it supports Hwnd as per Geoff Norton's request
8211 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8212 * PictureBox.cs: Removed border_style field, now in Control
8213 * XplatUIWin32.cs: Added new driver methods
8215 2005-02-12 Peter Bartok <pbartok@novell.com>
8217 * OpacityConverter.cs: Implemented
8218 * Hwnd.cs: Internal class to support drivers that need to emulate
8219 client area/non-client area window behaviour
8221 2005-02-11 Peter Bartok <pbartok@novell.com>
8223 * KeysConverter.cs: Implemented
8225 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8227 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8228 * LinkLabel: Added missing attributes
8229 * MainMenu.cs: fixes ToString
8230 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8231 * ListBox.cs: fixes event position
8232 * TrackBar.cs: adds missing attributes and events
8234 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8236 * MenuItem.cs: Use SystemInformation and bug fixes
8237 * MenuAPI.cs: Use SystemInformation and bug fixes
8239 2005-02-09 Jackson Harper <jackson@ximian.com>
8241 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8242 their keystate otherwise things like VK_MENU get stuck "on".
8244 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8246 * ListBox.cs: Fixes AddRange bug
8248 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8251 - Add missing attributes
8252 - Add missing method
8254 * CheckedListBox.cs: Added missing attributes
8255 - Add missing attributes
8256 - Remove extra method
8258 * ComboBox.cs: Added missing attributes
8259 * VScrollBar.cs: Added missing attributes
8260 * ScrollBar.cs: Added missing attributes
8261 * ListBox.cs: Fixes signature, add missing consts
8262 * LinkArea.cs: Added missing attributes
8265 2005-02-08 Peter Bartok <pbartok@novell.com>
8267 * Menu.cs: Added missing attributes
8268 * MainMenu.cs: Added missing attributes
8269 * GroupBox.cs: Added missing attributes
8270 * Label.cs: Added missing attributes
8271 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8273 - Added Instance and Options properties
8274 - Added missing attributes
8275 * Cursor.cs: Made Serializable
8276 * NotifyIcon: Added missing attributes
8277 * MenuItem.cs: Added missing attributes
8278 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8279 * Panel.cs: Added Missing attributes
8280 * MonthCalendar.cs: Fixed CreateParams
8282 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8286 - Fixes issues with links
8287 - Adds the class attributes
8289 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8292 - Fixes button when no items available in dropdown
8293 - Fixes repainting problems
8294 - Adds the class attributes
8296 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8298 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8299 the current theme. Cache these on startup.
8301 2005-02-07 Jackson Harper <jackson@ximian.com>
8303 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8304 the scrollbar buttons when they are depressed.
8306 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8308 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8309 Get the display size from the main displayid. We currently dont
8310 support multiple display configurations.
8312 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8314 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8316 2005-02-07 Miguel de Icaza <miguel@novell.com>
8318 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8320 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8322 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8324 2005-02-04 Jackson Harper <jackson@ximian.com>
8326 * ThemeWin32Classic.cs: Respect the clipping rect when
8327 drawing. Only fill the intersection of clips and rects so there
8328 isn't a lot of large fills.
8329 * ScrollBar.cs: Pass the correct clipping rect to the theme
8330 engine. Remove some debug code.
8332 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8334 * DateTimePicker.cs:
8335 - Fixed crash on DateTime.Parse, use Constructor instead
8337 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8341 - Owner draw support (MeasureItem and DrawItem)
8343 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8346 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8347 - Fixes MenuItems.Add range
8349 - MergeMenu and Clone and CloneMenu functions
8351 2005-02-03 Jackson Harper <jackson@ximian.com>
8353 * ScrollBar.cs: Make abstract
8354 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8357 2005-02-03 Jackson Harper <jackson@ximian.com>
8359 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8360 all the unneeded refreshes and uses invalidates with properly
8363 2005-02-03 Peter Bartok <pbartok@novell.com>
8365 * ComponentModel.cs: Added
8366 * IDataGridEditingService.cs: Added
8367 * Timer.cs: Added missing attributes
8368 * ToolTip.cs: Added missing attributes
8370 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8372 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8374 2005-02-03 Peter Bartok <pbartok@novell.com>
8376 * ListBox.cs: Added missing attributes
8378 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8381 - Fixes font height after font change
8382 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8384 2005-02-02 Peter Bartok <pbartok@novell.com>
8386 * HandleData.cs: Introduced static methods to allow class
8387 to be more self-contained and track it's own HandleData objects
8388 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8389 HandleData to use new static methods
8391 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8394 - Fixes default size and PreferredHeight
8396 - ObjectCollection.Insert implementation
8402 - ObjectCollection.Insert implementation
8403 - No selection after clean
8406 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8408 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8410 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8413 - Caches ItemHeight calculation for OwnerDrawVariable
8414 - Handles dropdown properly
8415 - Fixes several minor bugs
8417 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8420 - Fixes 71946 and 71950
8421 - Fixes changing Multicolumn on the fly
8422 - Fixes keyboard navigation on Multicolumn listboxes
8424 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8426 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8429 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8431 * XplatUIOSX.cs: Allow applications to actually exit.
8433 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8435 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8436 their parent at creation time rather than lazily later. Fixes a major
8437 regression we were experiencing.
8439 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8441 * ThemeWin32Classic.cs: more date time picker painting fixes
8442 * DateTimePicker.cs: more monthcalendar drop down fixes
8443 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8445 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8448 - When moving the thumb going outside the control should stop the moving
8449 - Adds the firing of missing events
8450 - Fixes no button show if Size is not specified
8451 - End / Home keys for keyboard navigation
8453 2005-01-30 Peter Bartok <pbartok@novell.com>
8455 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8456 sanity check to prevent theoretical loop
8457 * XplatUIWin32.cs (SetVisible): Removed debug output
8458 * XplatUIX11.cs (SystrayChange): Added sanity check
8459 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8460 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8461 behaviour, valid until the X11 client window rewrite is done
8462 * TextBox.cs (ctor): Setting proper default foreground and background
8465 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8467 * Theme: Added DrawDateTimePicker to interface
8468 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8469 * DateTimePicker.cs: Created (still needs keys and painting code)
8470 * DateTimePickerFormat.cs: added
8471 * MonthCalendar.cs: fixed CreateParams for popup window mode
8473 2005-01-29 Peter Bartok <pbartok@novell.com>
8475 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8476 this should also the calculations for ligher/darker
8477 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8479 2005-01-29 Peter Bartok <pbartok@novell.com>
8481 * ArrangeDirection.cs: Added
8482 * ArrangeStartingPositon.cs: Added
8483 * SystemInformation.cs: Implemented
8484 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8485 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8486 used by SystemInformation class
8487 * X11Strucs.cs: Added XSizeHints structure
8489 - Fixed CreateParams to make sure the menu window is always visible
8490 - TrackPopupMenu: Added check to make sure we don't draw the
8493 2005-01-29 Peter Bartok <pbartok@novell.com>
8495 * HandleData.cs: Added method for altering invalid area
8496 * TextBoxBase.cs: Implemented TextLength
8498 2005-01-28 Peter Bartok <pbartok@novell.com>
8500 * XplatUIX11.cs: Improvement over last patch, not sending
8501 the WM_PAINT directly anymore, instead we scroll any pending
8502 exposed areas and let the system pick out the WM_PAINT later
8504 2005-01-28 Peter Bartok <pbartok@novell.com>
8506 * SWF.csproj: Deleted, no longer used. Instead,
8507 Managed.Windows.Forms/SWF.csproj should be used
8508 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8509 directly, to avoid a potential race condition with the next
8512 2005-01-28 Peter Bartok <pbartok@novell.com>
8514 * XplatUI.cs: Made class internal
8516 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8518 * CheckedListBox.cs:
8521 - Missing methods and events
8523 2005-01-27 Peter Bartok <pbartok@novell.com>
8525 * Application.cs (Run): Don't use form if we don't have one
8527 2005-01-27 Peter Bartok <pbartok@novell.com>
8529 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8531 2005-01-27 Peter Bartok <pbartok@novell.com>
8533 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8534 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8535 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8536 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8537 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8538 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8539 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8540 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8541 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8542 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8543 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8544 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8546 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8549 - Draw focus on Simple Combobox
8550 - Fixes drawing issues
8553 2005-01-27 Peter Bartok <pbartok@novell.com>
8556 - Place window in default location, instead of hardcoded 0/0
8557 - Send initial LocationChanged event
8559 - UpdateBounds after creation to find out where the WM placed us
8560 - Make sure that if the ParentForm changes location the Form
8562 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8563 to the root, but to whatever the WM placed around us.
8564 Translate to root coordinates before returning toplevel
8566 * XplatUIWin32.cs: Removed debug output
8567 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8568 flag to GetWindowPos, to allow translation of coordinates on X11
8570 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8572 * ListBox.cs: connect LostFocus Event
8574 2005-01-27 Peter Bartok <pbartok@novell.com>
8576 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8577 XplatUIX11.cs: Extended the Systray API
8578 * Form.cs: Removed debug output
8579 * Application.cs: Fixed focus assignment, always need to call
8580 XplatUI.Activate() since Form.Activate() has rules that may
8582 * NotifyIcon.cs: Should be complete now
8583 * ToolTip.cs: Worked around possible timer bug
8585 2005-01-27 Jackson Harper <jackson@ximian.com>
8588 - Only invalidate the effected tabs when the
8589 selected index changes. This reduces drawing and gets rid of some
8591 - Only refresh if the tabs need to be shifted, otherwise only
8592 invalidate the slider button.
8593 - On windows the tabs are not filled to right if the slider is
8596 2005-01-27 Jackson Harper <jackson@ximian.com>
8598 * TabControl.cs: Only refresh on mouseup if we are showing the
8599 slider. Also only invalidate the button whose state has changed.
8601 2005-01-26 Peter Bartok <pbartok@novell.com>
8603 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8604 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8605 and SystrayRemove() methods
8606 * XplatUIOSX.cs: Stubbed Systray methods
8608 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8610 - Fixed broken XChangeProperty calls (marshalling messed up things)
8611 * X11Structs.cs: Added enums and structs required for Size hinting
8612 * NotifyIcon.cs: Added & implemented
8614 2005-01-26 Jackson Harper <jackson@ximian.com>
8616 * TabControl.cs: Space vertically layed out tabs properly.
8618 2005-01-26 Peter Bartok <pbartok@novell.com>
8620 * Form.cs (CreateClientParams): Always set the location to 0,0
8621 since we're a child window.
8623 * Control.cs (SetVisibleCore): Always explicitly setting the location
8624 of a toplevel window, apparently X11 doesn't like to move windows
8625 while they're not mapped.
8627 2005-01-26 Jackson Harper <jackson@ximian.com>
8629 * TabControl.cs: Implement FillToRight size mode with vertically
8632 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8634 * ControlPaint.cs, ThemeWin32Classic.cs
8635 - Fixes DrawFocusRectangle
8637 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8640 - MenuBar tracking only starts when item is first clicked
8641 - Fixes menu hidding for multiple subitems
8642 - Unselect item in MenuBar when item Executed
8645 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8648 - IsInputKey for ListBox
8651 - Shift and Control item selection
8652 - Implement SelectionMode.MultiExtended
8655 - IsInputKey implemented
8656 - Do not generate OnTextChangedEdit on internal txt changes
8658 2005-01-23 Peter Bartok <pbartok@novell.com>
8660 * AccessibleObject.cs: Partially implemented Select()
8661 * MonthCalendar.cs: Added missing attributes and events
8662 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8663 form can properly override CreateParams.
8664 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8665 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8666 Control performs Invalidate & Update
8667 * NativeWindow (CreateHandle): Added special handling for Form
8668 and Form.FormParent classes to allow overriding of From.CreateParams
8670 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8672 - ControlNativeWindow: Added Owner property
8673 - Removed usage of Refresh() on property changes, changed into
8674 Invalidate(), we need to wait until the queue is processed for
8675 updates, direct calls might cause problems if not all vars for
8676 Paint are initialized
8677 - Added call to UpdateStyles() when creating the window, to set any
8678 styles that CreateWindow might have ignored.
8679 - Added support for Form CreateParent overrides to UpdateStyles()
8680 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8681 CreateParams are now properly overridable
8682 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8683 CreateParams are now properly overridable
8685 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8687 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8690 Capture LostFocus and OnTextBoxChanged. The later introduces a
8691 recursive invocation that I have not figured out yet.
8693 Reset the timer when not using (it was accumulating).
8696 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8697 user has made changes that require validation.
8699 Reset changing to avoid loops.
8701 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8703 * NumericUpDown.cs: Display value at startup.
8705 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8708 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8709 filled in. Added some basic parsing of text.
8711 Still missing the OnXXX method overrides, and figuring out the
8712 events that must be emitted.
8714 * UpDownBase.cs: Handle UserEdit on the Text property.
8716 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8719 - Fixes IntegralHeight
8722 2005-01-21 Jackson Harper <jackson@ximian.com>
8724 * TabControl.cs: Set the SelectedIndex property when SelectedTab
8725 is set so that the page visibility is updated and the tabs are
8728 2005-01-21 Jackson Harper <jackson@ximian.com>
8730 * TabControl.cs: Use cliping rectangle for blitting. Give the
8731 theme the clipping rect so we can do clipping while
8732 drawing. Remove some debug code.
8734 2005-01-21 Jackson Harper <jackson@ximian.com>
8736 * TabPage.cs: Add a new method so tab pages can force the tab
8737 control to recalculate the tab page sizes.
8738 * TabControl.cs: UpdateOwner needs to make the tab control recalc
8741 2005-01-20 Jackson Harper <jackson@ximian.com>
8743 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8745 2005-01-20 Jackson Harper <jackson@ximian.com>
8747 * TreeView.cs: Set the bounds for nodes properly. They were
8748 getting screwed up when checkboxes were not enabled, but images
8751 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
8754 - Owner draw support
8757 2005-01-20 Jackson Harper <jackson@ximian.com>
8759 * XplatUIStructs.cs: More misc keys
8760 * X11Keyboard.cs: Ignore some control keys.
8762 2005-01-20 Jackson Harper <jackson@ximian.com>
8764 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8765 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8767 2005-01-19 Peter Bartok <pbartok@novell.com>
8769 * Control.cs: Un-selecting the control when it is loosing focus
8771 2005-01-19 Jackson Harper <jackson@ximian.com>
8773 * TreeView.cs: Hook up to the text controls leave event so we can
8774 end editing when the users clicks outside the text box.
8776 2005-01-19 Jackson Harper <jackson@ximian.com>
8778 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8779 get set in the conversion array.
8781 2005-01-19 Peter Bartok <pbartok@novell.com>
8783 * Application.cs (ModalRun): Added a call to CreateControl to ensure
8784 focus is properly set
8786 - Added missing attributes
8787 - removed styles, those are already set in the base class
8789 - Added missing attributes
8790 - Added clip window styles
8791 * CheckBox.cs: Added missing attributes
8793 - FormParentWindow.CreateParams: Added required clip styles
8794 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8795 also filters modifier keys
8797 - Added assignment of Accept and Cancel button to enable Enter
8798 and Esc keys in MessageBox dialogs
8799 - FormParentWindow.CreateParams: Added required clip styles
8800 * RadioButton.cs: Added missing attributes
8801 * TextControl.cs: No longer draws selection if control does not
8804 - Now draws simple rectangle around test area to make it obvious
8805 there's a control. This is a hack until we properly support borders
8806 - A few simple fixes to support selections better, now erases selected
8807 text when typing, and resets selection when using movement keys
8809 2005-01-19 Miguel de Icaza <miguel@ximian.com>
8811 * UpDownBase.cs: Added some new properties.
8813 * DomainUpDown.cs: Implement a lot to get my test working.
8815 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8817 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8819 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8821 * OSXStructs (WindowAttributes): Fixed csc complaints
8823 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8826 OSXStructs.cs: Initial refactor to move enums and consts into
8827 OSXStructs and use them in the driver for greater readability.
8829 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8831 * XplatUIOSX.cs: Initial support for Standard Cursors.
8832 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8834 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
8836 * ComboBox.cs: ability to change style when the ctrl is already
8837 created, missing methods and events, bug fixes, signature fixes
8839 2005-01-19 Peter Bartok <pbartok@novell.com>
8841 * Cursors.cs (ctor): Added ctor to fix signature
8843 2005-01-18 Peter Bartok <pbartok@novell.com>
8845 * Button.cs: Implemented DoubleClick event
8847 - Fixed keyboard handling to behave like MS, where the press of
8848 Spacebar is equivalent to a mousedown, and the key release is
8849 equivalent to mouseup. Now a spacebar push will give the same
8850 visual feedback like a mouse click.
8851 - Added missing attributes
8852 - Added ImeModeChanged event
8853 - Added support for generating DoubleClick event for derived classes
8855 - Implemented DoubleClick event
8856 - Added missing attributes
8857 * CommonDialog.cs: Added missing attribute
8858 * ContextMenu.cs: Added missing attributes
8860 - AutoChecked buttons do not allow to be unselected when clicked
8861 (otherwise we might end up with no selected buttons in a group)
8862 - Added missing attributes
8863 - Implemented DoubleClickEvent
8864 * ThreadExceptionDialog.cs: Enabled TextBox code
8866 2005-01-18 Peter Bartok <pbartok@novell.com>
8868 * Form.cs: Removed debug output
8869 * Button.cs: Added support for DoubleClick method
8871 2005-01-18 Peter Bartok <pbartok@novell.com>
8874 - Added method to parent window that allows triggering size
8875 calculations when a menu is added/removed
8876 - set_Menu: Cleaned up mess from early days of Form and Control,
8877 now properly triggers a recalc when a menu is added/removed
8878 - Added case to select form itself as focused form if no child
8880 - Added PerformLayout call when showing dialog, to ensure properly
8883 - Select(): Made internal so Form can access it
8884 - Focus(): Only call Xplat layer if required (avoids loop), and sets
8886 * Application.cs (Run): Removed hack and calls PerformLayout instead
8887 to trigger calculation when Form becomes visible
8889 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
8891 * ComboBox.cs: fixes for ownerdraw
8893 2005-01-18 Peter Bartok <pbartok@novell.com>
8896 - Sentinel is no longer static, each Document gets it's own, this
8897 avoids locking or alternatively overwrite problems when more
8898 than one text control is used simultaneously.
8899 - Switched to use Hilight and HilightText brushes for text selection
8901 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8903 2005-01-18 Peter Bartok <pbartok@novell.com>
8906 - Hooked up the following events:
8914 o SystemColorsChanged
8917 - Removed debug output
8918 - Added a call to the current theme's ResetDefaults when a color change
8920 * Form.cs: Now setting the proper ImeMode
8921 * Theme.cs: Defined a method to force recreation of cached resources
8922 and rereading of system defaults (ResetDefaults())
8923 * ThemeWin32Classic.cs: Added ResetDefaults() stub
8925 2005-01-17 Peter Bartok <pbartok@novell.com>
8927 * Control.cs: Added missing attributes
8929 2005-01-17 Jackson Harper <jackson@ximian.com>
8931 * TreeNode.cs: Implement editing. Add missing properties selected
8933 * TreeView.cs: Implement node editing. Also some fixes to use
8934 Invalidate (invalid area) instead of Refresh when selecting.
8936 2005-01-17 Peter Bartok <pbartok@novell.com>
8939 - Implemented InvokeGotFocus() method
8940 - Implemented InvokeLostFocus() method
8941 - Implemented InvokePaint() method
8942 - Implemented InvokePaintBackground() method
8943 - Implemented InvokeClick() method
8944 - Implemented FindForm() method
8945 - Implemented RectangleToClient() method
8946 - Implemented ClientToRectangle() method
8947 - Implemented ResetBackColor() method
8948 - Implemented ResetCursor() method
8949 - Implemented ResetFont() method
8950 - Implemented ResteForeColor() method
8951 - Implemented ResetImeMode() method
8952 - Implemented ResetLeftToRight() method
8953 - Implemented ResetText() method
8954 - Implemented Scale() methods
8955 - Implemented ScaleCore() method
8956 - Implemented Update() method
8957 - Removed unused variables
8958 - Stubbed AccessibilityNotifyClients and
8959 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8961 - Now setting proper default for RightToLeft property
8962 - Fixed bug in SetClientSizeCore that would cause windows to get
8964 - Now sending Click/DoubleClick events
8965 - Now selecting controls when left mouse button is clicked on
8967 * AccessibleEvents.cs: Added
8968 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8969 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8970 * XplatUIWin32.cs: Implemented UpdateWindow() method
8971 * XplatUIX11.cs: Implemented UpdateWindow() method
8972 * Form.cs: Removed stray semicolon causing CS0162 warning
8973 * ThemeWin32Classic.cs: Fixed unused variable warnings
8974 * ScrollableControl.cs: Now calls base method for ScaleCore
8975 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8976 style to avoid interference with internal click handler (which is
8977 different than standard Control click handling)
8979 - Now unchecks all sibling radio buttons when control is
8980 selected (Fixes #68756)
8981 - Removed internal tabstop variable, using the one inherited from
8984 2005-01-17 Jackson Harper <jackson@ximian.com>
8986 * NavigateEventArgs.cs: Fix base type.
8987 * LinkLabel.cs: Sig fix
8989 2005-01-17 Jackson Harper <jackson@ximian.com>
8991 * TreeView.cs: Only invalidate the effected nodes bounds when
8994 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8996 * XplatUIWin32.cs: fixes Win32 marshaling
8997 * XplatUIX11.cs: fixes method signature
8999 2005-01-17 Peter Bartok <pbartok@novell.com>
9001 * XplatUIX11.cs: Clean up resources when we no longer need them
9003 2005-01-17 Peter Bartok <pbartok@novell.com>
9005 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9006 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9007 and DestroyCursor() methods.
9008 * Cursor.cs: Partially implemented, now supports standard cursors;
9009 still contains some debug code
9010 * Cursors.cs: Implemented class
9012 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9014 - Implemented Cursor property
9015 - Replaced break; with return; more straightforwar and possibly
9017 - Now properly setting the result for WM_HELP
9018 * X11Structs.cs: Added CursorFontShape enum
9019 * XplatUIStructs.cs:
9020 - Added StdCursor enum (to support DefineStdCursor() method)
9021 - Added HitTest enum (to support sending WM_SETCURSOR message)
9023 - Now sends the WM_SETCURSOR message
9024 - Implemented new cursor methods
9025 * XplatUIOSX.cs: Stubbed new cursor methods
9027 - Implemented new cursor methods
9028 - Added GetSystemMetrics function and associated enumeration
9030 2005-01-15 Peter Bartok <pbartok@novell.com>
9033 - WndProc(): Now handles EnableNotifyMessage
9034 - SelectNextControl(): Fixed bug where if no child or sibling
9035 controls exist we looped endlessly
9037 2005-01-14 Jackson Harper <jackson@ximian.com>
9039 * TreeView.cs: Recalculate the tab pages when a new one is added
9040 so that the proper bounding rects are created.
9042 2005-01-14 Jackson Harper <jackson@ximian.com>
9044 * TreeView.cs: Draw a gray box instead of a grip in the lower
9045 right hand corner when there are both horizontal and vertical
9048 2005-01-14 Jackson Harper <jackson@ximian.com>
9050 * Control.cs: When erasing backgrounds use FromHwnd instead of
9051 FromHdc when there is a NULL wparam. This occurs on the X driver.
9052 * XplatUIX11.cs: Set the wparam to NULL.
9054 2005-01-13 Jackson Harper <jackson@ximian.com>
9056 * PictureBox.cs: Implement missing methods (except ToString, need
9057 to test that on windows) and events. When visibility is changed we
9058 need to redraw the image because the buffers are killed. When size
9059 is changed refresh if the sizemode needs it.
9061 2005-01-13 Peter Bartok <pbartok@novell.com>
9063 * Control.cs (SelectNextControl): Was using wrong method to select
9066 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9068 * ComboBox.cs: fixes dropstyle
9070 2005-01-13 Peter Bartok <pbartok@novell.com>
9073 - Implemented Select() override
9074 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9075 - Now sets keyboard focus on startup
9076 * Control.cs (SelectNextControl): Now properly handles directed=true
9078 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9079 - Added (really bad) focus rectangle (mostly for testing)
9080 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9081 to enforce redraw on focus changes
9082 * ContainerControl.cs:
9083 - Fixed detection of Shift-Tab key presses
9084 - Fixed traversal with arrow keys
9085 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9086 gonna keep this or if it's complete yet
9088 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9090 * ComboBox.cs: missing properties, fixes
9092 2005-01-13 Peter Bartok <pbartok@novell.com>
9094 * Panel.cs (ctor): Setting Selectable window style to off
9095 * Splitter.cs (ctor): Setting Selectable window style to off
9096 * GroupBox.cs (ctor): Setting Selectable window style to off
9097 * Label.cs (ctor): Setting Selectable window style to off
9099 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9101 * UpDownBase.cs (InitTimer): If the timer has been already
9104 Use a TextBox instead of a Label.
9106 2005-01-12 Jackson Harper <jackson@ximian.com>
9108 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9109 draw the connecting node lines (when ShowLines is true).
9110 * TreeNode.cs: The nodes index can now be updated. This is used
9111 when a node collection is sorted.
9112 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9113 insert or an existing unsorted node collection can be sorted.
9115 2005-01-12 Peter Bartok <pbartok@novell.com>
9117 * ContainerControl.cs: Implemented ProcessDialogKeys()
9119 2005-01-12 Peter Bartok <pbartok@novell.com>
9122 - Implemented SelectNextControl() method
9123 - Several focus related bug fixes
9124 - Fixed Docking calculations to match MS documentation and
9127 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9129 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9132 2005-01-12 Peter Bartok <pbartok@novell.com>
9135 - Fixed broken Contains() method
9136 - Implemented GetNextControl() method. Finally. This is the pre-
9137 requisite for focus handling.
9139 2005-01-12 Peter Bartok <pbartok@novell.com>
9141 * OSXStrucs.cs: Added
9143 2005-01-12 Peter Bartok <pbartok@novell.com>
9146 - Removed PeekMessageFlags
9147 - Implemented SetWindowStyle() method
9148 * XplatUIStructs.cs: Added PeekMessageFlags
9149 * X11Structs: Added missing border_width field to XWindowChanges struct
9151 - PeekMessage: Now throws exception if flags which are not yet
9152 supported are passed
9153 - Implemented SetWindowStyle() method
9154 - Fixed SetZOrder to handle AfterHwnd properly
9155 * XplatUI.cs: Added SetWindowStyle() method
9156 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9158 - Implemented UpdateStyles() method
9159 - Implemented UpdateZOrder() method
9160 * XplatUIOSX.cs: Added SetWindowStyle() stub
9162 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9164 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9168 2005-01-11 Jackson Harper <jackson@ximian.com>
9170 * TreeView.cs: Still need to draw lines to siblings even if out of
9171 the current node is out of the clip.
9173 2005-01-11 Jackson Harper <jackson@ximian.com>
9175 * TreeView.cs: When setting the hbar/vbar/grip position use
9176 SetBounds so that perform layout is only called once. Also suspend
9177 and resume layout so layout is only done once for all controls.
9178 - Removed some debug fluff
9179 * SizeGrip.cs: Call base implmentation in overriding methods.
9180 - When visibility is changed the drawing buffers are killed so we
9183 2005-01-11 Jackson Harper <jackson@ximian.com>
9185 * TreeView.cs: Calculate the open node count while drawing. This
9186 saves us an entire tree traversal for every paint operation. Use
9187 a member var for the open node count so less vars are passed around.
9189 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9192 - fixed selection to use mousemove, not mouse polling on timer
9193 * ThemeWin32Classic.cs
9194 - removed redundant unused variable "no_more_content"
9196 2005-01-11 Peter Bartok <pbartok@novell.com>
9198 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9199 are pending, so it now calls PeekMessage instead of GetMessage;
9200 implemented a incomplete version of PeekMessage
9202 2005-01-11 Peter Bartok <pbartok@novell.com>
9204 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9206 * TextBoxBase.cs: Added sending of TextChanged event
9208 2005-01-10 Jackson Harper <jackson@ximian.com>
9210 * TreeView.cs: Try not to draw outside the clipping rectangle on
9213 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9215 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9217 2005-01-10 Jackson Harper <jackson@ximian.com>
9220 - Implement fast scrolling. Now only the newly
9221 exposed nodes are drawn and the old image is moved using the
9222 XplatUI::ScrollWindow method.
9223 - Factor in height of nodes when calculating whether or not the
9224 node is in the clipping rect.
9226 2005-01-10 Jackson Harper <jackson@ximian.com>
9228 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9230 2005-01-10 Peter Bartok <pbartok@novell.com>
9232 * Application.cs: Added temporary hack to resolve all our resize
9233 required issues on startup. This will get fixed properly at
9234 some point in the future
9236 2005-01-10 Jackson Harper <jackson@ximian.com>
9238 * SizeGrip.cs: New internal class that is used as a sizing
9239 grip control...hence the name.
9241 2005-01-10 Peter Bartok <pbartok@novell.com>
9243 * Control.cs: Implemented proper TabIndex handling, now assigning
9244 a tabindex when a control is added to a container
9245 * GroupBox.cs (ctor): Now sets the Container style bit, required
9246 for Control.GetNextControl()
9248 2005-01-09 Jackson Harper <jackson@ximian.com>
9250 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9252 2005-01-09 Peter Bartok <pbartok@novell.com>
9254 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9255 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9256 an overload for ScrollWindow to allow only scrolling a rectangle
9258 2005-01-09 Peter Bartok <pbartok@novell.com>
9261 - Implemented SetDesktopBounds method
9262 - Implemented SetDesktopLocation method
9264 2005-01-08 Jackson Harper <jackson@ximian.com>
9266 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9267 the node count has changed, this removes to VScroll::Refresh calls
9270 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9272 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9274 2005-01-07 Jackson Harper <jackson@ximian.com>
9276 * TreeNode.cs: Just update the single node when it is
9277 checked. Don't refresh after toggling, the Expand/Collapse already
9279 * TreeView.cs: Respect clipping a little more when drawing. Try
9280 not to redraw things that don't need to be redrawn. Just hide the
9281 scrollbars when they are no longer needed instead of removing
9282 them, so they don't have to be created again and again.
9284 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9286 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9287 coordinates to window space to place the caret properly, FIXED.
9288 Implement GetWindowState & SetWindowState
9290 2005-01-06 Peter Bartok <pbartok@novell.com>
9293 - Implemented ClientSize property
9294 - Implemented DesktopBounds property
9295 - Implemented DesktopLocation property
9296 - Implemented IsRestrictedWindow property
9297 - Implemented Size property
9298 - Implemented TopLevel property
9299 - Implemented FormWindowState property
9301 - Implemented GetTopLevel() method
9302 - Implemented SetTopLevel() method
9303 * X11Structs.cs (Atom):
9304 - Added AnyPropertyType definition
9305 - Added MapState definiton and updated XWindowAttribute struct
9306 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9307 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9308 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9310 - Implemented GetWindowState() and SetWindowState() methods
9311 - Fixed Win32GetWindowLong return type
9313 - Introduced central function for sending NET_WM messages
9314 - Implemented GetWindowState() and SetWindowState() methods
9315 * TextBoxBase.cs (set_Lines):
9316 - Now uses Foreground color for text added via Text property (Duh!)
9317 - Added code to remember programmatically requested size (fixes
9318 behaviour when Multiline is set after Size)
9319 - Added AutoSize logic
9321 2005-01-06 Jackson Harper <jackson@ximian.com>
9323 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9325 2005-01-06 Jackson Harper <jackson@ximian.com>
9327 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9330 2005-01-06 Jackson Harper <jackson@ximian.com>
9332 * ScrollableControl.cs: Lazy init the scrollbars.
9334 2005-01-06 Jackson Harper <jackson@ximian.com>
9336 * Theme.cs: Speed up getting pens and solid brushes, by using
9337 their ARGB as a hash instead of tostring and not calling Contains.
9339 2005-01-06 Peter Bartok <pbartok@novell.com>
9342 - Implemented OnActivated and OnDeactivate event trigger
9343 - Implemented Activate() method
9344 - Fixed ShowDialog() to activate the form that was active before
9345 the dialog was shown
9347 - Added global active_window var that tracks the currently active
9349 - Now always grabs Property changes from the root window to always
9350 catch changes on the active window property
9351 - Added code to PropertyNotify handler to send Active/Inactive
9352 messages when state changes. This puts X11 and Win32 en par on
9353 WM_ACTIVATE notifications (except for double notifications when
9354 the user clicks away from our modal window to another one of our
9357 2005-01-05 Jackson Harper <jackson@ximian.com>
9359 * ImageList.cs: Implment ctor
9361 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9363 * XplatUIOSX.cs: Implement Activate/SetTopmost
9365 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9367 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9369 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9371 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9373 2005-01-05 Peter Bartok <pbartok@novell.com>
9375 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9376 XplatUIOSX.cs: Added GetActive method to return the currently
9377 active window for the application (or null, if none is active)
9379 - Implemented ActiveForm
9380 - Commented out owner assignment for modal dialogs (causes problems
9381 on Win32, since the owner will be disabled)
9382 - Reworked some Active/Focus handling (still incomplete)
9383 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9384 (causes problems on Win32, since the owner will be disabled)
9385 * IWin32Window: Added ComVisible attribute
9387 2005-01-05 Peter Bartok <pbartok@novell.com>
9389 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9390 required XplatUI functions.
9392 2005-01-05 Peter Bartok <pbartok@novell.com>
9394 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9395 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9396 to implement focus and activation handling; still incomplete and
9399 2005-01-04 Peter Bartok <pbartok@novell.com>
9401 * TextBoxBase.cs: Changed access level for Document property to
9402 match switch to internal for TextControl
9404 2005-01-04 Peter Bartok <pbartok@novell.com>
9406 * AccessibleObject: Added ComVisible attribute
9408 2005-01-04 Jackson Harper <jackson@ximian.com>
9410 * X11Keyboard.cs: Remove unneeded var.
9412 2005-01-04 Jackson Harper <jackson@ximian.com>
9414 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9416 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9417 ClientMessage. This makes apps exit cleanly (more often).
9419 2005-01-04 Jackson Harper <jackson@ximian.com>
9421 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9422 handling focus, return correct colors and fonts,
9423 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9424 handle selection, horizontal scrolling, and mouse interaction.
9426 2005-01-04 Peter Bartok <pbartok@novell.com>
9428 * ICommandExecutor.cs: Added
9429 * IDataGridColumnStyleEditingNotificationService.cs: Added
9430 * IFeatureSupport.cs: Added
9431 * IFileReaderService.cs: Added
9432 * IDataObject.cs: Added ComVisible attribute
9433 * AmbientProperties.cs: Added
9434 * BaseCollection.cs: Added missing attributes
9435 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9436 * BaseCollection.cs: Added missing attributes
9437 * Binding.cs: Added TypeConverter attribute
9438 * BindingContext.cs: Added DefaultEvent attribute
9439 * BindingsCollection.cs: Added DefaultEvent attribute
9440 * Button.cs: Added DefaultValue attribute
9441 * DragEventArgs.cs: Added ComVisible attribute
9442 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9443 * KeyEventArgs.cs: Added ComVisible attribute
9444 * KeyPressEventArgs.cs: Added ComVisible attribute
9445 * MouseEventArgs.cs: Added ComVisible attribute
9446 * NavigateEventArgs.cs: Added
9447 * NavigateEventHandler.cs: Added
9448 * FeatureSupport.cs: Added
9449 * OSFeature.cs: Added
9450 * Theme.cs: Added abstract Version property to support OSFeature
9451 * ThemeWin32Classic.cs: Added Version property to
9452 support OSFeature.Themes
9453 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9454 the proper styles to avoid background drawing are set, also doesn't
9456 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9457 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9458 * ScrollEventArgs.cs: Added ComVisible attribute
9459 * SplitterEventArgs.cs: Added ComVisible attribute
9460 * AccessibleSelection.cs: Added Flags attribute
9461 * Appearance.cs: Added ComVisible attribute
9462 * Border3DSide.cs: Added ComVisible attribute
9463 * Border3DStyle.cs: Added ComVisible attribute
9464 * BorderStyle.cs: Added ComVisible attribute
9465 * DragAction.cs: Added ComVisible attribute
9466 * ErrorBlinkStyle.cs: Added
9467 * ScrollEventType.cs: Added ComVisible attribute
9468 * AnchorStyles.cs: Added Editor attribute
9469 * DockStyle.cs: Added Editor attribute
9470 * HorizontalAlignment.cs: Added ComVisible attribute
9471 * HelpEventArgs.cs: Added ComVisible attribute
9472 * PaintEventArgs.cs: Added IDisposable
9474 2005-01-04 Peter Bartok <pbartok@novell.com>
9476 * TextControl.cs: Switched Line, LineTag and Document classes to
9479 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9481 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9482 Simple mode, fixes, IntegralHeight, etc.
9484 2005-01-04 Peter Bartok <pbartok@novell.com>
9486 * TextBoxBase.cs: Using proper font variable now
9488 2005-01-04 Peter Bartok <pbartok@novell.com>
9490 * Form.cs (ShowDialog): Set parent to owner, if provided
9491 * GroupBox.cs: Removed unused vars
9493 - Added GetHashCode() for Document and LineTag classes
9494 - Removed unused variables
9495 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9496 to allow translation between continuous char position and line/pos
9497 * CheckBox.cs: Removed vars that are provided by base class
9498 * RadioButton.cs: Removed vars that are provided by base class, added
9499 new keyword where required
9500 * LinkLabel.cs: Added new keyword where required
9501 * Control.cs (WndProc): Removed unused variable
9503 - Finished SelectionLength property
9504 - Implemented SelectionStart property
9505 - Implemented Text property
9506 - Removed unused vars
9507 * MessageBox.cs: Added new keyword where required
9508 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9510 * MenuAPI.cs: Added new keyword where required
9511 * ButtonBase.cs: Removed vars that are provided by base class, added
9512 new keyword where required
9513 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9514 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9516 * Application.cs (Run): Now triggers the ThreadExit event
9517 * CommonDialog.cs: Added new keyword where required; now properly sets
9518 parent (owner) for dialog
9519 * XplatUIX11.cs: Commented out unused vars
9520 * StatusBar.cs: Fixed signature for Text property
9521 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9523 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9525 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9526 TrackBar.cs, MonthCalendar.cs: remove unused vars
9528 2005-01-03 Jackson Harper <jackson@ximian.com>
9530 * ThemeWin32Classic.cs:
9531 * X11Keyboard.cs: Remove unused vars.
9533 2005-01-03 Peter Bartok <pbartok@novell.com>
9536 - set_Text: Tied into TextControl
9537 - set_TextAlignment: Tied into TextControl
9539 - Added alignment properties and implemented alignment handling
9540 and drawing (still has a bug, not generating proper expose events)
9541 - Added new Line() constructor to allow passing the line alignment
9542 - Fixed selection setting, properly handling end<start now
9543 - Added aligment considerations to RecalculateDocument()
9545 - Now properly enforces control height for single line controls
9546 - Added support for CharacterCasing
9547 - Added IsInputKey override
9548 - Fixed Keys.Enter logic
9549 - Added SetBoundsCore override
9550 - Fixed mouse selection handling
9552 2005-01-03 Jackson Harper <jackson@ximian.com>
9555 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9556 - Checkboxes are always aligned to the bottom of the node,
9557 regardless of item height.
9558 - Use the node bounds to draw the text so we can center it when
9559 the item height is greater then the font height.
9560 - Node::Bounds are only the text part of the node.
9561 * TreeNode.cs: New method to combine collapsing and unchecking all
9564 2005-01-02 Jackson Harper <jackson@ximian.com>
9566 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9567 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9568 tree when a check is changed. TODO: Only refresh the checked node.
9570 2004-12-30 Jackson Harper <jackson@ximian.com>
9572 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9573 * TreeNode.cs: When collapsing make sure to never collapse the
9576 2004-12-29 Jackson Harper <jackson@ximian.com>
9578 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9580 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
9582 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9584 2004-12-28 Peter Bartok <pbartok@novell.com>
9586 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9589 2004-12-28 Peter Bartok <pbartok@novell.com>
9591 * Control.cs (WndProc): Added WM_HELP handler, now generates
9593 * Form.cs: Added HelpButton property and required support code
9594 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9596 2004-12-28 Peter Bartok <pbartok@novell.com>
9599 - Made DialogForm.owner variable internal
9600 - Added check to ensure owner form is set before setting
9601 owner properties in CreateParams
9603 2004-12-28 Geoff Norton <gnorton@customerdna.com>
9605 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
9606 swizzling. Implement ClientToScreen and ScreenToClient. Implement
9607 GetCursorPos. Fix major visibility issues. Rework the windowing
9608 system to support borderless/titleless windows (implements menus).
9609 Fix GetWindowPos. Implement initial background color support for
9612 2004-12-28 Peter Bartok <pbartok@novell.com>
9614 * Form.cs (get_CreateParams): Make sure we have an owner before using
9615 the owner variable. Implement proper default if no owner exists
9617 2004-12-28 Peter Bartok <pbartok@novell.com>
9619 * In preparation for making Managed.Windows.Forms the default build target
9620 for System.Windows.Forms, the following stubbed files were added.
9621 Dialogs are currently being implemented by contributors and are only
9622 short-term place holders.
9623 * ColorDialog.cs: Initial check-in (minmal stub)
9624 * DataGrid.cs: Initial check-in (minimal stub)
9625 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9626 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9627 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9628 * FontDialog.cs: Initial check-in (minimal stub)
9629 * FileDialog.cs: Initial check-in (minimal stub)
9630 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9631 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9632 * OpenFileDialog: Initial check-in (minimal stub)
9633 * IComponentEditorPageSite.cs: Initial check-in
9634 * Splitter.cs: Initial check-in (for Jackson)
9635 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9636 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9637 * TextBox.cs: Initial check-in; still needs some wiring to
9639 * Form.cs: Implemented ControlBox property
9640 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9641 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9642 * TextControl.cs: Added selection functionality; added todo header
9644 - Implemented Lines property
9645 - Implemented TextHeight property
9646 - Implemented SelectedText property
9647 - Implemented SelectionLength property
9648 - Implemented SelectAll method
9649 - Implemented ToString method
9650 - Removed and cleaned up some debug code
9651 - Implemented (still buggy) mouse text selection
9653 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9655 * ComboBox.cs: Complete DropDownList implementation, fixes.
9657 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9659 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9660 * ComboBoxStyle.cs: ComboBoxStyle enum
9661 * ComboBox.cs: Initial work on ComboBox control
9663 2004-12-21 Peter Bartok <pbartok@novell.com>
9665 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9666 forward so that anything that creates a window gets the default,
9667 also no longer uses Visible property in CreateParams to avoid
9668 walking up the parent chain and possibly get the wrong visible
9669 status. Fixed IsVisible to no longer walk up to the parent.
9671 2004-12-21 Peter Bartok <pbartok@novell.com>
9673 * Form.cs (ShowDialog): Unset modality for the proper window
9675 2004-12-20 Peter Bartok <pbartok@novell.com>
9677 * CommonDialog.cs: Initial check-in
9679 2004-12-20 Peter Bartok <pbartok@novell.com>
9681 * Control.cs (Visible): Now uses the parent window instead of the
9682 client area window for the property
9685 - ShowDialog(): Now uses the proper window for modality
9686 - The default visibility state for the form parent is now false. This
9687 will prevent the user from seeing all the changes to the form and
9688 its controls before the application hits Application.Run()
9689 - Removed some stale commented out code
9692 - Added FindWindow() method to have a method to check for existence
9694 - Added ability to override default exception handling (for example
9695 when debugging with VS.Net; to do this the ExternalExceptionHandler
9697 - Removed some useless debug output
9700 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9701 not working as expected
9702 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9703 property to allow switching back to the modal window if focus is
9704 given to another one of our windows (Application Modal)
9705 - Now only sets override_redirect if we create a window
9707 - Moved EventMask selection before mapping of newly created window
9708 so we can catch the map event as well
9709 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9710 - Added various Atom related DllImports
9711 - Implemented Exit() method
9712 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9715 * MessageBox.cs: Now properly deals with the FormParent window by
9716 providing an override the FormParent CreateParams property to
9717 set as POPUP instead of OVERLAPPED window.
9719 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9721 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
9724 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9726 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9728 2004-12-18 Peter Bartok <pbartok@novell.com>
9730 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9731 implementing SetModal() method
9733 2004-12-18 Peter Bartok <pbartok@novell.com>
9735 * X11Structs.cs (XGCValues): Fixed type of function element
9736 * XplatUI.cs: Added ScrollWindow() method
9737 * XplatUIDriver.cs: Added ScrollWindow() abstract
9738 * XplatUIWin32.cs: Implemented ScrollWindow() method
9739 * XplatUIX11.cs: Implemented ScrollWindow() method
9740 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9742 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9744 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
9745 Some more keyboard support (INCOMPLETE)
9747 2004-12-17 Peter Bartok <pbartok@novell.com>
9750 - Added color attribute to line tags.
9751 - Added color argument to all functions dealing with tags
9752 - Added color argument support to various functions
9753 - Fixed miss-calculation of baseline/shift in certain circumstances
9755 * TextBoxBase.cs: Added new color option to test code
9757 2004-12-17 Jackson Harper <jackson@ximian.com>
9760 * MonthCalendar.cs: Signature fixes
9762 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9764 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9765 keyboard event moved it. Create a new graphics context for each paint resolves this
9767 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9769 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9770 Make caret exist and go blink blink. Initial keyboard support.
9771 Fix exception handler, Add Invalidate support. Change way RefreshWindow
9774 2004-12-17 Jackson Harper <jackson@ximian.com>
9776 * XplatUIStructs.cs: Updated set of virtual keycodes.
9777 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9779 2004-12-17 Jackson Harper <jackson@ximian.com>
9781 * XplatUIX11.cs: Prune old keyboard code.
9783 2004-12-17 Jackson Harper <jackson@ximian.com>
9785 * XplatUIX11.cs: When generating mouse wparams get the modifier
9786 keys from the ModifierKeys property.
9788 2004-12-17 Jackson Harper <jackson@ximian.com>
9790 * X11Keyboard.cs: Send up/down input when generating
9791 messages. Remove some unused vars.
9793 2004-12-17 Jackson Harper <jackson@ximian.com>
9796 * TreeView.cs: get rid of warnings.
9798 2004-12-17 Jackson Harper <jackson@ximian.com>
9800 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9802 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
9804 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9805 CheckedListBox.cs: Implementation
9807 2004-12-17 Peter Bartok <pbartok@novell.com>
9809 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9811 2004-12-16 Peter Bartok <pbartok@novell.com>
9814 - InsertCharAtCaret(): Fixed start pos fixup
9815 - CaretLine_get: No longer derives the line from the tag, the tag
9816 could be stale if lines in the document have been added or deleted
9817 - RebalanceAfterDelete(): Fixed bug in balancing code
9818 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9819 - Line.Streamline(): Now can also elminate leading empty tags
9820 - DumpTree(): Added a few more tests and prevented exception on
9822 - Added Debug section for Combining lines
9823 - Delete(): Now copies all remaining properties of a line
9826 - Left mousebutton now sets the caret (and middle button still acts
9827 as formatting tester, which must go away soon)
9828 - Added Debug section for Deleting/Combining lines
9829 - Fixed calculations for UpdateView after Combining lines
9831 2004-12-16 Peter Bartok <pbartok@novell.com>
9833 * TextControl.cs: Now properly aligns text on a baseline, using the
9834 new XplatUI.GetFontMetrics() method. Simplified several calculations
9835 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9838 2004-12-16 Peter Bartok <pbartok@novell.com>
9840 * XplatUI.cs: Added GetFontMetrics() method
9841 * XplatUIDriver.cs: Added GetFontMetrics() abstract
9842 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9843 into libgdiplus, our private GetFontMetrics function
9844 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9845 * XplatUIWin32.cs: Implemented GetFontMetrics() method
9847 2004-12-16 Jackson Harper <jackson@ximain.com>
9849 * XplatUIStruct.cs: Add enum for dead keys
9850 * X11Keyboard.cs: Map and unmap dead keys.
9852 2004-12-16 Jackson Harper <jackson@ximian.com>
9854 * X11Keyboard.cs: Detect and use the num lock mask.
9856 2004-12-16 Peter Bartok <pbartok@novell.com>
9858 * Control.cs (CreateGraphics): Added check to make sure the
9859 handle of the window exists before calling Graphics.FromHwnd()
9861 2004-12-16 Peter Bartok <pbartok@novell.com>
9863 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9864 contains a lot of code that's not supposed to be there for the
9865 real thing, but required for developing/testing the textbox
9868 2004-12-16 Peter Bartok <pbartok@novell.com>
9871 - Fixed Streamline method
9872 - Added FindTag method to Line
9873 - Added DumpTree method for debugging
9874 - Added DecrementLines() method for deleting lines
9875 - Fixed UpdateView to update the cursor to end-of-line on single-line
9877 - Added PositionCaret() method
9878 - Fixed MoveCaret(LineDown) to move into the last line, too
9879 - Added InsertChar overload
9880 - Fixed InsertChar tag offset calculations
9881 - Added DeleteChar() method
9882 - Added Combine() method for folding lines
9883 - Fixed Delete() method, no longer allocates wasted Line object and
9884 now copies all properties when swapping nodes
9885 - Delete() method now updates document line counter
9887 2004-12-15 Jackson Harper <jackson@ximian.com>
9889 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9890 * X11Keyboard.cs: Expose the currently selected modifier keys
9893 2004-12-15 Peter Bartok <pbartok@novell.com>
9895 * TextControl.cs: Initial check-in. Still incomplete
9897 2004-12-15 Jackson Harper <jackson@ximian.com>
9900 * TreeView.cs: Fix build on csc (second time today ;-))
9902 2004-12-15 Jackson Harper <jackson@ximian.com>
9904 * TreeView.cs: Store the treenodes plus/minus box bounds when it
9905 is calculated and use this for click testing.
9906 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9908 2004-12-15 Jackson Harper <jackson@ximian.com>
9910 * TreeView.cs: Pass the nodes image index to the image list when
9913 2004-12-15 Jackson Harper <jackson@ximian.com>
9915 * X11Keyboard.cs: Set messages hwnd.
9916 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9919 2004-12-15 Jackson Harper <jackson@ximian.com>
9921 * X11Keyboard.cs: Fix to compile with csc.
9923 2004-12-15 Jackson Harper <jackson@ximian.com>
9925 * X11Structs.cs: Add key mask values
9926 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9927 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9928 down/up foo into WM_CHAR foo
9929 * KeyboardLayouts.cs: Common keyboard layouts
9930 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9931 post messages into the main queue.
9933 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9935 * Button.cs: implement ProcessMnemonic
9936 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9938 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9939 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9941 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9943 * MonthCalendar.cs: Implemented click-hold for next/previous month
9946 2004-12-11 Peter Bartok <pbartok@novell.com>
9949 - Added XKeyboardState (moved from XplatUIX11.cs)
9950 - Added XCreateGC related enums and structures
9951 - Added GXFunction for XSetFunction
9953 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9955 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9956 CaretVisible() calls
9958 * ToolTip.cs: Added code to prevent stealing focus from app windows
9960 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9961 DestroyCaret, SetCaretPos and CaretVisible)
9964 - Added implementation for caret functions
9965 - Moved hover variables into a struct, to make it a bit easier
9966 on the eyes and to debug
9967 - Removed XKeyboardState (moved to XplatUIX11.cs)
9968 - Moved Keyboard properties into the properties region
9970 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9971 call to get a graphics context for our control
9973 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9975 * TreeView.cs: Fixed bug. No matter what color was set it would always
9976 return SystemColors.Window
9978 * XplatUIWin32.cs: Implemented caret overrides
9980 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9982 * ListBox.cs: fire events, implement missing methods and properties,
9985 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9987 * MonthCalendar.cs: invalidation bug fixing
9988 * ThemeWin32Classic.cs: paint fixing
9990 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9992 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9993 prepare the CGContextRef there now.
9995 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9998 - optimisationL only invalidate areas that have changed
9999 * ThemeWin32Classic.cs:
10000 - only paint parts that intersect with clip_area
10002 2004-12-09 Peter Bartok <pbartok@novell.com>
10004 * Application.cs: Undid changes from r37004 which cause problems
10007 2004-12-09 Ravindra <rkumar@novell.com>
10009 * ToolBar.cs: Added support for displaying ContextMenu
10010 attached to a button on ToolBar.
10011 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10014 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10016 * Label.cs: autosize works in text change and removes unnecessary
10019 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10021 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10024 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10026 * XplatUIOSX.cs: Added mouse move/click/grab support
10027 Remove some debugging WriteLines not needed anymore.
10028 Add window resizing/positioning.
10029 Fix visibility on reparenting.
10031 2004-12-08 Peter Bartok <pbartok@novell.com>
10033 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10035 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10037 * XplatUIOSX.cs: Initial checkin
10038 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10040 2004-12-03 Ravindra <rkumar@novell.com>
10042 * ListView.cs: Added some keybindings and fixed scrolling.
10043 ScrollBars listen to ValueChanged event instead of Scroll
10044 Event. This would let us take care of all changes being
10045 done in the scrollbars' values programmatically or manually.
10046 * ListView.cs (CanMultiselect): Added a check for shift key.
10047 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10048 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10049 of ListViewSubItemCollection as well.
10051 2004-12-06 Peter Bartok <pbartok@novell.com>
10053 * Control.cs (Parent): Added check and exception to prevent
10056 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10058 * ListBox.cs: implemented clipping, selection single and multiple,
10061 2004-12-03 Ravindra <rkumar@novell.com>
10063 * ListView.cs (ListView_KeyDown):
10064 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10065 when CTRL key is pressed.
10066 * ListViewItem.cs (Selected): Fixed setting the property.
10068 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10070 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10072 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10073 MinimizeBox, ShowInTaskbar, TopMost properties.
10075 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10076 will be implemented).
10078 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10080 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10082 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10085 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10087 * TreeView.cs: BackColor is Colors.Window.
10089 2004-12-01 Jackson Harper <jackson@ximian.com>
10091 * TreeView.cs: When resizing the tree if the user is making it
10092 smaller we don't get expose events, so we need to handle adding
10093 the horizontal scrollbar in the size changed handler as well as
10094 the expose handler.
10096 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10098 * DrawItemState.cs: fixes wrong enum values
10100 2004-12-01 Jackson Harper <jackson@ximian.com>
10102 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10104 2004-12-01 Jackson Harper <jackson@ximian.com>
10106 * NodeLabelEditEventArgs.cs:
10107 * NodeLabelEditEventHandler.cs:
10108 * OpenTreeNodeEnumerator.cs:
10110 * TreeNodeCollection.cs:
10112 * TreeViewAction.cs:
10113 * TreeViewCancelEventArgs.cs:
10114 * TreeViewCancelEventHandler.cs:
10115 * TreeViewEventArgs.cs:
10116 * TreeViewEventHandler.cs: Initial implementation.
10118 2004-12-01 Ravindra <rkumar@novell.com>
10120 * ListView.cs (CalculateListView): Fixed scrolling related
10121 calculations. Also, removed some debug statements from other
10123 * ListViewItem.cs: Changed access to 'selected' instance variable
10124 from private to internal.
10125 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10127 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10129 * ThemeWin32Classic.cs: remove cache of brush and pens for
10130 specific controls and use the global system, fixes scrollbutton
10131 bugs (for small sizes, disabled, etc)
10133 * ScrollBar.cs: does not show the thumb for very small controls
10134 (as MS) and allow smaller buttons that the regular size
10136 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10138 * UpDownBase.cs: Add abstract methods for the interface.
10139 Add new virtual methods (need to be hooked up to TextEntry when it
10141 Add override methods for most features.
10142 Computes the size, forces the height of the text entry.
10144 * NumericUpDown.cs: Put here the current testing code.
10146 * Set eol-style property on all files that do not have mixed line
10147 endings, to minimize the future problems. There are still a few
10148 files with mixed endings, and someone should choose whether they
10149 want to move it or not.
10151 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10153 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10156 2004-11-30 Ravindra <rkumar@novell.com>
10158 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10159 drawing and replaced use of SystemColors by theme colors.
10160 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10161 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10162 same ListViewItem is being added more than once.
10164 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10166 * MonthCalendar.cs:
10167 - ControlStyles love to make the control not flicker
10169 2004-11-30 Peter Bartok <pbartok@novell.com>
10171 * CharacterCasing.cs: Added
10173 2004-11-29 Peter Bartok <pbartok@novell.com>
10175 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10176 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10177 I am removing these files as they conflict with already completed
10178 work. While it is fantastic to get contributions to MWF, I
10179 respectfully ask that everyone please coordinate their contributions
10180 through mono-winforms-list or #mono-winforms at this time. We're
10181 explicitly avoiding stubbing and don't want controls that don't have
10182 their basic functionality implemented in svn. Please also see
10183 http://www.mono-project.com/contributing/winforms.html
10186 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10188 * Application.cs (ModalRun): Don't hang after exit.
10190 * Theme.cs: New TreeViewDefaultSize property.
10192 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10193 with less hardcoded SystemColors constant.
10194 Implemented TreeViewDefaultSize.
10196 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10197 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10200 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10202 * MonthCalendar.cs:
10203 - Fix NextMonthDate and PrevMonthDate click moving calendar
10205 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10207 * MonthCalendar.cs:
10208 - Fix usage of ScrollChange Property when scrolling months
10210 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10212 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10213 - Fixes menu destroying
10214 - Support adding and removing items on already created menus
10216 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10218 * MonthCalendar.cs:
10219 - Re-worked all bolded dates handling to match win32
10220 * ThemeWin32Classic.cs:
10221 - Fixed rendering with bolded dates
10223 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10225 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10226 - Horizontal scroolbar
10231 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10233 * MonthCalendar.cs:
10234 - Fix Usage of MaxSelectionCount from SelectionRange
10235 - Fixed Shift + Cursor Selection
10236 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10237 - Fixed normal cursor selection to be compat with win32
10238 - Fixed Shift + Mouse Click selection
10240 2004-11-24 Peter Bartok <pbartok@novell.com>
10242 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10243 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10245 - CreatedKeyBoardMsg now updates keystate with Alt key
10246 - Added workaround for timer crash to CheckTimers, Jackson will
10247 develop a proper fix and check in later
10248 - Implemented DispatchMessage
10249 - Removed calling the native window proc from GetMessage (call
10250 now moved to DispatchMessage)
10252 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10253 the keydata (Fixes bug #69831)
10256 - (DispatchMessage): Switched to return IntPtr
10257 - Added DllImport for SetFocus
10259 2004-11-24 Ravindra <rkumar@novell.com>
10261 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10262 background drawing.
10263 * ListViewItem.cs: Fixed various properties, calculations
10264 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10265 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10266 and some internal properties. Fixed MouseDown handler and Paint
10269 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10271 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10273 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10275 * ContainerControl.cs: correct accidental check in of local changes
10277 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10279 * ThemeWin32Classic.cs:
10280 - Fixed Drawing Last month in grid (sometimes not showing)
10281 * MonthCalendar.cs:
10282 - Fixed title width calculation bug (makeing title small)
10284 2004-11-23 Peter Bartok <pbartok@novell.com>
10287 - Added generation of WM_MOUSEHOVER event
10288 - Added missing assignment of async_method atom
10289 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10291 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10293 * ThemeWin32Classic.cs:
10294 - Fixed Drawing of today circle when showtodaycircle not set
10295 - fixed drawing of first and last month in the grid (gay dates)
10296 * MonthCalendar.cs:
10297 - Fixed Drawing of today circle
10298 - Fixed drawing of grady dates
10299 - Fixed HitTest for today link when ShowToday set to false
10300 - Fixed DefaultSize to obey ShowToday
10302 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10304 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10305 * System.Windows.Forms/Theme.cs
10306 * MonthCalendar.cs: added for MonthCalendar
10307 * SelectionRange.cs: added for MonthCalendar
10308 * Day.cs: added for MonthCalendar: added for MonthCalendar
10309 * DateRangeEventArgs.cs: added for MonthCalendar
10310 * DateRangeEventHandler.cs: added for MonthCalendar
10312 2004-11-22 Ravindra <rkumar@novell.com>
10314 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10317 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10319 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10322 * NumericUpDown.cs: Added new implementation.
10323 * UpDownBase.cs: Added new implementation.
10325 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10328 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10331 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10334 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10336 * Timer.cs (Dispose): Should call the base dispose when
10339 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10341 * ScrollBar.cs: updates thumb position when max, min or increment
10344 2004-11-21 Ravindra <rkumar@novell.com>
10346 * ListView.cs: Implemented item selection, activation and
10347 column header style. Fixed properties to do a redraw, if
10348 required. Added support for MouseHover, DoubleClick, KeyDown
10349 and KeyUp event handling and some minor fixes.
10350 * ListViewItem.cs: Fixed constructor.
10351 * ThemeWin32Classic.cs: Improved drawing for ListView.
10353 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10355 * ThemeWin32Classic.cs: initial listbox drawing code
10356 * DrawMode.cs: new enumerator
10357 * ListControl.cs: stubbed class
10358 * ListBox.cs: initial implementation
10359 * Theme.cs: new methods definitions
10360 * SelectionMode.cs: new enumerator
10362 2004-11-17 Peter Bartok <pbartok@novell.com>
10364 * XplatUIWin32.cs: Added double-click events to the class style
10365 * Control.cs (WndProc):
10366 - Added handling of click-count to MouseDown/ MouseUp events.
10367 - Added handling of middle and right mouse buttons
10368 - Removed old debug code
10370 2004-11-17 Jackson Harper <jackson@ximian.com>
10372 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10374 2004-11-17 Ravindra <rkumar@novell.com>
10376 * ListView.cs: Added event handling for MouseMove/Up/Down.
10377 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10378 * ThemeWin32Classic.cs: We need to clear the graphics context and
10379 draw column header in a proper state.
10382 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10384 * Menu.cs: fixes signature
10386 2004-11-16 Peter Bartok <pbartok@novell.com>
10388 * XplatUIX11.cs (GetMessage): Implemented generation of
10389 double click mouse messages
10391 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10393 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10396 2004-11-11 Peter Bartok <pbartok@novell.com>
10398 * HandleData.cs: Added Visible property
10399 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10401 * XplatUIX11.cs: Removed old debug leftovers
10402 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10403 * Control.cs (WndProc): Removed old debug leftovers,
10404 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10405 needed WM_SIZE handling
10407 2004-11-11 Jackson Harper <jackson@ximian.com>
10409 * OwnerDrawPropertyBag.cs:
10410 * TreeViewImageIndexConverter.cs: Initial implementation
10412 2004-11-10 Jackson Harper <jackson@ximian.com>
10414 * ThemeWin32Classic.cs:
10415 * TabControl.cs: instead of moving tabs by the slider pos just
10416 start drawing at the tab that is offset by the slider. This way
10417 scrolling always moves by exactly one tab.
10419 2004-11-10 Jackson Harper <jackson@ximian.com>
10421 * TabControl.cs: You can only scroll left when the slider has
10422 already ben moved right.
10424 2004-11-10 Jackson Harper <jackson@ximian.com>
10426 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10429 2004-11-10 Jackson Harper <jackson@ximian.com>
10431 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10434 2004-11-09 Jackson Harper <jackson@ximian.com>
10436 * TabControl.cs (CalcXPos): New helper method so we can determine
10437 the proper place to start drawing vertical tabs.
10438 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10440 2004-11-09 Jackson Harper <jackson@ximian.com>
10442 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10443 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10444 and Bottom, left and right are illegal values for this and
10445 multiline is enabled when the alignment is set to left or right.
10446 (DrawTab): Each alignment block should draw the text itself now
10447 because Left requires special love. Also add rendering for Left
10450 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10452 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10453 does not destroy the windows, removes debugging messages
10455 2004-11-09 jba <jba-mono@optusnet.com.au>
10457 * ThemeWin32Classic.cs
10458 (DrawButtonBase): Fix verticle text rect clipping in windows
10459 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10460 rendering and incorrect text rect clipping
10461 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10462 rendering and incorrect text rect clipping
10464 2004-11-08 Jackson Harper <jackson@ximian.com>
10466 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10467 bottom when they are bottom aligned so the bottoms of the tabs get
10469 * TabControl.cs (DropRow): Move rows up instead of down when the
10470 tab control is bottom aligned.
10472 2004-11-08 13:59 pbartok
10475 - Added handling for various window styles
10476 - Added handling for popup windows
10477 - Added SetTopmost handling
10479 2004-11-08 13:55 pbartok
10482 - Added argument to SetTopmost method
10483 - Fixed broken ClientToScreen function
10485 2004-11-08 13:53 pbartok
10487 * XplatUIStructs.cs:
10488 - Added missing WS_EX styles
10490 2004-11-08 13:53 pbartok
10492 * XplatUI.cs, XplatUIDriver.cs:
10493 - Added argument to SetTopmost
10495 2004-11-08 13:52 pbartok
10498 - Added XSetWindowAttributes structure
10499 - Improved XWindowAttributes structure
10500 - Added SetWindowValuemask enum
10501 - Added window creation arguments enum
10502 - Added gravity enum
10503 - Added Motif hints structure
10504 - Added various Motif flags and enums
10505 - Added PropertyMode enum for property functions
10507 2004-11-08 13:50 pbartok
10510 - Fixed arguments for updated SetTopmost method
10512 2004-11-08 13:49 pbartok
10515 - Fixed arguments for updated SetTopmost function
10516 - Fixed usage of PointToClient
10518 2004-11-08 13:44 pbartok
10521 - Added Clipping of children and siblings
10523 2004-11-08 13:41 pbartok
10526 - Removed SetMenuBarWindow call. We do this in Form.cs
10528 2004-11-08 13:40 jackson
10530 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10531 scrolling jimmi in the correct location with bottom aligned tabs
10533 2004-11-08 13:36 pbartok
10535 * ContainerControl.cs:
10536 - Implemented BindingContext
10537 - Implemented ParentForm
10539 2004-11-08 12:46 jackson
10541 * TabControl.cs: Put bottom rendered tabs in the right location
10543 2004-11-08 07:15 jordi
10545 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10548 2004-11-05 17:30 jackson
10550 * TabControl.cs: When selected tabs are expanded make sure they
10551 don't go beyond the edges of the tab control
10553 2004-11-05 14:57 jackson
10555 * TabControl.cs: Reset show_slider so if the control is resized to
10556 a size where it is no longer needed it's not displayed anymore
10558 2004-11-05 13:16 jackson
10560 * TabControl.cs: Make tab pages non visible when added to the
10563 2004-11-05 12:42 jackson
10565 * TabControl.cs: Implement SizeMode.FillToRight
10567 2004-11-05 12:16 jackson
10569 * Control.cs: Do not call CreateHandle if the handle is already
10572 2004-11-05 11:46 jackson
10574 * TabControl.cs: Remove superflous call to CalcTabRows
10576 2004-11-05 09:07 jackson
10578 * XplatUIX11.cs: Update for Mono.Posix changes
10580 2004-11-05 07:00 ravindra
10582 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10585 2004-11-04 22:47 jba
10587 * ThemeWin32Classic.cs:
10588 - Fix Button rendering for FlatStyle = Flat or Popup
10589 - Fix RadioButton and CheckBox rendering when Appearance = Button
10590 (normal and flatstyle).
10591 - Correct outer rectangle color when drawing focus rectangle
10592 - Adjust button bounds to be 1 px smaller when focused
10593 - Make button not draw sunken 3d border when pushed (windows compat)
10594 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10595 - Offset the text in RadioButton and Checkbox when being rendered as
10597 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10599 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10600 - Fixed disabled text rendering for normally rendered radiobuttons
10602 2004-11-04 10:26 jackson
10604 * TabControl.cs: Recalculate tab rows when resizing
10606 2004-11-04 07:47 jordi
10608 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10609 collection completion, drawing issues, missing features
10611 2004-11-04 05:03 ravindra
10614 - We need to recalculate the Thumb area when
10615 LargeChange/maximum/minimum values are changed.
10616 - We set the 'pos' in UpdatePos() method to minimum, if it's less
10617 than minimum. This is required to handle the case if large_change is
10618 more than max, and use LargeChange property instead of large_change
10620 - We return max+1 when large_change is more than max, like MS does.
10622 2004-11-04 04:29 ravindra
10624 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10625 - Changed default value signatures (prefixed all with ListView).
10626 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10628 - Fixed calculations for ListViewItem and implemented Clone()
10631 2004-11-04 04:26 ravindra
10633 * Theme.cs, ThemeWin32Classic.cs:
10634 - Changed default ListView values signatures (prefixed all with
10636 - Fixed default size values for VScrollBar and HScrollBar.
10637 - Fixed DrawListViewItem method.
10639 2004-11-04 04:05 ravindra
10641 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10643 2004-11-04 04:04 ravindra
10645 * ImageList.cs: Implemented the missing overload for Draw method.
10647 2004-11-03 19:29 jackson
10649 * TabControl.cs: Handle dropping rows on selection properly
10651 2004-11-03 11:59 jackson
10653 * TabControl.cs: remove debug code
10655 2004-11-03 11:52 jackson
10657 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10658 the scrolly widgerywoo
10660 2004-11-02 13:52 jackson
10662 * TabControl.cs: Resize the tab pages and tabs when the tab control
10665 2004-11-02 13:40 jackson
10667 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10668 selected tab to the bottom
10670 2004-11-02 13:39 jackson
10672 * TabPage.cs: Store the tab pages row
10674 2004-11-02 12:33 jordi
10676 * MenuItem.cs: fixes handle creation
10678 2004-11-02 11:42 jackson
10680 * TabControl.cs: signature fix
10682 2004-11-02 08:56 jackson
10684 * TabControl.cs: Calculate whether the tab is on an edge properly.
10685 Remove top secret debugging code
10687 2004-11-01 19:57 jackson
10689 * TabControl.cs: Add click handling, and proper sizing
10691 2004-11-01 19:47 jackson
10693 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10696 2004-11-01 19:39 jackson
10698 * TabPage.cs: add internal property to store the bounds of a tab
10701 2004-10-30 04:23 ravindra
10703 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10706 2004-10-30 04:21 ravindra
10708 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10709 fixed calculations.
10711 2004-10-30 03:06 pbartok
10714 - Removed extension of DllImported libs
10716 2004-10-29 09:55 jordi
10718 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10719 navigation, itemcollection completion, menu fixes
10721 2004-10-27 22:58 pbartok
10724 - Now throws a nice error message when no X display could be opened
10726 2004-10-26 13:51 jordi
10728 * ListView.cs: removes warning
10730 2004-10-26 03:55 ravindra
10732 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10733 ThemeWin32Classic.cs: Some formatting for my last checkins.
10735 2004-10-26 03:36 ravindra
10737 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10738 control and default values.
10740 2004-10-26 03:35 ravindra
10742 * Theme.cs: Added some default values for ListView control.
10744 2004-10-26 03:33 ravindra
10746 * ToolBar.cs: ToolBar should use the user specified button size, if
10747 there is any. Added a size_specified flag for the same.
10749 2004-10-26 03:33 ravindra
10751 * ColumnHeader.cs: Added some internal members and calculations for
10754 2004-10-26 03:32 ravindra
10756 * ListViewItem.cs: Calculations for ListViewItem.
10758 2004-10-26 03:31 ravindra
10760 * ListView.cs: Added some internal members and calculations for
10763 2004-10-22 13:31 jordi
10765 * MenuAPI.cs: speedup menus drawing
10767 2004-10-22 13:16 jackson
10769 * XplatUIX11.cs: Make sure to update exposed regions when adding an
10772 2004-10-22 11:49 jackson
10776 2004-10-22 11:41 jackson
10778 * Control.cs: Check to see if the window should have its background
10779 repainted by X when drawing.
10781 2004-10-22 11:31 jackson
10783 * XplatUIX11.cs: When invalidating areas only use XClearArea if
10784 clear is true, this way we do not get flicker from X repainting the
10787 2004-10-22 11:28 jackson
10789 * XEventQueue.cs: Queue properly
10791 2004-10-21 09:38 jackson
10793 * XEventQueue.cs: Fix access modifier
10795 2004-10-21 09:36 jackson
10797 * XEventQueue.cs: Don't loose messages
10799 2004-10-21 09:22 jackson
10801 * XEventQueue.cs: Don't loose messages
10803 2004-10-20 04:15 jordi
10805 * BootMode.cs: enum need it by SystemInfo
10807 2004-10-19 21:58 pbartok
10810 - Small sanity check
10812 2004-10-19 21:56 pbartok
10815 - Added private FormParentWindow class which acts as the container
10816 for our form and as the non-client area where menus are drawn
10817 - Added/Moved required tie-ins to Jordi's menus
10818 - Fixed/Implemented the FormStartPosition functionality
10820 2004-10-19 21:52 pbartok
10823 - Removed unneeded locals
10824 - Added code to all size and location properties to understand and
10825 deal with the parent container of Form
10827 2004-10-19 21:33 pbartok
10830 - Fixed to deal with new Form subclasses for menus
10832 2004-10-19 17:48 jackson
10834 * XEventQueue.cs: commit correct version of file
10836 2004-10-19 16:50 jackson
10838 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10840 2004-10-19 16:15 jordi
10842 * MenuAPI.cs: MenuBarCalcSize returns the height
10844 2004-10-19 08:31 pbartok
10847 - Added missing call to PreProcessMessage before calling OnXXXKey
10850 2004-10-19 00:04 ravindra
10852 * ToolTip.cs: Fixed constructor.
10854 2004-10-18 09:31 jordi
10856 * MenuAPI.cs: menuitems in menubars do not have shortcuts
10858 2004-10-18 09:26 jordi
10860 * MenuItem.cs: fixes MenuItem class signature
10862 2004-10-18 08:56 jordi
10864 * MenuAPI.cs: prevents windows from showing in the taskbar
10866 2004-10-18 00:28 ravindra
10868 * ToolTip.cs: Suppressed a warning message.
10870 2004-10-18 00:27 ravindra
10872 * Control.cs: Default value of visible property must be true.
10874 2004-10-17 23:19 pbartok
10877 - Complete implementation
10879 2004-10-17 23:19 pbartok
10882 - Added EnableWindow method
10883 - Added SetModal stub
10884 - Added generation of WM_ACTIVATE message (still needs testing)
10885 - Added SetTopMost stub
10886 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10888 2004-10-17 23:17 pbartok
10891 - Removed VirtualKeys to XplatUIStructs
10892 - Implemented SetTopMost method
10893 - Implemented EnableWindow method
10894 - Bugfix in ScreenToClient()
10895 - Bugfixes in ClientToScreen()
10897 2004-10-17 22:51 pbartok
10899 * XplatUIStructs.cs:
10900 - Added WS_EX styles to WindowStyles enumeration
10902 2004-10-17 22:50 pbartok
10904 * XplatUI.cs, XplatUIDriver.cs:
10905 - Added method for enabling/disabling windows
10906 - Added method for setting window modality
10907 - Added method for setting topmost window
10909 2004-10-17 22:49 pbartok
10911 * ThemeWin32Classic.cs:
10912 - Added ToolTip drawing code
10914 2004-10-17 22:49 pbartok
10917 - Added ToolTip abstracts
10919 2004-10-17 22:47 pbartok
10922 - Fixed Form.ControlCollection to handle owner relations
10923 - Added Owner/OwnedForms handling
10924 - Implemented Z-Ordering for owned forms
10925 - Removed unneeded private overload of ShowDialog
10926 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10928 - Fixed Close(), had wrong default
10929 - Added firing of OnLoad event
10930 - Added some commented out debug code for Ownership handling
10932 2004-10-17 22:16 pbartok
10935 - Fixed/implemented flat list of controls
10937 2004-10-17 22:14 pbartok
10940 - Added code to simulate modal dialogs on Win32
10942 2004-10-17 16:11 jordi
10944 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10947 2004-10-17 13:39 jordi
10949 * MenuAPI.cs: menu drawing fixes
10951 2004-10-15 09:10 ravindra
10953 * StructFormat.cs: General Enum.
10955 2004-10-15 09:09 ravindra
10957 * SizeGripStyle.cs: Enum for Form.
10959 2004-10-15 09:08 ravindra
10961 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10962 in Theme for ListView.
10964 2004-10-15 09:06 ravindra
10966 * ColumnHeader.cs: Flushing some formatting changes.
10968 2004-10-15 09:05 ravindra
10970 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10973 2004-10-15 09:03 ravindra
10975 * ListView.cs: Implemented Paint method and fixed coding style.
10977 2004-10-15 07:34 jordi
10979 * MenuAPI.cs: fix for X11
10981 2004-10-15 07:32 ravindra
10983 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10984 - Renamed Paint() method to Draw() for clarity. Also, moved
10985 DrawImage() to OnPaint().
10987 2004-10-15 07:25 ravindra
10989 * CheckBox.cs, RadioButton.cs:
10990 - Removed Redraw (), we get it from ButtonBase.
10991 - Implemented Paint (), to do class specific painting.
10993 2004-10-15 07:16 ravindra
10996 - Redraw () is not virtual now.
10997 - Added an internal virtual method Paint (), so that
10998 derived classes can do their painting on their own.
10999 - Modified OnPaint () to call Paint ().
11001 2004-10-15 06:43 jordi
11003 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11004 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11006 2004-10-15 00:30 ravindra
11009 - MessageBox on windows does not have min/max buttons.
11010 This change in CreateParams fixes this on Windows. We
11011 still need to implement this windowstyle behavior in
11014 2004-10-14 05:14 ravindra
11017 - Changed Redraw () to do a Refresh () always.
11018 - Fixed the MouseMove event handling when mouse is pressed,
11019 ie drag event handling.
11020 - Replaced the usage of ToolBarButton.Pressed property to
11021 ToolBarButton.pressed internal variable.
11023 2004-10-14 05:10 ravindra
11025 * ToolBarButton.cs:
11026 - Added an internal member 'inside' to handle mouse move
11027 with mouse pressed ie mouse drag event.
11028 - Changed 'Pressed' property to return true only when
11029 'inside' and 'pressed' are both true.
11030 - Some coding style love.
11032 2004-10-14 00:17 ravindra
11034 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11037 2004-10-14 00:15 ravindra
11039 * ButtonBase.cs: Redraw () related improvements.
11041 2004-10-14 00:14 ravindra
11043 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11044 removed unnecessary calls to Button.Show () method.
11046 2004-10-13 17:50 pbartok
11050 - Removed destroying of window until we solve the problem of X
11051 destroying the window before us on shutdown
11053 2004-10-13 16:32 pbartok
11056 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11058 2004-10-13 14:18 pbartok
11061 - Added code to destroy the X window
11063 2004-10-13 14:18 pbartok
11066 - Added code to destroy a window
11068 2004-10-13 14:12 pbartok
11071 - Added the Redraw on Resize that got dropped in the last rev
11073 2004-10-13 09:06 pbartok
11075 * ThemeWin32Classic.cs:
11076 - Path from John BouAntoun:
11077 * Fix check rendering (centre correctly for normal style, offset
11078 correctly for FlatStyle).
11079 * Fix border color usage (use backcolor) for FlatStyle.Popup
11080 * Use checkbox.Capture instead of checkbox.is_pressed when
11081 rendering flatstyle states.
11083 2004-10-12 21:48 pbartok
11085 * ThemeWin32Classic.cs:
11086 - Removed all occurences of SystemColors and replaced them with the
11087 matching theme color
11089 2004-10-12 21:41 pbartok
11091 * ThemeWin32Classic.cs:
11092 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11093 him using the function for flatstyle drawing
11094 - Changed functions to use the new version of CPDrawBorder3D
11096 2004-10-12 21:15 pbartok
11099 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11100 match MS documentation. They need to return defined colors if the
11101 passed color matches the configured control color. Thanks to John
11102 BouAntoun for pointing this out.
11104 2004-10-12 20:57 pbartok
11107 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11110 2004-10-12 20:46 pbartok
11113 - Fix from John BouAntoun: Now properly sets the Appearance property
11115 2004-10-12 20:45 pbartok
11117 * ThemeWin32Classic.cs:
11118 - Fixes from John BouAntoun: now handles forecolors and backcolors
11119 for flatstyle rendered controls much better; It also fixes normal
11120 checkbox rendering when pushed or disabled.
11122 2004-10-08 02:50 jordi
11124 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11127 2004-10-07 08:56 jordi
11129 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11131 2004-10-06 03:59 jordi
11133 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11134 XplatUIWin32.cs: removes warnings from compilation
11136 2004-10-05 12:23 jackson
11138 * RadioButton.cs: Fix ctor
11140 2004-10-05 11:10 pbartok
11143 - Partial implementation by Benjamin Dasnois
11145 2004-10-05 10:15 jackson
11147 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11150 2004-10-05 03:07 ravindra
11153 - Removed a private method, Draw ().
11154 - Fixed the ButtonDropDown event handling.
11155 - Fixed MouseMove event handling.
11157 2004-10-05 03:04 ravindra
11159 * ThemeWin32Classic.cs:
11160 - Added DrawListView method and ListViewDefaultSize property.
11161 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11162 - Changed DOS style CRLF to Unix format (dos2unix).
11164 2004-10-05 03:03 ravindra
11167 - Added DrawListView method and ListViewDefaultSize property.
11169 2004-10-05 02:42 ravindra
11171 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11172 clicks on DropDown arrow.
11174 2004-10-04 22:56 jackson
11176 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11177 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11178 Control handle the buffers, derived classes should not have to
11179 CreateBuffers themselves.
11181 2004-10-04 21:20 jackson
11183 * StatusBar.cs: The control handles resizing the buffers now.
11185 2004-10-04 21:18 jackson
11187 * Control.cs: When resizing the buffers should be invalidated. This
11188 should be handled in Control not in derived classes.
11190 2004-10-04 14:45 jackson
11194 2004-10-04 02:14 pbartok
11196 * LeftRightAlignment.cs:
11199 2004-10-04 01:09 jordi
11201 * ThemeWin32Classic.cs: fixes right button position causing right
11202 button not showing on horizontal scrollbars
11204 2004-10-02 13:12 pbartok
11207 - Simplified the Invalidate method by using an X call instead of
11208 generating the expose ourselves
11209 - Added an expose when the window background is changed
11210 - Implemented ClientToScreen method
11212 2004-10-02 13:08 pbartok
11215 - Added Win32EnableWindow method (test for implementing modal
11217 - Added ClientToScreen method and imports
11219 2004-10-02 13:07 pbartok
11221 * XplatUI.cs, XplatUIDriver.cs:
11222 - Added ClientToScreen coordinate translation method
11224 2004-10-02 13:06 pbartok
11226 * KeyPressEventArgs.cs:
11227 - Fixed access level for constructor
11229 2004-10-02 13:06 pbartok
11232 - Changed access level for the window_collection hash table
11234 2004-10-02 13:05 pbartok
11237 - Added KeyPreview property
11238 - Added Menu property (still incomplete, pending Jordi's menu work)
11239 - Implemented ProcessCmdKey
11240 - Implemented ProcessDialogKey
11241 - Implemented ProcessKeyPreview
11243 2004-10-02 13:02 pbartok
11246 - Added private method to get the Control object from the window
11248 - Implemented ContextMenu property
11249 - Implemented PointToScreen
11250 - Implemented PreProcessMessage
11251 - Implemented IsInputChar
11252 - Implemented IsInputKey
11253 - Implemented ProcessCmdKey
11254 - Completed ProcessKeyEventArgs
11255 - Fixed message loop to call the proper chain of functions on key
11257 - Implemented ProcessDialogChar
11258 - Implemented ProcessDialogKey
11259 - Implemented ProcessKeyMessage
11260 - Implemented ProcessKeyPreview
11261 - Added RaiseDragEvent stub (MS internal method)
11262 - Added RaiseKeyEvent stub (MS internal method)
11263 - Added RaiseMouseEvent stub (MS Internal method)
11264 - Added RaisePaintEvent stub (MS Internal method)
11265 - Added ResetMouseEventArgs stub (MS Internal method)
11266 - Implemented RtlTranslateAlignment
11267 - Implemented RtlTranslateContent
11268 - Implemented RtlTranslateHorizontal
11269 - Implemented RtlTranslateLeftRight
11270 - Added generation of KeyPress event
11272 2004-10-02 05:57 ravindra
11274 * ListViewItem.cs: Added attributes.
11276 2004-10-02 05:32 ravindra
11278 * ListView.cs: Added attributes.
11280 2004-10-01 11:53 jackson
11282 * Form.cs: Implement the Close method so work on MessageBox can
11285 2004-09-30 14:06 pbartok
11290 2004-09-30 11:34 jackson
11292 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11294 2004-09-30 07:26 ravindra
11296 * ListViewItemConverter.cs: Converter for ListViewItem.
11298 2004-09-30 07:26 ravindra
11300 * SortOrder.cs: Enum for ListView control.
11302 2004-09-30 07:25 ravindra
11304 * ColumnHeader.cs: Supporting class for ListView control.
11306 2004-09-30 07:24 ravindra
11308 * ListView.cs, ListViewItem.cs: Initial implementation.
11310 2004-09-30 07:20 ravindra
11312 * ItemActivation.cs: Enum for ListView Control.
11314 2004-09-29 20:29 pbartok
11317 - Added lookup of pixel value for background color; tries to get a
11318 color 'close' to the requested color, it avoids having to create a
11319 colormap. Depending on the display this could mean the used color
11320 is slightly off the desired color. Might have to change it to a more
11321 resource intensive colormap approach, but it will work as a
11322 workaround to avoid red screens.
11324 2004-09-29 14:27 jackson
11326 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11328 2004-09-28 12:44 pbartok
11330 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11331 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11332 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11333 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11334 TrackBar.cs, VScrollBar.cs:
11335 - Streamlined Theme interfaces:
11336 * Each DrawXXX method for a control now is passed the object for
11337 the control to be drawn in order to allow accessing any state the
11338 theme might require
11340 * ControlPaint methods for the theme now have a CP prefix to avoid
11341 name clashes with the Draw methods for controls
11343 * Every control now retrieves it's DefaultSize from the current
11346 2004-09-28 12:17 jackson
11348 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11351 2004-09-24 14:57 jackson
11353 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11354 Gives us a nice little performance boost.
11356 2004-09-24 12:02 jackson
11358 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11359 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11360 Control and supporting classes. Initial checkin
11362 2004-09-23 13:08 jackson
11364 * Form.cs: Temp build fixage
11366 2004-09-23 01:39 ravindra
11368 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11369 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11370 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11371 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11372 EventHandlers needed by ListView Control.
11374 2004-09-22 14:12 pbartok
11376 * ScrollableControl.cs:
11377 - Implemented DockPadding property
11378 - Implemented AutoScroll property
11379 - Implemented AutoScrollMargin property
11380 - Implemented AutoScrollMinSize property
11381 - Implemented AutoScrollPosition property
11382 - Implemented DisplayRectangle property (still incomplete)
11383 - Implemented CreateParams property
11384 - Implemented HScroll property
11385 - Implemented VScroll property
11386 - Implemented OnVisibleChanged property
11388 2004-09-22 14:09 pbartok
11391 - Added Form.ControllCollection class
11392 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11393 RemoveOwnedForm (still incomplete, missing on-top and common
11394 minimize/maximize behaviour)
11395 - Added StartPosition property (still incomplete, does not use when
11397 - Added ShowDialog() methods (still incomplete, missing forcing the
11400 2004-09-22 14:05 pbartok
11403 - Added message loop for modal dialogs
11405 2004-09-22 14:02 pbartok
11408 - Fixed wrong types for events
11410 2004-09-22 14:00 pbartok
11412 * Shortcut.cs, FormWindowState.cs:
11413 - Fixed wrong values
11415 2004-09-22 12:01 jackson
11417 * Control.cs: Text is never null
11419 2004-09-20 22:14 pbartok
11422 - Fixed accessibility level for Idle handler
11424 2004-09-20 18:54 jackson
11426 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11427 XplatUIX11.cs: New message loop that uses poll so we don't get a
11430 2004-09-17 10:43 pbartok
11433 - Fixed behaviour of arrow buttons. Now properly behaves like
11434 Buttons (and like Microsoft's scrollbar arrow buttons)
11436 2004-09-17 10:14 pbartok
11439 - Added missing release of keyboard/mouse capture
11441 2004-09-17 06:18 jordi
11443 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11444 Theme.cs: Very early menu support
11446 2004-09-16 17:45 pbartok
11449 - Fixed sending a window to the front
11450 - Added overload for SetWindowPos to avoid casting
11452 2004-09-16 17:44 pbartok
11455 - Added SendToBack and BringToFront methods
11457 2004-09-16 07:00 ravindra
11459 * Copyright: Added Novell URL.
11461 2004-09-16 07:00 ravindra
11463 * ToolBar.cs: Invalidate should be done before redrawing.
11465 2004-09-15 21:19 ravindra
11467 * ColumnHeaderStyle.cs: Enum for ListView Control.
11469 2004-09-15 21:18 ravindra
11471 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11474 2004-09-13 18:26 jackson
11476 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11479 2004-09-13 18:13 jackson
11481 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11482 a second thread and post messages into the main threads message
11483 queue. This makes timing much more consistent. Both win2K and XP
11484 have a minimum timer value of 15 milliseconds, so we now do this
11487 2004-09-13 15:18 pbartok
11489 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11491 - Added Z-Ordering methods
11493 2004-09-13 10:56 pbartok
11496 - Fixed #region names
11497 - Moved properties and methods into their proper #regions
11499 2004-09-13 10:51 pbartok
11502 - Added Accept and CancelButton properties
11503 - Added ProcessDialogKey() method
11505 2004-09-13 08:18 pbartok
11507 * IWindowTarget.cs:
11510 2004-09-10 21:50 pbartok
11513 - Added DoDragDrop() [incomplete]
11514 - Properly implemented 'Visible' handling
11515 - Added SetVisibleCore()
11516 - Implemented FindChildAtPoint()
11517 - Implemented GetContainerControl()
11518 - Implemented Hide()
11520 2004-09-10 19:28 pbartok
11523 - Moved methods into their appropriate #regions
11524 - Reordered methods within regions alphabetically
11526 2004-09-10 18:57 pbartok
11528 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11529 - Added method to retrieve text from window
11531 2004-09-10 18:56 pbartok
11534 - Moved some internal functions into the internal region
11535 - Implemented FontHeight
11536 - Implemented RenderRightToLeft
11537 - Implemented ResizeRedraw
11538 - Implemented ShowFocusCues
11539 - Implemented ShowKeyboardCues
11540 - Implemented FromChildHandle
11541 - Implemented FromHandle
11542 - Implemented IsMnemonic
11543 - Implemented ReflectMessage
11544 - All public and protected Static Methods are now complete
11546 2004-09-10 16:54 pbartok
11549 - Implemented remaining missing public instance properties
11550 - Alphabetized some out of order properties
11552 2004-09-10 05:51 ravindra
11554 * PictureBox.cs: Added a check for null image.
11556 2004-09-10 00:59 jordi
11558 * GroupBox.cs: remove cvs tag
11560 2004-09-09 05:25 ravindra
11562 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11564 2004-09-09 05:23 ravindra
11566 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11569 2004-09-09 02:28 pbartok
11571 * ThemeWin32Classic.cs:
11572 - Improve disabled string look
11574 2004-09-09 01:15 jordi
11576 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11579 2004-09-08 23:56 ravindra
11581 * ItemBoundsPortion.cs: It's enum, not a class!
11583 2004-09-08 23:47 ravindra
11585 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11588 2004-09-08 21:13 ravindra
11590 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11593 2004-09-08 21:03 ravindra
11595 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11598 2004-09-08 21:01 ravindra
11600 * ScrollableControl.cs: Removed unreachable code.
11602 2004-09-08 06:45 jordi
11604 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11606 2004-09-08 01:00 jackson
11608 * XplatUIX11.cs: Only run the timers when updating the message
11609 queue. This effectively gives X messages a higher priority then
11610 timer messages. Timers still need love though
11612 2004-09-07 14:01 jackson
11614 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11615 this for us and the handle is no longer valid.
11617 2004-09-07 13:59 jackson
11619 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11620 loop that manages to not crash. TODO: Add poll and cleanup timers
11622 2004-09-07 11:12 jordi
11624 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11626 2004-09-07 03:40 jordi
11628 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11629 fixes, methods, multiple links
11631 2004-09-06 06:55 jordi
11633 * Control.cs: Caches ClientRectangle rectangle value
11635 2004-09-05 02:03 jordi
11637 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11640 2004-09-04 11:10 jordi
11642 * Label.cs: Refresh when font changed
11644 2004-09-02 16:24 pbartok
11647 - Added sanity check to creation of double buffer bitmap
11649 2004-09-02 16:24 pbartok
11652 - Fixed selection of text color
11653 - Fixed handling of resize event; now properly recreates double
11655 - Added missing assignment of TextAlignment
11656 - Added proper default for TextAlignment
11658 2004-09-02 14:26 pbartok
11661 - Added missing RadioButton.RadioButtonAccessibleObject class
11663 2004-09-02 14:26 pbartok
11666 - Added missing Control.ControlAccessibleObject class
11667 - Started to implement Select()ion mechanisms, still very incomplete
11669 2004-09-02 14:25 pbartok
11671 * AccessibleObject.cs:
11672 - Added missing methods
11674 2004-09-02 14:23 pbartok
11676 * AccessibleNavigation.cs, AccessibleSelection.cs:
11679 2004-09-02 10:32 jordi
11681 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11682 pool for pens, brushes, and hatchbruses
11684 2004-09-01 15:30 jackson
11686 * StatusBar.cs: Fix typo
11688 2004-09-01 14:44 pbartok
11693 2004-09-01 14:39 pbartok
11695 * Button.cs, RadioButton.cs:
11696 - Functional initial check-in
11698 2004-09-01 14:01 pbartok
11701 - Added missing default
11702 - Added missing region mark
11704 2004-09-01 09:10 jordi
11706 * Label.cs: fixes method signatures, new methods, events, fixes
11709 2004-09-01 07:19 jordi
11711 * Control.cs: Init string variables with an empty object
11713 2004-09-01 04:20 jordi
11715 * Control.cs: fires OnFontChanged event
11717 2004-08-31 20:07 pbartok
11720 - Enabled display of strings
11722 2004-08-31 20:05 pbartok
11725 - Added (partial) implementation of DialogResult; rest needs to be
11726 implemented when the modal loop code is done
11728 2004-08-31 19:55 pbartok
11731 - Fixed to match the removal of the needs_redraw concept
11733 2004-08-31 19:55 pbartok
11736 - Removed the rather odd split between 'needs redraw' and redrawing
11737 - Now handles the events that require regeneration (ambient
11738 properties and size)
11740 2004-08-31 19:41 pbartok
11743 - Added firing of BackColorChanged event
11744 - Added TopLevelControl property
11745 - Fixed handling of WM_ERASEBKGRND message
11747 2004-08-31 12:49 pbartok
11753 2004-08-31 12:48 pbartok
11756 - Finished (famous last words)
11758 2004-08-31 04:35 jordi
11760 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11761 scrolling bugs, adds new methods
11763 2004-08-30 14:42 pbartok
11766 - Implemented CheckBox drawing code
11768 2004-08-30 14:42 pbartok
11771 - Made Redraw() and CheckRedraw() virtual
11772 - Improved mouse up/down/move logic to properly track buttons
11774 2004-08-30 09:44 pbartok
11777 - Updated to fix broken build. Not complete yet.
11779 2004-08-30 09:28 pbartok
11784 2004-08-30 09:17 pbartok
11789 2004-08-27 16:12 ravindra
11791 * ToolBarButton.cs: Added TypeConverter attribute.
11793 2004-08-27 16:07 ravindra
11795 * ImageIndexConverter.cs: Implemented.
11797 2004-08-27 14:17 pbartok
11800 - Removed unneeded stack vars
11801 - First attempt to fix sizing issues when layout is suspended
11803 2004-08-25 15:35 jordi
11805 * ScrollBar.cs: more fixes to scrollbar
11807 2004-08-25 14:04 ravindra
11809 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11810 Added the missing divider code and grip for ToolBar Control.
11812 2004-08-25 13:20 pbartok
11815 - Control now properly passes the ambient background color to child
11818 2004-08-25 13:20 jordi
11820 * ScrollBar.cs: small bug fix regarding bar position
11822 2004-08-25 12:33 pbartok
11825 - Now only calls SetTimer or KillTimer if the enabled state has
11828 2004-08-25 12:33 pbartok
11831 - Fixed timer handling, now seems to work
11832 - Improved error message for window creation
11834 2004-08-25 12:32 pbartok
11837 - Fixed generation of MouseUp message
11839 2004-08-25 12:29 jordi
11841 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11842 and fixes for progressbar
11844 2004-08-24 18:43 ravindra
11846 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11847 in ToolBar control.
11849 2004-08-24 17:15 pbartok
11853 - Added missing events
11856 2004-08-24 17:14 pbartok
11858 * StatusBar.cs, PictureBox.cs:
11859 - Now uses Control's CreateParams
11861 2004-08-24 16:36 pbartok
11864 - Fixed background color handling
11865 - Fixed sending of enter/leave events on a grab
11867 2004-08-24 16:35 pbartok
11870 - Refined definitions for CrossingEvent
11872 2004-08-24 12:37 jordi
11874 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11875 formmating, methods signature, and adds missing events
11877 2004-08-24 12:24 jordi
11879 * Control.cs: fire OnEnabledChanged event
11881 2004-08-24 11:17 pbartok
11884 - Implemented SetTimer() and KillTimer()
11886 2004-08-24 11:16 pbartok
11889 - Now uses Remove instead of Add to kill the timer
11891 2004-08-24 10:16 jackson
11893 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11894 picture boxes in the theme now. Draw picture box borders and obey
11897 2004-08-24 05:49 jackson
11899 * Timer.cs: Remove top secret debugging code
11901 2004-08-24 05:34 jackson
11903 * PictureBox.cs: Temp hack to make picture boxes draw their full
11906 2004-08-24 05:29 jackson
11908 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11909 XplatUIX11.cs: Move timers to the driver level. On X they are
11910 queued by the driver and checked on idle.
11912 2004-08-24 01:07 jackson
11914 * XplatUIX11.cs: Use a queue for async messages instead of passing
11915 them as ClientMessages since that was totally broken. Also simply
11916 check for events and return an idle message if none are found. This
11917 gives us an idle handler, and prevents deadlocking when no messages
11920 2004-08-23 18:19 ravindra
11922 * XplatUIWin32.cs: Removed the unwanted destructor.
11924 2004-08-23 17:27 pbartok
11927 - Finishing touches. Works now, just needs some optimizations.
11929 2004-08-23 16:53 jordi
11931 * ScrollBar.cs: small fix
11933 2004-08-23 16:45 pbartok
11936 - Removed debug output
11939 2004-08-23 16:43 jordi
11941 * ScrollBar.cs: [no log message]
11943 2004-08-23 16:10 pbartok
11946 - Fixed handling of WM_CLOSE message
11947 - Removed debug output
11949 2004-08-23 16:09 pbartok
11952 - Added handling of Idle event
11953 - Added handling of form closing
11954 - Fixed reporting of MessageLoop property
11955 - Removed some unneeded code, should provide a bit of a speedup
11957 2004-08-23 15:22 pbartok
11960 - Added InitLayout() method
11961 - Added code to properly perform layout when Anchor or Dock property
11963 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11964 LAMESPEC, tried to do it in a way that makes sense
11966 2004-08-23 14:10 jordi
11968 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11969 properties and methods
11971 2004-08-23 13:55 pbartok
11974 - Properly fixed Jordi's last fix
11975 - Now uses Cursor's Position property instead of calling XplatUI
11978 2004-08-23 13:44 jordi
11980 * PaintEventHandler.cs: Adding missing attribute
11982 2004-08-23 13:39 pbartok
11985 - Implemented Position property
11987 2004-08-23 13:39 pbartok
11989 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11990 - Added method to move mouse cursor
11992 2004-08-23 13:39 pbartok
11995 - Fixed setting of background color
11996 - Added method to move mouse cursor
11998 2004-08-23 13:16 jordi
12000 * Control.cs: avoids null exception
12002 2004-08-22 17:46 jackson
12004 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12007 2004-08-22 17:40 jackson
12009 * XplatUIX11.cs: Add some missing locks
12011 2004-08-22 15:10 pbartok
12013 * Control.cs, Form.cs:
12014 - Removed OverlappedWindow style from Control, instead it's default
12016 - Made form windows OverlappedWindow by default
12018 2004-08-22 13:34 jackson
12020 * ScrollBar.cs: Update the position through the Value property so
12021 the OnValueChanged event is raised.
12023 2004-08-22 12:04 pbartok
12026 - Added Cursor.cs and UserControl.cs
12028 2004-08-22 12:03 pbartok
12031 - Started implementation, not usable yet
12033 2004-08-22 12:00 pbartok
12036 - Implemented UserControl (complete)
12038 2004-08-21 19:20 ravindra
12040 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12042 2004-08-21 18:49 ravindra
12044 * ToolBar.cs: Probably this completes the missing attributes in
12047 2004-08-21 18:03 ravindra
12049 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12050 Fixed toolbar control signatures.
12052 2004-08-21 16:32 pbartok
12057 2004-08-21 16:30 pbartok
12062 2004-08-21 16:19 pbartok
12064 * Control.cs, Label.cs:
12067 2004-08-21 15:57 pbartok
12070 - Added loads of debug output for development
12071 - Fixed typo in method name
12073 2004-08-21 15:52 pbartok
12075 * ToolBarButtonClickEventArgs.cs:
12076 - Added missing base class
12078 2004-08-21 14:53 pbartok
12081 - Updated to match new GrabWindow signature
12083 2004-08-21 14:51 pbartok
12085 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12086 - Added method to get default display size
12088 2004-08-21 14:23 pbartok
12090 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12091 - Added method to query current grab state
12092 - Added argument to allow confining a grab to a window
12094 2004-08-21 14:22 pbartok
12097 - Added [Flags] attribute so that modifiers can be used in bitwise
12100 2004-08-21 14:21 pbartok
12102 * TrackBar.cs, ScrollBar.cs:
12103 - Replaced direct XplatUI calls with their Control counterpart
12105 2004-08-21 13:32 pbartok
12108 - Implemented Created property
12110 2004-08-21 13:28 pbartok
12113 - Implemented ContainsFocus
12115 2004-08-21 13:26 pbartok
12118 - Implemented CausesValidation
12120 2004-08-21 13:21 pbartok
12123 - Implemented CanFocus
12124 - Implemented CanSelect
12125 - Implemented Capture
12127 2004-08-21 12:35 pbartok
12130 - Fixed bug with Async message handling
12131 - Implemented getting the ModifierKeys
12133 2004-08-21 12:32 jackson
12135 * AsyncMethodResult.cs: Make sure we have the mutex before we
12136 release it. Fixes BeginInvoke on windows
12138 2004-08-21 11:31 pbartok
12140 * XplatUIWin32.cs, XplatUIX11.cs:
12141 - Drivers now return proper mouse state
12143 2004-08-21 10:54 jackson
12145 * Control.cs: Implement EndInvoke
12147 2004-08-21 10:48 jackson
12149 * Timer.cs: Remove unneeded finalizer
12151 2004-08-20 19:52 ravindra
12153 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12154 in mouse event handling in the ToolBar control.
12156 2004-08-20 19:50 ravindra
12158 * ImageList.cs: Changed draw method to use the arguments passed in
12161 2004-08-20 18:58 pbartok
12163 * XplatUIStructs.cs:
12164 - Added private message for async communication
12166 2004-08-20 17:38 ravindra
12168 * Control.cs: Made RightToLeft property virtual and removed a
12171 2004-08-20 14:39 jordi
12173 * ThemeGtk.cs: use style_attach
12175 2004-08-20 14:39 pbartok
12178 - Added jackson's Async code from X11 to Win32
12180 2004-08-20 14:09 pbartok
12183 - Added all new files
12185 2004-08-20 14:09 pbartok
12188 - Added call to set window background color
12190 2004-08-20 14:03 pbartok
12192 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12193 - Added method for setting the window background
12195 2004-08-20 14:02 pbartok
12198 - Added method for setting the background color
12199 - Added handling for erasing the window background
12201 2004-08-20 13:45 jordi
12203 * TrackBar.cs: fixes timer, new properties and methods
12205 2004-08-20 13:34 jackson
12207 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12210 2004-08-20 13:22 jackson
12212 * Timer.cs: Timer Tick events are now handed through Controls Async
12213 mechanism so the callbacks are executed in the same thread as X
12215 2004-08-20 13:19 jackson
12217 * XplatUIDriver.cs: Expose functionality to send async messages
12220 2004-08-20 13:18 jackson
12222 * Control.cs: Implement Begininvoke
12224 2004-08-20 13:14 jackson
12226 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12227 messages through the driver
12229 2004-08-20 13:12 jackson
12231 * XplatUIX11.cs: Lock before all X operations. Also added Async
12232 method functionality through XSendEvent
12234 2004-08-20 13:11 jackson
12236 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12237 This will screw up on 64 bit systems)
12239 2004-08-20 13:10 jackson
12241 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12242 Async messages through X/Win32
12244 2004-08-19 19:39 pbartok
12247 - Updated code to match new HandleData.DeviceContext type
12249 2004-08-19 19:38 pbartok
12252 - Made DeviceContext a generic object to allow usage from various
12254 - Added support for queueing Windows messages
12256 2004-08-19 19:37 pbartok
12259 - Added generation of MouseEnter, MouseLeave and MouseHover events
12260 - Added cleanup on EndPaint
12262 2004-08-19 19:17 pbartok
12265 - Added handling of WM_MOUSEHOVER
12266 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12269 2004-08-19 18:55 jordi
12271 * ThemeGtk.cs: fixes button order
12273 2004-08-19 18:12 jordi
12275 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12277 2004-08-19 17:09 pbartok
12280 - Added Right property
12281 - Added RightToLeft property
12283 2004-08-19 16:27 jordi
12285 * ThemeGtk.cs: experimental GTK theme support
12287 2004-08-19 16:26 jordi
12289 * ITheme.cs, Theme.cs: move themes from an interface to a class
12291 2004-08-19 16:25 jordi
12293 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12296 2004-08-19 16:04 pbartok
12299 - Added colormap basics
12300 - Added a way to re-initialize with a different display handle
12301 - Fixed setting of the window background color
12302 - Added various X11 imports related to colors and colormaps
12304 2004-08-19 15:51 pbartok
12307 - Removed packing hints (Paolo suggested this a while back)
12308 - fixed colormap type
12309 - Added default Atom types
12310 - Added Screen and color structs and enums
12312 2004-08-19 15:39 pbartok
12315 - Added missing Draw() method
12316 - Added missing RecreateHandle event
12318 2004-08-19 15:30 pbartok
12321 - Added handling of WM_CLOSE
12323 2004-08-18 13:16 jordi
12325 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12328 2004-08-18 09:56 jordi
12330 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12332 2004-08-17 15:31 ravindra
12334 * SWF.csproj: Updated project.
12336 2004-08-17 15:25 pbartok
12339 - Drawing improvement; don't call UpdateBounds if we are not visible
12340 (or have been minimized)
12342 2004-08-17 15:24 pbartok
12345 - Finished IsVisible
12346 - Added Win32GetWindowPlacement
12348 2004-08-17 15:08 jackson
12350 * Panel.cs: Initial checkin of the Panel
12352 2004-08-17 14:25 pbartok
12355 - Fixed broken handling of default window sizes
12357 2004-08-17 13:29 jackson
12359 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12360 has a large startup time.
12362 2004-08-17 10:25 jackson
12364 * HandleData.cs: union areas properly
12366 2004-08-17 10:12 jackson
12368 * HandleData.cs: union areas properly
12370 2004-08-16 20:00 ravindra
12372 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12374 2004-08-16 18:48 ravindra
12376 * ToolBar.cs: Added attributes.
12378 2004-08-16 17:17 ravindra
12380 * SWF.csproj: Updated project.
12382 2004-08-16 17:16 jackson
12384 * XplatUIX11.cs: Check for more expose events before sending a
12385 WM_PAINT so they can all be grouped together. This makes dragging a
12386 window across another window redraw in a sane way.
12388 2004-08-16 15:47 pbartok
12391 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12392 support OnMouseEnter/Leave()
12393 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12396 2004-08-16 15:46 pbartok
12398 * XplatUIStructs.cs, XplatUIX11.cs:
12399 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12400 OnMouseEnter/Leave()
12402 2004-08-16 15:34 jackson
12404 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12405 sure messages get the message field set to WM_NULL if they are not
12408 2004-08-16 15:24 jackson
12410 * HandleData.cs: HandleData is used for storing message information
12413 2004-08-15 17:23 ravindra
12415 * ColorDepth.cs: Added attribute.
12417 2004-08-15 17:23 ravindra
12419 * SWF.csproj: Updated project for ToolBar Control.
12421 2004-08-15 17:20 ravindra
12423 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12424 control and also dos2unix format.
12426 2004-08-15 17:13 ravindra
12428 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12429 ToolBarButtonClickEventArgs.cs,
12430 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12431 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12433 2004-08-15 15:31 pbartok
12436 - First (mostly) working version
12438 2004-08-13 16:15 pbartok
12441 - Fixed Anchor default
12443 2004-08-13 15:43 pbartok
12446 - Changed GetCursorPos signature
12448 2004-08-13 15:42 pbartok
12450 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12451 - Changed signature for GetCursorPos
12453 2004-08-13 15:25 pbartok
12457 - Fixed resizing/exposure handling
12459 2004-08-13 15:22 jordi
12461 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12464 2004-08-13 14:55 jordi
12466 * TrackBar.cs: change from wndproc to events
12468 2004-08-13 13:00 jordi
12470 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12471 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12473 2004-08-13 12:53 pbartok
12476 - Changed GetWindowPos to also provide client area size
12477 - Fixed broken prototypes for several win32 functions
12479 2004-08-13 12:53 pbartok
12481 * XplatUI.cs, XplatUIDriver.cs:
12482 - Changed GetWindowPos to also provide client area size
12484 2004-08-13 12:52 pbartok
12487 - Added generation of WM_POSCHANGED
12488 - Changed GetWindowPos to also provide client area size
12490 2004-08-13 12:52 pbartok
12493 - Added Dispose() and destructor
12494 - Fixed resizing and bounds calculation
12496 - Added memory savings for invisible windows
12498 2004-08-13 12:46 jordi
12500 * TrackBar.cs: adds timer and grap window
12502 2004-08-13 10:25 jackson
12504 * Timer.cs: SWF Timer
12506 2004-08-12 16:59 pbartok
12508 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12509 - Implemented method to get current mouse position
12511 2004-08-12 14:29 jordi
12513 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12514 enhancement, fix mouse problems, highli thumb, etc
12516 2004-08-12 13:31 pbartok
12519 - Fixed Anchoring bugs
12521 2004-08-12 13:01 jackson
12523 * StatusBar.cs: Don't forget things
12525 2004-08-12 12:54 jackson
12527 * ThemeWin32Classic.cs: Handle owner draw status bars
12529 2004-08-12 12:54 jackson
12531 * StatusBar.cs: Implement missing properties, events, and methods.
12532 Handle mouse clicking
12534 2004-08-12 10:19 jackson
12536 * StatusBarPanelClickEventArgs.cs,
12537 StatusBarPanelClickEventHandler.cs: Classes for handling status
12538 bar panel click events
12540 2004-08-12 10:10 jackson
12542 * Control.cs: Add missing properties
12544 2004-08-12 09:46 pbartok
12546 * BindingsManagerBase.cs:
12547 - Name changed to BindingManagerBase.cs
12549 2004-08-12 09:25 jordi
12551 * ScrollableControl.cs: calls ctrlbase instead of exeception
12553 2004-08-11 16:28 pbartok
12555 * InputLanguageChangingEventArgs.cs:
12556 - Never check in before compiling. Fixes the last check-in
12558 2004-08-11 16:26 pbartok
12560 * InputLanguageChangingEventArgs.cs:
12561 - More signature fixes
12563 2004-08-11 16:20 pbartok
12565 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12566 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12567 ImageListStreamer.cs, InputLanguage.cs,
12568 InputLanguageChangedEventArgs.cs,
12569 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12570 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12571 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12572 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12575 2004-08-11 16:16 pbartok
12579 - Added .Net 1.1 method
12581 2004-08-11 15:25 pbartok
12584 - Fixed BindingManagerBase.cs filename
12586 2004-08-11 15:22 pbartok
12588 * BindingManagerBase.cs:
12589 - Was checked in with wrong filename
12591 2004-08-11 14:50 pbartok
12596 2004-08-11 13:41 jordi
12598 * XplatUIWin32.cs: Fixes ClientRect
12600 2004-08-11 13:19 pbartok
12602 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12604 - We had SetWindowPos and MoveWindow to set window positions and
12605 size, removed MoveWindow. We have GetWindowPos, so it made sense to
12606 keep SetWindowPos as matching counterpart
12607 - Added some X11 sanity checking
12609 2004-08-11 12:59 pbartok
12612 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12613 (It seems that SetBounds is just a front for SetBoundsCore and
12614 SetBoundsCore updates the underlying window system and
12615 UpdateBounds is responsible for updating the variables associated
12616 with the Control and sending the events)
12617 - Major cleanup of Size handling; we now have two sizes, client_size
12618 and bounds. Bounds defines the window with decorations, client_size
12621 2004-08-11 12:55 pbartok
12623 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12624 - Added method to calculate difference between decorated window and
12627 2004-08-11 12:54 pbartok
12630 - Forcing redraw on resize
12632 2004-08-11 11:43 pbartok
12635 - Removed disposing of the actual images when the list is disposed
12637 2004-08-11 09:13 pbartok
12640 - Now properly reparents windows
12642 2004-08-11 08:37 pbartok
12647 2004-08-11 07:47 pbartok
12650 - Rewrote the collection stuff. Might not be as fast now, not
12651 keeping the number of children around and accessible directly, but
12652 it's more straightforward
12654 2004-08-11 07:44 pbartok
12656 * AccessibleObject.cs:
12657 - Fixed to match ControlCollection rewrite
12659 2004-08-11 07:43 pbartok
12662 - Added missing creation of the collection list
12664 2004-08-10 20:08 jackson
12666 * StatusBar.cs: Get the paint message from WndProc
12668 2004-08-10 19:31 jackson
12670 * ThemeWin32Classic.cs: Create Brushes as little as possible
12672 2004-08-10 19:20 jackson
12674 * UICues.cs: Add Flags attribute
12676 2004-08-10 19:19 jackson
12678 * StatusBarPanel.cs: Signature cleanup
12680 2004-08-10 19:10 jackson
12682 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12683 Initial implementation of status bar item drawing
12685 2004-08-10 17:27 jordi
12687 * TrackBar.cs: add missing methods, properties, and restructure to
12690 2004-08-10 16:24 jackson
12692 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12693 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12696 2004-08-10 13:21 jordi
12698 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12699 enhancements and standarize on win colors defaults
12701 2004-08-10 12:52 jackson
12703 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12704 ThemeWin32Classic.cs: Implement DrawItem functionality
12706 2004-08-10 12:47 jordi
12708 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12710 2004-08-10 12:32 jordi
12712 * Control.cs: throw ontextchange event
12714 2004-08-10 11:43 pbartok
12717 - Added more to the still unfinished Dock/Anchor layout code
12719 2004-08-10 11:39 pbartok
12721 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12722 - Added GetWindowPos method
12724 2004-08-10 11:36 pbartok
12727 - Implemented several methods
12729 2004-08-10 09:47 jackson
12731 * TrackBar.cs: Allow control to handle buffering
12733 2004-08-10 09:41 jackson
12735 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12737 2004-08-10 09:24 jackson
12739 * Label.cs, LinkLabel.cs: Let Control handle buffering.
12741 2004-08-10 09:09 jackson
12743 * StatusBar.cs: Let Control handle all the buffering.
12745 2004-08-10 09:08 jackson
12747 * Control.cs: Control will now handle the buffering code, so each
12748 control does not have to implement this.
12750 2004-08-10 08:34 jackson
12752 * XplatUIDriver.cs: Use default colors from the theme
12754 2004-08-09 17:12 pbartok
12757 - Fixed several bugs Ravindra pointed out
12759 2004-08-09 16:11 pbartok
12762 - Added incomplete dock layout code
12763 - Added support for mouse wheel
12765 2004-08-09 16:09 pbartok
12768 - Added handling for middle and right mousebutton
12769 - Added handling for mouse wheel
12770 - Added handling for key state and mouse state and position
12771 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12774 2004-08-09 15:40 jackson
12776 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12777 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12780 2004-08-09 15:37 jackson
12782 * StatusBar.cs: Initial implementation of StatusBar
12784 2004-08-09 15:36 jackson
12786 * ITheme.cs: Add support for drawing status bar and getting status
12789 2004-08-09 15:35 pbartok
12794 2004-08-09 15:34 jackson
12796 * ThemeWin32Classic.cs: Add support for drawing status bar and get
12797 status bar item sizes
12799 2004-08-09 15:21 jackson
12801 * ThemeWin32Classic.cs: Use known colors for default control
12804 2004-08-09 15:12 jackson
12806 * ThemeWin32Classic.cs: Make the default font static, it is static
12807 in control so this doesn't change functionality and creating fonts
12810 2004-08-09 14:56 pbartok
12813 - Added GrabMode enum
12815 2004-08-09 14:55 pbartok
12817 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12818 - Removed Run method, was only required for initial development
12820 2004-08-09 14:51 pbartok
12822 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12823 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12826 2004-08-09 13:48 pbartok
12829 - Fixed default sizing for child windows
12831 2004-08-09 12:56 pbartok
12834 - Added generation of WM_DESTROY message
12835 - Added handling of window manager induced shutdown
12837 2004-08-09 11:31 jackson
12839 * ThemeWin32Classic.cs: New names for control properties
12841 2004-08-09 11:25 jackson
12843 * Control.cs: Use new color names
12845 2004-08-09 11:02 jackson
12847 * XplatUI.cs: Get default window properties from the theme
12849 2004-08-09 11:01 jackson
12851 * ITheme.cs: The theme engine now controls default window
12854 2004-08-09 11:00 jackson
12856 * ThemeWin32Classic.cs: Add default window color properties
12858 2004-08-09 10:17 jackson
12860 * ThemeWin32Classic.cs: Use correct default back color
12862 2004-08-09 10:05 jackson
12864 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12867 2004-08-09 09:56 jackson
12869 * XplatUI.cs: Remove defaults, these are handled by the theme now.
12871 2004-08-09 09:54 jackson
12873 * Control.cs: Get default properties from the theme.
12875 2004-08-09 09:53 jackson
12877 * ITheme.cs: Themes now handle default control properties
12879 2004-08-09 09:53 jackson
12881 * ThemeWin32Classic.cs: Themes now handle default control
12882 properties so coloring will be consistent
12884 2004-08-08 16:54 jordi
12886 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12888 2004-08-08 15:08 jordi
12890 * XplatUIX11.cs: fixes keyboard crash
12892 2004-08-08 13:47 jordi
12894 * Label.cs: add cvs header info
12896 2004-08-08 12:09 jackson
12898 * ThemeWin32Classic.cs: Add pen_buttonface
12900 2004-08-08 11:52 jordi
12902 * Label.cs, LinkLabel.cs: [no log message]
12904 2004-08-08 11:34 jordi
12906 * ThemeWin32Classic.cs: Use Windows Standard Colours
12908 2004-08-07 17:32 jordi
12910 * TrackBar.cs: throw exceptions of invalid enums values
12912 2004-08-07 17:31 jordi
12914 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12917 2004-08-07 16:56 jackson
12919 * HorizontalAlignment.cs: Initial checkin
12921 2004-08-07 13:16 jordi
12923 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12926 2004-08-07 13:05 jordi
12928 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12929 GetSysColor defines
12931 2004-08-06 18:01 pbartok
12933 * ThemeWin32Classic.cs:
12934 - Fixed some rounding issues with float/int
12936 2004-08-06 18:00 jackson
12938 * DockStyle.cs, AnchorStyles.cs:
12940 Add flags and serializable attributes.
12942 2004-08-06 17:46 pbartok
12945 - Implemented GetParent
12947 2004-08-06 17:18 pbartok
12950 - Fixed some rounding issues with float/int
12952 2004-08-06 17:17 pbartok
12954 * X11Structs.cs, XplatUIX11.cs:
12955 - Fixed Refresh and Invalidate
12957 2004-08-06 15:30 pbartok
12959 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12960 - Fixed recursive loop when resizing
12961 - Improved/fixed redrawing on expose messages
12963 2004-08-06 09:53 jordi
12965 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12966 keyboard navigation
12968 2004-08-06 08:02 pbartok
12970 * X11Structs.cs, XplatUIX11.cs:
12971 - Fixed reparenting
12972 - Fixed window border creation
12974 2004-08-05 15:38 pbartok
12977 - Attempted fix for reparenting problems
12979 2004-08-04 15:14 pbartok
12982 - Fixed Invalidation bug (calculated wrong client area)
12983 - Added ClientSize setter
12985 2004-08-04 15:13 pbartok
12988 - Added AutoScale properties
12990 2004-08-04 15:13 pbartok
12993 - Added latest files
12995 2004-08-04 14:11 pbartok
12997 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12999 - Added Invalidate handling
13001 2004-08-03 17:09 jordi
13003 * XplatUIDriver.cs: fixes spelling mistake
13005 2004-07-27 09:53 jordi
13007 * TrackBar.cs: fixes trackbar events, def classname, methods
13010 2004-07-27 09:29 jordi
13012 * ScrollBar.cs: fixes scrollbar events
13014 2004-07-27 04:38 jordi
13016 * Control.cs: changes to be able to run winforms samples
13018 2004-07-26 11:42 jordi
13020 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13021 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13023 2004-07-26 05:41 jordi
13025 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13026 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13029 2004-07-22 09:22 jordi
13031 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13032 check link overlapping, implement events, and fixes
13034 2004-07-21 10:28 jordi
13036 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13038 2004-07-21 10:19 jordi
13040 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13041 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13042 LinkLabelLinkClickedEventArgs.cs,
13043 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13044 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13047 2004-07-19 13:09 jordi
13049 * Control.cs, Label.cs: label control re-written: added missing
13050 functionlity, events, and properties
13052 2004-07-19 10:49 jordi
13054 * Control.cs: fixes SetBounds logic
13056 2004-07-19 01:29 jordi
13058 * Control.cs: Call RefreshWindow only if the window has created
13060 2004-07-15 14:05 pbartok
13062 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13063 - Implemented ImageList and ImageList.ImageCollection classes
13064 - Added ColorDepth enumeration
13065 - Updated SWF VS.Net project
13067 2004-07-15 11:06 jordi
13069 * XplatUIStructs.cs: added MsgButons enum
13071 2004-07-15 11:03 jordi
13073 * Control.cs: added basic mouse handeling events
13075 2004-07-15 03:38 jordi
13077 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13078 Vertical TrackBar control implementation
13080 2004-07-13 09:33 jordi
13082 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13084 2004-07-13 09:31 jordi
13086 * Control.cs, Form.cs: commit: new properties and fixes form size
13089 2004-07-09 14:13 miguel
13091 * ProgressBar.cs: Spelling
13093 2004-07-09 11:25 pbartok
13096 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13099 2004-07-09 11:17 miguel
13101 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13103 * ProgressBar.cs: Fixed spelling for `block'
13105 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13108 Avoid using the += on rect.X, that exposed a bug in the compiler.
13110 2004-07-08 23:21 pbartok
13112 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13113 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13114 BaseCollection.cs, Binding.cs, BindingContext.cs,
13115 BindingMemberInfo.cs, BindingsCollection.cs,
13116 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13117 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13118 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13119 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13120 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13121 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13122 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13123 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13124 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13125 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13126 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13127 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13128 InputLanguageChangedEventArgs.cs,
13129 InputLanguageChangedEventHandler.cs,
13130 InputLanguageChangingEventArgs.cs,
13131 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13132 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13133 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13134 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13135 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13136 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13137 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13138 QueryAccessibilityHelpEventArgs.cs,
13139 QueryAccessibilityHelpEventHandler.cs,
13140 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13141 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13142 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13143 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13144 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13145 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13146 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13147 XplatUIX11.cs, lang.cs: