1 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
4 - Added new InternalCapture method to allow controls to prevent
5 the capture behaviour on the click handlers
6 - Switched to use InternalCapture
8 - Using InternalCapture to prevent mouse captures from being released
9 on mouse button release (Fixes #78100)
10 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
11 returns Form borders if a caption is present. (Fixes #78310)
13 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
15 * TreeNode.cs: Changed serialization .ctor to not require every field
16 to be present. (#78265)
17 * OwnerDrawPropertyBag.cs: Added serialization .ctor
19 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
21 * MimeIcon.cs: for is faster than foreach for strings.
23 2006-05-05 Mike Kestner <mkestner@novell.com>
25 * CheckedListBox.cs: update check handling code to not use selected.
26 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
27 behavior for visual feedback, motion response, shift/ctrl handling,
28 and properly deal with all 4 selection modes. Updates to bounds
29 handling logic. Add scroll wheel support. [Fixes #77842]
31 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
34 - Moved adding of Implicit controls into .ctor. That way, subsequent
35 creation of the controls will not cause them to think they are
36 toplevel windows (fixes #78200 header problem)
37 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
38 - Switched visibility setting of header control to use internal field
39 to avoid triggering handle creation
40 - Now checking if handle is created before causing a refresh when items
41 are added (This makes us now match handle creation time with MS)
42 * Splitter.cs: Removed loading of private splitter cursor, switched to
43 Cursors version now that that is loading the right ones
44 * Cursors.cs: Load proper splitter cursors from resources
45 * Cursor.cs: Added second method of loading resource cursors for the
46 VS.Net users amongst us
48 2006-05-05 Mike Kestner <mkestner@novell.com>
50 * ListView.cs: give header_control a minimum size based on the
53 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
55 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
56 window seems to do that with metacity, so set that type. (#78120)
58 2006-05-05 Mike Kestner <mkestner@novell.com>
60 * ListViewItem.cs: fix Details mode checkbox layout bug.
61 * ThemeWin32Classic.cs: draw a ListView column header for unused space
62 at the end of the header, if it exists. [Fixes for #78200]
64 2006-05-04 Jackson Harper <jackson@ximian.com>
66 * MdiClient.cs: Add a helper property to get the container form.
67 * MdiWindowManager.cs: We have to make sure to use the menu origin
68 when drawing the icons and buttons, this fixes maximized window
69 icons/buttons on win32.
70 * InternalWindowManager.cs: Reset the restore captions when a
71 window goes from Maximized to Minimized and vice versa. Move the
72 DrawMaximizedButtons into the MdiWindowManager source, tool
73 windows can't be maximized. NOTE: This could use a little
74 refactoring if time ever permits.
76 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
78 * TextBox.cs: Add MWFCategoryAttributes
79 * TextBoxBase.cs: Add MWFCategoryAttributes
80 * Form.cs: Add MWFCategoryAttributes
82 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
84 * Control.cs: Add MWFCategoryAttributes
85 * ScrollableControl.cs: Add MWFCategoryAttributes
87 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
89 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
90 Divider is true. Fix a little glitch in PropertyToolBar
93 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
96 - Dispose: Call base.Dispose, this causes the disposed event
97 to be fired (and probably other, more important stuff)
98 - SetVisibleCore: Set is_visible to true after creating the
99 window so that the window still gets created invisible (if
100 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
101 to generate a WM_ACTIVE message
102 * Form.cs: Call Dispose when we want to destroy the window, instead of
103 just destroying the handle (Dispose will do that for us)
105 - RootWindow also needs a queue, so we can properly process the
106 property change events from RootWindow (like Activate)
107 - Generatic synthetic WM_ACTIVE message when the active window is
110 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
112 * LinkLabel.cs: Trigger a recalc of our label dimensions when
115 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
117 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
118 for determining width and height (image might not be assigned if
119 we're drawing an imagelist)
121 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
123 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
124 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
126 * Theme.cs: No longer returns hardcoded menu height, instead calls
128 * Form.cs (OnLoad): Scaling happens before triggering Load events
131 2006-05-01 Mike Kestner <mkestner@novell.com>
133 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
135 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
137 * TextBoxBase.cs: Removed Fixme
138 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
140 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
143 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
144 the rectangle relative to the parent, considering borders. We
145 don't really want that.
146 - ScrollWindow: Fixed warning to be more understandable
147 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
148 scrollbars and scroll only the visible area
149 * RichTextBox.cs: Removed debug output
151 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
153 * NumericUpDown.cs (Text): Just use base
154 * UpDownBase.cs: Ensure txtView is created before using it
156 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
158 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
159 casting to IntPtr to avoid 64bit overflow errors
161 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
164 - AllowDrop: Don't force handle creation.
165 - CreateHandle: Added call to tell driver if we're allowed to drop
167 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
169 * FileDialog.cs: Remember the last directory not only for the
170 current instance but also for new FileDialog instances.
172 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
174 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
175 broke sending async messages
177 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
180 - ScrollWindow: Fixed method. We finally generate expose events again
181 for scrolled areas. This was causing 'garbage' when scrolling
182 textbox and other controls that used ScrollWindow
183 - Switched from using the regular queue for paint events to the MS
184 model of 'generating' paint events when the queue is empty.
185 We use the new XQueueEvent.Paint subclass to store which windows
187 - AddExpose now takes the x/y/width/height of the exposed area
188 and inserts the window into the paint queue if not already there
189 - InvalidateWholeWindow: Switched to use new AddExpose method
190 - UpdateMessageQueue: Added which queue to monitor for paint events
191 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
192 the unlikely case nothing above handles it. We reset the expose
193 pending states to get them off the queue.
194 - GetMessage: Now pulls a paint event if no other events are in the
196 - Invalidate: Switched to new AddExpose method
197 - PeekMessage: Updated to understand pending paint events
198 - UpdateWindow: Fixed logic bug. We were only updating if the window
199 didn't need updating. Also switched to sending WM_PAINT directly,
201 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
202 and random access Remove(). The random access is needed to handle
203 UpdateWindow() where a WM_PAINT is sent directly without accessing
205 * ScrollBar.cs: Added Update() calls to cause immediate updates to
206 allow for better feedback when scrolling. Scrollbars are small and
207 the immediate update should make it 'feel' more responsive without
208 slowing things down. ScrollBar still needs it's invaliate logic
209 updated to not always invalidate the whole bar on certain changes.
211 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
214 (BackColor): if the control does not support a transparent background,
215 return the default backcolor when the parent backcolor is transparent.
217 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
219 * Application.cs: Updated to new StartLoop/GetMessage API
220 * RichTextBox.cs: Provide some output on RTF parsing errors
221 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
222 new queue_id argument to GetMessage and PeekMessage to allow faster
223 handling of per-thread queues in drivers.
224 * Hwnd.cs: Added Queue tracking and property
225 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
226 * XEventQueue.cs: Added thread trackingA
227 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
229 - Implemented new per-thread queue
230 - GetMessage: Fixed return/break behaviour on several cases. We were
231 returning stale messages in some cases, instead of just processing
234 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
236 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
238 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
240 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
241 fixed off-by-one comparisons between Width/Height and Right/Bottom.
243 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
245 * PropertyGridView.cs: Fix drop down width.
247 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
249 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
250 a mess in DrawToolBar, so I removed one of them.
252 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
254 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
255 needed (clip). Otherwise we get artifacts.
257 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
259 * FixedSizeTextBox.cs: Added constructor to allow specifying which
261 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
262 and switched FixedSizeTextBox to only be fixed vertical (#78116)
263 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
264 if it matches the scale base font (avoids unneeded scaling)
266 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
268 * X11DesktopColors.cs: One gtk_init_check should be enough
270 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
272 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
275 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
278 - Generate OnTextChanged for Backspace even if we're only deleting
279 the current selection
280 - When setting the Text property, only select all text if the
281 control does not have focus when it is being set. Otherwise
282 just place the cursor at the beginning of the control
284 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
286 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
287 Added a little helper to draw PropertyGrid ToolBar with a different
288 border and a different BackColor.
289 * PropertyGrid.cs: Some background parts didn't get painted with the
290 correct background color. Added a class that helps us to draw the
291 correct border for PropertyGridView and a class that helps us to
292 draw ToolBars with a different backcolor
293 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
295 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
297 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
298 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
300 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
302 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
303 into the palette entries. Also, since we're working on a copy
304 we needed to copy the palette back onto the bitmap.
305 * Cursor.cs: Same fix as XplatUIWin32.cs.
307 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
309 * ImageListStreamer.cs: Need to read the var (or we're off)
311 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
313 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
314 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
315 TextBoxBase.cs: Unused var fixes
316 * AxHost.cs: Small 2.0 fix
317 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
318 as it seems that is what at least Metacity expects. This will make
319 icons show up on 64bit platforms. We still have some 64bit size
320 issues, though, since the startup app window size still won't match.
322 2006-04-25 Mike Kestner <mkestner@novell.com>
324 * *.cs: cleanup newly reported exception var unused warnings.
326 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
328 * ThemeWin32Classic.cs: Button image alignment now matches exactly
331 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
333 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
334 image. The image position is always the same, no matter if the
335 button is pressed or not.
337 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
339 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
340 selection and set the correct filename for SaveFileDialog.
341 Patch by Emery Conrad.
343 2006-04-24 Mike Kestner <mkestner@novell.com>
345 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
346 check for item.X outside the ClientRect instead of item.Y. Fixes
349 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
351 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
352 trust that value blindly and do some sanity check. Fixes bug #77814.
354 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
356 * ImageListStreamer.cs: save the mask as a 1bpp image.
358 2006-04-21 Mike Kestner <mkestner@novell.com>
360 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
361 pass Checked and Indeterminate to the Theme Engine. Improve
362 encapsulation with ListBox.
363 * ListBox.cs: Keep a StringFormat instead of calculating it every item
364 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
365 nested types. Move all CheckState functionality to CheckedListBox.
366 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
367 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
368 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
369 single base list. Fix scrollbar sizing and placement to mirror MS.
370 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
372 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
373 for CheckedListBox by using new DrawItemState info. Center the
374 checkboxes on the items. Use new StringFormat property.
376 2006-04-18 Jackson Harper <jackson@ximian.com>
378 * Form.cs: MdiChildren don't do default locations the same way as
379 regular forms. This prevents a crash when trying to position the
382 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
384 * PropertyGridTextBox.cs: Formatting, copyright
385 * PropertiesTab.cs: Formatting
386 * PropertyGrid.cs: Formatting
387 * PropertyGridView.cs: Formatting, fix drop down, enabled double
388 click toggling of values
390 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
392 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
393 * Control.cs (.ctor): verify_thread_handle is static, don't reset
394 every time a control is created
395 * Application.cs: Removed obsolete EnableRTLMirroring method
397 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
399 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
400 SelectedIndex to -1. Fixes bug #78121.
402 2006-04-17 Jackson Harper <jackson@ximian.com>
404 * Binding.cs: Handle null values for Current and BindingContext.
405 This occurs when binding is a little delayed.
406 * CurrencyManager.cs: return null for Current when there are no
408 - Hookup to the listchanged event on the DataView and update
409 bindings when the list is changed. This fixes late binding of
412 2006-04-17 Jackson Harper <jackson@ximian.com>
415 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
418 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
420 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
422 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
423 with the correct ButtonState
425 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
427 * XplatUIX11.cs: Improved distinguishing between window types to
428 tell the WM a type closer to what the app wants (Fixes #78107)
430 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
432 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
435 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
437 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
438 drawing code to reflect the size grip changes
440 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
442 * ImageListStreamer.cs: fix handling of the mask that follows the main
443 bitmap when deserializing and serialize it properly. The generated mask
444 should better be a 1bpp image, but I'll do that later.
446 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
448 * FileDialog.cs: Show something in the DirComboBox on *nix if the
449 path doesn't fit into some of our Current.Places
451 2006-04-13 Jackson Harper <jackson@ximian.com>
453 * ComboBox.cs: Use borders instead of drawing our own decorations,
454 try to obey correct rules for heights.
457 * ThemeClearLooks.cs:
458 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
459 this is now handled by borders.
460 - Remove unused DrawListBoxDecorationSize method.
462 2006-04-13 Mike Kestner <mkestner@novell.com>
464 * MenuAPI.cs: null guarding for the disbled click check fixes crash
467 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
469 * ThemeWin32Classic.cs:
470 - Fixed CPDrawStringDisabled
471 - Corrected drawing of disabled menu items
472 - Fixed drawing of disabled radio buttons (bug #78095)
473 - Draw check in a disabled CheckBox with color ControlDark
475 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
477 * Form.cs: Use the provided width when calculating the menu size;
478 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
479 and ClientSize.Width won't be updated yet
480 * Application.cs: Use Visible instead of Show() to make form visible,
481 this way we create the handle later and menusize is considered
483 2006-04-12 Mike Kestner <mkestner@novell.com>
485 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
488 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
490 * TextBox.cs: Implemented context menu
492 2006-04-12 Mike Kestner <mkestner@novell.com>
494 * ListView.cs: implement box selection. fixes #77838.
495 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
497 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
499 * XplatUIX11.cs: Added setting of window type when transient window
500 is created (metacity would move it otherwise)
501 * X11Structs.cs: Added WINDOW_TYPE atoms
502 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
503 background (the control is Opaque but still wants transparent
506 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
508 * Control.cs: Added OnPaintBackgroundInternal to allow controls
509 that set Opaque but don't mean it (like all ButtonBase-derived
510 controls) to still draw their background
511 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
514 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
516 * Control.cs (PaintControlBackground): Set the graphics object
517 on our PaintEvent to null to prevent it from being disposed
518 when the PaintEvent gets disposed
520 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
522 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
523 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
525 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
528 - Added transparency check to BackColor property. Transparent
529 backgrounds are only allowed if the control styles permit it
530 - Added recursive painting of parent control background and
531 foreground if a control with a transparent backcolor is drawn
532 (Thanks to Tim Ringenback for providing his 'hack' as a base
533 for this patch) Fixes #77985 and #78026.
534 - Added Opaque style check before calling OnPaintBackground, no
535 need to draw the background if the control is opaque
536 - Removed ControlAccessibleObject owner variable (inherited from
537 base, no need to define again)
538 - Added some documentation links explaining the drawing events
541 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
543 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
544 that the affected control is the located at the left border of our
545 parent (Fixes #77936)
547 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
549 * TextBoxBase.cs: When rendering disabled or readonly controls,
550 draw the background with 'Control' instead of 'Window' color as
551 long as the user hasn't specifically set a color
553 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
555 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
556 since that won't be updated if the user types text (only if it's
559 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
561 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
562 layout changes do to app-triggered resizes will have the proper
563 display rectangle for layout
565 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
567 * ThemeWin32Classic.cs:
568 - Make use of the SystemBrushes and SystemPens wherever possible
569 - Corrected some highlight colors
570 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
572 * Theme.cs: Added Empty field to CPColor struct
574 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
576 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
577 is displayed when calculating the display rectangle. Thanks to Mike
578 for teaching me the err of my ways.
580 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
582 * ScrollableControl.cs:
583 - Rewrote DisplayRectangle code, now returning the proper x/y coords
584 (instead of 0,0) and we now return the real width/height instead of
585 just the clientrectangle, adjusted for padding. The rectangle is
586 now cached and created by the new CalculateDisplayRectangle method.
587 - Created new CalculateDisplayRectange method, which basically does
588 what get_DisplayRectangle() did originally, but now using the
589 right edge instead of DisplayRectangle to determine the size of
591 - get_Canvas(): Fixed it to properly calculate canvas for
592 right/bottom controls which seem to be placed to the right/bottom
593 of any controls that have a fixed location
594 - Removed TODO that's taken care of
595 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
596 and SetDisplayRectLocation according to new MSDN2 docs
597 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
598 event when that is called, this is added for compatibility
599 - ScrollControlIntoView(): Implemented.
600 - Switched scrollbars to be implicit, they shouldn't be selectable
601 * ContainerControl: Now that ScrollControlIntoView is implemented, we
602 call it when the active control is set/changed
603 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
604 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
605 implicit_control variable (used for native Win32 message generation)
606 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
607 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
608 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
609 * XplatUIStructs.cs: Added ScrollBarCommands enum
611 2006-04-10 Jackson Harper <jackson@ximian.com>
621 * PrintPreviewControl.cs:
627 * UpDownBase.cs: Fixup base event overrides.
629 2006-04-06 Mike Kestner <mkestner@novell.com>
631 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
632 all user-initiated value changes to min <= value <= max-thumbsz+1.
633 (set_Value): check for vert/horiz when calculating new thumb position.
634 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
636 (OnMouseMoveSB): refactor the thumb dragging code and refine
637 invalidation logic to reduce flicker.
638 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
639 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
640 (UpdateThumbPosition): small code readability cleanup
642 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
644 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
647 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
649 * ThemeNice.cs: Use a better graphics effect when a button is pressed
651 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
653 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
654 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
655 This dramatically reduces the number of Pen.Dispose calls.
656 Where possible call ResPool methods only once instead of calling it
657 over and over again (for example for the same color).
659 2006-04-06 Mike Kestner <mkestner@novell.com>
661 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
662 Also remove an unused private field on the collection. Fixes #77972.
664 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
666 * ThemeNice.cs: Added ToolBar drawing code
668 2006-04-06 Mike Kestner <mkestner@novell.com>
670 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
671 I'm assuming that means we need to look up the toplevel for the
672 provided control. Fixes the crash trace in #77911 but exposes another
673 crash in some strange reflection usage in NDocGui.
675 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
677 * ThemeNice.cs: Gave it a little silver touch and added Images
679 * FontDialog.cs: FontDialog is not resizable
680 * FileDialg.cs: Added SizeGripStyle.Show
682 2006-04-05 Jackson Harper <jackson@ximian.com>
684 * KeyboardLayouts.cs: Remove warning.
686 2006-04-05 Jackson Harper <jackson@ximian.com>
688 * Control.cs: Enable OnPaintInternal so we can use it for drawing
689 all of our controls instead of Paint +=.
704 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
705 use OnPaintInternal. Remove Width/Height and Visible checks in
706 paint handler, this is done at a higher level now.
707 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
708 * PaintEventArgs.cs: Add a handled flag so controls that don't
709 want anymore painting after OnPaintInternal can make sure OnPaint
712 2006-04-05 Mike Kestner <mkestner@novell.com>
714 * Form.cs: fix the menu WndProc hacks to respect the native enabled
715 state of the form, so that we don't process events when Modal dialogs
716 are up. Fixes #77922.
718 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
720 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
723 2006-04-05 Mike Kestner <mkestner@novell.com>
725 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
727 2006-04-05 Mike Kestner <mkestner@novell.com>
729 * ListView.cs (HeaderMouseMove): null guarding for the over column
730 when setting up the drag_to_index. Fixes #78015.
732 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
734 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
735 in the taskbar. Transient windows seem to accomplish that.
737 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
740 - Re-enabled CreateParams.X/Y code for FormStartPosition
741 - Added code for manual placement when creating the Control
742 - Incomplete patch to treat MDI forms differently when
743 setting the ClientSizeCore. (Still need to figure out handling
746 - When we're explicitly setting the X/Y position of a non-Child
747 window, let the WM know. Metacity really wants this.
749 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
751 * ThemeNice.cs: Added CPDrawButton
753 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
755 * ThemeNice.cs: Changed the color for focused buttons and activated
756 the arrows for small scroll buttons.
758 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
760 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
761 anymore. Changed some method modifiers to protected (virtual)
762 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
764 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
765 Updated drawing of menus, buttons and progressbars; added
768 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
770 * ImageListStreamer.cs: implemented serialization/deserialization
773 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
775 * ThemeWin32Classic.cs:
776 - Removed all the DrawFrameControl stuff; CPDrawButton,
777 CPDrawCheckBox and CPDrawRadioButton are now handled directly
779 - Updated and corrected the drawing code of CPDrawButton,
780 CPDrawCheckBox and CPDrawRadioButton to better match ms
781 - Updated theme checkbox and radiobutton code to use the CP*
784 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
786 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
789 2006-03-31 Jackson Harper <jackson@ximian.com>
791 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
793 * UpDownBase.cs: Don't CreateGraphics manually, use a
794 Refresh. Ideally we would invalidate the correct areas here.
796 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
799 - We now track the mapping state of windows. If a window (or
800 one of it's parents) is not mapped we no longer permit
801 WM_PAINT messages to be generated since we'd otherwise get
802 lots of BadMatch X errors. Jackson did all the work figuring
804 - Destroying the caret if the window it's contained in is
805 destroyed. Can't use regular DestroyCaret method since it
806 might fall into a drawing function (trying to remove the
807 caret) and with that generate new BadMatch errors. Again,
808 Jackson tracked this down.
809 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
810 make sure we send the messages to all windows. (The old code
811 would send the WM_DESTROY to the window, and then all child
812 windows would be 'gone' because the WM_DESTROY handle lookup
813 would no longer find the destroyed window)
814 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
815 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
817 2006-03-31 Jackson Harper <jackson@ximian.com>
819 * ScrollableControl.cs: Dont recalc if we are not visible.
821 2006-03-31 Mike Kestner <mkestner@novell.com>
823 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
824 the visibility branch.
826 2006-03-31 Jackson Harper <jackson@ximian.com>
828 * ScrollBar.cs: Cap values when incrementing/decrementing.
830 2006-03-31 Mike Kestner <mkestner@novell.com>
832 * MenuAPI.cs: setup menu.tracker for popup/context menus.
833 * ToolTip.cs: guard against timer expirations with no active control.
834 Not sure why it happened.
836 2006-03-31 Mike Kestner <mkestner@novell.com>
838 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
840 * ToolTip.cs: Position the tooltip based on where the cursor is at
841 popup time, not at MouseEnter time. Add a Down state so that we don't
842 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
843 positioning offset. Lookup DisplaySize at positioning time, since it
844 can theoretically change during invocation.
845 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
846 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
848 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
850 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
851 Fixes behaviour when the Text property of the box is String.Empty
853 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
855 * XplatUIX11.cs: Only send mouseleave for our client windows, not
856 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
859 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
861 * FileDialog.cs: Visual enhancement for the popup buttons in
864 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
866 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
869 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
871 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
872 highlighted menu items to match ms
874 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
876 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
878 2006-03-30 Mike Kestner <mkestner@novell.com>
880 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
881 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
882 go active to account for HotLight to Selected transition.
883 * MenuItem.cs: add internal Selected prop. Fill out the Status
884 property by calculating it from item info. Add HotLight,
885 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
887 2006-03-30 Mike Kestner <mkestner@novell.com>
889 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
891 2006-03-29 Jackson Harper <jackson@ximian.com>
893 * Form.cs: Implement TODO.
895 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
897 * PrintPreviewDialog.cs: Implemented missing methods and events; still
898 missing proper dialog setup in the constructor
900 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
902 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
904 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
905 - Fixed ResetBindings and removed TODO
906 - Added check for cross-thread calls to get_Handle()
907 - Added Marshaller attribute for set_Font to satisfy class status
908 * FontDialog.cs: Removed TODOs that seemed implemented
909 * UpDownBase.cs: Removed unneeded TODO and Fixme
910 * MessageBox.cs: Implemented support for Default button and removed TODO
911 * FileDialog.cs: Removed obsolete TODO
912 * DomainUpDown.cs: Removed obsolete TODO
913 * ButtonBase.cs: Removed obsolete TODO
914 * XplatUIWin32.cs: Removed obsolete TODO
916 - Removed obsolete TODO
917 - Calling CheckAcceptButton when the acceptbutton is changed to allow
918 internal status updates
919 - Making sure the active control is selected when the control is created
920 * CurrencyManager.cs: Removed obsolete TODO
922 2006-03-29 Mike Kestner <mkestner@novell.com>
924 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
925 of PrintPreviewDialog and RichTextBox.
927 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
929 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
930 DarkDark, Light and LightLight colors for a specific color
931 * ThemeWin32Classic.cs:
932 - Use Button drawing code to draw RadioButtons and CheckBoxes with
934 - Make use of the new ResPool helper CPColor
935 - Draw ProgressBar and StatusBar with correct 3D borders
937 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
939 * ColorDialog.cs: Return selected color. Fixes bug #77940.
941 2006-03-28 Mike Kestner <mkestner@novell.com>
943 * ListView.cs: fix Icon layout to plan for scrollbar widths when
944 calculating col/row counts.
946 2006-03-28 Mike Kestner <mkestner@novell.com>
952 switch to explicit interface method implementation for some methods
953 corcompare identifies as inconsistent with MS.
955 2006-03-28 Mike Kestner <mkestner@novell.com>
959 add a few missing methods from the class status output.
961 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
963 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
966 2006-03-28 Mike Kestner <mkestner@novell.com>
968 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
970 2006-03-27 Mike Kestner <mkestner@novell.com>
972 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
973 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
975 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
977 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
979 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
981 * ThemeWin32Classic.cs:
982 - GroupBox: Inserted a little gap between the text and the lines
984 - Made the code in CPDrawBorder3D more readable
985 - Corrected the drawing location of the up and down arrows in
988 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
990 * ControlPaint.cs: Corrected line widths in DrawBorder for
991 ButtonBorderStyle Inset and Outset
993 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
995 * ThemeWin32Classic.cs:
996 - Rewrote the totally broken CPDrawBorder3D method. That was
997 one of the main problems for the terrific ThemeWin32Classic
999 - Updated and corrected Button drawing
1000 - Correct the dimensions of the SizeGrip to match ms ones
1001 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1002 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1003 Border3DStyle.Sunken to match ms.
1005 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1007 * ThemeWin32Classic.cs: First small part of the "de-uglify
1008 ThemeWin32Classic" effort, SizeGrip
1010 2006-03-24 Jackson Harper <jackson@ximian.com>
1012 * XplatUIX11.cs: Give a max idle time of one second, this matches
1013 MS and forces an Idle event every second when there are no other
1014 events in the queue.
1016 2006-03-24 Mike Kestner <mkestner@novell.com>
1018 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1019 * ListView.Item.cs: fix layout issues with null image lists and images
1020 smaller than checkbox size.
1021 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1022 mode like MS does. It's weird, but consistent. ;-)
1025 2006-03-24 Mike Kestner <mkestner@novell.com>
1027 * ListView.cs: Scroll wheel support for the item control. Fixes
1030 2006-03-23 Jackson Harper <jackson@ximian.com>
1032 * ScrollableControl.cs: Special case negative sized areas, not
1034 * MonthCalendar.cs: Save the rect of the clicked date so we can
1035 use it for invalidation.
1036 - Try to cut down on the number of invalidates
1037 - Invalidate the rect the mouse is over and was over when moving
1038 the mouse, so we get the focus box following the cursor.
1040 2006-03-23 Mike Kestner <mkestner@novell.com>
1042 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1043 focus rectangle drawing. Fixes #77835.
1045 2006-03-23 Mike Kestner <mkestner@novell.com>
1047 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1048 the if and else if and reverting back to the original == check on the
1051 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1053 * FontDialog.cs: Update the example panel if the selected index of
1054 the fontListBox changes.
1056 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1058 * FileDialog.cs: Make FileDialog remember which directory it was in
1059 last in the same execution.
1061 2006-03-22 Mike Kestner <mkestner@novell.com>
1063 * FileDialog.cs: make the DropDownMenu on the toolbar display
1064 RadioChecks since they are mutually exclusive and that's what MS does.
1066 2006-03-22 Mike Kestner <mkestner@novell.com>
1068 * Theme.cs: add Color param to CPDrawMenuGlyph.
1069 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1070 checks and radio marks and arrows are visible on highlighted items.
1071 * ControlPaint.cs: update to use new Theme signature.
1073 2006-03-22 Mike Kestner <mkestner@novell.com>
1075 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1076 is active. Fixes #77870.
1078 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1080 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1081 to be focused/selected after startup
1083 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1086 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1087 CustomColors and ShowHelp properties
1088 - Some internal rewrites to get better results when using the
1091 2006-03-22 Mike Kestner <mkestner@novell.com>
1093 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1094 HoverSelection. Fixes #77836.
1096 2006-03-22 Mike Kestner <mkestner@novell.com>
1098 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1099 ToggleButtons. (De)Sensitize the Back button around a stack count of
1100 1, not 0. Update ButtonSize based on a pixel count of the win32
1101 control. Adjust the toolbar size/location for new button size.
1103 2006-03-22 Jackson Harper <jackson@ximian.com>
1105 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1107 * ScrollBar.cs: When doing increments and decrements we need to
1108 set the Value property so that ValueChanged gets raised. A
1109 possible optimization here would be to make an internal SetValue
1110 that doesn't invalidate immediately.
1111 * ToolTip.cs: Tooltips get added to their container (when
1112 supplied) so they get disposed when the container is disposed.
1113 - Don't create tooltips for String.Empty. This prevents all these
1114 little 2-3 pixel windows from showing up when running nunit-gui
1116 * Form.cs: Don't set topmost when setting the owner if the handles
1117 haven't been created yet. The topmost set will happen when the
1118 handles are created.
1120 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1123 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1124 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1125 visible (to allow them to recalculate their sizes)
1127 2006-03-21 Mike Kestner <mkestner@novell.com>
1129 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1130 methods. Removed a ton of redundant code. Still not really happy with
1131 the border rendering, but I think that's mainly because of the
1132 ControlDarkDark being black instead of a dark grey. Depending on how
1133 close we want to be, we might want to revisit those color choices.
1134 Among the new features added during the refactor were DropDownArrow
1135 pressed rendering, Disabled image rendering. Proper flat appearance
1136 boundary rendering. Removed the Divider and Wrapping dividers since I
1137 can't figure out any combination of themes and conditions to make the
1138 MS control draw a horizontal line on a toolbar despite what the
1139 Divider property docs indicate.
1140 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1141 conditions and incorrect layout. Updated to coding standard.
1142 * ToolBarButton.cs: refactored layout and positioning code from
1143 ToolBar to here. Invalidate wherever possible instead of forcing
1144 redraws of the whole toolbar.
1145 (Known remaining issues: explicit ButtonSize smaller than provided
1148 2006-03-21 Mike Kestner <mkestner@novell.com>
1150 * ContextMenu.cs (Show): use the position parameter instead of just
1151 showing at the MousePosition.
1153 2006-03-21 Jackson Harper <jackson@ximian.com>
1155 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1156 control handle this.
1157 * TreeNodeCollection.cs: If we are clearing the root node we need
1158 to reset top_node so calcs can still happen.
1159 * ThemeWin32Classic.cs: This is a Flags so we need to check
1162 2006-03-21 Jackson Harper <jackson@ximian.com>
1164 * DataGrid.cs: Create columns when the binding context has been
1166 * X11Structs.cs: Keysyms are uints.
1167 - Add size to fix build.
1169 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1171 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1173 - Added ResetMouseHover method to allow controls to retrigger
1174 hovering if they need it more than once
1175 - Implemented MouseHoverTime and MouseHoverSize properties
1176 * Timer.cs: Start() must reset the interval
1177 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1180 2006-03-21 Jackson Harper <jackson@ximian.com>
1182 * X11Keyboard.cs: improved layout detection. Move the nonchar
1183 tables into this file.
1184 * KeyboardLayouts.cs: Move the tables into resource files.
1186 2006-03-21 Mike Kestner <mkestner@novell.com>
1188 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
1190 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
1192 * Mime.cs: Various speed optimizations. Looking up mime types
1193 is now 2 times faster than before
1195 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1197 * CreateParams.cs: Added internal menu field
1199 - Switched call order for UpdateBounds; now we always call
1200 the one that also takes ClientSize, and we're calculating the
1201 client size via driver method in the others. The previous
1202 method of tracking client size by difference wasn't working
1203 for forms where even the starting client size wouldn't match
1204 the overall form size (due to borders) (Part of fix for #77729)
1205 - CreateParams(): Do not use parent.Handle unless the handle is
1206 already created. Causes havoc with Nexxia and throws off our
1207 creation of controls
1209 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
1210 - Switched handling of ConfigureNotify over to new PerformNCCalc
1211 method (consolidates code)
1212 - Changed RequestNCRecalc to use new PerformNCCalc method
1213 - Added calls to RequestNCRecalc when menus and borders are changed
1214 to allow app to set NC size. (Part of fix for #77729) This matches
1215 when MS send a WM_NCRECALC on Win32 windows.
1216 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
1217 (Part of fix for #77729). This matches what MS does, they also
1218 send that message when the form is made visible.
1219 - XException.GetMessage: Improved usability of X errors by including
1220 a translation of the window into Hwnd and Control class
1221 - Improved debug info for window creation, reparenting and destruction
1222 - Created helper method WindowIsMapped() [Currently not used]
1223 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
1225 - CreateParams: Now setting our menu on the new internal menu field
1226 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
1227 avoid calculating the same property twice
1229 - Improved usability of ToString() for debugging purposes
1230 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
1231 determine the height of the menu, instead of just the font. This
1232 required to also create a graphics context and to keep a bmp
1233 around (for performance reasons)
1235 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
1237 * MenuAPI.cs: Added OnMouseUp method
1239 - Now remembering the requested client size, avoids size errors
1240 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
1241 instead of base if the menu is active. This is required due to
1242 control now capturing and releasing on down/up and it would
1243 prematurely release our menu capture
1245 2006-03-17 Jackson Harper <jackson@ximian.com>
1247 * KeyboardLayouts.cs: Add the czech layouts.
1249 2006-03-16 Jackson Harper <jackson@ximian.com>
1251 * Control.cs: Use the viewport space when sizing not the controls
1252 client size, so things like ScrollableControl that effect the
1253 viewport size (when scrollbars are added) are computed correctly.
1254 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
1256 - Handle creating BindingManagers for null data sources.
1257 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
1258 source, otherwise when rows are added they are added to the 'fake'
1259 datasource and we will crash when trying to set the position in
1261 - Use Implicit scrollbars on the datagrid so they arent
1264 2006-03-16 Jackson Harper <jackson@ximian.com>
1267 * InternalWindowManager.cs:
1268 * MdiWindowManager.cs:
1269 * X11Keyboard.cs: I really want Mike to love me again (fix
1272 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1275 - OnMouseDown: Switch to editing mode when clicking on the cell
1276 even if we're clicking on the cell that's currently
1278 - ProcessGridKey: Left/Right now wrap like MS.Net does
1279 - ProcessGridKey: Tab now knows to add a new row when tab is
1280 pressed in the cell of the last column of the
1282 - ProcessGridKey: Enter now adds another row if pressed in the last
1283 row and selectes the new row, same column cell
1284 - ProcessGridKey: Home/End navigate columns, not rows, like
1285 originally implemented
1286 - Broke ProcessKeyPreview code out into an extra Internal method
1287 so it can be called from the edit code
1288 * DataGridTextBox.cs (ProcessKeyMessage):
1289 - Switched to accept Tab keypresses
1290 - Added F2 handling to allow jumping to the end of the edited cell
1291 - Added logic to allow moving caret left/right inside edited cell
1292 and making the edited cell jump when the caret hits cell borders
1293 - Tab and Enter are now passed to the datagrid after being handled
1295 - Removed capture code now that Control handles it
1296 - set_SelectionStart now ensures caret is visible
1298 2006-03-16 Jackson Harper <jackson@ximian.com>
1300 * TrackBar.cs: Debackwards the increment/decrement for handling
1301 mouse clicks on the bar with vertical trackbars.
1302 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
1305 2006-03-16 Mike Kestner <mkestner@novell.com>
1307 * ListView.cs: make shift/ctrl keyboard and mouse selection
1308 consistent with the MS control. Fix a bug in
1309 SelectedListViewItemCollection.Clear that was pissing me off for the
1310 better part of a day because the collection was being altered
1311 underneath us as we walked the list.
1313 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
1315 * Control.cs: Not sure how we could miss this so long, but it seems
1316 that MS.Net has Capture set all the way from before calling
1317 OnMouseDown through sending the mouse events until after
1318 OnMouseUp. This will fix DataGrid's selection being set to end
1319 at the location of the MouseUp.
1321 2006-03-15 Jackson Harper <jackson@ximian.com>
1323 * BindingContext.cs: Check the binding after its added so that it
1324 can initialize the binding managers and hookup to events.
1325 * Binding.cs: Data members seem to sometimes include rows/cols in
1326 the format Row.Column we now take this into account.
1327 - Hookup to the position changed event so we can update the
1328 control when the position has changed in the data set.
1329 * CurrencyManager.cs: Take into account the row/col naming
1330 convention when creating dataset tables.
1331 * BindingContext.cs: Using a newer better way of storing
1332 datasource/datamember pairs. Hopefully this better matches MS for
1333 looking up binding managers.
1336 2006-03-15 Jackson Harper <jackson@ximian.com>
1338 * BindingContext.cs: The currency manager needs the data member
1339 name, if the member is a data set we use the name to find the
1341 * CurrencyManager.cs: When creating the list prefer an IList over
1343 - Attempt to create a DataTable from a DataSet (TODO: might need
1344 some better error checking here, although MS doesn't seem to have much)
1345 - If we have a DataTable create a view and use it as our list.
1347 2006-03-15 Mike Kestner <mkestner@novell.com>
1349 * ListView.cs: keep a matrix of the icon mode layout to facilitate
1350 keyboard navigation. Support Up/Down/Left/Right selection correctly
1351 for all 4 View modes.
1352 * ListViewItem.cs: add internal row/col fields for icon layouts.
1354 2006-03-15 Jackson Harper <jackson@ximian.com>
1356 * TabControl.cs: Redraw the tabs when we resize so their newly
1357 calculated sizes are drawn on screen.
1358 * X11Keyboard.cs: Begginnings of XIM support. We also now support
1359 composite characters.
1360 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
1361 - filter events so that composite characters can be created
1363 * X11Structs.cs: Add XIMProperties enum.
1365 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1367 * Control.cs (BringToFront, SendToBack): Don't use window or handle
1370 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1372 * Control.cs (PerformLayout): We don't need to consider visiblity
1373 for anchoring, only for docking. This fixes 'whacky' alignment
1374 in listbox and other controls that use implicit scrollbars after
1375 the previous PerformLayout patch
1376 * ListBox.cs: Switched to use implicit scrollbars
1378 2006-03-14 Mike Kestner <mkestner@novell.com>
1382 - chain up the "new event" overrides to base and use
1383 OnEvent to raise them. Part of fix for bug #76509.
1385 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
1387 * FileDialog.cs: Do not select an item in the parent directory
1390 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1392 * Control.cs (PerformLayout): It would seem that we considered
1393 invisible windows for our layout. Not quite the right thing
1394 to do. Now we don't any longer, thereby fixing bug #76889.
1396 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
1398 * Control.cs (CanFocus): I goofed. A control can have focus
1399 even though it's not selectable. Made it match MS docs.
1401 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1403 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
1404 center by default (fixes #76895)
1405 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
1406 all uses of Border3DSides.All with the explicit ORd together
1407 Left|Right|Top|Bottom because I assume that nobody was aware
1408 that All also implies a center fill. Most places I checked had
1410 * ProgressBarStyle.cs: Added
1412 2006-03-13 Mike Kestner <mkestner@novell.com>
1414 * ListView.cs: fix breakage in drag shadow header positioning
1415 from Peter's csc compilation fix.
1417 2006-03-13 Mike Kestner <mkestner@novell.com>
1419 * ListView.cs: fix NRE produced by backspacing twice in a focused
1422 2006-03-13 Mike Kestner <mkestner@novell.com>
1424 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
1426 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1428 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
1430 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
1431 the allowed size before making programmatic size changes
1433 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1435 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
1436 set, metacity is broken and will still use the emty sizes in
1437 the struct. (Fix for #77089)
1439 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
1441 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
1442 WindowExStyles and marked both enums as Flags
1443 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
1444 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
1445 to match WindowStyles split
1447 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
1448 - Updated to match WindowStyles split
1450 - Fixed FosterParent creation, was using ExStyle on the Style field
1451 (This should help with Popup focus issues)
1452 - Updated to match WindowStyles split
1454 2006-03-13 Jackson Harper <jackson@ximian.com>
1456 * MdiWindowManager.cs: Use the system menu height. Fixes some
1457 strange sizing issues.
1459 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1461 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
1463 - Scroll to caret after inserting text (#77672)
1464 - Make scroll range one pixel higher, fixes off-by-one error (and
1465 makes underlines visible on the last line)
1467 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1469 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
1470 the keyboard state from being stuck with keys in 'pressed' state when
1471 focus is switched away via keyboard
1472 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
1473 reset the keyboard if no X11 KeyUp events are expected to come
1474 * X11Structs.cs: Switched type of Visible to bool to match driver
1476 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
1479 - Switched caret to be just 1 pixel wide, matches MS and looks less
1481 - Moved caret display 1 pixel down from the top of the control
1483 - InsertCharAtCharet: Update the selection start if moving the caret
1484 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
1485 - No longer always creating the caret when the caret methods are
1486 called. Only the actual ShowCaret/HideCaret will do that now
1487 - Only setting caret visible if the owner control has focus
1488 - UpdateView: Added invalidation-shortcut logic for center and right
1489 aligned text. Previously we'd update all according to the left
1490 logic which caused drawing errors. Also fixed height of invalidated
1491 areas, now properly invalidating the whole area (was off-by-one)
1492 - owner_HandleCreated: Always generate the document when the
1493 handle is created; this ensures that
1495 - Fixed situation where caret would disappear under the right
1496 window border, also improved scrolling behaviour on left-
1498 - Fixed right-aligned textboxes to have a border to the
1499 right instead of the caret being under the right border
1501 - Switched from 'nested' to simple visible/not visible tracking
1502 for caret (part of fix for #77671)
1503 - No longer passing through translated FocusIn/FocusOut messages
1504 since we were notifying too often and the wrong windows. Instead
1505 we just notify our focussed window of receiving or loosing focus
1506 * XplatUIWin32.cs: Switched from 'nested' show/hide
1507 counting for caret to simple visible yes/no behaviour (part of
1510 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1512 * Mime.cs: Remove debug code...
1514 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
1516 * MimeGenerated.cs: Removed
1517 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
1518 and subclasses) from /usr/(local/)share/mime and
1519 $HOME/.local/share/mime.
1521 2006-03-10 Jackson Harper <jackson@ximian.com>
1523 * MdiWindowManager.cs: Recalc the NC area when a window is
1524 maximized/restored so that the menu area is drawn on forms that
1527 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1529 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
1530 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
1531 us to force a WM_NCCALCRESIZE message being sent. This is needed
1534 2006-03-10 Jackson Harper <jackson@ximian.com>
1536 * Form.cs: We need to use the ActiveMenu when calculating menu
1538 - Fix nullref when the window manager hasn't been created yet.
1539 * Control.cs: Fix nullref when we try to bring a control to the
1540 front that has no parent.
1541 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
1543 - Add a dummy item to the maximized menu so it always has the
1544 correct height. Otherwise when there are no menus we don't get our
1548 2006-03-10 Jackson Harper <jackson@ximian.com>
1550 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
1552 * Form.cs: Make the window_state internal so the window managers
1554 - When an MDI child is maximized let its window manager create the
1555 main menu (so it can add its icon).
1556 - Notify the window managers of state changes
1557 - Let the window manager paint its buttons and handle button
1558 clicks on the menu when it is maximized.
1559 * InternalWindowManager.cs: Move the prev_bounds into the mdi
1560 window manager, since tool windows don't use it, only mdi windows.
1561 - Tell the main form that we don't want it to handle NCPAINT
1562 itself to avoid extra painting.
1563 - Handle clicks on a maximized windows menu.
1564 - Handle window state changes
1565 - Handle minimize/maximize clicks correctly by setting the window state.
1566 * MdiWindowManager.cs: Add an icon menu that (the menu you get
1567 when clicking on the forms icon).
1568 - New method to create a forms maximized menu. This is its normal
1570 - Handle window state changes.
1571 - Handle sizing of maximized windows. Maximized windows are just
1572 drawn bigger then the parent visible area. All controls are still
1573 there, they are just outside the visible area (this matches windows).
1574 * MdiClient.cs: No scrollbars when a child window is maximized.
1575 - Let the children windows figure out how big they should be when
1576 sizing maximized windows.
1577 - Implement a version of ArrangeIconicWindows somewhat similar to
1578 Windows version. There are some little differences, but I don't
1579 think any app will rely on the layout of minimized mdi windows.
1581 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1583 * Padding.cs: Several fixes to allow compiling with csc 2.0
1585 2006-03-09 Jackson Harper <jackson@ximian.com>
1588 * MenuItem.cs: Cheap hack so we can add items to the list without
1589 the events being raised. This allows adding mdi items during
1590 drawing. TODO: Should probably find a better time to add the items.
1592 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1594 * ThemeWin32Classic.cs:
1595 - CheckBox_DrawText: Added logic to not wrap if not enough space
1596 is available (Fix for bug #77727)
1597 - RadioButton_DrawText: Added logic not to wrap if not enough
1598 space is available (Fix for bug #77727). Also removed some
1599 duplicate code, DrawString always drawing the regular text
1600 before hitting the if statement.
1602 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1604 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
1606 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
1608 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
1609 * ContainerControl.cs: Partial implementation of some 2.0 scaling
1610 methods. Moved the new 2.0 properties into alphabetical order with
1611 other properties and added MonoTODO tags
1613 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1615 * AutoScaleMode.cs: Added. Fix build.
1617 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1619 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1620 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
1621 and was requiring premature handle creation for calls from above
1622 * Form.cs, Control.cs: Removed handle arguments from calls to
1623 CalculateClientRect()
1625 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1627 * ListView.cs (HeaderMouseMove): Fix csc compilation.
1628 drag_column.column_rect is MarshalByRef and can't be used that way
1630 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1632 * AxHost.cs: Added deserialization constructor for
1633 AxHost+State (fixes 77743)
1635 2006-03-09 Mike Kestner <mkestner@novell.com>
1638 - Added column drag reordering for details view.
1639 - fixed behavior when mouse is dragged off column and
1640 AllowColumnReorder is false.
1641 * ColumnHeader.cs: clone the format too in Clone.
1642 * Theme.cs: add DrawListViewHeaderDragDetails method.
1643 * ThemeWin32Classic.cs:
1644 - impl new method for drawing drag column shadows and targets.
1645 - support column offset for details mode in DrawListViewItem.
1647 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1649 * TextControl.cs: Reset the char_count when the document is cleared
1650 (Fixes bug reported on mono-winforms mailing list)
1652 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1654 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
1655 of calling base we simply process the key ourselves, since both
1656 DefWindowProc and the handled method would set m.Result.
1659 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
1661 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
1662 method also moves the window; instead implemented a copy of
1663 Control.ScaleCore (Part of fix for #77456)
1665 - Created new CreateGraphicsInternal method to allow providing
1666 a graphics context when no handle is created without triggering
1667 handle creation. (Part of fix for #77456)
1668 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1670 - Switched Constructor to require TextBoxBase instead of Control (to
1671 allow uncast access to CreateGraphicsInternal)
1672 - Safeguarded use of owner.Handle property. No longer accessing it
1673 unless the handle is already created.
1674 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
1675 - Now triggering a recalc when owning control becomes visible
1676 * TextBox.cs, RichTextBox.cs: Switched to use new internal
1677 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
1678 premature handle creation (Part of fix for #77456)
1680 - We now only destroy our double-buffering buffers when the
1681 control is resized or disposed, but not when visibility
1682 changes. (The code even re-created them twice every time)
1683 - Now requiring a redraw of the buffer on visibility changes
1684 (fixes bug 77654 part 2)
1685 - Not passing OnParentVisibleChanged up unless the control
1687 - CanFocus: Fixed to match MS documentation
1688 - Focus: Fixed to return actual focus state and to check if
1689 setting focus is legal before setting it
1691 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
1693 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
1694 when to draw focus rectangle by looking at parent focus and
1695 selected state instead. This fixes TabPages on Linux sometimes
1696 having none or multiple focus rectangles.
1697 * XplatUIX11.cs (SetFocus):
1698 - Don't set the focus if the same window already has focus
1699 - Use SendMessage instead of PostMessage (like it's Win32
1700 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
1701 to match MS behaviour
1702 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
1705 2006-03-07 Jackson Harper <jackson@ximian.com>
1707 * PictureBox.cs: Revert line I accidently committed last week.
1709 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
1712 - Added new IsRecreating and ParentIsRecreating properties to
1713 allow testing if RecreateHandle has been called on ourselves
1714 or one of our parents
1715 - WndProc(WM_DESTROY): If our control handle is being recreated
1716 we immediately need to create the handle when receiving the
1717 destroy, that way our child windows find a valid parent handle
1718 when they themselves are being recreated upon WM_DESTROY receipt
1719 (fix for bug #77654 part 1)
1721 - DestroyWindow: WM_DESTROY must be sent to our own window before
1722 notifying any child windows. MS documents that child windows
1723 are still valid when WM_DESTROY is received. (Control now relies on
1725 - Added some fine-grain debug options
1727 2006-03-06 Jackson Harper <jackson@ximian.com>
1729 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
1730 box and base calculations off this.
1731 * MdiChildContext.cs:
1732 * MdiWindowManager.cs: Don't need to ensure scrollbars here
1735 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
1737 * Splitter.cs: In situations where the affected control is added
1738 to the parent's control list after the splitter, we would not
1739 populate affected. Now we try populating it on mousedown, if
1740 it's not already set, and force it to be re-set whenever our
1743 2006-03-03 Matt Hargett <matt@use.net>
1745 * Control.cs: implement Control.Padding
1746 * Padding.cs: -Padding.All returns -1 when constructing with the
1747 implicit default ctor
1748 -Padding.ToString() matches MS.NET
1749 * ContainerControl.cs: implement
1750 ContainerControl.AutoScaleDimensions
1751 * ListControl.cs: implement ListControl.FormattingEnabled
1752 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
1754 * TabPage.cs: Implement UseVisualStyleBackColor.
1755 * PictureBox.cs: Implement PictureBox.InitialImage.
1757 2006-03-03 Mike Kestner <mkestner@novell.com>
1759 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
1760 event declarations to proxy to base event.
1761 * ListViewItem.cs: update to use ItemControl.
1762 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
1763 * ThemeWin32Classic.cs: update to new ListView theme API and fix
1764 column header label rendering for 0 width columns.
1766 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
1768 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
1769 that causes the control to be created. Fixes #77476.
1771 2006-03-02 Jackson Harper <jackson@ximian.com>
1773 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
1776 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
1778 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
1779 passed in for the EventArgs (fixes #77690)
1781 2006-03-01 Jackson Harper <jackson@ximian.com>
1783 * ScrollBar.cs: Refresh afterbeing resized.
1785 2006-02-28 Mike Kestner <mkestner@novell.com>
1787 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
1788 Clean up a tracker compile warning.
1789 * MenuItem.cs: add internal PerformPopup method.
1792 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1794 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
1795 implicit expose) when the text is set to null
1797 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1799 * RichTextBox.cs (FlushText): When newline is true, we always
1800 need to split the line, even if no text is on it and we may
1801 never eat newlines. (Fixes #77669)
1803 2006-02-28 Mike Kestner <mkestner@novell.com>
1805 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
1806 and set Selected instead.
1807 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
1810 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
1812 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
1814 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
1817 - Got rid of the panel. All controls are now directly added to
1819 - It is now possible to set a font with the Font property
1820 - MinSize and MaxSize property do now what they should
1821 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
1822 - Searching and selecting a font with the font textbox works now,
1823 the same applies to the style and size textbox
1824 - Draw the correct 3D border in the example panel
1825 - Fixed a little mem leak (unused fonts didn't get disposed)
1826 - Many other internal updates/rewrites...
1829 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1832 - InsertRTFFromStream: Added 'number of characters inserted' argument
1833 - set_SelectedRTF: Now using the number of characters to calculate
1834 the new location for the selection and cursor (x/y cannot be used
1835 due to potentially already wrapped text)
1837 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1839 * TextControl.cs: Added property and implemented means to allow
1840 disabling recalculation of a document (can be used to speed up
1841 multiple inserts and is needed to make RTF inserts predictable, see
1843 * RichTextBox.cs: Using the new NoRecalc property of Document to
1844 keep x/y insert locations predictable. Also makes it faster inserting
1847 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
1849 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
1850 it's easier for a child control to handle the other messages without
1851 having to duplicate the special functionality
1853 - WndProc: Removed calling base handler for WM_KEYDOWN and added
1854 code to handle processing the key ourselves, in order to get
1855 access to the result of KeyEventArgs.Handled. We now only call
1856 ProcessKey if they key hasn't been handled already. Fixes #77526.
1857 - set_Text: If null or empty string is given, just clear the
1858 document. Fixes part of #77526
1860 2006-02-27 Jackson Harper <jackson@ximian.com>
1862 * SizeGrip.cs: Paint the background color before painting the grip
1863 so things look right.
1864 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
1866 2006-02-27 Mike Kestner <mkestner@novell.com>
1869 - Restructure layout and invalidation model to remove a ton of
1870 flicker from the control and speed up performance in general.
1871 - Add manual column resize, flickers like crazy, but I already have
1872 some ideas on how I'll fix that. (#76822)
1873 - Merge the three Icon-based views into a single layout method.
1874 - Move item selection interaction logic from the item since
1875 interaction with the collections is more appropriate to the view.
1876 - Deselection on non-item clicks.
1878 - Encapsulate most of the layout. Add some internal props to trigger
1879 layout. Move to a model where Items invalidate themselves instead
1880 of just invalidating the whole control every time something changes.
1881 - Invalidate on Text/Caption changes.
1882 - switch to an offset based layout model to avoid having to absolute
1883 position every element on item moves.
1884 - correct checkbox layout to conform to MS layout.
1885 * ThemeWin32Classic.cs:
1886 - refactor some column header drawing code.
1887 - fix string justification for column headers (#76821)
1888 - make SmallIcon labels top justified for compat with MS impl.
1889 * ThemeClearlooks.cs:
1890 - adjust to new ListViewItem internal checkbox bounds api.
1892 2006-02-27 Jackson Harper <jackson@ximian.com>
1894 * Control.cs: Change where implicit controls fall in the zorder.
1895 They are now on top of all children.
1896 - Synced AddImplicit code with Add
1897 - Removed unused enumerator.
1898 * SizeGrip.cs: Remove the TODO as its been TODONE.
1900 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1902 * TextControl.cs(Insert): Combine the last lines unless the insertion
1903 string ends with \n\n, otherwise we leave one line too many (Fixes
1904 something I noticed with the testapp for #77526; the bug itself was
1905 already fixed in the previous checkin)
1907 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
1910 - SelectionColor and SelectionFont methods no longer set absolute
1911 styles. Instead, the keep font or color respectively (This
1912 resolves a long-standing FIXME in the code)
1913 - When flushing RTF text, the insert code now considers text trailing
1914 behind the insertion point (Fixes the bug where when replacing
1915 the selected text via SelectedRTF the remainder of the line behind
1916 the selection would stay on the first insertion line)
1918 - AppendText now updates the selection points after inserting text
1919 - AppendText now ensures that the last tag (sometimes 0-length) of
1920 the document is used for the style information (Fixes part of
1923 - Created new FontDefiniton class to allow describing partial style
1925 - StreamLine() now takes a lines argument, to allow it to decide
1926 whether an encountered zero-length tag is the last in the document
1927 (which must be kept to not loose the font/color contained in it,
1929 - Created Combine() and Split() methods for Marker structs, to
1930 support marker updates due to reformatted documents (soft line
1932 - Implemented Document.CaretTag setter
1933 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
1934 of the last line (Not the cause, but also exposed by bug #77220)
1935 - Added LineTag argument to InsertString method, to allow callers
1936 to force a certain tag to be used (required to force use of the
1937 trailing zero-length tag of a document)
1938 - Now updating markers in Combine(), to avoid stale tag markers
1939 - Added some method descriptions to aid maintenance
1940 - Implemented new FormatText concept, allowing additive/subtractive
1941 formatting by only specifying the components that are to be
1942 changed. This was needed for resolving the RTB.SelectedColor/
1943 RTB.SelectedFont fixmes
1944 - Added Break() support method to allow breaking up linetags (used
1945 for partial formatting)
1946 - Added GenerateTextFormat() method. It is used for partial
1947 formatting and allows to generate a full font/color from given
1948 attributes and an existing tag.
1950 2006-02-26 Jackson Harper <jackson@ximian.com>
1952 * XplatUIX11.cs: Use the correct caption height.
1953 - Translate hittest coordinates to screen coords to match MS.
1954 * XplatUIWin32.cs: When we create MDI windows we need to reset
1955 some of the style flags, so we get a nice blank window, and can
1956 draw all the decorations ourselves.
1957 - Set a clipping rectangle on the non client paint event, the
1958 window manager drawing code needs one.
1959 * Form.cs: The window manager needs to know when the window state
1961 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
1962 don't need to factor in border and title sizes in these
1963 methods. TODO: Remove the args and fix the call points.
1964 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
1966 - Let the driver set the cursors.
1967 - Improve active window handling
1968 - Correct sizes for title bars and buttons.
1969 - Match MS drawing better
1970 * MdiWindowManager.cs: We don't need to handle border style
1971 updates specially anymore.
1972 - Check for scrollbars when windows are done moving
1973 - Handle Active properly.
1974 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
1975 correctly. I am spewing the exception though, so we don't hide the
1978 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
1980 * DataGridViewRowPostPaintEventArgs.cs,
1981 DataGridViewCellPaintingEventArgs.cs,
1982 DataGridViewRowCollection.cs,
1983 DataGridViewRowPrePaintEventArgs.cs,
1984 DataGridViewCell.cs: Clear a few warnings and implement a few
1985 exceptions that should be thrown.
1987 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1989 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
1990 'inheriting' our parent's (non-default) cursor. (Part of
1993 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1995 * XplatUIX11.cs: Fixed cast to make csc happy
1997 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
1999 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2000 it's for the client area (part of fix for #77479 and needed
2001 for MDI window cursor handling)
2003 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2004 the appropriate default cursors and also passing the message
2006 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2007 for non-client areas
2009 2006-02-15 Jackson Harper <jackson@ximian.com>
2011 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2012 is a real MDI window
2014 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2016 * X11DesktopColors.cs: Instead of checking the desktop session
2017 string for "KDE" check if it starts with "KDE"
2019 2006-02-10 Jackson Harper <jackson@ximian.com>
2021 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2024 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2026 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2029 - Got rid of the panel. All controls are now directly added to
2031 - Changed to mono coding style
2033 2006-02-10 Jackson Harper <jackson@ximian.com>
2035 * InternalWindowManager.cs: We don't need the set visibility to
2036 false hack anymore now that peter has written beautiful shutdown
2039 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2041 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2042 where already explicitly destroyed
2044 2006-02-10 Jackson Harper <jackson@ximian.com>
2046 * MdiClient.cs: Handle the case where windows are too high or to
2047 the left and we need scrollbars.
2049 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2051 * MimeIcon.cs: Added some icons
2054 - Got rid of the panel. All controls are now directly added to
2056 - Changed to mono coding style
2057 - On Linux "My Computer" and "My Network" will now show some
2058 more usefull information. A new class, MasterMount, gathers
2059 this information from /proc/mount. Updated MWFFileView to make
2060 use of this information
2061 - Fixed a bug that caused FileDialog to crash when
2062 ".recently_used" file had a zero size
2063 - FilterIndex does now what it should
2065 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2068 2006-02-09 Jackson Harper <jackson@ximian.com>
2070 * ComboBox.cs: Don't touch if null.
2072 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2074 * Cursor.cs: 64bit safeness fix
2075 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2077 2006-02-09 Jackson Harper <jackson@ximian.com>
2079 * Form.cs: If a form is made into an MDI form update the styles so
2080 all the props can get set correctly.
2081 - Kill the mdi_container when we dont need it anymore.
2082 * InternalWindowManager.cs: Add missing NOT
2084 2006-02-08 Jackson Harper <jackson@ximian.com>
2086 * InternalWindowManager.cs: Respek clipping when drawing MDi
2089 2006-02-08 Jackson Harper <jackson@ximian.com>
2091 * Hwnd.cs: Add bits to track non client expose events.
2092 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2093 gives us a proper invalid rect and will allow for some nice
2094 optimizations with NC client drawing
2095 - MDI windows are children windows, so move their style handling
2096 into the child window block.
2097 * InternalWindowManager.cs: Remove a state reset that was
2098 getting invoked at the wrong time. Fixes managed windows getting
2099 into a 'stuck' captured state.
2101 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2103 * TextControl.cs (Document.ctor): Now initializing
2104 selection_anchor. Fixes #77493
2106 2006-02-07 Jackson Harper <jackson@ximian.com>
2108 * TrackBar.cs: The increment/decrements were backwards.
2110 2006-02-07 Mike Kestner <mkestner@novell.com>
2112 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2113 to the instance itself.
2115 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2117 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2118 on ulongs and pointers, the size differs between 32bit and 64bit
2121 2006-02-07 Mike Kestner <mkestner@novell.com>
2123 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2124 for 64 bit platforms to work around a metacity bug.
2126 2006-02-07 Jackson Harper <jackson@ximian.com>
2128 * TrackBar.cs: Process the input keys we need, and hookup to
2129 KeyDown instead of using WndProc, so we get key messages.
2131 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2133 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2135 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2136 we need to translate the XdndVersion atoms array before sending it
2138 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2141 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2142 number of bits for the property, not the number of bytes. The
2143 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2144 but would not crash since it specified 8 bits instead of 4 bits)
2145 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2146 defined as XID -> long in the C headers)
2147 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2148 references since those are now IntPtr to begin with
2149 - Switched all Atom.XXX 'int' casts to IntPtr casts
2150 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2151 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2152 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2154 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2155 - Changed atom in HoverStruct to be IntPtr
2157 - Removed local DllImports, switched code to use those from XplatUIX11
2158 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2160 2006-02-06 Mike Kestner <mkestner@novell.com>
2162 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2163 method signatures in the import region. There may still be some
2164 lingering struct marshaling issues, as I didn't drill down into those.
2167 2006-02-06 Jackson Harper <jackson@ximian.com>
2169 * ComboBox.cs: Dont manually set the top_item, this is computed
2170 when the scrollbar position is set.
2172 2006-02-06 Mike Kestner <mkestner@novell.com>
2174 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2175 startup crashes on amd64. There's other fixes needed. All pinvoke
2176 usage of Atom needs to be mapped to IntPtr for example. And there are
2177 likely other int/long issues to be addressed.
2179 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
2181 * FileDialog.cs: One more...
2183 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2185 * FileDialog.cs: Next try
2187 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2189 * FileDialog.cs: First part of fix for #77464
2191 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
2193 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
2194 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
2195 AcceptButton border drawing.
2197 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2199 * Form.cs: Moved positioning of form after auto scaling is applied,
2200 otherwise it would possibly use wrong form size.
2202 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
2204 * Control.cs (RecreateHandle): No need to re-create any child
2205 controls, the child windows will get destroyed automatically by
2206 the windowing system or driver, and re-created when the handle
2207 is being accessed the first time. Fixes #77456
2208 * Form.cs: No longer setting the form to closing if the handle is
2209 being recreated. This seems like the right thing to do, don't
2210 have a bug or testcase for this, though.
2212 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2214 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
2215 controls to avoid unwanted side effects
2217 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2220 - ScaleCore needs to scale the bounds, not the ClientSize of the
2221 control. Fixes #77416.
2222 - DefaultSize is 0,0 for control
2224 - DefaultSize is 100, 20
2225 - SetBoundsCore: Now enforcing the height, no matter if the provided
2226 height is more or less than the preferred one, as long as AutoSize
2228 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
2230 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
2233 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
2234 call unless both performLayout is true *and* we have a pending
2236 - ResumeLayout: MS does not completely nest Suspend and Resume,
2237 they bottom out at 0, fixed our code to match that.
2238 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
2239 SetBoundsCore, we were updating even when we shouldn't. This fixes
2240 swf-anchors mis-anchoring when resizing the app fast and lots.
2241 - UpdateDistances: Now only setting the left and top distance if
2242 we have a parent and are not suspended, this is based on
2243 a suggestion by Don Edvaldson in bug #77355.
2244 - OnVisibleChanged: Fixed logic when to create the control. We may
2245 not create the control if we have no parent or if it's not visible;
2246 switched to using Visible property instead of is_visible field
2247 since the property also considers parent states. This fixes a bug
2248 when starting Paint.Net
2250 2006-02-02 Jackson Harper <jackson@ximian.com>
2252 * Form.cs: If the forms handle hasn't been created yet don't call
2253 into xplatui to make it top most, just set the topmost flag on the
2254 form in CreateParams
2255 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
2257 2006-02-01 Jackson Harper <jackson@ximian.com>
2259 * ScrollableControl.cs: Refactored the Recalculate method a
2260 little, this wasn't handling all the variants of bottom and right
2261 bars needed to be added and added/removed based on their
2262 counterparts being added/removed (which changes the drawable
2263 size). Also we special case client widths and heights of 0 and
2264 don't add the scrollbar for those.
2266 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
2269 - Added method to get AbsoluteGeometry(); currently unused, but might
2270 be used in the future, if we try again to figure out toplevel
2271 coordinates with some more crappy window managers
2272 - Added FrameExtents() method to retrieve the WM set decoration size
2273 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
2274 to deal with at least KDE, FVWM and metacity (Fixes #77092)
2276 - Added whacky_wm tracking var for metacity
2277 - Added logic to have default menu height if the actual menu height
2278 has not yet been calculated (part of fix for #77426)
2279 * Form.cs: Keep track whether client size has been set and re-set
2280 it if a menu is added/removed afterwards (Fixes #77426)
2282 2006-01-31 Jackson Harper <jackson@ximian.com>
2284 * Control.cs: When a new Site is set on the component attempt to
2285 pull the AmbientProperties from it.
2287 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
2289 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
2290 in the background of the owning form. Fixes #77332
2292 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2294 * MimeIcon.cs: Fix for #77409
2296 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
2298 * XplatUIX11GTK.cs: Initial import
2300 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
2302 * FixedSizeTextBox: fixes class signature
2304 2006-01-30 Jackson Harper <jackson@ximian.com>
2306 * FixedSizeTextBox.cs: New internal class that represents a
2307 textBox that will not be scaled.
2310 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
2313 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2315 * XplatUIX11.cs: Retrieve default screen number instead of
2316 assuming 0. Attempted fix for #77318
2318 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
2321 - GetWindowPos: When a window is parented by FosterParent, use
2322 the desktop instead of FosterParent as the base to get coordinates
2323 - CreateWindow: Don't make FosterParent the parent window for Popups
2324 if we don't want a taskbar entry, Popups automatically don't get one
2325 * Hwnd.cs: Need to call remove to actually remove the key from the
2328 2006-01-30 Mike Kestner <mkestner@novell.com>
2330 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
2332 2006-01-30 Jackson Harper <jackson@ximian.com>
2335 * TreeNode.cs: Raise events no matter how the treenode is
2336 checked. Patch by Don Edvalson.
2338 2006-01-30 Jackson Harper <jackson@ximian.com>
2340 * TreeNode.cs: Signature fix.
2342 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
2344 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
2346 2006-01-20 Mike Kestner <mkestner@novell.com>
2348 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
2349 event forwarding when menus are active.
2350 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
2351 Most of the patch is pdb's with a little rework.
2353 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2355 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
2356 Removed GetMenuDC and ReleaseMenuDC methods; replaced
2357 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
2358 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
2359 * InternalWindowManager.cs: Added use of PaintEventStart/End to
2360 handling of WM_NCPAINT message, now passing the PaintEventArgs to
2361 the PaintWindowDecorations method
2362 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
2363 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
2364 * MenuAPI.cs: Made tracker window invisible
2366 - Removed GetMenuDC and ReleaseMenuDC methods
2367 - Implemented the client=false path for PaintEventStart and
2370 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2372 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
2373 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
2376 - MaximizeBox, MinimizeBox: Recreate the handle when setting
2378 - CreateParams: Reworked the styles to match MS look'n'feel,
2379 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
2380 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
2382 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2384 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
2385 window is not mapped, since otherwise every form that's being
2386 created is considered minimized, which is wrong.
2387 * Form.cs: Catching the exception and returning our internal value
2390 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
2392 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
2393 SetWindowMinMax() to have means to tell the driver about the minimum,
2394 maximum and maximized state window sizes. (Part of the fix for #76485)
2396 - Implemented tracking of minimum and maximum window size, now calling
2397 new SetWindowMinMax() driver method to tell the driver (Part of the
2399 - Finished handling of WM_GETMINMAXINFO method, now setting all values
2400 (Completes fix for #76485)
2401 - Calling new SetWindowMinMax driver method when the handle for a
2402 form is created, to make sure the driver knows about it even if
2403 the values have been set before the window was created
2404 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
2405 to avoid messing up our anchoring calculations (partial fix
2407 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
2409 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
2410 - Improved GetWindowState() to detect 'Minimized' state on Metacity
2411 (and presumably other freedesktop.org compliant WMs). Left the
2412 assumption unmapped=minimized, needed for SetVisible to work.
2413 - Now setting the window state when creating windows
2414 - Fixed SetVisible to consider/set the window state when mapping
2415 a Form. We cannot set the state before it's mapped, and we cannot
2416 use Form.WindowState once it's mapped (since it would ask the
2417 driver and get 'normal'. Therefore, we grab the state before
2418 mapping, map, and then set state.
2419 - Implmemented SetWindowMinMax method; Metacity does not seem to
2420 honor the ZoomHints, though.
2422 - Removed MINMAXINFO (moved to XplatUIStructs)
2423 - Added SetWindowMinMax stub (on Win32 the only way to set that
2424 information is in response to the WM_GETMINMAXINFO message, which
2425 is handled in Form.cs)
2426 - Added logic to SetVisible to set the proper window state when a
2427 form is made visible (fixes #75720)
2429 2006-01-26 Jackson Harper <jackson@ximian.com>
2431 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
2432 same way we handle them with Invoke.
2434 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
2437 - Added tracking of window state so CreateParams can return
2438 the appropriate style
2439 - Moved setting of WS_CAPTION style in CreateParams to allow
2440 styles without caption
2441 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
2442 control if the TextBox property is accessed. Fixes #77345
2444 - get_Created: now uses is_disposed and is_created to determine
2445 return value (suggested by Jackson)
2446 - CreateHandle: No longer exits if the handle is being recreated
2447 - RecreateHandle: If the handle is not yet created call the
2448 appropriate method to create either control or handle. If the
2449 control is already created CreateHandle will simply exit instead
2450 of just creating the handle
2451 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
2452 now SendMessage WM_DESTROY directly to the control when DestroyWindow
2455 - When DestroyWindow is called, instead of waiting for the
2456 DestroyNotification from X11, we directly post it to the WndProc
2457 and immediately dispose the hwnd object.
2458 Same applies to DestroyChildWindows, and this obsoletes the
2459 expose_pending tracking. Contrary to Win32 behaviour we destroy our
2460 child windows before our own, to avoid X11 errors.
2461 - Removed the direct sending of WM_PAINT on UpdateWindow
2463 - Reworked DoEvents and GetMessage to allow access to internal queue
2464 even when trying non-blocking access to the queue. Fixes #77335.
2465 Based on a patch suggestion by Don Edvalson. The new private
2466 GetMessage can now also be used as a backend for a PeekMessage
2468 * XplatUI.cs: Improved debug output for CreateWindow
2470 2006-01-25 Jackson Harper <jackson@ximian.com>
2472 * Help.cs: Allow param to be null. Patch by Don Edvalson.
2474 2006-01-24 Jackson Harper <jackson@ximian.com>
2476 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
2477 when we have a MaxDropItems lower then the selected index.
2479 2006-01-24 Jackson Harper <jackson@ximian.com>
2481 * Control.cs: Don't allow selection of non visible controls, allow
2482 selection of controls without parents.
2484 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2486 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
2487 * DataGridDrawingLogic.cs: Add editing row only when is necessary
2489 2006-01-23 Jackson Harper <jackson@ximian.com>
2491 * UpDownBase.cs: Make the textbox handle all the selection and
2492 tabbing. This fixes tabing to updown controls.
2494 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
2496 * TextBoxBase.cs: fixes exception thown the object was null
2498 2006-01-23 Jackson Harper <jackson@ximian.com>
2500 * ButtonBase.cs: Just use the base CreateParams. They set
2501 visibility and enabled correctly.
2504 * MonthCalendar.cs: Lets let the base set as much of the
2505 createparams as possible so we don't have duplicate code all over
2508 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
2510 * ThemeGtk.cs: Added TrackBar and some experimental code to
2511 get double buffering back
2513 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
2515 * DataGrid.cs: Allows row number set internally higher than the last
2516 when creating a new row. Restores the editing functionality.
2518 2006-01-20 Mike Kestner <mkestner@novell.com>
2520 * MimeIcon.cs: delay Image creation until the icons are accessed
2521 instead of creating 190 scaled images on GnomeHandler startup.
2523 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2525 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
2526 first call base before processing the event. Fixes #77279
2528 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
2530 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
2531 that the stride for the GDI bitmap would match the stride of
2534 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
2536 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
2538 2006-01-19 Jackson Harper <jackson@ximian.com>
2540 * ComboBox.cs: Hookup the text controls keydown event so we get
2541 those when the text control has the focus.
2543 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2545 * Label.cs: Now using the base events instead of defining new ones;
2546 this allows us to just call the base properties without having to
2547 duplicate all base property logic
2549 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2551 * Label.cs: A label by default is not a tabstop (Fixes one of our
2552 failing nunit tests)
2554 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2556 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
2557 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
2559 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
2561 * Cursor.cs: Reimplemented creating cursor bitmaps without using
2562 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
2565 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
2566 constructor creates images that can't be saved. Part of the fix
2568 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
2569 - SetWindowState: Switched ShowWindow flags (part of an upcoming
2570 bug fix for handling window state in forms properly)
2572 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2574 * ThemeGtk.cs: Simplify ScrollBar drawing
2576 2006-01-18 Jackson Harper <jackson@ximian.com>
2578 * Splitter.cs: Set the default dock style for the splitter control
2581 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2583 * ThemeGtk.cs: Corrected StateType and ShadowType for
2586 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2588 * Control.cs: Make use of Theme.DoubleBufferingSupported
2590 - Added drawing for flat style buttons
2591 - Added ScrollBar drawing
2593 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
2595 * ThemeClearlooks.cs: Removed some unneeded code.
2596 * ThemeGtk.cs: First part of ThemeGtk enhancements.
2598 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2600 * LinkLabel.cs: We need to update the hover drawing when
2601 leaving the control as well.
2603 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
2605 * DataGrid.cs: Clicking on non empty areas in the columns
2606 area was giving an exception
2608 2006-01-17 Jackson Harper <jackson@ximian.com>
2610 * ThemeWin32Classic.cs:
2611 * ListView.cs: Do not draw/clip the headers when the header style
2614 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2616 * DataGrid.cs: Fixes 77260
2618 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
2620 * DataGrid.cs: Clicking on a column on a empty grid was giving
2623 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
2625 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
2626 or any keypress will crash the grid.
2628 2006-01-17 Mike Kestner <mkestner@novell.com>
2630 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
2631 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
2632 invisible/previously-visible items.
2635 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
2637 * ThemeClearlooks.cs:
2638 - Added CL_Draw_Button method; now other theme controls that are
2639 not derived from button or do not have a button can draw buttons
2641 - Updated ComboBox drawing
2642 - Beautified RadioButton drawing
2643 - Corrected drawing of bottom and left tabs
2644 - Beautified DateTimePicker and MonthCalendar
2645 - Added CPDrawButton and CPDrawRadioButton
2647 2006-01-16 Jackson Harper <jackson@ximian.com>
2649 * ComboBox.cs: Set the initial value of the scrollbar to the
2650 current index. Reduce the numbers of refreshs and IndexOfs called.
2652 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
2654 * FileDialog.cs: When the file listview is focused hitting the
2655 backspace key moves the fileview to the parent directory
2657 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2660 - Added RecreateHandle call when changing taskbar visibility to
2661 trigger reparenting in Win32 driver (Fixes #75719)
2662 - If a window has minimize or maximize buttons, it cannot have
2665 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
2666 the toplevel form with FosterParent (A toolwindow not on the
2667 taskbar) (Fixes #75719)
2668 - Made FosterParent a toolwindow
2670 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2672 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
2674 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2676 * ToolTip.cs: If SetToolTip is called from a control and the mouse
2677 is currently over that control, make sure that tooltip_window.Text
2680 2006-01-13 Mike Kestner <mkestner@novell.com>
2682 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
2684 2006-01-13 Jackson Harper <jackson@ximian.com>
2686 * TreeView.cs: On MS GetNodeAt never actually factors in the X
2687 value passed. Also redraw the selected node when we recieve
2688 focus, so tabbing between trees works correctly.
2690 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
2692 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
2693 ~/.gconf/%gconf-tree.xml, so use
2694 .gconf/desktop/gnome/interface/%gconf.xml
2696 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2698 * TextControl.cs: Draw text in gray if control is disabled
2700 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2702 * TreeView.cs: Draw the focus rectangle outside the highlight, to
2703 make sure it's always visible. Fixes #76680.
2705 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
2707 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
2709 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
2711 * PageSetupDialog.cs: Added.
2712 * PrintDialog.cs: Attributes.
2713 * PrintPreviewControl.cs: Updates.
2714 * PrintPreviewDialog.cs: Updates.
2716 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2718 * Control.cs: Undid my selection check fix, since it's not needed
2720 - Now considering the presence of hscroll/vscroll when sizing
2721 vscroll/hscroll respectively. Fixed bug #77077
2722 - Added Left/Up/Down/Right to IsInputKey list to prevent
2723 ContainerControl from stealing them. This fixes what I broke
2724 with my last checkin.
2726 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2728 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
2729 I finally understand how the property can be set without a setter :-)
2731 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2734 - Switched RunLoop to use static Message.Create to create a
2736 - Added PreProcessMessage call in runloop for keyboard events; this
2737 is part of the fix for #77219, I overlooked this originally in the
2738 MSDN doc for PreProcessMessage
2740 - Removed call to PreProcessMessage from handling of keyboard
2741 messages; it's supposed to be done in the message pump
2742 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
2743 per MSDN documentation.
2744 - IsInputChar: All chars are input chars by default; removed the
2745 parent calling chain, MS does not document that
2746 - PreProcessMessage: If IsInputChar is true, we want to return false
2747 to allow dispatching of the message
2748 - When selecting the next control, now also check that we're not
2749 selecting ourselves again and therefore return a false positive.
2751 - Tried to match return values for IsInputKey and ProcessDialogKey
2752 to what MS returns; moved processing of our special keys outside
2753 ProcessDialogKey since MS does not seem to return true on those.
2754 - Moved code that previously was in ProcessDialogKey into new private
2755 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
2756 - Reworked handling of WM_CHAR to not have to duplicate code from
2757 Control.cs anymore, instead we simply call down to base.
2759 2006-01-12 Jackson Harper <jackson@ximian.com>
2761 * ComboBox.cs: We always need to refresh the text area when
2762 EndUpdate is called. Fixes the combobox in the file dialog.
2763 * Control.cs: Don't create the creator_thread until the controls
2764 handle is created. Also in InvokeRequired we check if the
2765 creator_thread is null. This gives the effect of InvokeRequired
2766 returning true if the controls handle is not created yet, and
2769 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2772 - Added StartLoop() driver method. This is used to allow drivers to
2773 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
2774 loop for a particular thread
2775 - Added EndLoop() driver method. This is called once the message
2776 pump for the thread is shut down
2777 - Added SupportsTransparency method to allow the driver to indicate
2778 opacity support for windows
2780 - Removed TODO attribute, completed AllowTransparency property
2781 - Added documented logic to Opacity
2782 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
2783 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
2784 versions of CompatibleTextRendering
2785 * X11Structs.cs: Added opacity atom to our atom enumeration
2786 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
2787 of a form might be set before it's reparented by the WM, and we need
2788 the opacity value without calling up to Form)
2789 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
2790 SupportsTransparency() driver methods
2791 * Application.cs: Now calling StartLoop and EndLoop driver methods
2793 - Added opacity atom registration
2794 - Added StartLoop()/EndLoop() methods. They're empty right now but
2795 will need to get implemented when we switch to a per-thread queue
2796 - Implemented SupportsTransparency() method
2797 - Implemented SetWindowTransparency() method
2798 - Added support for setting the opacity value when a window is
2799 reparented (since the opacity needs to be set on the WM frame)
2800 * XplatUIOSX.cs, XplatUIWin32.cs:
2801 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
2803 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2805 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
2807 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
2809 * FileDialog.cs: Added ToolTip for MWFFileView
2810 * MimeIcon.cs: Rewrote GnomeHandler.
2811 - Get currently used gnome icon theme from
2812 ($HOME)/.gconf/%gconf-tree.xml
2813 - Make use of inherited icon themes
2814 - Support SVG icon themes like Tango via librsvg
2816 2006-01-12 Miguel de Icaza <miguel@novell.com>
2818 Revert's Jackson's revert which broke 2.0 builds. Fix both
2821 * Application.cs: Move the use_compatible_text_rendering outside
2822 the NET_2_0 define. If we ever need to use the
2823 use_compatible_text_rendering on the individual controls they will
2824 access the variable from the common shared code paths.
2826 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
2829 - Added more granular debug options
2830 - Added method to print both window text and id
2831 - Switched debug output to use new Window() debug method
2832 - Added IsEnabled() driver method
2833 - Added EnableWindow() driver method
2835 - Removed end_modal; no longer needed, new loop handles termination
2836 via 'closing' variable
2837 - If form is modal, setting DialogResult will now initiate loop
2838 termination via 'closing' variable
2839 - Added support for is_enabled/WS_DISABLED to CreateParams
2840 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
2842 - Removed code that's now in RunLoop from ShowDialog()
2843 - Added various documented sanity checks to ShowDialog()
2844 - Added handling of WM_DESTROY message; we set 'closing' on getting
2845 the message to indicate the message pump to terminate
2846 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
2847 send by the Application.ExitThread method. (We send the message
2848 to destroy the window after all other events have been
2849 processed through the queue, instead of destroying the handle
2851 - Moved code from Close() method to WM_CLOSE handler; added logic
2852 to only send close-related events if the form is not displayed
2854 * Splitter.cs (..ctor): Fixed typo in resource name
2856 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
2858 - set_Cursor: Now only setting calling into XplatUI if the handle for
2859 the control is already created; this avoids implict handle creation
2860 or crashes if it's not created
2861 - set_Enabled: Now setting the enabled state via the new driver method
2862 instead of just tracking it
2863 - CreateParams: Added logic to set WS_DISABLED based on enabled state
2864 - CreateControl: Reordered event firing and method calls to more
2865 closely fire events in the order MS does. Now setting the
2866 enabled state in the driver when creating the control.
2867 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
2869 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
2870 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
2871 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
2873 - Added tracking of window enabled state (get_Enabled/set_Enabled)
2874 - Added EnabledHwnd property to easily allow a driver to find the
2875 handle of the first enabled window in the parent chain (this is
2876 used by drivers to pass up input events of disabled windows)
2877 * XplatUIDriver.cs: Added IsEnabled() method
2879 - Removed crude and obsolete exiting tracking variable
2880 - Removed internal ModalRun(); replaced by RunLoop()
2881 - Implemented private CloseForms() method to allow closing all
2882 windows owned by a particular (or all) threads
2883 - Exit() now properly closes all windows without forcing the message
2885 - Removed obsolete InternalExit() method
2886 - Changed Run() methods to use new RunLoop() message pump
2887 - Implemented new RunLoop() method for both modal and non-modal forms
2889 - get_CreateParams: Added setting of WS_DISABLED
2890 - Simplified ShowDialog(); now all the work is done in RunLoop(),
2891 invoked via Form.ShowDialog()
2892 * NativeWindow.cs: We don't remove the window from the collection when
2893 the handle is destroyed; there might still be messages for it in the
2894 queue (mainly the resulting WM_DESTROY); instead it will be removed
2895 when Control calls InvalidateHandle in the WM_DESTROY handler
2897 - CreateWindow: Added logic to handle the WS_DISABLED window style
2898 - EnableWindow: Implemented based on Hwnd.Enabled
2899 - GetMessage: Reset PostQuitState so the method can be called again
2900 - Implemented support for disabled windows (passing messages to the
2901 first enabled parent) in handling all input messages
2902 - Added optimizations for handling Expose events
2903 - Implemeted new driver method IsEnabled()
2904 - Now always resetting paint pending tracking vars when we start paint
2905 - Re-implemented UpdateWindow via just sending a WM_PAINT message
2906 * XplatUIOSX.cs: Added IsEnabled method stub
2907 * XplatUIWin32.cs: Implemented new IsEnabled() method
2909 2006-01-11 Jackson Harper <jackson@ximian.com>
2911 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2912 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
2914 * ColorDialog.cs: Clear out the old form before adding the new
2917 2006-01-11 Jackson Harper <jackson@ximian.com>
2919 * X11Dnd.cs: Make sure to add all the text formats when adding
2920 strings to the data object.
2921 * TreeNodeCollection.cs: When adding to a sorted tree we need to
2922 do some redrawing too. Also change the UpdateNode to an
2923 UpdateBelow so the newly added node gets painted.
2925 2006-01-11 Miguel de Icaza <miguel@novell.com>
2927 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
2928 LinkLabel.cs, PropertyGrid.cs: Implement the
2929 UseCompatibleTextRendering property for 2.x
2931 * Application.cs (SetCompatibleTextRenderingDefault): Add.
2933 2006-01-11 Jackson Harper <jackson@ximian.com>
2935 * TreeView.cs: Use the property for setting the selected node so
2936 the correct events get raised.
2937 * TreeNode.cs: Update the tree when the fore/back colours of a
2940 2006-01-10 Jackson Harper <jackson@ximian.com>
2942 * TreeView.cs: Allow setting SelectedNode to null.
2944 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2946 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
2948 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2950 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
2952 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2954 * PrintDialog.cs: Added attributes and set default property values.
2956 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2958 * PrintControllerWithStatusDialog.cs:
2959 Added PrintControllerWithStatusDialog.
2961 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2963 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
2964 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
2966 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
2968 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
2970 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
2972 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
2973 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
2975 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2977 * MimeIcon.cs: Added internal class SVGUtil.
2979 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
2981 * FileDialog.cs: Don't crash if there are two files with the
2982 same name but different locations.
2984 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
2986 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
2987 dates across multiple month grids. Used to not highlight entire
2988 month, but does now.
2990 2006-01-06 Jackson Harper <jackson@ximian.com>
2992 * MonthCalendar.cs: Removed DoEvents call to prevent a running
2993 message loop. Change timer intervals to numbers that seem more
2996 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
2998 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
2999 object for location info since screen object is now implemented.
3001 2006-01-05 Jackson Harper <jackson@ximian.com>
3003 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3004 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3005 AsyncMethodResult, this is because we ALWAYS want the
3006 ManualResetEvent to get set.
3007 * Control.cs: When disposing use an async invoke to call shutdown
3008 code, so that thigns don't block on the finalizer thread. Also
3009 check if we even have a message loop before trying to send
3010 messages, if we don't then don't bother sending messages.
3011 - No more weak references for async methods
3012 * XplatUIDriver.cs: No more weak references for async methods.
3014 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3016 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3017 returns two FontFamily with the same name
3019 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3021 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3022 drawing disabled text. Instead using the ColorGrayText color
3024 2006-01-04 Jackson Harper <jackson@ximian.com>
3026 * TreeNode.cs: redraw the node when its image index is changed.
3028 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3030 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3031 time I checked there are no others like it.
3033 2006-01-04 Jackson Harper <jackson@ximian.com>
3035 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3036 this gives the behavoir I was looking for.
3037 * Control.cs: Special case Invoking EventHandlers, this matches MS
3038 and fixes part of bug #76326.
3040 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3042 * ThemeClearlooks.cs, FileDialog.cs:
3043 - Reflect the latest Theme class changes
3044 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3047 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3049 * Theme.cs: Cache UI resource images and resize them if needed
3051 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3053 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3054 is called. This fixes the crash in Nexxia when setting the font
3055 attributes in the chat. [However, RTF needs a look-over to make sure
3056 that all SelectionXXX methods handle the special case that selection
3057 is empty and therefore the change must be applied to all text starting
3058 at the cursor/selection start]
3060 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3062 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3063 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3064 * X11Keyboard.cs: Switched to new way of calling PostMessage
3066 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3068 * Theme.cs: Added theme interface for images to allow the theme to
3069 control what images are used for things like FileDialog, MessageBox
3071 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3073 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3076 - Removed some dead code
3077 - Opening a recently used file does work now
3078 - Small UI enhancements
3081 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3083 * FileDialog.cs: Forgot too add __MonoCS__
3085 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3087 * FileDialog.cs: We are able to read recently used files now let's
3088 go on and write them.
3090 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3092 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3094 * MimeIcon.cs: Do a check for the top level media type also
3096 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3098 * ThemeClearlooks.cs:
3099 - Added CPDrawStringDisabled
3100 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3101 some chars if the text doesn't fit into text_rect
3102 - DrawListViewItem: If View = View.LargeIcon center the image;
3103 rewrote the drawing of ListViewItem.Text if View =
3106 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3108 * MimeIcon.cs: Use default KDE icon theme if there is no
3109 "48x48" directory for the current icon theme, fixes #77114
3110 * Mime.cs: Disable not working and actually not used code.
3111 * ThemeWin32Classic.cs:
3112 - Replace "new SolidBrush" in GetControlBackBrush and
3113 GetControlForeBrush with ResPool.GetSolidBrush
3114 - Changed DrawListViewItem from private to protected virtual
3116 - Added form.MaximizeBox = true
3117 - Don't throw an exception if there is a broken symbolic link
3119 2005-12-23 Jackson Harper <jackson@ximian.com>
3121 * TabControl.cs: Give the panels focus, keyboard navigation is
3122 fixed so this works correctly now.
3123 - We need these key events also.
3124 * ToolBar.cs: Remove some of the poor mans double buffering.
3126 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3128 * ComboBox.cs: The internal TextBox now returns the focus.
3130 2005-12-23 Jackson Harper <jackson@ximian.com>
3132 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3134 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3136 * Control.cs: Removed debug code
3137 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3140 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3142 * Control.cs: When creating the control, update the Z-order after
3143 all it's children are created, too. (Fixes nexxia not showing
3146 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3148 * Control.cs: Do not update the anchoring distances if layout is
3149 suspended, instead do it once layout is resumed
3151 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3154 - After many hours of debugging, for both Jackson and
3155 myself, it turns out that it helps to set the parent of a control
3156 if you want to actually see it onscreen. In the spirit of that
3157 discovery, we're now setting the parent of the control and
3158 it's children when the control's handle is created. This fix
3159 will make Lutz Roeder's Reflector run happily.
3160 - now just creating the handle instead of the whole control when
3161 getting a graphics context for the control.
3163 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3165 * ScrollableControl.cs: When calculating the canvas, don't consider
3166 the scrollbar widths. Instead, predict if horizontal scrollbar
3167 will affect canvas when deciding on vertical display and vice versa.
3169 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3171 * RichTextBox.cs: Set default RTF font for documents that don't
3172 have a font table (Fixes #77076)
3174 2005-12-22 Jackson Harper <jackson@ximian.com>
3176 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3177 clipboard. This prevents a NullRef in that case.
3178 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3179 clipboard. PRIMARY is for the currently selected text only. (We
3180 should implement PRIMARY at some point.
3182 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3184 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
3185 a Unicode function with a structure that was defined in Ansi way.
3188 2005-12-21 Jackson Harper <jackson@ximian.com>
3190 * StatusBar.cs: Statusbar handles its fore/back colours on it's
3191 on. Because thats how it rolls. (and this avoids it using ambient
3193 * ThemeWin32Classic.cs: Use the proper back color for filling.
3194 * Menu.cs: Use the system menu bar color for drawing menu
3195 bars. Using the window back color will bring ambient colours into
3198 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
3200 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
3201 Bitmaps were created and not disposed.
3203 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3205 * Control.cs (CreateControl): Don't do anything if the control is
3206 already created, otherwise we'd fire the OnCreated event more than
3209 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3211 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
3212 will always match. Instead return -1. Fixes #76464.
3214 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3216 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
3217 neither the beginning nor the end of the line (Fixes bug #76479)
3219 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
3222 - ControlNativeWindow.ControlFromHandle(): Now handling situation
3223 where handle is invalid
3224 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
3225 instead of slower linear search
3226 * NativeWindow.cs: Don't remove the window from the hashtable until
3227 after the driver has destroyed it (since the driver might use
3228 Control.FromHandle to lookup the control object
3229 * Hwnd.cs: Added DestroyPending property to track if a window is
3230 already destroyed as far as the driver is concerned and only hasn't
3231 yet notified the control
3233 - Activate(): Check if the window is still valid before using the
3235 - Implemented DestroyChildWindow() method to mark child windows as
3236 destroyed when a window is destroyed. This prevents situations
3237 where we might call an X method based on queued events for a
3238 window that already has been destroyed but we haven't yet pulled
3239 the destroy method from the queue.
3240 - Added a call to the new DestroyChildWindow() method to the drivers
3241 DestroyWindow code. Also now marking the destroyed window itself
3244 2005-12-20 Jackson Harper <jackson@ximian.com>
3247 * StatusBarPanel.cs: Don't calculate panel sizes on draw
3248 anymore. Just do them when needed, also track the rects of panels
3249 so that we can optimize refreshing more in the future.
3251 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
3253 * ColorDialog.cs: Fixed focus drawing in small color controls
3255 2005-12-19 Jackson Harper <jackson@ximian.com>
3257 * InternalWindowManager.cs:
3258 * MdiWindowManager.cs: Cleanup some coordinate system changes so
3259 moving windows works properly.
3261 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
3264 - Removed call to InitLayout() from SetBoundsCore(); doc says
3265 it's only called when a control is added to a container
3266 - Split InitLayout logic, moved to separate UpdateDistances() method
3267 since we need to perform those calculations more often than just
3268 when adding the control to a container. (Needed to fix #77022)
3269 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
3270 - Reduced the OnBindingContextChanged events count, don't send them
3271 unless the control is created, we still aren't totally matching
3272 MS, but I can't quite figure out some of their rules
3274 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3276 * ThemeClearlooks.cs: Corrected distance between ProgressBar
3279 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3281 * ThemeClearlooks.cs:
3282 - Updated ProgressBar drawing
3283 - Corrected drawing of ScrollBars and scroll buttons
3284 - Some temporary fixes for minor pixel artefacts
3286 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
3289 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
3290 cause events to be sent in the same order as MS does.
3291 - Added ChangeParent() method to trigger various OnXXXChanged events
3292 that need to be fired when a parent changes (This is a reworking
3293 of the patch from r54254, with the X11 errors fixed)
3294 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
3295 since on MS we get OnLayoutChanged events when calling Clear()
3296 - Changed Enabled property to consider parent state as well, if a
3297 parent is not enabled, the control will not be either
3298 - Changed Parent property to simply call Controls.Add() since that
3299 now does all the work required, this way we avoid code duplication
3300 - Threw in a few OnBindingsContextChanged calls to try and match
3301 when MS sends them. We seem to send a few too many, though.
3302 - Added call to CreateControl when adding the control to a parent.
3303 We were never calling CreateControl. Still needs some work, in
3304 some places we treat HandleCreated and ControlCreated as equal,
3306 - Removed obsolete commented out code from UpdateZOrder()
3308 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
3310 * ThemeClearlooks.cs: Updated TrackBar drawing.
3312 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3314 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
3316 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
3318 * FileDialog.cs: Add the Help button and the open readonly
3319 checkbox only if needed
3321 2005-12-16 Jackson Harper <jackson@ximian.com>
3323 * Control.cs: Make sure we have an active menu before trying to
3324 process commands on it. Prevents menu-less forms from crashing
3325 when Alt is pressed.
3326 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
3328 * RichTextBox.cs: Expand statement to help out gmcs and fix the
3331 2005-12-16 Jackson Harper <jackson@ximian.com>
3333 * InternalWindowManager.cs: Don't translate tool windows screen
3334 coordinates. This fixes windows 'bouncing' around when being moved.
3336 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3339 - MaxLength now treats 2^31-1 equal to unlimited length (this is
3340 not quite MS compatible, MS uses that number only for single line
3341 and 2^32-1 for multi-line, but I figure it won't hurt keeping
3343 - Now enforcing the MaxLength limit when entering characters
3344 - Added argument to internal Paste() method to track if it's called
3345 from programatically or via keyboard, since keyboard driven pastes
3346 need to enforce max-length
3347 - Added logic to Paste to only paste as many chars as MaxLength
3349 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
3351 - Added Length property to return number of characters in document
3352 - Added private CharCount property which only tracks actual chars
3353 in the document (no linefeeds) and fires event when CharCount
3355 - Added tracking of character count to all methods that alter it
3356 - Added LengthChanged event to allow applications to subscribe
3357 to any changes to the document
3359 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
3362 - Removed local password_char field (moved to TextBoxBase)
3363 - Now setting the document's password var when password is
3366 - Added password_char field (needed here so MultiLine can
3368 - Added logic to MultiLine property setter to set the document's
3369 variable when password display is allowed
3370 - Removed debug code and made some debug code conditional
3372 - Added RecalculatePasswordLine() method to handle special password
3374 - Added PasswordChar property, also added related tracking vars
3375 - Draw() method now uses local text var for grabbing text to draw,
3376 this var is set to line.text unless we're doing password display,
3377 then it is set to the pre-generated all-password-chars line
3378 - Added calling RecalculatePasswordLine() method for password lines
3380 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3383 - Added Reparented property to allow tracking of Window Manager
3384 reparenting actions (which affect X/Y calculations of toplevel
3386 - Made ToString() print window handles in hex
3388 - AddConfigureNotify(): Now uses reparented state off Hwnd to
3389 determine if X/Y needs offsetting
3390 - AddConfigureNotify(): Fixed offset calculations
3391 - Now adds ReparentNotify messages into the queue
3392 - Now processes ReparentNotify messages and causes a
3393 WM_WINDOWPOSCHANGED message to be sent upstream if a window
3394 is reparented (as most likely it's X/Y coordinates are changed
3397 2005-12-14 Jackson Harper <jackson@ximian.com>
3399 * XplatUIX11.cs: Tool windows still need to respek focus.
3401 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
3403 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
3404 have a working release
3406 2005-12-13 Jackson Harper <jackson@ximian.com>
3408 * Form.cs: Update styles after setting the border style regardless
3409 of whether or not the window is using a window manager.
3411 2005-12-13 Jackson Harper <jackson@ximian.com>
3413 * Form.cs: We now hook into an internal window manager instead of just an
3414 MDI subsystem, this is so we can have properly behaving tool windows.
3415 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
3416 * InternalWindowManager.cs: New internal class that acts as a
3417 window manager for tool windows and as a base for mdi windows.
3418 * MdiWindowManager.cs: New class that acts as a window manager for
3421 2005-12-12 Jackson Harper <jackson@ximian.com>
3423 * Control.cs: Updates so we match behavoir for for implicit
3424 controls. Fixes explosions in MDI.
3426 2005-12-12 Jackson Harper <jackson@ximian.com>
3428 * Control.cs: Implement Invalidate (Region).
3430 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
3433 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
3434 the same events as MS does. MS fires events for each property
3435 except, for unknown reasons, Cursor, when the control is reparented.
3436 I can't seem to totally match add/remove since MS also fires some
3437 VisibleChanged events, which makes no sense. Consolidated the
3438 parenting code into a separate method so it can be called from
3439 both Add and Remove. set_Parent no longer needs any special logic
3440 as it calls the parent's add method which implicitly fires
3442 - Removed some obsolete code and debug output
3443 - Enabled state is inherited from parents, if this is enabled
3445 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3447 * Form.cs: Removed commented out code
3449 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
3452 - Added internal version of Invoke, with additional argument
3453 indicating if we're calling it from a Dispose() handler. That
3454 way we can avoid BeginInvoke throwing an exception if we're
3455 calling for an already destroyed window.
3456 - Added a dispose argument to BeginInvokeInternal, and made the
3457 check if a valid window handle chain exists conditional on
3458 it not being a dispose call
3459 - Removed code in DestroyHandle to destroy our children. Since we
3460 now handle the WM_DESTROY message we will catch all our children
3462 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
3464 - Added a field to track the application context of the form.
3465 - No need to set closing variable as response to WM_CLOSE, instead
3466 we destroy the window. We also call PostQuitMessage if the form
3467 has an application context (which makes it the main app form,
3468 which, when closed terminates the app)
3470 - Dropped Exit() method, it's naming was confusing
3471 - Added PostQuitMessage() which causes GetMessage to return false
3472 once the message queue is empty
3473 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
3475 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
3476 no longer a valid XplatUI method, but left it in since it's used
3477 internally. Added empty PostQuitMessage() method.
3478 * MenuAPI.cs: Replaced call to Exit() with call to
3479 PostQuitMessage, even though this is probably no longer needed.
3480 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
3481 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
3483 - Replaced call to XplatUI.Exit() with PostQuitMessage()
3484 - Removed old debug code that would call XplatUI for exception
3485 display, enabled standard exception handling (Still not enabled
3486 though, until NativeWindow's ExternalExceptionHandler define
3489 - Added internal method to allow control to update NativeWindow
3490 after a window has been destroyed
3491 - Added handling of already destroyed windows when calling i
3493 - Added removal of handle from list on ReleaseHandle
3495 - Dropped GetMessageResult var and related code
3496 - Added PostQuitState to field to track if PostQuitMessage has been
3498 - Dropped Exit() method
3499 - Added PostQuitMessage() method
3500 - GetMessage now will return false if PostQuitState is set and no
3501 more messages are in the queue.
3502 - Expose handler will no longer generate WM_PAINT messages if we are
3503 in PostQuitState since it's very likely any windows have already
3504 been destroyed, and since Hwnd won't get updated until we have
3505 processed the DestroyNotify we'd be causing X errors.
3507 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3509 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
3510 Thanks to Mike for pointing out the err of my ways.
3512 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3514 * Control.cs(PreProcessMessage): Moved menu handling back, but
3515 after all other key handling, to match MS (who handles Menu in
3517 * Menu.cs (WndProc): Removed my brainfart
3519 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3521 * Control.cs(PreProcessMessage): Removed special menu handling
3522 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
3524 2005-12-07 Mike Kestner <mkestner@novell.com>
3526 * Control.cs : special case SYSKEYUP so that we can adjust keynav
3527 state according in tracker.
3528 * Menu.cs : promote tracker field to base class and provide a tracker
3529 lookup capability. Add/Remove shortcuts dynamically if the top menu
3530 has a tracker. Unparent items that are removed from the collection.
3531 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
3532 * Theme*.cs: add always_show_hotkeys field to support configurability
3533 of mnemonic display. win32 doesn't show mnemonics until Alt is
3536 2005-12-07 Jackson Harper <jackson@ximian.com>
3538 * MdiChildContext.cs: Use Control.ResetCursor.
3539 * Control.cs: ResetCursor needs to set the property so that the
3540 correct XplatUI call gets made.
3542 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3544 * Control.cs: More fixes to make our key events match MS. We
3545 were not setting the modifier state on KeyData, and we were
3546 not generating any events when Alt was pressed with a key
3547 since handling of WM_SYSxxx was missing for the OnKey methods.
3549 2005-12-07 Jackson Harper <jackson@ximian.com>
3551 * MdiChildContext.cs: reenable the sizing code.
3552 - When the mouse leaves a window reset its cursor.
3554 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3556 * ThemeClearlooks.cs: Reflect latest Hwnd changes
3558 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
3560 * Hwnd.cs: Now using the theme 3d bordersize to calculate
3561 widths of Fixed3D borders
3563 2005-12-07 Jackson Harper <jackson@ximian.com>
3565 * MdiClient.cs: Fix warnings. Earn Mike's love.
3567 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
3569 * ThemeClearlooks.cs:
3570 - Adjusted mouse over button color
3571 - Added first parts of CheckBox drawing
3572 - Added correct color for selected text background
3573 - Fixed ComboBox drawing
3574 - Added CPDrawBorder3D and CPDrawBorder
3576 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3578 * XplatUIX11.cs: Added call to XBell for AudibleAlert
3580 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3582 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3583 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
3584 alert users via sound. We could add an enum arg with different
3585 types of alerts in the future
3587 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
3589 * Control.cs: Fix behaviour problems pointed out by Mike
3591 2005-12-05 Mike Kestner <mkestner@novell.com>
3593 * StatusBarPanel.cs: add Invalidate method and hook it into all the
3594 prop setters. Calls parent.Refresh for now, but could be maybe be
3595 optimized with an internal method on StatusBar at some point.
3598 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
3600 * RichTextBox.cs: Implemented get_SelectionColor
3602 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
3604 * ThemeClearlooks.cs:
3606 - Draw black button border only if button is Form.AcceptButton
3607 - Draw correct button color for pressed RadioButton if the mouse
3608 has entered the button
3609 - Updated ProgressBar drawing!
3610 - Updated CPDrawSizeGrip drawing
3611 - Updated StatusBarPanel drawing
3613 2005-12-05 Mike Kestner <mkestner@novell.com>
3615 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
3616 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
3618 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
3620 * ThemeClearlooks.cs: Initial check-in, activate with
3621 export MONO_THEME=clearlooks
3622 * ThemeEngine.cs: Added ThemeClearlooks
3624 2005-12-03 Mike Kestner <mkestner@novell.com>
3626 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
3629 2005-12-02 Jackson Harper <jackson@ximian.com>
3631 * Form.cs: If the child form has no menu the default main menu is
3632 used as the active menu.
3634 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3636 * ListBox.cs: Check if any items exist before trying to resolve
3637 coordinates into items
3639 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3641 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
3642 as the second color for the background hatch
3644 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
3646 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
3647 * RichTextBox.cs: FormatText position arguments are 1-based, now making
3648 sure that what we pass to FormatText is always 1-based. Fixes #76885
3650 2005-11-29 Miguel de Icaza <miguel@novell.com>
3652 * NumericUpDown.cs (EndInit): When we are done initializing,
3653 reflect any updates on the UI.
3655 2005-12-02 Jackson Harper <jackson@ximian.com>
3657 * ImplicitHScrollBar.cs:
3658 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
3659 their container controls.
3660 * TreeView.cs: Use the new implicit scrollbars.
3662 2005-12-02 Jackson Harper <jackson@ximian.com>
3664 * TreeView.cs: Make top_node internal so the TreeNodeCollections
3666 * TreeNodeCollection.cs: If we remove the topnode we need to
3667 update topnode to the next node in line.
3668 - When clearing nodes go through the same process as removing
3669 them, so they get depareneted and checked if they are top node.
3671 2005-12-01 Jackson Harper <jackson@ximian.com>
3673 * TreeView.cs: When imagelists are used the image area is
3674 selectable as well as the text.
3675 - If there are no selected nodes select the first one.
3676 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
3677 so don't do it more then we need to.
3679 2005-12-01 Jackson Harper <jackson@ximian.com>
3681 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
3682 that arrows can be scaled.
3684 2005-12-01 Jackson Harper <jackson@ximian.com>
3686 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
3687 fail. Patch by Dieter Bremes
3689 2005-11-30 Jackson Harper <jackson@ximian.com>
3691 * Form.cs: Property is 2.0 only
3692 * PrintDialog.cs: Signature fix.
3694 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3697 - No longer artificially moves text 2 pixels down (now that we have
3698 borders this is no longer needed)
3699 - Added calcs for left, hanging and right indent
3701 2005-11-23 Mike Kestner <mkestner@novell.com>
3703 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
3705 2005-11-30 Jackson Harper <jackson@ximian.com>
3707 * MdiChildContext.cs: Set the cloned menus forms, as these don't
3708 get cloned as part of CloneMenu ().
3709 * Menu.cs: Make sure the parent of the items get set correctly
3710 when they are added. And the owners are notified of the changes.
3711 * Form.cs: Create an ActiveMenu property, so that when MDI is used
3712 we can change the menu being displayed/handled by the form without
3713 changing the menu assosciated with the form.
3714 - Don't let Mdi children draw/handle menus.
3716 2005-11-30 Jackson Harper <jackson@ximian.com>
3718 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
3719 a MenuChanged event. Just to make the API a little more
3722 * MenuItem.cs: Use the new OnMenuChanged
3723 * MdiChildContext.cs: Handle menu merging.
3724 * Form.cs: Implement MergedMenu.
3726 2005-11-30 Jackson Harper <jackson@ximian.com>
3728 * Menu.cs: We were misusing Add. Add goes behind the specified
3729 index according to the docs, and does not replace the specified
3730 index. So I added an Insert method.
3732 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
3734 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
3735 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
3737 * RichTextBox.cs: Added calls to base for DnD events
3739 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
3742 - Fixed drag-selection related crash; style fixes
3743 - Implemented undo class
3744 o Implemented method to capture document state for specified
3745 range in document tree
3746 o Implemented method to restore captured document state
3747 o Implemented cursor tracking
3748 o Implemented basic undo stack
3749 - Added undo cursor tracking to methods altering cursor location
3750 - Added undo tracking to selection deletion (still missing
3751 other text-altering hookups)
3753 - Added SelectionLength property
3754 - Implemented CanPaste()
3755 - Implemented Paste()
3756 - Added missing protected methods
3757 - Fixed RTF->Document conversion; now uses font index 0 and color
3758 index 0 as the default font for the parsed text
3759 - Fixed RTF<->Document font size translation
3760 - Fixed RTF generation, now properly handles cross-tag boundaries
3761 for single line selection
3762 - No longer always appends blank line to generated RTF
3764 - Added missing attributes
3765 - Hooked up undo-related methods
3767 - Implemented Copy()
3768 - Implemented Paste()
3770 - Fixed caret mis-behaviour on backspace across line-boundaries
3772 2005-11-29 Jackson Harper <jackson@ximian.com>
3774 * MdiClient.cs: Add a method for activating mdi children. Very
3775 basic right now. I imagine someday it might need more girth.
3776 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
3777 children windows names are added to the menu item.
3778 * ThemeWin32Classic.cs: Draw the arrow if the item is an
3779 mdilist. This happens regardless of whether or not there are any
3780 mdi windows to see in the list, and according to my tests happens
3781 before the items are even added. Also happens if there isn't even
3782 an mdi client to get windows from.
3784 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
3786 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
3787 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
3789 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
3791 * DataGridTableStyle.cs:
3792 - Create always the styles for the missing columns even if they are
3793 provided by the user (not default table style)
3796 - Fixes SetDataBinding (always re-attach source)
3797 - Fixes SetNewDataSource (only clear styles if they are not for
3799 - Expands OnTableStylesCollectionChanged to handle style refresh
3802 2005-11-29 Jackson Harper <jackson@ximian.com>
3804 * FileDialog.cs: Implement missing bits, remove some dead
3806 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
3807 creation of the panel so that the options set on the dialog are
3808 seen when the panel is created.
3809 * TreeView.cs: raise a click when items are clicked.
3811 2005-11-29 Jackson Harper <jackson@ximian.com>
3813 * MdiClient.cs: Pass some signature methods through to base.
3815 2005-11-28 Jackson Harper <jackson@ximian.com>
3817 * ListView.cs: Raise the click event when items are clicked.
3819 2005-11-28 Jackson Harper <jackson@ximian.com>
3821 * MdiClient.cs: Make this algorithm even more beautiful. And fix
3824 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
3826 * ThemeNice.cs: - Removed 1 pixel bitmaps
3827 - Use SmoothingMode.AntiAlias where it makes sense
3828 (ScrollButton arrow for example)
3829 - Enhanced Button focus drawing
3830 - Fixed ComboBox drawing (no artefacts anymore, focus
3831 rectangle is back again, reduced size of ComboButton, etc.)
3832 - Fixed RadioButton focus drawing for Appearence.Button
3833 - Slight ScrollButton redesign
3834 - Some LinearGradientBrush size fixes
3835 - GroupBoxes have now rounded edges
3836 - Fixed StatusBar drawing
3838 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
3840 * ThemeNice.cs: - Remove dead code
3841 - use correct background colors for menus, etc.
3842 - Fake pixel drawing with 1 pixel bitmaps
3844 2005-11-24 Jackson Harper <jackson@ximian.com>
3846 * MdiClient.cs: Size the scrollbars when resizing the window.
3847 - Resize the maximized windows when the client is resized
3848 * Form.cs: Make the child context available
3850 2005-11-23 Jackson Harper <jackson@ximian.com>
3852 * MdiChildContext.cs: Don't size windows if they are maximized.
3854 2005-11-23 Mike Kestner <mkestner@novell.com>
3856 * ContextMenu.cs: use MenuTracker.
3857 * Control.cs: remove menu handle usage.
3858 * Form.cs: remove menu handle usage.
3859 * Hwnd.cs: remove menu handle usage.
3860 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
3861 motion and clicks to the new Tracker handlers.
3862 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
3864 * MenuAPI.cs: refactored to combine popup and menubar event handling.
3865 Killed the MENU and MENUITEM data types and associated collections
3866 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
3867 MenuTracker class that exposes the leftovers from the old MenuAPI
3868 static methods. Restructured Capture handling so that only one grab is
3869 done for the entire menu hierarchy instead of handing off grabs to
3870 submenus. Tracker now has an invisible control to Capture when active.
3871 * MenuItem.cs: add sizing accessors, kill Create
3873 * Theme.cs: remove menu handle and MENU(ITEM) usage.
3874 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
3875 MENU(ITEM). remove menu handle usage, use Menu directly.
3876 * XplatUIDriver.cs: remove menu handle usage.
3877 * XplatUIOSX.cs: remove menu handle usage.
3878 * XplatUIWin32.cs: remove menu handle usage.
3879 * XplatUIX11.cs: remove menu handle usage.
3881 2005-11-22 Jackson Harper <jackson@ximian.com>
3883 * Hwnd.cs: Don't compute the menu size for
3884 DefaultClientRectangle.
3885 - Reenable menu sizes being computed for GetClienRectangle.
3886 * Form.cs: Remove comment of trechery
3888 2005-11-22 Jackson Harper <jackson@ximian.com>
3890 * Hwnd.cs: The adjustments for the menu bar are made when it is
3891 attached to the form.
3893 2005-11-19 Jackson Harper <jackson@ximian.com>
3895 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
3896 (just like on windows).
3898 2005-11-19 Jackson Harper <jackson@ximian.com>
3900 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
3901 use real buttons anymore because they are in non client area. The
3902 one TODO here is that I need to somehow invalidate a section of
3903 the non client area.
3905 2005-11-18 Jackson Harper <jackson@ximian.com>
3907 * Control.cs: Put the enum check back in now that MDI doesnt have
3908 to use this to set border styles.
3909 * Form.cs: Only set mdi child windows borders if the handle has
3911 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
3912 this directly on to the driver.
3913 - Get the move start position before adjusting for the titlebar
3914 height, this fixes the windows "skipping" when they are first
3917 2005-11-18 Jackson Harper <jackson@ximian.com>
3919 * XplatUIX11.cs: Just compute the mdi borders separately as they
3920 don't totally match up with normal form borders.
3922 2005-11-18 Jackson Harper <jackson@ximian.com>
3924 * Control.cs: Set WS_ styles for borders, so that the driver does
3925 not have to retrieve the control instance to figure out what kind
3926 of borders it should have.
3927 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
3928 driver can know its an mdi child easily.
3929 * XplatUIX11.cs: Get the border styles and whether the window is
3930 MDI from the Styles and ExStyles params instead of having to get a
3931 control. This prevents a chicken and egg problem.
3933 2005-11-18 Jackson Harper <jackson@ximian.com>
3935 * MdiClient.cs: Fix typo so scrollbars show up correctly.
3937 2005-11-18 Jackson Harper <jackson@ximian.com>
3939 * MdiClient.cs: Calculate when to add and remove scrollbars
3941 * MdiChildContext.cs: Adjust the y position to take the titlebar
3943 - No height for FormBorderStyle.None
3945 2005-11-18 Jackson Harper <jackson@ximian.com>
3947 * Control.cs: Allow non enum values to be used for
3948 InternalBorderStyle. MDI does this to set a special border style.
3949 - New utility methods for converting points to/from client coords
3950 - Add the newly created control to the Controls collection before
3951 updating its style. This way UpdateStyle can walk the control
3952 heirarchy to find the control if needed.
3953 so I don't need to create a new Point object all the time.
3954 * Form.cs: Let MDI windows handle their border styles.
3955 - Set styles on MDI windows so the correct title style is derived.
3956 * MdiChildContext.cs: Move all the painting and window handling
3957 into the non client area.
3958 - Use correct sizing and put correct buttons on frames based on
3959 the FormBorderStyle.
3960 - Notify the mdi client about scrolling
3961 - Need to handle the buttons ourselves now, because they are all
3962 in non client areas and we can't add controls there.
3963 * MdiClient.cs: Halfway to scrolling, this implementation is
3964 somewhat broken though, we need to check to make sure other
3965 windows aren't causing scrolling before removing the bars. Also
3966 the bars need to be drawn on top, maybe I can switch implicit
3967 controls to be on top.
3968 * Hwnd.cs: caption_height and tool_caption_height are now
3969 properties of an hwnd, this way they can be set by the driver
3970 based on the type of window they are. In X11 the window manager
3971 handles the decorations so caption_height is zero unless its an
3973 - Add 3 pixel borders for MDI windows (0xFFFF).
3974 - Get rid of some code duplication, have DefaultClientRectanle
3975 just call GetClientRectangle.
3976 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
3978 - Set border styles differently for mdi windows.
3979 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
3982 2005-11-15 Mike Kestner <mkestner@novell.com>
3984 * Menu.cs: when adding an item to the collection, if item is already
3985 parented, remove it from the parent.
3987 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
3989 * X11DesktopColors.cs: Added KDE support
3991 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
3994 - Clipboard methods now can translate Rtf format
3995 - No longer removes clipboard contents whenever a new format is added
3996 to allow placing multiple formats on the clipboard
3997 * Clipboard.cs: Clipboard now supports getting a IDataObject and
3998 will place all formats contained in it onto the clipboard. Also
3999 now cleans the clipboard before placing a new object onto it
4001 - Implemented set_Rtf
4002 - Implemented set_SelectedRtf
4003 - Created InsertRTFFromStream() method to allow single code base
4004 for all properties and methods that insert RTF into document
4005 - Removed debug output
4007 - Fixed Delete(int) to fix up line numbers
4008 - Fixed ReplaceSelection to combine start and end line
4009 - Fixed serious DeleteChars bug that would leave the document tree
4011 - Improved DumpTree with several logic checks to detect broken
4013 - Removed debug lines
4014 - Fixed Caret.WordForward/WordBack moving code, now always also
4015 updates caret.tag (fixes crash when word-selecting across tag
4016 boundaries via keyboard)
4017 - Added Insert() method for inserting multiline text into documents
4018 - Fixed DeleteChars() calculation errors that would cause a broken
4019 tag chain with multiple tag lines
4020 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4021 - Split() no longer moves caret if split is at caret location
4022 - ReplaceSelection() now updates the cursor and re-displays it
4023 - ReplaceSelection() now uses new Insert() method to avoid code
4025 - FormatText() can now handle formatting partial lines
4027 - Append now uses new TextControl.Insert() method (this avoids
4029 - Implemented Ctrl-X (Cut) (
4030 - Implemented Ctrl-C (Copy)
4031 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4032 regeneration when pasting text; roundtripping Copy&Paste within
4033 edit control still fails due to some calculation bugs in GenerateRTF)
4034 - The Delete key will now remove the current selection if it is visible
4035 * TextBox.cs: Removed debug lines
4036 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4037 driver to be initialized and can't therefore be done via a static ctor)
4039 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4041 * TextControl.cs: Added backend code for finding char arrays and strings
4043 - Added mouse wheel scroll support
4044 - Added support for VScroll and HScroll events
4046 - Implemented all seven Find() variants
4047 - Implemented GetCharFromPosition()
4048 - Implemented GetCharIndexFromPosition()
4049 - Implemented GetLineFromIndex()
4050 - Implemented GetPositionFromCharIndex();
4051 - Implemented SaveFile for PlainText and UnicodeText
4052 - Fixed set_Font, now setting a new font applies that font to
4054 - Implemented generic Document to RTF converter
4055 - Implemented SaveFile for RichText format (still missing unicode
4056 conversion for non-ansi chars)
4057 - Implemented get_Rtf
4058 - Implemented get_SelectedRtf
4060 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4062 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4063 to allow any captures to be released before triggering OnClick. This
4064 way a click handler may capture the mouse without interference.
4065 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4066 This way we send them even though X may not allow a grab (if the window
4067 isn't visible, for example)
4069 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4071 * DataGridViewRowEventArgs.cs: DataGridView implementation
4072 * DataGridViewElement.cs: DataGridView implementation
4073 * DataGridViewComboBoxCell.cs: DataGridView implementation
4074 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4075 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4076 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4077 * ImageLayout.cs: DataGridView implementation
4078 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4079 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4080 * DataGridViewSelectionMode.cs: DataGridView implementation
4081 * IDataGridViewEditingControl.cs: DataGridView implementation
4082 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4083 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4084 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4085 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4086 * DataGridViewColumnSortMode.cs: DataGridView implementation
4087 * DataGridView.cs: DataGridView implementation
4088 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4089 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4090 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4091 * Padding.cs: DataGridView implementation
4092 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4093 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4094 * DataGridViewRowEventHandler.cs: DataGridView implementation
4095 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4096 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4097 * DataGridViewButtonCell.cs: DataGridView implementation
4098 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4099 * DataGridViewEditMode.cs: DataGridView implementation
4100 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4101 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4102 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4103 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4104 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4105 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4106 * DataGridViewCellEventHandler.cs: DataGridView implementation
4107 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4108 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4109 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4110 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4111 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4112 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4113 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4114 * QuestionEventArgs.cs: DataGridView implementation
4115 * IDataGridViewEditingCell.cs: DataGridView implementation
4116 * DataGridViewTriState.cs: DataGridView implementation
4117 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4118 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4119 * DataGridViewColumnCollection.cs: DataGridView implementation
4120 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4121 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4122 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4123 * DataGridViewColumn.cs: DataGridView implementation
4124 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4125 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4126 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4127 * DataGridViewRow.cs: DataGridView implementation
4128 * DataGridViewImageCellLayout.cs: DataGridView implementation
4129 * DataGridViewImageCell.cs: DataGridView implementation
4130 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4131 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4132 * DataGridViewHeaderCell.cs: DataGridView implementation
4133 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4134 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4135 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4136 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4137 * QuestionEventHandler.cs: DataGridView implementation
4138 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4139 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4140 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4141 * DataGridViewCell.cs: DataGridView implementation
4142 * DataGridViewCellEventArgs.cs: DataGridView implementation
4143 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4144 * DataGridViewCellStyle.cs: DataGridView implementation
4145 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4146 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4147 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4148 * TextFormatFlags.cs: DataGridView implementation
4149 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4150 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4151 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4152 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4153 * DataGridViewButtonColumn.cs: DataGridView implementation
4154 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4155 * HandledMouseEventArgs.cs: DataGridView implementation
4156 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4157 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4158 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4159 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4160 * DataGridViewRowCollection.cs: DataGridView implementation
4161 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4162 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4163 * DataGridViewHitTestType.cs: DataGridView implementation
4164 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4165 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4166 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4167 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4168 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4169 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4170 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4171 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4172 * DataGridViewContentAlignment.cs: DataGridView implementation
4173 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4174 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4175 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4176 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4177 * DataGridViewPaintParts.cs: DataGridView implementation
4178 * DataGridViewCellCollection.cs: DataGridView implementation
4179 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4180 * DataGridViewImageColumn.cs: DataGridView implementation
4181 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
4182 * DataGridViewElementStates.cs: DataGridView implementation
4183 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
4184 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
4185 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
4186 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
4187 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
4188 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
4189 * DataGridViewRowHeaderCell.cs: DataGridView implementation
4190 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
4191 * DataGridViewTextBoxCell.cs: DataGridView implementation
4192 * DataGridViewBand.cs: DataGridView implementation
4193 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
4194 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
4195 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
4196 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
4197 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
4198 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
4199 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
4200 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
4201 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
4202 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
4203 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
4205 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
4207 * ThemeWin32Classic.cs:
4208 - Draw the outside focus rectangle around buttons
4209 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
4210 doesn't use end caps for every dash of a line anymore. This
4211 workaround ignores the forecolor.
4213 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
4215 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
4218 2005-11-07 Jackson Harper <jackson@ximian.com>
4220 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
4222 2005-11-07 Jackson Harper <jackson@ximian.com>
4224 * ScrollableControl.cs: Calculate the maximum and change vars
4225 (more) correctly so that scrollbars appear as a sensible size.
4227 2005-11-04 Jackson Harper <jackson@ximian.com>
4229 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
4231 * TreeView.cs: When the tree is sorted null out the top_node so
4232 that it is recalculated.
4233 - Use dotted lines instead of dashed lines to match MS better.
4235 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
4238 - Implements key search for items. Useful when browsing files with FileDialog
4239 - When changing view mode or when clear the items reset scrollbar positions
4241 2005-11-04 Jackson Harper <jackson@ximian.com>
4243 * CurrencyManager.cs: Implement the MetaDataChanged event, the
4244 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
4245 as to what the method may do as there is no real way of creating a
4246 derived CurrencyManager and calling the method.
4248 2005-11-03 Jackson Harper <jackson@ximian.com>
4250 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
4251 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
4252 method which seems to just be used internally to refresh the tabs.
4254 2005-11-03 Jackson Harper <jackson@ximian.com>
4256 * TabControl.cs: Implement the remove method. Fix some broken
4259 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4261 * DateTimePicker.cs:
4262 - Added missing DateTimePickerAccessibleObject class
4263 - Added missing events
4264 - Added OnFontChanged method
4265 * Form.cs: Added missing attributes
4266 * TreeView.cs: Added missing attributes
4268 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4270 * GridItemCollection.cs: Fix signatures
4272 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4274 * XplatUI.cs: Updated build rev/date
4275 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
4276 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
4277 * Application.cs: Trigger context-specific ExitThread events
4279 2005-11-03 Jackson Harper <jackson@ximian.com>
4283 * GridTableStylesCollection.cs:
4288 * MonthCalendar.cs: Signature fixes
4290 2005-11-03 Jackson Harper <jackson@ximian.com>
4292 * TreeNodeCollection.cs: Remove should not be virtual.
4293 * TreeView.cs: Implement the last of the missing methods.
4295 2005-11-03 Jackson Harper <jackson@ximian.com>
4297 * TreeNodeConverter.cs: Implement to get off my class-status back.
4299 2005-11-03 Jackson Harper <jackson@ximian.com>
4301 * TreeView.cs: Hookup the bits for drag and drop.
4302 * TreeNode.cs: Don't cache the tree_view or index anymore, now
4303 that nodes can be moved from tree to tree easily this just causes
4304 all sorts of problems.
4305 * TreeNodeCollection: Don't need to give treenodes an index and
4306 treeview anymore when they are added, these are computed on the
4307 fly. Also make sure to remove a node before its added.
4309 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
4312 - Added CaretSelection enum
4313 - Added comparison methods to Marker struct, makes selection code
4315 - Added SelectionStart and SelectionEnd as 'moveable' location for
4316 the CaretDirection enum and handler
4317 - Added selection_prev variable to track optimized invalidation for
4318 word and line selection
4319 - Added SelectionVisible property (returns true if there is a valid
4321 - Switched CaretHasFocus to only display the caret if there is no
4323 - Avoiding StringBuilder.ToString to retrieve a single char, instead
4324 using the direct character index; should be much faster
4325 - Added various conditional debug statements
4326 - Fixed invalidation calculation for selection ranges
4327 - Added ExpandSelection() method to support word and line selection
4328 - Switched SetSelectionToCaret to use new Marker compare overloads
4329 - Added central IsWordSeparator() method to determine word
4330 separators/whitespace and FindWordSeparator() to streamline common
4331 usage of IsWordSeparator()
4333 - Removed unneeded grabbed variable, it was just mirroring
4335 - No longer firing OnTextChanged event when Text setter is called,
4336 since the base will fire the event for us
4337 - Added handling of Ctrl-Up/Down selection
4338 - Added handling of Shift-Cursorkey selection
4339 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
4341 - Added handling of Shift and Ctrl-Shift-Home/End selection
4342 - Removed some debug output
4343 - Added handling for single/double/tripple-click to place caret/
4344 select word/select line respectively (Fixes bug #76031)
4345 - Added support for drag expansion of word/line selection
4346 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
4349 2005-11-02 Jackson Harper <jackson@ximian.com>
4351 * X11Dnd.cs: If the drag is going to and from a MWF window just
4352 copy the data instead of sending it out through the X Selection
4355 2005-11-02 Jackson Harper <jackson@ximian.com>
4358 * XplatUIX11.cs: When in a drag we don't want motion notify
4359 messages to get passed on to the other controls. This prevents
4360 mouse move messages from showing up in the drag source.
4362 2005-11-02 Jackson Harper <jackson@ximian.com>
4364 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
4365 the correct button is release to end a drag.
4366 * XplatUIX11.cs: Make the button state internal so the drag system
4367 can access it. Dragging needs to know about all button releases,
4368 not just left button.
4370 2005-11-02 Miguel de Icaza <miguel@novell.com>
4372 * Form.cs (Icon): If the icon is null, reset the icon to the
4375 * Cursor.cs: When writing the AND-mask bitmap do not include the
4376 number of colors, but hardcode those to two (black and white),
4377 fixes the loading of color cursors (Paint Dot Net).
4379 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
4380 turn off autoscaling.
4382 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
4384 2005-11-02 Jackson Harper <jackson@ximian.com>
4386 * X11Dnd.cs: Make sure to send a status message if the pointer
4387 enters a control that can not accept a drop, otherwise the cursor
4388 isn't updated correctly. Also tried to compress the lines of code
4391 2005-11-02 Jackson Harper <jackson@ximian.com>
4393 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
4394 set actions correctly. This isn't perfect as XDND and win32 have
4395 some differences on how you allow actions. I'll clear this up by
4396 adding a path for drag from MWF to MWF windows.
4397 * XplatUIX11.cs: Hook into the dnd system.
4399 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
4401 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
4402 previously shown but they are no longer need it. Very obvious when
4403 browsing files with FileDialog.
4405 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
4407 * Control.cs: We always need to call OnPaintBackground. We pretty much
4408 ignore AllPaintingInWmPaint and always do the painting there, whether
4409 it's set or not, since we always ignore the WM_ERASEBKGND message
4410 (which we don't generate on X11). This fixes #76616.
4411 * Panel.cs: Removed unneeded background painting. This happens properly
4412 in Control.cs already
4414 2005-10-31 Mike Kestner <mkestner@novell.com>
4416 * Menu.cs: Add items to collection before setting their index.
4417 * MenuItem.cs : add range checking with ArgumentException like MS.
4420 2005-10-31 Jackson Harper <jackson@ximian.com>
4422 * ListBox.cs: Invalidate if the area is visible at all not just
4423 contained in the visible rect. Fixes unselection of semi visible
4426 2005-10-31 Jackson Harper <jackson@ximian.com>
4428 * Control.cs: Consistently name the dnd methods. Make them
4429 internal so we can override them to match some MS behavoir
4431 * Win32DnD.cs: Use the new consistent names.
4433 2005-10-31 Jackson Harper <jackson@ximian.com>
4435 * TreeView.cs: Don't draw the selected node when we lose focus.
4437 2005-10-31 Jackson Harper <jackson@ximian.com>
4439 * X11Dnd.cs: We still need to reset the state even though a full
4440 reset isn't being done, otherwise status's still get sent all over
4443 2005-10-31 Jackson Harper <jackson@ximian.com>
4445 * Control.cs: Make the dnd_aware flag internal so the dnd
4446 subsystem can check it. Catch exceptions thrown in dnd handlers to
4448 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
4449 * X11Dnd.cs: Handle null data in the converters. Set the XDND
4450 version when sending a XdndEnter. Use the control/hwnd dnd_aware
4451 flags to reduce the number of dnd enters/status's sent.
4453 2005-10-31 Jackson Harper <jackson@ximian.com>
4455 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
4457 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
4459 * PictureBox.cs: Fixes 76512
4461 2005-10-28 Jackson Harper <jackson@ximian.com>
4463 * X11Dnd.cs: Early implementation to support winforms being a drag
4464 source for data on X11. Also restructured the converters so they
4465 can go both ways now.
4466 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
4468 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
4470 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
4473 2005-10-27 Jackson Harper <jackson@ximian.com>
4475 * TreeNode.cs: Implement serialization so my DnD examples will work.
4477 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
4479 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
4480 TreeView.cs: Don't dispose objects that are not owned.
4482 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
4484 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
4485 should retrieve the current cursor and report that, but XplatUI
4486 doesn't (yet) have an interface for that (and I'm not sure I even
4488 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
4489 until any message loop processing is done (and the WM_SETCURSOR
4490 replaces the cursor to the proper one)
4492 - Fixed override behaviour, we can't set the cursor globally on X11,
4493 just for our windows.
4494 - Invalidating the System.Drawing X11 display handle when we are
4496 * Control.cs: Fix to make csc happy
4498 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
4501 - get_Text: Add last line (without trailing newline) to returned
4503 - get_TextLength: Count last line in returned length
4504 - ToString: Call Text property instead of duplicating code
4506 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
4508 * ImageList.cs: Dispose ImageAttributes objects.
4510 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4512 * ImageList.cs: Use attribute constructors with less arguments where
4515 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
4517 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
4518 Use typeof instead of strings when assembly is referenced. Added
4521 2005-10-21 Jackson Harper <jackson@ximian.com>
4523 * ListView.cs: Raise a double click event. Also tried to somewhat
4524 fix when the selectedindexchanged event is raised. Its still
4527 2005-10-21 Jackson Harper <jackson@ximian.com>
4529 * TreeView.cs: New method to invalidate the plus minus area of a
4530 node without invalidating the whole node (maybe this can be used
4531 in some more places).
4532 * TreeNodeCollection.cs: When adding to an empty node we need to
4533 invalidate its plus minus area so the little block shows up.
4535 2005-10-21 Jackson Harper <jackson@ximian.com>
4537 * TreeView.cs: Make sure that when we invalidate a node the bounds
4538 are big enough to cover the selected box and the focus
4539 rectangle. Use a different colour for the lines connecting nodes
4540 so they show up with all themes.
4542 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4544 * NativeWindow.cs: Don't call anything that could call into the driver,
4545 we might be on a different thread.
4547 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4549 * Control.cs(Dispose): Since Dispose might run on a different thread,
4550 make sure that we call methods that could call into the driver via
4551 invoke, to avoid thread issues
4553 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
4555 * XplatUI.cs: Removed finalizer
4556 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
4557 not allowing to be called on the finalizer thread.
4559 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
4562 - Reverted r51889 and r51891.
4563 - Added ImageListItem class that stores unmodified image items and image
4564 properties required to create list images until handle is created.
4565 - Added AddItem and moved image creation logic to AddItemInternal.
4566 - Added CreateHandle method that creates images based on unmodified items.
4567 - Added DestroyHandle that changes state to store unmodified items.
4568 - Add and AddStrip methods no more create handle.
4569 - ReduceColorDepth has no return value.
4570 - Dispose destroys handle.
4571 - Modified other methods to reflect the above changes.
4572 - Implemented key support.
4573 - Added profile 2.0 members and attributes.
4574 - Added private Reset and ShouldSerialize methods that provide the same
4575 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
4576 them as they are private.
4577 - Added some more comments about implementation details.
4579 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4581 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
4583 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4585 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
4587 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
4589 * DataGridDrawingLogic.cs: Fixes column hit calcultation
4590 * DataGridColumnStyle.cs: Remove debug message
4592 2005-10-20 Jackson Harper <jackson@ximian.com>
4594 * TreeView.cs: We can always get input keys regardless of whether
4595 or not editing is enabled. They are used for navigation.
4597 2005-10-20 Jackson Harper <jackson@ximian.com>
4599 * TreeNode.cs: Use the viewport rect for determining if a node
4600 needs to be moved for visibility. Don't use Begin/End edit. This
4601 calls a full refresh when its done.
4602 * TreeView.cs: New SetBottom works correctly. Make the viewport
4603 rect property internal so the treenodes can see it. When clicking
4604 on a node we need to ensure that its visible because it might just
4605 be partly visible when clicked.
4607 2005-10-20 Jackson Harper <jackson@ximian.com>
4609 * TreeNodeCollection.cs: Remove debug code.
4611 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4613 * Datagrid.cs: Implements column sorting in Datagrid
4614 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
4616 2005-10-20 Jackson Harper <jackson@ximian.com>
4618 * TreeNodeCollection.cs: Remove items properly. Update the correct
4619 area after removing them.
4621 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
4623 * Datagrid.cs: Should not call base.OnPaintBackground
4625 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4627 * XplatUIX11.cs (GetMessage):
4628 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
4629 window instead of client window
4630 - Now properly calculates NC_xBUTTONUP message coordinates
4631 - ScreenToMenu now properly calculates it's coordinates of whole
4632 window, since menus are in the whole window, not in the client
4634 - Added WholeToScreen coordinate translation method
4636 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4638 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
4639 want to return a message, loop back to the beginning of the function
4640 and grab the next real message to process instead.
4642 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
4644 * Splitter.cs: Properly set limits if no filler control is used
4646 2005-10-19 Jackson Harper <jackson@ximian.com>
4648 * ColorDialog.cs: Don't show the help button if it is not enabled
4649 instead of disabling it (this is what MS does). Don't create the
4650 panel until the dialog is run, otherwise the vars (such as
4651 ShowHelp) are not set yet.
4653 2005-10-19 Jackson Harper <jackson@ximian.com>
4655 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
4656 are reduced when adding nodes.
4658 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
4661 2005-10-19 Jackson Harper <jackson@ximian.com>
4663 * FolderBrowserDialog.cs: End editing our treeview so the window
4664 actually gets refreshed.
4666 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4668 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
4669 Obsoleted handling of WM_ERASEBKGND, now always draws our background
4672 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4674 * MenuAPI.cs: Returns after Hidding window
4675 * XplatUIX11.cs: Added TODO found while debugging menu issues
4677 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
4679 * XplatUIX11.cs: Do not re-map the whole window when it's size
4680 becomes non-zero unless it's supposed to be actually visible
4682 2005-10-18 Jackson Harper <jackson@ximian.com>
4684 * TreeView.cs: We don't need to keep a count anymore.
4685 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
4686 use the Grow method.
4688 2005-10-18 Jackson Harper <jackson@ximian.com>
4690 * TreeNodeCollection.cs: Insert is not supported on arrays, so
4691 implement it manually here.
4693 2005-10-18 Jackson Harper <jackson@ximian.com>
4695 * ImageList.cs: Dont kill the list when the colour depth is
4696 changed, just change the colour depth of all the images.
4697 - Same goes for setting the image size. Just resize them all
4698 instead of killing the list softly.
4700 2005-10-18 Jackson Harper <jackson@ximian.com>
4702 * Control.cs: Don't invalidate empty rectangles.
4704 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4707 - Adds checked item to the Checked/Item lists (where empty before)
4708 - Do not add items to the Selected lists if they are already present
4710 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
4711 - When deleting items make sure that we delete them for the Selected
4712 and Checked list also.
4714 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
4716 * Label.cs: Dispose objects no longer used
4717 * ThemeWin32Classic.cs: Dispose objects no longer used
4719 2005-10-18 Jackson Harper <jackson@ximian.com>
4721 * TabControl.cs: Don't refresh the whole control when the tabs are
4722 scrolled, we just need to refresh the tab area.
4724 2005-10-17 Jackson Harper <jackson@ximian.com>
4726 * XplatUIX11.cs: Compress code a little bit. Only calculate the
4727 after handle when we need it.
4729 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4731 * Control.cs: When the parent size changes, recalculate anchor
4732 positions. Partial fix for #76462
4734 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
4736 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
4739 2005-10-17 Jackson Harper <jackson@ximian.com>
4741 * MonthCalendar.cs: Don't create the numeric up down until our
4742 handle is created. Otherwise our handle is created in the
4743 constructor and we don't know if we are a WS_CHILD or WS_POPUP
4746 2005-10-17 Jackson Harper <jackson@ximian.com>
4748 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
4751 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
4752 * TreeNode.cs : small logical fix (was using local var instead of field)
4754 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4756 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
4758 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
4760 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
4762 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
4765 - Re-implemented anchoring code. My first version was really broken.
4766 This fixes bug #76033. Unlike the previous implementation we will
4767 no longer have round errors since all numbers are calculated from
4768 scratch every time. Removed various anchor-related obsolete vars.
4769 - InitLayout no longer causes layout event firing and layout to be
4772 2005-10-16 Jackson Harper <jackson@ximian.com>
4774 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
4777 2005-10-16 Jackson Harper <jackson@ximian.com>
4779 * TabControl.cs: Remove debug code.
4781 2005-10-16 Jackson Harper <jackson@ximian.com>
4783 * XEventQueue.cs: Increase the default queue size (very simple
4784 apps needed to grow the queue).
4785 * Hwnd.cs: No finalizer so we don't need to suppress
4786 finalization. Compute the invalid area manually so a new rectangle
4787 does not newto be created.
4788 * ScrollableControl.cs: Don't set any params (otherwise visibility
4789 isn't set correctly).
4790 * MdiChildContext.cs: New constructor takes the mdi parent so it
4791 doesn't have to be computed and avoids a crash on windows. Draw
4792 the window icon properly, and allow the text to be seen.
4793 * Form.cs: Use new MdiChildContext constructor. Make sure the
4794 child context isn't null in wndproc.
4795 * TabControl.cs: Don't set focus, this is muddling keyboard
4796 behavoir. Expand the tab rows when a window size increase will
4797 allow extra tabs to be seen. Don't allow tabs smaller than the
4798 width of a window to be scrolled out of view.
4800 * TreeView.cs: Use measure string to calculate a nodes width, the
4801 width is cached and only updated when the text or the font is
4802 changed. Don't check for expand/collapse clicks on the first level
4803 nodes if root lines are disabled.
4805 2005-10-16 Ritvik Mayank <mritvik@novell.com>
4807 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
4809 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4811 * DataGridBoolColumn.cs: fixes warning
4813 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
4815 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
4816 to match more to match more precisely the MS Net behavior
4818 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4820 * Hwnd.cs: Added field to track if window is mapped
4822 - Unmap windows if they become 0-size, re-map when
4823 they are >0 again; fixes #76035
4824 - Re-set our error handler after initializing X11Desktop
4825 to override any error handlers Gtk or whatever was called
4828 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4830 * CheckedListBox.cs: Removed unused vars
4831 * ListView.cs: Fixed signatures
4832 * RichTextBox.cs: Removed unused vars
4833 * TextBoxBase.cs: Removed unused vars
4834 * XplatUIWin32.cs: Removed unused vars
4835 * XplatUIX11.cs: Removed unused vars
4836 * XplatUI.cs: Updated version and date to latest published
4838 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4840 * Cursor.cs: Added private .ctor to work around a bug in
4841 resourceset (Thanks to Geoff Norton for the help on this)
4842 * SplitterEventArgs.cs: Made fields accessible so we don't
4843 waste boatloads of objects and can reuse the same one
4845 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
4846 any captions and borders when generating screen coordinates
4847 * Splitter.cs: Reimplemented control, now fully complete, uses
4848 rubberband drawing, supports and obeys all properties, has
4851 2005-10-13 Miguel de Icaza <miguel@novell.com>
4853 * Form.cs (Form): Setup default values for autoscale and
4854 autoscale_base_size; Make these instance variables, not static
4857 (OnLoad): on the first load, adjust the size of the form.
4859 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
4861 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
4862 width argument to DrawReversibleRectangle()
4863 * XplatUIWin32.cs, XplatUIX11.cs:
4864 - Implemented width for DrawReversibleRectangle()
4865 - Added logic to DrawReversibleRectangle that recognizes a zero
4866 width or height and only draws a line in that situation
4868 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4870 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
4871 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
4872 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
4873 method (it uses our FosterParent window to get a graphics context)
4875 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
4877 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
4878 and SetWindowBackground methods
4880 - Setting proper ControlStyles
4881 - We no longer call XplatUI.SetWindowBackground and XplatUI.
4882 EraseWindowBackground, instead we draw the window background
4883 ourselves in PaintControlBackground. This behaviour is
4884 required to match MS, where, when OnPaintBackground is not
4885 called, the background is not drawn.
4886 - Removed unneeded Refresh() in set_Text
4887 * Hwnd.cs: Dropped the ErasePending support. No longer needed
4889 - Created DeriveStyles method to translate from CreateParams to
4890 FormBorderStyle and TitleStyle, also handles BorderStyle (which
4891 matches FormBorderStyle enum values)
4892 - Consolidated SetHwndStyles and CalculateWindowRect border/title
4893 style calculations into single DeriveStyles method
4894 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
4895 from redrawing the whole window on any resize or expose.
4896 - Fixed CreateWindow usage of SetWindowValuemask. Before not
4897 all styles were applied to our whole/client window appropriately
4898 - Removed EraseWindowBackground() and SetWindowBackground() methods
4899 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
4900 no longer clear/redraw the background through X
4901 - Removed handling of erase_pending bit, we have no use for it (or
4904 - Removed generation and handling of WM_ERASEBKGND message
4905 - Removed EraseWindowBackground() and SetWindowBackground() methods
4906 - Removed handling of hwnd.ErasePending flag
4908 - Removed EraseWindowBackground() and SetWindowBackground() methods
4909 - We no longer call EraseWindowBackground on PaintEventStart, we
4910 ignore the fErase flag, erasing is handled in Control in the
4912 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
4913 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
4914 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
4915 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
4916 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
4917 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
4918 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
4920 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
4922 * PropertyGrids.cs: Get sub properties
4923 * PropertyGridView.cs: Fix drawing code
4925 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4927 * ListBox.cs: Fixes 76383
4929 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4931 * DataGridTextBoxColumn.cs: Sets location and size before attachment
4932 * ThemeWin32Classic.cs: Fixes border drawing and calculations
4933 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
4936 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4938 * ComboBox.cs: Fixes border drawing
4940 2005-10-10 Miguel de Icaza <miguel@novell.com>
4942 * MimeIcon.cs: Ignore errors if the file can not be read.
4944 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
4946 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
4947 - Fixed border calculations
4948 - Fixed horizontal scrolling in single column listboxes
4949 - Fixed drawing issues
4951 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
4953 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
4954 FormBorderStyle enum
4955 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
4956 code to determine FormBorderStyles from CreateParams
4958 - Fixed bug where we'd set the wrong window styles if we were
4959 not creating an MDI window
4960 - Added call to XplatUI.SetBorderStyle when form borders are set
4961 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
4963 - Removed obsolete edge style
4964 - Switched from BorderStyle to FormBorderStyle
4966 2005-10-10 Jackson Harper <jackson@ximian.com>
4968 * Form.cs: Use the property to get the window handle instead of
4969 accessing it directly. Prevents a null reference exception.
4971 2005-10-10 Jackson Harper <jackson@ximian.com>
4973 * TreeView.cs: Don't adjust the rect given to DrawString now that
4974 our libgdiplus draws correctly.
4976 2005-10-08 Jackson Harper <jackson@ximian.com>
4978 * TreeView.cs: Don't try to find the clicked on node if there are
4979 no nodes in the tree.
4981 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4987 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
4989 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
4990 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
4992 Use ResPool for brushes and dispose System.Drawing objects that
4993 are not used anymore.
4995 2005-10-07 Jackson Harper <jackson@ximian.com>
4997 * MdiChildContext.cs: Use the new borders instead of drawing them
5000 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5002 * Calling UpdateBounds after changing the window's BorderStyle
5003 since the style can change the ClientSize
5005 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5007 * Control.cs: Made PaintControlBackground virtual
5008 * Panel.cs: Overriding PaintControlBackground instead of using paint
5009 event; paint event method was interfering with 'real' users of the
5012 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5014 * ThemeWin32Classic.cs: remove border drawing since it is handled
5015 by the base control class now and was causing double border drawing.
5017 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5019 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5020 but it does seem to match MS behaviour. This fixes bug #75324
5022 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5024 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5025 somewhat hackish looking
5027 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5030 - We now accept Enter even if AcceptEnter is false, if the containing
5031 form does not have an AcceptButton configured (fixes bug #76355)
5032 - Calculations are now fixed to no longer use Width/Height, but
5033 ClientSize.Width/Height, since we now support borders (this was
5034 a result of fixing borders and therefore bug #76166)
5035 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5036 true (fixes bug #76354)
5038 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5041 - Defaulting BorderStyle and setting it in XplatUI when our window
5043 - Added enum check to InternalBorderStyle setter
5045 - Added drawing of window borders
5046 - Now properly calculates WM decorations offset for toplevel
5047 windows (fixes bug #74763)
5049 - Implemented BorderStyles for windows (we're letting win32 draw
5051 - Fixed the signature for SetWindowLong
5052 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5053 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5055 * UpDownBase.cs: Remove drawing of borders, this is handled by
5056 the driver, outside the client area
5057 * ListView.cs: Removed bogus border calculations. The control should
5058 be oblivious to borders, since those are not part of the client
5060 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5061 * ThemeWin32Classic.cs: Removed border calculations from ListView
5064 2005-10-06 Jackson Harper <jackson@ximian.com>
5066 * MdiChildContext.cs: Clear out the old virtual position remove
5067 all the unneeded calls to CreateGraphics.
5069 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5071 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5073 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5076 - Added loading and setting of our new default icon
5077 - Only set icon if window is already created
5079 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5082 - Do not explicitly set the foreground and background colors, to
5083 allow inheriting from parents (fixes #76302)
5084 - Use Control's InternalBorderStyle property to deal with borders
5086 2005-10-06 Jackson Harper <jackson@ximian.com>
5088 * MdiChildContext.cs: Use the new xplatui function to draw a
5091 2005-10-06 Jackson Harper <jackson@ximian.com>
5093 * Form.cs: Add the parent before creating the child context cause
5094 we need the parent when setting up the child.
5096 2005-10-06 Jackson Harper <jackson@ximian.com>
5098 * FolderBrowserDialog.cs: redo the tree population code so a
5099 second thread isn't used. Should be a lot faster and more stable
5102 2005-10-05 Jackson Harper <jackson@ximian.com>
5104 * TreeView.cs: There are no expand/collapse boxes if the node has
5107 2005-10-05 Jackson Harper <jackson@ximian.com>
5109 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5111 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5113 * FileDialog.cs: Fix InitialDirectory
5115 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5118 - Fixes changing between styles
5120 - Fixes last item crashing when navigating with keyboard
5122 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5124 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5126 2005-10-05 Jackson Harper <jackson@ximian.com>
5128 * TreeView.cs: If updating the root node do a full refresh.
5129 * TreeNode.cs: The root node should be expanded by default. Also
5130 added a utility prop to tell if we are the root node.
5131 * TreeNodeCollection.cs: Only refresh if the node we are being
5132 added to is expanded. Also added a comment on a potential
5135 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5137 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5138 in dispose method. Fixes #76330
5140 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5142 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5144 - Implements vertical and horizontal scrolling using XplatUI
5145 - Fixes keyboard navagation
5146 - Fixes EnsureVisible
5148 - Handles and draws focus properly
5151 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5153 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5154 Create handle. NET_2_0: Destroy handle when value is null.
5156 2005-10-03 Jackson Harper <jackson@ximian.com>
5158 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5159 revert and a new patch to prevent the thumb from refreshing so
5162 2005-10-02 Jackson Harper <jackson@ximian.com>
5164 * ScrollBar.cs: Don't update position if it hasn't actually
5165 changed. This occurs when you hold down the increment/decrement
5166 buttons and the thumb gets to the max/min.
5168 2005-10-01 Jackson Harper <jackson@ximian.com>
5171 * MdiChildContext.cs:
5172 * MdiClient.cs: Implement ActiveMdiChild in Form.
5174 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5176 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5178 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5180 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
5183 2005-09-30 Jackson Harper <jackson@ximian.com>
5185 * ListBox.cs: Don't do a full refresh unless some data has
5188 2005-09-30 Jackson Harper <jackson@ximian.com>
5190 * TreeView.cs: Make sure that the checkboxes size is factored in
5191 even when not visible.
5193 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5195 * FileDialog.cs: Fix Jordi's build break
5197 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5200 - Use standard the Windows colours for the combobox as espected
5201 - Dispose objects that use resouces when no longer need them
5203 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5205 * X11DesktopColors.cs: Initial incomplete implementation
5206 * XplatUIX11.cs: Added call to initialize X11DesktopColors
5208 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
5211 - Switched Theme color names to match the names defined in
5212 System.Drawing.KnownColors. Life's hard enough, no need to make
5214 - Added setters to all theme color properties so themes can set
5215 their color schemes. The setters also propagate the color changes
5216 to System.Drawing.KnownColors via reflection
5217 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
5218 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
5219 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
5220 use the new, more logical theme color names
5221 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
5223 * ThemeWin32Classic.cs:
5224 - Removed code to set the old classic Windows colors. Instead it
5225 now relies on the colors returned by System.Drawing.KnownColors
5226 which will be either modern static colors (Unix) or colors
5227 read from the user's configuration (Win32)
5228 - Updated to use the new, more logical theme color names
5229 - Switched DataGrid drawing code to use only Theme colors instead of
5230 a mix of System.Drawing.KnownColors and Theme colors
5231 - DrawFrameControl(): Removed code that fills the button area, the
5232 fill would overwrite any previous fill done by a control. This
5234 - Added DrawReversibleRectangle() stub
5235 * ScrollableControl.cs: Set visible state to false when scrollbars
5236 are removed (pdn fix)
5237 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
5238 DrawReversibleRectangle() method to allow drawing primitive
5240 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
5242 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5244 * ImageList.cs: Add(Icon): Create handle.
5246 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
5249 * ThemeWin32Classic.cs:
5252 - Issues with drawing
5254 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5256 * ImageList.cs: Moved RecreateHandle back to ImageList as event
5257 source has to be the ImageList.
5259 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5261 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
5263 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5265 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
5267 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5269 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
5271 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
5272 * GridItem.cs: Fixed TODOs
5273 * GridItemCollection.cs: Added ICollection interface
5275 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
5277 * ImageList.cs: Resize icons when needed.
5279 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
5282 - Fixes GetBounds and returns on screen rects
5284 - Fixes vertical and horzintal scrolling of items
5285 * ThemeWin32Classic.cs:
5288 2005-09-29 Raja R Harinath <harinath@gmail.com>
5290 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
5292 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
5294 * ImageList.cs: Added comments about handle creation. Moved Handle,
5295 HandleCreated and OnRecreateHandle implementations to ImageCollection.
5296 Handle is created in Add methods.
5298 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5300 * DataGridDrawingLogic.cs:
5301 - Takes rows into account on Colum calculations
5302 - Returns the column when clickig
5304 - Fixes default HitTestInfo values
5305 - Fixes HitTestInfo.ToString
5306 - Fixes ResetBackColor
5308 2005-09-28 Jackson Harper <jackson@ximian.com>
5310 * MdiChildContext.cs: Obey rules for fixed sized windows (no
5311 sizing or cursor changes). Also added some temp code to draw the
5312 titlebars text (Makes dev a little easier).
5314 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5316 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
5318 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
5320 * ListBox.cs: Fixes bug 76253
5322 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
5324 * ImageList.cs: Added comments about the current implementation. Added
5325 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
5326 Format32bppArgb to preserve transparency and can use Graphics.FromImage
5327 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
5328 with Bitmap.LockBits for better performance. Revised the whole file to
5329 match MS.NET behaviour and provide better performance. Non-public
5330 interface members are calling public members even when they throw
5331 NotSupportedException for better maintainability. Moved ColorDepth,
5332 ImageSize, ImageStream and TransparentColor implementations to
5333 ImageCollection for better performance as these properties are not used
5335 * ImageListStreamer.cs: Added a new internal constructor that takes an
5336 ImageList.ImageCollection and serializes Images based on
5337 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
5338 match ImageList property name.
5340 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
5342 * ListBox.cs: Fixes IndexFromPoint for last item
5344 2005-09-27 Jackson Harper <jackson@ximian.com>
5346 * Form.cs: Set the position of new mdi children correctly.
5348 2005-09-27 Jackson Harper <jackson@ximian.com>
5350 * MdiClient.cs: New mdi children need to be added to the back of
5351 the controls collection so the zorder is set correctly. Also add a
5352 count of all the child windows that have been created.
5354 2005-09-27 Jackson Harper <jackson@ximian.com>
5356 * Form.cs (CreateParams): Setup MDI forms correctly.
5358 2005-09-27 Jackson Harper <jackson@ximian.com>
5360 * MdiChildContext.cs:
5367 * ScrollableControl.cs:
5368 * ComboBox.cs: Add implicit controls using the new implict control
5369 functionality in ControlCollection. Also try to block multiple
5370 control add in a suspend/resume layout to save some cycles.
5372 2005-09-27 Jackson Harper <jackson@ximian.com>
5374 * Control.cs: Add functionality to the controls collection to add
5375 'implicit controls' these are controls that are created by the
5376 containing control but should not be exposed to the user. Such as
5377 scrollbars in the treeview.
5378 * Form.cs: The list var of the ControlsCollection is no longer
5379 available because of the potential of implicit controls getting
5380 ignored by someone accessing the list directly.
5382 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
5384 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
5385 loose it's parent. (Fixed bug introduced in r49103 when we added
5386 setting the child parent to null on Remove)
5388 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
5390 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
5391 * Splitter.cs: Added missing attributes for BorderStyle property.
5392 * TextBoxBase.cs: Marked Calculate* methods internal.
5393 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
5396 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
5398 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
5400 2005-09-25 Jackson Harper <jackson@ximian.com>
5402 * TreeView.cs: Update the node bounds correctly regardless of
5403 whether the node is visible.
5405 2005-09-25 Jackson Harper <jackson@ximian.com>
5407 * ImageList.cs: Don't dispose the image after it is added to the
5408 image list. Only reformat images that need to be resized.
5410 2005-09-25 Jackson Harper <jackson@ximian.com>
5412 * ImageList.cs: Don't set the format when changing the image.
5414 2005-09-25 Jackson Harper <jackson@ximian.com>
5416 * TreeView.cs: We can't just assume the node has a font. Use the
5417 treeviews font if no node font is available.
5419 2005-09-25 Jackson Harper <jackson@ximian.com>
5421 * TreeView.cs: Allow the scrollbars to be reset with negative
5423 - Don't add scrollbars to negative sized windows.
5425 2005-09-23 Jackson Harper <jackson@ximian.com>
5427 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
5428 old Mono.Posix. Also remove some stray code that shouldn't have
5431 2005-09-23 Jackson Harper <jackson@ximian.com>
5433 * TreeView.cs: Attempt at proper sizing of the horizontal
5434 scrollbar. Also don't resize the scrollbars unless they are
5437 2005-09-23 Jackson Harper <jackson@ximian.com>
5439 * TreeView.cs: We don't need to expand the invalid area when the
5440 selection changes, as this is all drawn in the node's bounding
5441 box. The area needs to be expanded (previous typo was contracting
5442 it) when the focus rect moves.
5444 2005-09-23 Jackson Harper <jackson@ximian.com>
5446 * TreeView.cs: Display the selection box under the correct
5447 circumstances. We were rendering white text with no selection box
5450 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
5452 * TextControl.cs(Split): Now updates selection start/end if it points
5453 into a line that's being split. Fixes a FIXME and bug #75258
5455 2005-09-23 Jackson Harper <jackson@ximian.com>
5458 * ListControl.cs: Don't use the path when retrieving binding
5459 managers from the binding context. My bat sense tells me that the
5460 path is only used on insertion.
5462 2005-09-22 Jackson Harper <jackson@ximian.com>
5464 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
5466 2005-09-22 Jackson Harper <jackson@ximian.com>
5468 * Splitter.cs: There are special cursors used for splitting.
5469 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
5471 2005-09-22 Jackson Harper <jackson@ximian.com>
5473 * Splitter.cs: Change the cursor appropriately when the splitter
5474 is moused over, so the user actually knows there is a splitter
5477 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5479 * Label.cs : Fix ToString method to give same output as MS.NET
5481 2005-09-22 Jackson Harper <jackson@ximian.com>
5483 * TreeView.cs: Create the scrollbars when the handle is created
5484 and add them right away, just make them invisble. Also account for
5485 the window being shrunk vertically to the point that the vert
5486 scrollbar needs to be added.
5487 - Remove some 0.5 adjustments to get around anti aliasing issues.
5489 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
5491 * MainMenu.cs: Fixes default value
5492 * MenuItem.cs: Fixes default value
5494 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
5496 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
5498 2005-09-21 Jackson Harper <jackson@ximian.com>
5500 * Control.cs: Don't try to set the border style on the window if
5501 it hasn't been created. When the window is created the border
5504 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5506 * Control.cs (Update): Don't call XplatUI if we don't have a
5509 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5511 * ContainerControl.cs: Instead of throwing an exception, print
5512 a one-time warning about Validate not being implemented
5513 * XplatUIWin32.cs: Removed debug output
5515 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5517 * Control.cs: Only set XplatUI background if we expect the windowing
5518 system to handle the background. This stops controls that draw their
5519 own background from flickering
5521 * XplatUIX11.cs: Support custom visuals and colormaps for window
5522 creation. This allows, amongst other things, using MWF X11 windows
5525 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
5527 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
5528 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
5529 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
5530 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
5531 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
5532 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
5533 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
5534 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
5535 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
5536 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
5537 GridColumnStylesCollection.cs,
5538 IDataGridColumnStyleEditingNotificationService.cs,
5539 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
5540 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
5541 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
5542 TreeNodeCollection.cs, AmbientProperties.cs,
5543 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
5544 DataObject.cs, ErrorProvider.cs, Splitter.cs,
5545 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
5546 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
5547 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
5548 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
5549 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
5550 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
5551 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
5552 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
5553 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
5554 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
5555 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
5556 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
5557 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
5558 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
5559 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
5560 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
5561 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
5562 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
5563 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
5564 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
5565 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
5566 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
5567 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
5568 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
5569 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
5570 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
5571 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
5572 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
5573 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
5574 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
5575 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
5576 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
5577 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
5578 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
5579 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
5581 2005-09-21 Jackson Harper <jackson@ximian.com>
5583 * TreeNode.cs: Call Before/After Expand not Collapse when
5586 2005-09-20 Jackson Harper <jackson@ximian.com>
5588 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
5590 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5594 - Fixes proper storing of subitems
5595 - Fixes not updated items
5597 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5599 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
5600 things if our window handle isn't created yet. Also disabled
5601 debug for TextBoxBase
5603 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
5605 * MenuAPI.cs: Remove filtering of events to allow menu usage
5607 2005-09-20 Miguel de Icaza <miguel@novell.com>
5609 * Cursor.cs: Allow null to be passed to Cursor.Current.
5611 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
5613 * ThemeWin32Classic.cs:
5614 - Change some private methods/fields to protected virtual so that
5615 they can be accessed and overriden in derived classes
5616 - First refactoring of some methods. Derived themes now don't
5617 need to duplicate the complete code from ThemeWin32Classic
5619 - Added nice StatusBar
5620 - Derive from ThemeWin32Classic and not Theme
5621 - Removed duplicate ThemeWin32Classic code
5623 2005-09-20 Miguel de Icaza <miguel@novell.com>
5625 * Control.cs (ControlCollection.Add): If the value null is passed
5626 the control is ignored.
5630 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5632 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
5633 PostQuitMessage state.
5634 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
5636 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
5638 * Application.cs: Our constructor will never get called, move
5639 initialization to fields; fixes bug #75933
5641 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
5644 - Allow files to be selected properly using file name
5646 - Add ability to change diretory (absolute / relative)
5647 using file name combo box.
5649 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
5652 - Fixes Multicolumn listboxes item wrong calculations
5653 - Allows to click when only one item is in the listbox
5654 - Fixes crash when no items using keyboard navigation
5656 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
5658 * ComboBox.cs: Reverted almost everything from the latest patch which
5661 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
5664 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
5666 - When DropDownStyle is Simple, it does not show scrollbar
5667 to the last item of the list.
5668 - When DropDownStyle is Simple, it crashed when the list was
5669 scrolled down with the down cursor key.
5670 - Fixed a bug that when DropDownStyle is DropDownList, the
5671 selected item was not shown.
5672 - The position of the selected item was not preserved when
5673 the next dropdown happened.
5674 * ThemeWin32Classic.cs:
5675 - Items were wrapped at the right end.
5676 * CheckedListBox.cs:
5679 - Items should be fully shown.
5680 - When resizing and vertical scrollbar disappeared, the item
5681 of index 0 should be on the top of the list.
5682 - GetItemRectangle should consider the size of ver. scrollbar
5684 - SizingGrip area should not be allocated when it is not
5686 - Now it reflects MinWidth of the containing panel and
5687 fixed a crash that happens when its width becomes so small.
5689 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5691 * CheckedListBox.cs: Fixes bug 76028
5692 * ListBox.cs: Fixes bug 76028
5694 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
5696 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
5697 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
5699 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
5701 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
5703 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5705 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
5707 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
5709 * IRootGridEntry.cs: Added
5710 * PropertyGridCommands.cs: Added
5711 * PropertiesTab.cs: Added missing methods and property
5712 * PropertyGridView.cs: Made class internal
5713 * PropertyGridTextBox.cs: Made class internal
5715 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5717 * MimeIcon.cs: Try to check some other environment variables
5718 if "DESKTOP_SESSION" returns "default"
5720 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5722 * ThemeNice.cs: Corrected background colors (e.g. menus)
5723 * ColorDialog.cs: Use correct background colors for controls
5725 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
5727 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
5729 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
5731 * RichTextBox.cs: Added initial implementation
5732 * lang.cs: Removed. Was accidentally checked in long time ago
5733 * TODO: Removed. Contents were obsolete
5735 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5737 * PropertiesTab.cs : Added
5739 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
5741 * PropertyGrid.cs : Update
5742 * PropertyGridView.cs : Update
5743 * System.Windows.Forms.resx : Added images and strings
5745 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5747 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
5749 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
5751 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
5752 a busy loop right after the Ungrab the X11 display is otherwise
5755 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
5757 * ThemeWin32Classic.cs: Optimise the use of clipping
5759 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
5761 * DataGrid.cs: fixes recursion bug
5763 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
5766 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
5769 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
5771 * ThemeNice.cs: Draw nice ProgressBars
5773 2005-09-01 Miguel de Icaza <miguel@novell.com>
5775 * VScrollBar.cs: Another buglet found by Aaron's tool.
5777 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
5780 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
5783 - Added nicer menu drawing
5787 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5789 * CreateParams.cs (ToString): Made output match MS
5790 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
5791 handle is already created (to avoid forcing window creation)
5792 * XplatUIX11.cs: Set window text to caption after creating window,
5793 in case Text was set before window was created
5794 * Form.cs: Use this.Text instead of a static string as caption
5796 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5798 * NotifyIcon.cs: Don't set the window to visible; this screws
5799 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
5800 OnPaint without a bitmap)
5801 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
5802 happen very often anyway; we could add the check to the WM_PAINT
5803 event generation code
5805 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5807 * NotifyIcon.cs: Fill the icon area with a background color, to
5808 avoid 'residue' when transparent icons are drawn
5810 - Handle whole_window == client_window when destroying windows
5811 - SystrayAdd(): Set client_window to whole_window value to
5812 get mouse and other events passed to NotifyIcon
5814 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
5816 * Form.cs: Set proper default for Opacity property
5818 - ShowSystray(): Don't bother creating telling the OS
5819 about the systray item if no icon is provided
5820 - Now handles WM_NCPAINT message to deal with whole/client window
5822 - Create window as visible to not get caught by Expose optimization
5823 * Hwnd.cs: Removed debug message
5824 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
5825 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
5826 PaintEventStart/End to use new client argument
5828 - Commented out debug messages
5829 - Switched PaintEventStart/End to use new client argument
5830 * XplatUI.cs: Added client window bool to PaintEventStart()/
5831 PaintEventEnd() calls, to support drawing in non-client areas
5833 - Added client window bool to PaintEventStart()/PaintEventEnd()
5834 calls, to support drawing in non-client areas
5835 - Added conditional compile to allow using MWF BeginInvoke
5838 - Added some conditional debug output
5839 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
5840 whole/client window split
5841 - Implemented handling of client argument to PaintEventStart()/End()
5843 - Throw exception if BeginInvoke() is called and the window handle
5844 or one of the window's parent handles is not created
5845 - Added conditional compile to allow using MWF BeginInvoke on
5847 - get_Parent(): Only sets parent if handle is created. This avoids
5848 forcing window handle creation when parent is set.
5849 - Now fires Layout and Parent changed events in proper order
5850 - Switched to use Handle instead of window.Handle for Z-Order setting,
5851 the get_Parent() patch above causes us to possibly get null for 'window'
5852 - Implemented handling of client argument to PaintEventStart()/End()
5853 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
5855 - Now sends a Refresh() to all child windows when Refresh() is called
5857 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
5859 * Form.cs: Added (non-functional) Opacity property
5860 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
5862 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
5863 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
5864 use export MONO_THEME=nice to activate it.
5865 Currently supported controls:
5869 - TabControl (TabAlignment.Top only, other will follow)
5870 * ThemeEngine.cs: Add theme nice
5871 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
5874 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
5876 * Splitter.cs: Resize docked control and its neighbor.
5878 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5879 -- Making Windows with Menus layout correctly --
5880 * Form.cs : The first leg of the fix
5881 Menu setter - adjust Client Size as needed to make space for the menu
5882 SetClientSizeCore - doesn't call base version to be able to pass the
5883 menu handle to XplatUI.CalculateWindowRect
5884 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
5885 * XplatUIX11.cs: The critical second leg of the fix
5886 GetWindowPos needs to use a recalculated client_rect
5887 so that resizing the window doesn't break layout of child controls.
5888 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
5891 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
5893 * Label.cs: Now properly recalculates width and height on Font and Text
5894 changes if AutoSize is set
5896 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5897 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
5899 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
5901 * ImageList.cs: Makes ToString method compatible with MS
5903 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
5905 * MenuAPI.cs: fixes bug 75716
5907 2005-08-11 Umadevi S <sumadevi@novell.com>
5908 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
5910 2005-08-11 Umadevi S <sumadevi@novell.com>
5911 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
5913 2005-08-10 Umadevi S <sumadevi@novell.com>
5914 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
5916 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
5918 * Menu.cs: fixes bug 75700
5919 * MenuAPI.cs: fixes navigation issues
5921 2005-08-09 Umadevi S <sumadevi@novell.com>
5922 * CheckedListBox.cs - simple fix for GetItemChecked.
5924 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
5926 * ComboBox.cs: Serveral fixes
5927 * ListBox.cs: Serveral fixes
5929 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5931 * ComboBox.cs: Fixes FindString methods and GetItemHeight
5932 * ListBox.cs: Fixes FindString methods
5934 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
5936 * DataGrid.cs: fixes bugs exposed by new tests
5938 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
5940 * Mime.cs: Compile Mono assembly references only if compiling
5941 with Mono (Allows to build with VS.Net again)
5943 2005-07-28 Marek Safar <marek.safar@seznam.cz>
5945 * Control.cs (PaintControlBackground): Draw background image
5947 (CheckForIllegalCrossThreadCalls): Stubbed.
5949 * Form.cs (OnCreateControl): Center when should be centered.
5951 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
5953 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
5955 * Binding.cs: Binding to properties should be case unsensitive
5957 2005-07-18 vlindos@nucleusys.com
5959 * DataGrid.cs: fixes setmember order
5961 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
5963 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
5964 * FileDialog.cs: FileDialog is now resizable and uses the new
5967 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
5969 * DataGridTextBoxColumn.cs: default value
5970 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
5971 * GridTableStylesCollection.cs: fixes checking MappingName
5972 * DataGridDrawingLogic.cs: fixes drawing logic issues
5973 * DataSourceHelper.cs: rewritten to make compatible with more data sources
5974 * DataGrid.cs: fixes
5976 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
5978 * MimeGenerated.cs: Use case sensitive comparer for
5979 NameValueCollections
5981 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
5983 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
5984 * ThemeWin32Classic.cs: bug fixes, code refactoring
5985 * DataGridDrawingLogic.cs: bug fixes, code refactoring
5986 * DataGrid.cs: bug fixes, code refactoring
5987 * DataGridTextBox.cs: bug fixes, code refactoring
5988 * DataGridColumnStyle.cs: bug fixes, code refactoring
5989 * Theme.cs: bug fixes, code refactoring
5991 2005-07-01 Peter Bartok <pbartok@novell.com>
5993 * TextControl.cs: Quick fix for the reported crash on ColorDialog
5994 and other text box usage
5996 2005-07-01 Jackson Harper <jackson@ximian.com>
5998 * TabControl.cs: Make sure the bottom of the tab covers the pages
6001 2005-06-30 Peter Bartok <pbartok@novell.com>
6003 * Form.cs (ShowDialog): Assign owner of the dialog
6004 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6005 might have been moved to a tag with different height
6007 2005-06-30 Jackson Harper <jackson@ximian.com>
6009 * Form.cs: Don't create an infinite loop when setting focus
6010 * MenuItem.cs: Don't dirty the parents if we don't have any
6012 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6014 * LibSupport.cs: Rename
6016 2005-06-29 Peter Bartok <pbartok@novell.com>
6018 * TextBoxBase.cs: Re-align caret after deleting a character
6020 - DeleteChars(): Ensure that tag covers the provided position
6021 - StreamLine(): Drop reference for dropped tag
6023 2005-06-29 Peter Bartok <pbartok@novell.com>
6026 - Selections now work properly, anchoring at the initial location
6027 and properly extending in either direction (SetSelectionToCaret(),
6028 SetSelectionStart() and SetSelectionEnd())
6029 - No longer redraws the whole control on selection change, now
6030 calculates delta between previous and new selection and only
6031 invalidates/redraws that area
6032 - Fixed FindPos() math off-by-one errors
6033 - Changed DeleteChars() to verify the provided tag covers the
6034 provided position, selections may have a tag that doesn't cover
6035 the position if the selection is at a tag border
6036 - Fixed off-by-one errors in DeleteChars()
6037 - Added missing streamlining check in DeleteChars() to remove
6039 - Implemented Invalidate() method, now properly calculates exposures
6040 between two given lines/positions
6041 - Implemented SetSelection()
6042 - Obsoleted and removed FixupSelection()
6043 - Improved RecalculateDocument() logic, removing code duplication
6045 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6047 * LibSupport.cs: changes to match different input/output arguments.
6049 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6051 * LibSupport.cs: added libsupport.so init routine.
6053 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6055 * ControlBindingsCollection.cs
6056 - Throws an exception on null datasource when adding
6057 - Checks for duplicated bindings when adding
6059 2005-06-28 Jackson Harper <jackson@ximian.com>
6061 * TreeView.cs (OnKeyDown): Support left and right properly
6062 (navigates as well as expanding and collapsing.
6063 - Add support for Multiply, this expands all the selected nodes
6067 2005-06-28 Jackson Harper <jackson@ximian.com>
6069 * TreeView.cs: Implement keyboard navigation, currently supports,
6070 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6071 support for toggling checkboxes with the space bar.
6073 2005-06-28 Jackson Harper <jackson@ximian.com>
6075 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6078 2005-06-28 Jackson Harper <jackson@ximian.com>
6080 * TreeView.cs: Add missing event.
6082 2005-06-27 Peter Bartok <pbartok@novell.com>
6085 - Made line ending size configurable (now allows for counting
6086 lineendings as \n or \r\n)
6087 - Added margin to viewport to keep caret visible on right side
6088 - Fixed translation routines for line/pos to documentpos to consider
6089 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6090 - Fixed some line-endings to be unix style
6091 - Fixed Document.FormatText to perform it's calculations 1-based
6092 - Added descriptions for a few methods that might otherwise get
6094 - Added NOTE section with some basic conventions to remember at
6096 - Major fixup for RichTextBox selection drawing:
6097 * Fixed crashes when multiple tags on a single line were selected
6098 * fixed selection box drawing not overlaying text
6099 * fixed bogus offset calculation for tags not starting at index 1
6100 * Switched behaviour from using multiple Substrings of a
6101 StringBuilder.ToString() to using multiple
6102 StringBuilder.ToString(start, length) statements, hoping this is
6103 faster (kept original version commented out in the code, in case
6104 original version was faster)
6105 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6107 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6110 2005-06-27 Jackson Harper <jackson@ximian.com>
6112 * TabControl.cs: Move to the left and right with the arrow
6113 keys. These keys don't cycle beyond first and last like
6114 tab. Refresh all the tabs when scrolling them to the left or
6117 2005-06-27 Jackson Harper <jackson@ximian.com>
6120 - ToString: Added method
6121 - CreateParams: Remove TODO and comment
6122 - OnKeyDown: Cycle through bounds properly.
6123 - SelectedIndex: Scroll to the right or left if we need to
6124 display the newly selected tab.
6126 2005-06-23 Jackson Harper <jackson@ximian.com>
6128 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6131 2005-06-23 Jackson Harper <jackson@ximian.com>
6133 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6134 CTRL-SHIFT-TAB, and HOME, END are there any others?
6136 2005-06-23 Jackson Harper <jackson@ximian.com>
6138 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6140 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6142 * DataGridTextBoxColumn.cs: fixes and enhancements
6143 * ThemeWin32Classic.cs: fixes and enhancements
6144 * DataGridBoolColumn.cs: fixes and enhancements
6145 * DataGridDrawingLogic.cs: fixes and enhancements
6146 * CurrencyManager.cs: fixes and enhancements
6147 * DataGrid.cs: fixes and enhancements
6148 * DataGridColumnStyle.cs: fixes and enhancements
6150 2005-06-22 Jackson Harper <jackson@ximian.com>
6152 * TabControl.cs: Add some missing methods that just call into the
6153 base. Make the TabPageCollection's IList interface behave in the
6154 same manner as the MS implementation.
6156 2005-06-22 Peter Bartok <pbartok@novell.com>
6158 * TextControl.cs: Added sanity check
6160 - Fixed wrapping behaviour, don't set wrap on single line controls
6161 (this fixes the breakage of colordialog introduced in an earlier
6163 - Added rudimentary support for autoscrolling right-aligned controls
6164 (still needs fixing, also, center alignment scroll is missing)
6166 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6168 * ScrollBar.cs: Fixes thumbpos on Maximum values
6170 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6172 * PropertyGridView.cs: Pass context information to UITypeEditors
6174 2005-06-21 Peter Bartok <pbartok@novell.com>
6177 - Now calling PositionCaret with absolute space coordinates
6178 - Enabled vertical scrolling
6179 - Better tracking of scrollbar changes, tied into WidthChange
6181 - Improved cursor tracking
6182 - Removed debug output
6184 - PositionCaret coordinates are now works in absolute space, not
6186 - Improved tracking of document size
6187 - Added events for width and height changes
6189 2005-06-21 Peter Bartok <pbartok@novell.com>
6191 * Form.cs: Set focus to active control when form is activated
6193 - Added word-wrap functionality to RecalculateLine()
6194 - Added some short function descriptions for VS.Net to aid in
6195 writing dependent controls
6196 - Added Caret property, returning the current coords of the caret
6197 - Added ViewPortWidth and ViewPortHeight properties
6198 - Added Wrap property
6199 - Added CaretMoved event
6200 - Removed some old debug code
6201 - Split() can now create soft splits
6202 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
6203 - Added method to format existing text
6204 - Fixed size/alignment calculations to use viewport
6205 - RecalculateDocument now can handle changing line-numbers while
6209 - Added some wrap logic, we don't wrap if alignment is not left
6210 - Added casts for scrollbar var, base class switched types to
6211 also support RichTextBoxA
6212 - Implemented handling of scrollbar visibility flags
6215 - Switched scrollbars type to RichTextBoxScrollBars to support
6217 - Added tracking of canvas width/height
6218 - Switched scrollbars to be not selectable (to keep focus on text)
6219 - Added central CalculateDocument() method to handle all redraw
6221 - Added ReadOnly support
6222 - Added WordWrap support
6223 - Fixed handling of Enter key (we now treat it as a DialogKey)
6224 - Fixed caret positioning when h or v scroll is not zero
6225 - Fixed placing/generation of vertical scrollbar
6226 - Added CalculateScrollBars() method to allow updating scrollbar
6227 limits and visibility
6228 - Fixed handling of horizontal scroll
6229 - Added handling of vertical scroll
6230 - Implemented auto-'jump' when caret moves to close to a left or
6231 right border and there is text to be scrolled into view (currently
6232 there's the potential for a stack overflow, until a bug in
6235 2005-06-21 Geoff Norton <gnorton@customerdna.com>
6237 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
6239 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
6243 - return application/x-zerosize for files with size zero
6244 (if no extension pattern matches).
6245 - check matches collection for strings too.
6246 - return only the first mime type if the name value
6247 collection has more than one mime type.
6249 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
6251 * PropertyGrid.cs: Cleaned up some TODOs
6252 * PropertyGridView.cs: Added support for UITypeEditors
6254 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6256 * DataGrid.cs: clears cached value
6258 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
6260 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
6261 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
6262 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
6263 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
6265 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
6267 * ThemeWin32Classic.cs: fixes colour
6269 2005-06-15 Peter Bartok <pbartok@novell.com>
6271 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
6272 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
6273 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
6274 * Control.cs: Added some MWFCategory and MWFDescription attributes
6275 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
6277 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
6279 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
6282 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
6284 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
6285 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
6286 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
6287 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
6288 * DataGrid.cs: default datagrid settings for Default Styles, fixes
6289 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
6291 2005-06-13 Jackson Harper <jackson@ximian.com>
6293 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
6294 isn't printed when the user enables dropping. (X11 does accept
6297 2005-06-13 Jackson Harper <jackson@ximian.com>
6299 * TreeView.cs: Remove some TODOS.
6301 2005-06-13 Jackson Harper <jackson@ximian.com>
6303 * Form.cs: Hook into the mdi framework.
6304 * MdiClient.cs: Use the base control collections add method so
6305 parents get setup correctly. Set the default back colour and dock
6307 * MdiChildContext.cs: New class, this bad actor handles an
6308 instance of an MDI window. Right now there is only basic
6309 support. You can drag, close, and resize windows. Minimize and
6310 Maximize are partially implemented.
6312 2005-06-13 Jackson Harper <jackson@ximian.com>
6314 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
6315 freaky when both vals are negative. NOTE: There are probably other
6316 places in XplatUIX11 that this needs to be done.
6318 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
6320 * DataGrid.cs: implement missing methods, move KeyboardNavigation
6321 * DataGridColumnStyle.cs: fixes signature
6323 2005-06-12 Jackson Harper <jackson@ximian.com>
6325 * XplatUIX11.cs: Use sizing cursors similar to the ones on
6328 2005-06-11 Jackson Harper <jackson@ximian.com>
6330 * StatusBarPanel.cs: Signature cleanups. Implement
6333 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
6335 * DataGridTextBoxColumn.cs: Honors aligment
6336 * GridColumnStylesCollection.cs: Contains is case unsensitive
6337 * GridTableStylesCollection.cs: several fixes
6338 * DataGridTableStyle.cs: default column creation
6339 * DataGridDrawingLogic.cs: fixes
6340 * CurrencyManager.cs: ListName property
6341 * DataGrid.cs: multiple styles support
6342 * DataGridColumnStyle.cs: fixes
6345 2005-06-10 Peter Bartok <pbartok@novell.com>
6347 * Control.cs(Select): Moved SetFocus call to avoid potential
6348 loops if controls change the active control when getting focus
6349 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
6352 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
6354 * ImageListConverter.cs: Implemented
6356 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6358 * MonthCalendar.cs: Wired in NumericUpDown control for year
6360 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
6362 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
6363 DoubleClick events, since they are not meant to be fired.
6365 2005-06-09 Peter Bartok <pbartok@novell.com>
6367 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
6368 Jonathan's standalone controls into MWF, implemented missing
6369 events, attributes and methods; added xxxAccessible classes
6370 * AccessibleObject.cs: Made fields internal so other classes
6371 can change them if needed
6373 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
6375 * UpDownBase.cs: Complete implementation
6376 * NumericUpDown.cs: Complete implementation
6377 * DomainUpDown.cs: Complete implementation
6379 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
6381 * DataGridTextBoxColumn.cs: drawing fixes
6382 * DataGridCell.cs: fixes ToString method to match MSNet
6383 * DataGridTableStyle.cs: fixes
6384 * DataGridBoolColumn.cs: fixes, drawing
6385 * DataGridDrawingLogic.cs: fixes, new methods
6386 * DataGridTextBox.cs: Keyboard and fixes
6388 - Keyboard navigation
6390 - Row selection (single, multiple, deletion, etc)
6393 2005-06-07 Jackson Harper <jackson@ximian.com>
6395 * ThemeWin32Classic.cs: Clear the background area when drawing
6398 2005-06-06 Peter Bartok <pbartok@novell.com>
6400 * ImageListStreamer.cs: Fixed signature for GetData
6401 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
6403 - Added missing ChildAccessibleObject class
6404 - Added missing OnXXXFocus overrides, switched to using those
6405 instead of the event handler
6407 - Added Parent property for ControlAccessibleObject
6410 - Added ResetBindings()
6411 * ListBindingConverter.cs: Implemented some methods
6412 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
6413 * ImageList.cs: Implemented basic handle scheme, removed TODOs
6414 * ContainerControl.cs: Fixed signature, now subscribing to the
6415 ControlRemoved event instead of overriding the handler, LAMESPEC
6416 * CurrencyManager.cs: Added missing attribute
6417 * MonthCalendar.cs: Added missing properties
6419 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6421 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
6423 2005-06-06 Gaurav Vaish and Ankit Jain
6425 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
6426 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
6428 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
6430 * Control.cs: fixes CreateParams Width / Height.
6432 2005-06-05 Peter Bartok <pbartok@novell.com>
6434 * Win32DnD.cs: Removed compilation warnings
6436 2005-06-05 Peter Bartok <pbartok@novell.com>
6438 * Control.cs (CreateParams): Since we don't know if one of the
6439 properties we use is overridden, lets make sure if we fail accessing
6440 we continue with a backup plan
6442 2005-06-05 Peter Bartok <pbartok@novell.com>
6445 - Removed debug output
6446 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
6448 - Plugged resource leak
6449 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
6452 2005-06-05 Peter Bartok <pbartok@novell.com>
6454 * XplatUIWin32.cs: Removed DnD code
6455 * Win32DnD.cs: Implemented drop source and drop target functionality
6457 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6459 * UpDownBase.cs: remove duplicate addition of event, enable some code
6460 that was commented out.
6461 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
6462 Validate input when a key is pressed. It works fine now for every
6463 combination of Hexadecimal. Only missing some drawing love when sharing
6464 space with other controls.
6466 2005-06-04 Peter Bartok <pbartok@novell.com>
6469 - We need to pass a window for DragDrop, so enable callback events
6470 - Added DnD callback events when being a DragSource
6471 * XplatUI.cs (StartDrag): Added window handle argument
6472 * XplatUIDriver.cs (StartDrag): Added window handle argument
6473 * QueryContinueDragEventArgs: Made fields internally accessible so
6474 drivers can set them
6475 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
6478 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
6480 * DataGridTextBoxColumn.cs: column text editing
6481 * DataGridTableStyle.cs: Respect columns styles created by the user
6482 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
6483 * DataGridBoolColumn.cs: bool column editing
6484 * DataGrid.cs: fixes to scrolling, properties, etc
6485 * DataGridTextBox.cs: handle keyboard
6486 * DataGridColumnStyle.cs: fixes
6488 2005-06-02 Jackson Harper <jackson@ximian.com>
6490 * ImageListStreamer.cs: Somewhat broken implementation of
6491 GetObjectData. The RLE needs some work to match MS properly.
6493 2005-06-02 Jackson Harper <jackson@ximian.com>
6495 * X11Dnd.cs: Attempting to keep at least one file in MWF
6498 2005-06-02 Peter Bartok <pbartok@novell.com>
6500 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
6503 2005-06-02 Peter Bartok <pbartok@novell.com>
6505 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
6506 * XplatUI.cs: Added DoDragDrop() method
6507 * XplatUIDriver.cs: Added DoDragDrop() method
6509 2005-06-02 Jackson Harper <jackson@ximian.com>
6511 * Splitter.cs: Implement BorderStyle.
6513 2005-06-02 Jackson Harper <jackson@ximian.com>
6515 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
6516 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
6519 2005-06-02 Peter Bartok <pbartok@novell.com>
6523 - Fixed broken insertion code for SetData, now also
6524 overwrites any existing entry of the same format name
6525 * Hwnd.cs: Added list of pointers that automatically gets
6526 freed when the window is disposed
6527 * XplatUI.cs: Call driver initialization method when loading
6530 - OnDragLeave takes EventArgs, not DragEventArgs
6531 - Added setting of WS_EX_ACCEPTFILES style when dropping is
6533 - Forces style update when drop state changes
6534 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
6535 not perfect since we cannot (yet) call the IDataObject.GetData()
6536 method, we keep getting 0x80004005 error, dunno why)
6538 2005-06-02 Peter Bartok <pbartok@novell.com>
6540 * DragEventArgs.cs: Make fields internal so we can cache the
6541 object and re-set the fields from XplatUI
6543 2005-06-02 Jackson Harper <jackson@ximian.com>
6545 * Control.cs: Add some internal methods so the DnD subsystem can
6546 raise DnD events. Also call into the driver when AllowDrop is set.
6548 * XplatUIDriver.cs: New method for setting whether or not a window
6549 is allowed to accept drag and drop messages.
6551 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
6553 * ScrollBar.cs: Make sure that values sent in Scroll events
6554 are always between Maximum and Minimum.
6556 2005-06-01 Marek Safar <marek.safar@seznam.cz>
6558 * Menu.cs: Call MenuChanged when menuitem visibility has been
6560 * MenuItem.cs: Rebuild menu when item is (not) visible.
6561 * MainMenu.cs: MainMenu has special MenuChanged.
6562 * Theme.cs: Caption and FrameBorderSize are not fixed.
6563 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
6564 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
6566 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
6567 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
6569 2005-05-30 Jackson Harper <jackson@ximian.com>
6571 * DataFormat.cs: We can't statically initialize this stuff because
6572 it calls into the xplatui and could create a loop. So we lazy init
6575 2005-05-28 Jackson Harper <jackson@ximian.com>
6577 * Control.cs: Proper implementation of Product(Name/Version).
6579 2005-05-27 Jackson Harper <jackson@ximian.com>
6581 * DataObject.cs: Dont crash if no data is found.
6583 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6584 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
6585 as per status page, guessing it should be set to true
6587 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
6589 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
6590 * DataGridTableStyle.cs: set proper formatting text, def header text
6591 * ThemeWin32Classic.cs: new themable paramaters
6592 * DataGridBoolColumn.cs: paint check box, get data, fixes
6593 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
6594 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
6595 * DataGridColumnStyle.cs: fixes
6596 * Theme.cs: new themable paramaters
6598 2005-05-26 Peter Bartok <pbartok@novell.com>
6600 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
6602 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6603 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
6605 2005-05-24 Peter Bartok <pbartok@novell.com>
6607 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
6608 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
6609 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
6610 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
6611 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
6612 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
6613 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
6614 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
6615 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
6616 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
6617 missing attributes, etc
6618 * DataGridPreferredColumnWidthTypeConverter.cs: Added
6620 2005-05-24 Peter Bartok <pbartok@novell.com>
6622 * Help.cs: Added, implemented trivial functions, throws up MessageBox
6623 when user tries to get help
6624 * DataObject.cs, DataFormats.cs, LinkArea.cs,
6625 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
6626 to suppress warnings
6627 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
6628 avoid unreachable code warning
6630 2005-05-20 Peter Bartok <pbartok@novell.com>
6632 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
6634 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6636 * DataGridTextBoxColumn.cs: Basic painting methods
6637 * DataGridTableStyle.cs: Set table style in the column
6638 * ThemeWin32Classic.cs: Use Theme for colors
6639 * DataGridDrawingLogic.cs: Implement more drawing
6640 * DataGrid.cs: drawing, theming, enhacements, fixes
6641 * DataGridColumnStyle.cs: fixes, drawing
6642 * Theme.cs: theming for Datagrid
6644 2005-05-20 Peter Bartok <pbartok@novell.com>
6646 * Cursor.cs: Implemented GetObjectData() method
6648 2005-05-20 Peter Bartok <pbartok@novell.com>
6650 * Cursors.cs: Added setting of cursor name
6652 - Implemented constructors
6653 - Implemented Draw and DrawStretched
6654 - Implemented Current property
6655 - Implemented == and != operators
6656 - Implemented Dispose()
6657 - Implemented ToString
6658 - Added missing attributes
6660 - Added missing reset for OverrideCursor when DoEvents is called
6661 - Fixed creation of cursor, logic was wrong
6663 - Added missing reset for OverrideCursor when DoEvents is called
6664 - Fixed creation of cursor, bit arrays were swapped
6665 * Clipboard.cs: Removed obsolete MonoTODO attribute
6667 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6669 * ComboBox.cs: fixes OnSelectedItemChanged
6670 * ControlBindingsCollection.cs: fixes item range check
6672 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
6675 - Calc preferred height properly
6676 - Implement missing properties
6678 * NumericUpDown.cs: Implement missing events
6680 2005-05-19 Jackson Harper <jackson@ximian.com>
6682 * TabControl.cs: New method that resizes the tab pages before
6683 redrawing them. This as needed as the control is double buffered
6684 and sizing will not be recalculated unless ResizeTabPages is
6686 * TabPage.cs: Set base.Text instead of Text in the constructor so
6687 that UpdateOwner does not get called. Use the new Redraw method of
6688 TabControl instead of Refresh so the sizing is recalculated.
6689 * ThemeWin32Classic.cs: Draw the text for button tabs.
6691 2005-05-19 Jackson Harper <jackson@ximian.com>
6693 * Control.cs: Paint control background images. Fix typo where
6694 PaintControlBackground was not getting called correctly.
6696 2005-05-19 Peter Bartok <pbartok@novell.com>
6698 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
6699 I can investigate, apparently I broke FileDialog
6701 2005-05-19 Marek Safar <marek.safar@seznam.cz>
6703 * AxHost.cs: Some simple properties.
6704 * Control.cs: window must be accessible after ctor.
6705 * Form.cs: Added TransparencyKey property.
6706 * TextBoxBase.cs: Implemented Clear. Text property can be null.
6707 * XplatUIWin32.cs: SetBorderStyle implemented.
6709 2005-05-18 Peter Bartok <pbartok@novell.com>
6711 * DataObject.cs: Entries are not global but particular to the
6712 DataObject, now it behaves that way
6713 * XplatUIWin32.cs: Implemented Clipboard methods
6714 * Clipboard.cs: Implemented
6715 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
6716 * XplatUIOSX.cs: Updated to final clipboard prototypes
6717 * XplatUIX11.cs: Implemented Clipboard methods
6718 * XplatUIDriver.cs: Updated to final clipboard prototypes
6719 * XplatUIStructs.cs:
6720 - Added BITMAPINFOHEADER struct
6721 - Added ClipboardFormats enum
6723 - Added ClipboardStruct
6724 - Added Atom enum items for clipboard types
6725 - Fixed atom types for Selection event structures
6727 - Added internal properties and methods for drivers to enumerate
6729 - Switched initialization method to allow drivers to assign their
6730 own IDs even for the MS predefined clipboard IDs
6731 * XplatUI.cs: Updated to final clipboard interface
6733 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6734 * PropertyGridView.cs: Fixed compiler warnings.
6736 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
6737 * PropertyGrid.cs: Added some event calls
6738 * PropertyGridView.cs: Change drawing code to use double buffering
6739 * PropertyGridTextBox.cs: Changed Text property name
6740 * GridItem.cs: Added Bounds property.
6741 * GridEntry.cs: Added Bounds property.
6743 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
6745 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
6746 since GetType() may not return the correct type if the object is
6749 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
6751 * TreeNodeCollection.cs: fixes get/set item ranges
6753 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6755 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
6757 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
6759 * ComboBox.cs: Fix item range comparation
6760 * ListView.cs: Fix item range comparation
6762 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6765 - Clear example panel when OnPaint is called
6766 - Better solution for displaying the example panel text
6767 - Select default indexes in the ListBoxes
6769 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6771 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
6773 2005-05-11 Peter Bartok <pbartok@novell.com>
6775 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
6776 * SelectionRangeConverter.cs: Implemented
6777 * PropertyGrid.cs: Fixed attribute value
6779 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
6780 - Added Sebastien Pouliot's CAS Stack Propagation fixes
6781 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
6782 that's common to all drivers. First methods to go there are
6783 Sebastien Pouliot's CAS Stack Propagation helper methods
6784 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
6785 Sebastien Pouliot for CAS Stack Propagation
6787 2005-05-11 Geoff Norton <gnorton@customerdna.com>
6790 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
6792 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
6794 * DataGridTextBoxColumn.cs: fixed some members
6795 * GridColumnStylesCollection.cs: indexed column is case insensitive
6796 * DataGridTableStyle.cs: fixes
6797 * ThemeWin32Classic.cs: add new theme parameter
6798 * Theme.cs: add new theme parameter
6799 * DataGridDrawingLogic.cs: Datagrid's drawing logic
6800 * DataGrid.cs: fixes, new internal properties, etc.
6801 * DataGridColumnStyle.cs: allows to set grid value
6804 2005-05-10 Peter Bartok <pbartok@novell.com>
6806 * AccessibleObject.cs:
6807 - Removed MonoTODO attribute on help, method is correct
6808 - Fixed Bounds property
6809 * AxHost.cs: Moved MonoTODO
6810 * ButtonBase.cs: Now setting AccessibleObject properties
6811 * RadioButton.cs: Setting proper AccessibleObject role
6812 * CheckBox.cs: Setting proper AccessibleObject role
6813 * ControlBindingsCollection.cs: Added properties, methods and attributes
6814 * DataFormats.cs: Fixed awkward internal API, and changed to enable
6815 userdefined DataFormats.Format items as well
6816 * ListControl.cs: Removed data_member from the public eye
6817 * OpenFileDialog.cs:
6819 - Added missing attributes
6820 * SaveFileDialog.cs: Added missing attributes
6821 * ImageListStreamer.cs: Fixed code that caused warnings
6822 * LinkLabel.cs: Removed unreachable code
6823 * TreeView.cs: Fixed code that caused warnings
6824 * PropertyGridView.cs: Fixed code that caused warnings
6825 * GridColumnStylesCollection.cs: Added missing attributes
6826 * GridTableStylesCollection: Added missing attribute
6827 * PropertyManager: Added .ctor
6828 * SecurityIDType: Added
6829 * DataObject.cs: Implemented class
6830 * LinkArea.cs: Added missing attribute
6832 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
6834 * RadioButton.cs: call base method to allow to fire OnClick event
6835 * UpDownBase.cs: OnMouseUp call base method
6836 * CheckedListBox.cs: call base method before returning
6837 * TrackBar.cs: call base method before returning
6840 2005-05-10 Peter Bartok <pbartok@novell.com>
6842 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
6845 2005-05-10 Peter Bartok <pbartok@novell.com>
6847 * DataFormats.cs: Implemented
6848 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
6849 XplatUIX11.cs: Added Clipboard APIs
6850 * XplatUIWin32.cs: Implemented Clipboard APIs
6851 * FolderBrowserDialog.cs: Added missing event, attributes
6853 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
6855 * CheckBox.cs: call base method to allow to fire OnClick event
6857 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
6859 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
6861 2005-05-06 Peter Bartok <pbartok@novell.com>
6863 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
6864 * Screen.cs: Implemented
6865 * HelpNavigator.cs: Added
6866 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
6868 * HelpProvider.cs: Implemented all we can do until we have a CHM
6869 help library (which means that "What's This" does work now)
6871 2005-05-06 Jackson Harper <jackson@ximian.com>
6873 * XplatUIX11.cs: Fix waking up the main loop.
6875 2005-05-05 Peter Bartok <pbartok@novell.com>
6877 * XplatUI.cs: Updated revision
6878 * Form.cs: Removed enless loop
6879 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
6880 * Label.cs (OnPaint): Added call to base.OnPaint()
6881 * ToolTip.cs: Made ToolTipWindow reusable for other controls
6882 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
6883 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
6885 * ButtonBase.cs: Moved base.OnPaint() call to end of method
6886 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
6887 to ToolTip.ToolTipWindow for drawing and size methods; this allows
6888 reuse of ToolTipWindow by other controls
6889 * SizeGrip.cs: Moved base.OnPaint() call to end of method
6890 * XplatUIX11.cs: Now clipping drawing area (experimental)
6891 * PictureBox.cs: Moved base.OnPaint() call to end of method
6892 * Theme.cs: Fixed ToolTip abstracts to match new format
6893 * ErrorProvider.cs: Implemented
6895 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
6897 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
6901 - Implements LinkBehavior
6904 2005-05-03 Jackson Harper <jackson@ximian.com>
6906 * ListView.cs: Calculate the scrollbar positioning on resize and
6907 paint, so they get put in the correct place.
6909 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
6911 * ColorDialogs.cs: The small color panels are now handled by
6912 SmallColorControl. This fixes drawing of the focus rectangle
6913 and adds a 3D border.
6915 2005-05-03 Peter Bartok <pbartok@novell.com>
6917 * Control.cs: Modified version of Jonathan Chamber's fix for
6920 2005-05-03 Jackson Harper <jackson@ximian.com>
6922 * ListView.cs: Remove redraw variable. Control now handles whether
6923 or not a redraw needs to be done, and will only raise the paint
6924 event if redrawing is needed.
6926 2005-05-03 Jackson Harper <jackson@ximian.com>
6928 * Splitter.cs: No decorations for the splitter form. Cache the
6931 2005-05-03 Jackson Harper <jackson@ximian.com>
6933 * TreeView.cs: Use dashed lines to connect nodes. Use the
6934 ControlPaint method for drawing the focus rect instead of doing
6937 2005-05-02 Peter Bartok <pbartok@novell.com>
6939 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
6941 2005-04-29 Jackson Harper <jackson@ximian.com>
6943 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
6944 entire image buffer. Just clear the clipping rectangle.
6946 2005-04-29 Jackson Harper <jackson@ximian.com>
6948 * ThemeWin32Classic.cs: Don't draw list view items that are
6949 outside the clipping rectangle.
6951 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
6953 * ListBox.cs: added horizontal item scroll
6955 2005-04-29 Jackson Harper <jackson@ximian.com>
6957 * ThemeWin32Classic.cs: Remove some old debug code that was
6958 causing flicker with the new double buffering code.
6960 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
6962 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
6963 behave like combobox and comboboxlist (still not sure if this is
6966 2005-04-28 Jackson Harper <jackson@ximian.com>
6968 * ThemeWin32Classic.cs: Don't fill the middle of progress
6969 bars. This fills areas outside of the clip bounds that don't need
6972 2005-04-28 Jackson Harper <jackson@ximian.com>
6974 * Control.cs: Don't expose functionality to touch the image buffers.
6976 * ListView.cs: We do not need to (and no longer can) manipulate
6977 the image buffers directly. All of this is handled by Control.
6979 2005-04-28 Peter Bartok <pbartok@novell.com>
6981 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6982 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
6983 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
6985 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6988 - Adjust control's height for non-simple comboboxes (bug fix)
6990 * MenuAPI.cs: remove unused var
6991 * ScrollBar.cs: remove unsed var
6993 * ListBox.cs: unselect items when clearing
6995 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
6997 * ListControl.cs: honors OnPositionChanged and default Selected Item
6998 * ListBox.cs: unselect items when clearing
7000 2005-04-27 Jackson Harper <jackson@ximian.com>
7002 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7003 if a "correct" keyboard is not found. This will make us not crash,
7004 but might give some users bad keyboard layouts...seems to be the
7005 same thing rewind does.
7007 2005-04-27 Jackson Harper <jackson@ximian.com>
7009 * BindingManagerBase.cs: Attach the current/position changed
7010 handlers to their respective events.
7012 2005-04-27 Jackson Harper <jackson@ximian.com>
7014 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7016 * ThemeWin32Classic.cs: Don't fill the background for picture
7017 boxes. This could overright user drawing.
7018 * ComboBox.cs: Just fill the clipping rect not the entire client
7019 rect when drawing the background. This prevents pieces of the
7020 image buffer from getting overwritten and is theoretically faster.
7022 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7024 * ComboBox.cs: Databinding support fixes, fire missing events
7025 * ListControl.cs: implement missing methods and properties, fixes
7026 * ThemeWin32Classic.cs: Databiding support on Drawing
7027 * CheckedListBox.cs: Databinding support fixes, fire missing events
7028 * ListBox.cs: Databinding support fixes, fire missing events
7030 2005-04-25 Peter Bartok <pbartok@novell.com>
7032 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7034 2005-04-25 Jackson Harper <jackson@ximian.com>
7036 * TreeView.cs: Use the horizontal scrollbars height not width when
7037 determining how much of the client area is available.
7039 2005-04-25 Jackson Harper <jackson@ximian.com>
7041 * Control.cs: Double buffering is handled differently now. As per
7042 the spec, the extra buffer is created in the WM_PAINT message and
7043 passed down to the control's drawing code.
7051 * PropertyGridView.cs:
7063 * DateTimePicker.cs:
7065 * TreeView.cs: Update to new double buffering system.
7066 * MonthCalendar.cs: Uncomment block, as Capture is now
7067 working. Update to new double buffering
7068 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7069 * PaintEventArgs.cs: New internal method allows us to set the
7070 graphics object. This is used for double buffering.
7071 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7072 rectangle. The internal paint_area var has been removed from
7073 StatusBar. The clipping rect should be used instead.
7074 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7075 * TabPage.cs: The RefreshTabs method was removed, so just call the
7076 tab controls Refresh method now.
7077 * TabControl.cs: Update to new double buffering. Make sure the
7078 handle is created before sizing the tab pages, otherwise we will
7079 get stuck in a loop.
7081 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7083 * LinkLabel.cs: Fix typo, bug #74719; patch
7084 from Borja Sanchez Zamorano
7086 2005-04-22 Jackson Harper <jackson@ximian.com>
7088 * TreeNode.cs: Implement Handle stuff.
7089 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7091 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7093 * DataGridTextBoxColumn.cs: call base constructors, fixes
7094 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7095 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7096 * DataGridTableStyle.cs: implements create default column styles
7097 * DataGridBoolColumn.cs: which types can handle
7098 * DataGrid.cs: missing methods, fixes, new functionality
7099 * DataGridColumnStyle.cs: fixes
7101 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7102 * FolderBrowserDialog.cs:
7103 - Use a thread to fill the TreeView
7104 - Adjusted some sizes
7106 2005-04-19 Peter Bartok <pbartok@novell.com>
7108 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7109 property. Fixes #74360.
7111 2005-04-19 Jackson Harper <jackson@ximian.com>
7113 * XEventQueue.cs: Lock when getting the lockqueue size.
7114 * PictureBox.cs: Call base OnPaint
7116 2005-04-19 Peter Bartok <pbartok@novell.com>
7118 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7119 messages were no longer being processed (this broke BeginInvoke)
7122 2005-04-18 Jackson Harper <jackson@ximian.com>
7124 * TreeView.cs: buglet that caused node images to get drawn
7125 regardless of whether or not they were in the clipping rectangle.
7127 2005-04-18 Jackson Harper <jackson@ximian.com>
7129 * CurrencyManager.cs: There are four rules for GetItemProperties:
7130 - If the type is an array use the element type of the array
7131 - If the type is a typed list, use the type
7132 - If the list contains an Item property that is not an object, use
7134 - use the first element of the list if there are any elements in
7137 2005-04-17 Jackson Harper <jackson@ximian.oom>
7139 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7140 click. This handles offsets for scrolling properly and reduces
7141 memory. Also fixed GetNode to not offset now that TopNode works
7143 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7145 2005-04-17 Jackson Harper <jackson@ximian.com>
7147 * CursorConverter.cs: Initial implementation.
7149 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7151 * ListControl.cs: work towards complex data binding support on ListControl
7152 * CurrencyManager.cs: work towards complex data binding support on ListControl
7153 * ListBox.cs: work towards complex data binding support on ListControl
7156 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7158 * GridTableStylesCollection.cs: fixes name and constructor
7159 * DataGridTableStyle.cs: fixes
7160 * DataGridBoolColumn.cs: fixes names and constructors
7161 * DataGrid.cs: define methods and properties. Some init implementations
7162 * DataGridCell.cs: define methods and properties. Some init implementations
7163 * GridTablesFactory.cs: Define methods and properties
7165 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7167 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7168 graphics port changes. We still want the coordinates in global screen
7171 2005-04-14 Jackson Harper <jackson@ximian.com>
7173 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7174 check plus minus or checkbox clicks unless those features are enabled.
7176 2005-04-14 Jackson Harper <jackson@ximian.com>
7178 * TreeView.cs: Add methods for setting the top and bottom visible
7179 nodes. TreeNode::EnsureVisible uses these methods.
7180 * TreeNode.cs: Implement EnsureVisible
7182 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
7184 * Form.cs: Pospone menu assignation if the window has not been created yet
7185 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
7188 2005-04-12 Jackson Harper <jackson@ximian.com>
7190 * TreeView.cs: Set the TopNode properly when scrolling
7191 occurs. This has the added benifit of reducing the amount of
7192 walking that needs to be done when drawing. Also removed an old
7194 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
7196 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
7198 * Timer.cs: fixes interval setting when the timer is already enabled
7200 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
7202 * FolderBrowserDialog.cs: First approach
7204 2005-04-09 Peter Bartok <pbartok@novell.com>
7206 * FolderBrowserDialog: Added
7208 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
7210 * LinkLabel.cs: move drawing code into the theme
7211 * ThemeWin32Classic.cs: drawing code and painting background bugfix
7212 * Theme.cs: define DrawLinkLabel method
7214 2005-04-05 Jackson Harper <jackson@ximian.com>
7216 * BindingContext.cs: Use weak references so these bad actors don't
7217 stay alive longer then they need to.
7219 2005-04-05 Jackson Harper <jackson@ximian.com>
7221 * ListControl.cs: Basic implementation of complex databinding.
7223 * ListBox.cs: Add calls to ListControl databinding methods.
7225 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
7228 - Don't change PopupButtonState to Normal when the
7229 PopupButton gets pressed several times.
7230 - Renamed ButtonPanel to PopupButtonPanel
7232 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
7234 * ColorDialog.cs: Use cached objects instead of creating them
7235 * LinkLabel.cs: Use cached objects instead of creating them
7236 * Splitter.cs: Use cached objects instead of creating them
7237 * FontDialog.cs: Use cached objects instead of creating them
7238 * PropertyGridView.cs: Use cached objects instead of creating them
7239 * MessageBox.cs: Use cached objects instead of creating them
7240 * FileDialog.cs: Use cached objects instead of creating them
7241 * ThemeWin32Classic.cs: Use cached objects instead of creating them
7242 * TreeView.cs: Use cached objects instead of creating them
7244 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
7246 * Control.cs: use Equals to compare the font since no == op
7247 * ScrollBar.cs: use Equals to compare the font since no == op
7249 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
7251 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
7253 2005-04-01 Jackson Harper <jackson@ximian.com>
7255 * Binding.cs: Implement IsBinding.
7256 * BindingManagerBase.cs:
7257 * PropertyManager.cs:
7258 * CurrencyManager.cs: Add IsSuspended property.
7260 2005-04-01 Jackson Harper <jackson@ximian.com>
7262 * Binding.cs: Had some IsAssignableFrom calls backwards.
7264 2005-04-01 Jackson Harper <jackson@ximian.com>
7266 * Binding.cs: Handle null data members when pulling data.
7267 * PropertyManager.cs: Handle the data member being a property that
7270 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7272 * DataGridTextBoxColumn.cs: fixes signature
7273 * DataGrid.cs: calls right constructor
7275 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
7277 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
7278 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
7279 * GridTableStylesCollection.cs: implements GridTableStylesCollection
7280 * DataGridTableStyle.cs: implements DataGridTableStyle
7281 * DataGridBoolColumn.cs: implements DataGridBoolColumn
7282 * DataGridTextBox.cs: implements DataGridTextBox
7283 * DataGridColumnStyle.cs: implements DataGridColumnStyle
7285 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
7287 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
7289 2005-03-29 Peter Bartok <pbartok@novell.com>
7292 - Properly implemented CompanyName property
7293 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
7294 returns a path that includes CompanyName, ProductName and
7295 Version (fixes bug #70330)
7297 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
7299 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
7302 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7304 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
7306 - Added ReadOnly CheckBox
7307 - Further refactoring: moved some code from Open-/SaveFileDialog
7310 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
7312 * OpenFileDialog.cs: Fixed CheckFileExists
7314 Moved FileView and DirComboBox outside FileDialog class.
7315 They can now be used outside FileDialog
7317 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7319 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
7320 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
7322 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
7324 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7325 - Added missing CreatePrompt property in SaveDialog
7326 - Overall SaveDialog handling should be better now
7327 - Added non standard ShowHiddenFiles property
7328 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
7329 - Added InitialDirectory and RestoreDirectory support
7331 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
7333 * FileDialog.cs: Made dirComboBox usable
7335 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
7337 * FileDialog.cs: Added Filter support (case sensitiv)
7339 2005-03-24 Jackson Harper <jackson@ximian.com>
7341 * TabControl.cs: Need a couple more pixels for the lines.
7343 2005-03-23 Jackson Harper <jackson@ximian.com>
7345 * TabControl.cs: Give the tab page focus when it is selected.
7347 2005-03-23 Jackson Harper <jackson@ximian.com>
7349 * TabControl.cs: Account for the drawing of tabs borders when
7350 invalidating. If the slider was clicked dont do click detection on
7353 2005-03-23 Jackson Harper <jackson@ximian.com>
7355 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
7357 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
7359 * CategoryGridEntry.cs: Added
7360 * GridItem.cs: Added helper properties
7361 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
7362 * GridEntry.cs: Updated code for collection
7363 * PropertyGrid.cs: Cleaned up some formatting
7364 * PropertyGridView.cs: Added drop down functionality for enums.
7365 * GridItemCollection.cs: Added enumerator logic
7366 * PropertyGridEntry.cs: Added
7368 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7371 - Removed unnecessary commented code
7372 - Fixed handling for entering the filename manually in the combobox
7374 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
7376 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
7378 2005-03-18 Peter Bartok <pbartok@novell.com>
7380 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
7381 them being touching the border
7383 2005-03-18 Peter Bartok <pbartok@novell.com>
7385 * TextControl.cs: Quick hack to center text better
7387 2005-03-18 Peter Bartok <pbartok@novell.com>
7390 - Don't throw NotImplemented exceptions, just print a notice once
7391 instead (requested by Miguel). This makes running existing SWF
7394 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
7395 - Added context menu trigger on right click
7396 * Panel.cs: Trigger invalidate on resize
7398 - Removed old double-buffer drawing
7399 - Added ResizeRedraw style to force proper update of statusbar
7401 - Removed debug output
7402 * ThemeWin32Classic.cs:
7403 - Fixed drawing of status bar, now draws Text property if there
7404 are no defined panels
7406 2005-03-18 Jackson Harper <jackson@ximian.com>
7408 * ImageList.cs: When the image stream is set pull all the images
7410 * ImageListStreamer.cs: Implement reading image list streams.
7412 2005-03-18 Peter Bartok <pbartok@novell.com>
7414 * ThemeWin32Classic.cs (DrawPictureBox):
7415 - Fixed calculations for centered drawing
7416 - Fixed drawing for normal mode, not scaling the image on normal
7418 2005-03-18 Peter Bartok <pbartok@novell.com>
7420 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
7423 - Made Open/Save button the accept button for FileDialog
7424 - Tied the cancel button to the IButtonControl cancel button
7425 - Save/Open now properly builds the pathname
7426 - Now handles user-entered text
7427 - Preventing crash on right-click if no item is selected
7428 - Fixed Text property, now uses contents of textbox
7429 - Fixed SelectedText property, now just returns the text part that
7430 is selected in the text box
7432 2005-03-18 Jackson Harper <jackson@ximian.com>
7434 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
7435 rect, make sure to de-adjust the interior rect after drawing the
7438 2005-03-18 Peter Bartok <pbartok@novell.com>
7440 * MenuAPI.cs: Remove menu *before* executing selected action to
7441 prevent the menu from 'hanging around'
7443 2005-03-17 Geoff Norton <gnorton@customerdna.com>
7445 * XplatUIOSX.cs: Implemented WorkingArea property
7447 2005-03-17 Peter Bartok <pbartok@novell.com>
7449 * XplatUIX11.cs: Fixed menu coord calculations
7450 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
7451 for calculating offsets
7453 2005-03-17 Peter Bartok <pbartok@novell.com>
7455 * Hwnd.cs: Do not consider menu presence for default client
7456 rectangle location/size
7457 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
7458 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
7459 translation functions
7460 * FileDialog.cs: Fixed (what I presume is a) typo
7462 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
7464 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
7465 X access (avoids X-Async errors)
7467 2005-03-16 Jackson Harper <jackson@ximian.com>
7469 * TabControl.cs: Raise the SelectedIndexChanged event.
7471 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
7473 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
7474 - Removed vertical ToolBar and replaced it with a custom panel
7475 (desktop and home button already work)
7476 - Added Help button (some controls get resized or relocated then)
7477 - Draw correct text depending on Open or Save.
7478 - Fixed some typos...
7480 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
7483 - Only change Maximum and Minimum when need it (bug fix)
7485 2005-03-15 Peter Bartok <pbartok@novell.com>
7487 * Form.cs: Use Handle for icon, to trigger creation if
7488 the window does not yet exist
7490 - CanSelect: Slight performance improvement
7491 - Focus(): Preventing possible recursion
7492 - Invalidate(): Removed ControlStyle based clear flag setting
7493 - WM_PAINT: fixed logic for calling OnPaintBackground
7494 - WM_ERASEBKGND: Fixed logic, added call to new driver method
7495 EraseWindowBackground if the control doesn't paint background
7497 - Moved EraseWindowBackground() method to internal methods
7498 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
7499 is sent via SendMessage on BeginPaint call on Win32
7501 - Added EraseWindowBackground() method
7502 - No longer sends WM_ERASEBKGND on .Expose, but on call to
7503 PaintEventStart, which more closely matches Win32 behaviour
7504 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
7505 - Fixed SetFocus() to properly deal with client and whole windows
7506 * Hwnd.cs: Added ErasePending property
7507 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
7508 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
7510 2005-03-12 Geoff Norton <gnorton@customerdna.com>
7513 - Fix hard loop when timers exist.
7514 - Fix bugs with middle and right click for 3 button mice.
7516 2005-03-11 Peter Bartok <pbartok@novell.com>
7519 - get_WorkingArea: Need to call X directly, GetWindowPos only
7520 returns cached data now
7521 - Added sanity check to GetWindowPos hwnd usage
7523 2005-03-11 Jackson Harper <jackson@ximian.com>
7525 * BindingManagerBase.cs: This method isn't used anymore as
7526 PullData now updates the data in the control.
7528 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
7530 * Form.cs: fixes menu drawing on X11
7531 * MenuAPI.cs: fixes menu drawing on X11
7533 2005-03-11 Peter Bartok <pbartok@novell.com>
7535 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
7536 from Jonathan Gilbert; should fix bug #73606
7537 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
7538 in Screen coordinates. Thanks, Jordi.
7539 * Form.cs: Added missing attribute
7541 2005-03-11 Peter Bartok <pbartok@novell.com>
7544 - Rudimentary Mdi support
7545 - Removed outdated FormParent code
7546 - Implemented lots of missing properties and methods, still missing
7547 transparency support
7548 - Added missing attributes
7549 - Implemented support for MaximumBounds
7550 - Added firing of various events
7551 * XplatUI.cs: Added SetIcon() method
7552 * XplatUIDriver.cs: Added SetIcon() abstract
7553 * XplatUIOSX.cs: Stubbed out SetIcon() method
7555 - Implemented SetIcon() support
7556 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
7557 - Switched to unix line endings
7559 - Made POINT internal so for can access it as part of MINMAX
7560 - Implemented SetIcon() support
7561 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
7562 native Mdi support again, might have to go managed)
7563 * Control.cs: Now fires the StyleChanged event
7564 * MdiClient.cs: Added; still mostly empty
7566 2005-03-10 Peter Bartok <pbartok@novell.com>
7568 * SaveFileDialog.cs: Added emtpy file
7570 2005-03-08 Peter Bartok <pbartok@novell.com>
7572 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
7573 in turn triggers OnCreateContro) when creating a handle for the
7575 * TextControl.cs: Fixed endless loop in certain cases when
7576 replacing the current selection
7578 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
7581 - Honors NewValue changes in Scroll events allowing apps to change it
7582 - Adds First and Last Scroll events
7583 - Fixes Thumb events
7585 2005-03-07 Peter Bartok <pbartok@novell.com>
7587 * Hwnd.cs: Added DefaultClientRectangle property
7588 * XplatUI.cs: Now using the X11 driver Where() method, which provides
7589 more detailed debug information
7591 - Fixed size-change feedback loop, where we would pull an old size
7592 off the queue and mistakenly change our window's size to an
7594 - Now compressing ConfigureNotify events, to reduce looping and
7596 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
7599 2005-03-07 Jackson Harper <jackson@ximian.com>
7601 * Binding.cs: Push data pushes from data -> property. Check if the
7602 property is readonly when attempting to set it.
7604 2005-03-07 Jackson Harper <jackson@ximian.com>
7606 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
7607 instead of IsSubclassOf. Pulling data now sets the value on the
7609 * PropertyManager.cs:
7610 * CurrencyManager.cs: Just need to pull data when updating now,
7611 because PullData will set the value on the control.
7613 2005-03-04 Jackson Harper <jackson@ximian.com>
7615 * Binding.cs: Implement data type parsing and converting on pulled
7616 data. TODO: Are there more ways the data can be converted?
7618 2005-03-04 Jackson Harper <jackson@ximian.com>
7620 * Binding.cs: Support <Property>IsNull checks. Also bind to the
7621 controls Validating method so we can repull the data when the
7622 control loses focus.
7624 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
7627 - Fixes null string format
7630 - Adds enum type checks
7631 - Fixes redrawing and recalc need after changing some properties
7632 - Fixes on focus_item set after the event
7633 - Fixes adding columns after the control has been created
7635 * ThemeWin32Classic.cs:
7636 - Fixes CheckBox focus rectangle
7637 - Fixes ColumnHeader drawing
7640 2005-03-03 Jackson Harper <jackson@ximian.com>
7642 * Binding.cs: Bind to <Property>Changed events so we can detect
7643 when properties are changed and update the data.
7645 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
7648 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
7649 - Fixes ImageList constructor with ImageList container
7650 - Fixes image scaling (wrong parameters at DrawImage)
7652 2005-02-02 Jackson Harper <jackson@ximian.com>
7654 * Binding.cs: Make property searches case-insensitive. Eliminate
7655 some duplicated code.
7657 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
7660 - Handle focus event
7661 - Fix scrollbar events
7662 - Discard highlighted item if remove it
7663 - Fixes SelectedItem with strings
7665 2005-03-01 Peter Bartok <pbartok@novell.com>
7668 - Fixed Visible property, now follows (once again) parent chain
7669 to return false if any control in the chain is visible=false
7670 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
7671 - Fixed several places where is_visible instead of Visible was used
7672 - Implemented FIXME related to focus selection when setting focused
7673 control to be invisible
7675 * XplatUIWin32.cs: Now using proper method to find out if window is
7676 visible. Thanks to Jordi for pointing it out
7678 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
7680 * ComboBox.cs: show/hide scrollbar instead of creating it
7682 2005-02-27 Jackson Harper <jackson@ximian.com>
7684 * CurrencyManager.cs: Add PositionChanged stuff.
7686 2005-02-27 Peter Bartok <pbartok@novell.com>
7688 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
7689 * XplatUIOSX.cs: Added GetMenuOrigin() stub
7690 * XplatUIWin32.cs: Implemented GetMenuOrigin()
7692 - Implemented GetMenuDC()
7693 - Implemented GetMenuOrigin()
7694 - Implemented ReleaseMenuDC()
7695 - Implemented generation of WM_NCPAINT message
7696 - Implemented generation and handling of WM_NCCALCSIZE message
7697 * Form.cs: Added debug helper message for Jordi's menu work
7699 - Modified ClientRect property; added setter, fixed getter to handle
7700 setting of ClientRect
7701 - Added MenuOrigin property
7703 2005-02-26 Peter Bartok <pbartok@novell.com>
7706 - Destroys the caret if a window that's being destroyed contains it
7707 - Ignores expose events coming from the X11 queue for windows that
7708 already are destroyed
7709 - Now uses the proper variable for handling DestroyNotify, before we
7710 marked the wrong window as destroyed
7711 - Improved/added some debug output
7713 2005-02-26 Peter Bartok <pbartok@novell.com>
7715 * X11Keyboard.cs: Fixes to work on 64bit systems
7717 2005-02-26 Peter Bartok <pbartok@novell.com>
7720 - Now calling OnHandleDestroyed from DestroyHandle()
7721 instead of Dispose()
7722 - Removed bogus call to controls.Remove() from DestroyHandle()
7724 2005-02-26 Peter Bartok <pbartok@novell.com>
7726 * Control.cs: Properly destroy child windows when our handle is
7729 2005-02-25 Peter Bartok <pbartok@novell.com>
7732 - Added 'DriverDebug' define to allow tracing XplatUI API calls
7733 - Alphabetized Static Methods and Subclasses
7736 - Added XException class to allow custom handling of X11 exceptions
7737 - Created custom X11 error handler, tied into XException class
7738 - Added support for MONO_XEXCEPTIONS env var to allow the user
7739 to either throw an exception on X errors or continue running
7740 after displaying the error
7741 - Added handling of DestroyNotify message
7742 - Added handler for CreateNotify message (still disabled)
7743 - Improved (tried to at least) Where method to provide file and lineno
7745 - Added XErrorHandler delegate
7746 - Added XRequest enumeration (to suppor translation of errors)
7748 2005-02-25 Jackson Harper <jackson@ximian.com>
7750 * PropertyManager.cs: Implement editing features
7751 * CurrencyManager.cs:
7752 * Binding.cs: First attempt at UpdateIsBinding
7753 * BindingManagerBase.cs: Call UpdateIsBinding before
7754 pushing/pulling data.
7756 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
7758 * MenuAPI.cs: Respect disabled items
7759 * ThemeWin32Classic.cs
7760 - Caches ImageAttributes creation for DrawImageDisabled
7761 - Fixes vertical menu line drawing
7762 - Draws disabled arrows in disable menu items
7764 2005-02-24 Peter Bartok <pbartok@novell.com>
7767 - Added UserData property to allow associating arbitrary objects
7769 - Fixed leak; now removing Hwnd references from static windows array
7771 - Fixed Graphics leak in PaintEventEnd
7772 - Removed usage of HandleData, switched over to Hwnd class
7773 * HandleData.cs: Removed, obsoleted by Hwnd.cs
7775 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7777 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
7778 * ScrollBar.cs: Fixes bug
7779 * TrackBar.cs: removes death code, clipping, mimize refreshes,
7780 keyboard navigation enhancements
7782 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
7784 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
7785 * GroupBox.cs: Add control styles
7786 * Label.cs: Add control styles
7787 * UpDownBase.cs: Add control styles
7788 * ListBox.cs: Add control styles
7789 * XplatUIWin32.cs: Fixes wrong parameter order
7792 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
7794 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
7796 2005-02-23 Jackson Harper <jackson@ximian.com>
7798 * PropertyManager.cs: Implement property binding. This doesn't
7799 seem to work yet though as (I think) there are some bugs in
7800 System.ComponentModel.PropertyDescriptor.
7801 * BindingContext.cs: Use new PropertyManager constructor.
7803 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
7805 * ProgressBar.cs: use clip region in ProgressBar
7806 * ThemeWin32Classic.cs: use clip region in ProgressBar
7808 2004-02-22 Jackson Harper <jackson@ximian.com>
7810 * BindingsCollection.cs: Remove some debug code.
7812 2005-02-22 Jackson Harper <jackson@ximian.com>
7814 * BindingContext.cs:
7815 * ControlBindingsCollection.cs:
7816 * CurrencyManager.cs:
7818 * BindingManagerBase.cs: Initial implementation
7819 * BindingsCollection.cs: Add an internal contains method that the
7820 BindingManagerBase uses to ensure bindings aren't added twice to
7822 * PropertyManager.cs: Stubbed out.
7824 * ContainerControl.cs: Hook up databinding
7826 2005-02-22 Geoff Norton <gnorton@customerdna.com>
7829 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
7830 Fixed Invalidate/Update chain.
7831 Fixed tons of other minor bugs (this is almost a complete rewrite).
7833 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
7835 * ComboBox.cs: do subcontrol creation when the control is created
7837 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7839 * Label.cs: fixes image drawing (image and imagelist)
7840 * ThemeWin32Classic.cs: cache brushes
7842 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7844 * Form.cs: Move menu drawing code to Theme class
7845 * ComboBox.cs: Move ComboBox drawing code to Theme class
7846 * MenuItem.cs: Move menu drawing code to Theme class
7847 * MenuAPI.cs: Move menu drawing code to Theme class
7848 * ThemeWin32Classic.cs: New methods
7849 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
7850 * ListBox.cs: Move Listbox drawing code to Theme class
7851 * Theme.cs: New methods
7853 2005-02-20 Peter Bartok <pbartok@novell.com>
7856 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
7857 only process mnemonics on those)
7858 - Fixed event sequence for key handling; first calling
7859 ProcessKeyEventArgs now
7861 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
7862 for processing non-character keys
7863 - Fixed WM_CHAR to generate proper event sequence before processing
7864 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
7867 2005-02-19 Peter Bartok <pbartok@novell.com>
7869 * UserControl.cs: Added TextChanged event; added attributes
7870 * SizeGrip.cs: Implemented resizing and optional display of grip
7871 * Form.cs: Fixed attribute
7872 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
7873 Changed meaning of ScrollWindow bool argument; instead of the
7874 clear attribute (which will be true usually anyway), it gives the
7875 option of moving child controls as well.
7877 - Changed to match new ScrollWindow argument
7878 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
7879 now handles the implicit parent window a WM puts around us
7880 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
7882 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
7883 * TreeView.cs: Adjusted to new ScrollWindow arguments
7885 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
7887 * Form.cs: Menu integration with non-client area
7888 * MenuItem.cs: Menu integration with non-client area
7889 * MenuAPI.cs: Menu integration with non-client area
7891 2005-02-18 Peter Bartok <pbartok@novell.com>
7893 * MethodInvoker.cs: Added
7894 * MdiLayout.cs: Added
7895 * SendKeys.cs: Started implementation
7896 * ErrorIconAlignment.cs: Added
7898 2005-02-18 Peter Bartok <pbartok@novell.com>
7900 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
7901 * Form.cs: Added handling for Menu-related Non-client messages
7903 2005-02-17 Peter Bartok <pbartok@novell.com>
7905 * UpDownBase.cs: Fixed typo, compilation errors
7906 * DomainUpDown.cs: Fixed attribute value
7908 2005-02-16 Miguel de Icaza <miguel@novell.com>
7910 * UpDownBase.cs: Attach entry events.
7912 Add ForeColor property, Focused, InterceptArrowKeys (interception
7915 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
7918 - Redraw non client are on Setmenu
7919 - Calc proper menu starting point
7921 2005-02-17 Peter Bartok <pbartok@novell.com>
7923 * Application.cs: Fixed message_filter check
7925 2005-02-17 Peter Bartok <pbartok@novell.com>
7927 * Application.cs: Now calls registered message filters
7928 * DockStyle.cs: Fixed attribute
7929 * Form.cs: Fixed attribute
7930 * Menu.cs: Fixed attribute
7931 * ToolTip.cs: Fixed attribute
7932 * TreeNode.cs: Added missing attributes and arranged in regions
7933 * PropertyGrid.cs: Fixed signatures
7934 * TreeNodeCollection.cs: Added attributes
7935 * Splitter.cs: Added missing attributes; arranged into regions
7936 * TabPage.cs: Added missing attributes; arranged into regions
7937 * TextBoxBase.cs: Added missing attributes
7938 * TextBox.cs: Added missing attributes
7939 * ArrangeDirection.cs: Added missing attributes
7940 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
7941 * ToolBarButton.cs: Fixed attributes
7942 * AnchorStyles.cs: Fixed attribute
7943 * TrackBar.cs: Fixed attributes
7944 * TabControl.cs: Added missing attributes and arranged into regions
7945 * ToolBar.cs: Fixed attribute
7946 * StatusBar.cs: Fixed signature, organized into regions and added
7948 * StatusBarPanel.cs: Fixed attributes
7949 * ContentsResizedEventArgs.cs: Implemented
7950 * ContentsResizedEventHandler.cs: Implemented
7951 * DateBoldEventArgs.cs: Implemented
7952 * DateBoldEventHandler.cs: Implemented
7953 * UpDownEventArgs.cs: Implemented
7954 * UpDownEventHandler.cs: Implemented
7956 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
7958 * Form.cs: first Menu NC refactoring
7959 * MenuAPI.cs: first Menu NC refactoring
7961 2005-02-16 Peter Bartok <pbartok@novell.com>
7963 * ImeMode.cs: Added missing attributes
7964 * Menu.cs: Fixed attribute
7965 * GroupBox.cs: Fixed attribute
7966 * Label.cs: Fixed attribute
7967 * ColorDialog.cs (RunDialog): Removed TODO attribute
7968 * ComboBox.cs: Fixed attributes
7969 * ListControl.cs: Added missing attributes
7970 * PropertyGrid.cs: Fixed attributes
7971 * Control.cs: Fixed attributes
7972 * ListViewItem.cs: Added TypeConverter attribute
7973 * NotifyIcon.cs: Fixed attributes
7974 * ListView.cs: Fixed attributes
7975 * ButtonBase.cs: Fixed attribute
7976 * ImageList.cs: Added missing attributes
7977 * ContainerControl.cs: Fixed signature
7978 * CheckedListBox.cs: Fixed attribute; added missing attributes
7979 * Panel.cs: Fixed attributes
7980 * PropertyTabChangedEventArgs.cs: Added missing attribute
7981 * PropertyValueChangedEventArgs.cs: Added missing attribute
7982 * Binding.cs: Fixed attribute
7983 * ListViewItemConverter: Implemented ListViewSubItemConverter class
7984 * ListBox.cs: Fixed attribute; added missing attributes;
7985 * ScrollableControl.cs: Added missing attributes
7986 * PictureBox.cs: Added missing attributes; implemented missing property
7987 * DateTimePicker.cs: Added missing attributes
7988 * Theme.cs (ToolWindowCaptionHeight): Fixed type
7989 * MonthCalendar.cs: Fixed attributes
7990 * StatusBarPanel.cs: Added missing attributes
7991 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
7993 2005-02-16 Peter Bartok <pbartok@novell.com>
7995 * TextBoxBase.cs: The previous method to enforce height yet remember
7996 the requested high was less than ideal, this is an attempt to do
7998 * Control.cs: Added comment about possible problem
7999 * Copyright: Updated format
8000 * GridItemType.cs: Fixed swapped values
8002 2005-02-15 Jackson Harper <jackson@ximian.com>
8004 * BaseCollection.cs: Use property so we never access an
8005 uninitialized list. Also initialize the list in the property.
8007 2005-02-15 Peter Bartok <pbartok@novell.com>
8009 * GroupBox.cs (ProcessMnemonic): Implemented
8010 * Label.cs (ProcessMnemonic): Implemented
8011 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8014 2005-02-15 Peter Bartok <pbartok@novell.com>
8016 * RadioButton.cs (ProcessMnemonic): Implemented
8017 * CheckBox.cs (ProcessMnemonic): Implemented
8019 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8021 - Added internal method to allow calling ProcessMnemonic from other
8023 * ContainerControl.cs:
8024 - Started support for handling validation chain handling
8025 - Implemented ProcessMnemonic support
8026 - Added Select() call to Active, to make sure the active control
8028 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8030 * ThemeWin32Classic.cs:
8031 - DrawCheckBox(): Fixed stringformat to show hotkeys
8032 - DrawRadioButton(): Fixed stringformat to show hotkeys
8033 * CommonDialog.cs: Removed WndProc override, not needed
8035 2005-02-14 Peter Bartok <pbartok@novell.com>
8037 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8038 missed those in the rewrite
8040 2005-02-14 Miguel de Icaza <miguel@novell.com>
8042 * NumericUpDown.cs (Increment, ToString): Add.
8043 (DecimalPlaces): implement.
8047 * UpDownBase.cs: Add the designer attributes.
8049 2005-02-13 Peter Bartok <pbartok@novell.com>
8051 * Panel.cs: Removed border_style, now in Control
8052 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8053 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8055 2005-02-13 Peter Bartok <pbartok@novell.com>
8057 * MouseButtons.cs: Added missing attributes
8058 * XplatUIStructs.cs: Added enumeration for title styles
8059 * LeftRightAlignment.cs: Added missing attributes
8060 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8061 it compatible with Graphics.FromHwnd()
8062 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8063 * Keys.cs: Added missing attributes
8064 * SelectionRange.cs: Added missing attributes
8065 * SelectionRangeConverter.cs: Added
8067 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8068 ReleaseMenuDC methods
8069 - Renamed ReleaseWindow to UngrabWindow
8070 - Added proper startup notice to allow version identification
8072 - Added missing attributes
8073 - Removed FormParent concept
8074 * Label.cs: Removed border_style field, now in Control
8075 * RadioButton.cs: Now properly selects RadioButton when focus is
8077 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8079 - Added missing attributes
8080 - Added borderstyle handling
8081 - Removed FormParent concept support
8082 - Fixed calls to XplatUI to match changed APIs
8083 - Fixed bug that would case us to use disposed Graphics objects
8084 - Removed unneeded internal methods
8085 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8086 - SelectNextControl(): Fixed to properly check common parents
8087 * TextBoxBase.cs: Removed border_style field (now in Control)
8089 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8090 fixed calculations for form size
8091 - Added support for localized strings and icons
8092 - Improved form size calculations, added border
8093 * ListView.cs: Removed border_style field (now in Control)
8094 * X11Structs.cs: Moved several structs from X11 driver here
8095 * X11Keyboard.cs: Changed debug message
8096 * Application.cs: Removed FormParent concept support
8098 - Resetting end_modal flag
8099 - Removed FormParent concept support
8100 * NativeWindow.cs: Removed FormParent concept support
8101 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8102 Client area and Non-Client whole window to allow support for WM_NC
8104 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8105 prevent using it until it supports Hwnd as per Geoff Norton's request
8106 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8107 * PictureBox.cs: Removed border_style field, now in Control
8108 * XplatUIWin32.cs: Added new driver methods
8110 2005-02-12 Peter Bartok <pbartok@novell.com>
8112 * OpacityConverter.cs: Implemented
8113 * Hwnd.cs: Internal class to support drivers that need to emulate
8114 client area/non-client area window behaviour
8116 2005-02-11 Peter Bartok <pbartok@novell.com>
8118 * KeysConverter.cs: Implemented
8120 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8122 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8123 * LinkLabel: Added missing attributes
8124 * MainMenu.cs: fixes ToString
8125 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8126 * ListBox.cs: fixes event position
8127 * TrackBar.cs: adds missing attributes and events
8129 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8131 * MenuItem.cs: Use SystemInformation and bug fixes
8132 * MenuAPI.cs: Use SystemInformation and bug fixes
8134 2005-02-09 Jackson Harper <jackson@ximian.com>
8136 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8137 their keystate otherwise things like VK_MENU get stuck "on".
8139 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8141 * ListBox.cs: Fixes AddRange bug
8143 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8146 - Add missing attributes
8147 - Add missing method
8149 * CheckedListBox.cs: Added missing attributes
8150 - Add missing attributes
8151 - Remove extra method
8153 * ComboBox.cs: Added missing attributes
8154 * VScrollBar.cs: Added missing attributes
8155 * ScrollBar.cs: Added missing attributes
8156 * ListBox.cs: Fixes signature, add missing consts
8157 * LinkArea.cs: Added missing attributes
8160 2005-02-08 Peter Bartok <pbartok@novell.com>
8162 * Menu.cs: Added missing attributes
8163 * MainMenu.cs: Added missing attributes
8164 * GroupBox.cs: Added missing attributes
8165 * Label.cs: Added missing attributes
8166 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8168 - Added Instance and Options properties
8169 - Added missing attributes
8170 * Cursor.cs: Made Serializable
8171 * NotifyIcon: Added missing attributes
8172 * MenuItem.cs: Added missing attributes
8173 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8174 * Panel.cs: Added Missing attributes
8175 * MonthCalendar.cs: Fixed CreateParams
8177 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8181 - Fixes issues with links
8182 - Adds the class attributes
8184 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
8187 - Fixes button when no items available in dropdown
8188 - Fixes repainting problems
8189 - Adds the class attributes
8191 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8193 * XplatUIOSX.cs: Detect the menu bar and title bar height from
8194 the current theme. Cache these on startup.
8196 2005-02-07 Jackson Harper <jackson@ximian.com>
8198 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
8199 the scrollbar buttons when they are depressed.
8201 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8203 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
8204 Get the display size from the main displayid. We currently dont
8205 support multiple display configurations.
8207 2005-02-07 Geoff Norton <gnorton@customerdna.com>
8209 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
8211 2005-02-07 Miguel de Icaza <miguel@novell.com>
8213 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
8215 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
8217 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
8219 2005-02-04 Jackson Harper <jackson@ximian.com>
8221 * ThemeWin32Classic.cs: Respect the clipping rect when
8222 drawing. Only fill the intersection of clips and rects so there
8223 isn't a lot of large fills.
8224 * ScrollBar.cs: Pass the correct clipping rect to the theme
8225 engine. Remove some debug code.
8227 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
8229 * DateTimePicker.cs:
8230 - Fixed crash on DateTime.Parse, use Constructor instead
8232 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8236 - Owner draw support (MeasureItem and DrawItem)
8238 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
8241 - Implements FindMergePosition and MergeMenu functions (very poor documented)
8242 - Fixes MenuItems.Add range
8244 - MergeMenu and Clone and CloneMenu functions
8246 2005-02-03 Jackson Harper <jackson@ximian.com>
8248 * ScrollBar.cs: Make abstract
8249 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
8252 2005-02-03 Jackson Harper <jackson@ximian.com>
8254 * ScrollBar.cs: First part of my scrollbar fixups. This removes
8255 all the unneeded refreshes and uses invalidates with properly
8258 2005-02-03 Peter Bartok <pbartok@novell.com>
8260 * ComponentModel.cs: Added
8261 * IDataGridEditingService.cs: Added
8262 * Timer.cs: Added missing attributes
8263 * ToolTip.cs: Added missing attributes
8265 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
8267 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
8269 2005-02-03 Peter Bartok <pbartok@novell.com>
8271 * ListBox.cs: Added missing attributes
8273 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
8276 - Fixes font height after font change
8277 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
8279 2005-02-02 Peter Bartok <pbartok@novell.com>
8281 * HandleData.cs: Introduced static methods to allow class
8282 to be more self-contained and track it's own HandleData objects
8283 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
8284 HandleData to use new static methods
8286 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
8289 - Fixes default size and PreferredHeight
8291 - ObjectCollection.Insert implementation
8297 - ObjectCollection.Insert implementation
8298 - No selection after clean
8301 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8303 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
8305 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
8308 - Caches ItemHeight calculation for OwnerDrawVariable
8309 - Handles dropdown properly
8310 - Fixes several minor bugs
8312 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8315 - Fixes 71946 and 71950
8316 - Fixes changing Multicolumn on the fly
8317 - Fixes keyboard navigation on Multicolumn listboxes
8319 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8321 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
8324 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8326 * XplatUIOSX.cs: Allow applications to actually exit.
8328 2005-01-31 Geoff Norton <gnorton@customerdna.com>
8330 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
8331 their parent at creation time rather than lazily later. Fixes a major
8332 regression we were experiencing.
8334 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
8336 * ThemeWin32Classic.cs: more date time picker painting fixes
8337 * DateTimePicker.cs: more monthcalendar drop down fixes
8338 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
8340 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
8343 - When moving the thumb going outside the control should stop the moving
8344 - Adds the firing of missing events
8345 - Fixes no button show if Size is not specified
8346 - End / Home keys for keyboard navigation
8348 2005-01-30 Peter Bartok <pbartok@novell.com>
8350 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
8351 sanity check to prevent theoretical loop
8352 * XplatUIWin32.cs (SetVisible): Removed debug output
8353 * XplatUIX11.cs (SystrayChange): Added sanity check
8354 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
8355 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
8356 behaviour, valid until the X11 client window rewrite is done
8357 * TextBox.cs (ctor): Setting proper default foreground and background
8360 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
8362 * Theme: Added DrawDateTimePicker to interface
8363 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
8364 * DateTimePicker.cs: Created (still needs keys and painting code)
8365 * DateTimePickerFormat.cs: added
8366 * MonthCalendar.cs: fixed CreateParams for popup window mode
8368 2005-01-29 Peter Bartok <pbartok@novell.com>
8370 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
8371 this should also the calculations for ligher/darker
8372 * Theme.cs: Fixed defaults for ScrollBar widths/heights
8374 2005-01-29 Peter Bartok <pbartok@novell.com>
8376 * ArrangeDirection.cs: Added
8377 * ArrangeStartingPositon.cs: Added
8378 * SystemInformation.cs: Implemented
8379 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8380 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
8381 used by SystemInformation class
8382 * X11Strucs.cs: Added XSizeHints structure
8384 - Fixed CreateParams to make sure the menu window is always visible
8385 - TrackPopupMenu: Added check to make sure we don't draw the
8388 2005-01-29 Peter Bartok <pbartok@novell.com>
8390 * HandleData.cs: Added method for altering invalid area
8391 * TextBoxBase.cs: Implemented TextLength
8393 2005-01-28 Peter Bartok <pbartok@novell.com>
8395 * XplatUIX11.cs: Improvement over last patch, not sending
8396 the WM_PAINT directly anymore, instead we scroll any pending
8397 exposed areas and let the system pick out the WM_PAINT later
8399 2005-01-28 Peter Bartok <pbartok@novell.com>
8401 * SWF.csproj: Deleted, no longer used. Instead,
8402 Managed.Windows.Forms/SWF.csproj should be used
8403 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
8404 directly, to avoid a potential race condition with the next
8407 2005-01-28 Peter Bartok <pbartok@novell.com>
8409 * XplatUI.cs: Made class internal
8411 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
8413 * CheckedListBox.cs:
8416 - Missing methods and events
8418 2005-01-27 Peter Bartok <pbartok@novell.com>
8420 * Application.cs (Run): Don't use form if we don't have one
8422 2005-01-27 Peter Bartok <pbartok@novell.com>
8424 * TextBoxBase.cs (get_Lines): Fixed index off by one error
8426 2005-01-27 Peter Bartok <pbartok@novell.com>
8428 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
8429 * GridItem.cs: Added; Patch by Jonathan S. Chambers
8430 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
8431 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
8432 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
8433 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
8434 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8435 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8436 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8437 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8438 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
8439 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
8441 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8444 - Draw focus on Simple Combobox
8445 - Fixes drawing issues
8448 2005-01-27 Peter Bartok <pbartok@novell.com>
8451 - Place window in default location, instead of hardcoded 0/0
8452 - Send initial LocationChanged event
8454 - UpdateBounds after creation to find out where the WM placed us
8455 - Make sure that if the ParentForm changes location the Form
8457 * XplatUIX11.cs: XGetGeometry will not return the coords relative
8458 to the root, but to whatever the WM placed around us.
8459 Translate to root coordinates before returning toplevel
8461 * XplatUIWin32.cs: Removed debug output
8462 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
8463 flag to GetWindowPos, to allow translation of coordinates on X11
8465 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
8467 * ListBox.cs: connect LostFocus Event
8469 2005-01-27 Peter Bartok <pbartok@novell.com>
8471 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
8472 XplatUIX11.cs: Extended the Systray API
8473 * Form.cs: Removed debug output
8474 * Application.cs: Fixed focus assignment, always need to call
8475 XplatUI.Activate() since Form.Activate() has rules that may
8477 * NotifyIcon.cs: Should be complete now
8478 * ToolTip.cs: Worked around possible timer bug
8480 2005-01-27 Jackson Harper <jackson@ximian.com>
8483 - Only invalidate the effected tabs when the
8484 selected index changes. This reduces drawing and gets rid of some
8486 - Only refresh if the tabs need to be shifted, otherwise only
8487 invalidate the slider button.
8488 - On windows the tabs are not filled to right if the slider is
8491 2005-01-27 Jackson Harper <jackson@ximian.com>
8493 * TabControl.cs: Only refresh on mouseup if we are showing the
8494 slider. Also only invalidate the button whose state has changed.
8496 2005-01-26 Peter Bartok <pbartok@novell.com>
8498 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
8499 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
8500 and SystrayRemove() methods
8501 * XplatUIOSX.cs: Stubbed Systray methods
8503 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
8505 - Fixed broken XChangeProperty calls (marshalling messed up things)
8506 * X11Structs.cs: Added enums and structs required for Size hinting
8507 * NotifyIcon.cs: Added & implemented
8509 2005-01-26 Jackson Harper <jackson@ximian.com>
8511 * TabControl.cs: Space vertically layed out tabs properly.
8513 2005-01-26 Peter Bartok <pbartok@novell.com>
8515 * Form.cs (CreateClientParams): Always set the location to 0,0
8516 since we're a child window.
8518 * Control.cs (SetVisibleCore): Always explicitly setting the location
8519 of a toplevel window, apparently X11 doesn't like to move windows
8520 while they're not mapped.
8522 2005-01-26 Jackson Harper <jackson@ximian.com>
8524 * TabControl.cs: Implement FillToRight size mode with vertically
8527 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8529 * ControlPaint.cs, ThemeWin32Classic.cs
8530 - Fixes DrawFocusRectangle
8532 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
8535 - MenuBar tracking only starts when item is first clicked
8536 - Fixes menu hidding for multiple subitems
8537 - Unselect item in MenuBar when item Executed
8540 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
8543 - IsInputKey for ListBox
8546 - Shift and Control item selection
8547 - Implement SelectionMode.MultiExtended
8550 - IsInputKey implemented
8551 - Do not generate OnTextChangedEdit on internal txt changes
8553 2005-01-23 Peter Bartok <pbartok@novell.com>
8555 * AccessibleObject.cs: Partially implemented Select()
8556 * MonthCalendar.cs: Added missing attributes and events
8557 * Form.cs: Fixed CreateParams behaviour, now controls derived from
8558 form can properly override CreateParams.
8559 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
8560 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
8561 Control performs Invalidate & Update
8562 * NativeWindow (CreateHandle): Added special handling for Form
8563 and Form.FormParent classes to allow overriding of From.CreateParams
8565 - ControlNativeWindow: Renamed 'control' variable to more intuitive
8567 - ControlNativeWindow: Added Owner property
8568 - Removed usage of Refresh() on property changes, changed into
8569 Invalidate(), we need to wait until the queue is processed for
8570 updates, direct calls might cause problems if not all vars for
8571 Paint are initialized
8572 - Added call to UpdateStyles() when creating the window, to set any
8573 styles that CreateWindow might have ignored.
8574 - Added support for Form CreateParent overrides to UpdateStyles()
8575 * MessageBox.cs: Removed no longer needed FormParent override stuff,
8576 CreateParams are now properly overridable
8577 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
8578 CreateParams are now properly overridable
8580 2005-01-23 Miguel de Icaza <miguel@ximian.com>
8582 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
8585 Capture LostFocus and OnTextBoxChanged. The later introduces a
8586 recursive invocation that I have not figured out yet.
8588 Reset the timer when not using (it was accumulating).
8591 (OnTextBoxChanged): Set UserEdit to true here to track whether the
8592 user has made changes that require validation.
8594 Reset changing to avoid loops.
8596 2005-01-22 Miguel de Icaza <miguel@ximian.com>
8598 * NumericUpDown.cs: Display value at startup.
8600 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
8603 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
8604 filled in. Added some basic parsing of text.
8606 Still missing the OnXXX method overrides, and figuring out the
8607 events that must be emitted.
8609 * UpDownBase.cs: Handle UserEdit on the Text property.
8611 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
8614 - Fixes IntegralHeight
8617 2005-01-21 Jackson Harper <jackson@ximian.com>
8619 * TabControl.cs: Set the SelectedIndex property when SelectedTab
8620 is set so that the page visibility is updated and the tabs are
8623 2005-01-21 Jackson Harper <jackson@ximian.com>
8625 * TabControl.cs: Use cliping rectangle for blitting. Give the
8626 theme the clipping rect so we can do clipping while
8627 drawing. Remove some debug code.
8629 2005-01-21 Jackson Harper <jackson@ximian.com>
8631 * TabPage.cs: Add a new method so tab pages can force the tab
8632 control to recalculate the tab page sizes.
8633 * TabControl.cs: UpdateOwner needs to make the tab control recalc
8636 2005-01-20 Jackson Harper <jackson@ximian.com>
8638 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
8640 2005-01-20 Jackson Harper <jackson@ximian.com>
8642 * TreeView.cs: Set the bounds for nodes properly. They were
8643 getting screwed up when checkboxes were not enabled, but images
8646 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
8649 - Owner draw support
8652 2005-01-20 Jackson Harper <jackson@ximian.com>
8654 * XplatUIStructs.cs: More misc keys
8655 * X11Keyboard.cs: Ignore some control keys.
8657 2005-01-20 Jackson Harper <jackson@ximian.com>
8659 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
8660 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
8662 2005-01-19 Peter Bartok <pbartok@novell.com>
8664 * Control.cs: Un-selecting the control when it is loosing focus
8666 2005-01-19 Jackson Harper <jackson@ximian.com>
8668 * TreeView.cs: Hook up to the text controls leave event so we can
8669 end editing when the users clicks outside the text box.
8671 2005-01-19 Jackson Harper <jackson@ximian.com>
8673 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
8674 get set in the conversion array.
8676 2005-01-19 Peter Bartok <pbartok@novell.com>
8678 * Application.cs (ModalRun): Added a call to CreateControl to ensure
8679 focus is properly set
8681 - Added missing attributes
8682 - removed styles, those are already set in the base class
8684 - Added missing attributes
8685 - Added clip window styles
8686 * CheckBox.cs: Added missing attributes
8688 - FormParentWindow.CreateParams: Added required clip styles
8689 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
8690 also filters modifier keys
8692 - Added assignment of Accept and Cancel button to enable Enter
8693 and Esc keys in MessageBox dialogs
8694 - FormParentWindow.CreateParams: Added required clip styles
8695 * RadioButton.cs: Added missing attributes
8696 * TextControl.cs: No longer draws selection if control does not
8699 - Now draws simple rectangle around test area to make it obvious
8700 there's a control. This is a hack until we properly support borders
8701 - A few simple fixes to support selections better, now erases selected
8702 text when typing, and resets selection when using movement keys
8704 2005-01-19 Miguel de Icaza <miguel@ximian.com>
8706 * UpDownBase.cs: Added some new properties.
8708 * DomainUpDown.cs: Implement a lot to get my test working.
8710 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8712 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
8714 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8716 * OSXStructs (WindowAttributes): Fixed csc complaints
8718 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8721 OSXStructs.cs: Initial refactor to move enums and consts into
8722 OSXStructs and use them in the driver for greater readability.
8724 2005-01-19 Geoff Norton <gnorton@customerdna.com>
8726 * XplatUIOSX.cs: Initial support for Standard Cursors.
8727 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
8729 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
8731 * ComboBox.cs: ability to change style when the ctrl is already
8732 created, missing methods and events, bug fixes, signature fixes
8734 2005-01-19 Peter Bartok <pbartok@novell.com>
8736 * Cursors.cs (ctor): Added ctor to fix signature
8738 2005-01-18 Peter Bartok <pbartok@novell.com>
8740 * Button.cs: Implemented DoubleClick event
8742 - Fixed keyboard handling to behave like MS, where the press of
8743 Spacebar is equivalent to a mousedown, and the key release is
8744 equivalent to mouseup. Now a spacebar push will give the same
8745 visual feedback like a mouse click.
8746 - Added missing attributes
8747 - Added ImeModeChanged event
8748 - Added support for generating DoubleClick event for derived classes
8750 - Implemented DoubleClick event
8751 - Added missing attributes
8752 * CommonDialog.cs: Added missing attribute
8753 * ContextMenu.cs: Added missing attributes
8755 - AutoChecked buttons do not allow to be unselected when clicked
8756 (otherwise we might end up with no selected buttons in a group)
8757 - Added missing attributes
8758 - Implemented DoubleClickEvent
8759 * ThreadExceptionDialog.cs: Enabled TextBox code
8761 2005-01-18 Peter Bartok <pbartok@novell.com>
8763 * Form.cs: Removed debug output
8764 * Button.cs: Added support for DoubleClick method
8766 2005-01-18 Peter Bartok <pbartok@novell.com>
8769 - Added method to parent window that allows triggering size
8770 calculations when a menu is added/removed
8771 - set_Menu: Cleaned up mess from early days of Form and Control,
8772 now properly triggers a recalc when a menu is added/removed
8773 - Added case to select form itself as focused form if no child
8775 - Added PerformLayout call when showing dialog, to ensure properly
8778 - Select(): Made internal so Form can access it
8779 - Focus(): Only call Xplat layer if required (avoids loop), and sets
8781 * Application.cs (Run): Removed hack and calls PerformLayout instead
8782 to trigger calculation when Form becomes visible
8784 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
8786 * ComboBox.cs: fixes for ownerdraw
8788 2005-01-18 Peter Bartok <pbartok@novell.com>
8791 - Sentinel is no longer static, each Document gets it's own, this
8792 avoids locking or alternatively overwrite problems when more
8793 than one text control is used simultaneously.
8794 - Switched to use Hilight and HilightText brushes for text selection
8796 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
8798 2005-01-18 Peter Bartok <pbartok@novell.com>
8801 - Hooked up the following events:
8809 o SystemColorsChanged
8812 - Removed debug output
8813 - Added a call to the current theme's ResetDefaults when a color change
8815 * Form.cs: Now setting the proper ImeMode
8816 * Theme.cs: Defined a method to force recreation of cached resources
8817 and rereading of system defaults (ResetDefaults())
8818 * ThemeWin32Classic.cs: Added ResetDefaults() stub
8820 2005-01-17 Peter Bartok <pbartok@novell.com>
8822 * Control.cs: Added missing attributes
8824 2005-01-17 Jackson Harper <jackson@ximian.com>
8826 * TreeNode.cs: Implement editing. Add missing properties selected
8828 * TreeView.cs: Implement node editing. Also some fixes to use
8829 Invalidate (invalid area) instead of Refresh when selecting.
8831 2005-01-17 Peter Bartok <pbartok@novell.com>
8834 - Implemented InvokeGotFocus() method
8835 - Implemented InvokeLostFocus() method
8836 - Implemented InvokePaint() method
8837 - Implemented InvokePaintBackground() method
8838 - Implemented InvokeClick() method
8839 - Implemented FindForm() method
8840 - Implemented RectangleToClient() method
8841 - Implemented ClientToRectangle() method
8842 - Implemented ResetBackColor() method
8843 - Implemented ResetCursor() method
8844 - Implemented ResetFont() method
8845 - Implemented ResteForeColor() method
8846 - Implemented ResetImeMode() method
8847 - Implemented ResetLeftToRight() method
8848 - Implemented ResetText() method
8849 - Implemented Scale() methods
8850 - Implemented ScaleCore() method
8851 - Implemented Update() method
8852 - Removed unused variables
8853 - Stubbed AccessibilityNotifyClients and
8854 ControlAccessibleObject.NotifyClients() methods (dunno what to do
8856 - Now setting proper default for RightToLeft property
8857 - Fixed bug in SetClientSizeCore that would cause windows to get
8859 - Now sending Click/DoubleClick events
8860 - Now selecting controls when left mouse button is clicked on
8862 * AccessibleEvents.cs: Added
8863 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
8864 * XplatUIOSX.cs: Stubbed UpdateWindow() method
8865 * XplatUIWin32.cs: Implemented UpdateWindow() method
8866 * XplatUIX11.cs: Implemented UpdateWindow() method
8867 * Form.cs: Removed stray semicolon causing CS0162 warning
8868 * ThemeWin32Classic.cs: Fixed unused variable warnings
8869 * ScrollableControl.cs: Now calls base method for ScaleCore
8870 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
8871 style to avoid interference with internal click handler (which is
8872 different than standard Control click handling)
8874 - Now unchecks all sibling radio buttons when control is
8875 selected (Fixes #68756)
8876 - Removed internal tabstop variable, using the one inherited from
8879 2005-01-17 Jackson Harper <jackson@ximian.com>
8881 * NavigateEventArgs.cs: Fix base type.
8882 * LinkLabel.cs: Sig fix
8884 2005-01-17 Jackson Harper <jackson@ximian.com>
8886 * TreeView.cs: Only invalidate the effected nodes bounds when
8889 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8891 * XplatUIWin32.cs: fixes Win32 marshaling
8892 * XplatUIX11.cs: fixes method signature
8894 2005-01-17 Peter Bartok <pbartok@novell.com>
8896 * XplatUIX11.cs: Clean up resources when we no longer need them
8898 2005-01-17 Peter Bartok <pbartok@novell.com>
8900 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
8901 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
8902 and DestroyCursor() methods.
8903 * Cursor.cs: Partially implemented, now supports standard cursors;
8904 still contains some debug code
8905 * Cursors.cs: Implemented class
8907 - WndProc(): Added handling of WM_SETCURSOR message, setting the
8909 - Implemented Cursor property
8910 - Replaced break; with return; more straightforwar and possibly
8912 - Now properly setting the result for WM_HELP
8913 * X11Structs.cs: Added CursorFontShape enum
8914 * XplatUIStructs.cs:
8915 - Added StdCursor enum (to support DefineStdCursor() method)
8916 - Added HitTest enum (to support sending WM_SETCURSOR message)
8918 - Now sends the WM_SETCURSOR message
8919 - Implemented new cursor methods
8920 * XplatUIOSX.cs: Stubbed new cursor methods
8922 - Implemented new cursor methods
8923 - Added GetSystemMetrics function and associated enumeration
8925 2005-01-15 Peter Bartok <pbartok@novell.com>
8928 - WndProc(): Now handles EnableNotifyMessage
8929 - SelectNextControl(): Fixed bug where if no child or sibling
8930 controls exist we looped endlessly
8932 2005-01-14 Jackson Harper <jackson@ximian.com>
8934 * TreeView.cs: Recalculate the tab pages when a new one is added
8935 so that the proper bounding rects are created.
8937 2005-01-14 Jackson Harper <jackson@ximian.com>
8939 * TreeView.cs: Draw a gray box instead of a grip in the lower
8940 right hand corner when there are both horizontal and vertical
8943 2005-01-14 Jackson Harper <jackson@ximian.com>
8945 * Control.cs: When erasing backgrounds use FromHwnd instead of
8946 FromHdc when there is a NULL wparam. This occurs on the X driver.
8947 * XplatUIX11.cs: Set the wparam to NULL.
8949 2005-01-13 Jackson Harper <jackson@ximian.com>
8951 * PictureBox.cs: Implement missing methods (except ToString, need
8952 to test that on windows) and events. When visibility is changed we
8953 need to redraw the image because the buffers are killed. When size
8954 is changed refresh if the sizemode needs it.
8956 2005-01-13 Peter Bartok <pbartok@novell.com>
8958 * Control.cs (SelectNextControl): Was using wrong method to select
8961 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8963 * ComboBox.cs: fixes dropstyle
8965 2005-01-13 Peter Bartok <pbartok@novell.com>
8968 - Implemented Select() override
8969 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
8970 - Now sets keyboard focus on startup
8971 * Control.cs (SelectNextControl): Now properly handles directed=true
8973 - WndProc: Now passes tab key on to base if AcceptTabChar=false
8974 - Added (really bad) focus rectangle (mostly for testing)
8975 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
8976 to enforce redraw on focus changes
8977 * ContainerControl.cs:
8978 - Fixed detection of Shift-Tab key presses
8979 - Fixed traversal with arrow keys
8980 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
8981 gonna keep this or if it's complete yet
8983 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
8985 * ComboBox.cs: missing properties, fixes
8987 2005-01-13 Peter Bartok <pbartok@novell.com>
8989 * Panel.cs (ctor): Setting Selectable window style to off
8990 * Splitter.cs (ctor): Setting Selectable window style to off
8991 * GroupBox.cs (ctor): Setting Selectable window style to off
8992 * Label.cs (ctor): Setting Selectable window style to off
8994 2005-01-12 Miguel de Icaza <miguel@ximian.com>
8996 * UpDownBase.cs (InitTimer): If the timer has been already
8999 Use a TextBox instead of a Label.
9001 2005-01-12 Jackson Harper <jackson@ximian.com>
9003 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9004 draw the connecting node lines (when ShowLines is true).
9005 * TreeNode.cs: The nodes index can now be updated. This is used
9006 when a node collection is sorted.
9007 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9008 insert or an existing unsorted node collection can be sorted.
9010 2005-01-12 Peter Bartok <pbartok@novell.com>
9012 * ContainerControl.cs: Implemented ProcessDialogKeys()
9014 2005-01-12 Peter Bartok <pbartok@novell.com>
9017 - Implemented SelectNextControl() method
9018 - Several focus related bug fixes
9019 - Fixed Docking calculations to match MS documentation and
9022 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9024 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9027 2005-01-12 Peter Bartok <pbartok@novell.com>
9030 - Fixed broken Contains() method
9031 - Implemented GetNextControl() method. Finally. This is the pre-
9032 requisite for focus handling.
9034 2005-01-12 Peter Bartok <pbartok@novell.com>
9036 * OSXStrucs.cs: Added
9038 2005-01-12 Peter Bartok <pbartok@novell.com>
9041 - Removed PeekMessageFlags
9042 - Implemented SetWindowStyle() method
9043 * XplatUIStructs.cs: Added PeekMessageFlags
9044 * X11Structs: Added missing border_width field to XWindowChanges struct
9046 - PeekMessage: Now throws exception if flags which are not yet
9047 supported are passed
9048 - Implemented SetWindowStyle() method
9049 - Fixed SetZOrder to handle AfterHwnd properly
9050 * XplatUI.cs: Added SetWindowStyle() method
9051 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9053 - Implemented UpdateStyles() method
9054 - Implemented UpdateZOrder() method
9055 * XplatUIOSX.cs: Added SetWindowStyle() stub
9057 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9059 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9063 2005-01-11 Jackson Harper <jackson@ximian.com>
9065 * TreeView.cs: Still need to draw lines to siblings even if out of
9066 the current node is out of the clip.
9068 2005-01-11 Jackson Harper <jackson@ximian.com>
9070 * TreeView.cs: When setting the hbar/vbar/grip position use
9071 SetBounds so that perform layout is only called once. Also suspend
9072 and resume layout so layout is only done once for all controls.
9073 - Removed some debug fluff
9074 * SizeGrip.cs: Call base implmentation in overriding methods.
9075 - When visibility is changed the drawing buffers are killed so we
9078 2005-01-11 Jackson Harper <jackson@ximian.com>
9080 * TreeView.cs: Calculate the open node count while drawing. This
9081 saves us an entire tree traversal for every paint operation. Use
9082 a member var for the open node count so less vars are passed around.
9084 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9087 - fixed selection to use mousemove, not mouse polling on timer
9088 * ThemeWin32Classic.cs
9089 - removed redundant unused variable "no_more_content"
9091 2005-01-11 Peter Bartok <pbartok@novell.com>
9093 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9094 are pending, so it now calls PeekMessage instead of GetMessage;
9095 implemented a incomplete version of PeekMessage
9097 2005-01-11 Peter Bartok <pbartok@novell.com>
9099 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9101 * TextBoxBase.cs: Added sending of TextChanged event
9103 2005-01-10 Jackson Harper <jackson@ximian.com>
9105 * TreeView.cs: Try not to draw outside the clipping rectangle on
9108 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9110 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9112 2005-01-10 Jackson Harper <jackson@ximian.com>
9115 - Implement fast scrolling. Now only the newly
9116 exposed nodes are drawn and the old image is moved using the
9117 XplatUI::ScrollWindow method.
9118 - Factor in height of nodes when calculating whether or not the
9119 node is in the clipping rect.
9121 2005-01-10 Jackson Harper <jackson@ximian.com>
9123 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9125 2005-01-10 Peter Bartok <pbartok@novell.com>
9127 * Application.cs: Added temporary hack to resolve all our resize
9128 required issues on startup. This will get fixed properly at
9129 some point in the future
9131 2005-01-10 Jackson Harper <jackson@ximian.com>
9133 * SizeGrip.cs: New internal class that is used as a sizing
9134 grip control...hence the name.
9136 2005-01-10 Peter Bartok <pbartok@novell.com>
9138 * Control.cs: Implemented proper TabIndex handling, now assigning
9139 a tabindex when a control is added to a container
9140 * GroupBox.cs (ctor): Now sets the Container style bit, required
9141 for Control.GetNextControl()
9143 2005-01-09 Jackson Harper <jackson@ximian.com>
9145 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9147 2005-01-09 Peter Bartok <pbartok@novell.com>
9149 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9150 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9151 an overload for ScrollWindow to allow only scrolling a rectangle
9153 2005-01-09 Peter Bartok <pbartok@novell.com>
9156 - Implemented SetDesktopBounds method
9157 - Implemented SetDesktopLocation method
9159 2005-01-08 Jackson Harper <jackson@ximian.com>
9161 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9162 the node count has changed, this removes to VScroll::Refresh calls
9165 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9167 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9169 2005-01-07 Jackson Harper <jackson@ximian.com>
9171 * TreeNode.cs: Just update the single node when it is
9172 checked. Don't refresh after toggling, the Expand/Collapse already
9174 * TreeView.cs: Respect clipping a little more when drawing. Try
9175 not to redraw things that don't need to be redrawn. Just hide the
9176 scrollbars when they are no longer needed instead of removing
9177 them, so they don't have to be created again and again.
9179 2005-01-07 Geoff Norton <gnorton@customerdna.com>
9181 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
9182 coordinates to window space to place the caret properly, FIXED.
9183 Implement GetWindowState & SetWindowState
9185 2005-01-06 Peter Bartok <pbartok@novell.com>
9188 - Implemented ClientSize property
9189 - Implemented DesktopBounds property
9190 - Implemented DesktopLocation property
9191 - Implemented IsRestrictedWindow property
9192 - Implemented Size property
9193 - Implemented TopLevel property
9194 - Implemented FormWindowState property
9196 - Implemented GetTopLevel() method
9197 - Implemented SetTopLevel() method
9198 * X11Structs.cs (Atom):
9199 - Added AnyPropertyType definition
9200 - Added MapState definiton and updated XWindowAttribute struct
9201 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
9202 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
9203 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
9205 - Implemented GetWindowState() and SetWindowState() methods
9206 - Fixed Win32GetWindowLong return type
9208 - Introduced central function for sending NET_WM messages
9209 - Implemented GetWindowState() and SetWindowState() methods
9210 * TextBoxBase.cs (set_Lines):
9211 - Now uses Foreground color for text added via Text property (Duh!)
9212 - Added code to remember programmatically requested size (fixes
9213 behaviour when Multiline is set after Size)
9214 - Added AutoSize logic
9216 2005-01-06 Jackson Harper <jackson@ximian.com>
9218 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
9220 2005-01-06 Jackson Harper <jackson@ximian.com>
9222 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
9225 2005-01-06 Jackson Harper <jackson@ximian.com>
9227 * ScrollableControl.cs: Lazy init the scrollbars.
9229 2005-01-06 Jackson Harper <jackson@ximian.com>
9231 * Theme.cs: Speed up getting pens and solid brushes, by using
9232 their ARGB as a hash instead of tostring and not calling Contains.
9234 2005-01-06 Peter Bartok <pbartok@novell.com>
9237 - Implemented OnActivated and OnDeactivate event trigger
9238 - Implemented Activate() method
9239 - Fixed ShowDialog() to activate the form that was active before
9240 the dialog was shown
9242 - Added global active_window var that tracks the currently active
9244 - Now always grabs Property changes from the root window to always
9245 catch changes on the active window property
9246 - Added code to PropertyNotify handler to send Active/Inactive
9247 messages when state changes. This puts X11 and Win32 en par on
9248 WM_ACTIVATE notifications (except for double notifications when
9249 the user clicks away from our modal window to another one of our
9252 2005-01-05 Jackson Harper <jackson@ximian.com>
9254 * ImageList.cs: Implment ctor
9256 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9258 * XplatUIOSX.cs: Implement Activate/SetTopmost
9260 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9262 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
9264 2005-01-05 Geoff Norton <gnorton@customerdna.com>
9266 * XplatUIOSX.cs: Implement GetActive/SetFocus.
9268 2005-01-05 Peter Bartok <pbartok@novell.com>
9270 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
9271 XplatUIOSX.cs: Added GetActive method to return the currently
9272 active window for the application (or null, if none is active)
9274 - Implemented ActiveForm
9275 - Commented out owner assignment for modal dialogs (causes problems
9276 on Win32, since the owner will be disabled)
9277 - Reworked some Active/Focus handling (still incomplete)
9278 * CommonDialog.cs: Commented out owner assignment for modal dialogs
9279 (causes problems on Win32, since the owner will be disabled)
9280 * IWin32Window: Added ComVisible attribute
9282 2005-01-05 Peter Bartok <pbartok@novell.com>
9284 * ToolTip.cs (WndProc): Enable setting focus now that we have the
9285 required XplatUI functions.
9287 2005-01-05 Peter Bartok <pbartok@novell.com>
9289 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
9290 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
9291 to implement focus and activation handling; still incomplete and
9294 2005-01-04 Peter Bartok <pbartok@novell.com>
9296 * TextBoxBase.cs: Changed access level for Document property to
9297 match switch to internal for TextControl
9299 2005-01-04 Peter Bartok <pbartok@novell.com>
9301 * AccessibleObject: Added ComVisible attribute
9303 2005-01-04 Jackson Harper <jackson@ximian.com>
9305 * X11Keyboard.cs: Remove unneeded var.
9307 2005-01-04 Jackson Harper <jackson@ximian.com>
9309 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
9311 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
9312 ClientMessage. This makes apps exit cleanly (more often).
9314 2005-01-04 Jackson Harper <jackson@ximian.com>
9316 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
9317 handling focus, return correct colors and fonts,
9318 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
9319 handle selection, horizontal scrolling, and mouse interaction.
9321 2005-01-04 Peter Bartok <pbartok@novell.com>
9323 * ICommandExecutor.cs: Added
9324 * IDataGridColumnStyleEditingNotificationService.cs: Added
9325 * IFeatureSupport.cs: Added
9326 * IFileReaderService.cs: Added
9327 * IDataObject.cs: Added ComVisible attribute
9328 * AmbientProperties.cs: Added
9329 * BaseCollection.cs: Added missing attributes
9330 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
9331 * BaseCollection.cs: Added missing attributes
9332 * Binding.cs: Added TypeConverter attribute
9333 * BindingContext.cs: Added DefaultEvent attribute
9334 * BindingsCollection.cs: Added DefaultEvent attribute
9335 * Button.cs: Added DefaultValue attribute
9336 * DragEventArgs.cs: Added ComVisible attribute
9337 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
9338 * KeyEventArgs.cs: Added ComVisible attribute
9339 * KeyPressEventArgs.cs: Added ComVisible attribute
9340 * MouseEventArgs.cs: Added ComVisible attribute
9341 * NavigateEventArgs.cs: Added
9342 * NavigateEventHandler.cs: Added
9343 * FeatureSupport.cs: Added
9344 * OSFeature.cs: Added
9345 * Theme.cs: Added abstract Version property to support OSFeature
9346 * ThemeWin32Classic.cs: Added Version property to
9347 support OSFeature.Themes
9348 * ProgressBar.cs: Removed OnPaintBackground override, not required since
9349 the proper styles to avoid background drawing are set, also doesn't
9351 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
9352 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
9353 * ScrollEventArgs.cs: Added ComVisible attribute
9354 * SplitterEventArgs.cs: Added ComVisible attribute
9355 * AccessibleSelection.cs: Added Flags attribute
9356 * Appearance.cs: Added ComVisible attribute
9357 * Border3DSide.cs: Added ComVisible attribute
9358 * Border3DStyle.cs: Added ComVisible attribute
9359 * BorderStyle.cs: Added ComVisible attribute
9360 * DragAction.cs: Added ComVisible attribute
9361 * ErrorBlinkStyle.cs: Added
9362 * ScrollEventType.cs: Added ComVisible attribute
9363 * AnchorStyles.cs: Added Editor attribute
9364 * DockStyle.cs: Added Editor attribute
9365 * HorizontalAlignment.cs: Added ComVisible attribute
9366 * HelpEventArgs.cs: Added ComVisible attribute
9367 * PaintEventArgs.cs: Added IDisposable
9369 2005-01-04 Peter Bartok <pbartok@novell.com>
9371 * TextControl.cs: Switched Line, LineTag and Document classes to
9374 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9376 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
9377 Simple mode, fixes, IntegralHeight, etc.
9379 2005-01-04 Peter Bartok <pbartok@novell.com>
9381 * TextBoxBase.cs: Using proper font variable now
9383 2005-01-04 Peter Bartok <pbartok@novell.com>
9385 * Form.cs (ShowDialog): Set parent to owner, if provided
9386 * GroupBox.cs: Removed unused vars
9388 - Added GetHashCode() for Document and LineTag classes
9389 - Removed unused variables
9390 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
9391 to allow translation between continuous char position and line/pos
9392 * CheckBox.cs: Removed vars that are provided by base class
9393 * RadioButton.cs: Removed vars that are provided by base class, added
9394 new keyword where required
9395 * LinkLabel.cs: Added new keyword where required
9396 * Control.cs (WndProc): Removed unused variable
9398 - Finished SelectionLength property
9399 - Implemented SelectionStart property
9400 - Implemented Text property
9401 - Removed unused vars
9402 * MessageBox.cs: Added new keyword where required
9403 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
9405 * MenuAPI.cs: Added new keyword where required
9406 * ButtonBase.cs: Removed vars that are provided by base class, added
9407 new keyword where required
9408 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
9409 argument to double, to allow compiling with csc 2.0 (Atsushi ran
9411 * Application.cs (Run): Now triggers the ThreadExit event
9412 * CommonDialog.cs: Added new keyword where required; now properly sets
9413 parent (owner) for dialog
9414 * XplatUIX11.cs: Commented out unused vars
9415 * StatusBar.cs: Fixed signature for Text property
9416 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
9418 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
9420 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
9421 TrackBar.cs, MonthCalendar.cs: remove unused vars
9423 2005-01-03 Jackson Harper <jackson@ximian.com>
9425 * ThemeWin32Classic.cs:
9426 * X11Keyboard.cs: Remove unused vars.
9428 2005-01-03 Peter Bartok <pbartok@novell.com>
9431 - set_Text: Tied into TextControl
9432 - set_TextAlignment: Tied into TextControl
9434 - Added alignment properties and implemented alignment handling
9435 and drawing (still has a bug, not generating proper expose events)
9436 - Added new Line() constructor to allow passing the line alignment
9437 - Fixed selection setting, properly handling end<start now
9438 - Added aligment considerations to RecalculateDocument()
9440 - Now properly enforces control height for single line controls
9441 - Added support for CharacterCasing
9442 - Added IsInputKey override
9443 - Fixed Keys.Enter logic
9444 - Added SetBoundsCore override
9445 - Fixed mouse selection handling
9447 2005-01-03 Jackson Harper <jackson@ximian.com>
9450 - Collapse and uncheck all nodes when CheckBoxes is disabled.
9451 - Checkboxes are always aligned to the bottom of the node,
9452 regardless of item height.
9453 - Use the node bounds to draw the text so we can center it when
9454 the item height is greater then the font height.
9455 - Node::Bounds are only the text part of the node.
9456 * TreeNode.cs: New method to combine collapsing and unchecking all
9459 2005-01-02 Jackson Harper <jackson@ximian.com>
9461 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
9462 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
9463 tree when a check is changed. TODO: Only refresh the checked node.
9465 2004-12-30 Jackson Harper <jackson@ximian.com>
9467 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
9468 * TreeNode.cs: When collapsing make sure to never collapse the
9471 2004-12-29 Jackson Harper <jackson@ximian.com>
9473 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
9475 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
9477 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
9479 2004-12-28 Peter Bartok <pbartok@novell.com>
9481 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
9484 2004-12-28 Peter Bartok <pbartok@novell.com>
9486 * Control.cs (WndProc): Added WM_HELP handler, now generates
9488 * Form.cs: Added HelpButton property and required support code
9489 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
9491 2004-12-28 Peter Bartok <pbartok@novell.com>
9494 - Made DialogForm.owner variable internal
9495 - Added check to ensure owner form is set before setting
9496 owner properties in CreateParams
9498 2004-12-28 Geoff Norton <gnorton@customerdna.com>
9500 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
9501 swizzling. Implement ClientToScreen and ScreenToClient. Implement
9502 GetCursorPos. Fix major visibility issues. Rework the windowing
9503 system to support borderless/titleless windows (implements menus).
9504 Fix GetWindowPos. Implement initial background color support for
9507 2004-12-28 Peter Bartok <pbartok@novell.com>
9509 * Form.cs (get_CreateParams): Make sure we have an owner before using
9510 the owner variable. Implement proper default if no owner exists
9512 2004-12-28 Peter Bartok <pbartok@novell.com>
9514 * In preparation for making Managed.Windows.Forms the default build target
9515 for System.Windows.Forms, the following stubbed files were added.
9516 Dialogs are currently being implemented by contributors and are only
9517 short-term place holders.
9518 * ColorDialog.cs: Initial check-in (minmal stub)
9519 * DataGrid.cs: Initial check-in (minimal stub)
9520 * DataGridLineStyle.cs: Initial check-in (minimal stub)
9521 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
9522 * DataGridTableStyle.cs: Initial check-in (minimal stub)
9523 * FontDialog.cs: Initial check-in (minimal stub)
9524 * FileDialog.cs: Initial check-in (minimal stub)
9525 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
9526 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
9527 * OpenFileDialog: Initial check-in (minimal stub)
9528 * IComponentEditorPageSite.cs: Initial check-in
9529 * Splitter.cs: Initial check-in (for Jackson)
9530 * SplitterEventArgs.cs: Initial check-in (for Jackson)
9531 * SplitterEventHandler.cs: Initial check-in (for Jackson)
9532 * TextBox.cs: Initial check-in; still needs some wiring to
9534 * Form.cs: Implemented ControlBox property
9535 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
9536 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
9537 * TextControl.cs: Added selection functionality; added todo header
9539 - Implemented Lines property
9540 - Implemented TextHeight property
9541 - Implemented SelectedText property
9542 - Implemented SelectionLength property
9543 - Implemented SelectAll method
9544 - Implemented ToString method
9545 - Removed and cleaned up some debug code
9546 - Implemented (still buggy) mouse text selection
9548 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
9550 * ComboBox.cs: Complete DropDownList implementation, fixes.
9552 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
9554 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
9555 * ComboBoxStyle.cs: ComboBoxStyle enum
9556 * ComboBox.cs: Initial work on ComboBox control
9558 2004-12-21 Peter Bartok <pbartok@novell.com>
9560 * Control.cs (ctor, CreateParams): Moved setting of is_visible
9561 forward so that anything that creates a window gets the default,
9562 also no longer uses Visible property in CreateParams to avoid
9563 walking up the parent chain and possibly get the wrong visible
9564 status. Fixed IsVisible to no longer walk up to the parent.
9566 2004-12-21 Peter Bartok <pbartok@novell.com>
9568 * Form.cs (ShowDialog): Unset modality for the proper window
9570 2004-12-20 Peter Bartok <pbartok@novell.com>
9572 * CommonDialog.cs: Initial check-in
9574 2004-12-20 Peter Bartok <pbartok@novell.com>
9576 * Control.cs (Visible): Now uses the parent window instead of the
9577 client area window for the property
9580 - ShowDialog(): Now uses the proper window for modality
9581 - The default visibility state for the form parent is now false. This
9582 will prevent the user from seeing all the changes to the form and
9583 its controls before the application hits Application.Run()
9584 - Removed some stale commented out code
9587 - Added FindWindow() method to have a method to check for existence
9589 - Added ability to override default exception handling (for example
9590 when debugging with VS.Net; to do this the ExternalExceptionHandler
9592 - Removed some useless debug output
9595 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
9596 not working as expected
9597 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
9598 property to allow switching back to the modal window if focus is
9599 given to another one of our windows (Application Modal)
9600 - Now only sets override_redirect if we create a window
9602 - Moved EventMask selection before mapping of newly created window
9603 so we can catch the map event as well
9604 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
9605 - Added various Atom related DllImports
9606 - Implemented Exit() method
9607 - .ctor() : No longer shows window if WS_VISIBLE is not defined
9610 * MessageBox.cs: Now properly deals with the FormParent window by
9611 providing an override the FormParent CreateParams property to
9612 set as POPUP instead of OVERLAPPED window.
9614 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9616 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
9619 2004-12-19 Geoff Norton <gnorton@customerdna.com>
9621 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
9623 2004-12-18 Peter Bartok <pbartok@novell.com>
9625 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
9626 implementing SetModal() method
9628 2004-12-18 Peter Bartok <pbartok@novell.com>
9630 * X11Structs.cs (XGCValues): Fixed type of function element
9631 * XplatUI.cs: Added ScrollWindow() method
9632 * XplatUIDriver.cs: Added ScrollWindow() abstract
9633 * XplatUIWin32.cs: Implemented ScrollWindow() method
9634 * XplatUIX11.cs: Implemented ScrollWindow() method
9635 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
9637 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9639 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
9640 Some more keyboard support (INCOMPLETE)
9642 2004-12-17 Peter Bartok <pbartok@novell.com>
9645 - Added color attribute to line tags.
9646 - Added color argument to all functions dealing with tags
9647 - Added color argument support to various functions
9648 - Fixed miss-calculation of baseline/shift in certain circumstances
9650 * TextBoxBase.cs: Added new color option to test code
9652 2004-12-17 Jackson Harper <jackson@ximian.com>
9655 * MonthCalendar.cs: Signature fixes
9657 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9659 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
9660 keyboard event moved it. Create a new graphics context for each paint resolves this
9662 2004-12-17 Geoff Norton <gnorton@customerdna.com>
9664 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
9665 Make caret exist and go blink blink. Initial keyboard support.
9666 Fix exception handler, Add Invalidate support. Change way RefreshWindow
9669 2004-12-17 Jackson Harper <jackson@ximian.com>
9671 * XplatUIStructs.cs: Updated set of virtual keycodes.
9672 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
9674 2004-12-17 Jackson Harper <jackson@ximian.com>
9676 * XplatUIX11.cs: Prune old keyboard code.
9678 2004-12-17 Jackson Harper <jackson@ximian.com>
9680 * XplatUIX11.cs: When generating mouse wparams get the modifier
9681 keys from the ModifierKeys property.
9683 2004-12-17 Jackson Harper <jackson@ximian.com>
9685 * X11Keyboard.cs: Send up/down input when generating
9686 messages. Remove some unused vars.
9688 2004-12-17 Jackson Harper <jackson@ximian.com>
9691 * TreeView.cs: get rid of warnings.
9693 2004-12-17 Jackson Harper <jackson@ximian.com>
9695 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
9697 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
9699 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
9700 CheckedListBox.cs: Implementation
9702 2004-12-17 Peter Bartok <pbartok@novell.com>
9704 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
9706 2004-12-16 Peter Bartok <pbartok@novell.com>
9709 - InsertCharAtCaret(): Fixed start pos fixup
9710 - CaretLine_get: No longer derives the line from the tag, the tag
9711 could be stale if lines in the document have been added or deleted
9712 - RebalanceAfterDelete(): Fixed bug in balancing code
9713 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
9714 - Line.Streamline(): Now can also elminate leading empty tags
9715 - DumpTree(): Added a few more tests and prevented exception on
9717 - Added Debug section for Combining lines
9718 - Delete(): Now copies all remaining properties of a line
9721 - Left mousebutton now sets the caret (and middle button still acts
9722 as formatting tester, which must go away soon)
9723 - Added Debug section for Deleting/Combining lines
9724 - Fixed calculations for UpdateView after Combining lines
9726 2004-12-16 Peter Bartok <pbartok@novell.com>
9728 * TextControl.cs: Now properly aligns text on a baseline, using the
9729 new XplatUI.GetFontMetrics() method. Simplified several calculations
9730 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
9733 2004-12-16 Peter Bartok <pbartok@novell.com>
9735 * XplatUI.cs: Added GetFontMetrics() method
9736 * XplatUIDriver.cs: Added GetFontMetrics() abstract
9737 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
9738 into libgdiplus, our private GetFontMetrics function
9739 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
9740 * XplatUIWin32.cs: Implemented GetFontMetrics() method
9742 2004-12-16 Jackson Harper <jackson@ximain.com>
9744 * XplatUIStruct.cs: Add enum for dead keys
9745 * X11Keyboard.cs: Map and unmap dead keys.
9747 2004-12-16 Jackson Harper <jackson@ximian.com>
9749 * X11Keyboard.cs: Detect and use the num lock mask.
9751 2004-12-16 Peter Bartok <pbartok@novell.com>
9753 * Control.cs (CreateGraphics): Added check to make sure the
9754 handle of the window exists before calling Graphics.FromHwnd()
9756 2004-12-16 Peter Bartok <pbartok@novell.com>
9758 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
9759 contains a lot of code that's not supposed to be there for the
9760 real thing, but required for developing/testing the textbox
9763 2004-12-16 Peter Bartok <pbartok@novell.com>
9766 - Fixed Streamline method
9767 - Added FindTag method to Line
9768 - Added DumpTree method for debugging
9769 - Added DecrementLines() method for deleting lines
9770 - Fixed UpdateView to update the cursor to end-of-line on single-line
9772 - Added PositionCaret() method
9773 - Fixed MoveCaret(LineDown) to move into the last line, too
9774 - Added InsertChar overload
9775 - Fixed InsertChar tag offset calculations
9776 - Added DeleteChar() method
9777 - Added Combine() method for folding lines
9778 - Fixed Delete() method, no longer allocates wasted Line object and
9779 now copies all properties when swapping nodes
9780 - Delete() method now updates document line counter
9782 2004-12-15 Jackson Harper <jackson@ximian.com>
9784 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
9785 * X11Keyboard.cs: Expose the currently selected modifier keys
9788 2004-12-15 Peter Bartok <pbartok@novell.com>
9790 * TextControl.cs: Initial check-in. Still incomplete
9792 2004-12-15 Jackson Harper <jackson@ximian.com>
9795 * TreeView.cs: Fix build on csc (second time today ;-))
9797 2004-12-15 Jackson Harper <jackson@ximian.com>
9799 * TreeView.cs: Store the treenodes plus/minus box bounds when it
9800 is calculated and use this for click testing.
9801 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
9803 2004-12-15 Jackson Harper <jackson@ximian.com>
9805 * TreeView.cs: Pass the nodes image index to the image list when
9808 2004-12-15 Jackson Harper <jackson@ximian.com>
9810 * X11Keyboard.cs: Set messages hwnd.
9811 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
9814 2004-12-15 Jackson Harper <jackson@ximian.com>
9816 * X11Keyboard.cs: Fix to compile with csc.
9818 2004-12-15 Jackson Harper <jackson@ximian.com>
9820 * X11Structs.cs: Add key mask values
9821 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
9822 * X11Keyboard.cs: New file - Extrapolates and interpolates key
9823 down/up foo into WM_CHAR foo
9824 * KeyboardLayouts.cs: Common keyboard layouts
9825 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
9826 post messages into the main queue.
9828 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
9830 * Button.cs: implement ProcessMnemonic
9831 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
9833 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
9834 * ButtonBase.cs: Show HotkeyPrefix (not the &)
9836 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
9838 * MonthCalendar.cs: Implemented click-hold for next/previous month
9841 2004-12-11 Peter Bartok <pbartok@novell.com>
9844 - Added XKeyboardState (moved from XplatUIX11.cs)
9845 - Added XCreateGC related enums and structures
9846 - Added GXFunction for XSetFunction
9848 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
9850 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
9851 CaretVisible() calls
9853 * ToolTip.cs: Added code to prevent stealing focus from app windows
9855 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
9856 DestroyCaret, SetCaretPos and CaretVisible)
9859 - Added implementation for caret functions
9860 - Moved hover variables into a struct, to make it a bit easier
9861 on the eyes and to debug
9862 - Removed XKeyboardState (moved to XplatUIX11.cs)
9863 - Moved Keyboard properties into the properties region
9865 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
9866 call to get a graphics context for our control
9868 * XplatUIOSX.cs: Added empty overrides for the new caret functions
9870 * TreeView.cs: Fixed bug. No matter what color was set it would always
9871 return SystemColors.Window
9873 * XplatUIWin32.cs: Implemented caret overrides
9875 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
9877 * ListBox.cs: fire events, implement missing methods and properties,
9880 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
9882 * MonthCalendar.cs: invalidation bug fixing
9883 * ThemeWin32Classic.cs: paint fixing
9885 2004-12-09 Geoff Norton <gnorton@customerdna.com>
9887 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
9888 prepare the CGContextRef there now.
9890 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
9893 - optimisationL only invalidate areas that have changed
9894 * ThemeWin32Classic.cs:
9895 - only paint parts that intersect with clip_area
9897 2004-12-09 Peter Bartok <pbartok@novell.com>
9899 * Application.cs: Undid changes from r37004 which cause problems
9902 2004-12-09 Ravindra <rkumar@novell.com>
9904 * ToolBar.cs: Added support for displaying ContextMenu
9905 attached to a button on ToolBar.
9906 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
9909 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9911 * Label.cs: autosize works in text change and removes unnecessary
9914 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
9916 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9919 2004-12-08 Geoff Norton <gnorton@customerdna.com>
9921 * XplatUIOSX.cs: Added mouse move/click/grab support
9922 Remove some debugging WriteLines not needed anymore.
9923 Add window resizing/positioning.
9924 Fix visibility on reparenting.
9926 2004-12-08 Peter Bartok <pbartok@novell.com>
9928 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
9930 2004-12-07 Geoff Norton <gnorton@customerdna.com>
9932 * XplatUIOSX.cs: Initial checkin
9933 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
9935 2004-12-03 Ravindra <rkumar@novell.com>
9937 * ListView.cs: Added some keybindings and fixed scrolling.
9938 ScrollBars listen to ValueChanged event instead of Scroll
9939 Event. This would let us take care of all changes being
9940 done in the scrollbars' values programmatically or manually.
9941 * ListView.cs (CanMultiselect): Added a check for shift key.
9942 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
9943 * ListViewItem.cs (Clone): Fixed. We need to make a copy
9944 of ListViewSubItemCollection as well.
9946 2004-12-06 Peter Bartok <pbartok@novell.com>
9948 * Control.cs (Parent): Added check and exception to prevent
9951 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
9953 * ListBox.cs: implemented clipping, selection single and multiple,
9956 2004-12-03 Ravindra <rkumar@novell.com>
9958 * ListView.cs (ListView_KeyDown):
9959 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
9960 when CTRL key is pressed.
9961 * ListViewItem.cs (Selected): Fixed setting the property.
9963 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9965 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
9967 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
9968 MinimizeBox, ShowInTaskbar, TopMost properties.
9970 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
9971 will be implemented).
9973 2004-12-03 Marek Safar <marek.safar@seznam.cz>
9975 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
9977 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
9980 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
9982 * TreeView.cs: BackColor is Colors.Window.
9984 2004-12-01 Jackson Harper <jackson@ximian.com>
9986 * TreeView.cs: When resizing the tree if the user is making it
9987 smaller we don't get expose events, so we need to handle adding
9988 the horizontal scrollbar in the size changed handler as well as
9991 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
9993 * DrawItemState.cs: fixes wrong enum values
9995 2004-12-01 Jackson Harper <jackson@ximian.com>
9997 * TreeView.cs: Resize the hbar as well as the vbar on resize.
9999 2004-12-01 Jackson Harper <jackson@ximian.com>
10001 * NodeLabelEditEventArgs.cs:
10002 * NodeLabelEditEventHandler.cs:
10003 * OpenTreeNodeEnumerator.cs:
10005 * TreeNodeCollection.cs:
10007 * TreeViewAction.cs:
10008 * TreeViewCancelEventArgs.cs:
10009 * TreeViewCancelEventHandler.cs:
10010 * TreeViewEventArgs.cs:
10011 * TreeViewEventHandler.cs: Initial implementation.
10013 2004-12-01 Ravindra <rkumar@novell.com>
10015 * ListView.cs (CalculateListView): Fixed scrolling related
10016 calculations. Also, removed some debug statements from other
10018 * ListViewItem.cs: Changed access to 'selected' instance variable
10019 from private to internal.
10020 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10022 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10024 * ThemeWin32Classic.cs: remove cache of brush and pens for
10025 specific controls and use the global system, fixes scrollbutton
10026 bugs (for small sizes, disabled, etc)
10028 * ScrollBar.cs: does not show the thumb for very small controls
10029 (as MS) and allow smaller buttons that the regular size
10031 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10033 * UpDownBase.cs: Add abstract methods for the interface.
10034 Add new virtual methods (need to be hooked up to TextEntry when it
10036 Add override methods for most features.
10037 Computes the size, forces the height of the text entry.
10039 * NumericUpDown.cs: Put here the current testing code.
10041 * Set eol-style property on all files that do not have mixed line
10042 endings, to minimize the future problems. There are still a few
10043 files with mixed endings, and someone should choose whether they
10044 want to move it or not.
10046 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10048 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10051 2004-11-30 Ravindra <rkumar@novell.com>
10053 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10054 drawing and replaced use of SystemColors by theme colors.
10055 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10056 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10057 same ListViewItem is being added more than once.
10059 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10061 * MonthCalendar.cs:
10062 - ControlStyles love to make the control not flicker
10064 2004-11-30 Peter Bartok <pbartok@novell.com>
10066 * CharacterCasing.cs: Added
10068 2004-11-29 Peter Bartok <pbartok@novell.com>
10070 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10071 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10072 I am removing these files as they conflict with already completed
10073 work. While it is fantastic to get contributions to MWF, I
10074 respectfully ask that everyone please coordinate their contributions
10075 through mono-winforms-list or #mono-winforms at this time. We're
10076 explicitly avoiding stubbing and don't want controls that don't have
10077 their basic functionality implemented in svn. Please also see
10078 http://www.mono-project.com/contributing/winforms.html
10081 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10083 * Application.cs (ModalRun): Don't hang after exit.
10085 * Theme.cs: New TreeViewDefaultSize property.
10087 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10088 with less hardcoded SystemColors constant.
10089 Implemented TreeViewDefaultSize.
10091 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10092 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10095 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10097 * MonthCalendar.cs:
10098 - Fix NextMonthDate and PrevMonthDate click moving calendar
10100 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10102 * MonthCalendar.cs:
10103 - Fix usage of ScrollChange Property when scrolling months
10105 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10107 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10108 - Fixes menu destroying
10109 - Support adding and removing items on already created menus
10111 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10113 * MonthCalendar.cs:
10114 - Re-worked all bolded dates handling to match win32
10115 * ThemeWin32Classic.cs:
10116 - Fixed rendering with bolded dates
10118 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10120 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10121 - Horizontal scroolbar
10126 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10128 * MonthCalendar.cs:
10129 - Fix Usage of MaxSelectionCount from SelectionRange
10130 - Fixed Shift + Cursor Selection
10131 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10132 - Fixed normal cursor selection to be compat with win32
10133 - Fixed Shift + Mouse Click selection
10135 2004-11-24 Peter Bartok <pbartok@novell.com>
10137 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10138 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10140 - CreatedKeyBoardMsg now updates keystate with Alt key
10141 - Added workaround for timer crash to CheckTimers, Jackson will
10142 develop a proper fix and check in later
10143 - Implemented DispatchMessage
10144 - Removed calling the native window proc from GetMessage (call
10145 now moved to DispatchMessage)
10147 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10148 the keydata (Fixes bug #69831)
10151 - (DispatchMessage): Switched to return IntPtr
10152 - Added DllImport for SetFocus
10154 2004-11-24 Ravindra <rkumar@novell.com>
10156 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10157 background drawing.
10158 * ListViewItem.cs: Fixed various properties, calculations
10159 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10160 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10161 and some internal properties. Fixed MouseDown handler and Paint
10164 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10166 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10168 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10170 * ContainerControl.cs: correct accidental check in of local changes
10172 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10174 * ThemeWin32Classic.cs:
10175 - Fixed Drawing Last month in grid (sometimes not showing)
10176 * MonthCalendar.cs:
10177 - Fixed title width calculation bug (makeing title small)
10179 2004-11-23 Peter Bartok <pbartok@novell.com>
10182 - Added generation of WM_MOUSEHOVER event
10183 - Added missing assignment of async_method atom
10184 - Fixed WM_ERASEBKGND; now only redraws the exposed area
10186 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10188 * ThemeWin32Classic.cs:
10189 - Fixed Drawing of today circle when showtodaycircle not set
10190 - fixed drawing of first and last month in the grid (gay dates)
10191 * MonthCalendar.cs:
10192 - Fixed Drawing of today circle
10193 - Fixed drawing of grady dates
10194 - Fixed HitTest for today link when ShowToday set to false
10195 - Fixed DefaultSize to obey ShowToday
10197 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
10199 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
10200 * System.Windows.Forms/Theme.cs
10201 * MonthCalendar.cs: added for MonthCalendar
10202 * SelectionRange.cs: added for MonthCalendar
10203 * Day.cs: added for MonthCalendar: added for MonthCalendar
10204 * DateRangeEventArgs.cs: added for MonthCalendar
10205 * DateRangeEventHandler.cs: added for MonthCalendar
10207 2004-11-22 Ravindra <rkumar@novell.com>
10209 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
10212 2004-11-22 Miguel de Icaza <miguel@ximian.com>
10214 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
10217 * NumericUpDown.cs: Added new implementation.
10218 * UpDownBase.cs: Added new implementation.
10220 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
10223 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
10226 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
10229 2004-11-21 Miguel de Icaza <miguel@ximian.com>
10231 * Timer.cs (Dispose): Should call the base dispose when
10234 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10236 * ScrollBar.cs: updates thumb position when max, min or increment
10239 2004-11-21 Ravindra <rkumar@novell.com>
10241 * ListView.cs: Implemented item selection, activation and
10242 column header style. Fixed properties to do a redraw, if
10243 required. Added support for MouseHover, DoubleClick, KeyDown
10244 and KeyUp event handling and some minor fixes.
10245 * ListViewItem.cs: Fixed constructor.
10246 * ThemeWin32Classic.cs: Improved drawing for ListView.
10248 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
10250 * ThemeWin32Classic.cs: initial listbox drawing code
10251 * DrawMode.cs: new enumerator
10252 * ListControl.cs: stubbed class
10253 * ListBox.cs: initial implementation
10254 * Theme.cs: new methods definitions
10255 * SelectionMode.cs: new enumerator
10257 2004-11-17 Peter Bartok <pbartok@novell.com>
10259 * XplatUIWin32.cs: Added double-click events to the class style
10260 * Control.cs (WndProc):
10261 - Added handling of click-count to MouseDown/ MouseUp events.
10262 - Added handling of middle and right mouse buttons
10263 - Removed old debug code
10265 2004-11-17 Jackson Harper <jackson@ximian.com>
10267 * XplatUIX11.cs: Use the new Mono.Unix namespace.
10269 2004-11-17 Ravindra <rkumar@novell.com>
10271 * ListView.cs: Added event handling for MouseMove/Up/Down.
10272 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
10273 * ThemeWin32Classic.cs: We need to clear the graphics context and
10274 draw column header in a proper state.
10277 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
10279 * Menu.cs: fixes signature
10281 2004-11-16 Peter Bartok <pbartok@novell.com>
10283 * XplatUIX11.cs (GetMessage): Implemented generation of
10284 double click mouse messages
10286 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
10288 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
10291 2004-11-11 Peter Bartok <pbartok@novell.com>
10293 * HandleData.cs: Added Visible property
10294 * XplatUIX11.cs (IsVisible): Now uses Visible property from
10296 * XplatUIX11.cs: Removed old debug leftovers
10297 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
10298 * Control.cs (WndProc): Removed old debug leftovers,
10299 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
10300 needed WM_SIZE handling
10302 2004-11-11 Jackson Harper <jackson@ximian.com>
10304 * OwnerDrawPropertyBag.cs:
10305 * TreeViewImageIndexConverter.cs: Initial implementation
10307 2004-11-10 Jackson Harper <jackson@ximian.com>
10309 * ThemeWin32Classic.cs:
10310 * TabControl.cs: instead of moving tabs by the slider pos just
10311 start drawing at the tab that is offset by the slider. This way
10312 scrolling always moves by exactly one tab.
10314 2004-11-10 Jackson Harper <jackson@ximian.com>
10316 * TabControl.cs: You can only scroll left when the slider has
10317 already ben moved right.
10319 2004-11-10 Jackson Harper <jackson@ximian.com>
10321 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
10324 2004-11-10 Jackson Harper <jackson@ximian.com>
10326 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
10329 2004-11-09 Jackson Harper <jackson@ximian.com>
10331 * TabControl.cs (CalcXPos): New helper method so we can determine
10332 the proper place to start drawing vertical tabs.
10333 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
10335 2004-11-09 Jackson Harper <jackson@ximian.com>
10337 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
10338 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
10339 and Bottom, left and right are illegal values for this and
10340 multiline is enabled when the alignment is set to left or right.
10341 (DrawTab): Each alignment block should draw the text itself now
10342 because Left requires special love. Also add rendering for Left
10345 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
10347 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
10348 does not destroy the windows, removes debugging messages
10350 2004-11-09 jba <jba-mono@optusnet.com.au>
10352 * ThemeWin32Classic.cs
10353 (DrawButtonBase): Fix verticle text rect clipping in windows
10354 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10355 rendering and incorrect text rect clipping
10356 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
10357 rendering and incorrect text rect clipping
10359 2004-11-08 Jackson Harper <jackson@ximian.com>
10361 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
10362 bottom when they are bottom aligned so the bottoms of the tabs get
10364 * TabControl.cs (DropRow): Move rows up instead of down when the
10365 tab control is bottom aligned.
10367 2004-11-08 13:59 pbartok
10370 - Added handling for various window styles
10371 - Added handling for popup windows
10372 - Added SetTopmost handling
10374 2004-11-08 13:55 pbartok
10377 - Added argument to SetTopmost method
10378 - Fixed broken ClientToScreen function
10380 2004-11-08 13:53 pbartok
10382 * XplatUIStructs.cs:
10383 - Added missing WS_EX styles
10385 2004-11-08 13:53 pbartok
10387 * XplatUI.cs, XplatUIDriver.cs:
10388 - Added argument to SetTopmost
10390 2004-11-08 13:52 pbartok
10393 - Added XSetWindowAttributes structure
10394 - Improved XWindowAttributes structure
10395 - Added SetWindowValuemask enum
10396 - Added window creation arguments enum
10397 - Added gravity enum
10398 - Added Motif hints structure
10399 - Added various Motif flags and enums
10400 - Added PropertyMode enum for property functions
10402 2004-11-08 13:50 pbartok
10405 - Fixed arguments for updated SetTopmost method
10407 2004-11-08 13:49 pbartok
10410 - Fixed arguments for updated SetTopmost function
10411 - Fixed usage of PointToClient
10413 2004-11-08 13:44 pbartok
10416 - Added Clipping of children and siblings
10418 2004-11-08 13:41 pbartok
10421 - Removed SetMenuBarWindow call. We do this in Form.cs
10423 2004-11-08 13:40 jackson
10425 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
10426 scrolling jimmi in the correct location with bottom aligned tabs
10428 2004-11-08 13:36 pbartok
10430 * ContainerControl.cs:
10431 - Implemented BindingContext
10432 - Implemented ParentForm
10434 2004-11-08 12:46 jackson
10436 * TabControl.cs: Put bottom rendered tabs in the right location
10438 2004-11-08 07:15 jordi
10440 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
10443 2004-11-05 17:30 jackson
10445 * TabControl.cs: When selected tabs are expanded make sure they
10446 don't go beyond the edges of the tab control
10448 2004-11-05 14:57 jackson
10450 * TabControl.cs: Reset show_slider so if the control is resized to
10451 a size where it is no longer needed it's not displayed anymore
10453 2004-11-05 13:16 jackson
10455 * TabControl.cs: Make tab pages non visible when added to the
10458 2004-11-05 12:42 jackson
10460 * TabControl.cs: Implement SizeMode.FillToRight
10462 2004-11-05 12:16 jackson
10464 * Control.cs: Do not call CreateHandle if the handle is already
10467 2004-11-05 11:46 jackson
10469 * TabControl.cs: Remove superflous call to CalcTabRows
10471 2004-11-05 09:07 jackson
10473 * XplatUIX11.cs: Update for Mono.Posix changes
10475 2004-11-05 07:00 ravindra
10477 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
10480 2004-11-04 22:47 jba
10482 * ThemeWin32Classic.cs:
10483 - Fix Button rendering for FlatStyle = Flat or Popup
10484 - Fix RadioButton and CheckBox rendering when Appearance = Button
10485 (normal and flatstyle).
10486 - Correct outer rectangle color when drawing focus rectangle
10487 - Adjust button bounds to be 1 px smaller when focused
10488 - Make button not draw sunken 3d border when pushed (windows compat)
10489 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
10490 - Offset the text in RadioButton and Checkbox when being rendered as
10492 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
10494 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
10495 - Fixed disabled text rendering for normally rendered radiobuttons
10497 2004-11-04 10:26 jackson
10499 * TabControl.cs: Recalculate tab rows when resizing
10501 2004-11-04 07:47 jordi
10503 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
10504 collection completion, drawing issues, missing features
10506 2004-11-04 05:03 ravindra
10509 - We need to recalculate the Thumb area when
10510 LargeChange/maximum/minimum values are changed.
10511 - We set the 'pos' in UpdatePos() method to minimum, if it's less
10512 than minimum. This is required to handle the case if large_change is
10513 more than max, and use LargeChange property instead of large_change
10515 - We return max+1 when large_change is more than max, like MS does.
10517 2004-11-04 04:29 ravindra
10519 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
10520 - Changed default value signatures (prefixed all with ListView).
10521 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
10523 - Fixed calculations for ListViewItem and implemented Clone()
10526 2004-11-04 04:26 ravindra
10528 * Theme.cs, ThemeWin32Classic.cs:
10529 - Changed default ListView values signatures (prefixed all with
10531 - Fixed default size values for VScrollBar and HScrollBar.
10532 - Fixed DrawListViewItem method.
10534 2004-11-04 04:05 ravindra
10536 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
10538 2004-11-04 04:04 ravindra
10540 * ImageList.cs: Implemented the missing overload for Draw method.
10542 2004-11-03 19:29 jackson
10544 * TabControl.cs: Handle dropping rows on selection properly
10546 2004-11-03 11:59 jackson
10548 * TabControl.cs: remove debug code
10550 2004-11-03 11:52 jackson
10552 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
10553 the scrolly widgerywoo
10555 2004-11-02 13:52 jackson
10557 * TabControl.cs: Resize the tab pages and tabs when the tab control
10560 2004-11-02 13:40 jackson
10562 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
10563 selected tab to the bottom
10565 2004-11-02 13:39 jackson
10567 * TabPage.cs: Store the tab pages row
10569 2004-11-02 12:33 jordi
10571 * MenuItem.cs: fixes handle creation
10573 2004-11-02 11:42 jackson
10575 * TabControl.cs: signature fix
10577 2004-11-02 08:56 jackson
10579 * TabControl.cs: Calculate whether the tab is on an edge properly.
10580 Remove top secret debugging code
10582 2004-11-01 19:57 jackson
10584 * TabControl.cs: Add click handling, and proper sizing
10586 2004-11-01 19:47 jackson
10588 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
10591 2004-11-01 19:39 jackson
10593 * TabPage.cs: add internal property to store the bounds of a tab
10596 2004-10-30 04:23 ravindra
10598 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
10601 2004-10-30 04:21 ravindra
10603 * ListView.cs, ListViewItem.cs: Added support for scrolling and
10604 fixed calculations.
10606 2004-10-30 03:06 pbartok
10609 - Removed extension of DllImported libs
10611 2004-10-29 09:55 jordi
10613 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
10614 navigation, itemcollection completion, menu fixes
10616 2004-10-27 22:58 pbartok
10619 - Now throws a nice error message when no X display could be opened
10621 2004-10-26 13:51 jordi
10623 * ListView.cs: removes warning
10625 2004-10-26 03:55 ravindra
10627 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
10628 ThemeWin32Classic.cs: Some formatting for my last checkins.
10630 2004-10-26 03:36 ravindra
10632 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
10633 control and default values.
10635 2004-10-26 03:35 ravindra
10637 * Theme.cs: Added some default values for ListView control.
10639 2004-10-26 03:33 ravindra
10641 * ToolBar.cs: ToolBar should use the user specified button size, if
10642 there is any. Added a size_specified flag for the same.
10644 2004-10-26 03:33 ravindra
10646 * ColumnHeader.cs: Added some internal members and calculations for
10649 2004-10-26 03:32 ravindra
10651 * ListViewItem.cs: Calculations for ListViewItem.
10653 2004-10-26 03:31 ravindra
10655 * ListView.cs: Added some internal members and calculations for
10658 2004-10-22 13:31 jordi
10660 * MenuAPI.cs: speedup menus drawing
10662 2004-10-22 13:16 jackson
10664 * XplatUIX11.cs: Make sure to update exposed regions when adding an
10667 2004-10-22 11:49 jackson
10671 2004-10-22 11:41 jackson
10673 * Control.cs: Check to see if the window should have its background
10674 repainted by X when drawing.
10676 2004-10-22 11:31 jackson
10678 * XplatUIX11.cs: When invalidating areas only use XClearArea if
10679 clear is true, this way we do not get flicker from X repainting the
10682 2004-10-22 11:28 jackson
10684 * XEventQueue.cs: Queue properly
10686 2004-10-21 09:38 jackson
10688 * XEventQueue.cs: Fix access modifier
10690 2004-10-21 09:36 jackson
10692 * XEventQueue.cs: Don't loose messages
10694 2004-10-21 09:22 jackson
10696 * XEventQueue.cs: Don't loose messages
10698 2004-10-20 04:15 jordi
10700 * BootMode.cs: enum need it by SystemInfo
10702 2004-10-19 21:58 pbartok
10705 - Small sanity check
10707 2004-10-19 21:56 pbartok
10710 - Added private FormParentWindow class which acts as the container
10711 for our form and as the non-client area where menus are drawn
10712 - Added/Moved required tie-ins to Jordi's menus
10713 - Fixed/Implemented the FormStartPosition functionality
10715 2004-10-19 21:52 pbartok
10718 - Removed unneeded locals
10719 - Added code to all size and location properties to understand and
10720 deal with the parent container of Form
10722 2004-10-19 21:33 pbartok
10725 - Fixed to deal with new Form subclasses for menus
10727 2004-10-19 17:48 jackson
10729 * XEventQueue.cs: commit correct version of file
10731 2004-10-19 16:50 jackson
10733 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
10735 2004-10-19 16:15 jordi
10737 * MenuAPI.cs: MenuBarCalcSize returns the height
10739 2004-10-19 08:31 pbartok
10742 - Added missing call to PreProcessMessage before calling OnXXXKey
10745 2004-10-19 00:04 ravindra
10747 * ToolTip.cs: Fixed constructor.
10749 2004-10-18 09:31 jordi
10751 * MenuAPI.cs: menuitems in menubars do not have shortcuts
10753 2004-10-18 09:26 jordi
10755 * MenuItem.cs: fixes MenuItem class signature
10757 2004-10-18 08:56 jordi
10759 * MenuAPI.cs: prevents windows from showing in the taskbar
10761 2004-10-18 00:28 ravindra
10763 * ToolTip.cs: Suppressed a warning message.
10765 2004-10-18 00:27 ravindra
10767 * Control.cs: Default value of visible property must be true.
10769 2004-10-17 23:19 pbartok
10772 - Complete implementation
10774 2004-10-17 23:19 pbartok
10777 - Added EnableWindow method
10778 - Added SetModal stub
10779 - Added generation of WM_ACTIVATE message (still needs testing)
10780 - Added SetTopMost stub
10781 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
10783 2004-10-17 23:17 pbartok
10786 - Removed VirtualKeys to XplatUIStructs
10787 - Implemented SetTopMost method
10788 - Implemented EnableWindow method
10789 - Bugfix in ScreenToClient()
10790 - Bugfixes in ClientToScreen()
10792 2004-10-17 22:51 pbartok
10794 * XplatUIStructs.cs:
10795 - Added WS_EX styles to WindowStyles enumeration
10797 2004-10-17 22:50 pbartok
10799 * XplatUI.cs, XplatUIDriver.cs:
10800 - Added method for enabling/disabling windows
10801 - Added method for setting window modality
10802 - Added method for setting topmost window
10804 2004-10-17 22:49 pbartok
10806 * ThemeWin32Classic.cs:
10807 - Added ToolTip drawing code
10809 2004-10-17 22:49 pbartok
10812 - Added ToolTip abstracts
10814 2004-10-17 22:47 pbartok
10817 - Fixed Form.ControlCollection to handle owner relations
10818 - Added Owner/OwnedForms handling
10819 - Implemented Z-Ordering for owned forms
10820 - Removed unneeded private overload of ShowDialog
10821 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
10823 - Fixed Close(), had wrong default
10824 - Added firing of OnLoad event
10825 - Added some commented out debug code for Ownership handling
10827 2004-10-17 22:16 pbartok
10830 - Fixed/implemented flat list of controls
10832 2004-10-17 22:14 pbartok
10835 - Added code to simulate modal dialogs on Win32
10837 2004-10-17 16:11 jordi
10839 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
10842 2004-10-17 13:39 jordi
10844 * MenuAPI.cs: menu drawing fixes
10846 2004-10-15 09:10 ravindra
10848 * StructFormat.cs: General Enum.
10850 2004-10-15 09:09 ravindra
10852 * SizeGripStyle.cs: Enum for Form.
10854 2004-10-15 09:08 ravindra
10856 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
10857 in Theme for ListView.
10859 2004-10-15 09:06 ravindra
10861 * ColumnHeader.cs: Flushing some formatting changes.
10863 2004-10-15 09:05 ravindra
10865 * ListViewItem.cs: Implemented GetBounds method and fixed coding
10868 2004-10-15 09:03 ravindra
10870 * ListView.cs: Implemented Paint method and fixed coding style.
10872 2004-10-15 07:34 jordi
10874 * MenuAPI.cs: fix for X11
10876 2004-10-15 07:32 ravindra
10878 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
10879 - Renamed Paint() method to Draw() for clarity. Also, moved
10880 DrawImage() to OnPaint().
10882 2004-10-15 07:25 ravindra
10884 * CheckBox.cs, RadioButton.cs:
10885 - Removed Redraw (), we get it from ButtonBase.
10886 - Implemented Paint (), to do class specific painting.
10888 2004-10-15 07:16 ravindra
10891 - Redraw () is not virtual now.
10892 - Added an internal virtual method Paint (), so that
10893 derived classes can do their painting on their own.
10894 - Modified OnPaint () to call Paint ().
10896 2004-10-15 06:43 jordi
10898 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
10899 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
10901 2004-10-15 00:30 ravindra
10904 - MessageBox on windows does not have min/max buttons.
10905 This change in CreateParams fixes this on Windows. We
10906 still need to implement this windowstyle behavior in
10909 2004-10-14 05:14 ravindra
10912 - Changed Redraw () to do a Refresh () always.
10913 - Fixed the MouseMove event handling when mouse is pressed,
10914 ie drag event handling.
10915 - Replaced the usage of ToolBarButton.Pressed property to
10916 ToolBarButton.pressed internal variable.
10918 2004-10-14 05:10 ravindra
10920 * ToolBarButton.cs:
10921 - Added an internal member 'inside' to handle mouse move
10922 with mouse pressed ie mouse drag event.
10923 - Changed 'Pressed' property to return true only when
10924 'inside' and 'pressed' are both true.
10925 - Some coding style love.
10927 2004-10-14 00:17 ravindra
10929 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
10932 2004-10-14 00:15 ravindra
10934 * ButtonBase.cs: Redraw () related improvements.
10936 2004-10-14 00:14 ravindra
10938 * MessageBox.cs: Moved InitFormSize () out of Paint method and
10939 removed unnecessary calls to Button.Show () method.
10941 2004-10-13 17:50 pbartok
10945 - Removed destroying of window until we solve the problem of X
10946 destroying the window before us on shutdown
10948 2004-10-13 16:32 pbartok
10951 - Now Redraws on MouseUp for FlatStyle Flat and Popup
10953 2004-10-13 14:18 pbartok
10956 - Added code to destroy the X window
10958 2004-10-13 14:18 pbartok
10961 - Added code to destroy a window
10963 2004-10-13 14:12 pbartok
10966 - Added the Redraw on Resize that got dropped in the last rev
10968 2004-10-13 09:06 pbartok
10970 * ThemeWin32Classic.cs:
10971 - Path from John BouAntoun:
10972 * Fix check rendering (centre correctly for normal style, offset
10973 correctly for FlatStyle).
10974 * Fix border color usage (use backcolor) for FlatStyle.Popup
10975 * Use checkbox.Capture instead of checkbox.is_pressed when
10976 rendering flatstyle states.
10978 2004-10-12 21:48 pbartok
10980 * ThemeWin32Classic.cs:
10981 - Removed all occurences of SystemColors and replaced them with the
10982 matching theme color
10984 2004-10-12 21:41 pbartok
10986 * ThemeWin32Classic.cs:
10987 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
10988 him using the function for flatstyle drawing
10989 - Changed functions to use the new version of CPDrawBorder3D
10991 2004-10-12 21:15 pbartok
10994 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
10995 match MS documentation. They need to return defined colors if the
10996 passed color matches the configured control color. Thanks to John
10997 BouAntoun for pointing this out.
10999 2004-10-12 20:57 pbartok
11002 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11005 2004-10-12 20:46 pbartok
11008 - Fix from John BouAntoun: Now properly sets the Appearance property
11010 2004-10-12 20:45 pbartok
11012 * ThemeWin32Classic.cs:
11013 - Fixes from John BouAntoun: now handles forecolors and backcolors
11014 for flatstyle rendered controls much better; It also fixes normal
11015 checkbox rendering when pushed or disabled.
11017 2004-10-08 02:50 jordi
11019 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11022 2004-10-07 08:56 jordi
11024 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11026 2004-10-06 03:59 jordi
11028 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11029 XplatUIWin32.cs: removes warnings from compilation
11031 2004-10-05 12:23 jackson
11033 * RadioButton.cs: Fix ctor
11035 2004-10-05 11:10 pbartok
11038 - Partial implementation by Benjamin Dasnois
11040 2004-10-05 10:15 jackson
11042 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11045 2004-10-05 03:07 ravindra
11048 - Removed a private method, Draw ().
11049 - Fixed the ButtonDropDown event handling.
11050 - Fixed MouseMove event handling.
11052 2004-10-05 03:04 ravindra
11054 * ThemeWin32Classic.cs:
11055 - Added DrawListView method and ListViewDefaultSize property.
11056 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11057 - Changed DOS style CRLF to Unix format (dos2unix).
11059 2004-10-05 03:03 ravindra
11062 - Added DrawListView method and ListViewDefaultSize property.
11064 2004-10-05 02:42 ravindra
11066 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11067 clicks on DropDown arrow.
11069 2004-10-04 22:56 jackson
11071 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11072 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11073 Control handle the buffers, derived classes should not have to
11074 CreateBuffers themselves.
11076 2004-10-04 21:20 jackson
11078 * StatusBar.cs: The control handles resizing the buffers now.
11080 2004-10-04 21:18 jackson
11082 * Control.cs: When resizing the buffers should be invalidated. This
11083 should be handled in Control not in derived classes.
11085 2004-10-04 14:45 jackson
11089 2004-10-04 02:14 pbartok
11091 * LeftRightAlignment.cs:
11094 2004-10-04 01:09 jordi
11096 * ThemeWin32Classic.cs: fixes right button position causing right
11097 button not showing on horizontal scrollbars
11099 2004-10-02 13:12 pbartok
11102 - Simplified the Invalidate method by using an X call instead of
11103 generating the expose ourselves
11104 - Added an expose when the window background is changed
11105 - Implemented ClientToScreen method
11107 2004-10-02 13:08 pbartok
11110 - Added Win32EnableWindow method (test for implementing modal
11112 - Added ClientToScreen method and imports
11114 2004-10-02 13:07 pbartok
11116 * XplatUI.cs, XplatUIDriver.cs:
11117 - Added ClientToScreen coordinate translation method
11119 2004-10-02 13:06 pbartok
11121 * KeyPressEventArgs.cs:
11122 - Fixed access level for constructor
11124 2004-10-02 13:06 pbartok
11127 - Changed access level for the window_collection hash table
11129 2004-10-02 13:05 pbartok
11132 - Added KeyPreview property
11133 - Added Menu property (still incomplete, pending Jordi's menu work)
11134 - Implemented ProcessCmdKey
11135 - Implemented ProcessDialogKey
11136 - Implemented ProcessKeyPreview
11138 2004-10-02 13:02 pbartok
11141 - Added private method to get the Control object from the window
11143 - Implemented ContextMenu property
11144 - Implemented PointToScreen
11145 - Implemented PreProcessMessage
11146 - Implemented IsInputChar
11147 - Implemented IsInputKey
11148 - Implemented ProcessCmdKey
11149 - Completed ProcessKeyEventArgs
11150 - Fixed message loop to call the proper chain of functions on key
11152 - Implemented ProcessDialogChar
11153 - Implemented ProcessDialogKey
11154 - Implemented ProcessKeyMessage
11155 - Implemented ProcessKeyPreview
11156 - Added RaiseDragEvent stub (MS internal method)
11157 - Added RaiseKeyEvent stub (MS internal method)
11158 - Added RaiseMouseEvent stub (MS Internal method)
11159 - Added RaisePaintEvent stub (MS Internal method)
11160 - Added ResetMouseEventArgs stub (MS Internal method)
11161 - Implemented RtlTranslateAlignment
11162 - Implemented RtlTranslateContent
11163 - Implemented RtlTranslateHorizontal
11164 - Implemented RtlTranslateLeftRight
11165 - Added generation of KeyPress event
11167 2004-10-02 05:57 ravindra
11169 * ListViewItem.cs: Added attributes.
11171 2004-10-02 05:32 ravindra
11173 * ListView.cs: Added attributes.
11175 2004-10-01 11:53 jackson
11177 * Form.cs: Implement the Close method so work on MessageBox can
11180 2004-09-30 14:06 pbartok
11185 2004-09-30 11:34 jackson
11187 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
11189 2004-09-30 07:26 ravindra
11191 * ListViewItemConverter.cs: Converter for ListViewItem.
11193 2004-09-30 07:26 ravindra
11195 * SortOrder.cs: Enum for ListView control.
11197 2004-09-30 07:25 ravindra
11199 * ColumnHeader.cs: Supporting class for ListView control.
11201 2004-09-30 07:24 ravindra
11203 * ListView.cs, ListViewItem.cs: Initial implementation.
11205 2004-09-30 07:20 ravindra
11207 * ItemActivation.cs: Enum for ListView Control.
11209 2004-09-29 20:29 pbartok
11212 - Added lookup of pixel value for background color; tries to get a
11213 color 'close' to the requested color, it avoids having to create a
11214 colormap. Depending on the display this could mean the used color
11215 is slightly off the desired color. Might have to change it to a more
11216 resource intensive colormap approach, but it will work as a
11217 workaround to avoid red screens.
11219 2004-09-29 14:27 jackson
11221 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
11223 2004-09-28 12:44 pbartok
11225 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
11226 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
11227 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
11228 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
11229 TrackBar.cs, VScrollBar.cs:
11230 - Streamlined Theme interfaces:
11231 * Each DrawXXX method for a control now is passed the object for
11232 the control to be drawn in order to allow accessing any state the
11233 theme might require
11235 * ControlPaint methods for the theme now have a CP prefix to avoid
11236 name clashes with the Draw methods for controls
11238 * Every control now retrieves it's DefaultSize from the current
11241 2004-09-28 12:17 jackson
11243 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
11246 2004-09-24 14:57 jackson
11248 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
11249 Gives us a nice little performance boost.
11251 2004-09-24 12:02 jackson
11253 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
11254 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
11255 Control and supporting classes. Initial checkin
11257 2004-09-23 13:08 jackson
11259 * Form.cs: Temp build fixage
11261 2004-09-23 01:39 ravindra
11263 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
11264 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
11265 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
11266 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
11267 EventHandlers needed by ListView Control.
11269 2004-09-22 14:12 pbartok
11271 * ScrollableControl.cs:
11272 - Implemented DockPadding property
11273 - Implemented AutoScroll property
11274 - Implemented AutoScrollMargin property
11275 - Implemented AutoScrollMinSize property
11276 - Implemented AutoScrollPosition property
11277 - Implemented DisplayRectangle property (still incomplete)
11278 - Implemented CreateParams property
11279 - Implemented HScroll property
11280 - Implemented VScroll property
11281 - Implemented OnVisibleChanged property
11283 2004-09-22 14:09 pbartok
11286 - Added Form.ControllCollection class
11287 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
11288 RemoveOwnedForm (still incomplete, missing on-top and common
11289 minimize/maximize behaviour)
11290 - Added StartPosition property (still incomplete, does not use when
11292 - Added ShowDialog() methods (still incomplete, missing forcing the
11295 2004-09-22 14:05 pbartok
11298 - Added message loop for modal dialogs
11300 2004-09-22 14:02 pbartok
11303 - Fixed wrong types for events
11305 2004-09-22 14:00 pbartok
11307 * Shortcut.cs, FormWindowState.cs:
11308 - Fixed wrong values
11310 2004-09-22 12:01 jackson
11312 * Control.cs: Text is never null
11314 2004-09-20 22:14 pbartok
11317 - Fixed accessibility level for Idle handler
11319 2004-09-20 18:54 jackson
11321 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11322 XplatUIX11.cs: New message loop that uses poll so we don't get a
11325 2004-09-17 10:43 pbartok
11328 - Fixed behaviour of arrow buttons. Now properly behaves like
11329 Buttons (and like Microsoft's scrollbar arrow buttons)
11331 2004-09-17 10:14 pbartok
11334 - Added missing release of keyboard/mouse capture
11336 2004-09-17 06:18 jordi
11338 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
11339 Theme.cs: Very early menu support
11341 2004-09-16 17:45 pbartok
11344 - Fixed sending a window to the front
11345 - Added overload for SetWindowPos to avoid casting
11347 2004-09-16 17:44 pbartok
11350 - Added SendToBack and BringToFront methods
11352 2004-09-16 07:00 ravindra
11354 * Copyright: Added Novell URL.
11356 2004-09-16 07:00 ravindra
11358 * ToolBar.cs: Invalidate should be done before redrawing.
11360 2004-09-15 21:19 ravindra
11362 * ColumnHeaderStyle.cs: Enum for ListView Control.
11364 2004-09-15 21:18 ravindra
11366 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
11369 2004-09-13 18:26 jackson
11371 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
11374 2004-09-13 18:13 jackson
11376 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
11377 a second thread and post messages into the main threads message
11378 queue. This makes timing much more consistent. Both win2K and XP
11379 have a minimum timer value of 15 milliseconds, so we now do this
11382 2004-09-13 15:18 pbartok
11384 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11386 - Added Z-Ordering methods
11388 2004-09-13 10:56 pbartok
11391 - Fixed #region names
11392 - Moved properties and methods into their proper #regions
11394 2004-09-13 10:51 pbartok
11397 - Added Accept and CancelButton properties
11398 - Added ProcessDialogKey() method
11400 2004-09-13 08:18 pbartok
11402 * IWindowTarget.cs:
11405 2004-09-10 21:50 pbartok
11408 - Added DoDragDrop() [incomplete]
11409 - Properly implemented 'Visible' handling
11410 - Added SetVisibleCore()
11411 - Implemented FindChildAtPoint()
11412 - Implemented GetContainerControl()
11413 - Implemented Hide()
11415 2004-09-10 19:28 pbartok
11418 - Moved methods into their appropriate #regions
11419 - Reordered methods within regions alphabetically
11421 2004-09-10 18:57 pbartok
11423 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11424 - Added method to retrieve text from window
11426 2004-09-10 18:56 pbartok
11429 - Moved some internal functions into the internal region
11430 - Implemented FontHeight
11431 - Implemented RenderRightToLeft
11432 - Implemented ResizeRedraw
11433 - Implemented ShowFocusCues
11434 - Implemented ShowKeyboardCues
11435 - Implemented FromChildHandle
11436 - Implemented FromHandle
11437 - Implemented IsMnemonic
11438 - Implemented ReflectMessage
11439 - All public and protected Static Methods are now complete
11441 2004-09-10 16:54 pbartok
11444 - Implemented remaining missing public instance properties
11445 - Alphabetized some out of order properties
11447 2004-09-10 05:51 ravindra
11449 * PictureBox.cs: Added a check for null image.
11451 2004-09-10 00:59 jordi
11453 * GroupBox.cs: remove cvs tag
11455 2004-09-09 05:25 ravindra
11457 * ToolBar.cs: Make redraw accessible from ToolBarButton.
11459 2004-09-09 05:23 ravindra
11461 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
11464 2004-09-09 02:28 pbartok
11466 * ThemeWin32Classic.cs:
11467 - Improve disabled string look
11469 2004-09-09 01:15 jordi
11471 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
11474 2004-09-08 23:56 ravindra
11476 * ItemBoundsPortion.cs: It's enum, not a class!
11478 2004-09-08 23:47 ravindra
11480 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
11483 2004-09-08 21:13 ravindra
11485 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
11488 2004-09-08 21:03 ravindra
11490 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
11493 2004-09-08 21:01 ravindra
11495 * ScrollableControl.cs: Removed unreachable code.
11497 2004-09-08 06:45 jordi
11499 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
11501 2004-09-08 01:00 jackson
11503 * XplatUIX11.cs: Only run the timers when updating the message
11504 queue. This effectively gives X messages a higher priority then
11505 timer messages. Timers still need love though
11507 2004-09-07 14:01 jackson
11509 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
11510 this for us and the handle is no longer valid.
11512 2004-09-07 13:59 jackson
11514 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
11515 loop that manages to not crash. TODO: Add poll and cleanup timers
11517 2004-09-07 11:12 jordi
11519 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
11521 2004-09-07 03:40 jordi
11523 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
11524 fixes, methods, multiple links
11526 2004-09-06 06:55 jordi
11528 * Control.cs: Caches ClientRectangle rectangle value
11530 2004-09-05 02:03 jordi
11532 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
11535 2004-09-04 11:10 jordi
11537 * Label.cs: Refresh when font changed
11539 2004-09-02 16:24 pbartok
11542 - Added sanity check to creation of double buffer bitmap
11544 2004-09-02 16:24 pbartok
11547 - Fixed selection of text color
11548 - Fixed handling of resize event; now properly recreates double
11550 - Added missing assignment of TextAlignment
11551 - Added proper default for TextAlignment
11553 2004-09-02 14:26 pbartok
11556 - Added missing RadioButton.RadioButtonAccessibleObject class
11558 2004-09-02 14:26 pbartok
11561 - Added missing Control.ControlAccessibleObject class
11562 - Started to implement Select()ion mechanisms, still very incomplete
11564 2004-09-02 14:25 pbartok
11566 * AccessibleObject.cs:
11567 - Added missing methods
11569 2004-09-02 14:23 pbartok
11571 * AccessibleNavigation.cs, AccessibleSelection.cs:
11574 2004-09-02 10:32 jordi
11576 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
11577 pool for pens, brushes, and hatchbruses
11579 2004-09-01 15:30 jackson
11581 * StatusBar.cs: Fix typo
11583 2004-09-01 14:44 pbartok
11588 2004-09-01 14:39 pbartok
11590 * Button.cs, RadioButton.cs:
11591 - Functional initial check-in
11593 2004-09-01 14:01 pbartok
11596 - Added missing default
11597 - Added missing region mark
11599 2004-09-01 09:10 jordi
11601 * Label.cs: fixes method signatures, new methods, events, fixes
11604 2004-09-01 07:19 jordi
11606 * Control.cs: Init string variables with an empty object
11608 2004-09-01 04:20 jordi
11610 * Control.cs: fires OnFontChanged event
11612 2004-08-31 20:07 pbartok
11615 - Enabled display of strings
11617 2004-08-31 20:05 pbartok
11620 - Added (partial) implementation of DialogResult; rest needs to be
11621 implemented when the modal loop code is done
11623 2004-08-31 19:55 pbartok
11626 - Fixed to match the removal of the needs_redraw concept
11628 2004-08-31 19:55 pbartok
11631 - Removed the rather odd split between 'needs redraw' and redrawing
11632 - Now handles the events that require regeneration (ambient
11633 properties and size)
11635 2004-08-31 19:41 pbartok
11638 - Added firing of BackColorChanged event
11639 - Added TopLevelControl property
11640 - Fixed handling of WM_ERASEBKGRND message
11642 2004-08-31 12:49 pbartok
11648 2004-08-31 12:48 pbartok
11651 - Finished (famous last words)
11653 2004-08-31 04:35 jordi
11655 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
11656 scrolling bugs, adds new methods
11658 2004-08-30 14:42 pbartok
11661 - Implemented CheckBox drawing code
11663 2004-08-30 14:42 pbartok
11666 - Made Redraw() and CheckRedraw() virtual
11667 - Improved mouse up/down/move logic to properly track buttons
11669 2004-08-30 09:44 pbartok
11672 - Updated to fix broken build. Not complete yet.
11674 2004-08-30 09:28 pbartok
11679 2004-08-30 09:17 pbartok
11684 2004-08-27 16:12 ravindra
11686 * ToolBarButton.cs: Added TypeConverter attribute.
11688 2004-08-27 16:07 ravindra
11690 * ImageIndexConverter.cs: Implemented.
11692 2004-08-27 14:17 pbartok
11695 - Removed unneeded stack vars
11696 - First attempt to fix sizing issues when layout is suspended
11698 2004-08-25 15:35 jordi
11700 * ScrollBar.cs: more fixes to scrollbar
11702 2004-08-25 14:04 ravindra
11704 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
11705 Added the missing divider code and grip for ToolBar Control.
11707 2004-08-25 13:20 pbartok
11710 - Control now properly passes the ambient background color to child
11713 2004-08-25 13:20 jordi
11715 * ScrollBar.cs: small bug fix regarding bar position
11717 2004-08-25 12:33 pbartok
11720 - Now only calls SetTimer or KillTimer if the enabled state has
11723 2004-08-25 12:33 pbartok
11726 - Fixed timer handling, now seems to work
11727 - Improved error message for window creation
11729 2004-08-25 12:32 pbartok
11732 - Fixed generation of MouseUp message
11734 2004-08-25 12:29 jordi
11736 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
11737 and fixes for progressbar
11739 2004-08-24 18:43 ravindra
11741 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
11742 in ToolBar control.
11744 2004-08-24 17:15 pbartok
11748 - Added missing events
11751 2004-08-24 17:14 pbartok
11753 * StatusBar.cs, PictureBox.cs:
11754 - Now uses Control's CreateParams
11756 2004-08-24 16:36 pbartok
11759 - Fixed background color handling
11760 - Fixed sending of enter/leave events on a grab
11762 2004-08-24 16:35 pbartok
11765 - Refined definitions for CrossingEvent
11767 2004-08-24 12:37 jordi
11769 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
11770 formmating, methods signature, and adds missing events
11772 2004-08-24 12:24 jordi
11774 * Control.cs: fire OnEnabledChanged event
11776 2004-08-24 11:17 pbartok
11779 - Implemented SetTimer() and KillTimer()
11781 2004-08-24 11:16 pbartok
11784 - Now uses Remove instead of Add to kill the timer
11786 2004-08-24 10:16 jackson
11788 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
11789 picture boxes in the theme now. Draw picture box borders and obey
11792 2004-08-24 05:49 jackson
11794 * Timer.cs: Remove top secret debugging code
11796 2004-08-24 05:34 jackson
11798 * PictureBox.cs: Temp hack to make picture boxes draw their full
11801 2004-08-24 05:29 jackson
11803 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
11804 XplatUIX11.cs: Move timers to the driver level. On X they are
11805 queued by the driver and checked on idle.
11807 2004-08-24 01:07 jackson
11809 * XplatUIX11.cs: Use a queue for async messages instead of passing
11810 them as ClientMessages since that was totally broken. Also simply
11811 check for events and return an idle message if none are found. This
11812 gives us an idle handler, and prevents deadlocking when no messages
11815 2004-08-23 18:19 ravindra
11817 * XplatUIWin32.cs: Removed the unwanted destructor.
11819 2004-08-23 17:27 pbartok
11822 - Finishing touches. Works now, just needs some optimizations.
11824 2004-08-23 16:53 jordi
11826 * ScrollBar.cs: small fix
11828 2004-08-23 16:45 pbartok
11831 - Removed debug output
11834 2004-08-23 16:43 jordi
11836 * ScrollBar.cs: [no log message]
11838 2004-08-23 16:10 pbartok
11841 - Fixed handling of WM_CLOSE message
11842 - Removed debug output
11844 2004-08-23 16:09 pbartok
11847 - Added handling of Idle event
11848 - Added handling of form closing
11849 - Fixed reporting of MessageLoop property
11850 - Removed some unneeded code, should provide a bit of a speedup
11852 2004-08-23 15:22 pbartok
11855 - Added InitLayout() method
11856 - Added code to properly perform layout when Anchor or Dock property
11858 - Changed 'interpretation' of ResumeLayout. MS seems to have a
11859 LAMESPEC, tried to do it in a way that makes sense
11861 2004-08-23 14:10 jordi
11863 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
11864 properties and methods
11866 2004-08-23 13:55 pbartok
11869 - Properly fixed Jordi's last fix
11870 - Now uses Cursor's Position property instead of calling XplatUI
11873 2004-08-23 13:44 jordi
11875 * PaintEventHandler.cs: Adding missing attribute
11877 2004-08-23 13:39 pbartok
11880 - Implemented Position property
11882 2004-08-23 13:39 pbartok
11884 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
11885 - Added method to move mouse cursor
11887 2004-08-23 13:39 pbartok
11890 - Fixed setting of background color
11891 - Added method to move mouse cursor
11893 2004-08-23 13:16 jordi
11895 * Control.cs: avoids null exception
11897 2004-08-22 17:46 jackson
11899 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
11902 2004-08-22 17:40 jackson
11904 * XplatUIX11.cs: Add some missing locks
11906 2004-08-22 15:10 pbartok
11908 * Control.cs, Form.cs:
11909 - Removed OverlappedWindow style from Control, instead it's default
11911 - Made form windows OverlappedWindow by default
11913 2004-08-22 13:34 jackson
11915 * ScrollBar.cs: Update the position through the Value property so
11916 the OnValueChanged event is raised.
11918 2004-08-22 12:04 pbartok
11921 - Added Cursor.cs and UserControl.cs
11923 2004-08-22 12:03 pbartok
11926 - Started implementation, not usable yet
11928 2004-08-22 12:00 pbartok
11931 - Implemented UserControl (complete)
11933 2004-08-21 19:20 ravindra
11935 * ToolBar.cs: Correcting the formatting mess of VS.NET.
11937 2004-08-21 18:49 ravindra
11939 * ToolBar.cs: Probably this completes the missing attributes in
11942 2004-08-21 18:03 ravindra
11944 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
11945 Fixed toolbar control signatures.
11947 2004-08-21 16:32 pbartok
11952 2004-08-21 16:30 pbartok
11957 2004-08-21 16:19 pbartok
11959 * Control.cs, Label.cs:
11962 2004-08-21 15:57 pbartok
11965 - Added loads of debug output for development
11966 - Fixed typo in method name
11968 2004-08-21 15:52 pbartok
11970 * ToolBarButtonClickEventArgs.cs:
11971 - Added missing base class
11973 2004-08-21 14:53 pbartok
11976 - Updated to match new GrabWindow signature
11978 2004-08-21 14:51 pbartok
11980 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11981 - Added method to get default display size
11983 2004-08-21 14:23 pbartok
11985 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
11986 - Added method to query current grab state
11987 - Added argument to allow confining a grab to a window
11989 2004-08-21 14:22 pbartok
11992 - Added [Flags] attribute so that modifiers can be used in bitwise
11995 2004-08-21 14:21 pbartok
11997 * TrackBar.cs, ScrollBar.cs:
11998 - Replaced direct XplatUI calls with their Control counterpart
12000 2004-08-21 13:32 pbartok
12003 - Implemented Created property
12005 2004-08-21 13:28 pbartok
12008 - Implemented ContainsFocus
12010 2004-08-21 13:26 pbartok
12013 - Implemented CausesValidation
12015 2004-08-21 13:21 pbartok
12018 - Implemented CanFocus
12019 - Implemented CanSelect
12020 - Implemented Capture
12022 2004-08-21 12:35 pbartok
12025 - Fixed bug with Async message handling
12026 - Implemented getting the ModifierKeys
12028 2004-08-21 12:32 jackson
12030 * AsyncMethodResult.cs: Make sure we have the mutex before we
12031 release it. Fixes BeginInvoke on windows
12033 2004-08-21 11:31 pbartok
12035 * XplatUIWin32.cs, XplatUIX11.cs:
12036 - Drivers now return proper mouse state
12038 2004-08-21 10:54 jackson
12040 * Control.cs: Implement EndInvoke
12042 2004-08-21 10:48 jackson
12044 * Timer.cs: Remove unneeded finalizer
12046 2004-08-20 19:52 ravindra
12048 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12049 in mouse event handling in the ToolBar control.
12051 2004-08-20 19:50 ravindra
12053 * ImageList.cs: Changed draw method to use the arguments passed in
12056 2004-08-20 18:58 pbartok
12058 * XplatUIStructs.cs:
12059 - Added private message for async communication
12061 2004-08-20 17:38 ravindra
12063 * Control.cs: Made RightToLeft property virtual and removed a
12066 2004-08-20 14:39 jordi
12068 * ThemeGtk.cs: use style_attach
12070 2004-08-20 14:39 pbartok
12073 - Added jackson's Async code from X11 to Win32
12075 2004-08-20 14:09 pbartok
12078 - Added all new files
12080 2004-08-20 14:09 pbartok
12083 - Added call to set window background color
12085 2004-08-20 14:03 pbartok
12087 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12088 - Added method for setting the window background
12090 2004-08-20 14:02 pbartok
12093 - Added method for setting the background color
12094 - Added handling for erasing the window background
12096 2004-08-20 13:45 jordi
12098 * TrackBar.cs: fixes timer, new properties and methods
12100 2004-08-20 13:34 jackson
12102 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12105 2004-08-20 13:22 jackson
12107 * Timer.cs: Timer Tick events are now handed through Controls Async
12108 mechanism so the callbacks are executed in the same thread as X
12110 2004-08-20 13:19 jackson
12112 * XplatUIDriver.cs: Expose functionality to send async messages
12115 2004-08-20 13:18 jackson
12117 * Control.cs: Implement Begininvoke
12119 2004-08-20 13:14 jackson
12121 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12122 messages through the driver
12124 2004-08-20 13:12 jackson
12126 * XplatUIX11.cs: Lock before all X operations. Also added Async
12127 method functionality through XSendEvent
12129 2004-08-20 13:11 jackson
12131 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12132 This will screw up on 64 bit systems)
12134 2004-08-20 13:10 jackson
12136 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12137 Async messages through X/Win32
12139 2004-08-19 19:39 pbartok
12142 - Updated code to match new HandleData.DeviceContext type
12144 2004-08-19 19:38 pbartok
12147 - Made DeviceContext a generic object to allow usage from various
12149 - Added support for queueing Windows messages
12151 2004-08-19 19:37 pbartok
12154 - Added generation of MouseEnter, MouseLeave and MouseHover events
12155 - Added cleanup on EndPaint
12157 2004-08-19 19:17 pbartok
12160 - Added handling of WM_MOUSEHOVER
12161 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12164 2004-08-19 18:55 jordi
12166 * ThemeGtk.cs: fixes button order
12168 2004-08-19 18:12 jordi
12170 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12172 2004-08-19 17:09 pbartok
12175 - Added Right property
12176 - Added RightToLeft property
12178 2004-08-19 16:27 jordi
12180 * ThemeGtk.cs: experimental GTK theme support
12182 2004-08-19 16:26 jordi
12184 * ITheme.cs, Theme.cs: move themes from an interface to a class
12186 2004-08-19 16:25 jordi
12188 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
12191 2004-08-19 16:04 pbartok
12194 - Added colormap basics
12195 - Added a way to re-initialize with a different display handle
12196 - Fixed setting of the window background color
12197 - Added various X11 imports related to colors and colormaps
12199 2004-08-19 15:51 pbartok
12202 - Removed packing hints (Paolo suggested this a while back)
12203 - fixed colormap type
12204 - Added default Atom types
12205 - Added Screen and color structs and enums
12207 2004-08-19 15:39 pbartok
12210 - Added missing Draw() method
12211 - Added missing RecreateHandle event
12213 2004-08-19 15:30 pbartok
12216 - Added handling of WM_CLOSE
12218 2004-08-18 13:16 jordi
12220 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
12223 2004-08-18 09:56 jordi
12225 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
12227 2004-08-17 15:31 ravindra
12229 * SWF.csproj: Updated project.
12231 2004-08-17 15:25 pbartok
12234 - Drawing improvement; don't call UpdateBounds if we are not visible
12235 (or have been minimized)
12237 2004-08-17 15:24 pbartok
12240 - Finished IsVisible
12241 - Added Win32GetWindowPlacement
12243 2004-08-17 15:08 jackson
12245 * Panel.cs: Initial checkin of the Panel
12247 2004-08-17 14:25 pbartok
12250 - Fixed broken handling of default window sizes
12252 2004-08-17 13:29 jackson
12254 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
12255 has a large startup time.
12257 2004-08-17 10:25 jackson
12259 * HandleData.cs: union areas properly
12261 2004-08-17 10:12 jackson
12263 * HandleData.cs: union areas properly
12265 2004-08-16 20:00 ravindra
12267 * ToolBar.cs, ToolBarButton.cs: Added attributes.
12269 2004-08-16 18:48 ravindra
12271 * ToolBar.cs: Added attributes.
12273 2004-08-16 17:17 ravindra
12275 * SWF.csproj: Updated project.
12277 2004-08-16 17:16 jackson
12279 * XplatUIX11.cs: Check for more expose events before sending a
12280 WM_PAINT so they can all be grouped together. This makes dragging a
12281 window across another window redraw in a sane way.
12283 2004-08-16 15:47 pbartok
12286 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
12287 support OnMouseEnter/Leave()
12288 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
12291 2004-08-16 15:46 pbartok
12293 * XplatUIStructs.cs, XplatUIX11.cs:
12294 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
12295 OnMouseEnter/Leave()
12297 2004-08-16 15:34 jackson
12299 * XplatUIX11.cs: Group multiple expose events in HandleData, make
12300 sure messages get the message field set to WM_NULL if they are not
12303 2004-08-16 15:24 jackson
12305 * HandleData.cs: HandleData is used for storing message information
12308 2004-08-15 17:23 ravindra
12310 * ColorDepth.cs: Added attribute.
12312 2004-08-15 17:23 ravindra
12314 * SWF.csproj: Updated project for ToolBar Control.
12316 2004-08-15 17:20 ravindra
12318 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
12319 control and also dos2unix format.
12321 2004-08-15 17:13 ravindra
12323 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
12324 ToolBarButtonClickEventArgs.cs,
12325 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
12326 ToolBarTextAlign.cs: First Implementation of ToolBar control.
12328 2004-08-15 15:31 pbartok
12331 - First (mostly) working version
12333 2004-08-13 16:15 pbartok
12336 - Fixed Anchor default
12338 2004-08-13 15:43 pbartok
12341 - Changed GetCursorPos signature
12343 2004-08-13 15:42 pbartok
12345 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12346 - Changed signature for GetCursorPos
12348 2004-08-13 15:25 pbartok
12352 - Fixed resizing/exposure handling
12354 2004-08-13 15:22 jordi
12356 * ThemeWin32Classic.cs: removes redundant code and fixes issues
12359 2004-08-13 14:55 jordi
12361 * TrackBar.cs: change from wndproc to events
12363 2004-08-13 13:00 jordi
12365 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12366 XplatUIX11.cs: implements PointToClient (ScreenToClient)
12368 2004-08-13 12:53 pbartok
12371 - Changed GetWindowPos to also provide client area size
12372 - Fixed broken prototypes for several win32 functions
12374 2004-08-13 12:53 pbartok
12376 * XplatUI.cs, XplatUIDriver.cs:
12377 - Changed GetWindowPos to also provide client area size
12379 2004-08-13 12:52 pbartok
12382 - Added generation of WM_POSCHANGED
12383 - Changed GetWindowPos to also provide client area size
12385 2004-08-13 12:52 pbartok
12388 - Added Dispose() and destructor
12389 - Fixed resizing and bounds calculation
12391 - Added memory savings for invisible windows
12393 2004-08-13 12:46 jordi
12395 * TrackBar.cs: adds timer and grap window
12397 2004-08-13 10:25 jackson
12399 * Timer.cs: SWF Timer
12401 2004-08-12 16:59 pbartok
12403 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12404 - Implemented method to get current mouse position
12406 2004-08-12 14:29 jordi
12408 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
12409 enhancement, fix mouse problems, highli thumb, etc
12411 2004-08-12 13:31 pbartok
12414 - Fixed Anchoring bugs
12416 2004-08-12 13:01 jackson
12418 * StatusBar.cs: Don't forget things
12420 2004-08-12 12:54 jackson
12422 * ThemeWin32Classic.cs: Handle owner draw status bars
12424 2004-08-12 12:54 jackson
12426 * StatusBar.cs: Implement missing properties, events, and methods.
12427 Handle mouse clicking
12429 2004-08-12 10:19 jackson
12431 * StatusBarPanelClickEventArgs.cs,
12432 StatusBarPanelClickEventHandler.cs: Classes for handling status
12433 bar panel click events
12435 2004-08-12 10:10 jackson
12437 * Control.cs: Add missing properties
12439 2004-08-12 09:46 pbartok
12441 * BindingsManagerBase.cs:
12442 - Name changed to BindingManagerBase.cs
12444 2004-08-12 09:25 jordi
12446 * ScrollableControl.cs: calls ctrlbase instead of exeception
12448 2004-08-11 16:28 pbartok
12450 * InputLanguageChangingEventArgs.cs:
12451 - Never check in before compiling. Fixes the last check-in
12453 2004-08-11 16:26 pbartok
12455 * InputLanguageChangingEventArgs.cs:
12456 - More signature fixes
12458 2004-08-11 16:20 pbartok
12460 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
12461 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
12462 ImageListStreamer.cs, InputLanguage.cs,
12463 InputLanguageChangedEventArgs.cs,
12464 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
12465 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
12466 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
12467 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12470 2004-08-11 16:16 pbartok
12474 - Added .Net 1.1 method
12476 2004-08-11 15:25 pbartok
12479 - Fixed BindingManagerBase.cs filename
12481 2004-08-11 15:22 pbartok
12483 * BindingManagerBase.cs:
12484 - Was checked in with wrong filename
12486 2004-08-11 14:50 pbartok
12491 2004-08-11 13:41 jordi
12493 * XplatUIWin32.cs: Fixes ClientRect
12495 2004-08-11 13:19 pbartok
12497 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12499 - We had SetWindowPos and MoveWindow to set window positions and
12500 size, removed MoveWindow. We have GetWindowPos, so it made sense to
12501 keep SetWindowPos as matching counterpart
12502 - Added some X11 sanity checking
12504 2004-08-11 12:59 pbartok
12507 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
12508 (It seems that SetBounds is just a front for SetBoundsCore and
12509 SetBoundsCore updates the underlying window system and
12510 UpdateBounds is responsible for updating the variables associated
12511 with the Control and sending the events)
12512 - Major cleanup of Size handling; we now have two sizes, client_size
12513 and bounds. Bounds defines the window with decorations, client_size
12516 2004-08-11 12:55 pbartok
12518 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12519 - Added method to calculate difference between decorated window and
12522 2004-08-11 12:54 pbartok
12525 - Forcing redraw on resize
12527 2004-08-11 11:43 pbartok
12530 - Removed disposing of the actual images when the list is disposed
12532 2004-08-11 09:13 pbartok
12535 - Now properly reparents windows
12537 2004-08-11 08:37 pbartok
12542 2004-08-11 07:47 pbartok
12545 - Rewrote the collection stuff. Might not be as fast now, not
12546 keeping the number of children around and accessible directly, but
12547 it's more straightforward
12549 2004-08-11 07:44 pbartok
12551 * AccessibleObject.cs:
12552 - Fixed to match ControlCollection rewrite
12554 2004-08-11 07:43 pbartok
12557 - Added missing creation of the collection list
12559 2004-08-10 20:08 jackson
12561 * StatusBar.cs: Get the paint message from WndProc
12563 2004-08-10 19:31 jackson
12565 * ThemeWin32Classic.cs: Create Brushes as little as possible
12567 2004-08-10 19:20 jackson
12569 * UICues.cs: Add Flags attribute
12571 2004-08-10 19:19 jackson
12573 * StatusBarPanel.cs: Signature cleanup
12575 2004-08-10 19:10 jackson
12577 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
12578 Initial implementation of status bar item drawing
12580 2004-08-10 17:27 jordi
12582 * TrackBar.cs: add missing methods, properties, and restructure to
12585 2004-08-10 16:24 jackson
12587 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
12588 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
12591 2004-08-10 13:21 jordi
12593 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
12594 enhancements and standarize on win colors defaults
12596 2004-08-10 12:52 jackson
12598 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
12599 ThemeWin32Classic.cs: Implement DrawItem functionality
12601 2004-08-10 12:47 jordi
12603 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
12605 2004-08-10 12:32 jordi
12607 * Control.cs: throw ontextchange event
12609 2004-08-10 11:43 pbartok
12612 - Added more to the still unfinished Dock/Anchor layout code
12614 2004-08-10 11:39 pbartok
12616 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12617 - Added GetWindowPos method
12619 2004-08-10 11:36 pbartok
12622 - Implemented several methods
12624 2004-08-10 09:47 jackson
12626 * TrackBar.cs: Allow control to handle buffering
12628 2004-08-10 09:41 jackson
12630 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
12632 2004-08-10 09:24 jackson
12634 * Label.cs, LinkLabel.cs: Let Control handle buffering.
12636 2004-08-10 09:09 jackson
12638 * StatusBar.cs: Let Control handle all the buffering.
12640 2004-08-10 09:08 jackson
12642 * Control.cs: Control will now handle the buffering code, so each
12643 control does not have to implement this.
12645 2004-08-10 08:34 jackson
12647 * XplatUIDriver.cs: Use default colors from the theme
12649 2004-08-09 17:12 pbartok
12652 - Fixed several bugs Ravindra pointed out
12654 2004-08-09 16:11 pbartok
12657 - Added incomplete dock layout code
12658 - Added support for mouse wheel
12660 2004-08-09 16:09 pbartok
12663 - Added handling for middle and right mousebutton
12664 - Added handling for mouse wheel
12665 - Added handling for key state and mouse state and position
12666 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
12669 2004-08-09 15:40 jackson
12671 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
12672 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
12675 2004-08-09 15:37 jackson
12677 * StatusBar.cs: Initial implementation of StatusBar
12679 2004-08-09 15:36 jackson
12681 * ITheme.cs: Add support for drawing status bar and getting status
12684 2004-08-09 15:35 pbartok
12689 2004-08-09 15:34 jackson
12691 * ThemeWin32Classic.cs: Add support for drawing status bar and get
12692 status bar item sizes
12694 2004-08-09 15:21 jackson
12696 * ThemeWin32Classic.cs: Use known colors for default control
12699 2004-08-09 15:12 jackson
12701 * ThemeWin32Classic.cs: Make the default font static, it is static
12702 in control so this doesn't change functionality and creating fonts
12705 2004-08-09 14:56 pbartok
12708 - Added GrabMode enum
12710 2004-08-09 14:55 pbartok
12712 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12713 - Removed Run method, was only required for initial development
12715 2004-08-09 14:51 pbartok
12717 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12718 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
12721 2004-08-09 13:48 pbartok
12724 - Fixed default sizing for child windows
12726 2004-08-09 12:56 pbartok
12729 - Added generation of WM_DESTROY message
12730 - Added handling of window manager induced shutdown
12732 2004-08-09 11:31 jackson
12734 * ThemeWin32Classic.cs: New names for control properties
12736 2004-08-09 11:25 jackson
12738 * Control.cs: Use new color names
12740 2004-08-09 11:02 jackson
12742 * XplatUI.cs: Get default window properties from the theme
12744 2004-08-09 11:01 jackson
12746 * ITheme.cs: The theme engine now controls default window
12749 2004-08-09 11:00 jackson
12751 * ThemeWin32Classic.cs: Add default window color properties
12753 2004-08-09 10:17 jackson
12755 * ThemeWin32Classic.cs: Use correct default back color
12757 2004-08-09 10:05 jackson
12759 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
12762 2004-08-09 09:56 jackson
12764 * XplatUI.cs: Remove defaults, these are handled by the theme now.
12766 2004-08-09 09:54 jackson
12768 * Control.cs: Get default properties from the theme.
12770 2004-08-09 09:53 jackson
12772 * ITheme.cs: Themes now handle default control properties
12774 2004-08-09 09:53 jackson
12776 * ThemeWin32Classic.cs: Themes now handle default control
12777 properties so coloring will be consistent
12779 2004-08-08 16:54 jordi
12781 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
12783 2004-08-08 15:08 jordi
12785 * XplatUIX11.cs: fixes keyboard crash
12787 2004-08-08 13:47 jordi
12789 * Label.cs: add cvs header info
12791 2004-08-08 12:09 jackson
12793 * ThemeWin32Classic.cs: Add pen_buttonface
12795 2004-08-08 11:52 jordi
12797 * Label.cs, LinkLabel.cs: [no log message]
12799 2004-08-08 11:34 jordi
12801 * ThemeWin32Classic.cs: Use Windows Standard Colours
12803 2004-08-07 17:32 jordi
12805 * TrackBar.cs: throw exceptions of invalid enums values
12807 2004-08-07 17:31 jordi
12809 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
12812 2004-08-07 16:56 jackson
12814 * HorizontalAlignment.cs: Initial checkin
12816 2004-08-07 13:16 jordi
12818 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
12821 2004-08-07 13:05 jordi
12823 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
12824 GetSysColor defines
12826 2004-08-06 18:01 pbartok
12828 * ThemeWin32Classic.cs:
12829 - Fixed some rounding issues with float/int
12831 2004-08-06 18:00 jackson
12833 * DockStyle.cs, AnchorStyles.cs:
12835 Add flags and serializable attributes.
12837 2004-08-06 17:46 pbartok
12840 - Implemented GetParent
12842 2004-08-06 17:18 pbartok
12845 - Fixed some rounding issues with float/int
12847 2004-08-06 17:17 pbartok
12849 * X11Structs.cs, XplatUIX11.cs:
12850 - Fixed Refresh and Invalidate
12852 2004-08-06 15:30 pbartok
12854 * Control.cs, X11Structs.cs, XplatUIX11.cs:
12855 - Fixed recursive loop when resizing
12856 - Improved/fixed redrawing on expose messages
12858 2004-08-06 09:53 jordi
12860 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
12861 keyboard navigation
12863 2004-08-06 08:02 pbartok
12865 * X11Structs.cs, XplatUIX11.cs:
12866 - Fixed reparenting
12867 - Fixed window border creation
12869 2004-08-05 15:38 pbartok
12872 - Attempted fix for reparenting problems
12874 2004-08-04 15:14 pbartok
12877 - Fixed Invalidation bug (calculated wrong client area)
12878 - Added ClientSize setter
12880 2004-08-04 15:13 pbartok
12883 - Added AutoScale properties
12885 2004-08-04 15:13 pbartok
12888 - Added latest files
12890 2004-08-04 14:11 pbartok
12892 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12894 - Added Invalidate handling
12896 2004-08-03 17:09 jordi
12898 * XplatUIDriver.cs: fixes spelling mistake
12900 2004-07-27 09:53 jordi
12902 * TrackBar.cs: fixes trackbar events, def classname, methods
12905 2004-07-27 09:29 jordi
12907 * ScrollBar.cs: fixes scrollbar events
12909 2004-07-27 04:38 jordi
12911 * Control.cs: changes to be able to run winforms samples
12913 2004-07-26 11:42 jordi
12915 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
12916 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
12918 2004-07-26 05:41 jordi
12920 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
12921 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
12924 2004-07-22 09:22 jordi
12926 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
12927 check link overlapping, implement events, and fixes
12929 2004-07-21 10:28 jordi
12931 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
12933 2004-07-21 10:19 jordi
12935 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
12936 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
12937 LinkLabelLinkClickedEventArgs.cs,
12938 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
12939 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
12942 2004-07-19 13:09 jordi
12944 * Control.cs, Label.cs: label control re-written: added missing
12945 functionlity, events, and properties
12947 2004-07-19 10:49 jordi
12949 * Control.cs: fixes SetBounds logic
12951 2004-07-19 01:29 jordi
12953 * Control.cs: Call RefreshWindow only if the window has created
12955 2004-07-15 14:05 pbartok
12957 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
12958 - Implemented ImageList and ImageList.ImageCollection classes
12959 - Added ColorDepth enumeration
12960 - Updated SWF VS.Net project
12962 2004-07-15 11:06 jordi
12964 * XplatUIStructs.cs: added MsgButons enum
12966 2004-07-15 11:03 jordi
12968 * Control.cs: added basic mouse handeling events
12970 2004-07-15 03:38 jordi
12972 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
12973 Vertical TrackBar control implementation
12975 2004-07-13 09:33 jordi
12977 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
12979 2004-07-13 09:31 jordi
12981 * Control.cs, Form.cs: commit: new properties and fixes form size
12984 2004-07-09 14:13 miguel
12986 * ProgressBar.cs: Spelling
12988 2004-07-09 11:25 pbartok
12991 - Removed usage of Rectangle for drawing. Miguel pointed out it's
12994 2004-07-09 11:17 miguel
12996 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
12998 * ProgressBar.cs: Fixed spelling for `block'
13000 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13003 Avoid using the += on rect.X, that exposed a bug in the compiler.
13005 2004-07-08 23:21 pbartok
13007 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13008 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13009 BaseCollection.cs, Binding.cs, BindingContext.cs,
13010 BindingMemberInfo.cs, BindingsCollection.cs,
13011 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13012 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13013 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13014 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13015 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13016 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13017 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13018 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13019 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13020 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13021 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13022 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13023 InputLanguageChangedEventArgs.cs,
13024 InputLanguageChangedEventHandler.cs,
13025 InputLanguageChangingEventArgs.cs,
13026 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13027 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13028 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13029 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13030 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13031 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13032 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13033 QueryAccessibilityHelpEventArgs.cs,
13034 QueryAccessibilityHelpEventHandler.cs,
13035 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13036 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13037 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13038 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13039 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13040 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13041 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13042 XplatUIX11.cs, lang.cs: