1 2006-06-07 Wade Berrier <wberrier@novell.com>
3 * RichTextBox.cs: More ISO8859-1 -> unicode
5 2006-06-07 Mike Kestner <mkestner@novell.com>
7 * ComboBox.cs : use items to hold highlight/selection so that
8 collection insertions don't require synchronization.
10 2006-06-07 Jackson Harper <jackson@ximian.com>
12 * InternalWindowManager.cs: Simplify (and FIX) the window sizing
13 routine. We now always keep the sized edge at the cursor instead
14 of computing movement and adjusting rects. There is one buglet
15 with this method though when the cursor is moved over area that
16 the window can not expand too (such as the toolbars on the desktop).
18 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
20 * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
21 here. Fixes crash on startup in AlbumSurfer.
23 2006-06-07 Peter Dennis Bartok <pbartok@novell.com>
25 * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
28 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
30 * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
31 statement to avoid calling XNextEvent which will block if another thread
32 took the event that we were expecting. Fixes bug #78605.
34 2006-06-07 Mike Kestner <mkestner@novell.com>
36 * ListView.cs : isolated checkbox clicking from the selection logic.
37 Toggle check state on item doubleclicks. Really fixes #78454 part2.
39 2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
41 * Form.cs: Check that the value passed to Form.DialogResult
42 is a valid enum value.
44 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
46 * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
47 Computer'. Clicking it in the network view goes to 'My Computer'.
48 Added CIFS filesystem type. Display the mount point of filesystems.
49 Avoid duplicate mount points (happens for me with CIFS);
51 2006-06-06 Jackson Harper <jackson@ximian.com>
53 * InternalWindowManager.cs: Draw the maximized windows buttons
56 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
58 * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
59 all other dialogs. Fixes bug #78585.
61 2006-06-06 Mike Kestner <mkestner@novell.com>
63 * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
64 Only invalidate checkbox on checkstate changes to avoid flicker.
65 * ListBox.cs : avoid unselect/select when clicking selected item.
66 avoid reselection flicker for already multiselected items.
69 2006-06-06 Jackson Harper <jackson@ximian.com>
71 * MdiWindowManager.cs: When the window is closed do an NCRecalc on
72 the parent form so that the menu is removed if needed.
74 2006-06-06 Mike Kestner <mkestner@novell.com>
76 * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
77 Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
79 2006-06-06 Mike Kestner <mkestner@novell.com>
81 * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
84 2006-06-06 Jackson Harper <jackson@ximian.com>
86 * Control.cs: Use the property (instead of the field) to get the
87 default cursor so it is instantiated correctly.
88 * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
89 resizes so we need to manually repaint the window decorations here.
90 - Set the titlebar button locations as soon as they are created,
91 otherwise they are not set correctly on win32.
93 2006-06-06 Chris Toshok <toshok@ximian.com>
95 * CurrencyManager.cs (set_Position): call PullData before
97 (AddNew): after calling IBindingList.AddNew, update our
98 listposition, and call OnCurrentChanged/OnPositionChanged (without
100 (OnCurrentChanged): remove the call to PullData from here.
101 (OnItemChanged): remove the call to PushData from here.
102 (OnPositionChanged): change the test from == null to != null to
103 match the other methods.
104 (ListChangedHandler): the grossest part of the patch. Implement
105 this such that it passes the unit tests in CurrencyManagerTest and
106 the output more or less matches that of MS's implementation.
108 2006-06-06 Mike Kestner <mkestner@novell.com>
110 * ListView.cs : only update check state on single click.
111 * ThemeWin32Classic.cs : fix focus drawing for details view without
112 fullrowselect. Fixes #78454.
113 * XplatUIX11.cs : fix for double click emission.
115 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
117 * PropertyGridView.cs : Applied Atsushi's patch to fix
118 font dialog bug (#78197).
120 2006-06-05 Jackson Harper <jackson@ximian.com>
122 * TreeNode.cs: Compute the next node for expanding/collapsing
123 correctly. We now factor in nodes without a NextNode
124 correctly. (Fixes somes cases in nunit-gui).
125 * InternalWindowManager.cs: Set the bounds when updating the
126 virtual position of a tool window.
128 2006-06-05 Chris Toshok <toshok@ximian.com>
130 * DataGrid.cs: rename cached_currencymgr to list_manager.
131 (set_CurrentCell): move SetCurrentCell code here, and clean it up
133 (CurrentRow, CurrentColumn): single accessors so we can make the
134 cursor movement code a lot easier to understand.
135 (CurrentRowIndex): implement this in terms of CurrentRow.
136 (BeginEdit): clean this up a bit.
137 (CancelEditing): sort out the is_editing/is_changing/is_adding
139 (EndEdit): minor changes.
140 (OnKeyDown): add a comment about a (most likely) unnecessary
142 (OnMouseDown): cancel editing when we click on a row header. And
143 use the CurrentRow setter, not CurrentCell.
144 (ProcessDialogKey): directly call ProcessGridKey.
145 (UpdateSelectionAfterCursorMove): factor out this common block of
146 code (it's used everywhere that we move the cursor by updating row
148 (ProcessGridKey): pretty substantial overhaul. Use the
149 CurrentRow/CurrentColumn properties to make the code a lot more
150 readable. Only use the CurrentCell property when we have to
151 modify both row and column at once. Tab behavior is still broken,
152 and Delete is untested.
153 (Select): if we have no selected rows, set selection_start to
155 (EditCurrentCell): rename EditCell this. It was only ever invoked
156 with CurrentCell as the arg, so drop the arg and rename it.
158 * DataGridColumnStyle.cs: clean up the constructors a little, and
159 drop CommonConstructor().
161 * DataGridTextBox.cs (.ctor): set accepts_return to true so we
162 actually get notified when the user hits it.
163 (ProcessKeyMessage): *substantially* simplify this method.
164 There's no reason (that I can see) for the textbox to be making
165 calls into the datagrid at all. Remove all of them but the ones
166 for Enter handling. those will take some more work.
168 * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
170 (HideEditBox): if we have an active textbox, render it invisible
171 without causing a re-layout of the datagrid.
173 2006-06-05 Mike Kestner <mkestner@novell.com>
175 * ListView.cs : fix NRE crasher when focuseditem is cleared by
176 collection changes by resetting it to Items[0]. Fixes #78587.
178 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
180 * MessageBox.cs: if the height of the text is larger than the icon_size,
181 use that. Fixes bug #78575.
183 2006-06-05 Jackson Harper <jackson@ximian.com>
185 * TreeView.cs: Fix line drawing when scrolling. To do this each
186 node is basically responsible for drawing its entire horizontal
187 area. When drawing a node it draws its parent node lines if
189 - Adjust the clip area to the viewport rectangle
190 - Fix Left/Right key handling to match MS. (It expand/collapses
191 and moves to parents/first child but does not move selection to
193 - Fix SetTop to work with new bound calculation code
194 - When scrollbars are no longer needed we need to reset scrolling
195 vars and recalculate the visible order so the redraw is correct
196 * TreeNode.cs: We can't expand/collapse nodes with no children.
198 2006-06-03 John Luke <john.luke@gmail.com>
200 * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
201 so the colors work without dev packages
203 2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
206 - Select: Implemented to just use activate. Seems to match MS
207 behaviour closest. Documented to only do actual control walking
208 based on it's parameters if in a container control so I moved
210 - Removed selection check logic from our internal Select() method
211 * ContainerControl.cs:
212 - Select: Moved selection logic from Control here, since MS documents
213 that containers obey the bool arguments. No longer calling base
215 2006-06-02 Jackson Harper <jackson@ximian.com>
217 * TreeView.cs: If the selected node isn't changed when we get
218 focus update the previously selected node so that we see the
221 2006-06-02 Mike Kestner <mkestner@novell.com>
223 * ComboBox.cs: restructure grab and general mouse event handling.
224 Make the composite control raise mouse events like it was a single
225 control for leaves/enters/motion/up/down events. fix dropdown list
226 coordinate mangling and refactor it into the scrollbar subclass to
227 reduce code duplication. Fixes #78282 #78361 and #78457.
229 2006-06-02 Mike Kestner <mkestner@novell.com>
231 * ScrollBar.cs: remove Capture setting/clearing, as it happens
232 automatically in the Control.WndProc.
234 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
236 * FileDialog.cs: fix crash when running SharpChess, which sets the
237 FilterIndex to 2 with only one Filter.
239 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
241 * ToolBar.cs: add SizeSpecified property.
242 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
243 try to figure out our real size, otherwise fallback to what the
246 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
248 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
249 * Control.cs (WndProc): MS always calls the DefWndProc to pass
252 2006-06-01 Mike Kestner <mkestner@novell.com>
254 * ListView.cs: revamp the focus management in ListView. It still
255 causes churn of LostFocus/GotFocus emissions on clicks, but it's
256 better than not handling focus at all. Will revisit when pdb feels
257 the general focus handling is solid. Fixes #78526.
259 2006-06-01 Jackson Harper <jackson@ximian.com>
261 * TreeView.cs: Set the default border style in the constructor.
262 - Move painting to use OnPaintInternal instead of capturing
263 WM_PAINT, this is the correct way of doing things
264 - UpdateBelow shouldn't invalidate the scrollbar area
265 - Cap the top on update below in case the node was above the top
266 of the viewport rectangle.
267 - ExpandBelow and Collapse below need to obey Begin/End Update.
268 * TreeNode.cs: Make is_expanded internal so the treenode
269 collection can change it without firing the whole event chain.
270 * TreeNodeCollection.cs: When clearing all the child nodes make
271 sure to recalc the visible order.
272 - Improve algo for remove the top node
274 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
276 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
277 SendMessage directly calling window procedures, which in turn might
280 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
282 * Control.cs: Don't handle WM_SETFOCUS if the same window already
283 has focus (works around X11 sending a FocusIn after our SetFocus)
284 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
286 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
288 * Mime.cs: Fix for the NET_2_0 build.
289 NameValueCollection needs StringComparer now.
291 2006-05-31 Chris Toshok <toshok@ximian.com>
293 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
294 return (via an out parameter) the starting X of the column.
295 (UpdateVisibleColumn): track change to FromPixelToColumn.
296 (HitTest): add a ColumnResize case here.
297 (DrawResizeLine): new function, probably poorly named.
299 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
300 only need to keep one reference.
301 (set_ListManager): same.
302 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
303 Also, add support for HitTestType.ColumnResize.
304 (OnMouseMove): add column resize behavior here, and change the
305 cursor to the correct one as we move around the datagrid.
306 (OnMouseUp): terminate the column resize if we're resizing.
307 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
308 for the current cell.
309 (ConnectListManagerEvents): use cached_currencymgr.
310 (DisconnectListManagerEvents): fill this in, using
312 (SetCurrentCell): remove cached_currencymgr_events handling.
313 (SetDataMember): only call DisconnectListManagerEvents if
314 cached_currencymgr is != null.
315 (SetDataSource): same.
316 (OnListManagerCurrentChanged): cached_currencymgr_events ->
319 2006-05-31 Jackson Harper <jackson@ximian.com>
321 * BindingManagerBase.cs: Remove somedebug code that creeped into
323 * TreeNode.cs: We get the indent level dynamically right now, so
324 don't track it as a member.
325 * TreeNodeCollection.cs: Make sure all nodes added to the list
326 have parents, treeviews/topnodes setup properly.
327 - Don't attempt to track indent level.
329 2006-05-30 Jackson Harper <jackson@ximian.com>
331 * BindingContext.cs: Create the currency manager tables here.
332 This allows us to more easily create null tables (when bad data
333 members are used), and more easily create related currency
335 * CurrencyManager.cs: All the table creation stuff is done by the
337 - Current should throw an exception if listposition is -1.
338 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
341 2006-05-30 Mike Kestner <mkestner@novell.com>
343 * ListView.cs: allow reexpansion of zero-width column headers.
346 2006-05-28 Chris Toshok <toshok@ximian.com>
348 * CurrencyManager.cs (get_Current): after the late binding
349 listposition = -1 fix, we need to guard against it here and return
350 null, otherwise we raise an exception (which is swallowed
351 elsewhere, and breaks datagrid databinding.)
353 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
355 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
356 than WM_SYSKEY, don't throw if get something unexpected (#78507)
358 2006-05-26 Jackson Harper <jackson@ximian.com>
361 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
362 values, it's faster and it's all we care about (we don't care if
363 the names aren't equal).
364 * KeyboardLayouts.cs: Eliminate some dead code.
366 * X11Keyboard.cs: Lazy init keyboard detection.
367 - Cleanup access modifiers a little.
369 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
371 * XplatUIX11.cs: Once again, attempting to get layout just right.
373 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
375 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
376 the sizes of each link section, that will result in sizes that
377 match DrawString's layout (Fixes #78391)
379 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
381 * FileDialog.cs: If AddExtension property is true autocomplete the
382 extensions in SaveFileDialog correctly. Fixes bug #78453.
383 Set MyNetwork and MyComputer to "C:\" for windows. This should
384 fix part 8 of bug #78446 for now.
386 2006-05-26 Chris Toshok <toshok@ximian.com>
388 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
389 invalidate the current row header if we need to, but presumably
390 we'll invalidate the row corrsponding to the bounds or
392 (GridHScrolled): switch back to this method, as it's part of the
394 (GridVScrolled): same.
395 (OnMouseWheel): hack up something that more or less works. Call
396 GridHScrolled/GridVScrolled directly, instead of duplicating much
398 (EnsureCellVisibility): reinstate a bunch of this code, since we
399 can't just set the scrollbar Value and expect to do all the work
400 in the ValueChanged handler. Also, Call Update() after scrolling
401 in one direction so the other XplatX11.ScrollWindow call has the
402 proper stuff in the proper places.
403 (EditCell): set is_editing to true before calling .Edit.
405 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
406 don't bother comparing first.
407 (OnKeyPress): call grid.ColumnStartedEditing before calling
408 base.OnKeyPress. this will set is_changing and invalidate the row
410 (ProcessKeyMessage): for WM_CHAR messages, call
411 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
414 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
415 it's done in the DataGrid.
416 (NextState): call grid.ColumnStartedEditing, which takes care of
417 invalidating the row header (and setting is_changing).
419 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
420 here. it's done in the DataGrid.
422 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
424 * Control.cs: allow changing the cursor when the mouse position is
425 out of bounds but Capture is set.
426 * LinkLabel.cs: handle the case when the mouse button is pressed on the
427 linklabel but released somewhere else.
429 2006-05-25 Jackson Harper <jackson@ximian.com>
431 * TreeView.cs: When we get focus if there is no selected node make
433 - Remove some uneeded setup code from Draw.
434 * TreeNodeCollection.cs: If the tree doesn't have a top node when
435 a new node is inserted make the new node the top.
437 * Timer.cs: Use Utc time so that no local time zone stuff needs to
438 be used (should be faster).
440 2006-05-25 Chris Toshok <toshok@ximian.com>
442 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
443 problem with the last commit.
445 2006-05-25 Chris Toshok <toshok@ximian.com>
447 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
448 need the invalidate call here, while scrolling right-to-left via
449 the left arrow key (i.e. moving the editing cell while scrolling).
451 * DataGrid.cs (.ctor): remove the initialization of
452 ctrl_pressed/shift_pressed. We no longer track them using key
453 up/down handlers, but by using Control.ModifierKeys. Also, switch
454 to using ValueChanged handlers on the scrollbars instead of
455 Scrolled event handlers. This simplifies a bunch of the scrolling
457 (GridHValueChanged): rename from GridHScrolled, and change it to
458 work with the new event args.
459 (GridVValueChanged): same.
460 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
461 (OnMouseWheel): actually scroll the datagrid. Don't change the
463 (ProcessGridKey): correct all the keyboard navigation stuff I
464 could find. Ctrl up/down/left/right/home/end work now.
465 (EnsureCellVisibility): correct method name spelling. Also,
466 simplify this a touch by not explicitly calling the
467 ScrollToRow/ScrollToColumnInPixels methods. We just set the
469 (OnKeyUpDG): no need for this method now.
471 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
473 * LinkLabel.cs: display the OverrideCursor when hovering the label.
476 2006-05-25 Chris Toshok <toshok@ximian.com>
478 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
481 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
483 * Application.cs: Moved setting of is_modal and closing to before
484 we create the control, to allow the event handlers called as a
485 result of creation affect closing. Also removed Gonzalo's previous
486 change to setting DialogResult, the behaviour has been moved to
489 - ShowDialog(): Removed explicit creation of the form, let RunLoop
491 - ShowDialog(): If no dialog result is set, we need to return Cancel
492 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
493 the close is cancelled
495 2006-05-25 Jackson Harper <jackson@ximian.com>
497 * StatusBar.cs: We only need to update the sizes of the other
498 panels when we have auto size contents. Also we are only updating
499 the contents of the panel, not the borders, so compensate for the
500 border width (TODO: get this width from the theme somehow).
501 * TreeView.cs: Scrollable is true by default
502 - Use invalidate instead of refresh where needed
503 - Factor the scrollable value into scrollbar updating
504 - Update the scrollbars if the Scrollable property is altered
505 - Update the selected node if its ImageIndex is changed
506 - Handle null nodes in UpdateNode (mainly so we don't have to
507 check if selected is null when updating it
508 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
509 are factored into the visible count
510 - Use VisibleCount for clarity in the code
511 - When the font is changed we need to recurse through all the
512 nodes and invalidate their sizes
514 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
516 * Application.cs: set the DialogResult to fixed when the main form is
517 hidden or destroyed while being modal.
519 2006-05-25 Miguel de Icaza <miguel@novell.com>
521 * Theme.cs: Use Tangoified messagebox icons.
523 (GetSizedResourceImage): Also cope with width = 0 and do not
524 trigger a warning in that case (0 means "give me your icon from
525 the resouce, no special size needed).
527 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
529 * Application.cs: Leave runloop if the the main modal form is
530 hidden (fixes #78484)
532 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
534 * BindingContext.cs : reject null datasource in Contains() and
536 * CurrencyManager.cs : check data_member validity when data_source
537 is dataset. When it is late binding, the initial position is -1.
539 2006-05-24 Jackson Harper <jackson@ximian.com>
541 * TreeNodeCollection.cs: Dont't recalculate the visible order on
542 inserted nodes that aren't visible. This changes the
543 max_visible_order which confuses scrollbar settings.
544 - Use the enumerator to get the prev node instead of duplicating
546 * TreeView.cs: Use new method for setting scrollbar values
547 - Don't set the bounds every time the scrollbar is updated
548 - When updating below the root node use an invalidate instead of a
549 refresh to prevent the child controls (scrollbars) from being
550 refreshed. (UpdateBelow still needs to be reworked anyways).
551 - Reenable SetBottom now that visible orders are set correctly,
552 added some debug code incase we ever get bad values there again.
553 - Set the scrollbar max to 2 less then the max value, this
554 compensates for the max value being one above the node count, and
555 for scrollbars adding one extra "notch".
556 - When drawing image nodes if there is an imagelist we draw the
557 first image in the list if the supplied image index is out of the
560 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
562 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
563 we receive a size change from the WM (Fixes #78503)
565 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
567 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
568 rectangle (Fixes #78501)
570 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
573 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
575 - Fixed MouseMove to no longer switch pressed state unless the left
576 mouse button is pressed. Atsushi provided the original patch (#78485)
578 2006-05-24 Jackson Harper <jackson@ximian.com>
580 * ScrollBar.cs: New internal methods that allow us to change a
581 couple values on the scrollbar (the most common case is maximum
582 and large change) without getting multiple invalidates.
584 2006-05-24 Chris Toshok <toshok@ximian.com>
586 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
587 (Edit): save off the original state in oldState, and set
588 grid.is_editing to true.
589 (OnKeyDown): abort editing if escape is pressed. also, call
590 NextState if space is pressed.
591 (OnMouseDown): call NextState.
592 (NextState): factor out shared code from OnKeyDown and OnMouseDown
593 here. Also, only invalidate the row header once (on the initial
594 is_changing switch) to save on redraws.
596 2006-05-24 Chris Toshok <toshok@ximian.com>
598 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
599 if the value in the cell is different than it was before. This
600 keeps us from triggering a layout when we move around a datarid
601 with a highlighted cell.
602 (Edit): suspend layout when creating/positining the text box, and
603 resume passing false so we don't ever actually re-layout.
604 (ReleaseHostedControl): same.
605 (EnsureTextBox): reformat slightly, and set WordWrap to false.
607 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
608 control-key sequences should go to the datagrid - remove that
609 lock. Also, modify the conditions under which we move between
610 cells when moving the cursor within a cell, and remove the "this"
611 and "base" from field accesses. We weren't even consistent, given
612 they all were in the base class.
614 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
616 * Binding.cs : (.ctor)
617 An obvious NRE fix for BindingTest.CtorNullTest().
619 2006-05-23 Chris Toshok <toshok@ximian.com>
621 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
622 them between lines. This fixes some quirks editing cells in the
625 2006-05-23 Jackson Harper <jackson@ximian.com>
627 * TreeView.cs: Use begin/end update when doing expand/collapse all
628 so that we don't get flicker on the scrollbar.
630 2006-05-23 Jackson Harper <jackson@ximian.com>
632 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
633 treenode calculations to be independant of the painting code. To
634 do this nodes track a visible order which is calculated by the
636 - Call new methods for expanding/collapsing nodes. These methods
637 use scrollwindow so we don't have to update everything below the
639 * TreeView.cs: Refactored drawing and scrolling code. We don't
640 need to update nodes when drawing anymore or calculate scrollbar
642 - Added new methods for expanding/collapsing nodes. These methods
643 use ScrollWindow so as to not have to redraw all the nodes below.
644 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
645 we add/remove nodes or sort.
646 - Handle removing the selected and the top node properly.
648 2006-05-23 Chris Toshok <toshok@ximian.com>
650 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
651 maybe this should actually happen in the datagrid code?
652 (EndEdit): no need to invalidate anything, given that
653 ReleaseHostedControl causes the datagrid to relayout, which
654 invalidates everything anyway.
656 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
658 (set_SelectionBackColor): call InvalidateSelection instead of
660 (set_SelectionForeColor): same.
661 (BeginEdit): Flesh this out a bit.
662 (CancelEditing): only do any of this if we're editing/adding.
664 (OnMouseDown): there's no need to cancel editing here, it's done
666 (SetCurrentCell): only invalidate the current row header if it's a
667 different row than the new one.
668 (ShiftSelection): fix this to work like MS does.
669 (ResetSelection): factor out the invalidation of selected_rows to
671 (SetDataSource): cancel any editing that's going on.
673 * DataGridColumnStyle.cs
674 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
675 call the non-interface version.
677 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
678 header rectangle with the clip rectangle so we don't redraw the
679 entire header for just a small area. Gets rid of the last flicker
680 when horizontally scrolling.
681 (DataGridPaintRow): same.
683 2006-05-23 Mike Kestner <mkestner@novell.com>
685 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
686 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
687 poorly placed checkbox on the MS control. Fixes Alex's unfiled
690 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
692 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
693 and this fixes #78493
695 2006-05-23 Miguel de Icaza <miguel@novell.com>
697 * Theme.cs (GetSizedResourceImage): Scale images if the proper
700 * FileDialog.cs: Do not change the background for the side bar as
701 it wont work nicely with the theme, and also reduces the artifacts
702 in rendering the icons (which I want to fix too).
704 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
705 resources, not resgen resources.
707 (PlatformDefaultHandler): Pull images using the new API.
709 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
711 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
712 a reference to the hwnd and will not remove it unless there are
713 no pending exposures (fixes #78341)
714 * XplatUI.cs: Improved debug
716 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
718 * MenuAPI.cs : don't handle OnClick event when it was not the left
719 button. Fixed bug #78487.
721 2006-05-23 Mike Kestner <mkestner@novell.com>
723 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
724 prefer submenus to the top menu for item lookup, to avoid popping down
727 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
729 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
730 Graphics.FillRectangle as the visual results are really bad (even
731 on win). We now draw perfect arrows (and perfect shadows when the
732 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
733 Pen.DashPattern to draw the dots of each line.
735 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
737 * FileDialog.cs: Update the filename combobox when navigating through
738 the ListView with the cursor keys. Fixes part 7 of bug #78446.
740 2006-05-22 Mike Kestner <mkestner@novell.com>
742 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
745 2006-05-22 Mike Kestner <mkestner@novell.com>
747 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
748 requests. Fix a misspelled parameter and a copy paste exception error
751 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
753 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
754 to get the same width/height (5/13) on X11 as the default font has on
755 win32. This means that our DefaultFont emSize is smaller than the
756 the MS SWF equivalent (even thought the width/height stays the same)
758 2006-05-20 Jackson Harper <jackson@ximian.com>
761 * MdiWindowManager.cs:
762 * InternalWindowManager.cs: Make sure to use the border width from
765 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
767 * PrintDialog.cs: Implements printer details
769 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
771 * FileDialog.cs: Added focus handling for PopupButtonPanel.
772 Fixes part 1 and 2 of bug #78446
774 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
776 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
777 instead of sticking to the first ever calculated value
779 2006-05-19 Mike Kestner <mkestner@novell.com>
781 * ComboBox.cs: fix mouse motion selection to use MousePosition and
782 PointToClient, since Capture is set. Fixes #78344.
784 2006-05-19 Mike Kestner <mkestner@novell.com>
786 * ListView.cs: match MS behavior in Details view where items are not
787 drawn if Columns.Count == 0.
788 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
789 Use a separate pen to draw the check, since changing the width affects
790 the box as well. Fixes #78454.
792 2006-05-18 Miguel de Icaza <miguel@novell.com>
794 * ListView.cs: ArgumentOutOfRangeException, single versions of the
795 exception should throw the name of the invalid argument.
797 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
798 there are no files listed.
800 2006-05-18 Jackson Harper <jackson@ximian.com>
802 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
805 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
807 * Control.cs: Brought back our old UpdateZOrder method as a private
808 function and switched our calls from UpdateZOrder to the new one.
809 This fixes the Paint.Net canvas disappearing bug.
811 2006-05-18 Jackson Harper <jackson@ximian.com>
814 * ThemeWin32Classic.cs:
815 * InternalWindowManager.cs: Move the drawing into the theme,
816 expose everything the theme should need from the window manager.
818 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
820 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
821 from the call to NativeWindow to avoid walking up the parent chain
822 further than needed (speeds up setting cursors and avoids setting
823 the wrong cursor if a parent has another cursor defined)
824 * Cursor.cs: When loading an icon as cursor, MS uses the center of
825 the icon as hotspot, not what's contained as hotspot in the icon
826 file. This fixes the perceived drawing offset seen with Paint.Net
828 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
831 - Store the calculated rectangle in Hwnd object and use it when
832 setting the client size
833 - Force Toolwindows to always be type Dock, to ensure they're on top
835 2006-05-18 Mike Kestner <mkestner@novell.com>
837 * ComboBox.cs: first pass at ComboBox rework. Layout is more
838 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
839 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
840 Substantial refactoring to remove confusing nested classes. Coding
841 standard and Get+Set->property refactorings. Shift to index based
842 highlighting in ComboListBox instead of constantly using IndexOf and
843 Items[]. Add invalidations on resize for DropDownList to fix ugliness
844 in FileDialog growth. Draw borders manually since Simple mode needs
845 to look like two independent controls. Make listbox border
846 conditional to DropDownStyle. Improved OwnerDraw support.
848 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
850 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
851 Don't set the disposed graphics to null, so we can throw the "right"
852 exception if the graphics is reused later (added a flag to avoid
853 double disposing). Some behaviours are different under 2.0 and are
854 filled under bug #78448.
856 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
858 * Control.cs: When double-buffering is enabled, we need to reset
859 our graphics context between paint calls. Otherwise, any
860 transformations and other alterations on the context will
861 become cumulative (#77734)
863 2006-05-18 Mike Kestner <mkestner@novell.com>
865 * ListView.cs: do focused item selection like MS on clicks.
866 Rework focus handling for ItemControl so LostFocus invalidates as
868 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
869 the ListView ItemControl has focus.
871 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
873 * XplatUIX11.cs: If client_window ends up being width or height zero
874 due to border settings, move it off window inside whole_window (#78433)
876 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
878 * Mime.cs: Shrink the mime file cache correctly.
880 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
882 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
884 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
886 * XplatUIX11.cs (AddExpose): More sanity checks
888 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
891 - AddExpose: Don't add expose ranges outside the size of our
893 - Cast opacity values to Int32 to avoid crashes with certain
895 - Added disabled code paths that protect against illegal cross-
896 thread painting (Developers.exe)
898 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
900 * ProgressBar.cs: Invalidate the control when it's resized
901 since block size is based on control size. (#78388)
903 2006-05-16 Miguel de Icaza <miguel@novell.com>
905 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
906 of setting the incoming argument to the "reset" value, we set the
907 this.datamember to string.empty (before we were invalidating the
912 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
914 * Form.cs: Only apply transparency settings after the form
915 is created. (Fixes #77800)
917 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
919 * ApplicationContext.cs: Grab the HandleDestroyed event so
920 we know when to fire OnMainFormClosed
922 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
924 * Application.cs: Introduced sub-class to allow tracking of
925 threads and centralized triggering of the event mess for
926 ThreadExit, AppExit, etc.. (#76156)
928 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
931 - Do not return a null icon index value for a mime subclass.
932 Instead try the main mime type class too.
933 - Seems that some newer distributions don't have a link to some
934 gnome default icons anymore. So check the default gnome dir too.
937 2006-05-16 Jackson Harper <jackson@ximian.com>
939 * MdiClient.cs: Don't paint the parent background image if we have
940 our own background image.
942 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
945 - PerformLayout: Do not shrink space filled by DockStyle.Fill
946 controls, all filled controls are supposed to overlap (#78080)
947 - UpdateZOrder is supposed to update the control's z-order in the
948 parent's z-order chain. Fixed to behave like that
949 - BringToFront: Removed obsolete code
950 - SendToBack: Simplyfied
951 - SetChildIndex: Trigger layout calculations when Z-order changes
952 since layout is done by z-order
954 2006-05-16 Chris Toshok <toshok@ximian.com>
957 * DataGrid.cs (set_AlternatingBackColor): use
958 grid_drawing.InvalidateCells instead of Refresh().
959 (set_BackColor): call grid_drawing.InvalidateCells.
960 (set_BackgroundColor): use Invalidate instead of Refresh.
962 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
963 invalidate the cell area.
965 2006-05-15 Chris Toshok <toshok@ximian.com>
968 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
969 on to DataGridPaintRow.
970 (DataGridPaintRow): take a clip argument, and only draw the cells
971 which intersect it. same with the not_usedarea.
973 * Theme.cs (DataGridPaintRow) add @clip parameter.
975 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
976 XplatUI.ScrollWindow.
979 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
980 with last column which was causing a gray swath to appear with the
981 XplatUI.ScrollWindow code.
983 2006-05-15 Chris Toshok <toshok@ximian.com>
985 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
986 use XplatUI.ScrollWindow.
987 (VerticalScrollEvent): use XplatUI.ScrollWindow.
989 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
991 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
993 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
995 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
996 file since there are no equivalent X11 cursors
998 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1000 * MonthCalendar.cs : DateTimePicker should reflect selected date
1001 on mouse*up*, not mouse*down*. Fixed originally reported part of
1004 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1006 * TabControl.cs : When argument index is equal or more than tab
1007 count, just ignore. Fixed bug #78395.
1009 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1011 * Control.cs: Dispose all child controls when control is diposed (#78394)
1013 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1015 * ColorDialog.cs: Finally it is possible to select the color with
1018 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1020 * PrintDialog.cs: Fix typo
1022 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1024 * PrintDialog.cs: PrintDialog is not resizable
1025 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
1026 color. Made some ToolBar drawing methods protected virtual.
1028 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
1030 * PrintDialog.cs: Implementation of the PrintDialog
1032 2006-05-12 Chris Toshok <toshok@ximian.com>
1034 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
1035 thumb, instead use MoveThumb. This has the side effect of making
1036 most of the other thumb moving machinery use MoveThumb as well.
1037 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
1038 need to actually invalidate the rectangle where the new thumb will
1040 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
1041 We force an Update() after, so it's not as fast as it could be,
1042 but at least there's zero flicker and no droppings.
1043 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
1044 (UpdateThumbPos): add another argument (dirty), which says whether
1045 or not to calculate/add dirty regions which we later invalidate.
1046 For cases where we know we're going to use MoveThumb, we pass
1047 false for this. Otherwise, pass true.
1049 2006-05-12 Jackson Harper <jackson@ximian.com>
1051 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
1054 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
1056 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
1057 and GetClipRegion methods and UserClipWontExposeParent property.
1058 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
1059 overriding UserClipWontExposeParent property, setting to false, since
1060 Win32 handles the required expose messages to draw our clipped parent
1062 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
1063 PaintEventStart to set the user clip region if set.
1065 - Now internally tracking the Region for the control since we need to
1066 store it if the handle is not yet created and only set it when it
1067 becomes created. Before setting the region forced handle creation
1068 - Added code to draw the parents underneath a user-clipped region
1069 * Hwnd.cs: Added UserClip property
1071 2006-05-12 Chris Toshok <toshok@ximian.com>
1073 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
1074 (set_Maximum): same.
1075 (set_Minimum): same.
1076 (set_SmallChange): same.
1077 (OnMouseUpSB): remove the call to refresh when releasing the
1078 thumb. We shouldn't need it.
1080 2006-05-12 Miguel de Icaza <miguel@novell.com>
1082 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
1083 AutoSize set to None, we do not need to relayout everything, we
1084 just need to invalidate the current region.
1086 (Draw): Do not draw the entire ClientArea, just redraw the
1087 clip area being passed.
1089 * MdiClient.cs: Make MdiClient constructor with the Form argument
1092 2006-05-12 Jackson Harper <jackson@ximian.com>
1094 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
1095 parents background image, but strangely not their own.
1096 - (DrawStatusBarPanel): Take into account horizontal alignment
1097 when drawing the strings and icons.
1099 2006-05-12 Mike Kestner <mkestner@novell.com>
1101 * ListBox.cs: avoid invalidations for focus when the collection is
1104 2006-05-12 Chris Toshok <toshok@ximian.com>
1106 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
1107 invalidate the entire thumb area. Call InvalidateDirty which
1108 limits the redraw to the thumb itself and surrounding pixels.
1110 * XplatUIX11.cs (ScrollWindow): optimize copying.
1112 2006-05-12 Chris Toshok <toshok@ximian.com>
1114 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
1115 Figure out the positioning/layout in a single pass instead of
1116 multiple recursive invocations. Speeds up the initial display of
1117 the data grid. Also, make many things private that were
1118 originally public but unused outside this class.
1120 2006-05-11 Jackson Harper <jackson@ximian.com>
1122 * MdiClient.cs: Improved layout code.
1124 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
1126 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
1129 2006-05-11 Chris Toshok <toshok@ximian.com>
1131 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
1132 union of that will always be {0,0,width,height}.
1134 2006-05-11 Jackson Harper <jackson@ximian.com>
1136 * Form.cs: Match MS's DefaultSize for forms (they must have
1137 changed the size in sp2).
1139 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1141 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
1143 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1145 * TextControl.cs : Fixed bug #78109. This incorrect position
1146 comparison caused crash on automatic line split.
1147 * TextBoxBase.cs : reduce duplicate code.
1149 2006-05-10 Jackson Harper <jackson@ximian.com>
1151 * MdiClient.cs: Active form is only sent to the back when using
1152 the Next form functionality, when a form is clicked the current
1153 active shouldn't be sent to the back.
1154 - Layout the mdi windows when the container is first made visible.
1155 * Form.cs: Give the MdiClient a ref to the containing form when we
1158 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1160 * LinkLabel.cs : link_font could be uninitialized, so populate one
1161 before actual use. Fixed bug #78340.
1163 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1165 * XplatUIX11.cs : clipboard format native value is IntPtr.
1168 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1171 - Instead of showing context menus directly we send WM_CONTEXTMENU,
1172 which is passed up the parent chain by DefWndProc
1173 - We now handle WM_CONTEXTMENU to display any menu, or pass it
1174 to DefWndProc (#77956)
1175 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
1177 2006-05-10 Jackson Harper <jackson@ximian.com>
1179 * MdiClient.cs: We need to remove the controls from the mdi
1180 collection, when we close the window.
1181 * MdiWindowManager.cs: Special handling of closing mdi windows.
1182 * InternalWindowManager.cs: Make the close method virtual so the
1183 mdi window manager can handle it specially.
1185 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
1188 - Recalculate grid when the data source has changed
1189 - Matches styles provided by user from all data sources types
1190 * DataGridTableStyle.cs: For columns that provided by the user set the
1191 with the preferred value is there was unassigned.
1192 * CurrencyManager.cs: throw OnItemChanged event
1194 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1196 * PictureBox.cs: Don't animate until handle is created. Start animation
1197 when handle is created.
1199 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1201 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
1203 * XEventQueue.cs: We don't need to provide the extra info
1205 2006-05-10 Jackson Harper <jackson@ximian.com>
1207 * MdiClient.cs: If the mdi clients parent form has a background
1208 image set, we draw that background image for the mdi area's
1211 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1213 * TextBoxBase.cs: Set IBeam cursor (#78347)
1215 2006-05-10 Mike Kestner <mkestner@novell.com>
1217 * ToolBar.cs: fix some text padding issues with ButtonSize
1218 calculation. Update the default size to match MS documentation.
1219 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1220 button size. Fixes #78296.
1222 2006-05-10 Mike Kestner <mkestner@novell.com>
1224 * ListBox.cs: use is_visible for scrollbar positioning in case the
1225 control isn't on screen yet. Fix off by one with Right vs Width
1226 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1228 2006-05-10 Jackson Harper <jackson@ximian.com>
1230 * X11Dnd.cs: Drop to a control with another control on top of it.
1231 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1232 be modified in click handlers. TODO: Look for similar problems in
1235 2006-05-09 Jackson Harper <jackson@ximian.com>
1237 * Form.cs: Window managers need the old window state when setting
1239 * InternalWindowManager.cs: Allow the base mdi window manager to
1240 handle more of the MDI only stuff (like maximize buttons).
1241 * MdiWindowManager.cs: Fix some snafus in changing the window
1242 state. Add all the menu functionality, for both popup and
1244 * MdiClient.cs: When a new form is selected the currently
1245 activated form is sent to the back, this matches MS.
1246 - Implement a new method to activate the next mdi child window.
1248 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1251 - Added new InternalCapture method to allow controls to prevent
1252 the capture behaviour on the click handlers
1253 - Switched to use InternalCapture
1255 - Using InternalCapture to prevent mouse captures from being released
1256 on mouse button release (Fixes #78100)
1257 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
1258 returns Form borders if a caption is present. (Fixes #78310)
1260 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1262 * TreeNode.cs: Changed serialization .ctor to not require every field
1263 to be present. (#78265)
1264 * OwnerDrawPropertyBag.cs: Added serialization .ctor
1266 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
1268 * MimeIcon.cs: for is faster than foreach for strings.
1270 2006-05-05 Mike Kestner <mkestner@novell.com>
1272 * CheckedListBox.cs: update check handling code to not use selected.
1273 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1274 behavior for visual feedback, motion response, shift/ctrl handling,
1275 and properly deal with all 4 selection modes. Updates to bounds
1276 handling logic. Add scroll wheel support. [Fixes #77842]
1278 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1281 - Moved adding of Implicit controls into .ctor. That way, subsequent
1282 creation of the controls will not cause them to think they are
1283 toplevel windows (fixes #78200 header problem)
1284 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1285 - Switched visibility setting of header control to use internal field
1286 to avoid triggering handle creation
1287 - Now checking if handle is created before causing a refresh when items
1288 are added (This makes us now match handle creation time with MS)
1289 * Splitter.cs: Removed loading of private splitter cursor, switched to
1290 Cursors version now that that is loading the right ones
1291 * Cursors.cs: Load proper splitter cursors from resources
1292 * Cursor.cs: Added second method of loading resource cursors for the
1293 VS.Net users amongst us
1295 2006-05-05 Mike Kestner <mkestner@novell.com>
1297 * ListView.cs: give header_control a minimum size based on the
1300 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1302 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1303 window seems to do that with metacity, so set that type. (#78120)
1305 2006-05-05 Mike Kestner <mkestner@novell.com>
1307 * ListViewItem.cs: fix Details mode checkbox layout bug.
1308 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1309 at the end of the header, if it exists. [Fixes for #78200]
1311 2006-05-04 Jackson Harper <jackson@ximian.com>
1313 * MdiClient.cs: Add a helper property to get the container form.
1314 * MdiWindowManager.cs: We have to make sure to use the menu origin
1315 when drawing the icons and buttons, this fixes maximized window
1316 icons/buttons on win32.
1317 * InternalWindowManager.cs: Reset the restore captions when a
1318 window goes from Maximized to Minimized and vice versa. Move the
1319 DrawMaximizedButtons into the MdiWindowManager source, tool
1320 windows can't be maximized. NOTE: This could use a little
1321 refactoring if time ever permits.
1323 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1325 * TextBox.cs: Add MWFCategoryAttributes
1326 * TextBoxBase.cs: Add MWFCategoryAttributes
1327 * Form.cs: Add MWFCategoryAttributes
1329 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1331 * Control.cs: Add MWFCategoryAttributes
1332 * ScrollableControl.cs: Add MWFCategoryAttributes
1334 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1336 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1337 Divider is true. Fix a little glitch in PropertyToolBar
1340 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1343 - Dispose: Call base.Dispose, this causes the disposed event
1344 to be fired (and probably other, more important stuff)
1345 - SetVisibleCore: Set is_visible to true after creating the
1346 window so that the window still gets created invisible (if
1347 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1348 to generate a WM_ACTIVE message
1349 * Form.cs: Call Dispose when we want to destroy the window, instead of
1350 just destroying the handle (Dispose will do that for us)
1352 - RootWindow also needs a queue, so we can properly process the
1353 property change events from RootWindow (like Activate)
1354 - Generatic synthetic WM_ACTIVE message when the active window is
1357 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1359 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1362 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1364 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1365 for determining width and height (image might not be assigned if
1366 we're drawing an imagelist)
1368 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1370 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1371 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1373 * Theme.cs: No longer returns hardcoded menu height, instead calls
1375 * Form.cs (OnLoad): Scaling happens before triggering Load events
1378 2006-05-01 Mike Kestner <mkestner@novell.com>
1380 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1382 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1384 * TextBoxBase.cs: Removed Fixme
1385 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1387 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1390 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1391 the rectangle relative to the parent, considering borders. We
1392 don't really want that.
1393 - ScrollWindow: Fixed warning to be more understandable
1394 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1395 scrollbars and scroll only the visible area
1396 * RichTextBox.cs: Removed debug output
1398 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1400 * NumericUpDown.cs (Text): Just use base
1401 * UpDownBase.cs: Ensure txtView is created before using it
1403 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1405 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1406 casting to IntPtr to avoid 64bit overflow errors
1408 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1411 - AllowDrop: Don't force handle creation.
1412 - CreateHandle: Added call to tell driver if we're allowed to drop
1414 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1416 * FileDialog.cs: Remember the last directory not only for the
1417 current instance but also for new FileDialog instances.
1419 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1421 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1422 broke sending async messages
1424 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1427 - ScrollWindow: Fixed method. We finally generate expose events again
1428 for scrolled areas. This was causing 'garbage' when scrolling
1429 textbox and other controls that used ScrollWindow
1430 - Switched from using the regular queue for paint events to the MS
1431 model of 'generating' paint events when the queue is empty.
1432 We use the new XQueueEvent.Paint subclass to store which windows
1434 - AddExpose now takes the x/y/width/height of the exposed area
1435 and inserts the window into the paint queue if not already there
1436 - InvalidateWholeWindow: Switched to use new AddExpose method
1437 - UpdateMessageQueue: Added which queue to monitor for paint events
1438 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1439 the unlikely case nothing above handles it. We reset the expose
1440 pending states to get them off the queue.
1441 - GetMessage: Now pulls a paint event if no other events are in the
1443 - Invalidate: Switched to new AddExpose method
1444 - PeekMessage: Updated to understand pending paint events
1445 - UpdateWindow: Fixed logic bug. We were only updating if the window
1446 didn't need updating. Also switched to sending WM_PAINT directly,
1448 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1449 and random access Remove(). The random access is needed to handle
1450 UpdateWindow() where a WM_PAINT is sent directly without accessing
1452 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1453 allow for better feedback when scrolling. Scrollbars are small and
1454 the immediate update should make it 'feel' more responsive without
1455 slowing things down. ScrollBar still needs it's invaliate logic
1456 updated to not always invalidate the whole bar on certain changes.
1458 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1461 (BackColor): if the control does not support a transparent background,
1462 return the default backcolor when the parent backcolor is transparent.
1464 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1466 * Application.cs: Updated to new StartLoop/GetMessage API
1467 * RichTextBox.cs: Provide some output on RTF parsing errors
1468 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1469 new queue_id argument to GetMessage and PeekMessage to allow faster
1470 handling of per-thread queues in drivers.
1471 * Hwnd.cs: Added Queue tracking and property
1472 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1473 * XEventQueue.cs: Added thread trackingA
1474 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1476 - Implemented new per-thread queue
1477 - GetMessage: Fixed return/break behaviour on several cases. We were
1478 returning stale messages in some cases, instead of just processing
1481 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1483 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1485 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1487 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1488 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1490 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1492 * PropertyGridView.cs: Fix drop down width.
1494 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1496 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1497 a mess in DrawToolBar, so I removed one of them.
1499 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1501 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1502 needed (clip). Otherwise we get artifacts.
1504 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1506 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1508 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1509 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1510 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1511 if it matches the scale base font (avoids unneeded scaling)
1513 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1515 * X11DesktopColors.cs: One gtk_init_check should be enough
1517 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1519 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1522 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1525 - Generate OnTextChanged for Backspace even if we're only deleting
1526 the current selection
1527 - When setting the Text property, only select all text if the
1528 control does not have focus when it is being set. Otherwise
1529 just place the cursor at the beginning of the control
1531 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1533 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1534 Added a little helper to draw PropertyGrid ToolBar with a different
1535 border and a different BackColor.
1536 * PropertyGrid.cs: Some background parts didn't get painted with the
1537 correct background color. Added a class that helps us to draw the
1538 correct border for PropertyGridView and a class that helps us to
1539 draw ToolBars with a different backcolor
1540 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1542 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1544 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1545 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1547 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1549 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1550 into the palette entries. Also, since we're working on a copy
1551 we needed to copy the palette back onto the bitmap.
1552 * Cursor.cs: Same fix as XplatUIWin32.cs.
1554 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1556 * ImageListStreamer.cs: Need to read the var (or we're off)
1558 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1560 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1561 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1562 TextBoxBase.cs: Unused var fixes
1563 * AxHost.cs: Small 2.0 fix
1564 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1565 as it seems that is what at least Metacity expects. This will make
1566 icons show up on 64bit platforms. We still have some 64bit size
1567 issues, though, since the startup app window size still won't match.
1569 2006-04-25 Mike Kestner <mkestner@novell.com>
1571 * *.cs: cleanup newly reported exception var unused warnings.
1573 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1575 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1578 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1580 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1581 image. The image position is always the same, no matter if the
1582 button is pressed or not.
1584 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1586 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1587 selection and set the correct filename for SaveFileDialog.
1588 Patch by Emery Conrad.
1590 2006-04-24 Mike Kestner <mkestner@novell.com>
1592 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1593 check for item.X outside the ClientRect instead of item.Y. Fixes
1596 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1598 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1599 trust that value blindly and do some sanity check. Fixes bug #77814.
1601 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1603 * ImageListStreamer.cs: save the mask as a 1bpp image.
1605 2006-04-21 Mike Kestner <mkestner@novell.com>
1607 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1608 pass Checked and Indeterminate to the Theme Engine. Improve
1609 encapsulation with ListBox.
1610 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1611 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1612 nested types. Move all CheckState functionality to CheckedListBox.
1613 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1614 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1615 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1616 single base list. Fix scrollbar sizing and placement to mirror MS.
1617 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1619 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1620 for CheckedListBox by using new DrawItemState info. Center the
1621 checkboxes on the items. Use new StringFormat property.
1623 2006-04-18 Jackson Harper <jackson@ximian.com>
1625 * Form.cs: MdiChildren don't do default locations the same way as
1626 regular forms. This prevents a crash when trying to position the
1629 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1631 * PropertyGridTextBox.cs: Formatting, copyright
1632 * PropertiesTab.cs: Formatting
1633 * PropertyGrid.cs: Formatting
1634 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1635 click toggling of values
1637 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1639 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1640 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1641 every time a control is created
1642 * Application.cs: Removed obsolete EnableRTLMirroring method
1644 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1646 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1647 SelectedIndex to -1. Fixes bug #78121.
1649 2006-04-17 Jackson Harper <jackson@ximian.com>
1651 * Binding.cs: Handle null values for Current and BindingContext.
1652 This occurs when binding is a little delayed.
1653 * CurrencyManager.cs: return null for Current when there are no
1655 - Hookup to the listchanged event on the DataView and update
1656 bindings when the list is changed. This fixes late binding of
1659 2006-04-17 Jackson Harper <jackson@ximian.com>
1662 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1665 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1667 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1669 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1670 with the correct ButtonState
1672 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1674 * XplatUIX11.cs: Improved distinguishing between window types to
1675 tell the WM a type closer to what the app wants (Fixes #78107)
1677 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1679 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1682 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1684 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1685 drawing code to reflect the size grip changes
1687 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1689 * ImageListStreamer.cs: fix handling of the mask that follows the main
1690 bitmap when deserializing and serialize it properly. The generated mask
1691 should better be a 1bpp image, but I'll do that later.
1693 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1695 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1696 path doesn't fit into some of our Current.Places
1698 2006-04-13 Jackson Harper <jackson@ximian.com>
1700 * ComboBox.cs: Use borders instead of drawing our own decorations,
1701 try to obey correct rules for heights.
1704 * ThemeClearLooks.cs:
1705 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1706 this is now handled by borders.
1707 - Remove unused DrawListBoxDecorationSize method.
1709 2006-04-13 Mike Kestner <mkestner@novell.com>
1711 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1714 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1716 * ThemeWin32Classic.cs:
1717 - Fixed CPDrawStringDisabled
1718 - Corrected drawing of disabled menu items
1719 - Fixed drawing of disabled radio buttons (bug #78095)
1720 - Draw check in a disabled CheckBox with color ControlDark
1722 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1724 * Form.cs: Use the provided width when calculating the menu size;
1725 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1726 and ClientSize.Width won't be updated yet
1727 * Application.cs: Use Visible instead of Show() to make form visible,
1728 this way we create the handle later and menusize is considered
1730 2006-04-12 Mike Kestner <mkestner@novell.com>
1732 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1735 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1737 * TextBox.cs: Implemented context menu
1739 2006-04-12 Mike Kestner <mkestner@novell.com>
1741 * ListView.cs: implement box selection. fixes #77838.
1742 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1744 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1746 * XplatUIX11.cs: Added setting of window type when transient window
1747 is created (metacity would move it otherwise)
1748 * X11Structs.cs: Added WINDOW_TYPE atoms
1749 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1750 background (the control is Opaque but still wants transparent
1753 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1755 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1756 that set Opaque but don't mean it (like all ButtonBase-derived
1757 controls) to still draw their background
1758 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1761 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1763 * Control.cs (PaintControlBackground): Set the graphics object
1764 on our PaintEvent to null to prevent it from being disposed
1765 when the PaintEvent gets disposed
1767 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1769 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1770 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1772 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1775 - Added transparency check to BackColor property. Transparent
1776 backgrounds are only allowed if the control styles permit it
1777 - Added recursive painting of parent control background and
1778 foreground if a control with a transparent backcolor is drawn
1779 (Thanks to Tim Ringenback for providing his 'hack' as a base
1780 for this patch) Fixes #77985 and #78026.
1781 - Added Opaque style check before calling OnPaintBackground, no
1782 need to draw the background if the control is opaque
1783 - Removed ControlAccessibleObject owner variable (inherited from
1784 base, no need to define again)
1785 - Added some documentation links explaining the drawing events
1788 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1790 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1791 that the affected control is the located at the left border of our
1792 parent (Fixes #77936)
1794 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1796 * TextBoxBase.cs: When rendering disabled or readonly controls,
1797 draw the background with 'Control' instead of 'Window' color as
1798 long as the user hasn't specifically set a color
1800 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1802 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1803 since that won't be updated if the user types text (only if it's
1804 programatically set)
1806 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1808 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1809 layout changes do to app-triggered resizes will have the proper
1810 display rectangle for layout
1812 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1814 * ThemeWin32Classic.cs:
1815 - Make use of the SystemBrushes and SystemPens wherever possible
1816 - Corrected some highlight colors
1817 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1819 * Theme.cs: Added Empty field to CPColor struct
1821 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1823 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1824 is displayed when calculating the display rectangle. Thanks to Mike
1825 for teaching me the err of my ways.
1827 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1829 * ScrollableControl.cs:
1830 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1831 (instead of 0,0) and we now return the real width/height instead of
1832 just the clientrectangle, adjusted for padding. The rectangle is
1833 now cached and created by the new CalculateDisplayRectangle method.
1834 - Created new CalculateDisplayRectange method, which basically does
1835 what get_DisplayRectangle() did originally, but now using the
1836 right edge instead of DisplayRectangle to determine the size of
1838 - get_Canvas(): Fixed it to properly calculate canvas for
1839 right/bottom controls which seem to be placed to the right/bottom
1840 of any controls that have a fixed location
1841 - Removed TODO that's taken care of
1842 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1843 and SetDisplayRectLocation according to new MSDN2 docs
1844 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1845 event when that is called, this is added for compatibility
1846 - ScrollControlIntoView(): Implemented.
1847 - Switched scrollbars to be implicit, they shouldn't be selectable
1848 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1849 call it when the active control is set/changed
1850 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1851 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1852 implicit_control variable (used for native Win32 message generation)
1853 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1854 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1855 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1856 * XplatUIStructs.cs: Added ScrollBarCommands enum
1858 2006-04-10 Jackson Harper <jackson@ximian.com>
1861 * CheckedListBox.cs:
1868 * PrintPreviewControl.cs:
1874 * UpDownBase.cs: Fixup base event overrides.
1876 2006-04-06 Mike Kestner <mkestner@novell.com>
1878 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1879 all user-initiated value changes to min <= value <= max-thumbsz+1.
1880 (set_Value): check for vert/horiz when calculating new thumb position.
1881 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1883 (OnMouseMoveSB): refactor the thumb dragging code and refine
1884 invalidation logic to reduce flicker.
1885 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1886 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1887 (UpdateThumbPosition): small code readability cleanup
1889 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1891 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1894 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1896 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1898 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1900 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1901 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1902 This dramatically reduces the number of Pen.Dispose calls.
1903 Where possible call ResPool methods only once instead of calling it
1904 over and over again (for example for the same color).
1906 2006-04-06 Mike Kestner <mkestner@novell.com>
1908 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1909 Also remove an unused private field on the collection. Fixes #77972.
1911 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1913 * ThemeNice.cs: Added ToolBar drawing code
1915 2006-04-06 Mike Kestner <mkestner@novell.com>
1917 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1918 I'm assuming that means we need to look up the toplevel for the
1919 provided control. Fixes the crash trace in #77911 but exposes another
1920 crash in some strange reflection usage in NDocGui.
1922 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1924 * ThemeNice.cs: Gave it a little silver touch and added Images
1926 * FontDialog.cs: FontDialog is not resizable
1927 * FileDialg.cs: Added SizeGripStyle.Show
1929 2006-04-05 Jackson Harper <jackson@ximian.com>
1931 * KeyboardLayouts.cs: Remove warning.
1933 2006-04-05 Jackson Harper <jackson@ximian.com>
1935 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1936 all of our controls instead of Paint +=.
1951 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1952 use OnPaintInternal. Remove Width/Height and Visible checks in
1953 paint handler, this is done at a higher level now.
1954 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1955 * PaintEventArgs.cs: Add a handled flag so controls that don't
1956 want anymore painting after OnPaintInternal can make sure OnPaint
1959 2006-04-05 Mike Kestner <mkestner@novell.com>
1961 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1962 state of the form, so that we don't process events when Modal dialogs
1963 are up. Fixes #77922.
1965 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1967 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1970 2006-04-05 Mike Kestner <mkestner@novell.com>
1972 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1974 2006-04-05 Mike Kestner <mkestner@novell.com>
1976 * ListView.cs (HeaderMouseMove): null guarding for the over column
1977 when setting up the drag_to_index. Fixes #78015.
1979 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1981 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1982 in the taskbar. Transient windows seem to accomplish that.
1984 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1987 - Re-enabled CreateParams.X/Y code for FormStartPosition
1988 - Added code for manual placement when creating the Control
1989 - Incomplete patch to treat MDI forms differently when
1990 setting the ClientSizeCore. (Still need to figure out handling
1993 - When we're explicitly setting the X/Y position of a non-Child
1994 window, let the WM know. Metacity really wants this.
1996 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1998 * ThemeNice.cs: Added CPDrawButton
2000 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2002 * ThemeNice.cs: Changed the color for focused buttons and activated
2003 the arrows for small scroll buttons.
2005 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2007 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
2008 anymore. Changed some method modifiers to protected (virtual)
2009 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
2011 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
2012 Updated drawing of menus, buttons and progressbars; added
2015 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2017 * ImageListStreamer.cs: implemented serialization/deserialization
2020 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
2022 * ThemeWin32Classic.cs:
2023 - Removed all the DrawFrameControl stuff; CPDrawButton,
2024 CPDrawCheckBox and CPDrawRadioButton are now handled directly
2026 - Updated and corrected the drawing code of CPDrawButton,
2027 CPDrawCheckBox and CPDrawRadioButton to better match ms
2028 - Updated theme checkbox and radiobutton code to use the CP*
2031 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2033 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
2036 2006-03-31 Jackson Harper <jackson@ximian.com>
2038 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
2040 * UpDownBase.cs: Don't CreateGraphics manually, use a
2041 Refresh. Ideally we would invalidate the correct areas here.
2043 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2046 - We now track the mapping state of windows. If a window (or
2047 one of it's parents) is not mapped we no longer permit
2048 WM_PAINT messages to be generated since we'd otherwise get
2049 lots of BadMatch X errors. Jackson did all the work figuring
2051 - Destroying the caret if the window it's contained in is
2052 destroyed. Can't use regular DestroyCaret method since it
2053 might fall into a drawing function (trying to remove the
2054 caret) and with that generate new BadMatch errors. Again,
2055 Jackson tracked this down.
2056 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
2057 make sure we send the messages to all windows. (The old code
2058 would send the WM_DESTROY to the window, and then all child
2059 windows would be 'gone' because the WM_DESTROY handle lookup
2060 would no longer find the destroyed window)
2061 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
2062 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
2064 2006-03-31 Jackson Harper <jackson@ximian.com>
2066 * ScrollableControl.cs: Dont recalc if we are not visible.
2068 2006-03-31 Mike Kestner <mkestner@novell.com>
2070 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
2071 the visibility branch.
2073 2006-03-31 Jackson Harper <jackson@ximian.com>
2075 * ScrollBar.cs: Cap values when incrementing/decrementing.
2077 2006-03-31 Mike Kestner <mkestner@novell.com>
2079 * MenuAPI.cs: setup menu.tracker for popup/context menus.
2080 * ToolTip.cs: guard against timer expirations with no active control.
2081 Not sure why it happened.
2083 2006-03-31 Mike Kestner <mkestner@novell.com>
2085 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
2087 * ToolTip.cs: Position the tooltip based on where the cursor is at
2088 popup time, not at MouseEnter time. Add a Down state so that we don't
2089 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
2090 positioning offset. Lookup DisplaySize at positioning time, since it
2091 can theoretically change during invocation.
2092 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
2093 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
2095 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2097 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
2098 Fixes behaviour when the Text property of the box is String.Empty
2100 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2102 * XplatUIX11.cs: Only send mouseleave for our client windows, not
2103 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
2106 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2108 * FileDialog.cs: Visual enhancement for the popup buttons in
2111 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2113 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
2116 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
2118 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
2119 highlighted menu items to match ms
2121 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
2123 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
2125 2006-03-30 Mike Kestner <mkestner@novell.com>
2127 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
2128 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
2129 go active to account for HotLight to Selected transition.
2130 * MenuItem.cs: add internal Selected prop. Fill out the Status
2131 property by calculating it from item info. Add HotLight,
2132 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
2134 2006-03-30 Mike Kestner <mkestner@novell.com>
2136 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
2138 2006-03-29 Jackson Harper <jackson@ximian.com>
2140 * Form.cs: Implement TODO.
2142 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2144 * PrintPreviewDialog.cs: Implemented missing methods and events; still
2145 missing proper dialog setup in the constructor
2147 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2149 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
2151 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
2152 - Fixed ResetBindings and removed TODO
2153 - Added check for cross-thread calls to get_Handle()
2154 - Added Marshaller attribute for set_Font to satisfy class status
2155 * FontDialog.cs: Removed TODOs that seemed implemented
2156 * UpDownBase.cs: Removed unneeded TODO and Fixme
2157 * MessageBox.cs: Implemented support for Default button and removed TODO
2158 * FileDialog.cs: Removed obsolete TODO
2159 * DomainUpDown.cs: Removed obsolete TODO
2160 * ButtonBase.cs: Removed obsolete TODO
2161 * XplatUIWin32.cs: Removed obsolete TODO
2163 - Removed obsolete TODO
2164 - Calling CheckAcceptButton when the acceptbutton is changed to allow
2165 internal status updates
2166 - Making sure the active control is selected when the control is created
2167 * CurrencyManager.cs: Removed obsolete TODO
2169 2006-03-29 Mike Kestner <mkestner@novell.com>
2171 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
2172 of PrintPreviewDialog and RichTextBox.
2174 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2176 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
2177 DarkDark, Light and LightLight colors for a specific color
2178 * ThemeWin32Classic.cs:
2179 - Use Button drawing code to draw RadioButtons and CheckBoxes with
2181 - Make use of the new ResPool helper CPColor
2182 - Draw ProgressBar and StatusBar with correct 3D borders
2184 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2186 * ColorDialog.cs: Return selected color. Fixes bug #77940.
2188 2006-03-28 Mike Kestner <mkestner@novell.com>
2190 * ListView.cs: fix Icon layout to plan for scrollbar widths when
2191 calculating col/row counts.
2193 2006-03-28 Mike Kestner <mkestner@novell.com>
2199 switch to explicit interface method implementation for some methods
2200 corcompare identifies as inconsistent with MS.
2202 2006-03-28 Mike Kestner <mkestner@novell.com>
2206 add a few missing methods from the class status output.
2208 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
2210 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
2213 2006-03-28 Mike Kestner <mkestner@novell.com>
2215 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
2217 2006-03-27 Mike Kestner <mkestner@novell.com>
2219 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2220 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2222 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2224 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2226 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2228 * ThemeWin32Classic.cs:
2229 - GroupBox: Inserted a little gap between the text and the lines
2231 - Made the code in CPDrawBorder3D more readable
2232 - Corrected the drawing location of the up and down arrows in
2235 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2237 * ControlPaint.cs: Corrected line widths in DrawBorder for
2238 ButtonBorderStyle Inset and Outset
2240 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2242 * ThemeWin32Classic.cs:
2243 - Rewrote the totally broken CPDrawBorder3D method. That was
2244 one of the main problems for the terrific ThemeWin32Classic
2246 - Updated and corrected Button drawing
2247 - Correct the dimensions of the SizeGrip to match ms ones
2248 - Removed a small drawing glitch in DrawComboBoxEditDecorations
2249 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
2250 Border3DStyle.Sunken to match ms.
2252 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2254 * ThemeWin32Classic.cs: First small part of the "de-uglify
2255 ThemeWin32Classic" effort, SizeGrip
2257 2006-03-24 Jackson Harper <jackson@ximian.com>
2259 * XplatUIX11.cs: Give a max idle time of one second, this matches
2260 MS and forces an Idle event every second when there are no other
2261 events in the queue.
2263 2006-03-24 Mike Kestner <mkestner@novell.com>
2265 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
2266 * ListView.Item.cs: fix layout issues with null image lists and images
2267 smaller than checkbox size.
2268 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
2269 mode like MS does. It's weird, but consistent. ;-)
2272 2006-03-24 Mike Kestner <mkestner@novell.com>
2274 * ListView.cs: Scroll wheel support for the item control. Fixes
2277 2006-03-23 Jackson Harper <jackson@ximian.com>
2279 * ScrollableControl.cs: Special case negative sized areas, not
2281 * MonthCalendar.cs: Save the rect of the clicked date so we can
2282 use it for invalidation.
2283 - Try to cut down on the number of invalidates
2284 - Invalidate the rect the mouse is over and was over when moving
2285 the mouse, so we get the focus box following the cursor.
2287 2006-03-23 Mike Kestner <mkestner@novell.com>
2289 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2290 focus rectangle drawing. Fixes #77835.
2292 2006-03-23 Mike Kestner <mkestner@novell.com>
2294 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2295 the if and else if and reverting back to the original == check on the
2298 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2300 * FontDialog.cs: Update the example panel if the selected index of
2301 the fontListBox changes.
2303 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2305 * FileDialog.cs: Make FileDialog remember which directory it was in
2306 last in the same execution.
2308 2006-03-22 Mike Kestner <mkestner@novell.com>
2310 * FileDialog.cs: make the DropDownMenu on the toolbar display
2311 RadioChecks since they are mutually exclusive and that's what MS does.
2313 2006-03-22 Mike Kestner <mkestner@novell.com>
2315 * Theme.cs: add Color param to CPDrawMenuGlyph.
2316 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2317 checks and radio marks and arrows are visible on highlighted items.
2318 * ControlPaint.cs: update to use new Theme signature.
2320 2006-03-22 Mike Kestner <mkestner@novell.com>
2322 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2323 is active. Fixes #77870.
2325 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2327 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2328 to be focused/selected after startup
2330 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2333 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2334 CustomColors and ShowHelp properties
2335 - Some internal rewrites to get better results when using the
2338 2006-03-22 Mike Kestner <mkestner@novell.com>
2340 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2341 HoverSelection. Fixes #77836.
2343 2006-03-22 Mike Kestner <mkestner@novell.com>
2345 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2346 ToggleButtons. (De)Sensitize the Back button around a stack count of
2347 1, not 0. Update ButtonSize based on a pixel count of the win32
2348 control. Adjust the toolbar size/location for new button size.
2350 2006-03-22 Jackson Harper <jackson@ximian.com>
2352 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2354 * ScrollBar.cs: When doing increments and decrements we need to
2355 set the Value property so that ValueChanged gets raised. A
2356 possible optimization here would be to make an internal SetValue
2357 that doesn't invalidate immediately.
2358 * ToolTip.cs: Tooltips get added to their container (when
2359 supplied) so they get disposed when the container is disposed.
2360 - Don't create tooltips for String.Empty. This prevents all these
2361 little 2-3 pixel windows from showing up when running nunit-gui
2363 * Form.cs: Don't set topmost when setting the owner if the handles
2364 haven't been created yet. The topmost set will happen when the
2365 handles are created.
2367 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2370 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2371 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2372 visible (to allow them to recalculate their sizes)
2374 2006-03-21 Mike Kestner <mkestner@novell.com>
2376 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2377 methods. Removed a ton of redundant code. Still not really happy with
2378 the border rendering, but I think that's mainly because of the
2379 ControlDarkDark being black instead of a dark grey. Depending on how
2380 close we want to be, we might want to revisit those color choices.
2381 Among the new features added during the refactor were DropDownArrow
2382 pressed rendering, Disabled image rendering. Proper flat appearance
2383 boundary rendering. Removed the Divider and Wrapping dividers since I
2384 can't figure out any combination of themes and conditions to make the
2385 MS control draw a horizontal line on a toolbar despite what the
2386 Divider property docs indicate.
2387 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2388 conditions and incorrect layout. Updated to coding standard.
2389 * ToolBarButton.cs: refactored layout and positioning code from
2390 ToolBar to here. Invalidate wherever possible instead of forcing
2391 redraws of the whole toolbar.
2392 (Known remaining issues: explicit ButtonSize smaller than provided
2395 2006-03-21 Mike Kestner <mkestner@novell.com>
2397 * ContextMenu.cs (Show): use the position parameter instead of just
2398 showing at the MousePosition.
2400 2006-03-21 Jackson Harper <jackson@ximian.com>
2402 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2403 control handle this.
2404 * TreeNodeCollection.cs: If we are clearing the root node we need
2405 to reset top_node so calcs can still happen.
2406 * ThemeWin32Classic.cs: This is a Flags so we need to check
2409 2006-03-21 Jackson Harper <jackson@ximian.com>
2411 * DataGrid.cs: Create columns when the binding context has been
2413 * X11Structs.cs: Keysyms are uints.
2414 - Add size to fix build.
2416 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2418 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2420 - Added ResetMouseHover method to allow controls to retrigger
2421 hovering if they need it more than once
2422 - Implemented MouseHoverTime and MouseHoverSize properties
2423 * Timer.cs: Start() must reset the interval
2424 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2427 2006-03-21 Jackson Harper <jackson@ximian.com>
2429 * X11Keyboard.cs: improved layout detection. Move the nonchar
2430 tables into this file.
2431 * KeyboardLayouts.cs: Move the tables into resource files.
2433 2006-03-21 Mike Kestner <mkestner@novell.com>
2435 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2437 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2439 * Mime.cs: Various speed optimizations. Looking up mime types
2440 is now 2 times faster than before
2442 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2444 * CreateParams.cs: Added internal menu field
2446 - Switched call order for UpdateBounds; now we always call
2447 the one that also takes ClientSize, and we're calculating the
2448 client size via driver method in the others. The previous
2449 method of tracking client size by difference wasn't working
2450 for forms where even the starting client size wouldn't match
2451 the overall form size (due to borders) (Part of fix for #77729)
2452 - CreateParams(): Do not use parent.Handle unless the handle is
2453 already created. Causes havoc with Nexxia and throws off our
2454 creation of controls
2456 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2457 - Switched handling of ConfigureNotify over to new PerformNCCalc
2458 method (consolidates code)
2459 - Changed RequestNCRecalc to use new PerformNCCalc method
2460 - Added calls to RequestNCRecalc when menus and borders are changed
2461 to allow app to set NC size. (Part of fix for #77729) This matches
2462 when MS send a WM_NCRECALC on Win32 windows.
2463 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2464 (Part of fix for #77729). This matches what MS does, they also
2465 send that message when the form is made visible.
2466 - XException.GetMessage: Improved usability of X errors by including
2467 a translation of the window into Hwnd and Control class
2468 - Improved debug info for window creation, reparenting and destruction
2469 - Created helper method WindowIsMapped() [Currently not used]
2470 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2472 - CreateParams: Now setting our menu on the new internal menu field
2473 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2474 avoid calculating the same property twice
2476 - Improved usability of ToString() for debugging purposes
2477 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2478 determine the height of the menu, instead of just the font. This
2479 required to also create a graphics context and to keep a bmp
2480 around (for performance reasons)
2482 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2484 * MenuAPI.cs: Added OnMouseUp method
2486 - Now remembering the requested client size, avoids size errors
2487 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2488 instead of base if the menu is active. This is required due to
2489 control now capturing and releasing on down/up and it would
2490 prematurely release our menu capture
2492 2006-03-17 Jackson Harper <jackson@ximian.com>
2494 * KeyboardLayouts.cs: Add the czech layouts.
2496 2006-03-16 Jackson Harper <jackson@ximian.com>
2498 * Control.cs: Use the viewport space when sizing not the controls
2499 client size, so things like ScrollableControl that effect the
2500 viewport size (when scrollbars are added) are computed correctly.
2501 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2503 - Handle creating BindingManagers for null data sources.
2504 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2505 source, otherwise when rows are added they are added to the 'fake'
2506 datasource and we will crash when trying to set the position in
2508 - Use Implicit scrollbars on the datagrid so they arent
2511 2006-03-16 Jackson Harper <jackson@ximian.com>
2514 * InternalWindowManager.cs:
2515 * MdiWindowManager.cs:
2516 * X11Keyboard.cs: I really want Mike to love me again (fix
2519 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2522 - OnMouseDown: Switch to editing mode when clicking on the cell
2523 even if we're clicking on the cell that's currently
2525 - ProcessGridKey: Left/Right now wrap like MS.Net does
2526 - ProcessGridKey: Tab now knows to add a new row when tab is
2527 pressed in the cell of the last column of the
2529 - ProcessGridKey: Enter now adds another row if pressed in the last
2530 row and selectes the new row, same column cell
2531 - ProcessGridKey: Home/End navigate columns, not rows, like
2532 originally implemented
2533 - Broke ProcessKeyPreview code out into an extra Internal method
2534 so it can be called from the edit code
2535 * DataGridTextBox.cs (ProcessKeyMessage):
2536 - Switched to accept Tab keypresses
2537 - Added F2 handling to allow jumping to the end of the edited cell
2538 - Added logic to allow moving caret left/right inside edited cell
2539 and making the edited cell jump when the caret hits cell borders
2540 - Tab and Enter are now passed to the datagrid after being handled
2542 - Removed capture code now that Control handles it
2543 - set_SelectionStart now ensures caret is visible
2545 2006-03-16 Jackson Harper <jackson@ximian.com>
2547 * TrackBar.cs: Debackwards the increment/decrement for handling
2548 mouse clicks on the bar with vertical trackbars.
2549 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2552 2006-03-16 Mike Kestner <mkestner@novell.com>
2554 * ListView.cs: make shift/ctrl keyboard and mouse selection
2555 consistent with the MS control. Fix a bug in
2556 SelectedListViewItemCollection.Clear that was pissing me off for the
2557 better part of a day because the collection was being altered
2558 underneath us as we walked the list.
2560 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2562 * Control.cs: Not sure how we could miss this so long, but it seems
2563 that MS.Net has Capture set all the way from before calling
2564 OnMouseDown through sending the mouse events until after
2565 OnMouseUp. This will fix DataGrid's selection being set to end
2566 at the location of the MouseUp.
2568 2006-03-15 Jackson Harper <jackson@ximian.com>
2570 * BindingContext.cs: Check the binding after its added so that it
2571 can initialize the binding managers and hookup to events.
2572 * Binding.cs: Data members seem to sometimes include rows/cols in
2573 the format Row.Column we now take this into account.
2574 - Hookup to the position changed event so we can update the
2575 control when the position has changed in the data set.
2576 * CurrencyManager.cs: Take into account the row/col naming
2577 convention when creating dataset tables.
2578 * BindingContext.cs: Using a newer better way of storing
2579 datasource/datamember pairs. Hopefully this better matches MS for
2580 looking up binding managers.
2583 2006-03-15 Jackson Harper <jackson@ximian.com>
2585 * BindingContext.cs: The currency manager needs the data member
2586 name, if the member is a data set we use the name to find the
2588 * CurrencyManager.cs: When creating the list prefer an IList over
2590 - Attempt to create a DataTable from a DataSet (TODO: might need
2591 some better error checking here, although MS doesn't seem to have much)
2592 - If we have a DataTable create a view and use it as our list.
2594 2006-03-15 Mike Kestner <mkestner@novell.com>
2596 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2597 keyboard navigation. Support Up/Down/Left/Right selection correctly
2598 for all 4 View modes.
2599 * ListViewItem.cs: add internal row/col fields for icon layouts.
2601 2006-03-15 Jackson Harper <jackson@ximian.com>
2603 * TabControl.cs: Redraw the tabs when we resize so their newly
2604 calculated sizes are drawn on screen.
2605 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2606 composite characters.
2607 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2608 - filter events so that composite characters can be created
2610 * X11Structs.cs: Add XIMProperties enum.
2612 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2614 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2617 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2619 * Control.cs (PerformLayout): We don't need to consider visiblity
2620 for anchoring, only for docking. This fixes 'whacky' alignment
2621 in listbox and other controls that use implicit scrollbars after
2622 the previous PerformLayout patch
2623 * ListBox.cs: Switched to use implicit scrollbars
2625 2006-03-14 Mike Kestner <mkestner@novell.com>
2629 - chain up the "new event" overrides to base and use
2630 OnEvent to raise them. Part of fix for bug #76509.
2632 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2634 * FileDialog.cs: Do not select an item in the parent directory
2637 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2639 * Control.cs (PerformLayout): It would seem that we considered
2640 invisible windows for our layout. Not quite the right thing
2641 to do. Now we don't any longer, thereby fixing bug #76889.
2643 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2645 * Control.cs (CanFocus): I goofed. A control can have focus
2646 even though it's not selectable. Made it match MS docs.
2648 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2650 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2651 center by default (fixes #76895)
2652 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2653 all uses of Border3DSides.All with the explicit ORd together
2654 Left|Right|Top|Bottom because I assume that nobody was aware
2655 that All also implies a center fill. Most places I checked had
2657 * ProgressBarStyle.cs: Added
2659 2006-03-13 Mike Kestner <mkestner@novell.com>
2661 * ListView.cs: fix breakage in drag shadow header positioning
2662 from Peter's csc compilation fix.
2664 2006-03-13 Mike Kestner <mkestner@novell.com>
2666 * ListView.cs: fix NRE produced by backspacing twice in a focused
2669 2006-03-13 Mike Kestner <mkestner@novell.com>
2671 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2673 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2675 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2677 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2678 the allowed size before making programmatic size changes
2680 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2682 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2683 set, metacity is broken and will still use the emty sizes in
2684 the struct. (Fix for #77089)
2686 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2688 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2689 WindowExStyles and marked both enums as Flags
2690 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2691 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2692 to match WindowStyles split
2694 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2695 - Updated to match WindowStyles split
2697 - Fixed FosterParent creation, was using ExStyle on the Style field
2698 (This should help with Popup focus issues)
2699 - Updated to match WindowStyles split
2701 2006-03-13 Jackson Harper <jackson@ximian.com>
2703 * MdiWindowManager.cs: Use the system menu height. Fixes some
2704 strange sizing issues.
2706 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2708 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2710 - Scroll to caret after inserting text (#77672)
2711 - Make scroll range one pixel higher, fixes off-by-one error (and
2712 makes underlines visible on the last line)
2714 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2716 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2717 the keyboard state from being stuck with keys in 'pressed' state when
2718 focus is switched away via keyboard
2719 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2720 reset the keyboard if no X11 KeyUp events are expected to come
2721 * X11Structs.cs: Switched type of Visible to bool to match driver
2723 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2726 - Switched caret to be just 1 pixel wide, matches MS and looks less
2728 - Moved caret display 1 pixel down from the top of the control
2730 - InsertCharAtCharet: Update the selection start if moving the caret
2731 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2732 - No longer always creating the caret when the caret methods are
2733 called. Only the actual ShowCaret/HideCaret will do that now
2734 - Only setting caret visible if the owner control has focus
2735 - UpdateView: Added invalidation-shortcut logic for center and right
2736 aligned text. Previously we'd update all according to the left
2737 logic which caused drawing errors. Also fixed height of invalidated
2738 areas, now properly invalidating the whole area (was off-by-one)
2739 - owner_HandleCreated: Always generate the document when the
2740 handle is created; this ensures that
2742 - Fixed situation where caret would disappear under the right
2743 window border, also improved scrolling behaviour on left-
2745 - Fixed right-aligned textboxes to have a border to the
2746 right instead of the caret being under the right border
2748 - Switched from 'nested' to simple visible/not visible tracking
2749 for caret (part of fix for #77671)
2750 - No longer passing through translated FocusIn/FocusOut messages
2751 since we were notifying too often and the wrong windows. Instead
2752 we just notify our focussed window of receiving or loosing focus
2753 * XplatUIWin32.cs: Switched from 'nested' show/hide
2754 counting for caret to simple visible yes/no behaviour (part of
2757 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2759 * Mime.cs: Remove debug code...
2761 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2763 * MimeGenerated.cs: Removed
2764 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2765 and subclasses) from /usr/(local/)share/mime and
2766 $HOME/.local/share/mime.
2768 2006-03-10 Jackson Harper <jackson@ximian.com>
2770 * MdiWindowManager.cs: Recalc the NC area when a window is
2771 maximized/restored so that the menu area is drawn on forms that
2774 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2776 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2777 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2778 us to force a WM_NCCALCRESIZE message being sent. This is needed
2781 2006-03-10 Jackson Harper <jackson@ximian.com>
2783 * Form.cs: We need to use the ActiveMenu when calculating menu
2785 - Fix nullref when the window manager hasn't been created yet.
2786 * Control.cs: Fix nullref when we try to bring a control to the
2787 front that has no parent.
2788 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2790 - Add a dummy item to the maximized menu so it always has the
2791 correct height. Otherwise when there are no menus we don't get our
2795 2006-03-10 Jackson Harper <jackson@ximian.com>
2797 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2799 * Form.cs: Make the window_state internal so the window managers
2801 - When an MDI child is maximized let its window manager create the
2802 main menu (so it can add its icon).
2803 - Notify the window managers of state changes
2804 - Let the window manager paint its buttons and handle button
2805 clicks on the menu when it is maximized.
2806 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2807 window manager, since tool windows don't use it, only mdi windows.
2808 - Tell the main form that we don't want it to handle NCPAINT
2809 itself to avoid extra painting.
2810 - Handle clicks on a maximized windows menu.
2811 - Handle window state changes
2812 - Handle minimize/maximize clicks correctly by setting the window state.
2813 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2814 when clicking on the forms icon).
2815 - New method to create a forms maximized menu. This is its normal
2817 - Handle window state changes.
2818 - Handle sizing of maximized windows. Maximized windows are just
2819 drawn bigger then the parent visible area. All controls are still
2820 there, they are just outside the visible area (this matches windows).
2821 * MdiClient.cs: No scrollbars when a child window is maximized.
2822 - Let the children windows figure out how big they should be when
2823 sizing maximized windows.
2824 - Implement a version of ArrangeIconicWindows somewhat similar to
2825 Windows version. There are some little differences, but I don't
2826 think any app will rely on the layout of minimized mdi windows.
2828 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2830 * Padding.cs: Several fixes to allow compiling with csc 2.0
2832 2006-03-09 Jackson Harper <jackson@ximian.com>
2835 * MenuItem.cs: Cheap hack so we can add items to the list without
2836 the events being raised. This allows adding mdi items during
2837 drawing. TODO: Should probably find a better time to add the items.
2839 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2841 * ThemeWin32Classic.cs:
2842 - CheckBox_DrawText: Added logic to not wrap if not enough space
2843 is available (Fix for bug #77727)
2844 - RadioButton_DrawText: Added logic not to wrap if not enough
2845 space is available (Fix for bug #77727). Also removed some
2846 duplicate code, DrawString always drawing the regular text
2847 before hitting the if statement.
2849 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2851 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2853 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2855 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2856 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2857 methods. Moved the new 2.0 properties into alphabetical order with
2858 other properties and added MonoTODO tags
2860 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2862 * AutoScaleMode.cs: Added. Fix build.
2864 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2866 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2867 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2868 and was requiring premature handle creation for calls from above
2869 * Form.cs, Control.cs: Removed handle arguments from calls to
2870 CalculateClientRect()
2872 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2874 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2875 drag_column.column_rect is MarshalByRef and can't be used that way
2877 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2879 * AxHost.cs: Added deserialization constructor for
2880 AxHost+State (fixes 77743)
2882 2006-03-09 Mike Kestner <mkestner@novell.com>
2885 - Added column drag reordering for details view.
2886 - fixed behavior when mouse is dragged off column and
2887 AllowColumnReorder is false.
2888 * ColumnHeader.cs: clone the format too in Clone.
2889 * Theme.cs: add DrawListViewHeaderDragDetails method.
2890 * ThemeWin32Classic.cs:
2891 - impl new method for drawing drag column shadows and targets.
2892 - support column offset for details mode in DrawListViewItem.
2894 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2896 * TextControl.cs: Reset the char_count when the document is cleared
2897 (Fixes bug reported on mono-winforms mailing list)
2899 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2901 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2902 of calling base we simply process the key ourselves, since both
2903 DefWindowProc and the handled method would set m.Result.
2906 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2908 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2909 method also moves the window; instead implemented a copy of
2910 Control.ScaleCore (Part of fix for #77456)
2912 - Created new CreateGraphicsInternal method to allow providing
2913 a graphics context when no handle is created without triggering
2914 handle creation. (Part of fix for #77456)
2915 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2917 - Switched Constructor to require TextBoxBase instead of Control (to
2918 allow uncast access to CreateGraphicsInternal)
2919 - Safeguarded use of owner.Handle property. No longer accessing it
2920 unless the handle is already created.
2921 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2922 - Now triggering a recalc when owning control becomes visible
2923 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2924 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2925 premature handle creation (Part of fix for #77456)
2927 - We now only destroy our double-buffering buffers when the
2928 control is resized or disposed, but not when visibility
2929 changes. (The code even re-created them twice every time)
2930 - Now requiring a redraw of the buffer on visibility changes
2931 (fixes bug 77654 part 2)
2932 - Not passing OnParentVisibleChanged up unless the control
2934 - CanFocus: Fixed to match MS documentation
2935 - Focus: Fixed to return actual focus state and to check if
2936 setting focus is legal before setting it
2938 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2940 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2941 when to draw focus rectangle by looking at parent focus and
2942 selected state instead. This fixes TabPages on Linux sometimes
2943 having none or multiple focus rectangles.
2944 * XplatUIX11.cs (SetFocus):
2945 - Don't set the focus if the same window already has focus
2946 - Use SendMessage instead of PostMessage (like it's Win32
2947 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2948 to match MS behaviour
2949 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2952 2006-03-07 Jackson Harper <jackson@ximian.com>
2954 * PictureBox.cs: Revert line I accidently committed last week.
2956 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2959 - Added new IsRecreating and ParentIsRecreating properties to
2960 allow testing if RecreateHandle has been called on ourselves
2961 or one of our parents
2962 - WndProc(WM_DESTROY): If our control handle is being recreated
2963 we immediately need to create the handle when receiving the
2964 destroy, that way our child windows find a valid parent handle
2965 when they themselves are being recreated upon WM_DESTROY receipt
2966 (fix for bug #77654 part 1)
2968 - DestroyWindow: WM_DESTROY must be sent to our own window before
2969 notifying any child windows. MS documents that child windows
2970 are still valid when WM_DESTROY is received. (Control now relies on
2972 - Added some fine-grain debug options
2974 2006-03-06 Jackson Harper <jackson@ximian.com>
2976 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2977 box and base calculations off this.
2978 * MdiChildContext.cs:
2979 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2982 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2984 * Splitter.cs: In situations where the affected control is added
2985 to the parent's control list after the splitter, we would not
2986 populate affected. Now we try populating it on mousedown, if
2987 it's not already set, and force it to be re-set whenever our
2990 2006-03-03 Matt Hargett <matt@use.net>
2992 * Control.cs: implement Control.Padding
2993 * Padding.cs: -Padding.All returns -1 when constructing with the
2994 implicit default ctor
2995 -Padding.ToString() matches MS.NET
2996 * ContainerControl.cs: implement
2997 ContainerControl.AutoScaleDimensions
2998 * ListControl.cs: implement ListControl.FormattingEnabled
2999 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
3001 * TabPage.cs: Implement UseVisualStyleBackColor.
3002 * PictureBox.cs: Implement PictureBox.InitialImage.
3004 2006-03-03 Mike Kestner <mkestner@novell.com>
3006 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
3007 event declarations to proxy to base event.
3008 * ListViewItem.cs: update to use ItemControl.
3009 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
3010 * ThemeWin32Classic.cs: update to new ListView theme API and fix
3011 column header label rendering for 0 width columns.
3013 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
3015 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
3016 that causes the control to be created. Fixes #77476.
3018 2006-03-02 Jackson Harper <jackson@ximian.com>
3020 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
3023 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
3025 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
3026 passed in for the EventArgs (fixes #77690)
3028 2006-03-01 Jackson Harper <jackson@ximian.com>
3030 * ScrollBar.cs: Refresh afterbeing resized.
3032 2006-02-28 Mike Kestner <mkestner@novell.com>
3034 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
3035 Clean up a tracker compile warning.
3036 * MenuItem.cs: add internal PerformPopup method.
3039 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3041 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
3042 implicit expose) when the text is set to null
3044 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3046 * RichTextBox.cs (FlushText): When newline is true, we always
3047 need to split the line, even if no text is on it and we may
3048 never eat newlines. (Fixes #77669)
3050 2006-02-28 Mike Kestner <mkestner@novell.com>
3052 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
3053 and set Selected instead.
3054 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
3057 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3059 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
3061 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
3064 - Got rid of the panel. All controls are now directly added to
3066 - It is now possible to set a font with the Font property
3067 - MinSize and MaxSize property do now what they should
3068 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
3069 - Searching and selecting a font with the font textbox works now,
3070 the same applies to the style and size textbox
3071 - Draw the correct 3D border in the example panel
3072 - Fixed a little mem leak (unused fonts didn't get disposed)
3073 - Many other internal updates/rewrites...
3076 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3079 - InsertRTFFromStream: Added 'number of characters inserted' argument
3080 - set_SelectedRTF: Now using the number of characters to calculate
3081 the new location for the selection and cursor (x/y cannot be used
3082 due to potentially already wrapped text)
3084 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3086 * TextControl.cs: Added property and implemented means to allow
3087 disabling recalculation of a document (can be used to speed up
3088 multiple inserts and is needed to make RTF inserts predictable, see
3090 * RichTextBox.cs: Using the new NoRecalc property of Document to
3091 keep x/y insert locations predictable. Also makes it faster inserting
3094 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3096 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
3097 it's easier for a child control to handle the other messages without
3098 having to duplicate the special functionality
3100 - WndProc: Removed calling base handler for WM_KEYDOWN and added
3101 code to handle processing the key ourselves, in order to get
3102 access to the result of KeyEventArgs.Handled. We now only call
3103 ProcessKey if they key hasn't been handled already. Fixes #77526.
3104 - set_Text: If null or empty string is given, just clear the
3105 document. Fixes part of #77526
3107 2006-02-27 Jackson Harper <jackson@ximian.com>
3109 * SizeGrip.cs: Paint the background color before painting the grip
3110 so things look right.
3111 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
3113 2006-02-27 Mike Kestner <mkestner@novell.com>
3116 - Restructure layout and invalidation model to remove a ton of
3117 flicker from the control and speed up performance in general.
3118 - Add manual column resize, flickers like crazy, but I already have
3119 some ideas on how I'll fix that. (#76822)
3120 - Merge the three Icon-based views into a single layout method.
3121 - Move item selection interaction logic from the item since
3122 interaction with the collections is more appropriate to the view.
3123 - Deselection on non-item clicks.
3125 - Encapsulate most of the layout. Add some internal props to trigger
3126 layout. Move to a model where Items invalidate themselves instead
3127 of just invalidating the whole control every time something changes.
3128 - Invalidate on Text/Caption changes.
3129 - switch to an offset based layout model to avoid having to absolute
3130 position every element on item moves.
3131 - correct checkbox layout to conform to MS layout.
3132 * ThemeWin32Classic.cs:
3133 - refactor some column header drawing code.
3134 - fix string justification for column headers (#76821)
3135 - make SmallIcon labels top justified for compat with MS impl.
3136 * ThemeClearlooks.cs:
3137 - adjust to new ListViewItem internal checkbox bounds api.
3139 2006-02-27 Jackson Harper <jackson@ximian.com>
3141 * Control.cs: Change where implicit controls fall in the zorder.
3142 They are now on top of all children.
3143 - Synced AddImplicit code with Add
3144 - Removed unused enumerator.
3145 * SizeGrip.cs: Remove the TODO as its been TODONE.
3147 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3149 * TextControl.cs(Insert): Combine the last lines unless the insertion
3150 string ends with \n\n, otherwise we leave one line too many (Fixes
3151 something I noticed with the testapp for #77526; the bug itself was
3152 already fixed in the previous checkin)
3154 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3157 - SelectionColor and SelectionFont methods no longer set absolute
3158 styles. Instead, the keep font or color respectively (This
3159 resolves a long-standing FIXME in the code)
3160 - When flushing RTF text, the insert code now considers text trailing
3161 behind the insertion point (Fixes the bug where when replacing
3162 the selected text via SelectedRTF the remainder of the line behind
3163 the selection would stay on the first insertion line)
3165 - AppendText now updates the selection points after inserting text
3166 - AppendText now ensures that the last tag (sometimes 0-length) of
3167 the document is used for the style information (Fixes part of
3170 - Created new FontDefiniton class to allow describing partial style
3172 - StreamLine() now takes a lines argument, to allow it to decide
3173 whether an encountered zero-length tag is the last in the document
3174 (which must be kept to not loose the font/color contained in it,
3176 - Created Combine() and Split() methods for Marker structs, to
3177 support marker updates due to reformatted documents (soft line
3179 - Implemented Document.CaretTag setter
3180 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
3181 of the last line (Not the cause, but also exposed by bug #77220)
3182 - Added LineTag argument to InsertString method, to allow callers
3183 to force a certain tag to be used (required to force use of the
3184 trailing zero-length tag of a document)
3185 - Now updating markers in Combine(), to avoid stale tag markers
3186 - Added some method descriptions to aid maintenance
3187 - Implemented new FormatText concept, allowing additive/subtractive
3188 formatting by only specifying the components that are to be
3189 changed. This was needed for resolving the RTB.SelectedColor/
3190 RTB.SelectedFont fixmes
3191 - Added Break() support method to allow breaking up linetags (used
3192 for partial formatting)
3193 - Added GenerateTextFormat() method. It is used for partial
3194 formatting and allows to generate a full font/color from given
3195 attributes and an existing tag.
3197 2006-02-26 Jackson Harper <jackson@ximian.com>
3199 * XplatUIX11.cs: Use the correct caption height.
3200 - Translate hittest coordinates to screen coords to match MS.
3201 * XplatUIWin32.cs: When we create MDI windows we need to reset
3202 some of the style flags, so we get a nice blank window, and can
3203 draw all the decorations ourselves.
3204 - Set a clipping rectangle on the non client paint event, the
3205 window manager drawing code needs one.
3206 * Form.cs: The window manager needs to know when the window state
3208 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
3209 don't need to factor in border and title sizes in these
3210 methods. TODO: Remove the args and fix the call points.
3211 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
3213 - Let the driver set the cursors.
3214 - Improve active window handling
3215 - Correct sizes for title bars and buttons.
3216 - Match MS drawing better
3217 * MdiWindowManager.cs: We don't need to handle border style
3218 updates specially anymore.
3219 - Check for scrollbars when windows are done moving
3220 - Handle Active properly.
3221 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3222 correctly. I am spewing the exception though, so we don't hide the
3225 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3227 * DataGridViewRowPostPaintEventArgs.cs,
3228 DataGridViewCellPaintingEventArgs.cs,
3229 DataGridViewRowCollection.cs,
3230 DataGridViewRowPrePaintEventArgs.cs,
3231 DataGridViewCell.cs: Clear a few warnings and implement a few
3232 exceptions that should be thrown.
3234 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3236 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3237 'inheriting' our parent's (non-default) cursor. (Part of
3240 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3242 * XplatUIX11.cs: Fixed cast to make csc happy
3244 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3246 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
3247 it's for the client area (part of fix for #77479 and needed
3248 for MDI window cursor handling)
3250 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
3251 the appropriate default cursors and also passing the message
3253 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
3254 for non-client areas
3256 2006-02-15 Jackson Harper <jackson@ximian.com>
3258 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
3259 is a real MDI window
3261 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
3263 * X11DesktopColors.cs: Instead of checking the desktop session
3264 string for "KDE" check if it starts with "KDE"
3266 2006-02-10 Jackson Harper <jackson@ximian.com>
3268 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
3271 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3273 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3276 - Got rid of the panel. All controls are now directly added to
3278 - Changed to mono coding style
3280 2006-02-10 Jackson Harper <jackson@ximian.com>
3282 * InternalWindowManager.cs: We don't need the set visibility to
3283 false hack anymore now that peter has written beautiful shutdown
3286 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3288 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3289 where already explicitly destroyed
3291 2006-02-10 Jackson Harper <jackson@ximian.com>
3293 * MdiClient.cs: Handle the case where windows are too high or to
3294 the left and we need scrollbars.
3296 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3298 * MimeIcon.cs: Added some icons
3301 - Got rid of the panel. All controls are now directly added to
3303 - Changed to mono coding style
3304 - On Linux "My Computer" and "My Network" will now show some
3305 more usefull information. A new class, MasterMount, gathers
3306 this information from /proc/mount. Updated MWFFileView to make
3307 use of this information
3308 - Fixed a bug that caused FileDialog to crash when
3309 ".recently_used" file had a zero size
3310 - FilterIndex does now what it should
3312 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3315 2006-02-09 Jackson Harper <jackson@ximian.com>
3317 * ComboBox.cs: Don't touch if null.
3319 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3321 * Cursor.cs: 64bit safeness fix
3322 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3324 2006-02-09 Jackson Harper <jackson@ximian.com>
3326 * Form.cs: If a form is made into an MDI form update the styles so
3327 all the props can get set correctly.
3328 - Kill the mdi_container when we dont need it anymore.
3329 * InternalWindowManager.cs: Add missing NOT
3331 2006-02-08 Jackson Harper <jackson@ximian.com>
3333 * InternalWindowManager.cs: Respek clipping when drawing MDi
3336 2006-02-08 Jackson Harper <jackson@ximian.com>
3338 * Hwnd.cs: Add bits to track non client expose events.
3339 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3340 gives us a proper invalid rect and will allow for some nice
3341 optimizations with NC client drawing
3342 - MDI windows are children windows, so move their style handling
3343 into the child window block.
3344 * InternalWindowManager.cs: Remove a state reset that was
3345 getting invoked at the wrong time. Fixes managed windows getting
3346 into a 'stuck' captured state.
3348 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3350 * TextControl.cs (Document.ctor): Now initializing
3351 selection_anchor. Fixes #77493
3353 2006-02-07 Jackson Harper <jackson@ximian.com>
3355 * TrackBar.cs: The increment/decrements were backwards.
3357 2006-02-07 Mike Kestner <mkestner@novell.com>
3359 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3360 to the instance itself.
3362 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3364 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3365 on ulongs and pointers, the size differs between 32bit and 64bit
3368 2006-02-07 Mike Kestner <mkestner@novell.com>
3370 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3371 for 64 bit platforms to work around a metacity bug.
3373 2006-02-07 Jackson Harper <jackson@ximian.com>
3375 * TrackBar.cs: Process the input keys we need, and hookup to
3376 KeyDown instead of using WndProc, so we get key messages.
3378 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3380 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3382 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3383 we need to translate the XdndVersion atoms array before sending it
3385 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3388 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3389 number of bits for the property, not the number of bytes. The
3390 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3391 but would not crash since it specified 8 bits instead of 4 bits)
3392 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3393 defined as XID -> long in the C headers)
3394 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3395 references since those are now IntPtr to begin with
3396 - Switched all Atom.XXX 'int' casts to IntPtr casts
3397 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3398 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3399 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3401 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3402 - Changed atom in HoverStruct to be IntPtr
3404 - Removed local DllImports, switched code to use those from XplatUIX11
3405 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3407 2006-02-06 Mike Kestner <mkestner@novell.com>
3409 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3410 method signatures in the import region. There may still be some
3411 lingering struct marshaling issues, as I didn't drill down into those.
3414 2006-02-06 Jackson Harper <jackson@ximian.com>
3416 * ComboBox.cs: Dont manually set the top_item, this is computed
3417 when the scrollbar position is set.
3419 2006-02-06 Mike Kestner <mkestner@novell.com>
3421 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3422 startup crashes on amd64. There's other fixes needed. All pinvoke
3423 usage of Atom needs to be mapped to IntPtr for example. And there are
3424 likely other int/long issues to be addressed.
3426 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3428 * FileDialog.cs: One more...
3430 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3432 * FileDialog.cs: Next try
3434 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3436 * FileDialog.cs: First part of fix for #77464
3438 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3440 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3441 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3442 AcceptButton border drawing.
3444 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3446 * Form.cs: Moved positioning of form after auto scaling is applied,
3447 otherwise it would possibly use wrong form size.
3449 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3451 * Control.cs (RecreateHandle): No need to re-create any child
3452 controls, the child windows will get destroyed automatically by
3453 the windowing system or driver, and re-created when the handle
3454 is being accessed the first time. Fixes #77456
3455 * Form.cs: No longer setting the form to closing if the handle is
3456 being recreated. This seems like the right thing to do, don't
3457 have a bug or testcase for this, though.
3459 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3461 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3462 controls to avoid unwanted side effects
3464 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3467 - ScaleCore needs to scale the bounds, not the ClientSize of the
3468 control. Fixes #77416.
3469 - DefaultSize is 0,0 for control
3471 - DefaultSize is 100, 20
3472 - SetBoundsCore: Now enforcing the height, no matter if the provided
3473 height is more or less than the preferred one, as long as AutoSize
3475 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3477 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3480 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3481 call unless both performLayout is true *and* we have a pending
3483 - ResumeLayout: MS does not completely nest Suspend and Resume,
3484 they bottom out at 0, fixed our code to match that.
3485 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3486 SetBoundsCore, we were updating even when we shouldn't. This fixes
3487 swf-anchors mis-anchoring when resizing the app fast and lots.
3488 - UpdateDistances: Now only setting the left and top distance if
3489 we have a parent and are not suspended, this is based on
3490 a suggestion by Don Edvaldson in bug #77355.
3491 - OnVisibleChanged: Fixed logic when to create the control. We may
3492 not create the control if we have no parent or if it's not visible;
3493 switched to using Visible property instead of is_visible field
3494 since the property also considers parent states. This fixes a bug
3495 when starting Paint.Net
3497 2006-02-02 Jackson Harper <jackson@ximian.com>
3499 * Form.cs: If the forms handle hasn't been created yet don't call
3500 into xplatui to make it top most, just set the topmost flag on the
3501 form in CreateParams
3502 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3504 2006-02-01 Jackson Harper <jackson@ximian.com>
3506 * ScrollableControl.cs: Refactored the Recalculate method a
3507 little, this wasn't handling all the variants of bottom and right
3508 bars needed to be added and added/removed based on their
3509 counterparts being added/removed (which changes the drawable
3510 size). Also we special case client widths and heights of 0 and
3511 don't add the scrollbar for those.
3513 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3516 - Added method to get AbsoluteGeometry(); currently unused, but might
3517 be used in the future, if we try again to figure out toplevel
3518 coordinates with some more crappy window managers
3519 - Added FrameExtents() method to retrieve the WM set decoration size
3520 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3521 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3523 - Added whacky_wm tracking var for metacity
3524 - Added logic to have default menu height if the actual menu height
3525 has not yet been calculated (part of fix for #77426)
3526 * Form.cs: Keep track whether client size has been set and re-set
3527 it if a menu is added/removed afterwards (Fixes #77426)
3529 2006-01-31 Jackson Harper <jackson@ximian.com>
3531 * Control.cs: When a new Site is set on the component attempt to
3532 pull the AmbientProperties from it.
3534 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3536 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3537 in the background of the owning form. Fixes #77332
3539 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3541 * MimeIcon.cs: Fix for #77409
3543 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3545 * XplatUIX11GTK.cs: Initial import
3547 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3549 * FixedSizeTextBox: fixes class signature
3551 2006-01-30 Jackson Harper <jackson@ximian.com>
3553 * FixedSizeTextBox.cs: New internal class that represents a
3554 textBox that will not be scaled.
3557 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3560 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3562 * XplatUIX11.cs: Retrieve default screen number instead of
3563 assuming 0. Attempted fix for #77318
3565 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3568 - GetWindowPos: When a window is parented by FosterParent, use
3569 the desktop instead of FosterParent as the base to get coordinates
3570 - CreateWindow: Don't make FosterParent the parent window for Popups
3571 if we don't want a taskbar entry, Popups automatically don't get one
3572 * Hwnd.cs: Need to call remove to actually remove the key from the
3575 2006-01-30 Mike Kestner <mkestner@novell.com>
3577 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3579 2006-01-30 Jackson Harper <jackson@ximian.com>
3582 * TreeNode.cs: Raise events no matter how the treenode is
3583 checked. Patch by Don Edvalson.
3585 2006-01-30 Jackson Harper <jackson@ximian.com>
3587 * TreeNode.cs: Signature fix.
3589 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3591 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3593 2006-01-20 Mike Kestner <mkestner@novell.com>
3595 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3596 event forwarding when menus are active.
3597 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3598 Most of the patch is pdb's with a little rework.
3600 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3602 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3603 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3604 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3605 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3606 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3607 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3608 the PaintWindowDecorations method
3609 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3610 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3611 * MenuAPI.cs: Made tracker window invisible
3613 - Removed GetMenuDC and ReleaseMenuDC methods
3614 - Implemented the client=false path for PaintEventStart and
3617 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3619 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3620 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3623 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3625 - CreateParams: Reworked the styles to match MS look'n'feel,
3626 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3627 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3629 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3631 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3632 window is not mapped, since otherwise every form that's being
3633 created is considered minimized, which is wrong.
3634 * Form.cs: Catching the exception and returning our internal value
3637 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3639 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3640 SetWindowMinMax() to have means to tell the driver about the minimum,
3641 maximum and maximized state window sizes. (Part of the fix for #76485)
3643 - Implemented tracking of minimum and maximum window size, now calling
3644 new SetWindowMinMax() driver method to tell the driver (Part of the
3646 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3647 (Completes fix for #76485)
3648 - Calling new SetWindowMinMax driver method when the handle for a
3649 form is created, to make sure the driver knows about it even if
3650 the values have been set before the window was created
3651 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3652 to avoid messing up our anchoring calculations (partial fix
3654 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3656 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3657 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3658 (and presumably other freedesktop.org compliant WMs). Left the
3659 assumption unmapped=minimized, needed for SetVisible to work.
3660 - Now setting the window state when creating windows
3661 - Fixed SetVisible to consider/set the window state when mapping
3662 a Form. We cannot set the state before it's mapped, and we cannot
3663 use Form.WindowState once it's mapped (since it would ask the
3664 driver and get 'normal'. Therefore, we grab the state before
3665 mapping, map, and then set state.
3666 - Implmemented SetWindowMinMax method; Metacity does not seem to
3667 honor the ZoomHints, though.
3669 - Removed MINMAXINFO (moved to XplatUIStructs)
3670 - Added SetWindowMinMax stub (on Win32 the only way to set that
3671 information is in response to the WM_GETMINMAXINFO message, which
3672 is handled in Form.cs)
3673 - Added logic to SetVisible to set the proper window state when a
3674 form is made visible (fixes #75720)
3676 2006-01-26 Jackson Harper <jackson@ximian.com>
3678 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3679 same way we handle them with Invoke.
3681 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3684 - Added tracking of window state so CreateParams can return
3685 the appropriate style
3686 - Moved setting of WS_CAPTION style in CreateParams to allow
3687 styles without caption
3688 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3689 control if the TextBox property is accessed. Fixes #77345
3691 - get_Created: now uses is_disposed and is_created to determine
3692 return value (suggested by Jackson)
3693 - CreateHandle: No longer exits if the handle is being recreated
3694 - RecreateHandle: If the handle is not yet created call the
3695 appropriate method to create either control or handle. If the
3696 control is already created CreateHandle will simply exit instead
3697 of just creating the handle
3698 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3699 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3702 - When DestroyWindow is called, instead of waiting for the
3703 DestroyNotification from X11, we directly post it to the WndProc
3704 and immediately dispose the hwnd object.
3705 Same applies to DestroyChildWindows, and this obsoletes the
3706 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3707 child windows before our own, to avoid X11 errors.
3708 - Removed the direct sending of WM_PAINT on UpdateWindow
3710 - Reworked DoEvents and GetMessage to allow access to internal queue
3711 even when trying non-blocking access to the queue. Fixes #77335.
3712 Based on a patch suggestion by Don Edvalson. The new private
3713 GetMessage can now also be used as a backend for a PeekMessage
3715 * XplatUI.cs: Improved debug output for CreateWindow
3717 2006-01-25 Jackson Harper <jackson@ximian.com>
3719 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3721 2006-01-24 Jackson Harper <jackson@ximian.com>
3723 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3724 when we have a MaxDropItems lower then the selected index.
3726 2006-01-24 Jackson Harper <jackson@ximian.com>
3728 * Control.cs: Don't allow selection of non visible controls, allow
3729 selection of controls without parents.
3731 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3733 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3734 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3736 2006-01-23 Jackson Harper <jackson@ximian.com>
3738 * UpDownBase.cs: Make the textbox handle all the selection and
3739 tabbing. This fixes tabing to updown controls.
3741 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3743 * TextBoxBase.cs: fixes exception thown the object was null
3745 2006-01-23 Jackson Harper <jackson@ximian.com>
3747 * ButtonBase.cs: Just use the base CreateParams. They set
3748 visibility and enabled correctly.
3751 * MonthCalendar.cs: Lets let the base set as much of the
3752 createparams as possible so we don't have duplicate code all over
3755 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3757 * ThemeGtk.cs: Added TrackBar and some experimental code to
3758 get double buffering back
3760 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3762 * DataGrid.cs: Allows row number set internally higher than the last
3763 when creating a new row. Restores the editing functionality.
3765 2006-01-20 Mike Kestner <mkestner@novell.com>
3767 * MimeIcon.cs: delay Image creation until the icons are accessed
3768 instead of creating 190 scaled images on GnomeHandler startup.
3770 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3772 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3773 first call base before processing the event. Fixes #77279
3775 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3777 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3778 that the stride for the GDI bitmap would match the stride of
3781 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3783 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3785 2006-01-19 Jackson Harper <jackson@ximian.com>
3787 * ComboBox.cs: Hookup the text controls keydown event so we get
3788 those when the text control has the focus.
3790 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3792 * Label.cs: Now using the base events instead of defining new ones;
3793 this allows us to just call the base properties without having to
3794 duplicate all base property logic
3796 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3798 * Label.cs: A label by default is not a tabstop (Fixes one of our
3799 failing nunit tests)
3801 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3803 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3804 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3806 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3808 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3809 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3812 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3813 constructor creates images that can't be saved. Part of the fix
3815 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3816 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3817 bug fix for handling window state in forms properly)
3819 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3821 * ThemeGtk.cs: Simplify ScrollBar drawing
3823 2006-01-18 Jackson Harper <jackson@ximian.com>
3825 * Splitter.cs: Set the default dock style for the splitter control
3828 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3830 * ThemeGtk.cs: Corrected StateType and ShadowType for
3833 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3835 * Control.cs: Make use of Theme.DoubleBufferingSupported
3837 - Added drawing for flat style buttons
3838 - Added ScrollBar drawing
3840 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3842 * ThemeClearlooks.cs: Removed some unneeded code.
3843 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3845 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3847 * LinkLabel.cs: We need to update the hover drawing when
3848 leaving the control as well.
3850 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3852 * DataGrid.cs: Clicking on non empty areas in the columns
3853 area was giving an exception
3855 2006-01-17 Jackson Harper <jackson@ximian.com>
3857 * ThemeWin32Classic.cs:
3858 * ListView.cs: Do not draw/clip the headers when the header style
3861 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3863 * DataGrid.cs: Fixes 77260
3865 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3867 * DataGrid.cs: Clicking on a column on a empty grid was giving
3870 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3872 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3873 or any keypress will crash the grid.
3875 2006-01-17 Mike Kestner <mkestner@novell.com>
3877 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3878 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3879 invisible/previously-visible items.
3882 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3884 * ThemeClearlooks.cs:
3885 - Added CL_Draw_Button method; now other theme controls that are
3886 not derived from button or do not have a button can draw buttons
3888 - Updated ComboBox drawing
3889 - Beautified RadioButton drawing
3890 - Corrected drawing of bottom and left tabs
3891 - Beautified DateTimePicker and MonthCalendar
3892 - Added CPDrawButton and CPDrawRadioButton
3894 2006-01-16 Jackson Harper <jackson@ximian.com>
3896 * ComboBox.cs: Set the initial value of the scrollbar to the
3897 current index. Reduce the numbers of refreshs and IndexOfs called.
3899 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3901 * FileDialog.cs: When the file listview is focused hitting the
3902 backspace key moves the fileview to the parent directory
3904 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3907 - Added RecreateHandle call when changing taskbar visibility to
3908 trigger reparenting in Win32 driver (Fixes #75719)
3909 - If a window has minimize or maximize buttons, it cannot have
3912 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3913 the toplevel form with FosterParent (A toolwindow not on the
3914 taskbar) (Fixes #75719)
3915 - Made FosterParent a toolwindow
3917 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3919 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3921 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3923 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3924 is currently over that control, make sure that tooltip_window.Text
3927 2006-01-13 Mike Kestner <mkestner@novell.com>
3929 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3931 2006-01-13 Jackson Harper <jackson@ximian.com>
3933 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3934 value passed. Also redraw the selected node when we recieve
3935 focus, so tabbing between trees works correctly.
3937 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3939 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3940 ~/.gconf/%gconf-tree.xml, so use
3941 .gconf/desktop/gnome/interface/%gconf.xml
3943 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3945 * TextControl.cs: Draw text in gray if control is disabled
3947 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3949 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3950 make sure it's always visible. Fixes #76680.
3952 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3954 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3956 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3958 * PageSetupDialog.cs: Added.
3959 * PrintDialog.cs: Attributes.
3960 * PrintPreviewControl.cs: Updates.
3961 * PrintPreviewDialog.cs: Updates.
3963 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3965 * Control.cs: Undid my selection check fix, since it's not needed
3967 - Now considering the presence of hscroll/vscroll when sizing
3968 vscroll/hscroll respectively. Fixed bug #77077
3969 - Added Left/Up/Down/Right to IsInputKey list to prevent
3970 ContainerControl from stealing them. This fixes what I broke
3971 with my last checkin.
3973 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3975 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3976 I finally understand how the property can be set without a setter :-)
3978 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3981 - Switched RunLoop to use static Message.Create to create a
3983 - Added PreProcessMessage call in runloop for keyboard events; this
3984 is part of the fix for #77219, I overlooked this originally in the
3985 MSDN doc for PreProcessMessage
3987 - Removed call to PreProcessMessage from handling of keyboard
3988 messages; it's supposed to be done in the message pump
3989 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3990 per MSDN documentation.
3991 - IsInputChar: All chars are input chars by default; removed the
3992 parent calling chain, MS does not document that
3993 - PreProcessMessage: If IsInputChar is true, we want to return false
3994 to allow dispatching of the message
3995 - When selecting the next control, now also check that we're not
3996 selecting ourselves again and therefore return a false positive.
3998 - Tried to match return values for IsInputKey and ProcessDialogKey
3999 to what MS returns; moved processing of our special keys outside
4000 ProcessDialogKey since MS does not seem to return true on those.
4001 - Moved code that previously was in ProcessDialogKey into new private
4002 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
4003 - Reworked handling of WM_CHAR to not have to duplicate code from
4004 Control.cs anymore, instead we simply call down to base.
4006 2006-01-12 Jackson Harper <jackson@ximian.com>
4008 * ComboBox.cs: We always need to refresh the text area when
4009 EndUpdate is called. Fixes the combobox in the file dialog.
4010 * Control.cs: Don't create the creator_thread until the controls
4011 handle is created. Also in InvokeRequired we check if the
4012 creator_thread is null. This gives the effect of InvokeRequired
4013 returning true if the controls handle is not created yet, and
4016 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4019 - Added StartLoop() driver method. This is used to allow drivers to
4020 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
4021 loop for a particular thread
4022 - Added EndLoop() driver method. This is called once the message
4023 pump for the thread is shut down
4024 - Added SupportsTransparency method to allow the driver to indicate
4025 opacity support for windows
4027 - Removed TODO attribute, completed AllowTransparency property
4028 - Added documented logic to Opacity
4029 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
4030 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
4031 versions of CompatibleTextRendering
4032 * X11Structs.cs: Added opacity atom to our atom enumeration
4033 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
4034 of a form might be set before it's reparented by the WM, and we need
4035 the opacity value without calling up to Form)
4036 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
4037 SupportsTransparency() driver methods
4038 * Application.cs: Now calling StartLoop and EndLoop driver methods
4040 - Added opacity atom registration
4041 - Added StartLoop()/EndLoop() methods. They're empty right now but
4042 will need to get implemented when we switch to a per-thread queue
4043 - Implemented SupportsTransparency() method
4044 - Implemented SetWindowTransparency() method
4045 - Added support for setting the opacity value when a window is
4046 reparented (since the opacity needs to be set on the WM frame)
4047 * XplatUIOSX.cs, XplatUIWin32.cs:
4048 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
4050 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4052 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
4054 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4056 * FileDialog.cs: Added ToolTip for MWFFileView
4057 * MimeIcon.cs: Rewrote GnomeHandler.
4058 - Get currently used gnome icon theme from
4059 ($HOME)/.gconf/%gconf-tree.xml
4060 - Make use of inherited icon themes
4061 - Support SVG icon themes like Tango via librsvg
4063 2006-01-12 Miguel de Icaza <miguel@novell.com>
4065 Revert's Jackson's revert which broke 2.0 builds. Fix both
4068 * Application.cs: Move the use_compatible_text_rendering outside
4069 the NET_2_0 define. If we ever need to use the
4070 use_compatible_text_rendering on the individual controls they will
4071 access the variable from the common shared code paths.
4073 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4076 - Added more granular debug options
4077 - Added method to print both window text and id
4078 - Switched debug output to use new Window() debug method
4079 - Added IsEnabled() driver method
4080 - Added EnableWindow() driver method
4082 - Removed end_modal; no longer needed, new loop handles termination
4083 via 'closing' variable
4084 - If form is modal, setting DialogResult will now initiate loop
4085 termination via 'closing' variable
4086 - Added support for is_enabled/WS_DISABLED to CreateParams
4087 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
4089 - Removed code that's now in RunLoop from ShowDialog()
4090 - Added various documented sanity checks to ShowDialog()
4091 - Added handling of WM_DESTROY message; we set 'closing' on getting
4092 the message to indicate the message pump to terminate
4093 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
4094 send by the Application.ExitThread method. (We send the message
4095 to destroy the window after all other events have been
4096 processed through the queue, instead of destroying the handle
4098 - Moved code from Close() method to WM_CLOSE handler; added logic
4099 to only send close-related events if the form is not displayed
4101 * Splitter.cs (..ctor): Fixed typo in resource name
4103 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
4105 - set_Cursor: Now only setting calling into XplatUI if the handle for
4106 the control is already created; this avoids implict handle creation
4107 or crashes if it's not created
4108 - set_Enabled: Now setting the enabled state via the new driver method
4109 instead of just tracking it
4110 - CreateParams: Added logic to set WS_DISABLED based on enabled state
4111 - CreateControl: Reordered event firing and method calls to more
4112 closely fire events in the order MS does. Now setting the
4113 enabled state in the driver when creating the control.
4114 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
4116 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
4117 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
4118 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
4120 - Added tracking of window enabled state (get_Enabled/set_Enabled)
4121 - Added EnabledHwnd property to easily allow a driver to find the
4122 handle of the first enabled window in the parent chain (this is
4123 used by drivers to pass up input events of disabled windows)
4124 * XplatUIDriver.cs: Added IsEnabled() method
4126 - Removed crude and obsolete exiting tracking variable
4127 - Removed internal ModalRun(); replaced by RunLoop()
4128 - Implemented private CloseForms() method to allow closing all
4129 windows owned by a particular (or all) threads
4130 - Exit() now properly closes all windows without forcing the message
4132 - Removed obsolete InternalExit() method
4133 - Changed Run() methods to use new RunLoop() message pump
4134 - Implemented new RunLoop() method for both modal and non-modal forms
4136 - get_CreateParams: Added setting of WS_DISABLED
4137 - Simplified ShowDialog(); now all the work is done in RunLoop(),
4138 invoked via Form.ShowDialog()
4139 * NativeWindow.cs: We don't remove the window from the collection when
4140 the handle is destroyed; there might still be messages for it in the
4141 queue (mainly the resulting WM_DESTROY); instead it will be removed
4142 when Control calls InvalidateHandle in the WM_DESTROY handler
4144 - CreateWindow: Added logic to handle the WS_DISABLED window style
4145 - EnableWindow: Implemented based on Hwnd.Enabled
4146 - GetMessage: Reset PostQuitState so the method can be called again
4147 - Implemented support for disabled windows (passing messages to the
4148 first enabled parent) in handling all input messages
4149 - Added optimizations for handling Expose events
4150 - Implemeted new driver method IsEnabled()
4151 - Now always resetting paint pending tracking vars when we start paint
4152 - Re-implemented UpdateWindow via just sending a WM_PAINT message
4153 * XplatUIOSX.cs: Added IsEnabled method stub
4154 * XplatUIWin32.cs: Implemented new IsEnabled() method
4156 2006-01-11 Jackson Harper <jackson@ximian.com>
4158 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4159 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
4161 * ColorDialog.cs: Clear out the old form before adding the new
4164 2006-01-11 Jackson Harper <jackson@ximian.com>
4166 * X11Dnd.cs: Make sure to add all the text formats when adding
4167 strings to the data object.
4168 * TreeNodeCollection.cs: When adding to a sorted tree we need to
4169 do some redrawing too. Also change the UpdateNode to an
4170 UpdateBelow so the newly added node gets painted.
4172 2006-01-11 Miguel de Icaza <miguel@novell.com>
4174 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4175 LinkLabel.cs, PropertyGrid.cs: Implement the
4176 UseCompatibleTextRendering property for 2.x
4178 * Application.cs (SetCompatibleTextRenderingDefault): Add.
4180 2006-01-11 Jackson Harper <jackson@ximian.com>
4182 * TreeView.cs: Use the property for setting the selected node so
4183 the correct events get raised.
4184 * TreeNode.cs: Update the tree when the fore/back colours of a
4187 2006-01-10 Jackson Harper <jackson@ximian.com>
4189 * TreeView.cs: Allow setting SelectedNode to null.
4191 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4193 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
4195 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4197 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
4199 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4201 * PrintDialog.cs: Added attributes and set default property values.
4203 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4205 * PrintControllerWithStatusDialog.cs:
4206 Added PrintControllerWithStatusDialog.
4208 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4210 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
4211 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
4213 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4215 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
4217 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4219 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4220 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4222 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4224 * MimeIcon.cs: Added internal class SVGUtil.
4226 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4228 * FileDialog.cs: Don't crash if there are two files with the
4229 same name but different locations.
4231 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4233 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4234 dates across multiple month grids. Used to not highlight entire
4235 month, but does now.
4237 2006-01-06 Jackson Harper <jackson@ximian.com>
4239 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4240 message loop. Change timer intervals to numbers that seem more
4243 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
4245 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
4246 object for location info since screen object is now implemented.
4248 2006-01-05 Jackson Harper <jackson@ximian.com>
4250 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
4251 * AsyncMethodResult.cs: We no longer use a WeakReference for the
4252 AsyncMethodResult, this is because we ALWAYS want the
4253 ManualResetEvent to get set.
4254 * Control.cs: When disposing use an async invoke to call shutdown
4255 code, so that thigns don't block on the finalizer thread. Also
4256 check if we even have a message loop before trying to send
4257 messages, if we don't then don't bother sending messages.
4258 - No more weak references for async methods
4259 * XplatUIDriver.cs: No more weak references for async methods.
4261 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4263 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
4264 returns two FontFamily with the same name
4266 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4268 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
4269 drawing disabled text. Instead using the ColorGrayText color
4271 2006-01-04 Jackson Harper <jackson@ximian.com>
4273 * TreeNode.cs: redraw the node when its image index is changed.
4275 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4277 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4278 time I checked there are no others like it.
4280 2006-01-04 Jackson Harper <jackson@ximian.com>
4282 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4283 this gives the behavoir I was looking for.
4284 * Control.cs: Special case Invoking EventHandlers, this matches MS
4285 and fixes part of bug #76326.
4287 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4289 * ThemeClearlooks.cs, FileDialog.cs:
4290 - Reflect the latest Theme class changes
4291 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4294 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4296 * Theme.cs: Cache UI resource images and resize them if needed
4298 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4300 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4301 is called. This fixes the crash in Nexxia when setting the font
4302 attributes in the chat. [However, RTF needs a look-over to make sure
4303 that all SelectionXXX methods handle the special case that selection
4304 is empty and therefore the change must be applied to all text starting
4305 at the cursor/selection start]
4307 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4309 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4310 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4311 * X11Keyboard.cs: Switched to new way of calling PostMessage
4313 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4315 * Theme.cs: Added theme interface for images to allow the theme to
4316 control what images are used for things like FileDialog, MessageBox
4318 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4320 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4323 - Removed some dead code
4324 - Opening a recently used file does work now
4325 - Small UI enhancements
4328 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4330 * FileDialog.cs: Forgot too add __MonoCS__
4332 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4334 * FileDialog.cs: We are able to read recently used files now let's
4335 go on and write them.
4337 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4339 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4341 * MimeIcon.cs: Do a check for the top level media type also
4343 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4345 * ThemeClearlooks.cs:
4346 - Added CPDrawStringDisabled
4347 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4348 some chars if the text doesn't fit into text_rect
4349 - DrawListViewItem: If View = View.LargeIcon center the image;
4350 rewrote the drawing of ListViewItem.Text if View =
4353 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4355 * MimeIcon.cs: Use default KDE icon theme if there is no
4356 "48x48" directory for the current icon theme, fixes #77114
4357 * Mime.cs: Disable not working and actually not used code.
4358 * ThemeWin32Classic.cs:
4359 - Replace "new SolidBrush" in GetControlBackBrush and
4360 GetControlForeBrush with ResPool.GetSolidBrush
4361 - Changed DrawListViewItem from private to protected virtual
4363 - Added form.MaximizeBox = true
4364 - Don't throw an exception if there is a broken symbolic link
4366 2005-12-23 Jackson Harper <jackson@ximian.com>
4368 * TabControl.cs: Give the panels focus, keyboard navigation is
4369 fixed so this works correctly now.
4370 - We need these key events also.
4371 * ToolBar.cs: Remove some of the poor mans double buffering.
4373 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4375 * ComboBox.cs: The internal TextBox now returns the focus.
4377 2005-12-23 Jackson Harper <jackson@ximian.com>
4379 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4381 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4383 * Control.cs: Removed debug code
4384 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4387 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4389 * Control.cs: When creating the control, update the Z-order after
4390 all it's children are created, too. (Fixes nexxia not showing
4393 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4395 * Control.cs: Do not update the anchoring distances if layout is
4396 suspended, instead do it once layout is resumed
4398 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4401 - After many hours of debugging, for both Jackson and
4402 myself, it turns out that it helps to set the parent of a control
4403 if you want to actually see it onscreen. In the spirit of that
4404 discovery, we're now setting the parent of the control and
4405 it's children when the control's handle is created. This fix
4406 will make Lutz Roeder's Reflector run happily.
4407 - now just creating the handle instead of the whole control when
4408 getting a graphics context for the control.
4410 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4412 * ScrollableControl.cs: When calculating the canvas, don't consider
4413 the scrollbar widths. Instead, predict if horizontal scrollbar
4414 will affect canvas when deciding on vertical display and vice versa.
4416 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4418 * RichTextBox.cs: Set default RTF font for documents that don't
4419 have a font table (Fixes #77076)
4421 2005-12-22 Jackson Harper <jackson@ximian.com>
4423 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4424 clipboard. This prevents a NullRef in that case.
4425 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4426 clipboard. PRIMARY is for the currently selected text only. (We
4427 should implement PRIMARY at some point.
4429 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4431 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4432 a Unicode function with a structure that was defined in Ansi way.
4435 2005-12-21 Jackson Harper <jackson@ximian.com>
4437 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4438 on. Because thats how it rolls. (and this avoids it using ambient
4440 * ThemeWin32Classic.cs: Use the proper back color for filling.
4441 * Menu.cs: Use the system menu bar color for drawing menu
4442 bars. Using the window back color will bring ambient colours into
4445 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4447 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4448 Bitmaps were created and not disposed.
4450 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4452 * Control.cs (CreateControl): Don't do anything if the control is
4453 already created, otherwise we'd fire the OnCreated event more than
4456 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4458 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4459 will always match. Instead return -1. Fixes #76464.
4461 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4463 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4464 neither the beginning nor the end of the line (Fixes bug #76479)
4466 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4469 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4470 where handle is invalid
4471 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4472 instead of slower linear search
4473 * NativeWindow.cs: Don't remove the window from the hashtable until
4474 after the driver has destroyed it (since the driver might use
4475 Control.FromHandle to lookup the control object
4476 * Hwnd.cs: Added DestroyPending property to track if a window is
4477 already destroyed as far as the driver is concerned and only hasn't
4478 yet notified the control
4480 - Activate(): Check if the window is still valid before using the
4482 - Implemented DestroyChildWindow() method to mark child windows as
4483 destroyed when a window is destroyed. This prevents situations
4484 where we might call an X method based on queued events for a
4485 window that already has been destroyed but we haven't yet pulled
4486 the destroy method from the queue.
4487 - Added a call to the new DestroyChildWindow() method to the drivers
4488 DestroyWindow code. Also now marking the destroyed window itself
4491 2005-12-20 Jackson Harper <jackson@ximian.com>
4494 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4495 anymore. Just do them when needed, also track the rects of panels
4496 so that we can optimize refreshing more in the future.
4498 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4500 * ColorDialog.cs: Fixed focus drawing in small color controls
4502 2005-12-19 Jackson Harper <jackson@ximian.com>
4504 * InternalWindowManager.cs:
4505 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4506 moving windows works properly.
4508 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4511 - Removed call to InitLayout() from SetBoundsCore(); doc says
4512 it's only called when a control is added to a container
4513 - Split InitLayout logic, moved to separate UpdateDistances() method
4514 since we need to perform those calculations more often than just
4515 when adding the control to a container. (Needed to fix #77022)
4516 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4517 - Reduced the OnBindingContextChanged events count, don't send them
4518 unless the control is created, we still aren't totally matching
4519 MS, but I can't quite figure out some of their rules
4521 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4523 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4526 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4528 * ThemeClearlooks.cs:
4529 - Updated ProgressBar drawing
4530 - Corrected drawing of ScrollBars and scroll buttons
4531 - Some temporary fixes for minor pixel artefacts
4533 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4536 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4537 cause events to be sent in the same order as MS does.
4538 - Added ChangeParent() method to trigger various OnXXXChanged events
4539 that need to be fired when a parent changes (This is a reworking
4540 of the patch from r54254, with the X11 errors fixed)
4541 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4542 since on MS we get OnLayoutChanged events when calling Clear()
4543 - Changed Enabled property to consider parent state as well, if a
4544 parent is not enabled, the control will not be either
4545 - Changed Parent property to simply call Controls.Add() since that
4546 now does all the work required, this way we avoid code duplication
4547 - Threw in a few OnBindingsContextChanged calls to try and match
4548 when MS sends them. We seem to send a few too many, though.
4549 - Added call to CreateControl when adding the control to a parent.
4550 We were never calling CreateControl. Still needs some work, in
4551 some places we treat HandleCreated and ControlCreated as equal,
4553 - Removed obsolete commented out code from UpdateZOrder()
4555 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4557 * ThemeClearlooks.cs: Updated TrackBar drawing.
4559 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4561 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4563 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4565 * FileDialog.cs: Add the Help button and the open readonly
4566 checkbox only if needed
4568 2005-12-16 Jackson Harper <jackson@ximian.com>
4570 * Control.cs: Make sure we have an active menu before trying to
4571 process commands on it. Prevents menu-less forms from crashing
4572 when Alt is pressed.
4573 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4575 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4578 2005-12-16 Jackson Harper <jackson@ximian.com>
4580 * InternalWindowManager.cs: Don't translate tool windows screen
4581 coordinates. This fixes windows 'bouncing' around when being moved.
4583 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4586 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4587 not quite MS compatible, MS uses that number only for single line
4588 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4590 - Now enforcing the MaxLength limit when entering characters
4591 - Added argument to internal Paste() method to track if it's called
4592 from programatically or via keyboard, since keyboard driven pastes
4593 need to enforce max-length
4594 - Added logic to Paste to only paste as many chars as MaxLength
4596 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4598 - Added Length property to return number of characters in document
4599 - Added private CharCount property which only tracks actual chars
4600 in the document (no linefeeds) and fires event when CharCount
4602 - Added tracking of character count to all methods that alter it
4603 - Added LengthChanged event to allow applications to subscribe
4604 to any changes to the document
4606 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4609 - Removed local password_char field (moved to TextBoxBase)
4610 - Now setting the document's password var when password is
4613 - Added password_char field (needed here so MultiLine can
4615 - Added logic to MultiLine property setter to set the document's
4616 variable when password display is allowed
4617 - Removed debug code and made some debug code conditional
4619 - Added RecalculatePasswordLine() method to handle special password
4621 - Added PasswordChar property, also added related tracking vars
4622 - Draw() method now uses local text var for grabbing text to draw,
4623 this var is set to line.text unless we're doing password display,
4624 then it is set to the pre-generated all-password-chars line
4625 - Added calling RecalculatePasswordLine() method for password lines
4627 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4630 - Added Reparented property to allow tracking of Window Manager
4631 reparenting actions (which affect X/Y calculations of toplevel
4633 - Made ToString() print window handles in hex
4635 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4636 determine if X/Y needs offsetting
4637 - AddConfigureNotify(): Fixed offset calculations
4638 - Now adds ReparentNotify messages into the queue
4639 - Now processes ReparentNotify messages and causes a
4640 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4641 is reparented (as most likely it's X/Y coordinates are changed
4644 2005-12-14 Jackson Harper <jackson@ximian.com>
4646 * XplatUIX11.cs: Tool windows still need to respek focus.
4648 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4650 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4651 have a working release
4653 2005-12-13 Jackson Harper <jackson@ximian.com>
4655 * Form.cs: Update styles after setting the border style regardless
4656 of whether or not the window is using a window manager.
4658 2005-12-13 Jackson Harper <jackson@ximian.com>
4660 * Form.cs: We now hook into an internal window manager instead of just an
4661 MDI subsystem, this is so we can have properly behaving tool windows.
4662 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4663 * InternalWindowManager.cs: New internal class that acts as a
4664 window manager for tool windows and as a base for mdi windows.
4665 * MdiWindowManager.cs: New class that acts as a window manager for
4668 2005-12-12 Jackson Harper <jackson@ximian.com>
4670 * Control.cs: Updates so we match behavoir for for implicit
4671 controls. Fixes explosions in MDI.
4673 2005-12-12 Jackson Harper <jackson@ximian.com>
4675 * Control.cs: Implement Invalidate (Region).
4677 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4680 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4681 the same events as MS does. MS fires events for each property
4682 except, for unknown reasons, Cursor, when the control is reparented.
4683 I can't seem to totally match add/remove since MS also fires some
4684 VisibleChanged events, which makes no sense. Consolidated the
4685 parenting code into a separate method so it can be called from
4686 both Add and Remove. set_Parent no longer needs any special logic
4687 as it calls the parent's add method which implicitly fires
4689 - Removed some obsolete code and debug output
4690 - Enabled state is inherited from parents, if this is enabled
4692 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4694 * Form.cs: Removed commented out code
4696 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4699 - Added internal version of Invoke, with additional argument
4700 indicating if we're calling it from a Dispose() handler. That
4701 way we can avoid BeginInvoke throwing an exception if we're
4702 calling for an already destroyed window.
4703 - Added a dispose argument to BeginInvokeInternal, and made the
4704 check if a valid window handle chain exists conditional on
4705 it not being a dispose call
4706 - Removed code in DestroyHandle to destroy our children. Since we
4707 now handle the WM_DESTROY message we will catch all our children
4709 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4711 - Added a field to track the application context of the form.
4712 - No need to set closing variable as response to WM_CLOSE, instead
4713 we destroy the window. We also call PostQuitMessage if the form
4714 has an application context (which makes it the main app form,
4715 which, when closed terminates the app)
4717 - Dropped Exit() method, it's naming was confusing
4718 - Added PostQuitMessage() which causes GetMessage to return false
4719 once the message queue is empty
4720 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4722 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4723 no longer a valid XplatUI method, but left it in since it's used
4724 internally. Added empty PostQuitMessage() method.
4725 * MenuAPI.cs: Replaced call to Exit() with call to
4726 PostQuitMessage, even though this is probably no longer needed.
4727 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4728 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4730 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4731 - Removed old debug code that would call XplatUI for exception
4732 display, enabled standard exception handling (Still not enabled
4733 though, until NativeWindow's ExternalExceptionHandler define
4736 - Added internal method to allow control to update NativeWindow
4737 after a window has been destroyed
4738 - Added handling of already destroyed windows when calling i
4740 - Added removal of handle from list on ReleaseHandle
4742 - Dropped GetMessageResult var and related code
4743 - Added PostQuitState to field to track if PostQuitMessage has been
4745 - Dropped Exit() method
4746 - Added PostQuitMessage() method
4747 - GetMessage now will return false if PostQuitState is set and no
4748 more messages are in the queue.
4749 - Expose handler will no longer generate WM_PAINT messages if we are
4750 in PostQuitState since it's very likely any windows have already
4751 been destroyed, and since Hwnd won't get updated until we have
4752 processed the DestroyNotify we'd be causing X errors.
4754 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4756 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4757 Thanks to Mike for pointing out the err of my ways.
4759 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4761 * Control.cs(PreProcessMessage): Moved menu handling back, but
4762 after all other key handling, to match MS (who handles Menu in
4764 * Menu.cs (WndProc): Removed my brainfart
4766 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4768 * Control.cs(PreProcessMessage): Removed special menu handling
4769 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4771 2005-12-07 Mike Kestner <mkestner@novell.com>
4773 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4774 state according in tracker.
4775 * Menu.cs : promote tracker field to base class and provide a tracker
4776 lookup capability. Add/Remove shortcuts dynamically if the top menu
4777 has a tracker. Unparent items that are removed from the collection.
4778 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4779 * Theme*.cs: add always_show_hotkeys field to support configurability
4780 of mnemonic display. win32 doesn't show mnemonics until Alt is
4783 2005-12-07 Jackson Harper <jackson@ximian.com>
4785 * MdiChildContext.cs: Use Control.ResetCursor.
4786 * Control.cs: ResetCursor needs to set the property so that the
4787 correct XplatUI call gets made.
4789 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4791 * Control.cs: More fixes to make our key events match MS. We
4792 were not setting the modifier state on KeyData, and we were
4793 not generating any events when Alt was pressed with a key
4794 since handling of WM_SYSxxx was missing for the OnKey methods.
4796 2005-12-07 Jackson Harper <jackson@ximian.com>
4798 * MdiChildContext.cs: reenable the sizing code.
4799 - When the mouse leaves a window reset its cursor.
4801 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4803 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4805 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4807 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4808 widths of Fixed3D borders
4810 2005-12-07 Jackson Harper <jackson@ximian.com>
4812 * MdiClient.cs: Fix warnings. Earn Mike's love.
4814 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4816 * ThemeClearlooks.cs:
4817 - Adjusted mouse over button color
4818 - Added first parts of CheckBox drawing
4819 - Added correct color for selected text background
4820 - Fixed ComboBox drawing
4821 - Added CPDrawBorder3D and CPDrawBorder
4823 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4825 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4827 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4829 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4830 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4831 alert users via sound. We could add an enum arg with different
4832 types of alerts in the future
4834 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4836 * Control.cs: Fix behaviour problems pointed out by Mike
4838 2005-12-05 Mike Kestner <mkestner@novell.com>
4840 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4841 prop setters. Calls parent.Refresh for now, but could be maybe be
4842 optimized with an internal method on StatusBar at some point.
4845 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4847 * RichTextBox.cs: Implemented get_SelectionColor
4849 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4851 * ThemeClearlooks.cs:
4853 - Draw black button border only if button is Form.AcceptButton
4854 - Draw correct button color for pressed RadioButton if the mouse
4855 has entered the button
4856 - Updated ProgressBar drawing!
4857 - Updated CPDrawSizeGrip drawing
4858 - Updated StatusBarPanel drawing
4860 2005-12-05 Mike Kestner <mkestner@novell.com>
4862 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4863 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4865 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4867 * ThemeClearlooks.cs: Initial check-in, activate with
4868 export MONO_THEME=clearlooks
4869 * ThemeEngine.cs: Added ThemeClearlooks
4871 2005-12-03 Mike Kestner <mkestner@novell.com>
4873 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4876 2005-12-02 Jackson Harper <jackson@ximian.com>
4878 * Form.cs: If the child form has no menu the default main menu is
4879 used as the active menu.
4881 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4883 * ListBox.cs: Check if any items exist before trying to resolve
4884 coordinates into items
4886 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4888 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4889 as the second color for the background hatch
4891 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4893 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4894 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4895 sure that what we pass to FormatText is always 1-based. Fixes #76885
4897 2005-11-29 Miguel de Icaza <miguel@novell.com>
4899 * NumericUpDown.cs (EndInit): When we are done initializing,
4900 reflect any updates on the UI.
4902 2005-12-02 Jackson Harper <jackson@ximian.com>
4904 * ImplicitHScrollBar.cs:
4905 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4906 their container controls.
4907 * TreeView.cs: Use the new implicit scrollbars.
4909 2005-12-02 Jackson Harper <jackson@ximian.com>
4911 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4913 * TreeNodeCollection.cs: If we remove the topnode we need to
4914 update topnode to the next node in line.
4915 - When clearing nodes go through the same process as removing
4916 them, so they get depareneted and checked if they are top node.
4918 2005-12-01 Jackson Harper <jackson@ximian.com>
4920 * TreeView.cs: When imagelists are used the image area is
4921 selectable as well as the text.
4922 - If there are no selected nodes select the first one.
4923 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4924 so don't do it more then we need to.
4926 2005-12-01 Jackson Harper <jackson@ximian.com>
4928 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4929 that arrows can be scaled.
4931 2005-12-01 Jackson Harper <jackson@ximian.com>
4933 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4934 fail. Patch by Dieter Bremes
4936 2005-11-30 Jackson Harper <jackson@ximian.com>
4938 * Form.cs: Property is 2.0 only
4939 * PrintDialog.cs: Signature fix.
4941 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4944 - No longer artificially moves text 2 pixels down (now that we have
4945 borders this is no longer needed)
4946 - Added calcs for left, hanging and right indent
4948 2005-11-23 Mike Kestner <mkestner@novell.com>
4950 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4952 2005-11-30 Jackson Harper <jackson@ximian.com>
4954 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4955 get cloned as part of CloneMenu ().
4956 * Menu.cs: Make sure the parent of the items get set correctly
4957 when they are added. And the owners are notified of the changes.
4958 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4959 we can change the menu being displayed/handled by the form without
4960 changing the menu assosciated with the form.
4961 - Don't let Mdi children draw/handle menus.
4963 2005-11-30 Jackson Harper <jackson@ximian.com>
4965 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4966 a MenuChanged event. Just to make the API a little more
4969 * MenuItem.cs: Use the new OnMenuChanged
4970 * MdiChildContext.cs: Handle menu merging.
4971 * Form.cs: Implement MergedMenu.
4973 2005-11-30 Jackson Harper <jackson@ximian.com>
4975 * Menu.cs: We were misusing Add. Add goes behind the specified
4976 index according to the docs, and does not replace the specified
4977 index. So I added an Insert method.
4979 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4981 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4982 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4984 * RichTextBox.cs: Added calls to base for DnD events
4986 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4989 - Fixed drag-selection related crash; style fixes
4990 - Implemented undo class
4991 o Implemented method to capture document state for specified
4992 range in document tree
4993 o Implemented method to restore captured document state
4994 o Implemented cursor tracking
4995 o Implemented basic undo stack
4996 - Added undo cursor tracking to methods altering cursor location
4997 - Added undo tracking to selection deletion (still missing
4998 other text-altering hookups)
5000 - Added SelectionLength property
5001 - Implemented CanPaste()
5002 - Implemented Paste()
5003 - Added missing protected methods
5004 - Fixed RTF->Document conversion; now uses font index 0 and color
5005 index 0 as the default font for the parsed text
5006 - Fixed RTF<->Document font size translation
5007 - Fixed RTF generation, now properly handles cross-tag boundaries
5008 for single line selection
5009 - No longer always appends blank line to generated RTF
5011 - Added missing attributes
5012 - Hooked up undo-related methods
5014 - Implemented Copy()
5015 - Implemented Paste()
5017 - Fixed caret mis-behaviour on backspace across line-boundaries
5019 2005-11-29 Jackson Harper <jackson@ximian.com>
5021 * MdiClient.cs: Add a method for activating mdi children. Very
5022 basic right now. I imagine someday it might need more girth.
5023 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
5024 children windows names are added to the menu item.
5025 * ThemeWin32Classic.cs: Draw the arrow if the item is an
5026 mdilist. This happens regardless of whether or not there are any
5027 mdi windows to see in the list, and according to my tests happens
5028 before the items are even added. Also happens if there isn't even
5029 an mdi client to get windows from.
5031 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
5033 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
5034 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
5036 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
5038 * DataGridTableStyle.cs:
5039 - Create always the styles for the missing columns even if they are
5040 provided by the user (not default table style)
5043 - Fixes SetDataBinding (always re-attach source)
5044 - Fixes SetNewDataSource (only clear styles if they are not for
5046 - Expands OnTableStylesCollectionChanged to handle style refresh
5049 2005-11-29 Jackson Harper <jackson@ximian.com>
5051 * FileDialog.cs: Implement missing bits, remove some dead
5053 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
5054 creation of the panel so that the options set on the dialog are
5055 seen when the panel is created.
5056 * TreeView.cs: raise a click when items are clicked.
5058 2005-11-29 Jackson Harper <jackson@ximian.com>
5060 * MdiClient.cs: Pass some signature methods through to base.
5062 2005-11-28 Jackson Harper <jackson@ximian.com>
5064 * ListView.cs: Raise the click event when items are clicked.
5066 2005-11-28 Jackson Harper <jackson@ximian.com>
5068 * MdiClient.cs: Make this algorithm even more beautiful. And fix
5071 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
5073 * ThemeNice.cs: - Removed 1 pixel bitmaps
5074 - Use SmoothingMode.AntiAlias where it makes sense
5075 (ScrollButton arrow for example)
5076 - Enhanced Button focus drawing
5077 - Fixed ComboBox drawing (no artefacts anymore, focus
5078 rectangle is back again, reduced size of ComboButton, etc.)
5079 - Fixed RadioButton focus drawing for Appearence.Button
5080 - Slight ScrollButton redesign
5081 - Some LinearGradientBrush size fixes
5082 - GroupBoxes have now rounded edges
5083 - Fixed StatusBar drawing
5085 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
5087 * ThemeNice.cs: - Remove dead code
5088 - use correct background colors for menus, etc.
5089 - Fake pixel drawing with 1 pixel bitmaps
5091 2005-11-24 Jackson Harper <jackson@ximian.com>
5093 * MdiClient.cs: Size the scrollbars when resizing the window.
5094 - Resize the maximized windows when the client is resized
5095 * Form.cs: Make the child context available
5097 2005-11-23 Jackson Harper <jackson@ximian.com>
5099 * MdiChildContext.cs: Don't size windows if they are maximized.
5101 2005-11-23 Mike Kestner <mkestner@novell.com>
5103 * ContextMenu.cs: use MenuTracker.
5104 * Control.cs: remove menu handle usage.
5105 * Form.cs: remove menu handle usage.
5106 * Hwnd.cs: remove menu handle usage.
5107 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
5108 motion and clicks to the new Tracker handlers.
5109 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
5111 * MenuAPI.cs: refactored to combine popup and menubar event handling.
5112 Killed the MENU and MENUITEM data types and associated collections
5113 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
5114 MenuTracker class that exposes the leftovers from the old MenuAPI
5115 static methods. Restructured Capture handling so that only one grab is
5116 done for the entire menu hierarchy instead of handing off grabs to
5117 submenus. Tracker now has an invisible control to Capture when active.
5118 * MenuItem.cs: add sizing accessors, kill Create
5120 * Theme.cs: remove menu handle and MENU(ITEM) usage.
5121 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
5122 MENU(ITEM). remove menu handle usage, use Menu directly.
5123 * XplatUIDriver.cs: remove menu handle usage.
5124 * XplatUIOSX.cs: remove menu handle usage.
5125 * XplatUIWin32.cs: remove menu handle usage.
5126 * XplatUIX11.cs: remove menu handle usage.
5128 2005-11-22 Jackson Harper <jackson@ximian.com>
5130 * Hwnd.cs: Don't compute the menu size for
5131 DefaultClientRectangle.
5132 - Reenable menu sizes being computed for GetClienRectangle.
5133 * Form.cs: Remove comment of trechery
5135 2005-11-22 Jackson Harper <jackson@ximian.com>
5137 * Hwnd.cs: The adjustments for the menu bar are made when it is
5138 attached to the form.
5140 2005-11-19 Jackson Harper <jackson@ximian.com>
5142 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
5143 (just like on windows).
5145 2005-11-19 Jackson Harper <jackson@ximian.com>
5147 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
5148 use real buttons anymore because they are in non client area. The
5149 one TODO here is that I need to somehow invalidate a section of
5150 the non client area.
5152 2005-11-18 Jackson Harper <jackson@ximian.com>
5154 * Control.cs: Put the enum check back in now that MDI doesnt have
5155 to use this to set border styles.
5156 * Form.cs: Only set mdi child windows borders if the handle has
5158 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
5159 this directly on to the driver.
5160 - Get the move start position before adjusting for the titlebar
5161 height, this fixes the windows "skipping" when they are first
5164 2005-11-18 Jackson Harper <jackson@ximian.com>
5166 * XplatUIX11.cs: Just compute the mdi borders separately as they
5167 don't totally match up with normal form borders.
5169 2005-11-18 Jackson Harper <jackson@ximian.com>
5171 * Control.cs: Set WS_ styles for borders, so that the driver does
5172 not have to retrieve the control instance to figure out what kind
5173 of borders it should have.
5174 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
5175 driver can know its an mdi child easily.
5176 * XplatUIX11.cs: Get the border styles and whether the window is
5177 MDI from the Styles and ExStyles params instead of having to get a
5178 control. This prevents a chicken and egg problem.
5180 2005-11-18 Jackson Harper <jackson@ximian.com>
5182 * MdiClient.cs: Fix typo so scrollbars show up correctly.
5184 2005-11-18 Jackson Harper <jackson@ximian.com>
5186 * MdiClient.cs: Calculate when to add and remove scrollbars
5188 * MdiChildContext.cs: Adjust the y position to take the titlebar
5190 - No height for FormBorderStyle.None
5192 2005-11-18 Jackson Harper <jackson@ximian.com>
5194 * Control.cs: Allow non enum values to be used for
5195 InternalBorderStyle. MDI does this to set a special border style.
5196 - New utility methods for converting points to/from client coords
5197 - Add the newly created control to the Controls collection before
5198 updating its style. This way UpdateStyle can walk the control
5199 heirarchy to find the control if needed.
5200 so I don't need to create a new Point object all the time.
5201 * Form.cs: Let MDI windows handle their border styles.
5202 - Set styles on MDI windows so the correct title style is derived.
5203 * MdiChildContext.cs: Move all the painting and window handling
5204 into the non client area.
5205 - Use correct sizing and put correct buttons on frames based on
5206 the FormBorderStyle.
5207 - Notify the mdi client about scrolling
5208 - Need to handle the buttons ourselves now, because they are all
5209 in non client areas and we can't add controls there.
5210 * MdiClient.cs: Halfway to scrolling, this implementation is
5211 somewhat broken though, we need to check to make sure other
5212 windows aren't causing scrolling before removing the bars. Also
5213 the bars need to be drawn on top, maybe I can switch implicit
5214 controls to be on top.
5215 * Hwnd.cs: caption_height and tool_caption_height are now
5216 properties of an hwnd, this way they can be set by the driver
5217 based on the type of window they are. In X11 the window manager
5218 handles the decorations so caption_height is zero unless its an
5220 - Add 3 pixel borders for MDI windows (0xFFFF).
5221 - Get rid of some code duplication, have DefaultClientRectanle
5222 just call GetClientRectangle.
5223 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5225 - Set border styles differently for mdi windows.
5226 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5229 2005-11-15 Mike Kestner <mkestner@novell.com>
5231 * Menu.cs: when adding an item to the collection, if item is already
5232 parented, remove it from the parent.
5234 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5236 * X11DesktopColors.cs: Added KDE support
5238 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5241 - Clipboard methods now can translate Rtf format
5242 - No longer removes clipboard contents whenever a new format is added
5243 to allow placing multiple formats on the clipboard
5244 * Clipboard.cs: Clipboard now supports getting a IDataObject and
5245 will place all formats contained in it onto the clipboard. Also
5246 now cleans the clipboard before placing a new object onto it
5248 - Implemented set_Rtf
5249 - Implemented set_SelectedRtf
5250 - Created InsertRTFFromStream() method to allow single code base
5251 for all properties and methods that insert RTF into document
5252 - Removed debug output
5254 - Fixed Delete(int) to fix up line numbers
5255 - Fixed ReplaceSelection to combine start and end line
5256 - Fixed serious DeleteChars bug that would leave the document tree
5258 - Improved DumpTree with several logic checks to detect broken
5260 - Removed debug lines
5261 - Fixed Caret.WordForward/WordBack moving code, now always also
5262 updates caret.tag (fixes crash when word-selecting across tag
5263 boundaries via keyboard)
5264 - Added Insert() method for inserting multiline text into documents
5265 - Fixed DeleteChars() calculation errors that would cause a broken
5266 tag chain with multiple tag lines
5267 - DeleteChars() no longer crashes on multi-tag lines if not all tags
5268 - Split() no longer moves caret if split is at caret location
5269 - ReplaceSelection() now updates the cursor and re-displays it
5270 - ReplaceSelection() now uses new Insert() method to avoid code
5272 - FormatText() can now handle formatting partial lines
5274 - Append now uses new TextControl.Insert() method (this avoids
5276 - Implemented Ctrl-X (Cut) (
5277 - Implemented Ctrl-C (Copy)
5278 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5279 regeneration when pasting text; roundtripping Copy&Paste within
5280 edit control still fails due to some calculation bugs in GenerateRTF)
5281 - The Delete key will now remove the current selection if it is visible
5282 * TextBox.cs: Removed debug lines
5283 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5284 driver to be initialized and can't therefore be done via a static ctor)
5286 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5288 * TextControl.cs: Added backend code for finding char arrays and strings
5290 - Added mouse wheel scroll support
5291 - Added support for VScroll and HScroll events
5293 - Implemented all seven Find() variants
5294 - Implemented GetCharFromPosition()
5295 - Implemented GetCharIndexFromPosition()
5296 - Implemented GetLineFromIndex()
5297 - Implemented GetPositionFromCharIndex();
5298 - Implemented SaveFile for PlainText and UnicodeText
5299 - Fixed set_Font, now setting a new font applies that font to
5301 - Implemented generic Document to RTF converter
5302 - Implemented SaveFile for RichText format (still missing unicode
5303 conversion for non-ansi chars)
5304 - Implemented get_Rtf
5305 - Implemented get_SelectedRtf
5307 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5309 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5310 to allow any captures to be released before triggering OnClick. This
5311 way a click handler may capture the mouse without interference.
5312 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5313 This way we send them even though X may not allow a grab (if the window
5314 isn't visible, for example)
5316 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5318 * DataGridViewRowEventArgs.cs: DataGridView implementation
5319 * DataGridViewElement.cs: DataGridView implementation
5320 * DataGridViewComboBoxCell.cs: DataGridView implementation
5321 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5322 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5323 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5324 * ImageLayout.cs: DataGridView implementation
5325 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5326 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5327 * DataGridViewSelectionMode.cs: DataGridView implementation
5328 * IDataGridViewEditingControl.cs: DataGridView implementation
5329 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5330 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5331 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5332 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5333 * DataGridViewColumnSortMode.cs: DataGridView implementation
5334 * DataGridView.cs: DataGridView implementation
5335 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5336 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5337 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5338 * Padding.cs: DataGridView implementation
5339 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5340 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5341 * DataGridViewRowEventHandler.cs: DataGridView implementation
5342 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5343 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5344 * DataGridViewButtonCell.cs: DataGridView implementation
5345 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5346 * DataGridViewEditMode.cs: DataGridView implementation
5347 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5348 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5349 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5350 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5351 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5352 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5353 * DataGridViewCellEventHandler.cs: DataGridView implementation
5354 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5355 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5356 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5357 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5358 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5359 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5360 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5361 * QuestionEventArgs.cs: DataGridView implementation
5362 * IDataGridViewEditingCell.cs: DataGridView implementation
5363 * DataGridViewTriState.cs: DataGridView implementation
5364 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5365 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5366 * DataGridViewColumnCollection.cs: DataGridView implementation
5367 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5368 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5369 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5370 * DataGridViewColumn.cs: DataGridView implementation
5371 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5372 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5373 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5374 * DataGridViewRow.cs: DataGridView implementation
5375 * DataGridViewImageCellLayout.cs: DataGridView implementation
5376 * DataGridViewImageCell.cs: DataGridView implementation
5377 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5378 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5379 * DataGridViewHeaderCell.cs: DataGridView implementation
5380 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5381 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5382 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5383 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5384 * QuestionEventHandler.cs: DataGridView implementation
5385 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5386 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5387 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5388 * DataGridViewCell.cs: DataGridView implementation
5389 * DataGridViewCellEventArgs.cs: DataGridView implementation
5390 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5391 * DataGridViewCellStyle.cs: DataGridView implementation
5392 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5393 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5394 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5395 * TextFormatFlags.cs: DataGridView implementation
5396 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5397 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5398 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5399 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5400 * DataGridViewButtonColumn.cs: DataGridView implementation
5401 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5402 * HandledMouseEventArgs.cs: DataGridView implementation
5403 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5404 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5405 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5406 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5407 * DataGridViewRowCollection.cs: DataGridView implementation
5408 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5409 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5410 * DataGridViewHitTestType.cs: DataGridView implementation
5411 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5412 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5413 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5414 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5415 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5416 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5417 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5418 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5419 * DataGridViewContentAlignment.cs: DataGridView implementation
5420 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5421 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5422 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5423 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5424 * DataGridViewPaintParts.cs: DataGridView implementation
5425 * DataGridViewCellCollection.cs: DataGridView implementation
5426 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5427 * DataGridViewImageColumn.cs: DataGridView implementation
5428 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5429 * DataGridViewElementStates.cs: DataGridView implementation
5430 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5431 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5432 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5433 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5434 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5435 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5436 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5437 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5438 * DataGridViewTextBoxCell.cs: DataGridView implementation
5439 * DataGridViewBand.cs: DataGridView implementation
5440 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5441 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5442 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5443 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5444 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5445 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5446 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5447 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5448 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5449 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5450 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5452 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5454 * ThemeWin32Classic.cs:
5455 - Draw the outside focus rectangle around buttons
5456 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5457 doesn't use end caps for every dash of a line anymore. This
5458 workaround ignores the forecolor.
5460 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5462 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5465 2005-11-07 Jackson Harper <jackson@ximian.com>
5467 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5469 2005-11-07 Jackson Harper <jackson@ximian.com>
5471 * ScrollableControl.cs: Calculate the maximum and change vars
5472 (more) correctly so that scrollbars appear as a sensible size.
5474 2005-11-04 Jackson Harper <jackson@ximian.com>
5476 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5478 * TreeView.cs: When the tree is sorted null out the top_node so
5479 that it is recalculated.
5480 - Use dotted lines instead of dashed lines to match MS better.
5482 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5485 - Implements key search for items. Useful when browsing files with FileDialog
5486 - When changing view mode or when clear the items reset scrollbar positions
5488 2005-11-04 Jackson Harper <jackson@ximian.com>
5490 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5491 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5492 as to what the method may do as there is no real way of creating a
5493 derived CurrencyManager and calling the method.
5495 2005-11-03 Jackson Harper <jackson@ximian.com>
5497 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5498 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5499 method which seems to just be used internally to refresh the tabs.
5501 2005-11-03 Jackson Harper <jackson@ximian.com>
5503 * TabControl.cs: Implement the remove method. Fix some broken
5506 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5508 * DateTimePicker.cs:
5509 - Added missing DateTimePickerAccessibleObject class
5510 - Added missing events
5511 - Added OnFontChanged method
5512 * Form.cs: Added missing attributes
5513 * TreeView.cs: Added missing attributes
5515 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5517 * GridItemCollection.cs: Fix signatures
5519 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5521 * XplatUI.cs: Updated build rev/date
5522 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5523 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5524 * Application.cs: Trigger context-specific ExitThread events
5526 2005-11-03 Jackson Harper <jackson@ximian.com>
5530 * GridTableStylesCollection.cs:
5535 * MonthCalendar.cs: Signature fixes
5537 2005-11-03 Jackson Harper <jackson@ximian.com>
5539 * TreeNodeCollection.cs: Remove should not be virtual.
5540 * TreeView.cs: Implement the last of the missing methods.
5542 2005-11-03 Jackson Harper <jackson@ximian.com>
5544 * TreeNodeConverter.cs: Implement to get off my class-status back.
5546 2005-11-03 Jackson Harper <jackson@ximian.com>
5548 * TreeView.cs: Hookup the bits for drag and drop.
5549 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5550 that nodes can be moved from tree to tree easily this just causes
5551 all sorts of problems.
5552 * TreeNodeCollection: Don't need to give treenodes an index and
5553 treeview anymore when they are added, these are computed on the
5554 fly. Also make sure to remove a node before its added.
5556 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5559 - Added CaretSelection enum
5560 - Added comparison methods to Marker struct, makes selection code
5562 - Added SelectionStart and SelectionEnd as 'moveable' location for
5563 the CaretDirection enum and handler
5564 - Added selection_prev variable to track optimized invalidation for
5565 word and line selection
5566 - Added SelectionVisible property (returns true if there is a valid
5568 - Switched CaretHasFocus to only display the caret if there is no
5570 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5571 using the direct character index; should be much faster
5572 - Added various conditional debug statements
5573 - Fixed invalidation calculation for selection ranges
5574 - Added ExpandSelection() method to support word and line selection
5575 - Switched SetSelectionToCaret to use new Marker compare overloads
5576 - Added central IsWordSeparator() method to determine word
5577 separators/whitespace and FindWordSeparator() to streamline common
5578 usage of IsWordSeparator()
5580 - Removed unneeded grabbed variable, it was just mirroring
5582 - No longer firing OnTextChanged event when Text setter is called,
5583 since the base will fire the event for us
5584 - Added handling of Ctrl-Up/Down selection
5585 - Added handling of Shift-Cursorkey selection
5586 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5588 - Added handling of Shift and Ctrl-Shift-Home/End selection
5589 - Removed some debug output
5590 - Added handling for single/double/tripple-click to place caret/
5591 select word/select line respectively (Fixes bug #76031)
5592 - Added support for drag expansion of word/line selection
5593 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5596 2005-11-02 Jackson Harper <jackson@ximian.com>
5598 * X11Dnd.cs: If the drag is going to and from a MWF window just
5599 copy the data instead of sending it out through the X Selection
5602 2005-11-02 Jackson Harper <jackson@ximian.com>
5605 * XplatUIX11.cs: When in a drag we don't want motion notify
5606 messages to get passed on to the other controls. This prevents
5607 mouse move messages from showing up in the drag source.
5609 2005-11-02 Jackson Harper <jackson@ximian.com>
5611 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5612 the correct button is release to end a drag.
5613 * XplatUIX11.cs: Make the button state internal so the drag system
5614 can access it. Dragging needs to know about all button releases,
5615 not just left button.
5617 2005-11-02 Miguel de Icaza <miguel@novell.com>
5619 * Form.cs (Icon): If the icon is null, reset the icon to the
5622 * Cursor.cs: When writing the AND-mask bitmap do not include the
5623 number of colors, but hardcode those to two (black and white),
5624 fixes the loading of color cursors (Paint Dot Net).
5626 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5627 turn off autoscaling.
5629 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5631 2005-11-02 Jackson Harper <jackson@ximian.com>
5633 * X11Dnd.cs: Make sure to send a status message if the pointer
5634 enters a control that can not accept a drop, otherwise the cursor
5635 isn't updated correctly. Also tried to compress the lines of code
5638 2005-11-02 Jackson Harper <jackson@ximian.com>
5640 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5641 set actions correctly. This isn't perfect as XDND and win32 have
5642 some differences on how you allow actions. I'll clear this up by
5643 adding a path for drag from MWF to MWF windows.
5644 * XplatUIX11.cs: Hook into the dnd system.
5646 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5648 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5649 previously shown but they are no longer need it. Very obvious when
5650 browsing files with FileDialog.
5652 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5654 * Control.cs: We always need to call OnPaintBackground. We pretty much
5655 ignore AllPaintingInWmPaint and always do the painting there, whether
5656 it's set or not, since we always ignore the WM_ERASEBKGND message
5657 (which we don't generate on X11). This fixes #76616.
5658 * Panel.cs: Removed unneeded background painting. This happens properly
5659 in Control.cs already
5661 2005-10-31 Mike Kestner <mkestner@novell.com>
5663 * Menu.cs: Add items to collection before setting their index.
5664 * MenuItem.cs : add range checking with ArgumentException like MS.
5667 2005-10-31 Jackson Harper <jackson@ximian.com>
5669 * ListBox.cs: Invalidate if the area is visible at all not just
5670 contained in the visible rect. Fixes unselection of semi visible
5673 2005-10-31 Jackson Harper <jackson@ximian.com>
5675 * Control.cs: Consistently name the dnd methods. Make them
5676 internal so we can override them to match some MS behavoir
5678 * Win32DnD.cs: Use the new consistent names.
5680 2005-10-31 Jackson Harper <jackson@ximian.com>
5682 * TreeView.cs: Don't draw the selected node when we lose focus.
5684 2005-10-31 Jackson Harper <jackson@ximian.com>
5686 * X11Dnd.cs: We still need to reset the state even though a full
5687 reset isn't being done, otherwise status's still get sent all over
5690 2005-10-31 Jackson Harper <jackson@ximian.com>
5692 * Control.cs: Make the dnd_aware flag internal so the dnd
5693 subsystem can check it. Catch exceptions thrown in dnd handlers to
5695 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5696 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5697 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5698 flags to reduce the number of dnd enters/status's sent.
5700 2005-10-31 Jackson Harper <jackson@ximian.com>
5702 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5704 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5706 * PictureBox.cs: Fixes 76512
5708 2005-10-28 Jackson Harper <jackson@ximian.com>
5710 * X11Dnd.cs: Early implementation to support winforms being a drag
5711 source for data on X11. Also restructured the converters so they
5712 can go both ways now.
5713 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5715 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5717 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5720 2005-10-27 Jackson Harper <jackson@ximian.com>
5722 * TreeNode.cs: Implement serialization so my DnD examples will work.
5724 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5726 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5727 TreeView.cs: Don't dispose objects that are not owned.
5729 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5731 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5732 should retrieve the current cursor and report that, but XplatUI
5733 doesn't (yet) have an interface for that (and I'm not sure I even
5735 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5736 until any message loop processing is done (and the WM_SETCURSOR
5737 replaces the cursor to the proper one)
5739 - Fixed override behaviour, we can't set the cursor globally on X11,
5740 just for our windows.
5741 - Invalidating the System.Drawing X11 display handle when we are
5743 * Control.cs: Fix to make csc happy
5745 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5748 - get_Text: Add last line (without trailing newline) to returned
5750 - get_TextLength: Count last line in returned length
5751 - ToString: Call Text property instead of duplicating code
5753 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5755 * ImageList.cs: Dispose ImageAttributes objects.
5757 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5759 * ImageList.cs: Use attribute constructors with less arguments where
5762 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5764 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5765 Use typeof instead of strings when assembly is referenced. Added
5768 2005-10-21 Jackson Harper <jackson@ximian.com>
5770 * ListView.cs: Raise a double click event. Also tried to somewhat
5771 fix when the selectedindexchanged event is raised. Its still
5774 2005-10-21 Jackson Harper <jackson@ximian.com>
5776 * TreeView.cs: New method to invalidate the plus minus area of a
5777 node without invalidating the whole node (maybe this can be used
5778 in some more places).
5779 * TreeNodeCollection.cs: When adding to an empty node we need to
5780 invalidate its plus minus area so the little block shows up.
5782 2005-10-21 Jackson Harper <jackson@ximian.com>
5784 * TreeView.cs: Make sure that when we invalidate a node the bounds
5785 are big enough to cover the selected box and the focus
5786 rectangle. Use a different colour for the lines connecting nodes
5787 so they show up with all themes.
5789 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5791 * NativeWindow.cs: Don't call anything that could call into the driver,
5792 we might be on a different thread.
5794 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5796 * Control.cs(Dispose): Since Dispose might run on a different thread,
5797 make sure that we call methods that could call into the driver via
5798 invoke, to avoid thread issues
5800 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5802 * XplatUI.cs: Removed finalizer
5803 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5804 not allowing to be called on the finalizer thread.
5806 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5809 - Reverted r51889 and r51891.
5810 - Added ImageListItem class that stores unmodified image items and image
5811 properties required to create list images until handle is created.
5812 - Added AddItem and moved image creation logic to AddItemInternal.
5813 - Added CreateHandle method that creates images based on unmodified items.
5814 - Added DestroyHandle that changes state to store unmodified items.
5815 - Add and AddStrip methods no more create handle.
5816 - ReduceColorDepth has no return value.
5817 - Dispose destroys handle.
5818 - Modified other methods to reflect the above changes.
5819 - Implemented key support.
5820 - Added profile 2.0 members and attributes.
5821 - Added private Reset and ShouldSerialize methods that provide the same
5822 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5823 them as they are private.
5824 - Added some more comments about implementation details.
5826 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5828 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5830 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5832 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5834 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5836 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5837 * DataGridColumnStyle.cs: Remove debug message
5839 2005-10-20 Jackson Harper <jackson@ximian.com>
5841 * TreeView.cs: We can always get input keys regardless of whether
5842 or not editing is enabled. They are used for navigation.
5844 2005-10-20 Jackson Harper <jackson@ximian.com>
5846 * TreeNode.cs: Use the viewport rect for determining if a node
5847 needs to be moved for visibility. Don't use Begin/End edit. This
5848 calls a full refresh when its done.
5849 * TreeView.cs: New SetBottom works correctly. Make the viewport
5850 rect property internal so the treenodes can see it. When clicking
5851 on a node we need to ensure that its visible because it might just
5852 be partly visible when clicked.
5854 2005-10-20 Jackson Harper <jackson@ximian.com>
5856 * TreeNodeCollection.cs: Remove debug code.
5858 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5860 * Datagrid.cs: Implements column sorting in Datagrid
5861 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5863 2005-10-20 Jackson Harper <jackson@ximian.com>
5865 * TreeNodeCollection.cs: Remove items properly. Update the correct
5866 area after removing them.
5868 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5870 * Datagrid.cs: Should not call base.OnPaintBackground
5872 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5874 * XplatUIX11.cs (GetMessage):
5875 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5876 window instead of client window
5877 - Now properly calculates NC_xBUTTONUP message coordinates
5878 - ScreenToMenu now properly calculates it's coordinates of whole
5879 window, since menus are in the whole window, not in the client
5881 - Added WholeToScreen coordinate translation method
5883 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5885 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5886 want to return a message, loop back to the beginning of the function
5887 and grab the next real message to process instead.
5889 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5891 * Splitter.cs: Properly set limits if no filler control is used
5893 2005-10-19 Jackson Harper <jackson@ximian.com>
5895 * ColorDialog.cs: Don't show the help button if it is not enabled
5896 instead of disabling it (this is what MS does). Don't create the
5897 panel until the dialog is run, otherwise the vars (such as
5898 ShowHelp) are not set yet.
5900 2005-10-19 Jackson Harper <jackson@ximian.com>
5902 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5903 are reduced when adding nodes.
5905 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5908 2005-10-19 Jackson Harper <jackson@ximian.com>
5910 * FolderBrowserDialog.cs: End editing our treeview so the window
5911 actually gets refreshed.
5913 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5915 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5916 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5919 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5921 * MenuAPI.cs: Returns after Hidding window
5922 * XplatUIX11.cs: Added TODO found while debugging menu issues
5924 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5926 * XplatUIX11.cs: Do not re-map the whole window when it's size
5927 becomes non-zero unless it's supposed to be actually visible
5929 2005-10-18 Jackson Harper <jackson@ximian.com>
5931 * TreeView.cs: We don't need to keep a count anymore.
5932 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5933 use the Grow method.
5935 2005-10-18 Jackson Harper <jackson@ximian.com>
5937 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5938 implement it manually here.
5940 2005-10-18 Jackson Harper <jackson@ximian.com>
5942 * ImageList.cs: Dont kill the list when the colour depth is
5943 changed, just change the colour depth of all the images.
5944 - Same goes for setting the image size. Just resize them all
5945 instead of killing the list softly.
5947 2005-10-18 Jackson Harper <jackson@ximian.com>
5949 * Control.cs: Don't invalidate empty rectangles.
5951 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5954 - Adds checked item to the Checked/Item lists (where empty before)
5955 - Do not add items to the Selected lists if they are already present
5957 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5958 - When deleting items make sure that we delete them for the Selected
5959 and Checked list also.
5961 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5963 * Label.cs: Dispose objects no longer used
5964 * ThemeWin32Classic.cs: Dispose objects no longer used
5966 2005-10-18 Jackson Harper <jackson@ximian.com>
5968 * TabControl.cs: Don't refresh the whole control when the tabs are
5969 scrolled, we just need to refresh the tab area.
5971 2005-10-17 Jackson Harper <jackson@ximian.com>
5973 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5974 after handle when we need it.
5976 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5978 * Control.cs: When the parent size changes, recalculate anchor
5979 positions. Partial fix for #76462
5981 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5983 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5986 2005-10-17 Jackson Harper <jackson@ximian.com>
5988 * MonthCalendar.cs: Don't create the numeric up down until our
5989 handle is created. Otherwise our handle is created in the
5990 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5993 2005-10-17 Jackson Harper <jackson@ximian.com>
5995 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5998 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5999 * TreeNode.cs : small logical fix (was using local var instead of field)
6001 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6003 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
6005 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6007 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
6009 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
6012 - Re-implemented anchoring code. My first version was really broken.
6013 This fixes bug #76033. Unlike the previous implementation we will
6014 no longer have round errors since all numbers are calculated from
6015 scratch every time. Removed various anchor-related obsolete vars.
6016 - InitLayout no longer causes layout event firing and layout to be
6019 2005-10-16 Jackson Harper <jackson@ximian.com>
6021 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
6024 2005-10-16 Jackson Harper <jackson@ximian.com>
6026 * TabControl.cs: Remove debug code.
6028 2005-10-16 Jackson Harper <jackson@ximian.com>
6030 * XEventQueue.cs: Increase the default queue size (very simple
6031 apps needed to grow the queue).
6032 * Hwnd.cs: No finalizer so we don't need to suppress
6033 finalization. Compute the invalid area manually so a new rectangle
6034 does not newto be created.
6035 * ScrollableControl.cs: Don't set any params (otherwise visibility
6036 isn't set correctly).
6037 * MdiChildContext.cs: New constructor takes the mdi parent so it
6038 doesn't have to be computed and avoids a crash on windows. Draw
6039 the window icon properly, and allow the text to be seen.
6040 * Form.cs: Use new MdiChildContext constructor. Make sure the
6041 child context isn't null in wndproc.
6042 * TabControl.cs: Don't set focus, this is muddling keyboard
6043 behavoir. Expand the tab rows when a window size increase will
6044 allow extra tabs to be seen. Don't allow tabs smaller than the
6045 width of a window to be scrolled out of view.
6047 * TreeView.cs: Use measure string to calculate a nodes width, the
6048 width is cached and only updated when the text or the font is
6049 changed. Don't check for expand/collapse clicks on the first level
6050 nodes if root lines are disabled.
6052 2005-10-16 Ritvik Mayank <mritvik@novell.com>
6054 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
6056 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6058 * DataGridBoolColumn.cs: fixes warning
6060 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6062 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
6063 to match more to match more precisely the MS Net behavior
6065 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6067 * Hwnd.cs: Added field to track if window is mapped
6069 - Unmap windows if they become 0-size, re-map when
6070 they are >0 again; fixes #76035
6071 - Re-set our error handler after initializing X11Desktop
6072 to override any error handlers Gtk or whatever was called
6075 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6077 * CheckedListBox.cs: Removed unused vars
6078 * ListView.cs: Fixed signatures
6079 * RichTextBox.cs: Removed unused vars
6080 * TextBoxBase.cs: Removed unused vars
6081 * XplatUIWin32.cs: Removed unused vars
6082 * XplatUIX11.cs: Removed unused vars
6083 * XplatUI.cs: Updated version and date to latest published
6085 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6087 * Cursor.cs: Added private .ctor to work around a bug in
6088 resourceset (Thanks to Geoff Norton for the help on this)
6089 * SplitterEventArgs.cs: Made fields accessible so we don't
6090 waste boatloads of objects and can reuse the same one
6092 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
6093 any captions and borders when generating screen coordinates
6094 * Splitter.cs: Reimplemented control, now fully complete, uses
6095 rubberband drawing, supports and obeys all properties, has
6098 2005-10-13 Miguel de Icaza <miguel@novell.com>
6100 * Form.cs (Form): Setup default values for autoscale and
6101 autoscale_base_size; Make these instance variables, not static
6104 (OnLoad): on the first load, adjust the size of the form.
6106 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6108 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
6109 width argument to DrawReversibleRectangle()
6110 * XplatUIWin32.cs, XplatUIX11.cs:
6111 - Implemented width for DrawReversibleRectangle()
6112 - Added logic to DrawReversibleRectangle that recognizes a zero
6113 width or height and only draws a line in that situation
6115 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6117 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
6118 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
6119 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
6120 method (it uses our FosterParent window to get a graphics context)
6122 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6124 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
6125 and SetWindowBackground methods
6127 - Setting proper ControlStyles
6128 - We no longer call XplatUI.SetWindowBackground and XplatUI.
6129 EraseWindowBackground, instead we draw the window background
6130 ourselves in PaintControlBackground. This behaviour is
6131 required to match MS, where, when OnPaintBackground is not
6132 called, the background is not drawn.
6133 - Removed unneeded Refresh() in set_Text
6134 * Hwnd.cs: Dropped the ErasePending support. No longer needed
6136 - Created DeriveStyles method to translate from CreateParams to
6137 FormBorderStyle and TitleStyle, also handles BorderStyle (which
6138 matches FormBorderStyle enum values)
6139 - Consolidated SetHwndStyles and CalculateWindowRect border/title
6140 style calculations into single DeriveStyles method
6141 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
6142 from redrawing the whole window on any resize or expose.
6143 - Fixed CreateWindow usage of SetWindowValuemask. Before not
6144 all styles were applied to our whole/client window appropriately
6145 - Removed EraseWindowBackground() and SetWindowBackground() methods
6146 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
6147 no longer clear/redraw the background through X
6148 - Removed handling of erase_pending bit, we have no use for it (or
6151 - Removed generation and handling of WM_ERASEBKGND message
6152 - Removed EraseWindowBackground() and SetWindowBackground() methods
6153 - Removed handling of hwnd.ErasePending flag
6155 - Removed EraseWindowBackground() and SetWindowBackground() methods
6156 - We no longer call EraseWindowBackground on PaintEventStart, we
6157 ignore the fErase flag, erasing is handled in Control in the
6159 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
6160 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
6161 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
6162 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
6163 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
6164 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
6165 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
6167 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
6169 * PropertyGrids.cs: Get sub properties
6170 * PropertyGridView.cs: Fix drawing code
6172 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6174 * ListBox.cs: Fixes 76383
6176 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6178 * DataGridTextBoxColumn.cs: Sets location and size before attachment
6179 * ThemeWin32Classic.cs: Fixes border drawing and calculations
6180 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
6183 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6185 * ComboBox.cs: Fixes border drawing
6187 2005-10-10 Miguel de Icaza <miguel@novell.com>
6189 * MimeIcon.cs: Ignore errors if the file can not be read.
6191 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6193 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
6194 - Fixed border calculations
6195 - Fixed horizontal scrolling in single column listboxes
6196 - Fixed drawing issues
6198 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
6200 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
6201 FormBorderStyle enum
6202 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
6203 code to determine FormBorderStyles from CreateParams
6205 - Fixed bug where we'd set the wrong window styles if we were
6206 not creating an MDI window
6207 - Added call to XplatUI.SetBorderStyle when form borders are set
6208 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
6210 - Removed obsolete edge style
6211 - Switched from BorderStyle to FormBorderStyle
6213 2005-10-10 Jackson Harper <jackson@ximian.com>
6215 * Form.cs: Use the property to get the window handle instead of
6216 accessing it directly. Prevents a null reference exception.
6218 2005-10-10 Jackson Harper <jackson@ximian.com>
6220 * TreeView.cs: Don't adjust the rect given to DrawString now that
6221 our libgdiplus draws correctly.
6223 2005-10-08 Jackson Harper <jackson@ximian.com>
6225 * TreeView.cs: Don't try to find the clicked on node if there are
6226 no nodes in the tree.
6228 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6234 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6236 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6237 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6239 Use ResPool for brushes and dispose System.Drawing objects that
6240 are not used anymore.
6242 2005-10-07 Jackson Harper <jackson@ximian.com>
6244 * MdiChildContext.cs: Use the new borders instead of drawing them
6247 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6249 * Calling UpdateBounds after changing the window's BorderStyle
6250 since the style can change the ClientSize
6252 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6254 * Control.cs: Made PaintControlBackground virtual
6255 * Panel.cs: Overriding PaintControlBackground instead of using paint
6256 event; paint event method was interfering with 'real' users of the
6259 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6261 * ThemeWin32Classic.cs: remove border drawing since it is handled
6262 by the base control class now and was causing double border drawing.
6264 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6266 * Panel.cs: Redraw our background on paint. Not a pretty solution,
6267 but it does seem to match MS behaviour. This fixes bug #75324
6269 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6271 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
6272 somewhat hackish looking
6274 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6277 - We now accept Enter even if AcceptEnter is false, if the containing
6278 form does not have an AcceptButton configured (fixes bug #76355)
6279 - Calculations are now fixed to no longer use Width/Height, but
6280 ClientSize.Width/Height, since we now support borders (this was
6281 a result of fixing borders and therefore bug #76166)
6282 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6283 true (fixes bug #76354)
6285 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6288 - Defaulting BorderStyle and setting it in XplatUI when our window
6290 - Added enum check to InternalBorderStyle setter
6292 - Added drawing of window borders
6293 - Now properly calculates WM decorations offset for toplevel
6294 windows (fixes bug #74763)
6296 - Implemented BorderStyles for windows (we're letting win32 draw
6298 - Fixed the signature for SetWindowLong
6299 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6300 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6302 * UpDownBase.cs: Remove drawing of borders, this is handled by
6303 the driver, outside the client area
6304 * ListView.cs: Removed bogus border calculations. The control should
6305 be oblivious to borders, since those are not part of the client
6307 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6308 * ThemeWin32Classic.cs: Removed border calculations from ListView
6311 2005-10-06 Jackson Harper <jackson@ximian.com>
6313 * MdiChildContext.cs: Clear out the old virtual position remove
6314 all the unneeded calls to CreateGraphics.
6316 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6318 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6320 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6323 - Added loading and setting of our new default icon
6324 - Only set icon if window is already created
6326 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6329 - Do not explicitly set the foreground and background colors, to
6330 allow inheriting from parents (fixes #76302)
6331 - Use Control's InternalBorderStyle property to deal with borders
6333 2005-10-06 Jackson Harper <jackson@ximian.com>
6335 * MdiChildContext.cs: Use the new xplatui function to draw a
6338 2005-10-06 Jackson Harper <jackson@ximian.com>
6340 * Form.cs: Add the parent before creating the child context cause
6341 we need the parent when setting up the child.
6343 2005-10-06 Jackson Harper <jackson@ximian.com>
6345 * FolderBrowserDialog.cs: redo the tree population code so a
6346 second thread isn't used. Should be a lot faster and more stable
6349 2005-10-05 Jackson Harper <jackson@ximian.com>
6351 * TreeView.cs: There are no expand/collapse boxes if the node has
6354 2005-10-05 Jackson Harper <jackson@ximian.com>
6356 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6358 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6360 * FileDialog.cs: Fix InitialDirectory
6362 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6365 - Fixes changing between styles
6367 - Fixes last item crashing when navigating with keyboard
6369 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6371 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6373 2005-10-05 Jackson Harper <jackson@ximian.com>
6375 * TreeView.cs: If updating the root node do a full refresh.
6376 * TreeNode.cs: The root node should be expanded by default. Also
6377 added a utility prop to tell if we are the root node.
6378 * TreeNodeCollection.cs: Only refresh if the node we are being
6379 added to is expanded. Also added a comment on a potential
6382 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6384 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6385 in dispose method. Fixes #76330
6387 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6389 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6391 - Implements vertical and horizontal scrolling using XplatUI
6392 - Fixes keyboard navagation
6393 - Fixes EnsureVisible
6395 - Handles and draws focus properly
6398 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6400 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6401 Create handle. NET_2_0: Destroy handle when value is null.
6403 2005-10-03 Jackson Harper <jackson@ximian.com>
6405 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6406 revert and a new patch to prevent the thumb from refreshing so
6409 2005-10-02 Jackson Harper <jackson@ximian.com>
6411 * ScrollBar.cs: Don't update position if it hasn't actually
6412 changed. This occurs when you hold down the increment/decrement
6413 buttons and the thumb gets to the max/min.
6415 2005-10-01 Jackson Harper <jackson@ximian.com>
6418 * MdiChildContext.cs:
6419 * MdiClient.cs: Implement ActiveMdiChild in Form.
6421 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6423 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6425 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6427 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6430 2005-09-30 Jackson Harper <jackson@ximian.com>
6432 * ListBox.cs: Don't do a full refresh unless some data has
6435 2005-09-30 Jackson Harper <jackson@ximian.com>
6437 * TreeView.cs: Make sure that the checkboxes size is factored in
6438 even when not visible.
6440 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6442 * FileDialog.cs: Fix Jordi's build break
6444 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6447 - Use standard the Windows colours for the combobox as espected
6448 - Dispose objects that use resouces when no longer need them
6450 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6452 * X11DesktopColors.cs: Initial incomplete implementation
6453 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6455 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6458 - Switched Theme color names to match the names defined in
6459 System.Drawing.KnownColors. Life's hard enough, no need to make
6461 - Added setters to all theme color properties so themes can set
6462 their color schemes. The setters also propagate the color changes
6463 to System.Drawing.KnownColors via reflection
6464 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6465 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6466 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6467 use the new, more logical theme color names
6468 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6470 * ThemeWin32Classic.cs:
6471 - Removed code to set the old classic Windows colors. Instead it
6472 now relies on the colors returned by System.Drawing.KnownColors
6473 which will be either modern static colors (Unix) or colors
6474 read from the user's configuration (Win32)
6475 - Updated to use the new, more logical theme color names
6476 - Switched DataGrid drawing code to use only Theme colors instead of
6477 a mix of System.Drawing.KnownColors and Theme colors
6478 - DrawFrameControl(): Removed code that fills the button area, the
6479 fill would overwrite any previous fill done by a control. This
6481 - Added DrawReversibleRectangle() stub
6482 * ScrollableControl.cs: Set visible state to false when scrollbars
6483 are removed (pdn fix)
6484 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6485 DrawReversibleRectangle() method to allow drawing primitive
6487 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6489 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6491 * ImageList.cs: Add(Icon): Create handle.
6493 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6496 * ThemeWin32Classic.cs:
6499 - Issues with drawing
6501 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6503 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6504 source has to be the ImageList.
6506 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6508 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6510 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6512 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6514 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6516 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6518 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6519 * GridItem.cs: Fixed TODOs
6520 * GridItemCollection.cs: Added ICollection interface
6522 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6524 * ImageList.cs: Resize icons when needed.
6526 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6529 - Fixes GetBounds and returns on screen rects
6531 - Fixes vertical and horzintal scrolling of items
6532 * ThemeWin32Classic.cs:
6535 2005-09-29 Raja R Harinath <harinath@gmail.com>
6537 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6539 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6541 * ImageList.cs: Added comments about handle creation. Moved Handle,
6542 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6543 Handle is created in Add methods.
6545 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6547 * DataGridDrawingLogic.cs:
6548 - Takes rows into account on Colum calculations
6549 - Returns the column when clickig
6551 - Fixes default HitTestInfo values
6552 - Fixes HitTestInfo.ToString
6553 - Fixes ResetBackColor
6555 2005-09-28 Jackson Harper <jackson@ximian.com>
6557 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6558 sizing or cursor changes). Also added some temp code to draw the
6559 titlebars text (Makes dev a little easier).
6561 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6563 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6565 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6567 * ListBox.cs: Fixes bug 76253
6569 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6571 * ImageList.cs: Added comments about the current implementation. Added
6572 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6573 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6574 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6575 with Bitmap.LockBits for better performance. Revised the whole file to
6576 match MS.NET behaviour and provide better performance. Non-public
6577 interface members are calling public members even when they throw
6578 NotSupportedException for better maintainability. Moved ColorDepth,
6579 ImageSize, ImageStream and TransparentColor implementations to
6580 ImageCollection for better performance as these properties are not used
6582 * ImageListStreamer.cs: Added a new internal constructor that takes an
6583 ImageList.ImageCollection and serializes Images based on
6584 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6585 match ImageList property name.
6587 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6589 * ListBox.cs: Fixes IndexFromPoint for last item
6591 2005-09-27 Jackson Harper <jackson@ximian.com>
6593 * Form.cs: Set the position of new mdi children correctly.
6595 2005-09-27 Jackson Harper <jackson@ximian.com>
6597 * MdiClient.cs: New mdi children need to be added to the back of
6598 the controls collection so the zorder is set correctly. Also add a
6599 count of all the child windows that have been created.
6601 2005-09-27 Jackson Harper <jackson@ximian.com>
6603 * Form.cs (CreateParams): Setup MDI forms correctly.
6605 2005-09-27 Jackson Harper <jackson@ximian.com>
6607 * MdiChildContext.cs:
6614 * ScrollableControl.cs:
6615 * ComboBox.cs: Add implicit controls using the new implict control
6616 functionality in ControlCollection. Also try to block multiple
6617 control add in a suspend/resume layout to save some cycles.
6619 2005-09-27 Jackson Harper <jackson@ximian.com>
6621 * Control.cs: Add functionality to the controls collection to add
6622 'implicit controls' these are controls that are created by the
6623 containing control but should not be exposed to the user. Such as
6624 scrollbars in the treeview.
6625 * Form.cs: The list var of the ControlsCollection is no longer
6626 available because of the potential of implicit controls getting
6627 ignored by someone accessing the list directly.
6629 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6631 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6632 loose it's parent. (Fixed bug introduced in r49103 when we added
6633 setting the child parent to null on Remove)
6635 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6637 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6638 * Splitter.cs: Added missing attributes for BorderStyle property.
6639 * TextBoxBase.cs: Marked Calculate* methods internal.
6640 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6643 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6645 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6647 2005-09-25 Jackson Harper <jackson@ximian.com>
6649 * TreeView.cs: Update the node bounds correctly regardless of
6650 whether the node is visible.
6652 2005-09-25 Jackson Harper <jackson@ximian.com>
6654 * ImageList.cs: Don't dispose the image after it is added to the
6655 image list. Only reformat images that need to be resized.
6657 2005-09-25 Jackson Harper <jackson@ximian.com>
6659 * ImageList.cs: Don't set the format when changing the image.
6661 2005-09-25 Jackson Harper <jackson@ximian.com>
6663 * TreeView.cs: We can't just assume the node has a font. Use the
6664 treeviews font if no node font is available.
6666 2005-09-25 Jackson Harper <jackson@ximian.com>
6668 * TreeView.cs: Allow the scrollbars to be reset with negative
6670 - Don't add scrollbars to negative sized windows.
6672 2005-09-23 Jackson Harper <jackson@ximian.com>
6674 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6675 old Mono.Posix. Also remove some stray code that shouldn't have
6678 2005-09-23 Jackson Harper <jackson@ximian.com>
6680 * TreeView.cs: Attempt at proper sizing of the horizontal
6681 scrollbar. Also don't resize the scrollbars unless they are
6684 2005-09-23 Jackson Harper <jackson@ximian.com>
6686 * TreeView.cs: We don't need to expand the invalid area when the
6687 selection changes, as this is all drawn in the node's bounding
6688 box. The area needs to be expanded (previous typo was contracting
6689 it) when the focus rect moves.
6691 2005-09-23 Jackson Harper <jackson@ximian.com>
6693 * TreeView.cs: Display the selection box under the correct
6694 circumstances. We were rendering white text with no selection box
6697 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6699 * TextControl.cs(Split): Now updates selection start/end if it points
6700 into a line that's being split. Fixes a FIXME and bug #75258
6702 2005-09-23 Jackson Harper <jackson@ximian.com>
6705 * ListControl.cs: Don't use the path when retrieving binding
6706 managers from the binding context. My bat sense tells me that the
6707 path is only used on insertion.
6709 2005-09-22 Jackson Harper <jackson@ximian.com>
6711 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6713 2005-09-22 Jackson Harper <jackson@ximian.com>
6715 * Splitter.cs: There are special cursors used for splitting.
6716 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6718 2005-09-22 Jackson Harper <jackson@ximian.com>
6720 * Splitter.cs: Change the cursor appropriately when the splitter
6721 is moused over, so the user actually knows there is a splitter
6724 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6726 * Label.cs : Fix ToString method to give same output as MS.NET
6728 2005-09-22 Jackson Harper <jackson@ximian.com>
6730 * TreeView.cs: Create the scrollbars when the handle is created
6731 and add them right away, just make them invisble. Also account for
6732 the window being shrunk vertically to the point that the vert
6733 scrollbar needs to be added.
6734 - Remove some 0.5 adjustments to get around anti aliasing issues.
6736 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6738 * MainMenu.cs: Fixes default value
6739 * MenuItem.cs: Fixes default value
6741 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6743 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6745 2005-09-21 Jackson Harper <jackson@ximian.com>
6747 * Control.cs: Don't try to set the border style on the window if
6748 it hasn't been created. When the window is created the border
6751 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6753 * Control.cs (Update): Don't call XplatUI if we don't have a
6756 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6758 * ContainerControl.cs: Instead of throwing an exception, print
6759 a one-time warning about Validate not being implemented
6760 * XplatUIWin32.cs: Removed debug output
6762 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6764 * Control.cs: Only set XplatUI background if we expect the windowing
6765 system to handle the background. This stops controls that draw their
6766 own background from flickering
6768 * XplatUIX11.cs: Support custom visuals and colormaps for window
6769 creation. This allows, amongst other things, using MWF X11 windows
6772 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6774 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6775 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6776 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6777 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6778 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6779 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6780 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6781 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6782 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6783 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6784 GridColumnStylesCollection.cs,
6785 IDataGridColumnStyleEditingNotificationService.cs,
6786 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6787 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6788 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6789 TreeNodeCollection.cs, AmbientProperties.cs,
6790 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6791 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6792 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6793 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6794 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6795 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6796 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6797 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6798 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6799 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6800 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6801 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6802 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6803 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6804 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6805 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6806 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6807 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6808 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6809 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6810 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6811 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6812 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6813 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6814 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6815 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6816 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6817 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6818 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6819 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6820 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6821 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6822 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6823 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6824 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6825 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6826 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6828 2005-09-21 Jackson Harper <jackson@ximian.com>
6830 * TreeNode.cs: Call Before/After Expand not Collapse when
6833 2005-09-20 Jackson Harper <jackson@ximian.com>
6835 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6837 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6841 - Fixes proper storing of subitems
6842 - Fixes not updated items
6844 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6846 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6847 things if our window handle isn't created yet. Also disabled
6848 debug for TextBoxBase
6850 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6852 * MenuAPI.cs: Remove filtering of events to allow menu usage
6854 2005-09-20 Miguel de Icaza <miguel@novell.com>
6856 * Cursor.cs: Allow null to be passed to Cursor.Current.
6858 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6860 * ThemeWin32Classic.cs:
6861 - Change some private methods/fields to protected virtual so that
6862 they can be accessed and overriden in derived classes
6863 - First refactoring of some methods. Derived themes now don't
6864 need to duplicate the complete code from ThemeWin32Classic
6866 - Added nice StatusBar
6867 - Derive from ThemeWin32Classic and not Theme
6868 - Removed duplicate ThemeWin32Classic code
6870 2005-09-20 Miguel de Icaza <miguel@novell.com>
6872 * Control.cs (ControlCollection.Add): If the value null is passed
6873 the control is ignored.
6877 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6879 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6880 PostQuitMessage state.
6881 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6883 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6885 * Application.cs: Our constructor will never get called, move
6886 initialization to fields; fixes bug #75933
6888 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6891 - Allow files to be selected properly using file name
6893 - Add ability to change diretory (absolute / relative)
6894 using file name combo box.
6896 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6899 - Fixes Multicolumn listboxes item wrong calculations
6900 - Allows to click when only one item is in the listbox
6901 - Fixes crash when no items using keyboard navigation
6903 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6905 * ComboBox.cs: Reverted almost everything from the latest patch which
6908 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6911 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6913 - When DropDownStyle is Simple, it does not show scrollbar
6914 to the last item of the list.
6915 - When DropDownStyle is Simple, it crashed when the list was
6916 scrolled down with the down cursor key.
6917 - Fixed a bug that when DropDownStyle is DropDownList, the
6918 selected item was not shown.
6919 - The position of the selected item was not preserved when
6920 the next dropdown happened.
6921 * ThemeWin32Classic.cs:
6922 - Items were wrapped at the right end.
6923 * CheckedListBox.cs:
6926 - Items should be fully shown.
6927 - When resizing and vertical scrollbar disappeared, the item
6928 of index 0 should be on the top of the list.
6929 - GetItemRectangle should consider the size of ver. scrollbar
6931 - SizingGrip area should not be allocated when it is not
6933 - Now it reflects MinWidth of the containing panel and
6934 fixed a crash that happens when its width becomes so small.
6936 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6938 * CheckedListBox.cs: Fixes bug 76028
6939 * ListBox.cs: Fixes bug 76028
6941 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6943 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6944 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6946 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6948 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6950 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6952 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6954 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6956 * IRootGridEntry.cs: Added
6957 * PropertyGridCommands.cs: Added
6958 * PropertiesTab.cs: Added missing methods and property
6959 * PropertyGridView.cs: Made class internal
6960 * PropertyGridTextBox.cs: Made class internal
6962 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6964 * MimeIcon.cs: Try to check some other environment variables
6965 if "DESKTOP_SESSION" returns "default"
6967 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6969 * ThemeNice.cs: Corrected background colors (e.g. menus)
6970 * ColorDialog.cs: Use correct background colors for controls
6972 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6974 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6976 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6978 * RichTextBox.cs: Added initial implementation
6979 * lang.cs: Removed. Was accidentally checked in long time ago
6980 * TODO: Removed. Contents were obsolete
6982 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6984 * PropertiesTab.cs : Added
6986 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6988 * PropertyGrid.cs : Update
6989 * PropertyGridView.cs : Update
6990 * System.Windows.Forms.resx : Added images and strings
6992 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6994 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6996 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6998 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6999 a busy loop right after the Ungrab the X11 display is otherwise
7002 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
7004 * ThemeWin32Classic.cs: Optimise the use of clipping
7006 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
7008 * DataGrid.cs: fixes recursion bug
7010 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
7013 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
7016 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
7018 * ThemeNice.cs: Draw nice ProgressBars
7020 2005-09-01 Miguel de Icaza <miguel@novell.com>
7022 * VScrollBar.cs: Another buglet found by Aaron's tool.
7024 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
7027 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
7030 - Added nicer menu drawing
7034 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7036 * CreateParams.cs (ToString): Made output match MS
7037 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
7038 handle is already created (to avoid forcing window creation)
7039 * XplatUIX11.cs: Set window text to caption after creating window,
7040 in case Text was set before window was created
7041 * Form.cs: Use this.Text instead of a static string as caption
7043 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7045 * NotifyIcon.cs: Don't set the window to visible; this screws
7046 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
7047 OnPaint without a bitmap)
7048 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
7049 happen very often anyway; we could add the check to the WM_PAINT
7050 event generation code
7052 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7054 * NotifyIcon.cs: Fill the icon area with a background color, to
7055 avoid 'residue' when transparent icons are drawn
7057 - Handle whole_window == client_window when destroying windows
7058 - SystrayAdd(): Set client_window to whole_window value to
7059 get mouse and other events passed to NotifyIcon
7061 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7063 * Form.cs: Set proper default for Opacity property
7065 - ShowSystray(): Don't bother creating telling the OS
7066 about the systray item if no icon is provided
7067 - Now handles WM_NCPAINT message to deal with whole/client window
7069 - Create window as visible to not get caught by Expose optimization
7070 * Hwnd.cs: Removed debug message
7071 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
7072 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
7073 PaintEventStart/End to use new client argument
7075 - Commented out debug messages
7076 - Switched PaintEventStart/End to use new client argument
7077 * XplatUI.cs: Added client window bool to PaintEventStart()/
7078 PaintEventEnd() calls, to support drawing in non-client areas
7080 - Added client window bool to PaintEventStart()/PaintEventEnd()
7081 calls, to support drawing in non-client areas
7082 - Added conditional compile to allow using MWF BeginInvoke
7085 - Added some conditional debug output
7086 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
7087 whole/client window split
7088 - Implemented handling of client argument to PaintEventStart()/End()
7090 - Throw exception if BeginInvoke() is called and the window handle
7091 or one of the window's parent handles is not created
7092 - Added conditional compile to allow using MWF BeginInvoke on
7094 - get_Parent(): Only sets parent if handle is created. This avoids
7095 forcing window handle creation when parent is set.
7096 - Now fires Layout and Parent changed events in proper order
7097 - Switched to use Handle instead of window.Handle for Z-Order setting,
7098 the get_Parent() patch above causes us to possibly get null for 'window'
7099 - Implemented handling of client argument to PaintEventStart()/End()
7100 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
7102 - Now sends a Refresh() to all child windows when Refresh() is called
7104 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
7106 * Form.cs: Added (non-functional) Opacity property
7107 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
7109 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
7110 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
7111 use export MONO_THEME=nice to activate it.
7112 Currently supported controls:
7116 - TabControl (TabAlignment.Top only, other will follow)
7117 * ThemeEngine.cs: Add theme nice
7118 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
7121 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
7123 * Splitter.cs: Resize docked control and its neighbor.
7125 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7126 -- Making Windows with Menus layout correctly --
7127 * Form.cs : The first leg of the fix
7128 Menu setter - adjust Client Size as needed to make space for the menu
7129 SetClientSizeCore - doesn't call base version to be able to pass the
7130 menu handle to XplatUI.CalculateWindowRect
7131 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
7132 * XplatUIX11.cs: The critical second leg of the fix
7133 GetWindowPos needs to use a recalculated client_rect
7134 so that resizing the window doesn't break layout of child controls.
7135 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
7138 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
7140 * Label.cs: Now properly recalculates width and height on Font and Text
7141 changes if AutoSize is set
7143 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7144 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
7146 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
7148 * ImageList.cs: Makes ToString method compatible with MS
7150 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
7152 * MenuAPI.cs: fixes bug 75716
7154 2005-08-11 Umadevi S <sumadevi@novell.com>
7155 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
7157 2005-08-11 Umadevi S <sumadevi@novell.com>
7158 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
7160 2005-08-10 Umadevi S <sumadevi@novell.com>
7161 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
7163 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
7165 * Menu.cs: fixes bug 75700
7166 * MenuAPI.cs: fixes navigation issues
7168 2005-08-09 Umadevi S <sumadevi@novell.com>
7169 * CheckedListBox.cs - simple fix for GetItemChecked.
7171 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
7173 * ComboBox.cs: Serveral fixes
7174 * ListBox.cs: Serveral fixes
7176 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7178 * ComboBox.cs: Fixes FindString methods and GetItemHeight
7179 * ListBox.cs: Fixes FindString methods
7181 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7183 * DataGrid.cs: fixes bugs exposed by new tests
7185 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
7187 * Mime.cs: Compile Mono assembly references only if compiling
7188 with Mono (Allows to build with VS.Net again)
7190 2005-07-28 Marek Safar <marek.safar@seznam.cz>
7192 * Control.cs (PaintControlBackground): Draw background image
7194 (CheckForIllegalCrossThreadCalls): Stubbed.
7196 * Form.cs (OnCreateControl): Center when should be centered.
7198 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
7200 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
7202 * Binding.cs: Binding to properties should be case unsensitive
7204 2005-07-18 vlindos@nucleusys.com
7206 * DataGrid.cs: fixes setmember order
7208 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
7210 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
7211 * FileDialog.cs: FileDialog is now resizable and uses the new
7214 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
7216 * DataGridTextBoxColumn.cs: default value
7217 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
7218 * GridTableStylesCollection.cs: fixes checking MappingName
7219 * DataGridDrawingLogic.cs: fixes drawing logic issues
7220 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7221 * DataGrid.cs: fixes
7223 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7225 * MimeGenerated.cs: Use case sensitive comparer for
7226 NameValueCollections
7228 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7230 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7231 * ThemeWin32Classic.cs: bug fixes, code refactoring
7232 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7233 * DataGrid.cs: bug fixes, code refactoring
7234 * DataGridTextBox.cs: bug fixes, code refactoring
7235 * DataGridColumnStyle.cs: bug fixes, code refactoring
7236 * Theme.cs: bug fixes, code refactoring
7238 2005-07-01 Peter Bartok <pbartok@novell.com>
7240 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7241 and other text box usage
7243 2005-07-01 Jackson Harper <jackson@ximian.com>
7245 * TabControl.cs: Make sure the bottom of the tab covers the pages
7248 2005-06-30 Peter Bartok <pbartok@novell.com>
7250 * Form.cs (ShowDialog): Assign owner of the dialog
7251 * TextBoxBase.cs: Always refresh caret size when deleting, caret
7252 might have been moved to a tag with different height
7254 2005-06-30 Jackson Harper <jackson@ximian.com>
7256 * Form.cs: Don't create an infinite loop when setting focus
7257 * MenuItem.cs: Don't dirty the parents if we don't have any
7259 2005-06-29 Ben Maurer <bmaurer@ximian.com>
7261 * LibSupport.cs: Rename
7263 2005-06-29 Peter Bartok <pbartok@novell.com>
7265 * TextBoxBase.cs: Re-align caret after deleting a character
7267 - DeleteChars(): Ensure that tag covers the provided position
7268 - StreamLine(): Drop reference for dropped tag
7270 2005-06-29 Peter Bartok <pbartok@novell.com>
7273 - Selections now work properly, anchoring at the initial location
7274 and properly extending in either direction (SetSelectionToCaret(),
7275 SetSelectionStart() and SetSelectionEnd())
7276 - No longer redraws the whole control on selection change, now
7277 calculates delta between previous and new selection and only
7278 invalidates/redraws that area
7279 - Fixed FindPos() math off-by-one errors
7280 - Changed DeleteChars() to verify the provided tag covers the
7281 provided position, selections may have a tag that doesn't cover
7282 the position if the selection is at a tag border
7283 - Fixed off-by-one errors in DeleteChars()
7284 - Added missing streamlining check in DeleteChars() to remove
7286 - Implemented Invalidate() method, now properly calculates exposures
7287 between two given lines/positions
7288 - Implemented SetSelection()
7289 - Obsoleted and removed FixupSelection()
7290 - Improved RecalculateDocument() logic, removing code duplication
7292 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7294 * LibSupport.cs: changes to match different input/output arguments.
7296 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7298 * LibSupport.cs: added libsupport.so init routine.
7300 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7302 * ControlBindingsCollection.cs
7303 - Throws an exception on null datasource when adding
7304 - Checks for duplicated bindings when adding
7306 2005-06-28 Jackson Harper <jackson@ximian.com>
7308 * TreeView.cs (OnKeyDown): Support left and right properly
7309 (navigates as well as expanding and collapsing.
7310 - Add support for Multiply, this expands all the selected nodes
7314 2005-06-28 Jackson Harper <jackson@ximian.com>
7316 * TreeView.cs: Implement keyboard navigation, currently supports,
7317 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7318 support for toggling checkboxes with the space bar.
7320 2005-06-28 Jackson Harper <jackson@ximian.com>
7322 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7325 2005-06-28 Jackson Harper <jackson@ximian.com>
7327 * TreeView.cs: Add missing event.
7329 2005-06-27 Peter Bartok <pbartok@novell.com>
7332 - Made line ending size configurable (now allows for counting
7333 lineendings as \n or \r\n)
7334 - Added margin to viewport to keep caret visible on right side
7335 - Fixed translation routines for line/pos to documentpos to consider
7336 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7337 - Fixed some line-endings to be unix style
7338 - Fixed Document.FormatText to perform it's calculations 1-based
7339 - Added descriptions for a few methods that might otherwise get
7341 - Added NOTE section with some basic conventions to remember at
7343 - Major fixup for RichTextBox selection drawing:
7344 * Fixed crashes when multiple tags on a single line were selected
7345 * fixed selection box drawing not overlaying text
7346 * fixed bogus offset calculation for tags not starting at index 1
7347 * Switched behaviour from using multiple Substrings of a
7348 StringBuilder.ToString() to using multiple
7349 StringBuilder.ToString(start, length) statements, hoping this is
7350 faster (kept original version commented out in the code, in case
7351 original version was faster)
7352 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7354 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7357 2005-06-27 Jackson Harper <jackson@ximian.com>
7359 * TabControl.cs: Move to the left and right with the arrow
7360 keys. These keys don't cycle beyond first and last like
7361 tab. Refresh all the tabs when scrolling them to the left or
7364 2005-06-27 Jackson Harper <jackson@ximian.com>
7367 - ToString: Added method
7368 - CreateParams: Remove TODO and comment
7369 - OnKeyDown: Cycle through bounds properly.
7370 - SelectedIndex: Scroll to the right or left if we need to
7371 display the newly selected tab.
7373 2005-06-23 Jackson Harper <jackson@ximian.com>
7375 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7378 2005-06-23 Jackson Harper <jackson@ximian.com>
7380 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7381 CTRL-SHIFT-TAB, and HOME, END are there any others?
7383 2005-06-23 Jackson Harper <jackson@ximian.com>
7385 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7387 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7389 * DataGridTextBoxColumn.cs: fixes and enhancements
7390 * ThemeWin32Classic.cs: fixes and enhancements
7391 * DataGridBoolColumn.cs: fixes and enhancements
7392 * DataGridDrawingLogic.cs: fixes and enhancements
7393 * CurrencyManager.cs: fixes and enhancements
7394 * DataGrid.cs: fixes and enhancements
7395 * DataGridColumnStyle.cs: fixes and enhancements
7397 2005-06-22 Jackson Harper <jackson@ximian.com>
7399 * TabControl.cs: Add some missing methods that just call into the
7400 base. Make the TabPageCollection's IList interface behave in the
7401 same manner as the MS implementation.
7403 2005-06-22 Peter Bartok <pbartok@novell.com>
7405 * TextControl.cs: Added sanity check
7407 - Fixed wrapping behaviour, don't set wrap on single line controls
7408 (this fixes the breakage of colordialog introduced in an earlier
7410 - Added rudimentary support for autoscrolling right-aligned controls
7411 (still needs fixing, also, center alignment scroll is missing)
7413 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7415 * ScrollBar.cs: Fixes thumbpos on Maximum values
7417 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7419 * PropertyGridView.cs: Pass context information to UITypeEditors
7421 2005-06-21 Peter Bartok <pbartok@novell.com>
7424 - Now calling PositionCaret with absolute space coordinates
7425 - Enabled vertical scrolling
7426 - Better tracking of scrollbar changes, tied into WidthChange
7428 - Improved cursor tracking
7429 - Removed debug output
7431 - PositionCaret coordinates are now works in absolute space, not
7433 - Improved tracking of document size
7434 - Added events for width and height changes
7436 2005-06-21 Peter Bartok <pbartok@novell.com>
7438 * Form.cs: Set focus to active control when form is activated
7440 - Added word-wrap functionality to RecalculateLine()
7441 - Added some short function descriptions for VS.Net to aid in
7442 writing dependent controls
7443 - Added Caret property, returning the current coords of the caret
7444 - Added ViewPortWidth and ViewPortHeight properties
7445 - Added Wrap property
7446 - Added CaretMoved event
7447 - Removed some old debug code
7448 - Split() can now create soft splits
7449 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7450 - Added method to format existing text
7451 - Fixed size/alignment calculations to use viewport
7452 - RecalculateDocument now can handle changing line-numbers while
7456 - Added some wrap logic, we don't wrap if alignment is not left
7457 - Added casts for scrollbar var, base class switched types to
7458 also support RichTextBoxA
7459 - Implemented handling of scrollbar visibility flags
7462 - Switched scrollbars type to RichTextBoxScrollBars to support
7464 - Added tracking of canvas width/height
7465 - Switched scrollbars to be not selectable (to keep focus on text)
7466 - Added central CalculateDocument() method to handle all redraw
7468 - Added ReadOnly support
7469 - Added WordWrap support
7470 - Fixed handling of Enter key (we now treat it as a DialogKey)
7471 - Fixed caret positioning when h or v scroll is not zero
7472 - Fixed placing/generation of vertical scrollbar
7473 - Added CalculateScrollBars() method to allow updating scrollbar
7474 limits and visibility
7475 - Fixed handling of horizontal scroll
7476 - Added handling of vertical scroll
7477 - Implemented auto-'jump' when caret moves to close to a left or
7478 right border and there is text to be scrolled into view (currently
7479 there's the potential for a stack overflow, until a bug in
7482 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7484 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7486 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7490 - return application/x-zerosize for files with size zero
7491 (if no extension pattern matches).
7492 - check matches collection for strings too.
7493 - return only the first mime type if the name value
7494 collection has more than one mime type.
7496 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7498 * PropertyGrid.cs: Cleaned up some TODOs
7499 * PropertyGridView.cs: Added support for UITypeEditors
7501 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7503 * DataGrid.cs: clears cached value
7505 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7507 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7508 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7509 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7510 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7512 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7514 * ThemeWin32Classic.cs: fixes colour
7516 2005-06-15 Peter Bartok <pbartok@novell.com>
7518 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7519 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7520 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7521 * Control.cs: Added some MWFCategory and MWFDescription attributes
7522 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7524 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7526 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7529 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7531 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7532 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7533 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7534 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7535 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7536 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7538 2005-06-13 Jackson Harper <jackson@ximian.com>
7540 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7541 isn't printed when the user enables dropping. (X11 does accept
7544 2005-06-13 Jackson Harper <jackson@ximian.com>
7546 * TreeView.cs: Remove some TODOS.
7548 2005-06-13 Jackson Harper <jackson@ximian.com>
7550 * Form.cs: Hook into the mdi framework.
7551 * MdiClient.cs: Use the base control collections add method so
7552 parents get setup correctly. Set the default back colour and dock
7554 * MdiChildContext.cs: New class, this bad actor handles an
7555 instance of an MDI window. Right now there is only basic
7556 support. You can drag, close, and resize windows. Minimize and
7557 Maximize are partially implemented.
7559 2005-06-13 Jackson Harper <jackson@ximian.com>
7561 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7562 freaky when both vals are negative. NOTE: There are probably other
7563 places in XplatUIX11 that this needs to be done.
7565 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7567 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7568 * DataGridColumnStyle.cs: fixes signature
7570 2005-06-12 Jackson Harper <jackson@ximian.com>
7572 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7575 2005-06-11 Jackson Harper <jackson@ximian.com>
7577 * StatusBarPanel.cs: Signature cleanups. Implement
7580 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7582 * DataGridTextBoxColumn.cs: Honors aligment
7583 * GridColumnStylesCollection.cs: Contains is case unsensitive
7584 * GridTableStylesCollection.cs: several fixes
7585 * DataGridTableStyle.cs: default column creation
7586 * DataGridDrawingLogic.cs: fixes
7587 * CurrencyManager.cs: ListName property
7588 * DataGrid.cs: multiple styles support
7589 * DataGridColumnStyle.cs: fixes
7592 2005-06-10 Peter Bartok <pbartok@novell.com>
7594 * Control.cs(Select): Moved SetFocus call to avoid potential
7595 loops if controls change the active control when getting focus
7596 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7599 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7601 * ImageListConverter.cs: Implemented
7603 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7605 * MonthCalendar.cs: Wired in NumericUpDown control for year
7607 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7609 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7610 DoubleClick events, since they are not meant to be fired.
7612 2005-06-09 Peter Bartok <pbartok@novell.com>
7614 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7615 Jonathan's standalone controls into MWF, implemented missing
7616 events, attributes and methods; added xxxAccessible classes
7617 * AccessibleObject.cs: Made fields internal so other classes
7618 can change them if needed
7620 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7622 * UpDownBase.cs: Complete implementation
7623 * NumericUpDown.cs: Complete implementation
7624 * DomainUpDown.cs: Complete implementation
7626 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7628 * DataGridTextBoxColumn.cs: drawing fixes
7629 * DataGridCell.cs: fixes ToString method to match MSNet
7630 * DataGridTableStyle.cs: fixes
7631 * DataGridBoolColumn.cs: fixes, drawing
7632 * DataGridDrawingLogic.cs: fixes, new methods
7633 * DataGridTextBox.cs: Keyboard and fixes
7635 - Keyboard navigation
7637 - Row selection (single, multiple, deletion, etc)
7640 2005-06-07 Jackson Harper <jackson@ximian.com>
7642 * ThemeWin32Classic.cs: Clear the background area when drawing
7645 2005-06-06 Peter Bartok <pbartok@novell.com>
7647 * ImageListStreamer.cs: Fixed signature for GetData
7648 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7650 - Added missing ChildAccessibleObject class
7651 - Added missing OnXXXFocus overrides, switched to using those
7652 instead of the event handler
7654 - Added Parent property for ControlAccessibleObject
7657 - Added ResetBindings()
7658 * ListBindingConverter.cs: Implemented some methods
7659 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7660 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7661 * ContainerControl.cs: Fixed signature, now subscribing to the
7662 ControlRemoved event instead of overriding the handler, LAMESPEC
7663 * CurrencyManager.cs: Added missing attribute
7664 * MonthCalendar.cs: Added missing properties
7666 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7668 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7670 2005-06-06 Gaurav Vaish and Ankit Jain
7672 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7673 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7675 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7677 * Control.cs: fixes CreateParams Width / Height.
7679 2005-06-05 Peter Bartok <pbartok@novell.com>
7681 * Win32DnD.cs: Removed compilation warnings
7683 2005-06-05 Peter Bartok <pbartok@novell.com>
7685 * Control.cs (CreateParams): Since we don't know if one of the
7686 properties we use is overridden, lets make sure if we fail accessing
7687 we continue with a backup plan
7689 2005-06-05 Peter Bartok <pbartok@novell.com>
7692 - Removed debug output
7693 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7695 - Plugged resource leak
7696 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7699 2005-06-05 Peter Bartok <pbartok@novell.com>
7701 * XplatUIWin32.cs: Removed DnD code
7702 * Win32DnD.cs: Implemented drop source and drop target functionality
7704 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7706 * UpDownBase.cs: remove duplicate addition of event, enable some code
7707 that was commented out.
7708 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7709 Validate input when a key is pressed. It works fine now for every
7710 combination of Hexadecimal. Only missing some drawing love when sharing
7711 space with other controls.
7713 2005-06-04 Peter Bartok <pbartok@novell.com>
7716 - We need to pass a window for DragDrop, so enable callback events
7717 - Added DnD callback events when being a DragSource
7718 * XplatUI.cs (StartDrag): Added window handle argument
7719 * XplatUIDriver.cs (StartDrag): Added window handle argument
7720 * QueryContinueDragEventArgs: Made fields internally accessible so
7721 drivers can set them
7722 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7725 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7727 * DataGridTextBoxColumn.cs: column text editing
7728 * DataGridTableStyle.cs: Respect columns styles created by the user
7729 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7730 * DataGridBoolColumn.cs: bool column editing
7731 * DataGrid.cs: fixes to scrolling, properties, etc
7732 * DataGridTextBox.cs: handle keyboard
7733 * DataGridColumnStyle.cs: fixes
7735 2005-06-02 Jackson Harper <jackson@ximian.com>
7737 * ImageListStreamer.cs: Somewhat broken implementation of
7738 GetObjectData. The RLE needs some work to match MS properly.
7740 2005-06-02 Jackson Harper <jackson@ximian.com>
7742 * X11Dnd.cs: Attempting to keep at least one file in MWF
7745 2005-06-02 Peter Bartok <pbartok@novell.com>
7747 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7750 2005-06-02 Peter Bartok <pbartok@novell.com>
7752 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7753 * XplatUI.cs: Added DoDragDrop() method
7754 * XplatUIDriver.cs: Added DoDragDrop() method
7756 2005-06-02 Jackson Harper <jackson@ximian.com>
7758 * Splitter.cs: Implement BorderStyle.
7760 2005-06-02 Jackson Harper <jackson@ximian.com>
7762 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7763 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7766 2005-06-02 Peter Bartok <pbartok@novell.com>
7770 - Fixed broken insertion code for SetData, now also
7771 overwrites any existing entry of the same format name
7772 * Hwnd.cs: Added list of pointers that automatically gets
7773 freed when the window is disposed
7774 * XplatUI.cs: Call driver initialization method when loading
7777 - OnDragLeave takes EventArgs, not DragEventArgs
7778 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7780 - Forces style update when drop state changes
7781 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7782 not perfect since we cannot (yet) call the IDataObject.GetData()
7783 method, we keep getting 0x80004005 error, dunno why)
7785 2005-06-02 Peter Bartok <pbartok@novell.com>
7787 * DragEventArgs.cs: Make fields internal so we can cache the
7788 object and re-set the fields from XplatUI
7790 2005-06-02 Jackson Harper <jackson@ximian.com>
7792 * Control.cs: Add some internal methods so the DnD subsystem can
7793 raise DnD events. Also call into the driver when AllowDrop is set.
7795 * XplatUIDriver.cs: New method for setting whether or not a window
7796 is allowed to accept drag and drop messages.
7798 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7800 * ScrollBar.cs: Make sure that values sent in Scroll events
7801 are always between Maximum and Minimum.
7803 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7805 * Menu.cs: Call MenuChanged when menuitem visibility has been
7807 * MenuItem.cs: Rebuild menu when item is (not) visible.
7808 * MainMenu.cs: MainMenu has special MenuChanged.
7809 * Theme.cs: Caption and FrameBorderSize are not fixed.
7810 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7811 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7813 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7814 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7816 2005-05-30 Jackson Harper <jackson@ximian.com>
7818 * DataFormat.cs: We can't statically initialize this stuff because
7819 it calls into the xplatui and could create a loop. So we lazy init
7822 2005-05-28 Jackson Harper <jackson@ximian.com>
7824 * Control.cs: Proper implementation of Product(Name/Version).
7826 2005-05-27 Jackson Harper <jackson@ximian.com>
7828 * DataObject.cs: Dont crash if no data is found.
7830 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7831 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7832 as per status page, guessing it should be set to true
7834 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7836 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7837 * DataGridTableStyle.cs: set proper formatting text, def header text
7838 * ThemeWin32Classic.cs: new themable paramaters
7839 * DataGridBoolColumn.cs: paint check box, get data, fixes
7840 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7841 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7842 * DataGridColumnStyle.cs: fixes
7843 * Theme.cs: new themable paramaters
7845 2005-05-26 Peter Bartok <pbartok@novell.com>
7847 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7849 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7850 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7852 2005-05-24 Peter Bartok <pbartok@novell.com>
7854 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7855 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7856 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7857 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7858 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7859 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7860 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7861 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7862 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7863 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7864 missing attributes, etc
7865 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7867 2005-05-24 Peter Bartok <pbartok@novell.com>
7869 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7870 when user tries to get help
7871 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7872 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7873 to suppress warnings
7874 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7875 avoid unreachable code warning
7877 2005-05-20 Peter Bartok <pbartok@novell.com>
7879 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7881 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7883 * DataGridTextBoxColumn.cs: Basic painting methods
7884 * DataGridTableStyle.cs: Set table style in the column
7885 * ThemeWin32Classic.cs: Use Theme for colors
7886 * DataGridDrawingLogic.cs: Implement more drawing
7887 * DataGrid.cs: drawing, theming, enhacements, fixes
7888 * DataGridColumnStyle.cs: fixes, drawing
7889 * Theme.cs: theming for Datagrid
7891 2005-05-20 Peter Bartok <pbartok@novell.com>
7893 * Cursor.cs: Implemented GetObjectData() method
7895 2005-05-20 Peter Bartok <pbartok@novell.com>
7897 * Cursors.cs: Added setting of cursor name
7899 - Implemented constructors
7900 - Implemented Draw and DrawStretched
7901 - Implemented Current property
7902 - Implemented == and != operators
7903 - Implemented Dispose()
7904 - Implemented ToString
7905 - Added missing attributes
7907 - Added missing reset for OverrideCursor when DoEvents is called
7908 - Fixed creation of cursor, logic was wrong
7910 - Added missing reset for OverrideCursor when DoEvents is called
7911 - Fixed creation of cursor, bit arrays were swapped
7912 * Clipboard.cs: Removed obsolete MonoTODO attribute
7914 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7916 * ComboBox.cs: fixes OnSelectedItemChanged
7917 * ControlBindingsCollection.cs: fixes item range check
7919 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7922 - Calc preferred height properly
7923 - Implement missing properties
7925 * NumericUpDown.cs: Implement missing events
7927 2005-05-19 Jackson Harper <jackson@ximian.com>
7929 * TabControl.cs: New method that resizes the tab pages before
7930 redrawing them. This as needed as the control is double buffered
7931 and sizing will not be recalculated unless ResizeTabPages is
7933 * TabPage.cs: Set base.Text instead of Text in the constructor so
7934 that UpdateOwner does not get called. Use the new Redraw method of
7935 TabControl instead of Refresh so the sizing is recalculated.
7936 * ThemeWin32Classic.cs: Draw the text for button tabs.
7938 2005-05-19 Jackson Harper <jackson@ximian.com>
7940 * Control.cs: Paint control background images. Fix typo where
7941 PaintControlBackground was not getting called correctly.
7943 2005-05-19 Peter Bartok <pbartok@novell.com>
7945 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7946 I can investigate, apparently I broke FileDialog
7948 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7950 * AxHost.cs: Some simple properties.
7951 * Control.cs: window must be accessible after ctor.
7952 * Form.cs: Added TransparencyKey property.
7953 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7954 * XplatUIWin32.cs: SetBorderStyle implemented.
7956 2005-05-18 Peter Bartok <pbartok@novell.com>
7958 * DataObject.cs: Entries are not global but particular to the
7959 DataObject, now it behaves that way
7960 * XplatUIWin32.cs: Implemented Clipboard methods
7961 * Clipboard.cs: Implemented
7962 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7963 * XplatUIOSX.cs: Updated to final clipboard prototypes
7964 * XplatUIX11.cs: Implemented Clipboard methods
7965 * XplatUIDriver.cs: Updated to final clipboard prototypes
7966 * XplatUIStructs.cs:
7967 - Added BITMAPINFOHEADER struct
7968 - Added ClipboardFormats enum
7970 - Added ClipboardStruct
7971 - Added Atom enum items for clipboard types
7972 - Fixed atom types for Selection event structures
7974 - Added internal properties and methods for drivers to enumerate
7976 - Switched initialization method to allow drivers to assign their
7977 own IDs even for the MS predefined clipboard IDs
7978 * XplatUI.cs: Updated to final clipboard interface
7980 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7981 * PropertyGridView.cs: Fixed compiler warnings.
7983 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7984 * PropertyGrid.cs: Added some event calls
7985 * PropertyGridView.cs: Change drawing code to use double buffering
7986 * PropertyGridTextBox.cs: Changed Text property name
7987 * GridItem.cs: Added Bounds property.
7988 * GridEntry.cs: Added Bounds property.
7990 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7992 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7993 since GetType() may not return the correct type if the object is
7996 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7998 * TreeNodeCollection.cs: fixes get/set item ranges
8000 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8002 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
8004 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8006 * ComboBox.cs: Fix item range comparation
8007 * ListView.cs: Fix item range comparation
8009 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8012 - Clear example panel when OnPaint is called
8013 - Better solution for displaying the example panel text
8014 - Select default indexes in the ListBoxes
8016 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8018 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
8020 2005-05-11 Peter Bartok <pbartok@novell.com>
8022 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
8023 * SelectionRangeConverter.cs: Implemented
8024 * PropertyGrid.cs: Fixed attribute value
8026 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
8027 - Added Sebastien Pouliot's CAS Stack Propagation fixes
8028 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
8029 that's common to all drivers. First methods to go there are
8030 Sebastien Pouliot's CAS Stack Propagation helper methods
8031 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
8032 Sebastien Pouliot for CAS Stack Propagation
8034 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8037 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
8039 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
8041 * DataGridTextBoxColumn.cs: fixed some members
8042 * GridColumnStylesCollection.cs: indexed column is case insensitive
8043 * DataGridTableStyle.cs: fixes
8044 * ThemeWin32Classic.cs: add new theme parameter
8045 * Theme.cs: add new theme parameter
8046 * DataGridDrawingLogic.cs: Datagrid's drawing logic
8047 * DataGrid.cs: fixes, new internal properties, etc.
8048 * DataGridColumnStyle.cs: allows to set grid value
8051 2005-05-10 Peter Bartok <pbartok@novell.com>
8053 * AccessibleObject.cs:
8054 - Removed MonoTODO attribute on help, method is correct
8055 - Fixed Bounds property
8056 * AxHost.cs: Moved MonoTODO
8057 * ButtonBase.cs: Now setting AccessibleObject properties
8058 * RadioButton.cs: Setting proper AccessibleObject role
8059 * CheckBox.cs: Setting proper AccessibleObject role
8060 * ControlBindingsCollection.cs: Added properties, methods and attributes
8061 * DataFormats.cs: Fixed awkward internal API, and changed to enable
8062 userdefined DataFormats.Format items as well
8063 * ListControl.cs: Removed data_member from the public eye
8064 * OpenFileDialog.cs:
8066 - Added missing attributes
8067 * SaveFileDialog.cs: Added missing attributes
8068 * ImageListStreamer.cs: Fixed code that caused warnings
8069 * LinkLabel.cs: Removed unreachable code
8070 * TreeView.cs: Fixed code that caused warnings
8071 * PropertyGridView.cs: Fixed code that caused warnings
8072 * GridColumnStylesCollection.cs: Added missing attributes
8073 * GridTableStylesCollection: Added missing attribute
8074 * PropertyManager: Added .ctor
8075 * SecurityIDType: Added
8076 * DataObject.cs: Implemented class
8077 * LinkArea.cs: Added missing attribute
8079 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
8081 * RadioButton.cs: call base method to allow to fire OnClick event
8082 * UpDownBase.cs: OnMouseUp call base method
8083 * CheckedListBox.cs: call base method before returning
8084 * TrackBar.cs: call base method before returning
8087 2005-05-10 Peter Bartok <pbartok@novell.com>
8089 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
8092 2005-05-10 Peter Bartok <pbartok@novell.com>
8094 * DataFormats.cs: Implemented
8095 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
8096 XplatUIX11.cs: Added Clipboard APIs
8097 * XplatUIWin32.cs: Implemented Clipboard APIs
8098 * FolderBrowserDialog.cs: Added missing event, attributes
8100 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
8102 * CheckBox.cs: call base method to allow to fire OnClick event
8104 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
8106 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
8108 2005-05-06 Peter Bartok <pbartok@novell.com>
8110 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
8111 * Screen.cs: Implemented
8112 * HelpNavigator.cs: Added
8113 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
8115 * HelpProvider.cs: Implemented all we can do until we have a CHM
8116 help library (which means that "What's This" does work now)
8118 2005-05-06 Jackson Harper <jackson@ximian.com>
8120 * XplatUIX11.cs: Fix waking up the main loop.
8122 2005-05-05 Peter Bartok <pbartok@novell.com>
8124 * XplatUI.cs: Updated revision
8125 * Form.cs: Removed enless loop
8126 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
8127 * Label.cs (OnPaint): Added call to base.OnPaint()
8128 * ToolTip.cs: Made ToolTipWindow reusable for other controls
8129 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
8130 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
8132 * ButtonBase.cs: Moved base.OnPaint() call to end of method
8133 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
8134 to ToolTip.ToolTipWindow for drawing and size methods; this allows
8135 reuse of ToolTipWindow by other controls
8136 * SizeGrip.cs: Moved base.OnPaint() call to end of method
8137 * XplatUIX11.cs: Now clipping drawing area (experimental)
8138 * PictureBox.cs: Moved base.OnPaint() call to end of method
8139 * Theme.cs: Fixed ToolTip abstracts to match new format
8140 * ErrorProvider.cs: Implemented
8142 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
8144 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
8148 - Implements LinkBehavior
8151 2005-05-03 Jackson Harper <jackson@ximian.com>
8153 * ListView.cs: Calculate the scrollbar positioning on resize and
8154 paint, so they get put in the correct place.
8156 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8158 * ColorDialogs.cs: The small color panels are now handled by
8159 SmallColorControl. This fixes drawing of the focus rectangle
8160 and adds a 3D border.
8162 2005-05-03 Peter Bartok <pbartok@novell.com>
8164 * Control.cs: Modified version of Jonathan Chamber's fix for
8167 2005-05-03 Jackson Harper <jackson@ximian.com>
8169 * ListView.cs: Remove redraw variable. Control now handles whether
8170 or not a redraw needs to be done, and will only raise the paint
8171 event if redrawing is needed.
8173 2005-05-03 Jackson Harper <jackson@ximian.com>
8175 * Splitter.cs: No decorations for the splitter form. Cache the
8178 2005-05-03 Jackson Harper <jackson@ximian.com>
8180 * TreeView.cs: Use dashed lines to connect nodes. Use the
8181 ControlPaint method for drawing the focus rect instead of doing
8184 2005-05-02 Peter Bartok <pbartok@novell.com>
8186 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
8188 2005-04-29 Jackson Harper <jackson@ximian.com>
8190 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
8191 entire image buffer. Just clear the clipping rectangle.
8193 2005-04-29 Jackson Harper <jackson@ximian.com>
8195 * ThemeWin32Classic.cs: Don't draw list view items that are
8196 outside the clipping rectangle.
8198 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
8200 * ListBox.cs: added horizontal item scroll
8202 2005-04-29 Jackson Harper <jackson@ximian.com>
8204 * ThemeWin32Classic.cs: Remove some old debug code that was
8205 causing flicker with the new double buffering code.
8207 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
8209 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
8210 behave like combobox and comboboxlist (still not sure if this is
8213 2005-04-28 Jackson Harper <jackson@ximian.com>
8215 * ThemeWin32Classic.cs: Don't fill the middle of progress
8216 bars. This fills areas outside of the clip bounds that don't need
8219 2005-04-28 Jackson Harper <jackson@ximian.com>
8221 * Control.cs: Don't expose functionality to touch the image buffers.
8223 * ListView.cs: We do not need to (and no longer can) manipulate
8224 the image buffers directly. All of this is handled by Control.
8226 2005-04-28 Peter Bartok <pbartok@novell.com>
8228 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8229 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8230 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8232 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8235 - Adjust control's height for non-simple comboboxes (bug fix)
8237 * MenuAPI.cs: remove unused var
8238 * ScrollBar.cs: remove unsed var
8240 * ListBox.cs: unselect items when clearing
8242 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8244 * ListControl.cs: honors OnPositionChanged and default Selected Item
8245 * ListBox.cs: unselect items when clearing
8247 2005-04-27 Jackson Harper <jackson@ximian.com>
8249 * X11Keyboard.cs: Initialize a default keyboard and give a warning
8250 if a "correct" keyboard is not found. This will make us not crash,
8251 but might give some users bad keyboard layouts...seems to be the
8252 same thing rewind does.
8254 2005-04-27 Jackson Harper <jackson@ximian.com>
8256 * BindingManagerBase.cs: Attach the current/position changed
8257 handlers to their respective events.
8259 2005-04-27 Jackson Harper <jackson@ximian.com>
8261 * Control.cs: Make sure that the first WM_PAINT does a full draw,
8263 * ThemeWin32Classic.cs: Don't fill the background for picture
8264 boxes. This could overright user drawing.
8265 * ComboBox.cs: Just fill the clipping rect not the entire client
8266 rect when drawing the background. This prevents pieces of the
8267 image buffer from getting overwritten and is theoretically faster.
8269 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
8271 * ComboBox.cs: Databinding support fixes, fire missing events
8272 * ListControl.cs: implement missing methods and properties, fixes
8273 * ThemeWin32Classic.cs: Databiding support on Drawing
8274 * CheckedListBox.cs: Databinding support fixes, fire missing events
8275 * ListBox.cs: Databinding support fixes, fire missing events
8277 2005-04-25 Peter Bartok <pbartok@novell.com>
8279 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8281 2005-04-25 Jackson Harper <jackson@ximian.com>
8283 * TreeView.cs: Use the horizontal scrollbars height not width when
8284 determining how much of the client area is available.
8286 2005-04-25 Jackson Harper <jackson@ximian.com>
8288 * Control.cs: Double buffering is handled differently now. As per
8289 the spec, the extra buffer is created in the WM_PAINT message and
8290 passed down to the control's drawing code.
8298 * PropertyGridView.cs:
8310 * DateTimePicker.cs:
8312 * TreeView.cs: Update to new double buffering system.
8313 * MonthCalendar.cs: Uncomment block, as Capture is now
8314 working. Update to new double buffering
8315 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8316 * PaintEventArgs.cs: New internal method allows us to set the
8317 graphics object. This is used for double buffering.
8318 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8319 rectangle. The internal paint_area var has been removed from
8320 StatusBar. The clipping rect should be used instead.
8321 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8322 * TabPage.cs: The RefreshTabs method was removed, so just call the
8323 tab controls Refresh method now.
8324 * TabControl.cs: Update to new double buffering. Make sure the
8325 handle is created before sizing the tab pages, otherwise we will
8326 get stuck in a loop.
8328 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8330 * LinkLabel.cs: Fix typo, bug #74719; patch
8331 from Borja Sanchez Zamorano
8333 2005-04-22 Jackson Harper <jackson@ximian.com>
8335 * TreeNode.cs: Implement Handle stuff.
8336 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8338 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8340 * DataGridTextBoxColumn.cs: call base constructors, fixes
8341 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8342 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8343 * DataGridTableStyle.cs: implements create default column styles
8344 * DataGridBoolColumn.cs: which types can handle
8345 * DataGrid.cs: missing methods, fixes, new functionality
8346 * DataGridColumnStyle.cs: fixes
8348 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8349 * FolderBrowserDialog.cs:
8350 - Use a thread to fill the TreeView
8351 - Adjusted some sizes
8353 2005-04-19 Peter Bartok <pbartok@novell.com>
8355 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8356 property. Fixes #74360.
8358 2005-04-19 Jackson Harper <jackson@ximian.com>
8360 * XEventQueue.cs: Lock when getting the lockqueue size.
8361 * PictureBox.cs: Call base OnPaint
8363 2005-04-19 Peter Bartok <pbartok@novell.com>
8365 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8366 messages were no longer being processed (this broke BeginInvoke)
8369 2005-04-18 Jackson Harper <jackson@ximian.com>
8371 * TreeView.cs: buglet that caused node images to get drawn
8372 regardless of whether or not they were in the clipping rectangle.
8374 2005-04-18 Jackson Harper <jackson@ximian.com>
8376 * CurrencyManager.cs: There are four rules for GetItemProperties:
8377 - If the type is an array use the element type of the array
8378 - If the type is a typed list, use the type
8379 - If the list contains an Item property that is not an object, use
8381 - use the first element of the list if there are any elements in
8384 2005-04-17 Jackson Harper <jackson@ximian.oom>
8386 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8387 click. This handles offsets for scrolling properly and reduces
8388 memory. Also fixed GetNode to not offset now that TopNode works
8390 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8392 2005-04-17 Jackson Harper <jackson@ximian.com>
8394 * CursorConverter.cs: Initial implementation.
8396 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8398 * ListControl.cs: work towards complex data binding support on ListControl
8399 * CurrencyManager.cs: work towards complex data binding support on ListControl
8400 * ListBox.cs: work towards complex data binding support on ListControl
8403 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8405 * GridTableStylesCollection.cs: fixes name and constructor
8406 * DataGridTableStyle.cs: fixes
8407 * DataGridBoolColumn.cs: fixes names and constructors
8408 * DataGrid.cs: define methods and properties. Some init implementations
8409 * DataGridCell.cs: define methods and properties. Some init implementations
8410 * GridTablesFactory.cs: Define methods and properties
8412 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8414 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8415 graphics port changes. We still want the coordinates in global screen
8418 2005-04-14 Jackson Harper <jackson@ximian.com>
8420 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8421 check plus minus or checkbox clicks unless those features are enabled.
8423 2005-04-14 Jackson Harper <jackson@ximian.com>
8425 * TreeView.cs: Add methods for setting the top and bottom visible
8426 nodes. TreeNode::EnsureVisible uses these methods.
8427 * TreeNode.cs: Implement EnsureVisible
8429 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8431 * Form.cs: Pospone menu assignation if the window has not been created yet
8432 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8435 2005-04-12 Jackson Harper <jackson@ximian.com>
8437 * TreeView.cs: Set the TopNode properly when scrolling
8438 occurs. This has the added benifit of reducing the amount of
8439 walking that needs to be done when drawing. Also removed an old
8441 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8443 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8445 * Timer.cs: fixes interval setting when the timer is already enabled
8447 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8449 * FolderBrowserDialog.cs: First approach
8451 2005-04-09 Peter Bartok <pbartok@novell.com>
8453 * FolderBrowserDialog: Added
8455 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8457 * LinkLabel.cs: move drawing code into the theme
8458 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8459 * Theme.cs: define DrawLinkLabel method
8461 2005-04-05 Jackson Harper <jackson@ximian.com>
8463 * BindingContext.cs: Use weak references so these bad actors don't
8464 stay alive longer then they need to.
8466 2005-04-05 Jackson Harper <jackson@ximian.com>
8468 * ListControl.cs: Basic implementation of complex databinding.
8470 * ListBox.cs: Add calls to ListControl databinding methods.
8472 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8475 - Don't change PopupButtonState to Normal when the
8476 PopupButton gets pressed several times.
8477 - Renamed ButtonPanel to PopupButtonPanel
8479 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8481 * ColorDialog.cs: Use cached objects instead of creating them
8482 * LinkLabel.cs: Use cached objects instead of creating them
8483 * Splitter.cs: Use cached objects instead of creating them
8484 * FontDialog.cs: Use cached objects instead of creating them
8485 * PropertyGridView.cs: Use cached objects instead of creating them
8486 * MessageBox.cs: Use cached objects instead of creating them
8487 * FileDialog.cs: Use cached objects instead of creating them
8488 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8489 * TreeView.cs: Use cached objects instead of creating them
8491 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8493 * Control.cs: use Equals to compare the font since no == op
8494 * ScrollBar.cs: use Equals to compare the font since no == op
8496 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8498 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8500 2005-04-01 Jackson Harper <jackson@ximian.com>
8502 * Binding.cs: Implement IsBinding.
8503 * BindingManagerBase.cs:
8504 * PropertyManager.cs:
8505 * CurrencyManager.cs: Add IsSuspended property.
8507 2005-04-01 Jackson Harper <jackson@ximian.com>
8509 * Binding.cs: Had some IsAssignableFrom calls backwards.
8511 2005-04-01 Jackson Harper <jackson@ximian.com>
8513 * Binding.cs: Handle null data members when pulling data.
8514 * PropertyManager.cs: Handle the data member being a property that
8517 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8519 * DataGridTextBoxColumn.cs: fixes signature
8520 * DataGrid.cs: calls right constructor
8522 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8524 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8525 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8526 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8527 * DataGridTableStyle.cs: implements DataGridTableStyle
8528 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8529 * DataGridTextBox.cs: implements DataGridTextBox
8530 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8532 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8534 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8536 2005-03-29 Peter Bartok <pbartok@novell.com>
8539 - Properly implemented CompanyName property
8540 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8541 returns a path that includes CompanyName, ProductName and
8542 Version (fixes bug #70330)
8544 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8546 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8549 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8551 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8553 - Added ReadOnly CheckBox
8554 - Further refactoring: moved some code from Open-/SaveFileDialog
8557 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8559 * OpenFileDialog.cs: Fixed CheckFileExists
8561 Moved FileView and DirComboBox outside FileDialog class.
8562 They can now be used outside FileDialog
8564 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8566 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8567 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8569 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8571 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8572 - Added missing CreatePrompt property in SaveDialog
8573 - Overall SaveDialog handling should be better now
8574 - Added non standard ShowHiddenFiles property
8575 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8576 - Added InitialDirectory and RestoreDirectory support
8578 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8580 * FileDialog.cs: Made dirComboBox usable
8582 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8584 * FileDialog.cs: Added Filter support (case sensitiv)
8586 2005-03-24 Jackson Harper <jackson@ximian.com>
8588 * TabControl.cs: Need a couple more pixels for the lines.
8590 2005-03-23 Jackson Harper <jackson@ximian.com>
8592 * TabControl.cs: Give the tab page focus when it is selected.
8594 2005-03-23 Jackson Harper <jackson@ximian.com>
8596 * TabControl.cs: Account for the drawing of tabs borders when
8597 invalidating. If the slider was clicked dont do click detection on
8600 2005-03-23 Jackson Harper <jackson@ximian.com>
8602 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8604 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8606 * CategoryGridEntry.cs: Added
8607 * GridItem.cs: Added helper properties
8608 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8609 * GridEntry.cs: Updated code for collection
8610 * PropertyGrid.cs: Cleaned up some formatting
8611 * PropertyGridView.cs: Added drop down functionality for enums.
8612 * GridItemCollection.cs: Added enumerator logic
8613 * PropertyGridEntry.cs: Added
8615 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8618 - Removed unnecessary commented code
8619 - Fixed handling for entering the filename manually in the combobox
8621 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8623 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8625 2005-03-18 Peter Bartok <pbartok@novell.com>
8627 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8628 them being touching the border
8630 2005-03-18 Peter Bartok <pbartok@novell.com>
8632 * TextControl.cs: Quick hack to center text better
8634 2005-03-18 Peter Bartok <pbartok@novell.com>
8637 - Don't throw NotImplemented exceptions, just print a notice once
8638 instead (requested by Miguel). This makes running existing SWF
8641 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8642 - Added context menu trigger on right click
8643 * Panel.cs: Trigger invalidate on resize
8645 - Removed old double-buffer drawing
8646 - Added ResizeRedraw style to force proper update of statusbar
8648 - Removed debug output
8649 * ThemeWin32Classic.cs:
8650 - Fixed drawing of status bar, now draws Text property if there
8651 are no defined panels
8653 2005-03-18 Jackson Harper <jackson@ximian.com>
8655 * ImageList.cs: When the image stream is set pull all the images
8657 * ImageListStreamer.cs: Implement reading image list streams.
8659 2005-03-18 Peter Bartok <pbartok@novell.com>
8661 * ThemeWin32Classic.cs (DrawPictureBox):
8662 - Fixed calculations for centered drawing
8663 - Fixed drawing for normal mode, not scaling the image on normal
8665 2005-03-18 Peter Bartok <pbartok@novell.com>
8667 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8670 - Made Open/Save button the accept button for FileDialog
8671 - Tied the cancel button to the IButtonControl cancel button
8672 - Save/Open now properly builds the pathname
8673 - Now handles user-entered text
8674 - Preventing crash on right-click if no item is selected
8675 - Fixed Text property, now uses contents of textbox
8676 - Fixed SelectedText property, now just returns the text part that
8677 is selected in the text box
8679 2005-03-18 Jackson Harper <jackson@ximian.com>
8681 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8682 rect, make sure to de-adjust the interior rect after drawing the
8685 2005-03-18 Peter Bartok <pbartok@novell.com>
8687 * MenuAPI.cs: Remove menu *before* executing selected action to
8688 prevent the menu from 'hanging around'
8690 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8692 * XplatUIOSX.cs: Implemented WorkingArea property
8694 2005-03-17 Peter Bartok <pbartok@novell.com>
8696 * XplatUIX11.cs: Fixed menu coord calculations
8697 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8698 for calculating offsets
8700 2005-03-17 Peter Bartok <pbartok@novell.com>
8702 * Hwnd.cs: Do not consider menu presence for default client
8703 rectangle location/size
8704 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8705 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8706 translation functions
8707 * FileDialog.cs: Fixed (what I presume is a) typo
8709 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8711 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8712 X access (avoids X-Async errors)
8714 2005-03-16 Jackson Harper <jackson@ximian.com>
8716 * TabControl.cs: Raise the SelectedIndexChanged event.
8718 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8720 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8721 - Removed vertical ToolBar and replaced it with a custom panel
8722 (desktop and home button already work)
8723 - Added Help button (some controls get resized or relocated then)
8724 - Draw correct text depending on Open or Save.
8725 - Fixed some typos...
8727 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8730 - Only change Maximum and Minimum when need it (bug fix)
8732 2005-03-15 Peter Bartok <pbartok@novell.com>
8734 * Form.cs: Use Handle for icon, to trigger creation if
8735 the window does not yet exist
8737 - CanSelect: Slight performance improvement
8738 - Focus(): Preventing possible recursion
8739 - Invalidate(): Removed ControlStyle based clear flag setting
8740 - WM_PAINT: fixed logic for calling OnPaintBackground
8741 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8742 EraseWindowBackground if the control doesn't paint background
8744 - Moved EraseWindowBackground() method to internal methods
8745 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8746 is sent via SendMessage on BeginPaint call on Win32
8748 - Added EraseWindowBackground() method
8749 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8750 PaintEventStart, which more closely matches Win32 behaviour
8751 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8752 - Fixed SetFocus() to properly deal with client and whole windows
8753 * Hwnd.cs: Added ErasePending property
8754 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8755 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8757 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8760 - Fix hard loop when timers exist.
8761 - Fix bugs with middle and right click for 3 button mice.
8763 2005-03-11 Peter Bartok <pbartok@novell.com>
8766 - get_WorkingArea: Need to call X directly, GetWindowPos only
8767 returns cached data now
8768 - Added sanity check to GetWindowPos hwnd usage
8770 2005-03-11 Jackson Harper <jackson@ximian.com>
8772 * BindingManagerBase.cs: This method isn't used anymore as
8773 PullData now updates the data in the control.
8775 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8777 * Form.cs: fixes menu drawing on X11
8778 * MenuAPI.cs: fixes menu drawing on X11
8780 2005-03-11 Peter Bartok <pbartok@novell.com>
8782 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8783 from Jonathan Gilbert; should fix bug #73606
8784 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8785 in Screen coordinates. Thanks, Jordi.
8786 * Form.cs: Added missing attribute
8788 2005-03-11 Peter Bartok <pbartok@novell.com>
8791 - Rudimentary Mdi support
8792 - Removed outdated FormParent code
8793 - Implemented lots of missing properties and methods, still missing
8794 transparency support
8795 - Added missing attributes
8796 - Implemented support for MaximumBounds
8797 - Added firing of various events
8798 * XplatUI.cs: Added SetIcon() method
8799 * XplatUIDriver.cs: Added SetIcon() abstract
8800 * XplatUIOSX.cs: Stubbed out SetIcon() method
8802 - Implemented SetIcon() support
8803 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8804 - Switched to unix line endings
8806 - Made POINT internal so for can access it as part of MINMAX
8807 - Implemented SetIcon() support
8808 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8809 native Mdi support again, might have to go managed)
8810 * Control.cs: Now fires the StyleChanged event
8811 * MdiClient.cs: Added; still mostly empty
8813 2005-03-10 Peter Bartok <pbartok@novell.com>
8815 * SaveFileDialog.cs: Added emtpy file
8817 2005-03-08 Peter Bartok <pbartok@novell.com>
8819 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8820 in turn triggers OnCreateContro) when creating a handle for the
8822 * TextControl.cs: Fixed endless loop in certain cases when
8823 replacing the current selection
8825 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8828 - Honors NewValue changes in Scroll events allowing apps to change it
8829 - Adds First and Last Scroll events
8830 - Fixes Thumb events
8832 2005-03-07 Peter Bartok <pbartok@novell.com>
8834 * Hwnd.cs: Added DefaultClientRectangle property
8835 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8836 more detailed debug information
8838 - Fixed size-change feedback loop, where we would pull an old size
8839 off the queue and mistakenly change our window's size to an
8841 - Now compressing ConfigureNotify events, to reduce looping and
8843 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8846 2005-03-07 Jackson Harper <jackson@ximian.com>
8848 * Binding.cs: Push data pushes from data -> property. Check if the
8849 property is readonly when attempting to set it.
8851 2005-03-07 Jackson Harper <jackson@ximian.com>
8853 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8854 instead of IsSubclassOf. Pulling data now sets the value on the
8856 * PropertyManager.cs:
8857 * CurrencyManager.cs: Just need to pull data when updating now,
8858 because PullData will set the value on the control.
8860 2005-03-04 Jackson Harper <jackson@ximian.com>
8862 * Binding.cs: Implement data type parsing and converting on pulled
8863 data. TODO: Are there more ways the data can be converted?
8865 2005-03-04 Jackson Harper <jackson@ximian.com>
8867 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8868 controls Validating method so we can repull the data when the
8869 control loses focus.
8871 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8874 - Fixes null string format
8877 - Adds enum type checks
8878 - Fixes redrawing and recalc need after changing some properties
8879 - Fixes on focus_item set after the event
8880 - Fixes adding columns after the control has been created
8882 * ThemeWin32Classic.cs:
8883 - Fixes CheckBox focus rectangle
8884 - Fixes ColumnHeader drawing
8887 2005-03-03 Jackson Harper <jackson@ximian.com>
8889 * Binding.cs: Bind to <Property>Changed events so we can detect
8890 when properties are changed and update the data.
8892 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8895 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8896 - Fixes ImageList constructor with ImageList container
8897 - Fixes image scaling (wrong parameters at DrawImage)
8899 2005-02-02 Jackson Harper <jackson@ximian.com>
8901 * Binding.cs: Make property searches case-insensitive. Eliminate
8902 some duplicated code.
8904 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8907 - Handle focus event
8908 - Fix scrollbar events
8909 - Discard highlighted item if remove it
8910 - Fixes SelectedItem with strings
8912 2005-03-01 Peter Bartok <pbartok@novell.com>
8915 - Fixed Visible property, now follows (once again) parent chain
8916 to return false if any control in the chain is visible=false
8917 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8918 - Fixed several places where is_visible instead of Visible was used
8919 - Implemented FIXME related to focus selection when setting focused
8920 control to be invisible
8922 * XplatUIWin32.cs: Now using proper method to find out if window is
8923 visible. Thanks to Jordi for pointing it out
8925 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8927 * ComboBox.cs: show/hide scrollbar instead of creating it
8929 2005-02-27 Jackson Harper <jackson@ximian.com>
8931 * CurrencyManager.cs: Add PositionChanged stuff.
8933 2005-02-27 Peter Bartok <pbartok@novell.com>
8935 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8936 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8937 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8939 - Implemented GetMenuDC()
8940 - Implemented GetMenuOrigin()
8941 - Implemented ReleaseMenuDC()
8942 - Implemented generation of WM_NCPAINT message
8943 - Implemented generation and handling of WM_NCCALCSIZE message
8944 * Form.cs: Added debug helper message for Jordi's menu work
8946 - Modified ClientRect property; added setter, fixed getter to handle
8947 setting of ClientRect
8948 - Added MenuOrigin property
8950 2005-02-26 Peter Bartok <pbartok@novell.com>
8953 - Destroys the caret if a window that's being destroyed contains it
8954 - Ignores expose events coming from the X11 queue for windows that
8955 already are destroyed
8956 - Now uses the proper variable for handling DestroyNotify, before we
8957 marked the wrong window as destroyed
8958 - Improved/added some debug output
8960 2005-02-26 Peter Bartok <pbartok@novell.com>
8962 * X11Keyboard.cs: Fixes to work on 64bit systems
8964 2005-02-26 Peter Bartok <pbartok@novell.com>
8967 - Now calling OnHandleDestroyed from DestroyHandle()
8968 instead of Dispose()
8969 - Removed bogus call to controls.Remove() from DestroyHandle()
8971 2005-02-26 Peter Bartok <pbartok@novell.com>
8973 * Control.cs: Properly destroy child windows when our handle is
8976 2005-02-25 Peter Bartok <pbartok@novell.com>
8979 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8980 - Alphabetized Static Methods and Subclasses
8983 - Added XException class to allow custom handling of X11 exceptions
8984 - Created custom X11 error handler, tied into XException class
8985 - Added support for MONO_XEXCEPTIONS env var to allow the user
8986 to either throw an exception on X errors or continue running
8987 after displaying the error
8988 - Added handling of DestroyNotify message
8989 - Added handler for CreateNotify message (still disabled)
8990 - Improved (tried to at least) Where method to provide file and lineno
8992 - Added XErrorHandler delegate
8993 - Added XRequest enumeration (to suppor translation of errors)
8995 2005-02-25 Jackson Harper <jackson@ximian.com>
8997 * PropertyManager.cs: Implement editing features
8998 * CurrencyManager.cs:
8999 * Binding.cs: First attempt at UpdateIsBinding
9000 * BindingManagerBase.cs: Call UpdateIsBinding before
9001 pushing/pulling data.
9003 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
9005 * MenuAPI.cs: Respect disabled items
9006 * ThemeWin32Classic.cs
9007 - Caches ImageAttributes creation for DrawImageDisabled
9008 - Fixes vertical menu line drawing
9009 - Draws disabled arrows in disable menu items
9011 2005-02-24 Peter Bartok <pbartok@novell.com>
9014 - Added UserData property to allow associating arbitrary objects
9016 - Fixed leak; now removing Hwnd references from static windows array
9018 - Fixed Graphics leak in PaintEventEnd
9019 - Removed usage of HandleData, switched over to Hwnd class
9020 * HandleData.cs: Removed, obsoleted by Hwnd.cs
9022 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9024 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
9025 * ScrollBar.cs: Fixes bug
9026 * TrackBar.cs: removes death code, clipping, mimize refreshes,
9027 keyboard navigation enhancements
9029 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9031 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
9032 * GroupBox.cs: Add control styles
9033 * Label.cs: Add control styles
9034 * UpDownBase.cs: Add control styles
9035 * ListBox.cs: Add control styles
9036 * XplatUIWin32.cs: Fixes wrong parameter order
9039 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
9041 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
9043 2005-02-23 Jackson Harper <jackson@ximian.com>
9045 * PropertyManager.cs: Implement property binding. This doesn't
9046 seem to work yet though as (I think) there are some bugs in
9047 System.ComponentModel.PropertyDescriptor.
9048 * BindingContext.cs: Use new PropertyManager constructor.
9050 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
9052 * ProgressBar.cs: use clip region in ProgressBar
9053 * ThemeWin32Classic.cs: use clip region in ProgressBar
9055 2004-02-22 Jackson Harper <jackson@ximian.com>
9057 * BindingsCollection.cs: Remove some debug code.
9059 2005-02-22 Jackson Harper <jackson@ximian.com>
9061 * BindingContext.cs:
9062 * ControlBindingsCollection.cs:
9063 * CurrencyManager.cs:
9065 * BindingManagerBase.cs: Initial implementation
9066 * BindingsCollection.cs: Add an internal contains method that the
9067 BindingManagerBase uses to ensure bindings aren't added twice to
9069 * PropertyManager.cs: Stubbed out.
9071 * ContainerControl.cs: Hook up databinding
9073 2005-02-22 Geoff Norton <gnorton@customerdna.com>
9076 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
9077 Fixed Invalidate/Update chain.
9078 Fixed tons of other minor bugs (this is almost a complete rewrite).
9080 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
9082 * ComboBox.cs: do subcontrol creation when the control is created
9084 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9086 * Label.cs: fixes image drawing (image and imagelist)
9087 * ThemeWin32Classic.cs: cache brushes
9089 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9091 * Form.cs: Move menu drawing code to Theme class
9092 * ComboBox.cs: Move ComboBox drawing code to Theme class
9093 * MenuItem.cs: Move menu drawing code to Theme class
9094 * MenuAPI.cs: Move menu drawing code to Theme class
9095 * ThemeWin32Classic.cs: New methods
9096 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
9097 * ListBox.cs: Move Listbox drawing code to Theme class
9098 * Theme.cs: New methods
9100 2005-02-20 Peter Bartok <pbartok@novell.com>
9103 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
9104 only process mnemonics on those)
9105 - Fixed event sequence for key handling; first calling
9106 ProcessKeyEventArgs now
9108 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
9109 for processing non-character keys
9110 - Fixed WM_CHAR to generate proper event sequence before processing
9111 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
9114 2005-02-19 Peter Bartok <pbartok@novell.com>
9116 * UserControl.cs: Added TextChanged event; added attributes
9117 * SizeGrip.cs: Implemented resizing and optional display of grip
9118 * Form.cs: Fixed attribute
9119 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9120 Changed meaning of ScrollWindow bool argument; instead of the
9121 clear attribute (which will be true usually anyway), it gives the
9122 option of moving child controls as well.
9124 - Changed to match new ScrollWindow argument
9125 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
9126 now handles the implicit parent window a WM puts around us
9127 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
9129 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
9130 * TreeView.cs: Adjusted to new ScrollWindow arguments
9132 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9134 * Form.cs: Menu integration with non-client area
9135 * MenuItem.cs: Menu integration with non-client area
9136 * MenuAPI.cs: Menu integration with non-client area
9138 2005-02-18 Peter Bartok <pbartok@novell.com>
9140 * MethodInvoker.cs: Added
9141 * MdiLayout.cs: Added
9142 * SendKeys.cs: Started implementation
9143 * ErrorIconAlignment.cs: Added
9145 2005-02-18 Peter Bartok <pbartok@novell.com>
9147 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
9148 * Form.cs: Added handling for Menu-related Non-client messages
9150 2005-02-17 Peter Bartok <pbartok@novell.com>
9152 * UpDownBase.cs: Fixed typo, compilation errors
9153 * DomainUpDown.cs: Fixed attribute value
9155 2005-02-16 Miguel de Icaza <miguel@novell.com>
9157 * UpDownBase.cs: Attach entry events.
9159 Add ForeColor property, Focused, InterceptArrowKeys (interception
9162 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
9165 - Redraw non client are on Setmenu
9166 - Calc proper menu starting point
9168 2005-02-17 Peter Bartok <pbartok@novell.com>
9170 * Application.cs: Fixed message_filter check
9172 2005-02-17 Peter Bartok <pbartok@novell.com>
9174 * Application.cs: Now calls registered message filters
9175 * DockStyle.cs: Fixed attribute
9176 * Form.cs: Fixed attribute
9177 * Menu.cs: Fixed attribute
9178 * ToolTip.cs: Fixed attribute
9179 * TreeNode.cs: Added missing attributes and arranged in regions
9180 * PropertyGrid.cs: Fixed signatures
9181 * TreeNodeCollection.cs: Added attributes
9182 * Splitter.cs: Added missing attributes; arranged into regions
9183 * TabPage.cs: Added missing attributes; arranged into regions
9184 * TextBoxBase.cs: Added missing attributes
9185 * TextBox.cs: Added missing attributes
9186 * ArrangeDirection.cs: Added missing attributes
9187 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
9188 * ToolBarButton.cs: Fixed attributes
9189 * AnchorStyles.cs: Fixed attribute
9190 * TrackBar.cs: Fixed attributes
9191 * TabControl.cs: Added missing attributes and arranged into regions
9192 * ToolBar.cs: Fixed attribute
9193 * StatusBar.cs: Fixed signature, organized into regions and added
9195 * StatusBarPanel.cs: Fixed attributes
9196 * ContentsResizedEventArgs.cs: Implemented
9197 * ContentsResizedEventHandler.cs: Implemented
9198 * DateBoldEventArgs.cs: Implemented
9199 * DateBoldEventHandler.cs: Implemented
9200 * UpDownEventArgs.cs: Implemented
9201 * UpDownEventHandler.cs: Implemented
9203 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
9205 * Form.cs: first Menu NC refactoring
9206 * MenuAPI.cs: first Menu NC refactoring
9208 2005-02-16 Peter Bartok <pbartok@novell.com>
9210 * ImeMode.cs: Added missing attributes
9211 * Menu.cs: Fixed attribute
9212 * GroupBox.cs: Fixed attribute
9213 * Label.cs: Fixed attribute
9214 * ColorDialog.cs (RunDialog): Removed TODO attribute
9215 * ComboBox.cs: Fixed attributes
9216 * ListControl.cs: Added missing attributes
9217 * PropertyGrid.cs: Fixed attributes
9218 * Control.cs: Fixed attributes
9219 * ListViewItem.cs: Added TypeConverter attribute
9220 * NotifyIcon.cs: Fixed attributes
9221 * ListView.cs: Fixed attributes
9222 * ButtonBase.cs: Fixed attribute
9223 * ImageList.cs: Added missing attributes
9224 * ContainerControl.cs: Fixed signature
9225 * CheckedListBox.cs: Fixed attribute; added missing attributes
9226 * Panel.cs: Fixed attributes
9227 * PropertyTabChangedEventArgs.cs: Added missing attribute
9228 * PropertyValueChangedEventArgs.cs: Added missing attribute
9229 * Binding.cs: Fixed attribute
9230 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9231 * ListBox.cs: Fixed attribute; added missing attributes;
9232 * ScrollableControl.cs: Added missing attributes
9233 * PictureBox.cs: Added missing attributes; implemented missing property
9234 * DateTimePicker.cs: Added missing attributes
9235 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9236 * MonthCalendar.cs: Fixed attributes
9237 * StatusBarPanel.cs: Added missing attributes
9238 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9240 2005-02-16 Peter Bartok <pbartok@novell.com>
9242 * TextBoxBase.cs: The previous method to enforce height yet remember
9243 the requested high was less than ideal, this is an attempt to do
9245 * Control.cs: Added comment about possible problem
9246 * Copyright: Updated format
9247 * GridItemType.cs: Fixed swapped values
9249 2005-02-15 Jackson Harper <jackson@ximian.com>
9251 * BaseCollection.cs: Use property so we never access an
9252 uninitialized list. Also initialize the list in the property.
9254 2005-02-15 Peter Bartok <pbartok@novell.com>
9256 * GroupBox.cs (ProcessMnemonic): Implemented
9257 * Label.cs (ProcessMnemonic): Implemented
9258 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
9261 2005-02-15 Peter Bartok <pbartok@novell.com>
9263 * RadioButton.cs (ProcessMnemonic): Implemented
9264 * CheckBox.cs (ProcessMnemonic): Implemented
9266 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
9268 - Added internal method to allow calling ProcessMnemonic from other
9270 * ContainerControl.cs:
9271 - Started support for handling validation chain handling
9272 - Implemented ProcessMnemonic support
9273 - Added Select() call to Active, to make sure the active control
9275 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9277 * ThemeWin32Classic.cs:
9278 - DrawCheckBox(): Fixed stringformat to show hotkeys
9279 - DrawRadioButton(): Fixed stringformat to show hotkeys
9280 * CommonDialog.cs: Removed WndProc override, not needed
9282 2005-02-14 Peter Bartok <pbartok@novell.com>
9284 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9285 missed those in the rewrite
9287 2005-02-14 Miguel de Icaza <miguel@novell.com>
9289 * NumericUpDown.cs (Increment, ToString): Add.
9290 (DecimalPlaces): implement.
9294 * UpDownBase.cs: Add the designer attributes.
9296 2005-02-13 Peter Bartok <pbartok@novell.com>
9298 * Panel.cs: Removed border_style, now in Control
9299 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9300 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9302 2005-02-13 Peter Bartok <pbartok@novell.com>
9304 * MouseButtons.cs: Added missing attributes
9305 * XplatUIStructs.cs: Added enumeration for title styles
9306 * LeftRightAlignment.cs: Added missing attributes
9307 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9308 it compatible with Graphics.FromHwnd()
9309 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9310 * Keys.cs: Added missing attributes
9311 * SelectionRange.cs: Added missing attributes
9312 * SelectionRangeConverter.cs: Added
9314 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9315 ReleaseMenuDC methods
9316 - Renamed ReleaseWindow to UngrabWindow
9317 - Added proper startup notice to allow version identification
9319 - Added missing attributes
9320 - Removed FormParent concept
9321 * Label.cs: Removed border_style field, now in Control
9322 * RadioButton.cs: Now properly selects RadioButton when focus is
9324 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9326 - Added missing attributes
9327 - Added borderstyle handling
9328 - Removed FormParent concept support
9329 - Fixed calls to XplatUI to match changed APIs
9330 - Fixed bug that would case us to use disposed Graphics objects
9331 - Removed unneeded internal methods
9332 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9333 - SelectNextControl(): Fixed to properly check common parents
9334 * TextBoxBase.cs: Removed border_style field (now in Control)
9336 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9337 fixed calculations for form size
9338 - Added support for localized strings and icons
9339 - Improved form size calculations, added border
9340 * ListView.cs: Removed border_style field (now in Control)
9341 * X11Structs.cs: Moved several structs from X11 driver here
9342 * X11Keyboard.cs: Changed debug message
9343 * Application.cs: Removed FormParent concept support
9345 - Resetting end_modal flag
9346 - Removed FormParent concept support
9347 * NativeWindow.cs: Removed FormParent concept support
9348 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9349 Client area and Non-Client whole window to allow support for WM_NC
9351 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9352 prevent using it until it supports Hwnd as per Geoff Norton's request
9353 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9354 * PictureBox.cs: Removed border_style field, now in Control
9355 * XplatUIWin32.cs: Added new driver methods
9357 2005-02-12 Peter Bartok <pbartok@novell.com>
9359 * OpacityConverter.cs: Implemented
9360 * Hwnd.cs: Internal class to support drivers that need to emulate
9361 client area/non-client area window behaviour
9363 2005-02-11 Peter Bartok <pbartok@novell.com>
9365 * KeysConverter.cs: Implemented
9367 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9369 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9370 * LinkLabel: Added missing attributes
9371 * MainMenu.cs: fixes ToString
9372 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9373 * ListBox.cs: fixes event position
9374 * TrackBar.cs: adds missing attributes and events
9376 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9378 * MenuItem.cs: Use SystemInformation and bug fixes
9379 * MenuAPI.cs: Use SystemInformation and bug fixes
9381 2005-02-09 Jackson Harper <jackson@ximian.com>
9383 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9384 their keystate otherwise things like VK_MENU get stuck "on".
9386 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9388 * ListBox.cs: Fixes AddRange bug
9390 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9393 - Add missing attributes
9394 - Add missing method
9396 * CheckedListBox.cs: Added missing attributes
9397 - Add missing attributes
9398 - Remove extra method
9400 * ComboBox.cs: Added missing attributes
9401 * VScrollBar.cs: Added missing attributes
9402 * ScrollBar.cs: Added missing attributes
9403 * ListBox.cs: Fixes signature, add missing consts
9404 * LinkArea.cs: Added missing attributes
9407 2005-02-08 Peter Bartok <pbartok@novell.com>
9409 * Menu.cs: Added missing attributes
9410 * MainMenu.cs: Added missing attributes
9411 * GroupBox.cs: Added missing attributes
9412 * Label.cs: Added missing attributes
9413 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9415 - Added Instance and Options properties
9416 - Added missing attributes
9417 * Cursor.cs: Made Serializable
9418 * NotifyIcon: Added missing attributes
9419 * MenuItem.cs: Added missing attributes
9420 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9421 * Panel.cs: Added Missing attributes
9422 * MonthCalendar.cs: Fixed CreateParams
9424 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9428 - Fixes issues with links
9429 - Adds the class attributes
9431 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9434 - Fixes button when no items available in dropdown
9435 - Fixes repainting problems
9436 - Adds the class attributes
9438 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9440 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9441 the current theme. Cache these on startup.
9443 2005-02-07 Jackson Harper <jackson@ximian.com>
9445 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9446 the scrollbar buttons when they are depressed.
9448 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9450 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9451 Get the display size from the main displayid. We currently dont
9452 support multiple display configurations.
9454 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9456 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9458 2005-02-07 Miguel de Icaza <miguel@novell.com>
9460 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9462 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9464 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9466 2005-02-04 Jackson Harper <jackson@ximian.com>
9468 * ThemeWin32Classic.cs: Respect the clipping rect when
9469 drawing. Only fill the intersection of clips and rects so there
9470 isn't a lot of large fills.
9471 * ScrollBar.cs: Pass the correct clipping rect to the theme
9472 engine. Remove some debug code.
9474 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9476 * DateTimePicker.cs:
9477 - Fixed crash on DateTime.Parse, use Constructor instead
9479 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9483 - Owner draw support (MeasureItem and DrawItem)
9485 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9488 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9489 - Fixes MenuItems.Add range
9491 - MergeMenu and Clone and CloneMenu functions
9493 2005-02-03 Jackson Harper <jackson@ximian.com>
9495 * ScrollBar.cs: Make abstract
9496 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9499 2005-02-03 Jackson Harper <jackson@ximian.com>
9501 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9502 all the unneeded refreshes and uses invalidates with properly
9505 2005-02-03 Peter Bartok <pbartok@novell.com>
9507 * ComponentModel.cs: Added
9508 * IDataGridEditingService.cs: Added
9509 * Timer.cs: Added missing attributes
9510 * ToolTip.cs: Added missing attributes
9512 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9514 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9516 2005-02-03 Peter Bartok <pbartok@novell.com>
9518 * ListBox.cs: Added missing attributes
9520 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9523 - Fixes font height after font change
9524 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9526 2005-02-02 Peter Bartok <pbartok@novell.com>
9528 * HandleData.cs: Introduced static methods to allow class
9529 to be more self-contained and track it's own HandleData objects
9530 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9531 HandleData to use new static methods
9533 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9536 - Fixes default size and PreferredHeight
9538 - ObjectCollection.Insert implementation
9544 - ObjectCollection.Insert implementation
9545 - No selection after clean
9548 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9550 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9552 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9555 - Caches ItemHeight calculation for OwnerDrawVariable
9556 - Handles dropdown properly
9557 - Fixes several minor bugs
9559 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9562 - Fixes 71946 and 71950
9563 - Fixes changing Multicolumn on the fly
9564 - Fixes keyboard navigation on Multicolumn listboxes
9566 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9568 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9571 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9573 * XplatUIOSX.cs: Allow applications to actually exit.
9575 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9577 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9578 their parent at creation time rather than lazily later. Fixes a major
9579 regression we were experiencing.
9581 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9583 * ThemeWin32Classic.cs: more date time picker painting fixes
9584 * DateTimePicker.cs: more monthcalendar drop down fixes
9585 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9587 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9590 - When moving the thumb going outside the control should stop the moving
9591 - Adds the firing of missing events
9592 - Fixes no button show if Size is not specified
9593 - End / Home keys for keyboard navigation
9595 2005-01-30 Peter Bartok <pbartok@novell.com>
9597 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9598 sanity check to prevent theoretical loop
9599 * XplatUIWin32.cs (SetVisible): Removed debug output
9600 * XplatUIX11.cs (SystrayChange): Added sanity check
9601 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9602 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9603 behaviour, valid until the X11 client window rewrite is done
9604 * TextBox.cs (ctor): Setting proper default foreground and background
9607 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9609 * Theme: Added DrawDateTimePicker to interface
9610 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9611 * DateTimePicker.cs: Created (still needs keys and painting code)
9612 * DateTimePickerFormat.cs: added
9613 * MonthCalendar.cs: fixed CreateParams for popup window mode
9615 2005-01-29 Peter Bartok <pbartok@novell.com>
9617 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9618 this should also the calculations for ligher/darker
9619 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9621 2005-01-29 Peter Bartok <pbartok@novell.com>
9623 * ArrangeDirection.cs: Added
9624 * ArrangeStartingPositon.cs: Added
9625 * SystemInformation.cs: Implemented
9626 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9627 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9628 used by SystemInformation class
9629 * X11Strucs.cs: Added XSizeHints structure
9631 - Fixed CreateParams to make sure the menu window is always visible
9632 - TrackPopupMenu: Added check to make sure we don't draw the
9635 2005-01-29 Peter Bartok <pbartok@novell.com>
9637 * HandleData.cs: Added method for altering invalid area
9638 * TextBoxBase.cs: Implemented TextLength
9640 2005-01-28 Peter Bartok <pbartok@novell.com>
9642 * XplatUIX11.cs: Improvement over last patch, not sending
9643 the WM_PAINT directly anymore, instead we scroll any pending
9644 exposed areas and let the system pick out the WM_PAINT later
9646 2005-01-28 Peter Bartok <pbartok@novell.com>
9648 * SWF.csproj: Deleted, no longer used. Instead,
9649 Managed.Windows.Forms/SWF.csproj should be used
9650 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9651 directly, to avoid a potential race condition with the next
9654 2005-01-28 Peter Bartok <pbartok@novell.com>
9656 * XplatUI.cs: Made class internal
9658 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9660 * CheckedListBox.cs:
9663 - Missing methods and events
9665 2005-01-27 Peter Bartok <pbartok@novell.com>
9667 * Application.cs (Run): Don't use form if we don't have one
9669 2005-01-27 Peter Bartok <pbartok@novell.com>
9671 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9673 2005-01-27 Peter Bartok <pbartok@novell.com>
9675 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9676 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9677 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9678 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9679 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9680 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9681 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9682 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9683 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9684 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9685 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9686 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9688 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9691 - Draw focus on Simple Combobox
9692 - Fixes drawing issues
9695 2005-01-27 Peter Bartok <pbartok@novell.com>
9698 - Place window in default location, instead of hardcoded 0/0
9699 - Send initial LocationChanged event
9701 - UpdateBounds after creation to find out where the WM placed us
9702 - Make sure that if the ParentForm changes location the Form
9704 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9705 to the root, but to whatever the WM placed around us.
9706 Translate to root coordinates before returning toplevel
9708 * XplatUIWin32.cs: Removed debug output
9709 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9710 flag to GetWindowPos, to allow translation of coordinates on X11
9712 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9714 * ListBox.cs: connect LostFocus Event
9716 2005-01-27 Peter Bartok <pbartok@novell.com>
9718 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9719 XplatUIX11.cs: Extended the Systray API
9720 * Form.cs: Removed debug output
9721 * Application.cs: Fixed focus assignment, always need to call
9722 XplatUI.Activate() since Form.Activate() has rules that may
9724 * NotifyIcon.cs: Should be complete now
9725 * ToolTip.cs: Worked around possible timer bug
9727 2005-01-27 Jackson Harper <jackson@ximian.com>
9730 - Only invalidate the effected tabs when the
9731 selected index changes. This reduces drawing and gets rid of some
9733 - Only refresh if the tabs need to be shifted, otherwise only
9734 invalidate the slider button.
9735 - On windows the tabs are not filled to right if the slider is
9738 2005-01-27 Jackson Harper <jackson@ximian.com>
9740 * TabControl.cs: Only refresh on mouseup if we are showing the
9741 slider. Also only invalidate the button whose state has changed.
9743 2005-01-26 Peter Bartok <pbartok@novell.com>
9745 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9746 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9747 and SystrayRemove() methods
9748 * XplatUIOSX.cs: Stubbed Systray methods
9750 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9752 - Fixed broken XChangeProperty calls (marshalling messed up things)
9753 * X11Structs.cs: Added enums and structs required for Size hinting
9754 * NotifyIcon.cs: Added & implemented
9756 2005-01-26 Jackson Harper <jackson@ximian.com>
9758 * TabControl.cs: Space vertically layed out tabs properly.
9760 2005-01-26 Peter Bartok <pbartok@novell.com>
9762 * Form.cs (CreateClientParams): Always set the location to 0,0
9763 since we're a child window.
9765 * Control.cs (SetVisibleCore): Always explicitly setting the location
9766 of a toplevel window, apparently X11 doesn't like to move windows
9767 while they're not mapped.
9769 2005-01-26 Jackson Harper <jackson@ximian.com>
9771 * TabControl.cs: Implement FillToRight size mode with vertically
9774 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9776 * ControlPaint.cs, ThemeWin32Classic.cs
9777 - Fixes DrawFocusRectangle
9779 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9782 - MenuBar tracking only starts when item is first clicked
9783 - Fixes menu hidding for multiple subitems
9784 - Unselect item in MenuBar when item Executed
9787 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9790 - IsInputKey for ListBox
9793 - Shift and Control item selection
9794 - Implement SelectionMode.MultiExtended
9797 - IsInputKey implemented
9798 - Do not generate OnTextChangedEdit on internal txt changes
9800 2005-01-23 Peter Bartok <pbartok@novell.com>
9802 * AccessibleObject.cs: Partially implemented Select()
9803 * MonthCalendar.cs: Added missing attributes and events
9804 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9805 form can properly override CreateParams.
9806 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9807 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9808 Control performs Invalidate & Update
9809 * NativeWindow (CreateHandle): Added special handling for Form
9810 and Form.FormParent classes to allow overriding of From.CreateParams
9812 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9814 - ControlNativeWindow: Added Owner property
9815 - Removed usage of Refresh() on property changes, changed into
9816 Invalidate(), we need to wait until the queue is processed for
9817 updates, direct calls might cause problems if not all vars for
9818 Paint are initialized
9819 - Added call to UpdateStyles() when creating the window, to set any
9820 styles that CreateWindow might have ignored.
9821 - Added support for Form CreateParent overrides to UpdateStyles()
9822 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9823 CreateParams are now properly overridable
9824 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9825 CreateParams are now properly overridable
9827 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9829 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9832 Capture LostFocus and OnTextBoxChanged. The later introduces a
9833 recursive invocation that I have not figured out yet.
9835 Reset the timer when not using (it was accumulating).
9838 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9839 user has made changes that require validation.
9841 Reset changing to avoid loops.
9843 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9845 * NumericUpDown.cs: Display value at startup.
9847 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9850 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9851 filled in. Added some basic parsing of text.
9853 Still missing the OnXXX method overrides, and figuring out the
9854 events that must be emitted.
9856 * UpDownBase.cs: Handle UserEdit on the Text property.
9858 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9861 - Fixes IntegralHeight
9864 2005-01-21 Jackson Harper <jackson@ximian.com>
9866 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9867 is set so that the page visibility is updated and the tabs are
9870 2005-01-21 Jackson Harper <jackson@ximian.com>
9872 * TabControl.cs: Use cliping rectangle for blitting. Give the
9873 theme the clipping rect so we can do clipping while
9874 drawing. Remove some debug code.
9876 2005-01-21 Jackson Harper <jackson@ximian.com>
9878 * TabPage.cs: Add a new method so tab pages can force the tab
9879 control to recalculate the tab page sizes.
9880 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9883 2005-01-20 Jackson Harper <jackson@ximian.com>
9885 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9887 2005-01-20 Jackson Harper <jackson@ximian.com>
9889 * TreeView.cs: Set the bounds for nodes properly. They were
9890 getting screwed up when checkboxes were not enabled, but images
9893 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9896 - Owner draw support
9899 2005-01-20 Jackson Harper <jackson@ximian.com>
9901 * XplatUIStructs.cs: More misc keys
9902 * X11Keyboard.cs: Ignore some control keys.
9904 2005-01-20 Jackson Harper <jackson@ximian.com>
9906 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9907 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9909 2005-01-19 Peter Bartok <pbartok@novell.com>
9911 * Control.cs: Un-selecting the control when it is loosing focus
9913 2005-01-19 Jackson Harper <jackson@ximian.com>
9915 * TreeView.cs: Hook up to the text controls leave event so we can
9916 end editing when the users clicks outside the text box.
9918 2005-01-19 Jackson Harper <jackson@ximian.com>
9920 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9921 get set in the conversion array.
9923 2005-01-19 Peter Bartok <pbartok@novell.com>
9925 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9926 focus is properly set
9928 - Added missing attributes
9929 - removed styles, those are already set in the base class
9931 - Added missing attributes
9932 - Added clip window styles
9933 * CheckBox.cs: Added missing attributes
9935 - FormParentWindow.CreateParams: Added required clip styles
9936 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9937 also filters modifier keys
9939 - Added assignment of Accept and Cancel button to enable Enter
9940 and Esc keys in MessageBox dialogs
9941 - FormParentWindow.CreateParams: Added required clip styles
9942 * RadioButton.cs: Added missing attributes
9943 * TextControl.cs: No longer draws selection if control does not
9946 - Now draws simple rectangle around test area to make it obvious
9947 there's a control. This is a hack until we properly support borders
9948 - A few simple fixes to support selections better, now erases selected
9949 text when typing, and resets selection when using movement keys
9951 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9953 * UpDownBase.cs: Added some new properties.
9955 * DomainUpDown.cs: Implement a lot to get my test working.
9957 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9959 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9961 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9963 * OSXStructs (WindowAttributes): Fixed csc complaints
9965 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9968 OSXStructs.cs: Initial refactor to move enums and consts into
9969 OSXStructs and use them in the driver for greater readability.
9971 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9973 * XplatUIOSX.cs: Initial support for Standard Cursors.
9974 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9976 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9978 * ComboBox.cs: ability to change style when the ctrl is already
9979 created, missing methods and events, bug fixes, signature fixes
9981 2005-01-19 Peter Bartok <pbartok@novell.com>
9983 * Cursors.cs (ctor): Added ctor to fix signature
9985 2005-01-18 Peter Bartok <pbartok@novell.com>
9987 * Button.cs: Implemented DoubleClick event
9989 - Fixed keyboard handling to behave like MS, where the press of
9990 Spacebar is equivalent to a mousedown, and the key release is
9991 equivalent to mouseup. Now a spacebar push will give the same
9992 visual feedback like a mouse click.
9993 - Added missing attributes
9994 - Added ImeModeChanged event
9995 - Added support for generating DoubleClick event for derived classes
9997 - Implemented DoubleClick event
9998 - Added missing attributes
9999 * CommonDialog.cs: Added missing attribute
10000 * ContextMenu.cs: Added missing attributes
10002 - AutoChecked buttons do not allow to be unselected when clicked
10003 (otherwise we might end up with no selected buttons in a group)
10004 - Added missing attributes
10005 - Implemented DoubleClickEvent
10006 * ThreadExceptionDialog.cs: Enabled TextBox code
10008 2005-01-18 Peter Bartok <pbartok@novell.com>
10010 * Form.cs: Removed debug output
10011 * Button.cs: Added support for DoubleClick method
10013 2005-01-18 Peter Bartok <pbartok@novell.com>
10016 - Added method to parent window that allows triggering size
10017 calculations when a menu is added/removed
10018 - set_Menu: Cleaned up mess from early days of Form and Control,
10019 now properly triggers a recalc when a menu is added/removed
10020 - Added case to select form itself as focused form if no child
10022 - Added PerformLayout call when showing dialog, to ensure properly
10025 - Select(): Made internal so Form can access it
10026 - Focus(): Only call Xplat layer if required (avoids loop), and sets
10028 * Application.cs (Run): Removed hack and calls PerformLayout instead
10029 to trigger calculation when Form becomes visible
10031 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
10033 * ComboBox.cs: fixes for ownerdraw
10035 2005-01-18 Peter Bartok <pbartok@novell.com>
10038 - Sentinel is no longer static, each Document gets it's own, this
10039 avoids locking or alternatively overwrite problems when more
10040 than one text control is used simultaneously.
10041 - Switched to use Hilight and HilightText brushes for text selection
10043 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
10045 2005-01-18 Peter Bartok <pbartok@novell.com>
10048 - Hooked up the following events:
10056 o SystemColorsChanged
10057 o ParentFontChanged
10059 - Removed debug output
10060 - Added a call to the current theme's ResetDefaults when a color change
10062 * Form.cs: Now setting the proper ImeMode
10063 * Theme.cs: Defined a method to force recreation of cached resources
10064 and rereading of system defaults (ResetDefaults())
10065 * ThemeWin32Classic.cs: Added ResetDefaults() stub
10067 2005-01-17 Peter Bartok <pbartok@novell.com>
10069 * Control.cs: Added missing attributes
10071 2005-01-17 Jackson Harper <jackson@ximian.com>
10073 * TreeNode.cs: Implement editing. Add missing properties selected
10075 * TreeView.cs: Implement node editing. Also some fixes to use
10076 Invalidate (invalid area) instead of Refresh when selecting.
10078 2005-01-17 Peter Bartok <pbartok@novell.com>
10081 - Implemented InvokeGotFocus() method
10082 - Implemented InvokeLostFocus() method
10083 - Implemented InvokePaint() method
10084 - Implemented InvokePaintBackground() method
10085 - Implemented InvokeClick() method
10086 - Implemented FindForm() method
10087 - Implemented RectangleToClient() method
10088 - Implemented ClientToRectangle() method
10089 - Implemented ResetBackColor() method
10090 - Implemented ResetCursor() method
10091 - Implemented ResetFont() method
10092 - Implemented ResteForeColor() method
10093 - Implemented ResetImeMode() method
10094 - Implemented ResetLeftToRight() method
10095 - Implemented ResetText() method
10096 - Implemented Scale() methods
10097 - Implemented ScaleCore() method
10098 - Implemented Update() method
10099 - Removed unused variables
10100 - Stubbed AccessibilityNotifyClients and
10101 ControlAccessibleObject.NotifyClients() methods (dunno what to do
10103 - Now setting proper default for RightToLeft property
10104 - Fixed bug in SetClientSizeCore that would cause windows to get
10106 - Now sending Click/DoubleClick events
10107 - Now selecting controls when left mouse button is clicked on
10109 * AccessibleEvents.cs: Added
10110 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
10111 * XplatUIOSX.cs: Stubbed UpdateWindow() method
10112 * XplatUIWin32.cs: Implemented UpdateWindow() method
10113 * XplatUIX11.cs: Implemented UpdateWindow() method
10114 * Form.cs: Removed stray semicolon causing CS0162 warning
10115 * ThemeWin32Classic.cs: Fixed unused variable warnings
10116 * ScrollableControl.cs: Now calls base method for ScaleCore
10117 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
10118 style to avoid interference with internal click handler (which is
10119 different than standard Control click handling)
10121 - Now unchecks all sibling radio buttons when control is
10122 selected (Fixes #68756)
10123 - Removed internal tabstop variable, using the one inherited from
10126 2005-01-17 Jackson Harper <jackson@ximian.com>
10128 * NavigateEventArgs.cs: Fix base type.
10129 * LinkLabel.cs: Sig fix
10131 2005-01-17 Jackson Harper <jackson@ximian.com>
10133 * TreeView.cs: Only invalidate the effected nodes bounds when
10136 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10138 * XplatUIWin32.cs: fixes Win32 marshaling
10139 * XplatUIX11.cs: fixes method signature
10141 2005-01-17 Peter Bartok <pbartok@novell.com>
10143 * XplatUIX11.cs: Clean up resources when we no longer need them
10145 2005-01-17 Peter Bartok <pbartok@novell.com>
10147 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
10148 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
10149 and DestroyCursor() methods.
10150 * Cursor.cs: Partially implemented, now supports standard cursors;
10151 still contains some debug code
10152 * Cursors.cs: Implemented class
10154 - WndProc(): Added handling of WM_SETCURSOR message, setting the
10156 - Implemented Cursor property
10157 - Replaced break; with return; more straightforwar and possibly
10159 - Now properly setting the result for WM_HELP
10160 * X11Structs.cs: Added CursorFontShape enum
10161 * XplatUIStructs.cs:
10162 - Added StdCursor enum (to support DefineStdCursor() method)
10163 - Added HitTest enum (to support sending WM_SETCURSOR message)
10165 - Now sends the WM_SETCURSOR message
10166 - Implemented new cursor methods
10167 * XplatUIOSX.cs: Stubbed new cursor methods
10169 - Implemented new cursor methods
10170 - Added GetSystemMetrics function and associated enumeration
10172 2005-01-15 Peter Bartok <pbartok@novell.com>
10175 - WndProc(): Now handles EnableNotifyMessage
10176 - SelectNextControl(): Fixed bug where if no child or sibling
10177 controls exist we looped endlessly
10179 2005-01-14 Jackson Harper <jackson@ximian.com>
10181 * TreeView.cs: Recalculate the tab pages when a new one is added
10182 so that the proper bounding rects are created.
10184 2005-01-14 Jackson Harper <jackson@ximian.com>
10186 * TreeView.cs: Draw a gray box instead of a grip in the lower
10187 right hand corner when there are both horizontal and vertical
10190 2005-01-14 Jackson Harper <jackson@ximian.com>
10192 * Control.cs: When erasing backgrounds use FromHwnd instead of
10193 FromHdc when there is a NULL wparam. This occurs on the X driver.
10194 * XplatUIX11.cs: Set the wparam to NULL.
10196 2005-01-13 Jackson Harper <jackson@ximian.com>
10198 * PictureBox.cs: Implement missing methods (except ToString, need
10199 to test that on windows) and events. When visibility is changed we
10200 need to redraw the image because the buffers are killed. When size
10201 is changed refresh if the sizemode needs it.
10203 2005-01-13 Peter Bartok <pbartok@novell.com>
10205 * Control.cs (SelectNextControl): Was using wrong method to select
10208 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10210 * ComboBox.cs: fixes dropstyle
10212 2005-01-13 Peter Bartok <pbartok@novell.com>
10215 - Implemented Select() override
10216 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
10217 - Now sets keyboard focus on startup
10218 * Control.cs (SelectNextControl): Now properly handles directed=true
10220 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10221 - Added (really bad) focus rectangle (mostly for testing)
10222 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10223 to enforce redraw on focus changes
10224 * ContainerControl.cs:
10225 - Fixed detection of Shift-Tab key presses
10226 - Fixed traversal with arrow keys
10227 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10228 gonna keep this or if it's complete yet
10230 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10232 * ComboBox.cs: missing properties, fixes
10234 2005-01-13 Peter Bartok <pbartok@novell.com>
10236 * Panel.cs (ctor): Setting Selectable window style to off
10237 * Splitter.cs (ctor): Setting Selectable window style to off
10238 * GroupBox.cs (ctor): Setting Selectable window style to off
10239 * Label.cs (ctor): Setting Selectable window style to off
10241 2005-01-12 Miguel de Icaza <miguel@ximian.com>
10243 * UpDownBase.cs (InitTimer): If the timer has been already
10244 created, enable it.
10246 Use a TextBox instead of a Label.
10248 2005-01-12 Jackson Harper <jackson@ximian.com>
10250 * TreeView.cs: Refresh the tree after sorting the nodes. Always
10251 draw the connecting node lines (when ShowLines is true).
10252 * TreeNode.cs: The nodes index can now be updated. This is used
10253 when a node collection is sorted.
10254 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
10255 insert or an existing unsorted node collection can be sorted.
10257 2005-01-12 Peter Bartok <pbartok@novell.com>
10259 * ContainerControl.cs: Implemented ProcessDialogKeys()
10261 2005-01-12 Peter Bartok <pbartok@novell.com>
10264 - Implemented SelectNextControl() method
10265 - Several focus related bug fixes
10266 - Fixed Docking calculations to match MS documentation and
10269 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
10271 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10274 2005-01-12 Peter Bartok <pbartok@novell.com>
10277 - Fixed broken Contains() method
10278 - Implemented GetNextControl() method. Finally. This is the pre-
10279 requisite for focus handling.
10281 2005-01-12 Peter Bartok <pbartok@novell.com>
10283 * OSXStrucs.cs: Added
10285 2005-01-12 Peter Bartok <pbartok@novell.com>
10288 - Removed PeekMessageFlags
10289 - Implemented SetWindowStyle() method
10290 * XplatUIStructs.cs: Added PeekMessageFlags
10291 * X11Structs: Added missing border_width field to XWindowChanges struct
10293 - PeekMessage: Now throws exception if flags which are not yet
10294 supported are passed
10295 - Implemented SetWindowStyle() method
10296 - Fixed SetZOrder to handle AfterHwnd properly
10297 * XplatUI.cs: Added SetWindowStyle() method
10298 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10300 - Implemented UpdateStyles() method
10301 - Implemented UpdateZOrder() method
10302 * XplatUIOSX.cs: Added SetWindowStyle() stub
10304 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10306 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10310 2005-01-11 Jackson Harper <jackson@ximian.com>
10312 * TreeView.cs: Still need to draw lines to siblings even if out of
10313 the current node is out of the clip.
10315 2005-01-11 Jackson Harper <jackson@ximian.com>
10317 * TreeView.cs: When setting the hbar/vbar/grip position use
10318 SetBounds so that perform layout is only called once. Also suspend
10319 and resume layout so layout is only done once for all controls.
10320 - Removed some debug fluff
10321 * SizeGrip.cs: Call base implmentation in overriding methods.
10322 - When visibility is changed the drawing buffers are killed so we
10325 2005-01-11 Jackson Harper <jackson@ximian.com>
10327 * TreeView.cs: Calculate the open node count while drawing. This
10328 saves us an entire tree traversal for every paint operation. Use
10329 a member var for the open node count so less vars are passed around.
10331 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10333 * MonthCalendar.cs:
10334 - fixed selection to use mousemove, not mouse polling on timer
10335 * ThemeWin32Classic.cs
10336 - removed redundant unused variable "no_more_content"
10338 2005-01-11 Peter Bartok <pbartok@novell.com>
10340 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10341 are pending, so it now calls PeekMessage instead of GetMessage;
10342 implemented a incomplete version of PeekMessage
10344 2005-01-11 Peter Bartok <pbartok@novell.com>
10346 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10348 * TextBoxBase.cs: Added sending of TextChanged event
10350 2005-01-10 Jackson Harper <jackson@ximian.com>
10352 * TreeView.cs: Try not to draw outside the clipping rectangle on
10355 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10357 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10359 2005-01-10 Jackson Harper <jackson@ximian.com>
10362 - Implement fast scrolling. Now only the newly
10363 exposed nodes are drawn and the old image is moved using the
10364 XplatUI::ScrollWindow method.
10365 - Factor in height of nodes when calculating whether or not the
10366 node is in the clipping rect.
10368 2005-01-10 Jackson Harper <jackson@ximian.com>
10370 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10372 2005-01-10 Peter Bartok <pbartok@novell.com>
10374 * Application.cs: Added temporary hack to resolve all our resize
10375 required issues on startup. This will get fixed properly at
10376 some point in the future
10378 2005-01-10 Jackson Harper <jackson@ximian.com>
10380 * SizeGrip.cs: New internal class that is used as a sizing
10381 grip control...hence the name.
10383 2005-01-10 Peter Bartok <pbartok@novell.com>
10385 * Control.cs: Implemented proper TabIndex handling, now assigning
10386 a tabindex when a control is added to a container
10387 * GroupBox.cs (ctor): Now sets the Container style bit, required
10388 for Control.GetNextControl()
10390 2005-01-09 Jackson Harper <jackson@ximian.com>
10392 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10394 2005-01-09 Peter Bartok <pbartok@novell.com>
10396 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10397 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10398 an overload for ScrollWindow to allow only scrolling a rectangle
10400 2005-01-09 Peter Bartok <pbartok@novell.com>
10403 - Implemented SetDesktopBounds method
10404 - Implemented SetDesktopLocation method
10406 2005-01-08 Jackson Harper <jackson@ximian.com>
10408 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10409 the node count has changed, this removes to VScroll::Refresh calls
10412 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10414 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10416 2005-01-07 Jackson Harper <jackson@ximian.com>
10418 * TreeNode.cs: Just update the single node when it is
10419 checked. Don't refresh after toggling, the Expand/Collapse already
10421 * TreeView.cs: Respect clipping a little more when drawing. Try
10422 not to redraw things that don't need to be redrawn. Just hide the
10423 scrollbars when they are no longer needed instead of removing
10424 them, so they don't have to be created again and again.
10426 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10428 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10429 coordinates to window space to place the caret properly, FIXED.
10430 Implement GetWindowState & SetWindowState
10432 2005-01-06 Peter Bartok <pbartok@novell.com>
10435 - Implemented ClientSize property
10436 - Implemented DesktopBounds property
10437 - Implemented DesktopLocation property
10438 - Implemented IsRestrictedWindow property
10439 - Implemented Size property
10440 - Implemented TopLevel property
10441 - Implemented FormWindowState property
10443 - Implemented GetTopLevel() method
10444 - Implemented SetTopLevel() method
10445 * X11Structs.cs (Atom):
10446 - Added AnyPropertyType definition
10447 - Added MapState definiton and updated XWindowAttribute struct
10448 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10449 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10450 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10452 - Implemented GetWindowState() and SetWindowState() methods
10453 - Fixed Win32GetWindowLong return type
10455 - Introduced central function for sending NET_WM messages
10456 - Implemented GetWindowState() and SetWindowState() methods
10457 * TextBoxBase.cs (set_Lines):
10458 - Now uses Foreground color for text added via Text property (Duh!)
10459 - Added code to remember programmatically requested size (fixes
10460 behaviour when Multiline is set after Size)
10461 - Added AutoSize logic
10463 2005-01-06 Jackson Harper <jackson@ximian.com>
10465 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10467 2005-01-06 Jackson Harper <jackson@ximian.com>
10469 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10470 set to less then 0.
10472 2005-01-06 Jackson Harper <jackson@ximian.com>
10474 * ScrollableControl.cs: Lazy init the scrollbars.
10476 2005-01-06 Jackson Harper <jackson@ximian.com>
10478 * Theme.cs: Speed up getting pens and solid brushes, by using
10479 their ARGB as a hash instead of tostring and not calling Contains.
10481 2005-01-06 Peter Bartok <pbartok@novell.com>
10484 - Implemented OnActivated and OnDeactivate event trigger
10485 - Implemented Activate() method
10486 - Fixed ShowDialog() to activate the form that was active before
10487 the dialog was shown
10489 - Added global active_window var that tracks the currently active
10491 - Now always grabs Property changes from the root window to always
10492 catch changes on the active window property
10493 - Added code to PropertyNotify handler to send Active/Inactive
10494 messages when state changes. This puts X11 and Win32 en par on
10495 WM_ACTIVATE notifications (except for double notifications when
10496 the user clicks away from our modal window to another one of our
10499 2005-01-05 Jackson Harper <jackson@ximian.com>
10501 * ImageList.cs: Implment ctor
10503 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10505 * XplatUIOSX.cs: Implement Activate/SetTopmost
10507 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10509 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10511 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10513 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10515 2005-01-05 Peter Bartok <pbartok@novell.com>
10517 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10518 XplatUIOSX.cs: Added GetActive method to return the currently
10519 active window for the application (or null, if none is active)
10521 - Implemented ActiveForm
10522 - Commented out owner assignment for modal dialogs (causes problems
10523 on Win32, since the owner will be disabled)
10524 - Reworked some Active/Focus handling (still incomplete)
10525 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10526 (causes problems on Win32, since the owner will be disabled)
10527 * IWin32Window: Added ComVisible attribute
10529 2005-01-05 Peter Bartok <pbartok@novell.com>
10531 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10532 required XplatUI functions.
10534 2005-01-05 Peter Bartok <pbartok@novell.com>
10536 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10537 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10538 to implement focus and activation handling; still incomplete and
10541 2005-01-04 Peter Bartok <pbartok@novell.com>
10543 * TextBoxBase.cs: Changed access level for Document property to
10544 match switch to internal for TextControl
10546 2005-01-04 Peter Bartok <pbartok@novell.com>
10548 * AccessibleObject: Added ComVisible attribute
10550 2005-01-04 Jackson Harper <jackson@ximian.com>
10552 * X11Keyboard.cs: Remove unneeded var.
10554 2005-01-04 Jackson Harper <jackson@ximian.com>
10556 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10558 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10559 ClientMessage. This makes apps exit cleanly (more often).
10561 2005-01-04 Jackson Harper <jackson@ximian.com>
10563 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10564 handling focus, return correct colors and fonts,
10565 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10566 handle selection, horizontal scrolling, and mouse interaction.
10568 2005-01-04 Peter Bartok <pbartok@novell.com>
10570 * ICommandExecutor.cs: Added
10571 * IDataGridColumnStyleEditingNotificationService.cs: Added
10572 * IFeatureSupport.cs: Added
10573 * IFileReaderService.cs: Added
10574 * IDataObject.cs: Added ComVisible attribute
10575 * AmbientProperties.cs: Added
10576 * BaseCollection.cs: Added missing attributes
10577 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10578 * BaseCollection.cs: Added missing attributes
10579 * Binding.cs: Added TypeConverter attribute
10580 * BindingContext.cs: Added DefaultEvent attribute
10581 * BindingsCollection.cs: Added DefaultEvent attribute
10582 * Button.cs: Added DefaultValue attribute
10583 * DragEventArgs.cs: Added ComVisible attribute
10584 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10585 * KeyEventArgs.cs: Added ComVisible attribute
10586 * KeyPressEventArgs.cs: Added ComVisible attribute
10587 * MouseEventArgs.cs: Added ComVisible attribute
10588 * NavigateEventArgs.cs: Added
10589 * NavigateEventHandler.cs: Added
10590 * FeatureSupport.cs: Added
10591 * OSFeature.cs: Added
10592 * Theme.cs: Added abstract Version property to support OSFeature
10593 * ThemeWin32Classic.cs: Added Version property to
10594 support OSFeature.Themes
10595 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10596 the proper styles to avoid background drawing are set, also doesn't
10598 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10599 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10600 * ScrollEventArgs.cs: Added ComVisible attribute
10601 * SplitterEventArgs.cs: Added ComVisible attribute
10602 * AccessibleSelection.cs: Added Flags attribute
10603 * Appearance.cs: Added ComVisible attribute
10604 * Border3DSide.cs: Added ComVisible attribute
10605 * Border3DStyle.cs: Added ComVisible attribute
10606 * BorderStyle.cs: Added ComVisible attribute
10607 * DragAction.cs: Added ComVisible attribute
10608 * ErrorBlinkStyle.cs: Added
10609 * ScrollEventType.cs: Added ComVisible attribute
10610 * AnchorStyles.cs: Added Editor attribute
10611 * DockStyle.cs: Added Editor attribute
10612 * HorizontalAlignment.cs: Added ComVisible attribute
10613 * HelpEventArgs.cs: Added ComVisible attribute
10614 * PaintEventArgs.cs: Added IDisposable
10616 2005-01-04 Peter Bartok <pbartok@novell.com>
10618 * TextControl.cs: Switched Line, LineTag and Document classes to
10621 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10623 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10624 Simple mode, fixes, IntegralHeight, etc.
10626 2005-01-04 Peter Bartok <pbartok@novell.com>
10628 * TextBoxBase.cs: Using proper font variable now
10630 2005-01-04 Peter Bartok <pbartok@novell.com>
10632 * Form.cs (ShowDialog): Set parent to owner, if provided
10633 * GroupBox.cs: Removed unused vars
10635 - Added GetHashCode() for Document and LineTag classes
10636 - Removed unused variables
10637 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10638 to allow translation between continuous char position and line/pos
10639 * CheckBox.cs: Removed vars that are provided by base class
10640 * RadioButton.cs: Removed vars that are provided by base class, added
10641 new keyword where required
10642 * LinkLabel.cs: Added new keyword where required
10643 * Control.cs (WndProc): Removed unused variable
10645 - Finished SelectionLength property
10646 - Implemented SelectionStart property
10647 - Implemented Text property
10648 - Removed unused vars
10649 * MessageBox.cs: Added new keyword where required
10650 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10652 * MenuAPI.cs: Added new keyword where required
10653 * ButtonBase.cs: Removed vars that are provided by base class, added
10654 new keyword where required
10655 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10656 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10658 * Application.cs (Run): Now triggers the ThreadExit event
10659 * CommonDialog.cs: Added new keyword where required; now properly sets
10660 parent (owner) for dialog
10661 * XplatUIX11.cs: Commented out unused vars
10662 * StatusBar.cs: Fixed signature for Text property
10663 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10665 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10667 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10668 TrackBar.cs, MonthCalendar.cs: remove unused vars
10670 2005-01-03 Jackson Harper <jackson@ximian.com>
10672 * ThemeWin32Classic.cs:
10673 * X11Keyboard.cs: Remove unused vars.
10675 2005-01-03 Peter Bartok <pbartok@novell.com>
10678 - set_Text: Tied into TextControl
10679 - set_TextAlignment: Tied into TextControl
10681 - Added alignment properties and implemented alignment handling
10682 and drawing (still has a bug, not generating proper expose events)
10683 - Added new Line() constructor to allow passing the line alignment
10684 - Fixed selection setting, properly handling end<start now
10685 - Added aligment considerations to RecalculateDocument()
10687 - Now properly enforces control height for single line controls
10688 - Added support for CharacterCasing
10689 - Added IsInputKey override
10690 - Fixed Keys.Enter logic
10691 - Added SetBoundsCore override
10692 - Fixed mouse selection handling
10694 2005-01-03 Jackson Harper <jackson@ximian.com>
10697 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10698 - Checkboxes are always aligned to the bottom of the node,
10699 regardless of item height.
10700 - Use the node bounds to draw the text so we can center it when
10701 the item height is greater then the font height.
10702 - Node::Bounds are only the text part of the node.
10703 * TreeNode.cs: New method to combine collapsing and unchecking all
10706 2005-01-02 Jackson Harper <jackson@ximian.com>
10708 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10709 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10710 tree when a check is changed. TODO: Only refresh the checked node.
10712 2004-12-30 Jackson Harper <jackson@ximian.com>
10714 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10715 * TreeNode.cs: When collapsing make sure to never collapse the
10718 2004-12-29 Jackson Harper <jackson@ximian.com>
10720 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10722 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10724 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10726 2004-12-28 Peter Bartok <pbartok@novell.com>
10728 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10731 2004-12-28 Peter Bartok <pbartok@novell.com>
10733 * Control.cs (WndProc): Added WM_HELP handler, now generates
10734 HelpRequested event
10735 * Form.cs: Added HelpButton property and required support code
10736 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10738 2004-12-28 Peter Bartok <pbartok@novell.com>
10741 - Made DialogForm.owner variable internal
10742 - Added check to ensure owner form is set before setting
10743 owner properties in CreateParams
10745 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10747 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10748 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10749 GetCursorPos. Fix major visibility issues. Rework the windowing
10750 system to support borderless/titleless windows (implements menus).
10751 Fix GetWindowPos. Implement initial background color support for
10754 2004-12-28 Peter Bartok <pbartok@novell.com>
10756 * Form.cs (get_CreateParams): Make sure we have an owner before using
10757 the owner variable. Implement proper default if no owner exists
10759 2004-12-28 Peter Bartok <pbartok@novell.com>
10761 * In preparation for making Managed.Windows.Forms the default build target
10762 for System.Windows.Forms, the following stubbed files were added.
10763 Dialogs are currently being implemented by contributors and are only
10764 short-term place holders.
10765 * ColorDialog.cs: Initial check-in (minmal stub)
10766 * DataGrid.cs: Initial check-in (minimal stub)
10767 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10768 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10769 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10770 * FontDialog.cs: Initial check-in (minimal stub)
10771 * FileDialog.cs: Initial check-in (minimal stub)
10772 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10773 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10774 * OpenFileDialog: Initial check-in (minimal stub)
10775 * IComponentEditorPageSite.cs: Initial check-in
10776 * Splitter.cs: Initial check-in (for Jackson)
10777 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10778 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10779 * TextBox.cs: Initial check-in; still needs some wiring to
10780 TextControl backend
10781 * Form.cs: Implemented ControlBox property
10782 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10783 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10784 * TextControl.cs: Added selection functionality; added todo header
10786 - Implemented Lines property
10787 - Implemented TextHeight property
10788 - Implemented SelectedText property
10789 - Implemented SelectionLength property
10790 - Implemented SelectAll method
10791 - Implemented ToString method
10792 - Removed and cleaned up some debug code
10793 - Implemented (still buggy) mouse text selection
10795 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10797 * ComboBox.cs: Complete DropDownList implementation, fixes.
10799 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10801 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10802 * ComboBoxStyle.cs: ComboBoxStyle enum
10803 * ComboBox.cs: Initial work on ComboBox control
10805 2004-12-21 Peter Bartok <pbartok@novell.com>
10807 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10808 forward so that anything that creates a window gets the default,
10809 also no longer uses Visible property in CreateParams to avoid
10810 walking up the parent chain and possibly get the wrong visible
10811 status. Fixed IsVisible to no longer walk up to the parent.
10813 2004-12-21 Peter Bartok <pbartok@novell.com>
10815 * Form.cs (ShowDialog): Unset modality for the proper window
10817 2004-12-20 Peter Bartok <pbartok@novell.com>
10819 * CommonDialog.cs: Initial check-in
10821 2004-12-20 Peter Bartok <pbartok@novell.com>
10823 * Control.cs (Visible): Now uses the parent window instead of the
10824 client area window for the property
10827 - ShowDialog(): Now uses the proper window for modality
10828 - The default visibility state for the form parent is now false. This
10829 will prevent the user from seeing all the changes to the form and
10830 its controls before the application hits Application.Run()
10831 - Removed some stale commented out code
10834 - Added FindWindow() method to have a method to check for existence
10836 - Added ability to override default exception handling (for example
10837 when debugging with VS.Net; to do this the ExternalExceptionHandler
10839 - Removed some useless debug output
10842 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10843 not working as expected
10844 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10845 property to allow switching back to the modal window if focus is
10846 given to another one of our windows (Application Modal)
10847 - Now only sets override_redirect if we create a window
10849 - Moved EventMask selection before mapping of newly created window
10850 so we can catch the map event as well
10851 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10852 - Added various Atom related DllImports
10853 - Implemented Exit() method
10854 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10855 in the CreateParams
10857 * MessageBox.cs: Now properly deals with the FormParent window by
10858 providing an override the FormParent CreateParams property to
10859 set as POPUP instead of OVERLAPPED window.
10861 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10863 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10864 Minor code cleanup.
10866 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10868 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10870 2004-12-18 Peter Bartok <pbartok@novell.com>
10872 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10873 implementing SetModal() method
10875 2004-12-18 Peter Bartok <pbartok@novell.com>
10877 * X11Structs.cs (XGCValues): Fixed type of function element
10878 * XplatUI.cs: Added ScrollWindow() method
10879 * XplatUIDriver.cs: Added ScrollWindow() abstract
10880 * XplatUIWin32.cs: Implemented ScrollWindow() method
10881 * XplatUIX11.cs: Implemented ScrollWindow() method
10882 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10884 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10886 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10887 Some more keyboard support (INCOMPLETE)
10889 2004-12-17 Peter Bartok <pbartok@novell.com>
10892 - Added color attribute to line tags.
10893 - Added color argument to all functions dealing with tags
10894 - Added color argument support to various functions
10895 - Fixed miss-calculation of baseline/shift in certain circumstances
10897 * TextBoxBase.cs: Added new color option to test code
10899 2004-12-17 Jackson Harper <jackson@ximian.com>
10902 * MonthCalendar.cs: Signature fixes
10904 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10906 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10907 keyboard event moved it. Create a new graphics context for each paint resolves this
10909 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10911 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10912 Make caret exist and go blink blink. Initial keyboard support.
10913 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10916 2004-12-17 Jackson Harper <jackson@ximian.com>
10918 * XplatUIStructs.cs: Updated set of virtual keycodes.
10919 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10921 2004-12-17 Jackson Harper <jackson@ximian.com>
10923 * XplatUIX11.cs: Prune old keyboard code.
10925 2004-12-17 Jackson Harper <jackson@ximian.com>
10927 * XplatUIX11.cs: When generating mouse wparams get the modifier
10928 keys from the ModifierKeys property.
10930 2004-12-17 Jackson Harper <jackson@ximian.com>
10932 * X11Keyboard.cs: Send up/down input when generating
10933 messages. Remove some unused vars.
10935 2004-12-17 Jackson Harper <jackson@ximian.com>
10938 * TreeView.cs: get rid of warnings.
10940 2004-12-17 Jackson Harper <jackson@ximian.com>
10942 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10944 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10946 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10947 CheckedListBox.cs: Implementation
10949 2004-12-17 Peter Bartok <pbartok@novell.com>
10951 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10953 2004-12-16 Peter Bartok <pbartok@novell.com>
10956 - InsertCharAtCaret(): Fixed start pos fixup
10957 - CaretLine_get: No longer derives the line from the tag, the tag
10958 could be stale if lines in the document have been added or deleted
10959 - RebalanceAfterDelete(): Fixed bug in balancing code
10960 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10961 - Line.Streamline(): Now can also elminate leading empty tags
10962 - DumpTree(): Added a few more tests and prevented exception on
10964 - Added Debug section for Combining lines
10965 - Delete(): Now copies all remaining properties of a line
10968 - Left mousebutton now sets the caret (and middle button still acts
10969 as formatting tester, which must go away soon)
10970 - Added Debug section for Deleting/Combining lines
10971 - Fixed calculations for UpdateView after Combining lines
10973 2004-12-16 Peter Bartok <pbartok@novell.com>
10975 * TextControl.cs: Now properly aligns text on a baseline, using the
10976 new XplatUI.GetFontMetrics() method. Simplified several calculations
10977 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10980 2004-12-16 Peter Bartok <pbartok@novell.com>
10982 * XplatUI.cs: Added GetFontMetrics() method
10983 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10984 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10985 into libgdiplus, our private GetFontMetrics function
10986 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10987 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10989 2004-12-16 Jackson Harper <jackson@ximain.com>
10991 * XplatUIStruct.cs: Add enum for dead keys
10992 * X11Keyboard.cs: Map and unmap dead keys.
10994 2004-12-16 Jackson Harper <jackson@ximian.com>
10996 * X11Keyboard.cs: Detect and use the num lock mask.
10998 2004-12-16 Peter Bartok <pbartok@novell.com>
11000 * Control.cs (CreateGraphics): Added check to make sure the
11001 handle of the window exists before calling Graphics.FromHwnd()
11003 2004-12-16 Peter Bartok <pbartok@novell.com>
11005 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
11006 contains a lot of code that's not supposed to be there for the
11007 real thing, but required for developing/testing the textbox
11010 2004-12-16 Peter Bartok <pbartok@novell.com>
11013 - Fixed Streamline method
11014 - Added FindTag method to Line
11015 - Added DumpTree method for debugging
11016 - Added DecrementLines() method for deleting lines
11017 - Fixed UpdateView to update the cursor to end-of-line on single-line
11019 - Added PositionCaret() method
11020 - Fixed MoveCaret(LineDown) to move into the last line, too
11021 - Added InsertChar overload
11022 - Fixed InsertChar tag offset calculations
11023 - Added DeleteChar() method
11024 - Added Combine() method for folding lines
11025 - Fixed Delete() method, no longer allocates wasted Line object and
11026 now copies all properties when swapping nodes
11027 - Delete() method now updates document line counter
11029 2004-12-15 Jackson Harper <jackson@ximian.com>
11031 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
11032 * X11Keyboard.cs: Expose the currently selected modifier keys
11033 through a property.
11035 2004-12-15 Peter Bartok <pbartok@novell.com>
11037 * TextControl.cs: Initial check-in. Still incomplete
11039 2004-12-15 Jackson Harper <jackson@ximian.com>
11042 * TreeView.cs: Fix build on csc (second time today ;-))
11044 2004-12-15 Jackson Harper <jackson@ximian.com>
11046 * TreeView.cs: Store the treenodes plus/minus box bounds when it
11047 is calculated and use this for click testing.
11048 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
11050 2004-12-15 Jackson Harper <jackson@ximian.com>
11052 * TreeView.cs: Pass the nodes image index to the image list when
11053 drawing that image.
11055 2004-12-15 Jackson Harper <jackson@ximian.com>
11057 * X11Keyboard.cs: Set messages hwnd.
11058 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
11059 post_message calls.
11061 2004-12-15 Jackson Harper <jackson@ximian.com>
11063 * X11Keyboard.cs: Fix to compile with csc.
11065 2004-12-15 Jackson Harper <jackson@ximian.com>
11067 * X11Structs.cs: Add key mask values
11068 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
11069 * X11Keyboard.cs: New file - Extrapolates and interpolates key
11070 down/up foo into WM_CHAR foo
11071 * KeyboardLayouts.cs: Common keyboard layouts
11072 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
11073 post messages into the main queue.
11075 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
11077 * Button.cs: implement ProcessMnemonic
11078 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
11080 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
11081 * ButtonBase.cs: Show HotkeyPrefix (not the &)
11083 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
11085 * MonthCalendar.cs: Implemented click-hold for next/previous month
11088 2004-12-11 Peter Bartok <pbartok@novell.com>
11091 - Added XKeyboardState (moved from XplatUIX11.cs)
11092 - Added XCreateGC related enums and structures
11093 - Added GXFunction for XSetFunction
11095 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
11097 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
11098 CaretVisible() calls
11100 * ToolTip.cs: Added code to prevent stealing focus from app windows
11102 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
11103 DestroyCaret, SetCaretPos and CaretVisible)
11106 - Added implementation for caret functions
11107 - Moved hover variables into a struct, to make it a bit easier
11108 on the eyes and to debug
11109 - Removed XKeyboardState (moved to XplatUIX11.cs)
11110 - Moved Keyboard properties into the properties region
11112 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
11113 call to get a graphics context for our control
11115 * XplatUIOSX.cs: Added empty overrides for the new caret functions
11117 * TreeView.cs: Fixed bug. No matter what color was set it would always
11118 return SystemColors.Window
11120 * XplatUIWin32.cs: Implemented caret overrides
11122 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
11124 * ListBox.cs: fire events, implement missing methods and properties,
11127 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
11129 * MonthCalendar.cs: invalidation bug fixing
11130 * ThemeWin32Classic.cs: paint fixing
11132 2004-12-09 Geoff Norton <gnorton@customerdna.com>
11134 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
11135 prepare the CGContextRef there now.
11137 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
11139 * MonthCalendar.cs:
11140 - optimisationL only invalidate areas that have changed
11141 * ThemeWin32Classic.cs:
11142 - only paint parts that intersect with clip_area
11144 2004-12-09 Peter Bartok <pbartok@novell.com>
11146 * Application.cs: Undid changes from r37004 which cause problems
11149 2004-12-09 Ravindra <rkumar@novell.com>
11151 * ToolBar.cs: Added support for displaying ContextMenu
11152 attached to a button on ToolBar.
11153 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
11156 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11158 * Label.cs: autosize works in text change and removes unnecessary
11161 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11163 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
11166 2004-12-08 Geoff Norton <gnorton@customerdna.com>
11168 * XplatUIOSX.cs: Added mouse move/click/grab support
11169 Remove some debugging WriteLines not needed anymore.
11170 Add window resizing/positioning.
11171 Fix visibility on reparenting.
11173 2004-12-08 Peter Bartok <pbartok@novell.com>
11175 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
11177 2004-12-07 Geoff Norton <gnorton@customerdna.com>
11179 * XplatUIOSX.cs: Initial checkin
11180 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
11182 2004-12-03 Ravindra <rkumar@novell.com>
11184 * ListView.cs: Added some keybindings and fixed scrolling.
11185 ScrollBars listen to ValueChanged event instead of Scroll
11186 Event. This would let us take care of all changes being
11187 done in the scrollbars' values programmatically or manually.
11188 * ListView.cs (CanMultiselect): Added a check for shift key.
11189 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
11190 * ListViewItem.cs (Clone): Fixed. We need to make a copy
11191 of ListViewSubItemCollection as well.
11193 2004-12-06 Peter Bartok <pbartok@novell.com>
11195 * Control.cs (Parent): Added check and exception to prevent
11198 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
11200 * ListBox.cs: implemented clipping, selection single and multiple,
11203 2004-12-03 Ravindra <rkumar@novell.com>
11205 * ListView.cs (ListView_KeyDown):
11206 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
11207 when CTRL key is pressed.
11208 * ListViewItem.cs (Selected): Fixed setting the property.
11210 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11212 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
11214 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
11215 MinimizeBox, ShowInTaskbar, TopMost properties.
11217 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
11218 will be implemented).
11220 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11222 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11224 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11227 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11229 * TreeView.cs: BackColor is Colors.Window.
11231 2004-12-01 Jackson Harper <jackson@ximian.com>
11233 * TreeView.cs: When resizing the tree if the user is making it
11234 smaller we don't get expose events, so we need to handle adding
11235 the horizontal scrollbar in the size changed handler as well as
11236 the expose handler.
11238 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11240 * DrawItemState.cs: fixes wrong enum values
11242 2004-12-01 Jackson Harper <jackson@ximian.com>
11244 * TreeView.cs: Resize the hbar as well as the vbar on resize.
11246 2004-12-01 Jackson Harper <jackson@ximian.com>
11248 * NodeLabelEditEventArgs.cs:
11249 * NodeLabelEditEventHandler.cs:
11250 * OpenTreeNodeEnumerator.cs:
11252 * TreeNodeCollection.cs:
11254 * TreeViewAction.cs:
11255 * TreeViewCancelEventArgs.cs:
11256 * TreeViewCancelEventHandler.cs:
11257 * TreeViewEventArgs.cs:
11258 * TreeViewEventHandler.cs: Initial implementation.
11260 2004-12-01 Ravindra <rkumar@novell.com>
11262 * ListView.cs (CalculateListView): Fixed scrolling related
11263 calculations. Also, removed some debug statements from other
11265 * ListViewItem.cs: Changed access to 'selected' instance variable
11266 from private to internal.
11267 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
11269 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
11271 * ThemeWin32Classic.cs: remove cache of brush and pens for
11272 specific controls and use the global system, fixes scrollbutton
11273 bugs (for small sizes, disabled, etc)
11275 * ScrollBar.cs: does not show the thumb for very small controls
11276 (as MS) and allow smaller buttons that the regular size
11278 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11280 * UpDownBase.cs: Add abstract methods for the interface.
11281 Add new virtual methods (need to be hooked up to TextEntry when it
11283 Add override methods for most features.
11284 Computes the size, forces the height of the text entry.
11286 * NumericUpDown.cs: Put here the current testing code.
11288 * Set eol-style property on all files that do not have mixed line
11289 endings, to minimize the future problems. There are still a few
11290 files with mixed endings, and someone should choose whether they
11291 want to move it or not.
11293 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11295 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11298 2004-11-30 Ravindra <rkumar@novell.com>
11300 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11301 drawing and replaced use of SystemColors by theme colors.
11302 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11303 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11304 same ListViewItem is being added more than once.
11306 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11308 * MonthCalendar.cs:
11309 - ControlStyles love to make the control not flicker
11311 2004-11-30 Peter Bartok <pbartok@novell.com>
11313 * CharacterCasing.cs: Added
11315 2004-11-29 Peter Bartok <pbartok@novell.com>
11317 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11318 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11319 I am removing these files as they conflict with already completed
11320 work. While it is fantastic to get contributions to MWF, I
11321 respectfully ask that everyone please coordinate their contributions
11322 through mono-winforms-list or #mono-winforms at this time. We're
11323 explicitly avoiding stubbing and don't want controls that don't have
11324 their basic functionality implemented in svn. Please also see
11325 http://www.mono-project.com/contributing/winforms.html
11328 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11330 * Application.cs (ModalRun): Don't hang after exit.
11332 * Theme.cs: New TreeViewDefaultSize property.
11334 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11335 with less hardcoded SystemColors constant.
11336 Implemented TreeViewDefaultSize.
11338 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11339 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11342 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11344 * MonthCalendar.cs:
11345 - Fix NextMonthDate and PrevMonthDate click moving calendar
11347 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11349 * MonthCalendar.cs:
11350 - Fix usage of ScrollChange Property when scrolling months
11352 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11354 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11355 - Fixes menu destroying
11356 - Support adding and removing items on already created menus
11358 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11360 * MonthCalendar.cs:
11361 - Re-worked all bolded dates handling to match win32
11362 * ThemeWin32Classic.cs:
11363 - Fixed rendering with bolded dates
11365 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11367 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11368 - Horizontal scroolbar
11373 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11375 * MonthCalendar.cs:
11376 - Fix Usage of MaxSelectionCount from SelectionRange
11377 - Fixed Shift + Cursor Selection
11378 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11379 - Fixed normal cursor selection to be compat with win32
11380 - Fixed Shift + Mouse Click selection
11382 2004-11-24 Peter Bartok <pbartok@novell.com>
11384 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11385 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11387 - CreatedKeyBoardMsg now updates keystate with Alt key
11388 - Added workaround for timer crash to CheckTimers, Jackson will
11389 develop a proper fix and check in later
11390 - Implemented DispatchMessage
11391 - Removed calling the native window proc from GetMessage (call
11392 now moved to DispatchMessage)
11394 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11395 the keydata (Fixes bug #69831)
11398 - (DispatchMessage): Switched to return IntPtr
11399 - Added DllImport for SetFocus
11401 2004-11-24 Ravindra <rkumar@novell.com>
11403 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11404 background drawing.
11405 * ListViewItem.cs: Fixed various properties, calculations
11406 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11407 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11408 and some internal properties. Fixed MouseDown handler and Paint
11411 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11413 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11415 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11417 * ContainerControl.cs: correct accidental check in of local changes
11419 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11421 * ThemeWin32Classic.cs:
11422 - Fixed Drawing Last month in grid (sometimes not showing)
11423 * MonthCalendar.cs:
11424 - Fixed title width calculation bug (makeing title small)
11426 2004-11-23 Peter Bartok <pbartok@novell.com>
11429 - Added generation of WM_MOUSEHOVER event
11430 - Added missing assignment of async_method atom
11431 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11433 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11435 * ThemeWin32Classic.cs:
11436 - Fixed Drawing of today circle when showtodaycircle not set
11437 - fixed drawing of first and last month in the grid (gay dates)
11438 * MonthCalendar.cs:
11439 - Fixed Drawing of today circle
11440 - Fixed drawing of grady dates
11441 - Fixed HitTest for today link when ShowToday set to false
11442 - Fixed DefaultSize to obey ShowToday
11444 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11446 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11447 * System.Windows.Forms/Theme.cs
11448 * MonthCalendar.cs: added for MonthCalendar
11449 * SelectionRange.cs: added for MonthCalendar
11450 * Day.cs: added for MonthCalendar: added for MonthCalendar
11451 * DateRangeEventArgs.cs: added for MonthCalendar
11452 * DateRangeEventHandler.cs: added for MonthCalendar
11454 2004-11-22 Ravindra <rkumar@novell.com>
11456 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11459 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11461 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11464 * NumericUpDown.cs: Added new implementation.
11465 * UpDownBase.cs: Added new implementation.
11467 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11470 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11473 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11476 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11478 * Timer.cs (Dispose): Should call the base dispose when
11481 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11483 * ScrollBar.cs: updates thumb position when max, min or increment
11486 2004-11-21 Ravindra <rkumar@novell.com>
11488 * ListView.cs: Implemented item selection, activation and
11489 column header style. Fixed properties to do a redraw, if
11490 required. Added support for MouseHover, DoubleClick, KeyDown
11491 and KeyUp event handling and some minor fixes.
11492 * ListViewItem.cs: Fixed constructor.
11493 * ThemeWin32Classic.cs: Improved drawing for ListView.
11495 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11497 * ThemeWin32Classic.cs: initial listbox drawing code
11498 * DrawMode.cs: new enumerator
11499 * ListControl.cs: stubbed class
11500 * ListBox.cs: initial implementation
11501 * Theme.cs: new methods definitions
11502 * SelectionMode.cs: new enumerator
11504 2004-11-17 Peter Bartok <pbartok@novell.com>
11506 * XplatUIWin32.cs: Added double-click events to the class style
11507 * Control.cs (WndProc):
11508 - Added handling of click-count to MouseDown/ MouseUp events.
11509 - Added handling of middle and right mouse buttons
11510 - Removed old debug code
11512 2004-11-17 Jackson Harper <jackson@ximian.com>
11514 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11516 2004-11-17 Ravindra <rkumar@novell.com>
11518 * ListView.cs: Added event handling for MouseMove/Up/Down.
11519 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11520 * ThemeWin32Classic.cs: We need to clear the graphics context and
11521 draw column header in a proper state.
11524 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11526 * Menu.cs: fixes signature
11528 2004-11-16 Peter Bartok <pbartok@novell.com>
11530 * XplatUIX11.cs (GetMessage): Implemented generation of
11531 double click mouse messages
11533 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11535 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11538 2004-11-11 Peter Bartok <pbartok@novell.com>
11540 * HandleData.cs: Added Visible property
11541 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11543 * XplatUIX11.cs: Removed old debug leftovers
11544 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11545 * Control.cs (WndProc): Removed old debug leftovers,
11546 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11547 needed WM_SIZE handling
11549 2004-11-11 Jackson Harper <jackson@ximian.com>
11551 * OwnerDrawPropertyBag.cs:
11552 * TreeViewImageIndexConverter.cs: Initial implementation
11554 2004-11-10 Jackson Harper <jackson@ximian.com>
11556 * ThemeWin32Classic.cs:
11557 * TabControl.cs: instead of moving tabs by the slider pos just
11558 start drawing at the tab that is offset by the slider. This way
11559 scrolling always moves by exactly one tab.
11561 2004-11-10 Jackson Harper <jackson@ximian.com>
11563 * TabControl.cs: You can only scroll left when the slider has
11564 already ben moved right.
11566 2004-11-10 Jackson Harper <jackson@ximian.com>
11568 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11571 2004-11-10 Jackson Harper <jackson@ximian.com>
11573 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11576 2004-11-09 Jackson Harper <jackson@ximian.com>
11578 * TabControl.cs (CalcXPos): New helper method so we can determine
11579 the proper place to start drawing vertical tabs.
11580 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11582 2004-11-09 Jackson Harper <jackson@ximian.com>
11584 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11585 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11586 and Bottom, left and right are illegal values for this and
11587 multiline is enabled when the alignment is set to left or right.
11588 (DrawTab): Each alignment block should draw the text itself now
11589 because Left requires special love. Also add rendering for Left
11592 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11594 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11595 does not destroy the windows, removes debugging messages
11597 2004-11-09 jba <jba-mono@optusnet.com.au>
11599 * ThemeWin32Classic.cs
11600 (DrawButtonBase): Fix verticle text rect clipping in windows
11601 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11602 rendering and incorrect text rect clipping
11603 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11604 rendering and incorrect text rect clipping
11606 2004-11-08 Jackson Harper <jackson@ximian.com>
11608 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11609 bottom when they are bottom aligned so the bottoms of the tabs get
11611 * TabControl.cs (DropRow): Move rows up instead of down when the
11612 tab control is bottom aligned.
11614 2004-11-08 13:59 pbartok
11617 - Added handling for various window styles
11618 - Added handling for popup windows
11619 - Added SetTopmost handling
11621 2004-11-08 13:55 pbartok
11624 - Added argument to SetTopmost method
11625 - Fixed broken ClientToScreen function
11627 2004-11-08 13:53 pbartok
11629 * XplatUIStructs.cs:
11630 - Added missing WS_EX styles
11632 2004-11-08 13:53 pbartok
11634 * XplatUI.cs, XplatUIDriver.cs:
11635 - Added argument to SetTopmost
11637 2004-11-08 13:52 pbartok
11640 - Added XSetWindowAttributes structure
11641 - Improved XWindowAttributes structure
11642 - Added SetWindowValuemask enum
11643 - Added window creation arguments enum
11644 - Added gravity enum
11645 - Added Motif hints structure
11646 - Added various Motif flags and enums
11647 - Added PropertyMode enum for property functions
11649 2004-11-08 13:50 pbartok
11652 - Fixed arguments for updated SetTopmost method
11654 2004-11-08 13:49 pbartok
11657 - Fixed arguments for updated SetTopmost function
11658 - Fixed usage of PointToClient
11660 2004-11-08 13:44 pbartok
11663 - Added Clipping of children and siblings
11665 2004-11-08 13:41 pbartok
11668 - Removed SetMenuBarWindow call. We do this in Form.cs
11670 2004-11-08 13:40 jackson
11672 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11673 scrolling jimmi in the correct location with bottom aligned tabs
11675 2004-11-08 13:36 pbartok
11677 * ContainerControl.cs:
11678 - Implemented BindingContext
11679 - Implemented ParentForm
11681 2004-11-08 12:46 jackson
11683 * TabControl.cs: Put bottom rendered tabs in the right location
11685 2004-11-08 07:15 jordi
11687 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11690 2004-11-05 17:30 jackson
11692 * TabControl.cs: When selected tabs are expanded make sure they
11693 don't go beyond the edges of the tab control
11695 2004-11-05 14:57 jackson
11697 * TabControl.cs: Reset show_slider so if the control is resized to
11698 a size where it is no longer needed it's not displayed anymore
11700 2004-11-05 13:16 jackson
11702 * TabControl.cs: Make tab pages non visible when added to the
11705 2004-11-05 12:42 jackson
11707 * TabControl.cs: Implement SizeMode.FillToRight
11709 2004-11-05 12:16 jackson
11711 * Control.cs: Do not call CreateHandle if the handle is already
11714 2004-11-05 11:46 jackson
11716 * TabControl.cs: Remove superflous call to CalcTabRows
11718 2004-11-05 09:07 jackson
11720 * XplatUIX11.cs: Update for Mono.Posix changes
11722 2004-11-05 07:00 ravindra
11724 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11727 2004-11-04 22:47 jba
11729 * ThemeWin32Classic.cs:
11730 - Fix Button rendering for FlatStyle = Flat or Popup
11731 - Fix RadioButton and CheckBox rendering when Appearance = Button
11732 (normal and flatstyle).
11733 - Correct outer rectangle color when drawing focus rectangle
11734 - Adjust button bounds to be 1 px smaller when focused
11735 - Make button not draw sunken 3d border when pushed (windows compat)
11736 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11737 - Offset the text in RadioButton and Checkbox when being rendered as
11739 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11741 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11742 - Fixed disabled text rendering for normally rendered radiobuttons
11744 2004-11-04 10:26 jackson
11746 * TabControl.cs: Recalculate tab rows when resizing
11748 2004-11-04 07:47 jordi
11750 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11751 collection completion, drawing issues, missing features
11753 2004-11-04 05:03 ravindra
11756 - We need to recalculate the Thumb area when
11757 LargeChange/maximum/minimum values are changed.
11758 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11759 than minimum. This is required to handle the case if large_change is
11760 more than max, and use LargeChange property instead of large_change
11762 - We return max+1 when large_change is more than max, like MS does.
11764 2004-11-04 04:29 ravindra
11766 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11767 - Changed default value signatures (prefixed all with ListView).
11768 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11770 - Fixed calculations for ListViewItem and implemented Clone()
11773 2004-11-04 04:26 ravindra
11775 * Theme.cs, ThemeWin32Classic.cs:
11776 - Changed default ListView values signatures (prefixed all with
11778 - Fixed default size values for VScrollBar and HScrollBar.
11779 - Fixed DrawListViewItem method.
11781 2004-11-04 04:05 ravindra
11783 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11785 2004-11-04 04:04 ravindra
11787 * ImageList.cs: Implemented the missing overload for Draw method.
11789 2004-11-03 19:29 jackson
11791 * TabControl.cs: Handle dropping rows on selection properly
11793 2004-11-03 11:59 jackson
11795 * TabControl.cs: remove debug code
11797 2004-11-03 11:52 jackson
11799 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11800 the scrolly widgerywoo
11802 2004-11-02 13:52 jackson
11804 * TabControl.cs: Resize the tab pages and tabs when the tab control
11807 2004-11-02 13:40 jackson
11809 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11810 selected tab to the bottom
11812 2004-11-02 13:39 jackson
11814 * TabPage.cs: Store the tab pages row
11816 2004-11-02 12:33 jordi
11818 * MenuItem.cs: fixes handle creation
11820 2004-11-02 11:42 jackson
11822 * TabControl.cs: signature fix
11824 2004-11-02 08:56 jackson
11826 * TabControl.cs: Calculate whether the tab is on an edge properly.
11827 Remove top secret debugging code
11829 2004-11-01 19:57 jackson
11831 * TabControl.cs: Add click handling, and proper sizing
11833 2004-11-01 19:47 jackson
11835 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11838 2004-11-01 19:39 jackson
11840 * TabPage.cs: add internal property to store the bounds of a tab
11843 2004-10-30 04:23 ravindra
11845 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11848 2004-10-30 04:21 ravindra
11850 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11851 fixed calculations.
11853 2004-10-30 03:06 pbartok
11856 - Removed extension of DllImported libs
11858 2004-10-29 09:55 jordi
11860 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11861 navigation, itemcollection completion, menu fixes
11863 2004-10-27 22:58 pbartok
11866 - Now throws a nice error message when no X display could be opened
11868 2004-10-26 13:51 jordi
11870 * ListView.cs: removes warning
11872 2004-10-26 03:55 ravindra
11874 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11875 ThemeWin32Classic.cs: Some formatting for my last checkins.
11877 2004-10-26 03:36 ravindra
11879 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11880 control and default values.
11882 2004-10-26 03:35 ravindra
11884 * Theme.cs: Added some default values for ListView control.
11886 2004-10-26 03:33 ravindra
11888 * ToolBar.cs: ToolBar should use the user specified button size, if
11889 there is any. Added a size_specified flag for the same.
11891 2004-10-26 03:33 ravindra
11893 * ColumnHeader.cs: Added some internal members and calculations for
11896 2004-10-26 03:32 ravindra
11898 * ListViewItem.cs: Calculations for ListViewItem.
11900 2004-10-26 03:31 ravindra
11902 * ListView.cs: Added some internal members and calculations for
11905 2004-10-22 13:31 jordi
11907 * MenuAPI.cs: speedup menus drawing
11909 2004-10-22 13:16 jackson
11911 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11914 2004-10-22 11:49 jackson
11918 2004-10-22 11:41 jackson
11920 * Control.cs: Check to see if the window should have its background
11921 repainted by X when drawing.
11923 2004-10-22 11:31 jackson
11925 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11926 clear is true, this way we do not get flicker from X repainting the
11929 2004-10-22 11:28 jackson
11931 * XEventQueue.cs: Queue properly
11933 2004-10-21 09:38 jackson
11935 * XEventQueue.cs: Fix access modifier
11937 2004-10-21 09:36 jackson
11939 * XEventQueue.cs: Don't loose messages
11941 2004-10-21 09:22 jackson
11943 * XEventQueue.cs: Don't loose messages
11945 2004-10-20 04:15 jordi
11947 * BootMode.cs: enum need it by SystemInfo
11949 2004-10-19 21:58 pbartok
11952 - Small sanity check
11954 2004-10-19 21:56 pbartok
11957 - Added private FormParentWindow class which acts as the container
11958 for our form and as the non-client area where menus are drawn
11959 - Added/Moved required tie-ins to Jordi's menus
11960 - Fixed/Implemented the FormStartPosition functionality
11962 2004-10-19 21:52 pbartok
11965 - Removed unneeded locals
11966 - Added code to all size and location properties to understand and
11967 deal with the parent container of Form
11969 2004-10-19 21:33 pbartok
11972 - Fixed to deal with new Form subclasses for menus
11974 2004-10-19 17:48 jackson
11976 * XEventQueue.cs: commit correct version of file
11978 2004-10-19 16:50 jackson
11980 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11982 2004-10-19 16:15 jordi
11984 * MenuAPI.cs: MenuBarCalcSize returns the height
11986 2004-10-19 08:31 pbartok
11989 - Added missing call to PreProcessMessage before calling OnXXXKey
11992 2004-10-19 00:04 ravindra
11994 * ToolTip.cs: Fixed constructor.
11996 2004-10-18 09:31 jordi
11998 * MenuAPI.cs: menuitems in menubars do not have shortcuts
12000 2004-10-18 09:26 jordi
12002 * MenuItem.cs: fixes MenuItem class signature
12004 2004-10-18 08:56 jordi
12006 * MenuAPI.cs: prevents windows from showing in the taskbar
12008 2004-10-18 00:28 ravindra
12010 * ToolTip.cs: Suppressed a warning message.
12012 2004-10-18 00:27 ravindra
12014 * Control.cs: Default value of visible property must be true.
12016 2004-10-17 23:19 pbartok
12019 - Complete implementation
12021 2004-10-17 23:19 pbartok
12024 - Added EnableWindow method
12025 - Added SetModal stub
12026 - Added generation of WM_ACTIVATE message (still needs testing)
12027 - Added SetTopMost stub
12028 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
12030 2004-10-17 23:17 pbartok
12033 - Removed VirtualKeys to XplatUIStructs
12034 - Implemented SetTopMost method
12035 - Implemented EnableWindow method
12036 - Bugfix in ScreenToClient()
12037 - Bugfixes in ClientToScreen()
12039 2004-10-17 22:51 pbartok
12041 * XplatUIStructs.cs:
12042 - Added WS_EX styles to WindowStyles enumeration
12044 2004-10-17 22:50 pbartok
12046 * XplatUI.cs, XplatUIDriver.cs:
12047 - Added method for enabling/disabling windows
12048 - Added method for setting window modality
12049 - Added method for setting topmost window
12051 2004-10-17 22:49 pbartok
12053 * ThemeWin32Classic.cs:
12054 - Added ToolTip drawing code
12056 2004-10-17 22:49 pbartok
12059 - Added ToolTip abstracts
12061 2004-10-17 22:47 pbartok
12064 - Fixed Form.ControlCollection to handle owner relations
12065 - Added Owner/OwnedForms handling
12066 - Implemented Z-Ordering for owned forms
12067 - Removed unneeded private overload of ShowDialog
12068 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
12070 - Fixed Close(), had wrong default
12071 - Added firing of OnLoad event
12072 - Added some commented out debug code for Ownership handling
12074 2004-10-17 22:16 pbartok
12077 - Fixed/implemented flat list of controls
12079 2004-10-17 22:14 pbartok
12082 - Added code to simulate modal dialogs on Win32
12084 2004-10-17 16:11 jordi
12086 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
12089 2004-10-17 13:39 jordi
12091 * MenuAPI.cs: menu drawing fixes
12093 2004-10-15 09:10 ravindra
12095 * StructFormat.cs: General Enum.
12097 2004-10-15 09:09 ravindra
12099 * SizeGripStyle.cs: Enum for Form.
12101 2004-10-15 09:08 ravindra
12103 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
12104 in Theme for ListView.
12106 2004-10-15 09:06 ravindra
12108 * ColumnHeader.cs: Flushing some formatting changes.
12110 2004-10-15 09:05 ravindra
12112 * ListViewItem.cs: Implemented GetBounds method and fixed coding
12115 2004-10-15 09:03 ravindra
12117 * ListView.cs: Implemented Paint method and fixed coding style.
12119 2004-10-15 07:34 jordi
12121 * MenuAPI.cs: fix for X11
12123 2004-10-15 07:32 ravindra
12125 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
12126 - Renamed Paint() method to Draw() for clarity. Also, moved
12127 DrawImage() to OnPaint().
12129 2004-10-15 07:25 ravindra
12131 * CheckBox.cs, RadioButton.cs:
12132 - Removed Redraw (), we get it from ButtonBase.
12133 - Implemented Paint (), to do class specific painting.
12135 2004-10-15 07:16 ravindra
12138 - Redraw () is not virtual now.
12139 - Added an internal virtual method Paint (), so that
12140 derived classes can do their painting on their own.
12141 - Modified OnPaint () to call Paint ().
12143 2004-10-15 06:43 jordi
12145 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
12146 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
12148 2004-10-15 00:30 ravindra
12151 - MessageBox on windows does not have min/max buttons.
12152 This change in CreateParams fixes this on Windows. We
12153 still need to implement this windowstyle behavior in
12156 2004-10-14 05:14 ravindra
12159 - Changed Redraw () to do a Refresh () always.
12160 - Fixed the MouseMove event handling when mouse is pressed,
12161 ie drag event handling.
12162 - Replaced the usage of ToolBarButton.Pressed property to
12163 ToolBarButton.pressed internal variable.
12165 2004-10-14 05:10 ravindra
12167 * ToolBarButton.cs:
12168 - Added an internal member 'inside' to handle mouse move
12169 with mouse pressed ie mouse drag event.
12170 - Changed 'Pressed' property to return true only when
12171 'inside' and 'pressed' are both true.
12172 - Some coding style love.
12174 2004-10-14 00:17 ravindra
12176 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
12179 2004-10-14 00:15 ravindra
12181 * ButtonBase.cs: Redraw () related improvements.
12183 2004-10-14 00:14 ravindra
12185 * MessageBox.cs: Moved InitFormSize () out of Paint method and
12186 removed unnecessary calls to Button.Show () method.
12188 2004-10-13 17:50 pbartok
12192 - Removed destroying of window until we solve the problem of X
12193 destroying the window before us on shutdown
12195 2004-10-13 16:32 pbartok
12198 - Now Redraws on MouseUp for FlatStyle Flat and Popup
12200 2004-10-13 14:18 pbartok
12203 - Added code to destroy the X window
12205 2004-10-13 14:18 pbartok
12208 - Added code to destroy a window
12210 2004-10-13 14:12 pbartok
12213 - Added the Redraw on Resize that got dropped in the last rev
12215 2004-10-13 09:06 pbartok
12217 * ThemeWin32Classic.cs:
12218 - Path from John BouAntoun:
12219 * Fix check rendering (centre correctly for normal style, offset
12220 correctly for FlatStyle).
12221 * Fix border color usage (use backcolor) for FlatStyle.Popup
12222 * Use checkbox.Capture instead of checkbox.is_pressed when
12223 rendering flatstyle states.
12225 2004-10-12 21:48 pbartok
12227 * ThemeWin32Classic.cs:
12228 - Removed all occurences of SystemColors and replaced them with the
12229 matching theme color
12231 2004-10-12 21:41 pbartok
12233 * ThemeWin32Classic.cs:
12234 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12235 him using the function for flatstyle drawing
12236 - Changed functions to use the new version of CPDrawBorder3D
12238 2004-10-12 21:15 pbartok
12241 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12242 match MS documentation. They need to return defined colors if the
12243 passed color matches the configured control color. Thanks to John
12244 BouAntoun for pointing this out.
12246 2004-10-12 20:57 pbartok
12249 - Fix from John BouAntoun: Raise ForeColorChanged event when text
12252 2004-10-12 20:46 pbartok
12255 - Fix from John BouAntoun: Now properly sets the Appearance property
12257 2004-10-12 20:45 pbartok
12259 * ThemeWin32Classic.cs:
12260 - Fixes from John BouAntoun: now handles forecolors and backcolors
12261 for flatstyle rendered controls much better; It also fixes normal
12262 checkbox rendering when pushed or disabled.
12264 2004-10-08 02:50 jordi
12266 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
12269 2004-10-07 08:56 jordi
12271 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12273 2004-10-06 03:59 jordi
12275 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12276 XplatUIWin32.cs: removes warnings from compilation
12278 2004-10-05 12:23 jackson
12280 * RadioButton.cs: Fix ctor
12282 2004-10-05 11:10 pbartok
12285 - Partial implementation by Benjamin Dasnois
12287 2004-10-05 10:15 jackson
12289 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12292 2004-10-05 03:07 ravindra
12295 - Removed a private method, Draw ().
12296 - Fixed the ButtonDropDown event handling.
12297 - Fixed MouseMove event handling.
12299 2004-10-05 03:04 ravindra
12301 * ThemeWin32Classic.cs:
12302 - Added DrawListView method and ListViewDefaultSize property.
12303 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12304 - Changed DOS style CRLF to Unix format (dos2unix).
12306 2004-10-05 03:03 ravindra
12309 - Added DrawListView method and ListViewDefaultSize property.
12311 2004-10-05 02:42 ravindra
12313 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12314 clicks on DropDown arrow.
12316 2004-10-04 22:56 jackson
12318 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12319 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12320 Control handle the buffers, derived classes should not have to
12321 CreateBuffers themselves.
12323 2004-10-04 21:20 jackson
12325 * StatusBar.cs: The control handles resizing the buffers now.
12327 2004-10-04 21:18 jackson
12329 * Control.cs: When resizing the buffers should be invalidated. This
12330 should be handled in Control not in derived classes.
12332 2004-10-04 14:45 jackson
12336 2004-10-04 02:14 pbartok
12338 * LeftRightAlignment.cs:
12341 2004-10-04 01:09 jordi
12343 * ThemeWin32Classic.cs: fixes right button position causing right
12344 button not showing on horizontal scrollbars
12346 2004-10-02 13:12 pbartok
12349 - Simplified the Invalidate method by using an X call instead of
12350 generating the expose ourselves
12351 - Added an expose when the window background is changed
12352 - Implemented ClientToScreen method
12354 2004-10-02 13:08 pbartok
12357 - Added Win32EnableWindow method (test for implementing modal
12359 - Added ClientToScreen method and imports
12361 2004-10-02 13:07 pbartok
12363 * XplatUI.cs, XplatUIDriver.cs:
12364 - Added ClientToScreen coordinate translation method
12366 2004-10-02 13:06 pbartok
12368 * KeyPressEventArgs.cs:
12369 - Fixed access level for constructor
12371 2004-10-02 13:06 pbartok
12374 - Changed access level for the window_collection hash table
12376 2004-10-02 13:05 pbartok
12379 - Added KeyPreview property
12380 - Added Menu property (still incomplete, pending Jordi's menu work)
12381 - Implemented ProcessCmdKey
12382 - Implemented ProcessDialogKey
12383 - Implemented ProcessKeyPreview
12385 2004-10-02 13:02 pbartok
12388 - Added private method to get the Control object from the window
12390 - Implemented ContextMenu property
12391 - Implemented PointToScreen
12392 - Implemented PreProcessMessage
12393 - Implemented IsInputChar
12394 - Implemented IsInputKey
12395 - Implemented ProcessCmdKey
12396 - Completed ProcessKeyEventArgs
12397 - Fixed message loop to call the proper chain of functions on key
12399 - Implemented ProcessDialogChar
12400 - Implemented ProcessDialogKey
12401 - Implemented ProcessKeyMessage
12402 - Implemented ProcessKeyPreview
12403 - Added RaiseDragEvent stub (MS internal method)
12404 - Added RaiseKeyEvent stub (MS internal method)
12405 - Added RaiseMouseEvent stub (MS Internal method)
12406 - Added RaisePaintEvent stub (MS Internal method)
12407 - Added ResetMouseEventArgs stub (MS Internal method)
12408 - Implemented RtlTranslateAlignment
12409 - Implemented RtlTranslateContent
12410 - Implemented RtlTranslateHorizontal
12411 - Implemented RtlTranslateLeftRight
12412 - Added generation of KeyPress event
12414 2004-10-02 05:57 ravindra
12416 * ListViewItem.cs: Added attributes.
12418 2004-10-02 05:32 ravindra
12420 * ListView.cs: Added attributes.
12422 2004-10-01 11:53 jackson
12424 * Form.cs: Implement the Close method so work on MessageBox can
12427 2004-09-30 14:06 pbartok
12432 2004-09-30 11:34 jackson
12434 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12436 2004-09-30 07:26 ravindra
12438 * ListViewItemConverter.cs: Converter for ListViewItem.
12440 2004-09-30 07:26 ravindra
12442 * SortOrder.cs: Enum for ListView control.
12444 2004-09-30 07:25 ravindra
12446 * ColumnHeader.cs: Supporting class for ListView control.
12448 2004-09-30 07:24 ravindra
12450 * ListView.cs, ListViewItem.cs: Initial implementation.
12452 2004-09-30 07:20 ravindra
12454 * ItemActivation.cs: Enum for ListView Control.
12456 2004-09-29 20:29 pbartok
12459 - Added lookup of pixel value for background color; tries to get a
12460 color 'close' to the requested color, it avoids having to create a
12461 colormap. Depending on the display this could mean the used color
12462 is slightly off the desired color. Might have to change it to a more
12463 resource intensive colormap approach, but it will work as a
12464 workaround to avoid red screens.
12466 2004-09-29 14:27 jackson
12468 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12470 2004-09-28 12:44 pbartok
12472 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12473 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12474 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12475 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12476 TrackBar.cs, VScrollBar.cs:
12477 - Streamlined Theme interfaces:
12478 * Each DrawXXX method for a control now is passed the object for
12479 the control to be drawn in order to allow accessing any state the
12480 theme might require
12482 * ControlPaint methods for the theme now have a CP prefix to avoid
12483 name clashes with the Draw methods for controls
12485 * Every control now retrieves it's DefaultSize from the current
12488 2004-09-28 12:17 jackson
12490 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12493 2004-09-24 14:57 jackson
12495 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12496 Gives us a nice little performance boost.
12498 2004-09-24 12:02 jackson
12500 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12501 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12502 Control and supporting classes. Initial checkin
12504 2004-09-23 13:08 jackson
12506 * Form.cs: Temp build fixage
12508 2004-09-23 01:39 ravindra
12510 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12511 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12512 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12513 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12514 EventHandlers needed by ListView Control.
12516 2004-09-22 14:12 pbartok
12518 * ScrollableControl.cs:
12519 - Implemented DockPadding property
12520 - Implemented AutoScroll property
12521 - Implemented AutoScrollMargin property
12522 - Implemented AutoScrollMinSize property
12523 - Implemented AutoScrollPosition property
12524 - Implemented DisplayRectangle property (still incomplete)
12525 - Implemented CreateParams property
12526 - Implemented HScroll property
12527 - Implemented VScroll property
12528 - Implemented OnVisibleChanged property
12530 2004-09-22 14:09 pbartok
12533 - Added Form.ControllCollection class
12534 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12535 RemoveOwnedForm (still incomplete, missing on-top and common
12536 minimize/maximize behaviour)
12537 - Added StartPosition property (still incomplete, does not use when
12539 - Added ShowDialog() methods (still incomplete, missing forcing the
12542 2004-09-22 14:05 pbartok
12545 - Added message loop for modal dialogs
12547 2004-09-22 14:02 pbartok
12550 - Fixed wrong types for events
12552 2004-09-22 14:00 pbartok
12554 * Shortcut.cs, FormWindowState.cs:
12555 - Fixed wrong values
12557 2004-09-22 12:01 jackson
12559 * Control.cs: Text is never null
12561 2004-09-20 22:14 pbartok
12564 - Fixed accessibility level for Idle handler
12566 2004-09-20 18:54 jackson
12568 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12569 XplatUIX11.cs: New message loop that uses poll so we don't get a
12572 2004-09-17 10:43 pbartok
12575 - Fixed behaviour of arrow buttons. Now properly behaves like
12576 Buttons (and like Microsoft's scrollbar arrow buttons)
12578 2004-09-17 10:14 pbartok
12581 - Added missing release of keyboard/mouse capture
12583 2004-09-17 06:18 jordi
12585 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12586 Theme.cs: Very early menu support
12588 2004-09-16 17:45 pbartok
12591 - Fixed sending a window to the front
12592 - Added overload for SetWindowPos to avoid casting
12594 2004-09-16 17:44 pbartok
12597 - Added SendToBack and BringToFront methods
12599 2004-09-16 07:00 ravindra
12601 * Copyright: Added Novell URL.
12603 2004-09-16 07:00 ravindra
12605 * ToolBar.cs: Invalidate should be done before redrawing.
12607 2004-09-15 21:19 ravindra
12609 * ColumnHeaderStyle.cs: Enum for ListView Control.
12611 2004-09-15 21:18 ravindra
12613 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12616 2004-09-13 18:26 jackson
12618 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12621 2004-09-13 18:13 jackson
12623 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12624 a second thread and post messages into the main threads message
12625 queue. This makes timing much more consistent. Both win2K and XP
12626 have a minimum timer value of 15 milliseconds, so we now do this
12629 2004-09-13 15:18 pbartok
12631 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12633 - Added Z-Ordering methods
12635 2004-09-13 10:56 pbartok
12638 - Fixed #region names
12639 - Moved properties and methods into their proper #regions
12641 2004-09-13 10:51 pbartok
12644 - Added Accept and CancelButton properties
12645 - Added ProcessDialogKey() method
12647 2004-09-13 08:18 pbartok
12649 * IWindowTarget.cs:
12652 2004-09-10 21:50 pbartok
12655 - Added DoDragDrop() [incomplete]
12656 - Properly implemented 'Visible' handling
12657 - Added SetVisibleCore()
12658 - Implemented FindChildAtPoint()
12659 - Implemented GetContainerControl()
12660 - Implemented Hide()
12662 2004-09-10 19:28 pbartok
12665 - Moved methods into their appropriate #regions
12666 - Reordered methods within regions alphabetically
12668 2004-09-10 18:57 pbartok
12670 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12671 - Added method to retrieve text from window
12673 2004-09-10 18:56 pbartok
12676 - Moved some internal functions into the internal region
12677 - Implemented FontHeight
12678 - Implemented RenderRightToLeft
12679 - Implemented ResizeRedraw
12680 - Implemented ShowFocusCues
12681 - Implemented ShowKeyboardCues
12682 - Implemented FromChildHandle
12683 - Implemented FromHandle
12684 - Implemented IsMnemonic
12685 - Implemented ReflectMessage
12686 - All public and protected Static Methods are now complete
12688 2004-09-10 16:54 pbartok
12691 - Implemented remaining missing public instance properties
12692 - Alphabetized some out of order properties
12694 2004-09-10 05:51 ravindra
12696 * PictureBox.cs: Added a check for null image.
12698 2004-09-10 00:59 jordi
12700 * GroupBox.cs: remove cvs tag
12702 2004-09-09 05:25 ravindra
12704 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12706 2004-09-09 05:23 ravindra
12708 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12711 2004-09-09 02:28 pbartok
12713 * ThemeWin32Classic.cs:
12714 - Improve disabled string look
12716 2004-09-09 01:15 jordi
12718 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12721 2004-09-08 23:56 ravindra
12723 * ItemBoundsPortion.cs: It's enum, not a class!
12725 2004-09-08 23:47 ravindra
12727 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12730 2004-09-08 21:13 ravindra
12732 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12735 2004-09-08 21:03 ravindra
12737 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12740 2004-09-08 21:01 ravindra
12742 * ScrollableControl.cs: Removed unreachable code.
12744 2004-09-08 06:45 jordi
12746 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12748 2004-09-08 01:00 jackson
12750 * XplatUIX11.cs: Only run the timers when updating the message
12751 queue. This effectively gives X messages a higher priority then
12752 timer messages. Timers still need love though
12754 2004-09-07 14:01 jackson
12756 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12757 this for us and the handle is no longer valid.
12759 2004-09-07 13:59 jackson
12761 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12762 loop that manages to not crash. TODO: Add poll and cleanup timers
12764 2004-09-07 11:12 jordi
12766 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12768 2004-09-07 03:40 jordi
12770 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12771 fixes, methods, multiple links
12773 2004-09-06 06:55 jordi
12775 * Control.cs: Caches ClientRectangle rectangle value
12777 2004-09-05 02:03 jordi
12779 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12782 2004-09-04 11:10 jordi
12784 * Label.cs: Refresh when font changed
12786 2004-09-02 16:24 pbartok
12789 - Added sanity check to creation of double buffer bitmap
12791 2004-09-02 16:24 pbartok
12794 - Fixed selection of text color
12795 - Fixed handling of resize event; now properly recreates double
12797 - Added missing assignment of TextAlignment
12798 - Added proper default for TextAlignment
12800 2004-09-02 14:26 pbartok
12803 - Added missing RadioButton.RadioButtonAccessibleObject class
12805 2004-09-02 14:26 pbartok
12808 - Added missing Control.ControlAccessibleObject class
12809 - Started to implement Select()ion mechanisms, still very incomplete
12811 2004-09-02 14:25 pbartok
12813 * AccessibleObject.cs:
12814 - Added missing methods
12816 2004-09-02 14:23 pbartok
12818 * AccessibleNavigation.cs, AccessibleSelection.cs:
12821 2004-09-02 10:32 jordi
12823 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12824 pool for pens, brushes, and hatchbruses
12826 2004-09-01 15:30 jackson
12828 * StatusBar.cs: Fix typo
12830 2004-09-01 14:44 pbartok
12835 2004-09-01 14:39 pbartok
12837 * Button.cs, RadioButton.cs:
12838 - Functional initial check-in
12840 2004-09-01 14:01 pbartok
12843 - Added missing default
12844 - Added missing region mark
12846 2004-09-01 09:10 jordi
12848 * Label.cs: fixes method signatures, new methods, events, fixes
12851 2004-09-01 07:19 jordi
12853 * Control.cs: Init string variables with an empty object
12855 2004-09-01 04:20 jordi
12857 * Control.cs: fires OnFontChanged event
12859 2004-08-31 20:07 pbartok
12862 - Enabled display of strings
12864 2004-08-31 20:05 pbartok
12867 - Added (partial) implementation of DialogResult; rest needs to be
12868 implemented when the modal loop code is done
12870 2004-08-31 19:55 pbartok
12873 - Fixed to match the removal of the needs_redraw concept
12875 2004-08-31 19:55 pbartok
12878 - Removed the rather odd split between 'needs redraw' and redrawing
12879 - Now handles the events that require regeneration (ambient
12880 properties and size)
12882 2004-08-31 19:41 pbartok
12885 - Added firing of BackColorChanged event
12886 - Added TopLevelControl property
12887 - Fixed handling of WM_ERASEBKGRND message
12889 2004-08-31 12:49 pbartok
12895 2004-08-31 12:48 pbartok
12898 - Finished (famous last words)
12900 2004-08-31 04:35 jordi
12902 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12903 scrolling bugs, adds new methods
12905 2004-08-30 14:42 pbartok
12908 - Implemented CheckBox drawing code
12910 2004-08-30 14:42 pbartok
12913 - Made Redraw() and CheckRedraw() virtual
12914 - Improved mouse up/down/move logic to properly track buttons
12916 2004-08-30 09:44 pbartok
12919 - Updated to fix broken build. Not complete yet.
12921 2004-08-30 09:28 pbartok
12926 2004-08-30 09:17 pbartok
12931 2004-08-27 16:12 ravindra
12933 * ToolBarButton.cs: Added TypeConverter attribute.
12935 2004-08-27 16:07 ravindra
12937 * ImageIndexConverter.cs: Implemented.
12939 2004-08-27 14:17 pbartok
12942 - Removed unneeded stack vars
12943 - First attempt to fix sizing issues when layout is suspended
12945 2004-08-25 15:35 jordi
12947 * ScrollBar.cs: more fixes to scrollbar
12949 2004-08-25 14:04 ravindra
12951 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12952 Added the missing divider code and grip for ToolBar Control.
12954 2004-08-25 13:20 pbartok
12957 - Control now properly passes the ambient background color to child
12960 2004-08-25 13:20 jordi
12962 * ScrollBar.cs: small bug fix regarding bar position
12964 2004-08-25 12:33 pbartok
12967 - Now only calls SetTimer or KillTimer if the enabled state has
12970 2004-08-25 12:33 pbartok
12973 - Fixed timer handling, now seems to work
12974 - Improved error message for window creation
12976 2004-08-25 12:32 pbartok
12979 - Fixed generation of MouseUp message
12981 2004-08-25 12:29 jordi
12983 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12984 and fixes for progressbar
12986 2004-08-24 18:43 ravindra
12988 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12989 in ToolBar control.
12991 2004-08-24 17:15 pbartok
12995 - Added missing events
12998 2004-08-24 17:14 pbartok
13000 * StatusBar.cs, PictureBox.cs:
13001 - Now uses Control's CreateParams
13003 2004-08-24 16:36 pbartok
13006 - Fixed background color handling
13007 - Fixed sending of enter/leave events on a grab
13009 2004-08-24 16:35 pbartok
13012 - Refined definitions for CrossingEvent
13014 2004-08-24 12:37 jordi
13016 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
13017 formmating, methods signature, and adds missing events
13019 2004-08-24 12:24 jordi
13021 * Control.cs: fire OnEnabledChanged event
13023 2004-08-24 11:17 pbartok
13026 - Implemented SetTimer() and KillTimer()
13028 2004-08-24 11:16 pbartok
13031 - Now uses Remove instead of Add to kill the timer
13033 2004-08-24 10:16 jackson
13035 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
13036 picture boxes in the theme now. Draw picture box borders and obey
13039 2004-08-24 05:49 jackson
13041 * Timer.cs: Remove top secret debugging code
13043 2004-08-24 05:34 jackson
13045 * PictureBox.cs: Temp hack to make picture boxes draw their full
13048 2004-08-24 05:29 jackson
13050 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13051 XplatUIX11.cs: Move timers to the driver level. On X they are
13052 queued by the driver and checked on idle.
13054 2004-08-24 01:07 jackson
13056 * XplatUIX11.cs: Use a queue for async messages instead of passing
13057 them as ClientMessages since that was totally broken. Also simply
13058 check for events and return an idle message if none are found. This
13059 gives us an idle handler, and prevents deadlocking when no messages
13062 2004-08-23 18:19 ravindra
13064 * XplatUIWin32.cs: Removed the unwanted destructor.
13066 2004-08-23 17:27 pbartok
13069 - Finishing touches. Works now, just needs some optimizations.
13071 2004-08-23 16:53 jordi
13073 * ScrollBar.cs: small fix
13075 2004-08-23 16:45 pbartok
13078 - Removed debug output
13081 2004-08-23 16:43 jordi
13083 * ScrollBar.cs: [no log message]
13085 2004-08-23 16:10 pbartok
13088 - Fixed handling of WM_CLOSE message
13089 - Removed debug output
13091 2004-08-23 16:09 pbartok
13094 - Added handling of Idle event
13095 - Added handling of form closing
13096 - Fixed reporting of MessageLoop property
13097 - Removed some unneeded code, should provide a bit of a speedup
13099 2004-08-23 15:22 pbartok
13102 - Added InitLayout() method
13103 - Added code to properly perform layout when Anchor or Dock property
13105 - Changed 'interpretation' of ResumeLayout. MS seems to have a
13106 LAMESPEC, tried to do it in a way that makes sense
13108 2004-08-23 14:10 jordi
13110 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
13111 properties and methods
13113 2004-08-23 13:55 pbartok
13116 - Properly fixed Jordi's last fix
13117 - Now uses Cursor's Position property instead of calling XplatUI
13120 2004-08-23 13:44 jordi
13122 * PaintEventHandler.cs: Adding missing attribute
13124 2004-08-23 13:39 pbartok
13127 - Implemented Position property
13129 2004-08-23 13:39 pbartok
13131 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13132 - Added method to move mouse cursor
13134 2004-08-23 13:39 pbartok
13137 - Fixed setting of background color
13138 - Added method to move mouse cursor
13140 2004-08-23 13:16 jordi
13142 * Control.cs: avoids null exception
13144 2004-08-22 17:46 jackson
13146 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
13149 2004-08-22 17:40 jackson
13151 * XplatUIX11.cs: Add some missing locks
13153 2004-08-22 15:10 pbartok
13155 * Control.cs, Form.cs:
13156 - Removed OverlappedWindow style from Control, instead it's default
13158 - Made form windows OverlappedWindow by default
13160 2004-08-22 13:34 jackson
13162 * ScrollBar.cs: Update the position through the Value property so
13163 the OnValueChanged event is raised.
13165 2004-08-22 12:04 pbartok
13168 - Added Cursor.cs and UserControl.cs
13170 2004-08-22 12:03 pbartok
13173 - Started implementation, not usable yet
13175 2004-08-22 12:00 pbartok
13178 - Implemented UserControl (complete)
13180 2004-08-21 19:20 ravindra
13182 * ToolBar.cs: Correcting the formatting mess of VS.NET.
13184 2004-08-21 18:49 ravindra
13186 * ToolBar.cs: Probably this completes the missing attributes in
13189 2004-08-21 18:03 ravindra
13191 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
13192 Fixed toolbar control signatures.
13194 2004-08-21 16:32 pbartok
13199 2004-08-21 16:30 pbartok
13204 2004-08-21 16:19 pbartok
13206 * Control.cs, Label.cs:
13209 2004-08-21 15:57 pbartok
13212 - Added loads of debug output for development
13213 - Fixed typo in method name
13215 2004-08-21 15:52 pbartok
13217 * ToolBarButtonClickEventArgs.cs:
13218 - Added missing base class
13220 2004-08-21 14:53 pbartok
13223 - Updated to match new GrabWindow signature
13225 2004-08-21 14:51 pbartok
13227 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13228 - Added method to get default display size
13230 2004-08-21 14:23 pbartok
13232 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13233 - Added method to query current grab state
13234 - Added argument to allow confining a grab to a window
13236 2004-08-21 14:22 pbartok
13239 - Added [Flags] attribute so that modifiers can be used in bitwise
13242 2004-08-21 14:21 pbartok
13244 * TrackBar.cs, ScrollBar.cs:
13245 - Replaced direct XplatUI calls with their Control counterpart
13247 2004-08-21 13:32 pbartok
13250 - Implemented Created property
13252 2004-08-21 13:28 pbartok
13255 - Implemented ContainsFocus
13257 2004-08-21 13:26 pbartok
13260 - Implemented CausesValidation
13262 2004-08-21 13:21 pbartok
13265 - Implemented CanFocus
13266 - Implemented CanSelect
13267 - Implemented Capture
13269 2004-08-21 12:35 pbartok
13272 - Fixed bug with Async message handling
13273 - Implemented getting the ModifierKeys
13275 2004-08-21 12:32 jackson
13277 * AsyncMethodResult.cs: Make sure we have the mutex before we
13278 release it. Fixes BeginInvoke on windows
13280 2004-08-21 11:31 pbartok
13282 * XplatUIWin32.cs, XplatUIX11.cs:
13283 - Drivers now return proper mouse state
13285 2004-08-21 10:54 jackson
13287 * Control.cs: Implement EndInvoke
13289 2004-08-21 10:48 jackson
13291 * Timer.cs: Remove unneeded finalizer
13293 2004-08-20 19:52 ravindra
13295 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13296 in mouse event handling in the ToolBar control.
13298 2004-08-20 19:50 ravindra
13300 * ImageList.cs: Changed draw method to use the arguments passed in
13303 2004-08-20 18:58 pbartok
13305 * XplatUIStructs.cs:
13306 - Added private message for async communication
13308 2004-08-20 17:38 ravindra
13310 * Control.cs: Made RightToLeft property virtual and removed a
13313 2004-08-20 14:39 jordi
13315 * ThemeGtk.cs: use style_attach
13317 2004-08-20 14:39 pbartok
13320 - Added jackson's Async code from X11 to Win32
13322 2004-08-20 14:09 pbartok
13325 - Added all new files
13327 2004-08-20 14:09 pbartok
13330 - Added call to set window background color
13332 2004-08-20 14:03 pbartok
13334 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13335 - Added method for setting the window background
13337 2004-08-20 14:02 pbartok
13340 - Added method for setting the background color
13341 - Added handling for erasing the window background
13343 2004-08-20 13:45 jordi
13345 * TrackBar.cs: fixes timer, new properties and methods
13347 2004-08-20 13:34 jackson
13349 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13352 2004-08-20 13:22 jackson
13354 * Timer.cs: Timer Tick events are now handed through Controls Async
13355 mechanism so the callbacks are executed in the same thread as X
13357 2004-08-20 13:19 jackson
13359 * XplatUIDriver.cs: Expose functionality to send async messages
13362 2004-08-20 13:18 jackson
13364 * Control.cs: Implement Begininvoke
13366 2004-08-20 13:14 jackson
13368 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13369 messages through the driver
13371 2004-08-20 13:12 jackson
13373 * XplatUIX11.cs: Lock before all X operations. Also added Async
13374 method functionality through XSendEvent
13376 2004-08-20 13:11 jackson
13378 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13379 This will screw up on 64 bit systems)
13381 2004-08-20 13:10 jackson
13383 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13384 Async messages through X/Win32
13386 2004-08-19 19:39 pbartok
13389 - Updated code to match new HandleData.DeviceContext type
13391 2004-08-19 19:38 pbartok
13394 - Made DeviceContext a generic object to allow usage from various
13396 - Added support for queueing Windows messages
13398 2004-08-19 19:37 pbartok
13401 - Added generation of MouseEnter, MouseLeave and MouseHover events
13402 - Added cleanup on EndPaint
13404 2004-08-19 19:17 pbartok
13407 - Added handling of WM_MOUSEHOVER
13408 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13411 2004-08-19 18:55 jordi
13413 * ThemeGtk.cs: fixes button order
13415 2004-08-19 18:12 jordi
13417 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13419 2004-08-19 17:09 pbartok
13422 - Added Right property
13423 - Added RightToLeft property
13425 2004-08-19 16:27 jordi
13427 * ThemeGtk.cs: experimental GTK theme support
13429 2004-08-19 16:26 jordi
13431 * ITheme.cs, Theme.cs: move themes from an interface to a class
13433 2004-08-19 16:25 jordi
13435 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13438 2004-08-19 16:04 pbartok
13441 - Added colormap basics
13442 - Added a way to re-initialize with a different display handle
13443 - Fixed setting of the window background color
13444 - Added various X11 imports related to colors and colormaps
13446 2004-08-19 15:51 pbartok
13449 - Removed packing hints (Paolo suggested this a while back)
13450 - fixed colormap type
13451 - Added default Atom types
13452 - Added Screen and color structs and enums
13454 2004-08-19 15:39 pbartok
13457 - Added missing Draw() method
13458 - Added missing RecreateHandle event
13460 2004-08-19 15:30 pbartok
13463 - Added handling of WM_CLOSE
13465 2004-08-18 13:16 jordi
13467 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13470 2004-08-18 09:56 jordi
13472 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13474 2004-08-17 15:31 ravindra
13476 * SWF.csproj: Updated project.
13478 2004-08-17 15:25 pbartok
13481 - Drawing improvement; don't call UpdateBounds if we are not visible
13482 (or have been minimized)
13484 2004-08-17 15:24 pbartok
13487 - Finished IsVisible
13488 - Added Win32GetWindowPlacement
13490 2004-08-17 15:08 jackson
13492 * Panel.cs: Initial checkin of the Panel
13494 2004-08-17 14:25 pbartok
13497 - Fixed broken handling of default window sizes
13499 2004-08-17 13:29 jackson
13501 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13502 has a large startup time.
13504 2004-08-17 10:25 jackson
13506 * HandleData.cs: union areas properly
13508 2004-08-17 10:12 jackson
13510 * HandleData.cs: union areas properly
13512 2004-08-16 20:00 ravindra
13514 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13516 2004-08-16 18:48 ravindra
13518 * ToolBar.cs: Added attributes.
13520 2004-08-16 17:17 ravindra
13522 * SWF.csproj: Updated project.
13524 2004-08-16 17:16 jackson
13526 * XplatUIX11.cs: Check for more expose events before sending a
13527 WM_PAINT so they can all be grouped together. This makes dragging a
13528 window across another window redraw in a sane way.
13530 2004-08-16 15:47 pbartok
13533 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13534 support OnMouseEnter/Leave()
13535 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13538 2004-08-16 15:46 pbartok
13540 * XplatUIStructs.cs, XplatUIX11.cs:
13541 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13542 OnMouseEnter/Leave()
13544 2004-08-16 15:34 jackson
13546 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13547 sure messages get the message field set to WM_NULL if they are not
13550 2004-08-16 15:24 jackson
13552 * HandleData.cs: HandleData is used for storing message information
13555 2004-08-15 17:23 ravindra
13557 * ColorDepth.cs: Added attribute.
13559 2004-08-15 17:23 ravindra
13561 * SWF.csproj: Updated project for ToolBar Control.
13563 2004-08-15 17:20 ravindra
13565 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13566 control and also dos2unix format.
13568 2004-08-15 17:13 ravindra
13570 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13571 ToolBarButtonClickEventArgs.cs,
13572 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13573 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13575 2004-08-15 15:31 pbartok
13578 - First (mostly) working version
13580 2004-08-13 16:15 pbartok
13583 - Fixed Anchor default
13585 2004-08-13 15:43 pbartok
13588 - Changed GetCursorPos signature
13590 2004-08-13 15:42 pbartok
13592 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13593 - Changed signature for GetCursorPos
13595 2004-08-13 15:25 pbartok
13599 - Fixed resizing/exposure handling
13601 2004-08-13 15:22 jordi
13603 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13606 2004-08-13 14:55 jordi
13608 * TrackBar.cs: change from wndproc to events
13610 2004-08-13 13:00 jordi
13612 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13613 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13615 2004-08-13 12:53 pbartok
13618 - Changed GetWindowPos to also provide client area size
13619 - Fixed broken prototypes for several win32 functions
13621 2004-08-13 12:53 pbartok
13623 * XplatUI.cs, XplatUIDriver.cs:
13624 - Changed GetWindowPos to also provide client area size
13626 2004-08-13 12:52 pbartok
13629 - Added generation of WM_POSCHANGED
13630 - Changed GetWindowPos to also provide client area size
13632 2004-08-13 12:52 pbartok
13635 - Added Dispose() and destructor
13636 - Fixed resizing and bounds calculation
13638 - Added memory savings for invisible windows
13640 2004-08-13 12:46 jordi
13642 * TrackBar.cs: adds timer and grap window
13644 2004-08-13 10:25 jackson
13646 * Timer.cs: SWF Timer
13648 2004-08-12 16:59 pbartok
13650 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13651 - Implemented method to get current mouse position
13653 2004-08-12 14:29 jordi
13655 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13656 enhancement, fix mouse problems, highli thumb, etc
13658 2004-08-12 13:31 pbartok
13661 - Fixed Anchoring bugs
13663 2004-08-12 13:01 jackson
13665 * StatusBar.cs: Don't forget things
13667 2004-08-12 12:54 jackson
13669 * ThemeWin32Classic.cs: Handle owner draw status bars
13671 2004-08-12 12:54 jackson
13673 * StatusBar.cs: Implement missing properties, events, and methods.
13674 Handle mouse clicking
13676 2004-08-12 10:19 jackson
13678 * StatusBarPanelClickEventArgs.cs,
13679 StatusBarPanelClickEventHandler.cs: Classes for handling status
13680 bar panel click events
13682 2004-08-12 10:10 jackson
13684 * Control.cs: Add missing properties
13686 2004-08-12 09:46 pbartok
13688 * BindingsManagerBase.cs:
13689 - Name changed to BindingManagerBase.cs
13691 2004-08-12 09:25 jordi
13693 * ScrollableControl.cs: calls ctrlbase instead of exeception
13695 2004-08-11 16:28 pbartok
13697 * InputLanguageChangingEventArgs.cs:
13698 - Never check in before compiling. Fixes the last check-in
13700 2004-08-11 16:26 pbartok
13702 * InputLanguageChangingEventArgs.cs:
13703 - More signature fixes
13705 2004-08-11 16:20 pbartok
13707 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13708 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13709 ImageListStreamer.cs, InputLanguage.cs,
13710 InputLanguageChangedEventArgs.cs,
13711 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13712 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13713 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13714 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13717 2004-08-11 16:16 pbartok
13721 - Added .Net 1.1 method
13723 2004-08-11 15:25 pbartok
13726 - Fixed BindingManagerBase.cs filename
13728 2004-08-11 15:22 pbartok
13730 * BindingManagerBase.cs:
13731 - Was checked in with wrong filename
13733 2004-08-11 14:50 pbartok
13738 2004-08-11 13:41 jordi
13740 * XplatUIWin32.cs: Fixes ClientRect
13742 2004-08-11 13:19 pbartok
13744 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13746 - We had SetWindowPos and MoveWindow to set window positions and
13747 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13748 keep SetWindowPos as matching counterpart
13749 - Added some X11 sanity checking
13751 2004-08-11 12:59 pbartok
13754 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13755 (It seems that SetBounds is just a front for SetBoundsCore and
13756 SetBoundsCore updates the underlying window system and
13757 UpdateBounds is responsible for updating the variables associated
13758 with the Control and sending the events)
13759 - Major cleanup of Size handling; we now have two sizes, client_size
13760 and bounds. Bounds defines the window with decorations, client_size
13763 2004-08-11 12:55 pbartok
13765 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13766 - Added method to calculate difference between decorated window and
13769 2004-08-11 12:54 pbartok
13772 - Forcing redraw on resize
13774 2004-08-11 11:43 pbartok
13777 - Removed disposing of the actual images when the list is disposed
13779 2004-08-11 09:13 pbartok
13782 - Now properly reparents windows
13784 2004-08-11 08:37 pbartok
13789 2004-08-11 07:47 pbartok
13792 - Rewrote the collection stuff. Might not be as fast now, not
13793 keeping the number of children around and accessible directly, but
13794 it's more straightforward
13796 2004-08-11 07:44 pbartok
13798 * AccessibleObject.cs:
13799 - Fixed to match ControlCollection rewrite
13801 2004-08-11 07:43 pbartok
13804 - Added missing creation of the collection list
13806 2004-08-10 20:08 jackson
13808 * StatusBar.cs: Get the paint message from WndProc
13810 2004-08-10 19:31 jackson
13812 * ThemeWin32Classic.cs: Create Brushes as little as possible
13814 2004-08-10 19:20 jackson
13816 * UICues.cs: Add Flags attribute
13818 2004-08-10 19:19 jackson
13820 * StatusBarPanel.cs: Signature cleanup
13822 2004-08-10 19:10 jackson
13824 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13825 Initial implementation of status bar item drawing
13827 2004-08-10 17:27 jordi
13829 * TrackBar.cs: add missing methods, properties, and restructure to
13832 2004-08-10 16:24 jackson
13834 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13835 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13838 2004-08-10 13:21 jordi
13840 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13841 enhancements and standarize on win colors defaults
13843 2004-08-10 12:52 jackson
13845 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13846 ThemeWin32Classic.cs: Implement DrawItem functionality
13848 2004-08-10 12:47 jordi
13850 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13852 2004-08-10 12:32 jordi
13854 * Control.cs: throw ontextchange event
13856 2004-08-10 11:43 pbartok
13859 - Added more to the still unfinished Dock/Anchor layout code
13861 2004-08-10 11:39 pbartok
13863 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13864 - Added GetWindowPos method
13866 2004-08-10 11:36 pbartok
13869 - Implemented several methods
13871 2004-08-10 09:47 jackson
13873 * TrackBar.cs: Allow control to handle buffering
13875 2004-08-10 09:41 jackson
13877 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13879 2004-08-10 09:24 jackson
13881 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13883 2004-08-10 09:09 jackson
13885 * StatusBar.cs: Let Control handle all the buffering.
13887 2004-08-10 09:08 jackson
13889 * Control.cs: Control will now handle the buffering code, so each
13890 control does not have to implement this.
13892 2004-08-10 08:34 jackson
13894 * XplatUIDriver.cs: Use default colors from the theme
13896 2004-08-09 17:12 pbartok
13899 - Fixed several bugs Ravindra pointed out
13901 2004-08-09 16:11 pbartok
13904 - Added incomplete dock layout code
13905 - Added support for mouse wheel
13907 2004-08-09 16:09 pbartok
13910 - Added handling for middle and right mousebutton
13911 - Added handling for mouse wheel
13912 - Added handling for key state and mouse state and position
13913 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13916 2004-08-09 15:40 jackson
13918 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13919 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13922 2004-08-09 15:37 jackson
13924 * StatusBar.cs: Initial implementation of StatusBar
13926 2004-08-09 15:36 jackson
13928 * ITheme.cs: Add support for drawing status bar and getting status
13931 2004-08-09 15:35 pbartok
13936 2004-08-09 15:34 jackson
13938 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13939 status bar item sizes
13941 2004-08-09 15:21 jackson
13943 * ThemeWin32Classic.cs: Use known colors for default control
13946 2004-08-09 15:12 jackson
13948 * ThemeWin32Classic.cs: Make the default font static, it is static
13949 in control so this doesn't change functionality and creating fonts
13952 2004-08-09 14:56 pbartok
13955 - Added GrabMode enum
13957 2004-08-09 14:55 pbartok
13959 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13960 - Removed Run method, was only required for initial development
13962 2004-08-09 14:51 pbartok
13964 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13965 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13968 2004-08-09 13:48 pbartok
13971 - Fixed default sizing for child windows
13973 2004-08-09 12:56 pbartok
13976 - Added generation of WM_DESTROY message
13977 - Added handling of window manager induced shutdown
13979 2004-08-09 11:31 jackson
13981 * ThemeWin32Classic.cs: New names for control properties
13983 2004-08-09 11:25 jackson
13985 * Control.cs: Use new color names
13987 2004-08-09 11:02 jackson
13989 * XplatUI.cs: Get default window properties from the theme
13991 2004-08-09 11:01 jackson
13993 * ITheme.cs: The theme engine now controls default window
13996 2004-08-09 11:00 jackson
13998 * ThemeWin32Classic.cs: Add default window color properties
14000 2004-08-09 10:17 jackson
14002 * ThemeWin32Classic.cs: Use correct default back color
14004 2004-08-09 10:05 jackson
14006 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
14009 2004-08-09 09:56 jackson
14011 * XplatUI.cs: Remove defaults, these are handled by the theme now.
14013 2004-08-09 09:54 jackson
14015 * Control.cs: Get default properties from the theme.
14017 2004-08-09 09:53 jackson
14019 * ITheme.cs: Themes now handle default control properties
14021 2004-08-09 09:53 jackson
14023 * ThemeWin32Classic.cs: Themes now handle default control
14024 properties so coloring will be consistent
14026 2004-08-08 16:54 jordi
14028 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
14030 2004-08-08 15:08 jordi
14032 * XplatUIX11.cs: fixes keyboard crash
14034 2004-08-08 13:47 jordi
14036 * Label.cs: add cvs header info
14038 2004-08-08 12:09 jackson
14040 * ThemeWin32Classic.cs: Add pen_buttonface
14042 2004-08-08 11:52 jordi
14044 * Label.cs, LinkLabel.cs: [no log message]
14046 2004-08-08 11:34 jordi
14048 * ThemeWin32Classic.cs: Use Windows Standard Colours
14050 2004-08-07 17:32 jordi
14052 * TrackBar.cs: throw exceptions of invalid enums values
14054 2004-08-07 17:31 jordi
14056 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
14059 2004-08-07 16:56 jackson
14061 * HorizontalAlignment.cs: Initial checkin
14063 2004-08-07 13:16 jordi
14065 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
14068 2004-08-07 13:05 jordi
14070 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
14071 GetSysColor defines
14073 2004-08-06 18:01 pbartok
14075 * ThemeWin32Classic.cs:
14076 - Fixed some rounding issues with float/int
14078 2004-08-06 18:00 jackson
14080 * DockStyle.cs, AnchorStyles.cs:
14082 Add flags and serializable attributes.
14084 2004-08-06 17:46 pbartok
14087 - Implemented GetParent
14089 2004-08-06 17:18 pbartok
14092 - Fixed some rounding issues with float/int
14094 2004-08-06 17:17 pbartok
14096 * X11Structs.cs, XplatUIX11.cs:
14097 - Fixed Refresh and Invalidate
14099 2004-08-06 15:30 pbartok
14101 * Control.cs, X11Structs.cs, XplatUIX11.cs:
14102 - Fixed recursive loop when resizing
14103 - Improved/fixed redrawing on expose messages
14105 2004-08-06 09:53 jordi
14107 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
14108 keyboard navigation
14110 2004-08-06 08:02 pbartok
14112 * X11Structs.cs, XplatUIX11.cs:
14113 - Fixed reparenting
14114 - Fixed window border creation
14116 2004-08-05 15:38 pbartok
14119 - Attempted fix for reparenting problems
14121 2004-08-04 15:14 pbartok
14124 - Fixed Invalidation bug (calculated wrong client area)
14125 - Added ClientSize setter
14127 2004-08-04 15:13 pbartok
14130 - Added AutoScale properties
14132 2004-08-04 15:13 pbartok
14135 - Added latest files
14137 2004-08-04 14:11 pbartok
14139 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14141 - Added Invalidate handling
14143 2004-08-03 17:09 jordi
14145 * XplatUIDriver.cs: fixes spelling mistake
14147 2004-07-27 09:53 jordi
14149 * TrackBar.cs: fixes trackbar events, def classname, methods
14152 2004-07-27 09:29 jordi
14154 * ScrollBar.cs: fixes scrollbar events
14156 2004-07-27 04:38 jordi
14158 * Control.cs: changes to be able to run winforms samples
14160 2004-07-26 11:42 jordi
14162 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
14163 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
14165 2004-07-26 05:41 jordi
14167 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
14168 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
14171 2004-07-22 09:22 jordi
14173 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
14174 check link overlapping, implement events, and fixes
14176 2004-07-21 10:28 jordi
14178 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
14180 2004-07-21 10:19 jordi
14182 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
14183 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
14184 LinkLabelLinkClickedEventArgs.cs,
14185 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
14186 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
14189 2004-07-19 13:09 jordi
14191 * Control.cs, Label.cs: label control re-written: added missing
14192 functionlity, events, and properties
14194 2004-07-19 10:49 jordi
14196 * Control.cs: fixes SetBounds logic
14198 2004-07-19 01:29 jordi
14200 * Control.cs: Call RefreshWindow only if the window has created
14202 2004-07-15 14:05 pbartok
14204 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
14205 - Implemented ImageList and ImageList.ImageCollection classes
14206 - Added ColorDepth enumeration
14207 - Updated SWF VS.Net project
14209 2004-07-15 11:06 jordi
14211 * XplatUIStructs.cs: added MsgButons enum
14213 2004-07-15 11:03 jordi
14215 * Control.cs: added basic mouse handeling events
14217 2004-07-15 03:38 jordi
14219 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14220 Vertical TrackBar control implementation
14222 2004-07-13 09:33 jordi
14224 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14226 2004-07-13 09:31 jordi
14228 * Control.cs, Form.cs: commit: new properties and fixes form size
14231 2004-07-09 14:13 miguel
14233 * ProgressBar.cs: Spelling
14235 2004-07-09 11:25 pbartok
14238 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14241 2004-07-09 11:17 miguel
14243 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
14245 * ProgressBar.cs: Fixed spelling for `block'
14247 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
14250 Avoid using the += on rect.X, that exposed a bug in the compiler.
14252 2004-07-08 23:21 pbartok
14254 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
14255 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
14256 BaseCollection.cs, Binding.cs, BindingContext.cs,
14257 BindingMemberInfo.cs, BindingsCollection.cs,
14258 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
14259 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
14260 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
14261 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
14262 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
14263 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
14264 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
14265 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
14266 FrameStyle.cs, GiveFeedbackEventArgs.cs,
14267 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
14268 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
14269 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
14270 InputLanguageChangedEventArgs.cs,
14271 InputLanguageChangedEventHandler.cs,
14272 InputLanguageChangingEventArgs.cs,
14273 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14274 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14275 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14276 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14277 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14278 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14279 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14280 QueryAccessibilityHelpEventArgs.cs,
14281 QueryAccessibilityHelpEventHandler.cs,
14282 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14283 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14284 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14285 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14286 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14287 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14288 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14289 XplatUIX11.cs, lang.cs: