1 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3 * MessageBox.cs: if the height of the text is larger than the icon_size,
4 use that. Fixes bug #78575.
6 2006-06-05 Jackson Harper <jackson@ximian.com>
8 * TreeView.cs: Fix line drawing when scrolling. To do this each
9 node is basically responsible for drawing its entire horizontal
10 area. When drawing a node it draws its parent node lines if
12 - Adjust the clip area to the viewport rectangle
14 2006-06-03 John Luke <john.luke@gmail.com>
16 * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
17 so the colors work without dev packages
19 2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
22 - Select: Implemented to just use activate. Seems to match MS
23 behaviour closest. Documented to only do actual control walking
24 based on it's parameters if in a container control so I moved
26 - Removed selection check logic from our internal Select() method
27 * ContainerControl.cs:
28 - Select: Moved selection logic from Control here, since MS documents
29 that containers obey the bool arguments. No longer calling base
31 2006-06-02 Jackson Harper <jackson@ximian.com>
33 * TreeView.cs: If the selected node isn't changed when we get
34 focus update the previously selected node so that we see the
37 2006-06-02 Mike Kestner <mkestner@novell.com>
39 * ComboBox.cs: restructure grab and general mouse event handling.
40 Make the composite control raise mouse events like it was a single
41 control for leaves/enters/motion/up/down events. fix dropdown list
42 coordinate mangling and refactor it into the scrollbar subclass to
43 reduce code duplication. Fixes #78282 #78361 and #78457.
45 2006-06-02 Mike Kestner <mkestner@novell.com>
47 * ScrollBar.cs: remove Capture setting/clearing, as it happens
48 automatically in the Control.WndProc.
50 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
52 * FileDialog.cs: fix crash when running SharpChess, which sets the
53 FilterIndex to 2 with only one Filter.
55 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
57 * ToolBar.cs: add SizeSpecified property.
58 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
59 try to figure out our real size, otherwise fallback to what the
62 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
64 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
65 * Control.cs (WndProc): MS always calls the DefWndProc to pass
68 2006-06-01 Mike Kestner <mkestner@novell.com>
70 * ListView.cs: revamp the focus management in ListView. It still
71 causes churn of LostFocus/GotFocus emissions on clicks, but it's
72 better than not handling focus at all. Will revisit when pdb feels
73 the general focus handling is solid. Fixes #78526.
75 2006-06-01 Jackson Harper <jackson@ximian.com>
77 * TreeView.cs: Set the default border style in the constructor.
78 - Move painting to use OnPaintInternal instead of capturing
79 WM_PAINT, this is the correct way of doing things
80 - UpdateBelow shouldn't invalidate the scrollbar area
81 - Cap the top on update below in case the node was above the top
82 of the viewport rectangle.
83 - ExpandBelow and Collapse below need to obey Begin/End Update.
84 * TreeNode.cs: Make is_expanded internal so the treenode
85 collection can change it without firing the whole event chain.
86 * TreeNodeCollection.cs: When clearing all the child nodes make
87 sure to recalc the visible order.
88 - Improve algo for remove the top node
90 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
92 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
93 SendMessage directly calling window procedures, which in turn might
96 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
98 * Control.cs: Don't handle WM_SETFOCUS if the same window already
99 has focus (works around X11 sending a FocusIn after our SetFocus)
100 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
102 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
104 * Mime.cs: Fix for the NET_2_0 build.
105 NameValueCollection needs StringComparer now.
107 2006-05-31 Chris Toshok <toshok@ximian.com>
109 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
110 return (via an out parameter) the starting X of the column.
111 (UpdateVisibleColumn): track change to FromPixelToColumn.
112 (HitTest): add a ColumnResize case here.
113 (DrawResizeLine): new function, probably poorly named.
115 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
116 only need to keep one reference.
117 (set_ListManager): same.
118 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
119 Also, add support for HitTestType.ColumnResize.
120 (OnMouseMove): add column resize behavior here, and change the
121 cursor to the correct one as we move around the datagrid.
122 (OnMouseUp): terminate the column resize if we're resizing.
123 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
124 for the current cell.
125 (ConnectListManagerEvents): use cached_currencymgr.
126 (DisconnectListManagerEvents): fill this in, using
128 (SetCurrentCell): remove cached_currencymgr_events handling.
129 (SetDataMember): only call DisconnectListManagerEvents if
130 cached_currencymgr is != null.
131 (SetDataSource): same.
132 (OnListManagerCurrentChanged): cached_currencymgr_events ->
135 2006-05-31 Jackson Harper <jackson@ximian.com>
137 * BindingManagerBase.cs: Remove somedebug code that creeped into
139 * TreeNode.cs: We get the indent level dynamically right now, so
140 don't track it as a member.
141 * TreeNodeCollection.cs: Make sure all nodes added to the list
142 have parents, treeviews/topnodes setup properly.
143 - Don't attempt to track indent level.
145 2006-05-30 Jackson Harper <jackson@ximian.com>
147 * BindingContext.cs: Create the currency manager tables here.
148 This allows us to more easily create null tables (when bad data
149 members are used), and more easily create related currency
151 * CurrencyManager.cs: All the table creation stuff is done by the
153 - Current should throw an exception if listposition is -1.
154 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
157 2006-05-30 Mike Kestner <mkestner@novell.com>
159 * ListView.cs: allow reexpansion of zero-width column headers.
162 2006-05-28 Chris Toshok <toshok@ximian.com>
164 * CurrencyManager.cs (get_Current): after the late binding
165 listposition = -1 fix, we need to guard against it here and return
166 null, otherwise we raise an exception (which is swallowed
167 elsewhere, and breaks datagrid databinding.)
169 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
171 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
172 than WM_SYSKEY, don't throw if get something unexpected (#78507)
174 2006-05-26 Jackson Harper <jackson@ximian.com>
177 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
178 values, it's faster and it's all we care about (we don't care if
179 the names aren't equal).
180 * KeyboardLayouts.cs: Eliminate some dead code.
182 * X11Keyboard.cs: Lazy init keyboard detection.
183 - Cleanup access modifiers a little.
185 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
187 * XplatUIX11.cs: Once again, attempting to get layout just right.
189 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
191 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
192 the sizes of each link section, that will result in sizes that
193 match DrawString's layout (Fixes #78391)
195 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
197 * FileDialog.cs: If AddExtension property is true autocomplete the
198 extensions in SaveFileDialog correctly. Fixes bug #78453.
199 Set MyNetwork and MyComputer to "C:\" for windows. This should
200 fix part 8 of bug #78446 for now.
202 2006-05-26 Chris Toshok <toshok@ximian.com>
204 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
205 invalidate the current row header if we need to, but presumably
206 we'll invalidate the row corrsponding to the bounds or
208 (GridHScrolled): switch back to this method, as it's part of the
210 (GridVScrolled): same.
211 (OnMouseWheel): hack up something that more or less works. Call
212 GridHScrolled/GridVScrolled directly, instead of duplicating much
214 (EnsureCellVisibility): reinstate a bunch of this code, since we
215 can't just set the scrollbar Value and expect to do all the work
216 in the ValueChanged handler. Also, Call Update() after scrolling
217 in one direction so the other XplatX11.ScrollWindow call has the
218 proper stuff in the proper places.
219 (EditCell): set is_editing to true before calling .Edit.
221 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
222 don't bother comparing first.
223 (OnKeyPress): call grid.ColumnStartedEditing before calling
224 base.OnKeyPress. this will set is_changing and invalidate the row
226 (ProcessKeyMessage): for WM_CHAR messages, call
227 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
230 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
231 it's done in the DataGrid.
232 (NextState): call grid.ColumnStartedEditing, which takes care of
233 invalidating the row header (and setting is_changing).
235 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
236 here. it's done in the DataGrid.
238 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
240 * Control.cs: allow changing the cursor when the mouse position is
241 out of bounds but Capture is set.
242 * LinkLabel.cs: handle the case when the mouse button is pressed on the
243 linklabel but released somewhere else.
245 2006-05-25 Jackson Harper <jackson@ximian.com>
247 * TreeView.cs: When we get focus if there is no selected node make
249 - Remove some uneeded setup code from Draw.
250 * TreeNodeCollection.cs: If the tree doesn't have a top node when
251 a new node is inserted make the new node the top.
253 * Timer.cs: Use Utc time so that no local time zone stuff needs to
254 be used (should be faster).
256 2006-05-25 Chris Toshok <toshok@ximian.com>
258 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
259 problem with the last commit.
261 2006-05-25 Chris Toshok <toshok@ximian.com>
263 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
264 need the invalidate call here, while scrolling right-to-left via
265 the left arrow key (i.e. moving the editing cell while scrolling).
267 * DataGrid.cs (.ctor): remove the initialization of
268 ctrl_pressed/shift_pressed. We no longer track them using key
269 up/down handlers, but by using Control.ModifierKeys. Also, switch
270 to using ValueChanged handlers on the scrollbars instead of
271 Scrolled event handlers. This simplifies a bunch of the scrolling
273 (GridHValueChanged): rename from GridHScrolled, and change it to
274 work with the new event args.
275 (GridVValueChanged): same.
276 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
277 (OnMouseWheel): actually scroll the datagrid. Don't change the
279 (ProcessGridKey): correct all the keyboard navigation stuff I
280 could find. Ctrl up/down/left/right/home/end work now.
281 (EnsureCellVisibility): correct method name spelling. Also,
282 simplify this a touch by not explicitly calling the
283 ScrollToRow/ScrollToColumnInPixels methods. We just set the
285 (OnKeyUpDG): no need for this method now.
287 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * LinkLabel.cs: display the OverrideCursor when hovering the label.
292 2006-05-25 Chris Toshok <toshok@ximian.com>
294 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
297 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
299 * Application.cs: Moved setting of is_modal and closing to before
300 we create the control, to allow the event handlers called as a
301 result of creation affect closing. Also removed Gonzalo's previous
302 change to setting DialogResult, the behaviour has been moved to
305 - ShowDialog(): Removed explicit creation of the form, let RunLoop
307 - ShowDialog(): If no dialog result is set, we need to return Cancel
308 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
309 the close is cancelled
311 2006-05-25 Jackson Harper <jackson@ximian.com>
313 * StatusBar.cs: We only need to update the sizes of the other
314 panels when we have auto size contents. Also we are only updating
315 the contents of the panel, not the borders, so compensate for the
316 border width (TODO: get this width from the theme somehow).
317 * TreeView.cs: Scrollable is true by default
318 - Use invalidate instead of refresh where needed
319 - Factor the scrollable value into scrollbar updating
320 - Update the scrollbars if the Scrollable property is altered
321 - Update the selected node if its ImageIndex is changed
322 - Handle null nodes in UpdateNode (mainly so we don't have to
323 check if selected is null when updating it
324 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
325 are factored into the visible count
326 - Use VisibleCount for clarity in the code
327 - When the font is changed we need to recurse through all the
328 nodes and invalidate their sizes
330 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * Application.cs: set the DialogResult to fixed when the main form is
333 hidden or destroyed while being modal.
335 2006-05-25 Miguel de Icaza <miguel@novell.com>
337 * Theme.cs: Use Tangoified messagebox icons.
339 (GetSizedResourceImage): Also cope with width = 0 and do not
340 trigger a warning in that case (0 means "give me your icon from
341 the resouce, no special size needed).
343 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
345 * Application.cs: Leave runloop if the the main modal form is
346 hidden (fixes #78484)
348 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
350 * BindingContext.cs : reject null datasource in Contains() and
352 * CurrencyManager.cs : check data_member validity when data_source
353 is dataset. When it is late binding, the initial position is -1.
355 2006-05-24 Jackson Harper <jackson@ximian.com>
357 * TreeNodeCollection.cs: Dont't recalculate the visible order on
358 inserted nodes that aren't visible. This changes the
359 max_visible_order which confuses scrollbar settings.
360 - Use the enumerator to get the prev node instead of duplicating
362 * TreeView.cs: Use new method for setting scrollbar values
363 - Don't set the bounds every time the scrollbar is updated
364 - When updating below the root node use an invalidate instead of a
365 refresh to prevent the child controls (scrollbars) from being
366 refreshed. (UpdateBelow still needs to be reworked anyways).
367 - Reenable SetBottom now that visible orders are set correctly,
368 added some debug code incase we ever get bad values there again.
369 - Set the scrollbar max to 2 less then the max value, this
370 compensates for the max value being one above the node count, and
371 for scrollbars adding one extra "notch".
372 - When drawing image nodes if there is an imagelist we draw the
373 first image in the list if the supplied image index is out of the
376 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
378 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
379 we receive a size change from the WM (Fixes #78503)
381 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
383 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
384 rectangle (Fixes #78501)
386 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
389 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
391 - Fixed MouseMove to no longer switch pressed state unless the left
392 mouse button is pressed. Atsushi provided the original patch (#78485)
394 2006-05-24 Jackson Harper <jackson@ximian.com>
396 * ScrollBar.cs: New internal methods that allow us to change a
397 couple values on the scrollbar (the most common case is maximum
398 and large change) without getting multiple invalidates.
400 2006-05-24 Chris Toshok <toshok@ximian.com>
402 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
403 (Edit): save off the original state in oldState, and set
404 grid.is_editing to true.
405 (OnKeyDown): abort editing if escape is pressed. also, call
406 NextState if space is pressed.
407 (OnMouseDown): call NextState.
408 (NextState): factor out shared code from OnKeyDown and OnMouseDown
409 here. Also, only invalidate the row header once (on the initial
410 is_changing switch) to save on redraws.
412 2006-05-24 Chris Toshok <toshok@ximian.com>
414 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
415 if the value in the cell is different than it was before. This
416 keeps us from triggering a layout when we move around a datarid
417 with a highlighted cell.
418 (Edit): suspend layout when creating/positining the text box, and
419 resume passing false so we don't ever actually re-layout.
420 (ReleaseHostedControl): same.
421 (EnsureTextBox): reformat slightly, and set WordWrap to false.
423 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
424 control-key sequences should go to the datagrid - remove that
425 lock. Also, modify the conditions under which we move between
426 cells when moving the cursor within a cell, and remove the "this"
427 and "base" from field accesses. We weren't even consistent, given
428 they all were in the base class.
430 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
432 * Binding.cs : (.ctor)
433 An obvious NRE fix for BindingTest.CtorNullTest().
435 2006-05-23 Chris Toshok <toshok@ximian.com>
437 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
438 them between lines. This fixes some quirks editing cells in the
441 2006-05-23 Jackson Harper <jackson@ximian.com>
443 * TreeView.cs: Use begin/end update when doing expand/collapse all
444 so that we don't get flicker on the scrollbar.
446 2006-05-23 Jackson Harper <jackson@ximian.com>
448 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
449 treenode calculations to be independant of the painting code. To
450 do this nodes track a visible order which is calculated by the
452 - Call new methods for expanding/collapsing nodes. These methods
453 use scrollwindow so we don't have to update everything below the
455 * TreeView.cs: Refactored drawing and scrolling code. We don't
456 need to update nodes when drawing anymore or calculate scrollbar
458 - Added new methods for expanding/collapsing nodes. These methods
459 use ScrollWindow so as to not have to redraw all the nodes below.
460 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
461 we add/remove nodes or sort.
462 - Handle removing the selected and the top node properly.
464 2006-05-23 Chris Toshok <toshok@ximian.com>
466 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
467 maybe this should actually happen in the datagrid code?
468 (EndEdit): no need to invalidate anything, given that
469 ReleaseHostedControl causes the datagrid to relayout, which
470 invalidates everything anyway.
472 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
474 (set_SelectionBackColor): call InvalidateSelection instead of
476 (set_SelectionForeColor): same.
477 (BeginEdit): Flesh this out a bit.
478 (CancelEditing): only do any of this if we're editing/adding.
480 (OnMouseDown): there's no need to cancel editing here, it's done
482 (SetCurrentCell): only invalidate the current row header if it's a
483 different row than the new one.
484 (ShiftSelection): fix this to work like MS does.
485 (ResetSelection): factor out the invalidation of selected_rows to
487 (SetDataSource): cancel any editing that's going on.
489 * DataGridColumnStyle.cs
490 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
491 call the non-interface version.
493 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
494 header rectangle with the clip rectangle so we don't redraw the
495 entire header for just a small area. Gets rid of the last flicker
496 when horizontally scrolling.
497 (DataGridPaintRow): same.
499 2006-05-23 Mike Kestner <mkestner@novell.com>
501 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
502 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
503 poorly placed checkbox on the MS control. Fixes Alex's unfiled
506 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
508 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
509 and this fixes #78493
511 2006-05-23 Miguel de Icaza <miguel@novell.com>
513 * Theme.cs (GetSizedResourceImage): Scale images if the proper
516 * FileDialog.cs: Do not change the background for the side bar as
517 it wont work nicely with the theme, and also reduces the artifacts
518 in rendering the icons (which I want to fix too).
520 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
521 resources, not resgen resources.
523 (PlatformDefaultHandler): Pull images using the new API.
525 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
527 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
528 a reference to the hwnd and will not remove it unless there are
529 no pending exposures (fixes #78341)
530 * XplatUI.cs: Improved debug
532 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
534 * MenuAPI.cs : don't handle OnClick event when it was not the left
535 button. Fixed bug #78487.
537 2006-05-23 Mike Kestner <mkestner@novell.com>
539 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
540 prefer submenus to the top menu for item lookup, to avoid popping down
543 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
545 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
546 Graphics.FillRectangle as the visual results are really bad (even
547 on win). We now draw perfect arrows (and perfect shadows when the
548 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
549 Pen.DashPattern to draw the dots of each line.
551 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
553 * FileDialog.cs: Update the filename combobox when navigating through
554 the ListView with the cursor keys. Fixes part 7 of bug #78446.
556 2006-05-22 Mike Kestner <mkestner@novell.com>
558 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
561 2006-05-22 Mike Kestner <mkestner@novell.com>
563 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
564 requests. Fix a misspelled parameter and a copy paste exception error
567 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
569 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
570 to get the same width/height (5/13) on X11 as the default font has on
571 win32. This means that our DefaultFont emSize is smaller than the
572 the MS SWF equivalent (even thought the width/height stays the same)
574 2006-05-20 Jackson Harper <jackson@ximian.com>
577 * MdiWindowManager.cs:
578 * InternalWindowManager.cs: Make sure to use the border width from
581 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
583 * PrintDialog.cs: Implements printer details
585 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
587 * FileDialog.cs: Added focus handling for PopupButtonPanel.
588 Fixes part 1 and 2 of bug #78446
590 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
592 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
593 instead of sticking to the first ever calculated value
595 2006-05-19 Mike Kestner <mkestner@novell.com>
597 * ComboBox.cs: fix mouse motion selection to use MousePosition and
598 PointToClient, since Capture is set. Fixes #78344.
600 2006-05-19 Mike Kestner <mkestner@novell.com>
602 * ListView.cs: match MS behavior in Details view where items are not
603 drawn if Columns.Count == 0.
604 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
605 Use a separate pen to draw the check, since changing the width affects
606 the box as well. Fixes #78454.
608 2006-05-18 Miguel de Icaza <miguel@novell.com>
610 * ListView.cs: ArgumentOutOfRangeException, single versions of the
611 exception should throw the name of the invalid argument.
613 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
614 there are no files listed.
616 2006-05-18 Jackson Harper <jackson@ximian.com>
618 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
621 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
623 * Control.cs: Brought back our old UpdateZOrder method as a private
624 function and switched our calls from UpdateZOrder to the new one.
625 This fixes the Paint.Net canvas disappearing bug.
627 2006-05-18 Jackson Harper <jackson@ximian.com>
630 * ThemeWin32Classic.cs:
631 * InternalWindowManager.cs: Move the drawing into the theme,
632 expose everything the theme should need from the window manager.
634 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
636 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
637 from the call to NativeWindow to avoid walking up the parent chain
638 further than needed (speeds up setting cursors and avoids setting
639 the wrong cursor if a parent has another cursor defined)
640 * Cursor.cs: When loading an icon as cursor, MS uses the center of
641 the icon as hotspot, not what's contained as hotspot in the icon
642 file. This fixes the perceived drawing offset seen with Paint.Net
644 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
647 - Store the calculated rectangle in Hwnd object and use it when
648 setting the client size
649 - Force Toolwindows to always be type Dock, to ensure they're on top
651 2006-05-18 Mike Kestner <mkestner@novell.com>
653 * ComboBox.cs: first pass at ComboBox rework. Layout is more
654 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
655 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
656 Substantial refactoring to remove confusing nested classes. Coding
657 standard and Get+Set->property refactorings. Shift to index based
658 highlighting in ComboListBox instead of constantly using IndexOf and
659 Items[]. Add invalidations on resize for DropDownList to fix ugliness
660 in FileDialog growth. Draw borders manually since Simple mode needs
661 to look like two independent controls. Make listbox border
662 conditional to DropDownStyle. Improved OwnerDraw support.
664 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
666 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
667 Don't set the disposed graphics to null, so we can throw the "right"
668 exception if the graphics is reused later (added a flag to avoid
669 double disposing). Some behaviours are different under 2.0 and are
670 filled under bug #78448.
672 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
674 * Control.cs: When double-buffering is enabled, we need to reset
675 our graphics context between paint calls. Otherwise, any
676 transformations and other alterations on the context will
677 become cumulative (#77734)
679 2006-05-18 Mike Kestner <mkestner@novell.com>
681 * ListView.cs: do focused item selection like MS on clicks.
682 Rework focus handling for ItemControl so LostFocus invalidates as
684 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
685 the ListView ItemControl has focus.
687 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
689 * XplatUIX11.cs: If client_window ends up being width or height zero
690 due to border settings, move it off window inside whole_window (#78433)
692 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
694 * Mime.cs: Shrink the mime file cache correctly.
696 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
698 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
700 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
702 * XplatUIX11.cs (AddExpose): More sanity checks
704 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
707 - AddExpose: Don't add expose ranges outside the size of our
709 - Cast opacity values to Int32 to avoid crashes with certain
711 - Added disabled code paths that protect against illegal cross-
712 thread painting (Developers.exe)
714 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
716 * ProgressBar.cs: Invalidate the control when it's resized
717 since block size is based on control size. (#78388)
719 2006-05-16 Miguel de Icaza <miguel@novell.com>
721 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
722 of setting the incoming argument to the "reset" value, we set the
723 this.datamember to string.empty (before we were invalidating the
728 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
730 * Form.cs: Only apply transparency settings after the form
731 is created. (Fixes #77800)
733 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
735 * ApplicationContext.cs: Grab the HandleDestroyed event so
736 we know when to fire OnMainFormClosed
738 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
740 * Application.cs: Introduced sub-class to allow tracking of
741 threads and centralized triggering of the event mess for
742 ThreadExit, AppExit, etc.. (#76156)
744 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
747 - Do not return a null icon index value for a mime subclass.
748 Instead try the main mime type class too.
749 - Seems that some newer distributions don't have a link to some
750 gnome default icons anymore. So check the default gnome dir too.
753 2006-05-16 Jackson Harper <jackson@ximian.com>
755 * MdiClient.cs: Don't paint the parent background image if we have
756 our own background image.
758 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
761 - PerformLayout: Do not shrink space filled by DockStyle.Fill
762 controls, all filled controls are supposed to overlap (#78080)
763 - UpdateZOrder is supposed to update the control's z-order in the
764 parent's z-order chain. Fixed to behave like that
765 - BringToFront: Removed obsolete code
766 - SendToBack: Simplyfied
767 - SetChildIndex: Trigger layout calculations when Z-order changes
768 since layout is done by z-order
770 2006-05-16 Chris Toshok <toshok@ximian.com>
773 * DataGrid.cs (set_AlternatingBackColor): use
774 grid_drawing.InvalidateCells instead of Refresh().
775 (set_BackColor): call grid_drawing.InvalidateCells.
776 (set_BackgroundColor): use Invalidate instead of Refresh.
778 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
779 invalidate the cell area.
781 2006-05-15 Chris Toshok <toshok@ximian.com>
784 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
785 on to DataGridPaintRow.
786 (DataGridPaintRow): take a clip argument, and only draw the cells
787 which intersect it. same with the not_usedarea.
789 * Theme.cs (DataGridPaintRow) add @clip parameter.
791 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
792 XplatUI.ScrollWindow.
795 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
796 with last column which was causing a gray swath to appear with the
797 XplatUI.ScrollWindow code.
799 2006-05-15 Chris Toshok <toshok@ximian.com>
801 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
802 use XplatUI.ScrollWindow.
803 (VerticalScrollEvent): use XplatUI.ScrollWindow.
805 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
807 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
809 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
811 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
812 file since there are no equivalent X11 cursors
814 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
816 * MonthCalendar.cs : DateTimePicker should reflect selected date
817 on mouse*up*, not mouse*down*. Fixed originally reported part of
820 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
822 * TabControl.cs : When argument index is equal or more than tab
823 count, just ignore. Fixed bug #78395.
825 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
827 * Control.cs: Dispose all child controls when control is diposed (#78394)
829 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
831 * ColorDialog.cs: Finally it is possible to select the color with
834 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
836 * PrintDialog.cs: Fix typo
838 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
840 * PrintDialog.cs: PrintDialog is not resizable
841 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
842 color. Made some ToolBar drawing methods protected virtual.
844 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
846 * PrintDialog.cs: Implementation of the PrintDialog
848 2006-05-12 Chris Toshok <toshok@ximian.com>
850 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
851 thumb, instead use MoveThumb. This has the side effect of making
852 most of the other thumb moving machinery use MoveThumb as well.
853 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
854 need to actually invalidate the rectangle where the new thumb will
856 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
857 We force an Update() after, so it's not as fast as it could be,
858 but at least there's zero flicker and no droppings.
859 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
860 (UpdateThumbPos): add another argument (dirty), which says whether
861 or not to calculate/add dirty regions which we later invalidate.
862 For cases where we know we're going to use MoveThumb, we pass
863 false for this. Otherwise, pass true.
865 2006-05-12 Jackson Harper <jackson@ximian.com>
867 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
870 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
872 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
873 and GetClipRegion methods and UserClipWontExposeParent property.
874 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
875 overriding UserClipWontExposeParent property, setting to false, since
876 Win32 handles the required expose messages to draw our clipped parent
878 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
879 PaintEventStart to set the user clip region if set.
881 - Now internally tracking the Region for the control since we need to
882 store it if the handle is not yet created and only set it when it
883 becomes created. Before setting the region forced handle creation
884 - Added code to draw the parents underneath a user-clipped region
885 * Hwnd.cs: Added UserClip property
887 2006-05-12 Chris Toshok <toshok@ximian.com>
889 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
892 (set_SmallChange): same.
893 (OnMouseUpSB): remove the call to refresh when releasing the
894 thumb. We shouldn't need it.
896 2006-05-12 Miguel de Icaza <miguel@novell.com>
898 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
899 AutoSize set to None, we do not need to relayout everything, we
900 just need to invalidate the current region.
902 (Draw): Do not draw the entire ClientArea, just redraw the
903 clip area being passed.
905 * MdiClient.cs: Make MdiClient constructor with the Form argument
908 2006-05-12 Jackson Harper <jackson@ximian.com>
910 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
911 parents background image, but strangely not their own.
912 - (DrawStatusBarPanel): Take into account horizontal alignment
913 when drawing the strings and icons.
915 2006-05-12 Mike Kestner <mkestner@novell.com>
917 * ListBox.cs: avoid invalidations for focus when the collection is
920 2006-05-12 Chris Toshok <toshok@ximian.com>
922 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
923 invalidate the entire thumb area. Call InvalidateDirty which
924 limits the redraw to the thumb itself and surrounding pixels.
926 * XplatUIX11.cs (ScrollWindow): optimize copying.
928 2006-05-12 Chris Toshok <toshok@ximian.com>
930 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
931 Figure out the positioning/layout in a single pass instead of
932 multiple recursive invocations. Speeds up the initial display of
933 the data grid. Also, make many things private that were
934 originally public but unused outside this class.
936 2006-05-11 Jackson Harper <jackson@ximian.com>
938 * MdiClient.cs: Improved layout code.
940 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
942 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
945 2006-05-11 Chris Toshok <toshok@ximian.com>
947 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
948 union of that will always be {0,0,width,height}.
950 2006-05-11 Jackson Harper <jackson@ximian.com>
952 * Form.cs: Match MS's DefaultSize for forms (they must have
953 changed the size in sp2).
955 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
957 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
959 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
961 * TextControl.cs : Fixed bug #78109. This incorrect position
962 comparison caused crash on automatic line split.
963 * TextBoxBase.cs : reduce duplicate code.
965 2006-05-10 Jackson Harper <jackson@ximian.com>
967 * MdiClient.cs: Active form is only sent to the back when using
968 the Next form functionality, when a form is clicked the current
969 active shouldn't be sent to the back.
970 - Layout the mdi windows when the container is first made visible.
971 * Form.cs: Give the MdiClient a ref to the containing form when we
974 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
976 * LinkLabel.cs : link_font could be uninitialized, so populate one
977 before actual use. Fixed bug #78340.
979 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
981 * XplatUIX11.cs : clipboard format native value is IntPtr.
984 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
987 - Instead of showing context menus directly we send WM_CONTEXTMENU,
988 which is passed up the parent chain by DefWndProc
989 - We now handle WM_CONTEXTMENU to display any menu, or pass it
990 to DefWndProc (#77956)
991 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
993 2006-05-10 Jackson Harper <jackson@ximian.com>
995 * MdiClient.cs: We need to remove the controls from the mdi
996 collection, when we close the window.
997 * MdiWindowManager.cs: Special handling of closing mdi windows.
998 * InternalWindowManager.cs: Make the close method virtual so the
999 mdi window manager can handle it specially.
1001 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
1004 - Recalculate grid when the data source has changed
1005 - Matches styles provided by user from all data sources types
1006 * DataGridTableStyle.cs: For columns that provided by the user set the
1007 with the preferred value is there was unassigned.
1008 * CurrencyManager.cs: throw OnItemChanged event
1010 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1012 * PictureBox.cs: Don't animate until handle is created. Start animation
1013 when handle is created.
1015 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1017 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
1019 * XEventQueue.cs: We don't need to provide the extra info
1021 2006-05-10 Jackson Harper <jackson@ximian.com>
1023 * MdiClient.cs: If the mdi clients parent form has a background
1024 image set, we draw that background image for the mdi area's
1027 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1029 * TextBoxBase.cs: Set IBeam cursor (#78347)
1031 2006-05-10 Mike Kestner <mkestner@novell.com>
1033 * ToolBar.cs: fix some text padding issues with ButtonSize
1034 calculation. Update the default size to match MS documentation.
1035 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1036 button size. Fixes #78296.
1038 2006-05-10 Mike Kestner <mkestner@novell.com>
1040 * ListBox.cs: use is_visible for scrollbar positioning in case the
1041 control isn't on screen yet. Fix off by one with Right vs Width
1042 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1044 2006-05-10 Jackson Harper <jackson@ximian.com>
1046 * X11Dnd.cs: Drop to a control with another control on top of it.
1047 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1048 be modified in click handlers. TODO: Look for similar problems in
1051 2006-05-09 Jackson Harper <jackson@ximian.com>
1053 * Form.cs: Window managers need the old window state when setting
1055 * InternalWindowManager.cs: Allow the base mdi window manager to
1056 handle more of the MDI only stuff (like maximize buttons).
1057 * MdiWindowManager.cs: Fix some snafus in changing the window
1058 state. Add all the menu functionality, for both popup and
1060 * MdiClient.cs: When a new form is selected the currently
1061 activated form is sent to the back, this matches MS.
1062 - Implement a new method to activate the next mdi child window.
1064 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1067 - Added new InternalCapture method to allow controls to prevent
1068 the capture behaviour on the click handlers
1069 - Switched to use InternalCapture
1071 - Using InternalCapture to prevent mouse captures from being released
1072 on mouse button release (Fixes #78100)
1073 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
1074 returns Form borders if a caption is present. (Fixes #78310)
1076 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1078 * TreeNode.cs: Changed serialization .ctor to not require every field
1079 to be present. (#78265)
1080 * OwnerDrawPropertyBag.cs: Added serialization .ctor
1082 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
1084 * MimeIcon.cs: for is faster than foreach for strings.
1086 2006-05-05 Mike Kestner <mkestner@novell.com>
1088 * CheckedListBox.cs: update check handling code to not use selected.
1089 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1090 behavior for visual feedback, motion response, shift/ctrl handling,
1091 and properly deal with all 4 selection modes. Updates to bounds
1092 handling logic. Add scroll wheel support. [Fixes #77842]
1094 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1097 - Moved adding of Implicit controls into .ctor. That way, subsequent
1098 creation of the controls will not cause them to think they are
1099 toplevel windows (fixes #78200 header problem)
1100 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1101 - Switched visibility setting of header control to use internal field
1102 to avoid triggering handle creation
1103 - Now checking if handle is created before causing a refresh when items
1104 are added (This makes us now match handle creation time with MS)
1105 * Splitter.cs: Removed loading of private splitter cursor, switched to
1106 Cursors version now that that is loading the right ones
1107 * Cursors.cs: Load proper splitter cursors from resources
1108 * Cursor.cs: Added second method of loading resource cursors for the
1109 VS.Net users amongst us
1111 2006-05-05 Mike Kestner <mkestner@novell.com>
1113 * ListView.cs: give header_control a minimum size based on the
1116 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1118 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1119 window seems to do that with metacity, so set that type. (#78120)
1121 2006-05-05 Mike Kestner <mkestner@novell.com>
1123 * ListViewItem.cs: fix Details mode checkbox layout bug.
1124 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1125 at the end of the header, if it exists. [Fixes for #78200]
1127 2006-05-04 Jackson Harper <jackson@ximian.com>
1129 * MdiClient.cs: Add a helper property to get the container form.
1130 * MdiWindowManager.cs: We have to make sure to use the menu origin
1131 when drawing the icons and buttons, this fixes maximized window
1132 icons/buttons on win32.
1133 * InternalWindowManager.cs: Reset the restore captions when a
1134 window goes from Maximized to Minimized and vice versa. Move the
1135 DrawMaximizedButtons into the MdiWindowManager source, tool
1136 windows can't be maximized. NOTE: This could use a little
1137 refactoring if time ever permits.
1139 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1141 * TextBox.cs: Add MWFCategoryAttributes
1142 * TextBoxBase.cs: Add MWFCategoryAttributes
1143 * Form.cs: Add MWFCategoryAttributes
1145 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1147 * Control.cs: Add MWFCategoryAttributes
1148 * ScrollableControl.cs: Add MWFCategoryAttributes
1150 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1152 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1153 Divider is true. Fix a little glitch in PropertyToolBar
1156 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1159 - Dispose: Call base.Dispose, this causes the disposed event
1160 to be fired (and probably other, more important stuff)
1161 - SetVisibleCore: Set is_visible to true after creating the
1162 window so that the window still gets created invisible (if
1163 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1164 to generate a WM_ACTIVE message
1165 * Form.cs: Call Dispose when we want to destroy the window, instead of
1166 just destroying the handle (Dispose will do that for us)
1168 - RootWindow also needs a queue, so we can properly process the
1169 property change events from RootWindow (like Activate)
1170 - Generatic synthetic WM_ACTIVE message when the active window is
1173 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1175 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1178 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1180 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1181 for determining width and height (image might not be assigned if
1182 we're drawing an imagelist)
1184 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1186 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1187 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1189 * Theme.cs: No longer returns hardcoded menu height, instead calls
1191 * Form.cs (OnLoad): Scaling happens before triggering Load events
1194 2006-05-01 Mike Kestner <mkestner@novell.com>
1196 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1198 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1200 * TextBoxBase.cs: Removed Fixme
1201 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1203 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1206 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1207 the rectangle relative to the parent, considering borders. We
1208 don't really want that.
1209 - ScrollWindow: Fixed warning to be more understandable
1210 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1211 scrollbars and scroll only the visible area
1212 * RichTextBox.cs: Removed debug output
1214 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1216 * NumericUpDown.cs (Text): Just use base
1217 * UpDownBase.cs: Ensure txtView is created before using it
1219 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1221 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1222 casting to IntPtr to avoid 64bit overflow errors
1224 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1227 - AllowDrop: Don't force handle creation.
1228 - CreateHandle: Added call to tell driver if we're allowed to drop
1230 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1232 * FileDialog.cs: Remember the last directory not only for the
1233 current instance but also for new FileDialog instances.
1235 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1237 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1238 broke sending async messages
1240 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1243 - ScrollWindow: Fixed method. We finally generate expose events again
1244 for scrolled areas. This was causing 'garbage' when scrolling
1245 textbox and other controls that used ScrollWindow
1246 - Switched from using the regular queue for paint events to the MS
1247 model of 'generating' paint events when the queue is empty.
1248 We use the new XQueueEvent.Paint subclass to store which windows
1250 - AddExpose now takes the x/y/width/height of the exposed area
1251 and inserts the window into the paint queue if not already there
1252 - InvalidateWholeWindow: Switched to use new AddExpose method
1253 - UpdateMessageQueue: Added which queue to monitor for paint events
1254 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1255 the unlikely case nothing above handles it. We reset the expose
1256 pending states to get them off the queue.
1257 - GetMessage: Now pulls a paint event if no other events are in the
1259 - Invalidate: Switched to new AddExpose method
1260 - PeekMessage: Updated to understand pending paint events
1261 - UpdateWindow: Fixed logic bug. We were only updating if the window
1262 didn't need updating. Also switched to sending WM_PAINT directly,
1264 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1265 and random access Remove(). The random access is needed to handle
1266 UpdateWindow() where a WM_PAINT is sent directly without accessing
1268 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1269 allow for better feedback when scrolling. Scrollbars are small and
1270 the immediate update should make it 'feel' more responsive without
1271 slowing things down. ScrollBar still needs it's invaliate logic
1272 updated to not always invalidate the whole bar on certain changes.
1274 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1277 (BackColor): if the control does not support a transparent background,
1278 return the default backcolor when the parent backcolor is transparent.
1280 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1282 * Application.cs: Updated to new StartLoop/GetMessage API
1283 * RichTextBox.cs: Provide some output on RTF parsing errors
1284 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1285 new queue_id argument to GetMessage and PeekMessage to allow faster
1286 handling of per-thread queues in drivers.
1287 * Hwnd.cs: Added Queue tracking and property
1288 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1289 * XEventQueue.cs: Added thread trackingA
1290 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1292 - Implemented new per-thread queue
1293 - GetMessage: Fixed return/break behaviour on several cases. We were
1294 returning stale messages in some cases, instead of just processing
1297 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1299 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1301 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1303 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1304 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1306 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1308 * PropertyGridView.cs: Fix drop down width.
1310 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1312 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1313 a mess in DrawToolBar, so I removed one of them.
1315 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1317 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1318 needed (clip). Otherwise we get artifacts.
1320 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1322 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1324 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1325 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1326 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1327 if it matches the scale base font (avoids unneeded scaling)
1329 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1331 * X11DesktopColors.cs: One gtk_init_check should be enough
1333 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1335 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1338 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1341 - Generate OnTextChanged for Backspace even if we're only deleting
1342 the current selection
1343 - When setting the Text property, only select all text if the
1344 control does not have focus when it is being set. Otherwise
1345 just place the cursor at the beginning of the control
1347 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1349 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1350 Added a little helper to draw PropertyGrid ToolBar with a different
1351 border and a different BackColor.
1352 * PropertyGrid.cs: Some background parts didn't get painted with the
1353 correct background color. Added a class that helps us to draw the
1354 correct border for PropertyGridView and a class that helps us to
1355 draw ToolBars with a different backcolor
1356 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1358 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1360 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1361 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1363 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1365 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1366 into the palette entries. Also, since we're working on a copy
1367 we needed to copy the palette back onto the bitmap.
1368 * Cursor.cs: Same fix as XplatUIWin32.cs.
1370 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1372 * ImageListStreamer.cs: Need to read the var (or we're off)
1374 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1376 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1377 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1378 TextBoxBase.cs: Unused var fixes
1379 * AxHost.cs: Small 2.0 fix
1380 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1381 as it seems that is what at least Metacity expects. This will make
1382 icons show up on 64bit platforms. We still have some 64bit size
1383 issues, though, since the startup app window size still won't match.
1385 2006-04-25 Mike Kestner <mkestner@novell.com>
1387 * *.cs: cleanup newly reported exception var unused warnings.
1389 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1391 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1394 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1396 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1397 image. The image position is always the same, no matter if the
1398 button is pressed or not.
1400 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1402 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1403 selection and set the correct filename for SaveFileDialog.
1404 Patch by Emery Conrad.
1406 2006-04-24 Mike Kestner <mkestner@novell.com>
1408 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1409 check for item.X outside the ClientRect instead of item.Y. Fixes
1412 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1414 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1415 trust that value blindly and do some sanity check. Fixes bug #77814.
1417 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1419 * ImageListStreamer.cs: save the mask as a 1bpp image.
1421 2006-04-21 Mike Kestner <mkestner@novell.com>
1423 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1424 pass Checked and Indeterminate to the Theme Engine. Improve
1425 encapsulation with ListBox.
1426 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1427 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1428 nested types. Move all CheckState functionality to CheckedListBox.
1429 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1430 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1431 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1432 single base list. Fix scrollbar sizing and placement to mirror MS.
1433 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1435 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1436 for CheckedListBox by using new DrawItemState info. Center the
1437 checkboxes on the items. Use new StringFormat property.
1439 2006-04-18 Jackson Harper <jackson@ximian.com>
1441 * Form.cs: MdiChildren don't do default locations the same way as
1442 regular forms. This prevents a crash when trying to position the
1445 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1447 * PropertyGridTextBox.cs: Formatting, copyright
1448 * PropertiesTab.cs: Formatting
1449 * PropertyGrid.cs: Formatting
1450 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1451 click toggling of values
1453 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1455 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1456 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1457 every time a control is created
1458 * Application.cs: Removed obsolete EnableRTLMirroring method
1460 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1462 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1463 SelectedIndex to -1. Fixes bug #78121.
1465 2006-04-17 Jackson Harper <jackson@ximian.com>
1467 * Binding.cs: Handle null values for Current and BindingContext.
1468 This occurs when binding is a little delayed.
1469 * CurrencyManager.cs: return null for Current when there are no
1471 - Hookup to the listchanged event on the DataView and update
1472 bindings when the list is changed. This fixes late binding of
1475 2006-04-17 Jackson Harper <jackson@ximian.com>
1478 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1481 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1483 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1485 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1486 with the correct ButtonState
1488 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1490 * XplatUIX11.cs: Improved distinguishing between window types to
1491 tell the WM a type closer to what the app wants (Fixes #78107)
1493 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1495 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1498 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1500 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1501 drawing code to reflect the size grip changes
1503 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1505 * ImageListStreamer.cs: fix handling of the mask that follows the main
1506 bitmap when deserializing and serialize it properly. The generated mask
1507 should better be a 1bpp image, but I'll do that later.
1509 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1511 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1512 path doesn't fit into some of our Current.Places
1514 2006-04-13 Jackson Harper <jackson@ximian.com>
1516 * ComboBox.cs: Use borders instead of drawing our own decorations,
1517 try to obey correct rules for heights.
1520 * ThemeClearLooks.cs:
1521 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1522 this is now handled by borders.
1523 - Remove unused DrawListBoxDecorationSize method.
1525 2006-04-13 Mike Kestner <mkestner@novell.com>
1527 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1530 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1532 * ThemeWin32Classic.cs:
1533 - Fixed CPDrawStringDisabled
1534 - Corrected drawing of disabled menu items
1535 - Fixed drawing of disabled radio buttons (bug #78095)
1536 - Draw check in a disabled CheckBox with color ControlDark
1538 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1540 * Form.cs: Use the provided width when calculating the menu size;
1541 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1542 and ClientSize.Width won't be updated yet
1543 * Application.cs: Use Visible instead of Show() to make form visible,
1544 this way we create the handle later and menusize is considered
1546 2006-04-12 Mike Kestner <mkestner@novell.com>
1548 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1551 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1553 * TextBox.cs: Implemented context menu
1555 2006-04-12 Mike Kestner <mkestner@novell.com>
1557 * ListView.cs: implement box selection. fixes #77838.
1558 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1560 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1562 * XplatUIX11.cs: Added setting of window type when transient window
1563 is created (metacity would move it otherwise)
1564 * X11Structs.cs: Added WINDOW_TYPE atoms
1565 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1566 background (the control is Opaque but still wants transparent
1569 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1571 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1572 that set Opaque but don't mean it (like all ButtonBase-derived
1573 controls) to still draw their background
1574 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1577 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1579 * Control.cs (PaintControlBackground): Set the graphics object
1580 on our PaintEvent to null to prevent it from being disposed
1581 when the PaintEvent gets disposed
1583 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1585 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1586 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1588 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1591 - Added transparency check to BackColor property. Transparent
1592 backgrounds are only allowed if the control styles permit it
1593 - Added recursive painting of parent control background and
1594 foreground if a control with a transparent backcolor is drawn
1595 (Thanks to Tim Ringenback for providing his 'hack' as a base
1596 for this patch) Fixes #77985 and #78026.
1597 - Added Opaque style check before calling OnPaintBackground, no
1598 need to draw the background if the control is opaque
1599 - Removed ControlAccessibleObject owner variable (inherited from
1600 base, no need to define again)
1601 - Added some documentation links explaining the drawing events
1604 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1606 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1607 that the affected control is the located at the left border of our
1608 parent (Fixes #77936)
1610 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1612 * TextBoxBase.cs: When rendering disabled or readonly controls,
1613 draw the background with 'Control' instead of 'Window' color as
1614 long as the user hasn't specifically set a color
1616 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1618 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1619 since that won't be updated if the user types text (only if it's
1620 programatically set)
1622 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1624 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1625 layout changes do to app-triggered resizes will have the proper
1626 display rectangle for layout
1628 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1630 * ThemeWin32Classic.cs:
1631 - Make use of the SystemBrushes and SystemPens wherever possible
1632 - Corrected some highlight colors
1633 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1635 * Theme.cs: Added Empty field to CPColor struct
1637 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1639 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1640 is displayed when calculating the display rectangle. Thanks to Mike
1641 for teaching me the err of my ways.
1643 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1645 * ScrollableControl.cs:
1646 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1647 (instead of 0,0) and we now return the real width/height instead of
1648 just the clientrectangle, adjusted for padding. The rectangle is
1649 now cached and created by the new CalculateDisplayRectangle method.
1650 - Created new CalculateDisplayRectange method, which basically does
1651 what get_DisplayRectangle() did originally, but now using the
1652 right edge instead of DisplayRectangle to determine the size of
1654 - get_Canvas(): Fixed it to properly calculate canvas for
1655 right/bottom controls which seem to be placed to the right/bottom
1656 of any controls that have a fixed location
1657 - Removed TODO that's taken care of
1658 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1659 and SetDisplayRectLocation according to new MSDN2 docs
1660 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1661 event when that is called, this is added for compatibility
1662 - ScrollControlIntoView(): Implemented.
1663 - Switched scrollbars to be implicit, they shouldn't be selectable
1664 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1665 call it when the active control is set/changed
1666 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1667 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1668 implicit_control variable (used for native Win32 message generation)
1669 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1670 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1671 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1672 * XplatUIStructs.cs: Added ScrollBarCommands enum
1674 2006-04-10 Jackson Harper <jackson@ximian.com>
1677 * CheckedListBox.cs:
1684 * PrintPreviewControl.cs:
1690 * UpDownBase.cs: Fixup base event overrides.
1692 2006-04-06 Mike Kestner <mkestner@novell.com>
1694 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1695 all user-initiated value changes to min <= value <= max-thumbsz+1.
1696 (set_Value): check for vert/horiz when calculating new thumb position.
1697 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1699 (OnMouseMoveSB): refactor the thumb dragging code and refine
1700 invalidation logic to reduce flicker.
1701 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1702 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1703 (UpdateThumbPosition): small code readability cleanup
1705 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1707 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1710 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1712 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1714 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1716 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1717 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1718 This dramatically reduces the number of Pen.Dispose calls.
1719 Where possible call ResPool methods only once instead of calling it
1720 over and over again (for example for the same color).
1722 2006-04-06 Mike Kestner <mkestner@novell.com>
1724 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1725 Also remove an unused private field on the collection. Fixes #77972.
1727 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1729 * ThemeNice.cs: Added ToolBar drawing code
1731 2006-04-06 Mike Kestner <mkestner@novell.com>
1733 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1734 I'm assuming that means we need to look up the toplevel for the
1735 provided control. Fixes the crash trace in #77911 but exposes another
1736 crash in some strange reflection usage in NDocGui.
1738 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1740 * ThemeNice.cs: Gave it a little silver touch and added Images
1742 * FontDialog.cs: FontDialog is not resizable
1743 * FileDialg.cs: Added SizeGripStyle.Show
1745 2006-04-05 Jackson Harper <jackson@ximian.com>
1747 * KeyboardLayouts.cs: Remove warning.
1749 2006-04-05 Jackson Harper <jackson@ximian.com>
1751 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1752 all of our controls instead of Paint +=.
1767 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1768 use OnPaintInternal. Remove Width/Height and Visible checks in
1769 paint handler, this is done at a higher level now.
1770 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1771 * PaintEventArgs.cs: Add a handled flag so controls that don't
1772 want anymore painting after OnPaintInternal can make sure OnPaint
1775 2006-04-05 Mike Kestner <mkestner@novell.com>
1777 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1778 state of the form, so that we don't process events when Modal dialogs
1779 are up. Fixes #77922.
1781 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1783 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1786 2006-04-05 Mike Kestner <mkestner@novell.com>
1788 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1790 2006-04-05 Mike Kestner <mkestner@novell.com>
1792 * ListView.cs (HeaderMouseMove): null guarding for the over column
1793 when setting up the drag_to_index. Fixes #78015.
1795 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1797 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1798 in the taskbar. Transient windows seem to accomplish that.
1800 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1803 - Re-enabled CreateParams.X/Y code for FormStartPosition
1804 - Added code for manual placement when creating the Control
1805 - Incomplete patch to treat MDI forms differently when
1806 setting the ClientSizeCore. (Still need to figure out handling
1809 - When we're explicitly setting the X/Y position of a non-Child
1810 window, let the WM know. Metacity really wants this.
1812 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1814 * ThemeNice.cs: Added CPDrawButton
1816 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1818 * ThemeNice.cs: Changed the color for focused buttons and activated
1819 the arrows for small scroll buttons.
1821 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1823 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1824 anymore. Changed some method modifiers to protected (virtual)
1825 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1827 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1828 Updated drawing of menus, buttons and progressbars; added
1831 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1833 * ImageListStreamer.cs: implemented serialization/deserialization
1836 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1838 * ThemeWin32Classic.cs:
1839 - Removed all the DrawFrameControl stuff; CPDrawButton,
1840 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1842 - Updated and corrected the drawing code of CPDrawButton,
1843 CPDrawCheckBox and CPDrawRadioButton to better match ms
1844 - Updated theme checkbox and radiobutton code to use the CP*
1847 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1849 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1852 2006-03-31 Jackson Harper <jackson@ximian.com>
1854 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1856 * UpDownBase.cs: Don't CreateGraphics manually, use a
1857 Refresh. Ideally we would invalidate the correct areas here.
1859 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1862 - We now track the mapping state of windows. If a window (or
1863 one of it's parents) is not mapped we no longer permit
1864 WM_PAINT messages to be generated since we'd otherwise get
1865 lots of BadMatch X errors. Jackson did all the work figuring
1867 - Destroying the caret if the window it's contained in is
1868 destroyed. Can't use regular DestroyCaret method since it
1869 might fall into a drawing function (trying to remove the
1870 caret) and with that generate new BadMatch errors. Again,
1871 Jackson tracked this down.
1872 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1873 make sure we send the messages to all windows. (The old code
1874 would send the WM_DESTROY to the window, and then all child
1875 windows would be 'gone' because the WM_DESTROY handle lookup
1876 would no longer find the destroyed window)
1877 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1878 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1880 2006-03-31 Jackson Harper <jackson@ximian.com>
1882 * ScrollableControl.cs: Dont recalc if we are not visible.
1884 2006-03-31 Mike Kestner <mkestner@novell.com>
1886 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1887 the visibility branch.
1889 2006-03-31 Jackson Harper <jackson@ximian.com>
1891 * ScrollBar.cs: Cap values when incrementing/decrementing.
1893 2006-03-31 Mike Kestner <mkestner@novell.com>
1895 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1896 * ToolTip.cs: guard against timer expirations with no active control.
1897 Not sure why it happened.
1899 2006-03-31 Mike Kestner <mkestner@novell.com>
1901 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1903 * ToolTip.cs: Position the tooltip based on where the cursor is at
1904 popup time, not at MouseEnter time. Add a Down state so that we don't
1905 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1906 positioning offset. Lookup DisplaySize at positioning time, since it
1907 can theoretically change during invocation.
1908 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1909 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1911 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1913 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1914 Fixes behaviour when the Text property of the box is String.Empty
1916 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1918 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1919 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1922 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1924 * FileDialog.cs: Visual enhancement for the popup buttons in
1927 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1929 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1932 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1934 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1935 highlighted menu items to match ms
1937 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1939 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1941 2006-03-30 Mike Kestner <mkestner@novell.com>
1943 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1944 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1945 go active to account for HotLight to Selected transition.
1946 * MenuItem.cs: add internal Selected prop. Fill out the Status
1947 property by calculating it from item info. Add HotLight,
1948 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1950 2006-03-30 Mike Kestner <mkestner@novell.com>
1952 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1954 2006-03-29 Jackson Harper <jackson@ximian.com>
1956 * Form.cs: Implement TODO.
1958 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1960 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1961 missing proper dialog setup in the constructor
1963 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1965 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1967 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1968 - Fixed ResetBindings and removed TODO
1969 - Added check for cross-thread calls to get_Handle()
1970 - Added Marshaller attribute for set_Font to satisfy class status
1971 * FontDialog.cs: Removed TODOs that seemed implemented
1972 * UpDownBase.cs: Removed unneeded TODO and Fixme
1973 * MessageBox.cs: Implemented support for Default button and removed TODO
1974 * FileDialog.cs: Removed obsolete TODO
1975 * DomainUpDown.cs: Removed obsolete TODO
1976 * ButtonBase.cs: Removed obsolete TODO
1977 * XplatUIWin32.cs: Removed obsolete TODO
1979 - Removed obsolete TODO
1980 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1981 internal status updates
1982 - Making sure the active control is selected when the control is created
1983 * CurrencyManager.cs: Removed obsolete TODO
1985 2006-03-29 Mike Kestner <mkestner@novell.com>
1987 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1988 of PrintPreviewDialog and RichTextBox.
1990 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1992 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1993 DarkDark, Light and LightLight colors for a specific color
1994 * ThemeWin32Classic.cs:
1995 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1997 - Make use of the new ResPool helper CPColor
1998 - Draw ProgressBar and StatusBar with correct 3D borders
2000 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2002 * ColorDialog.cs: Return selected color. Fixes bug #77940.
2004 2006-03-28 Mike Kestner <mkestner@novell.com>
2006 * ListView.cs: fix Icon layout to plan for scrollbar widths when
2007 calculating col/row counts.
2009 2006-03-28 Mike Kestner <mkestner@novell.com>
2015 switch to explicit interface method implementation for some methods
2016 corcompare identifies as inconsistent with MS.
2018 2006-03-28 Mike Kestner <mkestner@novell.com>
2022 add a few missing methods from the class status output.
2024 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
2026 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
2029 2006-03-28 Mike Kestner <mkestner@novell.com>
2031 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
2033 2006-03-27 Mike Kestner <mkestner@novell.com>
2035 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2036 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2038 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2040 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2042 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2044 * ThemeWin32Classic.cs:
2045 - GroupBox: Inserted a little gap between the text and the lines
2047 - Made the code in CPDrawBorder3D more readable
2048 - Corrected the drawing location of the up and down arrows in
2051 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2053 * ControlPaint.cs: Corrected line widths in DrawBorder for
2054 ButtonBorderStyle Inset and Outset
2056 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2058 * ThemeWin32Classic.cs:
2059 - Rewrote the totally broken CPDrawBorder3D method. That was
2060 one of the main problems for the terrific ThemeWin32Classic
2062 - Updated and corrected Button drawing
2063 - Correct the dimensions of the SizeGrip to match ms ones
2064 - Removed a small drawing glitch in DrawComboBoxEditDecorations
2065 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
2066 Border3DStyle.Sunken to match ms.
2068 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2070 * ThemeWin32Classic.cs: First small part of the "de-uglify
2071 ThemeWin32Classic" effort, SizeGrip
2073 2006-03-24 Jackson Harper <jackson@ximian.com>
2075 * XplatUIX11.cs: Give a max idle time of one second, this matches
2076 MS and forces an Idle event every second when there are no other
2077 events in the queue.
2079 2006-03-24 Mike Kestner <mkestner@novell.com>
2081 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
2082 * ListView.Item.cs: fix layout issues with null image lists and images
2083 smaller than checkbox size.
2084 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
2085 mode like MS does. It's weird, but consistent. ;-)
2088 2006-03-24 Mike Kestner <mkestner@novell.com>
2090 * ListView.cs: Scroll wheel support for the item control. Fixes
2093 2006-03-23 Jackson Harper <jackson@ximian.com>
2095 * ScrollableControl.cs: Special case negative sized areas, not
2097 * MonthCalendar.cs: Save the rect of the clicked date so we can
2098 use it for invalidation.
2099 - Try to cut down on the number of invalidates
2100 - Invalidate the rect the mouse is over and was over when moving
2101 the mouse, so we get the focus box following the cursor.
2103 2006-03-23 Mike Kestner <mkestner@novell.com>
2105 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2106 focus rectangle drawing. Fixes #77835.
2108 2006-03-23 Mike Kestner <mkestner@novell.com>
2110 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2111 the if and else if and reverting back to the original == check on the
2114 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2116 * FontDialog.cs: Update the example panel if the selected index of
2117 the fontListBox changes.
2119 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2121 * FileDialog.cs: Make FileDialog remember which directory it was in
2122 last in the same execution.
2124 2006-03-22 Mike Kestner <mkestner@novell.com>
2126 * FileDialog.cs: make the DropDownMenu on the toolbar display
2127 RadioChecks since they are mutually exclusive and that's what MS does.
2129 2006-03-22 Mike Kestner <mkestner@novell.com>
2131 * Theme.cs: add Color param to CPDrawMenuGlyph.
2132 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2133 checks and radio marks and arrows are visible on highlighted items.
2134 * ControlPaint.cs: update to use new Theme signature.
2136 2006-03-22 Mike Kestner <mkestner@novell.com>
2138 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2139 is active. Fixes #77870.
2141 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2143 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2144 to be focused/selected after startup
2146 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2149 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2150 CustomColors and ShowHelp properties
2151 - Some internal rewrites to get better results when using the
2154 2006-03-22 Mike Kestner <mkestner@novell.com>
2156 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2157 HoverSelection. Fixes #77836.
2159 2006-03-22 Mike Kestner <mkestner@novell.com>
2161 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2162 ToggleButtons. (De)Sensitize the Back button around a stack count of
2163 1, not 0. Update ButtonSize based on a pixel count of the win32
2164 control. Adjust the toolbar size/location for new button size.
2166 2006-03-22 Jackson Harper <jackson@ximian.com>
2168 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2170 * ScrollBar.cs: When doing increments and decrements we need to
2171 set the Value property so that ValueChanged gets raised. A
2172 possible optimization here would be to make an internal SetValue
2173 that doesn't invalidate immediately.
2174 * ToolTip.cs: Tooltips get added to their container (when
2175 supplied) so they get disposed when the container is disposed.
2176 - Don't create tooltips for String.Empty. This prevents all these
2177 little 2-3 pixel windows from showing up when running nunit-gui
2179 * Form.cs: Don't set topmost when setting the owner if the handles
2180 haven't been created yet. The topmost set will happen when the
2181 handles are created.
2183 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2186 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2187 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2188 visible (to allow them to recalculate their sizes)
2190 2006-03-21 Mike Kestner <mkestner@novell.com>
2192 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2193 methods. Removed a ton of redundant code. Still not really happy with
2194 the border rendering, but I think that's mainly because of the
2195 ControlDarkDark being black instead of a dark grey. Depending on how
2196 close we want to be, we might want to revisit those color choices.
2197 Among the new features added during the refactor were DropDownArrow
2198 pressed rendering, Disabled image rendering. Proper flat appearance
2199 boundary rendering. Removed the Divider and Wrapping dividers since I
2200 can't figure out any combination of themes and conditions to make the
2201 MS control draw a horizontal line on a toolbar despite what the
2202 Divider property docs indicate.
2203 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2204 conditions and incorrect layout. Updated to coding standard.
2205 * ToolBarButton.cs: refactored layout and positioning code from
2206 ToolBar to here. Invalidate wherever possible instead of forcing
2207 redraws of the whole toolbar.
2208 (Known remaining issues: explicit ButtonSize smaller than provided
2211 2006-03-21 Mike Kestner <mkestner@novell.com>
2213 * ContextMenu.cs (Show): use the position parameter instead of just
2214 showing at the MousePosition.
2216 2006-03-21 Jackson Harper <jackson@ximian.com>
2218 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2219 control handle this.
2220 * TreeNodeCollection.cs: If we are clearing the root node we need
2221 to reset top_node so calcs can still happen.
2222 * ThemeWin32Classic.cs: This is a Flags so we need to check
2225 2006-03-21 Jackson Harper <jackson@ximian.com>
2227 * DataGrid.cs: Create columns when the binding context has been
2229 * X11Structs.cs: Keysyms are uints.
2230 - Add size to fix build.
2232 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2234 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2236 - Added ResetMouseHover method to allow controls to retrigger
2237 hovering if they need it more than once
2238 - Implemented MouseHoverTime and MouseHoverSize properties
2239 * Timer.cs: Start() must reset the interval
2240 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2243 2006-03-21 Jackson Harper <jackson@ximian.com>
2245 * X11Keyboard.cs: improved layout detection. Move the nonchar
2246 tables into this file.
2247 * KeyboardLayouts.cs: Move the tables into resource files.
2249 2006-03-21 Mike Kestner <mkestner@novell.com>
2251 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2253 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2255 * Mime.cs: Various speed optimizations. Looking up mime types
2256 is now 2 times faster than before
2258 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2260 * CreateParams.cs: Added internal menu field
2262 - Switched call order for UpdateBounds; now we always call
2263 the one that also takes ClientSize, and we're calculating the
2264 client size via driver method in the others. The previous
2265 method of tracking client size by difference wasn't working
2266 for forms where even the starting client size wouldn't match
2267 the overall form size (due to borders) (Part of fix for #77729)
2268 - CreateParams(): Do not use parent.Handle unless the handle is
2269 already created. Causes havoc with Nexxia and throws off our
2270 creation of controls
2272 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2273 - Switched handling of ConfigureNotify over to new PerformNCCalc
2274 method (consolidates code)
2275 - Changed RequestNCRecalc to use new PerformNCCalc method
2276 - Added calls to RequestNCRecalc when menus and borders are changed
2277 to allow app to set NC size. (Part of fix for #77729) This matches
2278 when MS send a WM_NCRECALC on Win32 windows.
2279 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2280 (Part of fix for #77729). This matches what MS does, they also
2281 send that message when the form is made visible.
2282 - XException.GetMessage: Improved usability of X errors by including
2283 a translation of the window into Hwnd and Control class
2284 - Improved debug info for window creation, reparenting and destruction
2285 - Created helper method WindowIsMapped() [Currently not used]
2286 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2288 - CreateParams: Now setting our menu on the new internal menu field
2289 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2290 avoid calculating the same property twice
2292 - Improved usability of ToString() for debugging purposes
2293 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2294 determine the height of the menu, instead of just the font. This
2295 required to also create a graphics context and to keep a bmp
2296 around (for performance reasons)
2298 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2300 * MenuAPI.cs: Added OnMouseUp method
2302 - Now remembering the requested client size, avoids size errors
2303 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2304 instead of base if the menu is active. This is required due to
2305 control now capturing and releasing on down/up and it would
2306 prematurely release our menu capture
2308 2006-03-17 Jackson Harper <jackson@ximian.com>
2310 * KeyboardLayouts.cs: Add the czech layouts.
2312 2006-03-16 Jackson Harper <jackson@ximian.com>
2314 * Control.cs: Use the viewport space when sizing not the controls
2315 client size, so things like ScrollableControl that effect the
2316 viewport size (when scrollbars are added) are computed correctly.
2317 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2319 - Handle creating BindingManagers for null data sources.
2320 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2321 source, otherwise when rows are added they are added to the 'fake'
2322 datasource and we will crash when trying to set the position in
2324 - Use Implicit scrollbars on the datagrid so they arent
2327 2006-03-16 Jackson Harper <jackson@ximian.com>
2330 * InternalWindowManager.cs:
2331 * MdiWindowManager.cs:
2332 * X11Keyboard.cs: I really want Mike to love me again (fix
2335 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2338 - OnMouseDown: Switch to editing mode when clicking on the cell
2339 even if we're clicking on the cell that's currently
2341 - ProcessGridKey: Left/Right now wrap like MS.Net does
2342 - ProcessGridKey: Tab now knows to add a new row when tab is
2343 pressed in the cell of the last column of the
2345 - ProcessGridKey: Enter now adds another row if pressed in the last
2346 row and selectes the new row, same column cell
2347 - ProcessGridKey: Home/End navigate columns, not rows, like
2348 originally implemented
2349 - Broke ProcessKeyPreview code out into an extra Internal method
2350 so it can be called from the edit code
2351 * DataGridTextBox.cs (ProcessKeyMessage):
2352 - Switched to accept Tab keypresses
2353 - Added F2 handling to allow jumping to the end of the edited cell
2354 - Added logic to allow moving caret left/right inside edited cell
2355 and making the edited cell jump when the caret hits cell borders
2356 - Tab and Enter are now passed to the datagrid after being handled
2358 - Removed capture code now that Control handles it
2359 - set_SelectionStart now ensures caret is visible
2361 2006-03-16 Jackson Harper <jackson@ximian.com>
2363 * TrackBar.cs: Debackwards the increment/decrement for handling
2364 mouse clicks on the bar with vertical trackbars.
2365 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2368 2006-03-16 Mike Kestner <mkestner@novell.com>
2370 * ListView.cs: make shift/ctrl keyboard and mouse selection
2371 consistent with the MS control. Fix a bug in
2372 SelectedListViewItemCollection.Clear that was pissing me off for the
2373 better part of a day because the collection was being altered
2374 underneath us as we walked the list.
2376 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2378 * Control.cs: Not sure how we could miss this so long, but it seems
2379 that MS.Net has Capture set all the way from before calling
2380 OnMouseDown through sending the mouse events until after
2381 OnMouseUp. This will fix DataGrid's selection being set to end
2382 at the location of the MouseUp.
2384 2006-03-15 Jackson Harper <jackson@ximian.com>
2386 * BindingContext.cs: Check the binding after its added so that it
2387 can initialize the binding managers and hookup to events.
2388 * Binding.cs: Data members seem to sometimes include rows/cols in
2389 the format Row.Column we now take this into account.
2390 - Hookup to the position changed event so we can update the
2391 control when the position has changed in the data set.
2392 * CurrencyManager.cs: Take into account the row/col naming
2393 convention when creating dataset tables.
2394 * BindingContext.cs: Using a newer better way of storing
2395 datasource/datamember pairs. Hopefully this better matches MS for
2396 looking up binding managers.
2399 2006-03-15 Jackson Harper <jackson@ximian.com>
2401 * BindingContext.cs: The currency manager needs the data member
2402 name, if the member is a data set we use the name to find the
2404 * CurrencyManager.cs: When creating the list prefer an IList over
2406 - Attempt to create a DataTable from a DataSet (TODO: might need
2407 some better error checking here, although MS doesn't seem to have much)
2408 - If we have a DataTable create a view and use it as our list.
2410 2006-03-15 Mike Kestner <mkestner@novell.com>
2412 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2413 keyboard navigation. Support Up/Down/Left/Right selection correctly
2414 for all 4 View modes.
2415 * ListViewItem.cs: add internal row/col fields for icon layouts.
2417 2006-03-15 Jackson Harper <jackson@ximian.com>
2419 * TabControl.cs: Redraw the tabs when we resize so their newly
2420 calculated sizes are drawn on screen.
2421 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2422 composite characters.
2423 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2424 - filter events so that composite characters can be created
2426 * X11Structs.cs: Add XIMProperties enum.
2428 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2430 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2433 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2435 * Control.cs (PerformLayout): We don't need to consider visiblity
2436 for anchoring, only for docking. This fixes 'whacky' alignment
2437 in listbox and other controls that use implicit scrollbars after
2438 the previous PerformLayout patch
2439 * ListBox.cs: Switched to use implicit scrollbars
2441 2006-03-14 Mike Kestner <mkestner@novell.com>
2445 - chain up the "new event" overrides to base and use
2446 OnEvent to raise them. Part of fix for bug #76509.
2448 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2450 * FileDialog.cs: Do not select an item in the parent directory
2453 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2455 * Control.cs (PerformLayout): It would seem that we considered
2456 invisible windows for our layout. Not quite the right thing
2457 to do. Now we don't any longer, thereby fixing bug #76889.
2459 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2461 * Control.cs (CanFocus): I goofed. A control can have focus
2462 even though it's not selectable. Made it match MS docs.
2464 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2466 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2467 center by default (fixes #76895)
2468 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2469 all uses of Border3DSides.All with the explicit ORd together
2470 Left|Right|Top|Bottom because I assume that nobody was aware
2471 that All also implies a center fill. Most places I checked had
2473 * ProgressBarStyle.cs: Added
2475 2006-03-13 Mike Kestner <mkestner@novell.com>
2477 * ListView.cs: fix breakage in drag shadow header positioning
2478 from Peter's csc compilation fix.
2480 2006-03-13 Mike Kestner <mkestner@novell.com>
2482 * ListView.cs: fix NRE produced by backspacing twice in a focused
2485 2006-03-13 Mike Kestner <mkestner@novell.com>
2487 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2489 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2491 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2493 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2494 the allowed size before making programmatic size changes
2496 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2498 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2499 set, metacity is broken and will still use the emty sizes in
2500 the struct. (Fix for #77089)
2502 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2504 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2505 WindowExStyles and marked both enums as Flags
2506 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2507 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2508 to match WindowStyles split
2510 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2511 - Updated to match WindowStyles split
2513 - Fixed FosterParent creation, was using ExStyle on the Style field
2514 (This should help with Popup focus issues)
2515 - Updated to match WindowStyles split
2517 2006-03-13 Jackson Harper <jackson@ximian.com>
2519 * MdiWindowManager.cs: Use the system menu height. Fixes some
2520 strange sizing issues.
2522 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2524 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2526 - Scroll to caret after inserting text (#77672)
2527 - Make scroll range one pixel higher, fixes off-by-one error (and
2528 makes underlines visible on the last line)
2530 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2532 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2533 the keyboard state from being stuck with keys in 'pressed' state when
2534 focus is switched away via keyboard
2535 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2536 reset the keyboard if no X11 KeyUp events are expected to come
2537 * X11Structs.cs: Switched type of Visible to bool to match driver
2539 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2542 - Switched caret to be just 1 pixel wide, matches MS and looks less
2544 - Moved caret display 1 pixel down from the top of the control
2546 - InsertCharAtCharet: Update the selection start if moving the caret
2547 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2548 - No longer always creating the caret when the caret methods are
2549 called. Only the actual ShowCaret/HideCaret will do that now
2550 - Only setting caret visible if the owner control has focus
2551 - UpdateView: Added invalidation-shortcut logic for center and right
2552 aligned text. Previously we'd update all according to the left
2553 logic which caused drawing errors. Also fixed height of invalidated
2554 areas, now properly invalidating the whole area (was off-by-one)
2555 - owner_HandleCreated: Always generate the document when the
2556 handle is created; this ensures that
2558 - Fixed situation where caret would disappear under the right
2559 window border, also improved scrolling behaviour on left-
2561 - Fixed right-aligned textboxes to have a border to the
2562 right instead of the caret being under the right border
2564 - Switched from 'nested' to simple visible/not visible tracking
2565 for caret (part of fix for #77671)
2566 - No longer passing through translated FocusIn/FocusOut messages
2567 since we were notifying too often and the wrong windows. Instead
2568 we just notify our focussed window of receiving or loosing focus
2569 * XplatUIWin32.cs: Switched from 'nested' show/hide
2570 counting for caret to simple visible yes/no behaviour (part of
2573 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2575 * Mime.cs: Remove debug code...
2577 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2579 * MimeGenerated.cs: Removed
2580 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2581 and subclasses) from /usr/(local/)share/mime and
2582 $HOME/.local/share/mime.
2584 2006-03-10 Jackson Harper <jackson@ximian.com>
2586 * MdiWindowManager.cs: Recalc the NC area when a window is
2587 maximized/restored so that the menu area is drawn on forms that
2590 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2592 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2593 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2594 us to force a WM_NCCALCRESIZE message being sent. This is needed
2597 2006-03-10 Jackson Harper <jackson@ximian.com>
2599 * Form.cs: We need to use the ActiveMenu when calculating menu
2601 - Fix nullref when the window manager hasn't been created yet.
2602 * Control.cs: Fix nullref when we try to bring a control to the
2603 front that has no parent.
2604 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2606 - Add a dummy item to the maximized menu so it always has the
2607 correct height. Otherwise when there are no menus we don't get our
2611 2006-03-10 Jackson Harper <jackson@ximian.com>
2613 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2615 * Form.cs: Make the window_state internal so the window managers
2617 - When an MDI child is maximized let its window manager create the
2618 main menu (so it can add its icon).
2619 - Notify the window managers of state changes
2620 - Let the window manager paint its buttons and handle button
2621 clicks on the menu when it is maximized.
2622 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2623 window manager, since tool windows don't use it, only mdi windows.
2624 - Tell the main form that we don't want it to handle NCPAINT
2625 itself to avoid extra painting.
2626 - Handle clicks on a maximized windows menu.
2627 - Handle window state changes
2628 - Handle minimize/maximize clicks correctly by setting the window state.
2629 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2630 when clicking on the forms icon).
2631 - New method to create a forms maximized menu. This is its normal
2633 - Handle window state changes.
2634 - Handle sizing of maximized windows. Maximized windows are just
2635 drawn bigger then the parent visible area. All controls are still
2636 there, they are just outside the visible area (this matches windows).
2637 * MdiClient.cs: No scrollbars when a child window is maximized.
2638 - Let the children windows figure out how big they should be when
2639 sizing maximized windows.
2640 - Implement a version of ArrangeIconicWindows somewhat similar to
2641 Windows version. There are some little differences, but I don't
2642 think any app will rely on the layout of minimized mdi windows.
2644 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2646 * Padding.cs: Several fixes to allow compiling with csc 2.0
2648 2006-03-09 Jackson Harper <jackson@ximian.com>
2651 * MenuItem.cs: Cheap hack so we can add items to the list without
2652 the events being raised. This allows adding mdi items during
2653 drawing. TODO: Should probably find a better time to add the items.
2655 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2657 * ThemeWin32Classic.cs:
2658 - CheckBox_DrawText: Added logic to not wrap if not enough space
2659 is available (Fix for bug #77727)
2660 - RadioButton_DrawText: Added logic not to wrap if not enough
2661 space is available (Fix for bug #77727). Also removed some
2662 duplicate code, DrawString always drawing the regular text
2663 before hitting the if statement.
2665 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2667 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2669 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2671 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2672 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2673 methods. Moved the new 2.0 properties into alphabetical order with
2674 other properties and added MonoTODO tags
2676 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2678 * AutoScaleMode.cs: Added. Fix build.
2680 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2682 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2683 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2684 and was requiring premature handle creation for calls from above
2685 * Form.cs, Control.cs: Removed handle arguments from calls to
2686 CalculateClientRect()
2688 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2690 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2691 drag_column.column_rect is MarshalByRef and can't be used that way
2693 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2695 * AxHost.cs: Added deserialization constructor for
2696 AxHost+State (fixes 77743)
2698 2006-03-09 Mike Kestner <mkestner@novell.com>
2701 - Added column drag reordering for details view.
2702 - fixed behavior when mouse is dragged off column and
2703 AllowColumnReorder is false.
2704 * ColumnHeader.cs: clone the format too in Clone.
2705 * Theme.cs: add DrawListViewHeaderDragDetails method.
2706 * ThemeWin32Classic.cs:
2707 - impl new method for drawing drag column shadows and targets.
2708 - support column offset for details mode in DrawListViewItem.
2710 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2712 * TextControl.cs: Reset the char_count when the document is cleared
2713 (Fixes bug reported on mono-winforms mailing list)
2715 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2717 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2718 of calling base we simply process the key ourselves, since both
2719 DefWindowProc and the handled method would set m.Result.
2722 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2724 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2725 method also moves the window; instead implemented a copy of
2726 Control.ScaleCore (Part of fix for #77456)
2728 - Created new CreateGraphicsInternal method to allow providing
2729 a graphics context when no handle is created without triggering
2730 handle creation. (Part of fix for #77456)
2731 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2733 - Switched Constructor to require TextBoxBase instead of Control (to
2734 allow uncast access to CreateGraphicsInternal)
2735 - Safeguarded use of owner.Handle property. No longer accessing it
2736 unless the handle is already created.
2737 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2738 - Now triggering a recalc when owning control becomes visible
2739 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2740 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2741 premature handle creation (Part of fix for #77456)
2743 - We now only destroy our double-buffering buffers when the
2744 control is resized or disposed, but not when visibility
2745 changes. (The code even re-created them twice every time)
2746 - Now requiring a redraw of the buffer on visibility changes
2747 (fixes bug 77654 part 2)
2748 - Not passing OnParentVisibleChanged up unless the control
2750 - CanFocus: Fixed to match MS documentation
2751 - Focus: Fixed to return actual focus state and to check if
2752 setting focus is legal before setting it
2754 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2756 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2757 when to draw focus rectangle by looking at parent focus and
2758 selected state instead. This fixes TabPages on Linux sometimes
2759 having none or multiple focus rectangles.
2760 * XplatUIX11.cs (SetFocus):
2761 - Don't set the focus if the same window already has focus
2762 - Use SendMessage instead of PostMessage (like it's Win32
2763 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2764 to match MS behaviour
2765 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2768 2006-03-07 Jackson Harper <jackson@ximian.com>
2770 * PictureBox.cs: Revert line I accidently committed last week.
2772 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2775 - Added new IsRecreating and ParentIsRecreating properties to
2776 allow testing if RecreateHandle has been called on ourselves
2777 or one of our parents
2778 - WndProc(WM_DESTROY): If our control handle is being recreated
2779 we immediately need to create the handle when receiving the
2780 destroy, that way our child windows find a valid parent handle
2781 when they themselves are being recreated upon WM_DESTROY receipt
2782 (fix for bug #77654 part 1)
2784 - DestroyWindow: WM_DESTROY must be sent to our own window before
2785 notifying any child windows. MS documents that child windows
2786 are still valid when WM_DESTROY is received. (Control now relies on
2788 - Added some fine-grain debug options
2790 2006-03-06 Jackson Harper <jackson@ximian.com>
2792 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2793 box and base calculations off this.
2794 * MdiChildContext.cs:
2795 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2798 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2800 * Splitter.cs: In situations where the affected control is added
2801 to the parent's control list after the splitter, we would not
2802 populate affected. Now we try populating it on mousedown, if
2803 it's not already set, and force it to be re-set whenever our
2806 2006-03-03 Matt Hargett <matt@use.net>
2808 * Control.cs: implement Control.Padding
2809 * Padding.cs: -Padding.All returns -1 when constructing with the
2810 implicit default ctor
2811 -Padding.ToString() matches MS.NET
2812 * ContainerControl.cs: implement
2813 ContainerControl.AutoScaleDimensions
2814 * ListControl.cs: implement ListControl.FormattingEnabled
2815 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2817 * TabPage.cs: Implement UseVisualStyleBackColor.
2818 * PictureBox.cs: Implement PictureBox.InitialImage.
2820 2006-03-03 Mike Kestner <mkestner@novell.com>
2822 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2823 event declarations to proxy to base event.
2824 * ListViewItem.cs: update to use ItemControl.
2825 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2826 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2827 column header label rendering for 0 width columns.
2829 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2831 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2832 that causes the control to be created. Fixes #77476.
2834 2006-03-02 Jackson Harper <jackson@ximian.com>
2836 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2839 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2841 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2842 passed in for the EventArgs (fixes #77690)
2844 2006-03-01 Jackson Harper <jackson@ximian.com>
2846 * ScrollBar.cs: Refresh afterbeing resized.
2848 2006-02-28 Mike Kestner <mkestner@novell.com>
2850 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2851 Clean up a tracker compile warning.
2852 * MenuItem.cs: add internal PerformPopup method.
2855 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2857 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2858 implicit expose) when the text is set to null
2860 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2862 * RichTextBox.cs (FlushText): When newline is true, we always
2863 need to split the line, even if no text is on it and we may
2864 never eat newlines. (Fixes #77669)
2866 2006-02-28 Mike Kestner <mkestner@novell.com>
2868 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2869 and set Selected instead.
2870 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2873 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2875 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2877 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2880 - Got rid of the panel. All controls are now directly added to
2882 - It is now possible to set a font with the Font property
2883 - MinSize and MaxSize property do now what they should
2884 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2885 - Searching and selecting a font with the font textbox works now,
2886 the same applies to the style and size textbox
2887 - Draw the correct 3D border in the example panel
2888 - Fixed a little mem leak (unused fonts didn't get disposed)
2889 - Many other internal updates/rewrites...
2892 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2895 - InsertRTFFromStream: Added 'number of characters inserted' argument
2896 - set_SelectedRTF: Now using the number of characters to calculate
2897 the new location for the selection and cursor (x/y cannot be used
2898 due to potentially already wrapped text)
2900 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2902 * TextControl.cs: Added property and implemented means to allow
2903 disabling recalculation of a document (can be used to speed up
2904 multiple inserts and is needed to make RTF inserts predictable, see
2906 * RichTextBox.cs: Using the new NoRecalc property of Document to
2907 keep x/y insert locations predictable. Also makes it faster inserting
2910 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2912 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2913 it's easier for a child control to handle the other messages without
2914 having to duplicate the special functionality
2916 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2917 code to handle processing the key ourselves, in order to get
2918 access to the result of KeyEventArgs.Handled. We now only call
2919 ProcessKey if they key hasn't been handled already. Fixes #77526.
2920 - set_Text: If null or empty string is given, just clear the
2921 document. Fixes part of #77526
2923 2006-02-27 Jackson Harper <jackson@ximian.com>
2925 * SizeGrip.cs: Paint the background color before painting the grip
2926 so things look right.
2927 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2929 2006-02-27 Mike Kestner <mkestner@novell.com>
2932 - Restructure layout and invalidation model to remove a ton of
2933 flicker from the control and speed up performance in general.
2934 - Add manual column resize, flickers like crazy, but I already have
2935 some ideas on how I'll fix that. (#76822)
2936 - Merge the three Icon-based views into a single layout method.
2937 - Move item selection interaction logic from the item since
2938 interaction with the collections is more appropriate to the view.
2939 - Deselection on non-item clicks.
2941 - Encapsulate most of the layout. Add some internal props to trigger
2942 layout. Move to a model where Items invalidate themselves instead
2943 of just invalidating the whole control every time something changes.
2944 - Invalidate on Text/Caption changes.
2945 - switch to an offset based layout model to avoid having to absolute
2946 position every element on item moves.
2947 - correct checkbox layout to conform to MS layout.
2948 * ThemeWin32Classic.cs:
2949 - refactor some column header drawing code.
2950 - fix string justification for column headers (#76821)
2951 - make SmallIcon labels top justified for compat with MS impl.
2952 * ThemeClearlooks.cs:
2953 - adjust to new ListViewItem internal checkbox bounds api.
2955 2006-02-27 Jackson Harper <jackson@ximian.com>
2957 * Control.cs: Change where implicit controls fall in the zorder.
2958 They are now on top of all children.
2959 - Synced AddImplicit code with Add
2960 - Removed unused enumerator.
2961 * SizeGrip.cs: Remove the TODO as its been TODONE.
2963 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2965 * TextControl.cs(Insert): Combine the last lines unless the insertion
2966 string ends with \n\n, otherwise we leave one line too many (Fixes
2967 something I noticed with the testapp for #77526; the bug itself was
2968 already fixed in the previous checkin)
2970 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2973 - SelectionColor and SelectionFont methods no longer set absolute
2974 styles. Instead, the keep font or color respectively (This
2975 resolves a long-standing FIXME in the code)
2976 - When flushing RTF text, the insert code now considers text trailing
2977 behind the insertion point (Fixes the bug where when replacing
2978 the selected text via SelectedRTF the remainder of the line behind
2979 the selection would stay on the first insertion line)
2981 - AppendText now updates the selection points after inserting text
2982 - AppendText now ensures that the last tag (sometimes 0-length) of
2983 the document is used for the style information (Fixes part of
2986 - Created new FontDefiniton class to allow describing partial style
2988 - StreamLine() now takes a lines argument, to allow it to decide
2989 whether an encountered zero-length tag is the last in the document
2990 (which must be kept to not loose the font/color contained in it,
2992 - Created Combine() and Split() methods for Marker structs, to
2993 support marker updates due to reformatted documents (soft line
2995 - Implemented Document.CaretTag setter
2996 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2997 of the last line (Not the cause, but also exposed by bug #77220)
2998 - Added LineTag argument to InsertString method, to allow callers
2999 to force a certain tag to be used (required to force use of the
3000 trailing zero-length tag of a document)
3001 - Now updating markers in Combine(), to avoid stale tag markers
3002 - Added some method descriptions to aid maintenance
3003 - Implemented new FormatText concept, allowing additive/subtractive
3004 formatting by only specifying the components that are to be
3005 changed. This was needed for resolving the RTB.SelectedColor/
3006 RTB.SelectedFont fixmes
3007 - Added Break() support method to allow breaking up linetags (used
3008 for partial formatting)
3009 - Added GenerateTextFormat() method. It is used for partial
3010 formatting and allows to generate a full font/color from given
3011 attributes and an existing tag.
3013 2006-02-26 Jackson Harper <jackson@ximian.com>
3015 * XplatUIX11.cs: Use the correct caption height.
3016 - Translate hittest coordinates to screen coords to match MS.
3017 * XplatUIWin32.cs: When we create MDI windows we need to reset
3018 some of the style flags, so we get a nice blank window, and can
3019 draw all the decorations ourselves.
3020 - Set a clipping rectangle on the non client paint event, the
3021 window manager drawing code needs one.
3022 * Form.cs: The window manager needs to know when the window state
3024 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
3025 don't need to factor in border and title sizes in these
3026 methods. TODO: Remove the args and fix the call points.
3027 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
3029 - Let the driver set the cursors.
3030 - Improve active window handling
3031 - Correct sizes for title bars and buttons.
3032 - Match MS drawing better
3033 * MdiWindowManager.cs: We don't need to handle border style
3034 updates specially anymore.
3035 - Check for scrollbars when windows are done moving
3036 - Handle Active properly.
3037 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3038 correctly. I am spewing the exception though, so we don't hide the
3041 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3043 * DataGridViewRowPostPaintEventArgs.cs,
3044 DataGridViewCellPaintingEventArgs.cs,
3045 DataGridViewRowCollection.cs,
3046 DataGridViewRowPrePaintEventArgs.cs,
3047 DataGridViewCell.cs: Clear a few warnings and implement a few
3048 exceptions that should be thrown.
3050 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3052 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3053 'inheriting' our parent's (non-default) cursor. (Part of
3056 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3058 * XplatUIX11.cs: Fixed cast to make csc happy
3060 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3062 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
3063 it's for the client area (part of fix for #77479 and needed
3064 for MDI window cursor handling)
3066 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
3067 the appropriate default cursors and also passing the message
3069 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
3070 for non-client areas
3072 2006-02-15 Jackson Harper <jackson@ximian.com>
3074 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
3075 is a real MDI window
3077 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
3079 * X11DesktopColors.cs: Instead of checking the desktop session
3080 string for "KDE" check if it starts with "KDE"
3082 2006-02-10 Jackson Harper <jackson@ximian.com>
3084 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
3087 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3089 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3092 - Got rid of the panel. All controls are now directly added to
3094 - Changed to mono coding style
3096 2006-02-10 Jackson Harper <jackson@ximian.com>
3098 * InternalWindowManager.cs: We don't need the set visibility to
3099 false hack anymore now that peter has written beautiful shutdown
3102 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3104 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3105 where already explicitly destroyed
3107 2006-02-10 Jackson Harper <jackson@ximian.com>
3109 * MdiClient.cs: Handle the case where windows are too high or to
3110 the left and we need scrollbars.
3112 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3114 * MimeIcon.cs: Added some icons
3117 - Got rid of the panel. All controls are now directly added to
3119 - Changed to mono coding style
3120 - On Linux "My Computer" and "My Network" will now show some
3121 more usefull information. A new class, MasterMount, gathers
3122 this information from /proc/mount. Updated MWFFileView to make
3123 use of this information
3124 - Fixed a bug that caused FileDialog to crash when
3125 ".recently_used" file had a zero size
3126 - FilterIndex does now what it should
3128 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3131 2006-02-09 Jackson Harper <jackson@ximian.com>
3133 * ComboBox.cs: Don't touch if null.
3135 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3137 * Cursor.cs: 64bit safeness fix
3138 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3140 2006-02-09 Jackson Harper <jackson@ximian.com>
3142 * Form.cs: If a form is made into an MDI form update the styles so
3143 all the props can get set correctly.
3144 - Kill the mdi_container when we dont need it anymore.
3145 * InternalWindowManager.cs: Add missing NOT
3147 2006-02-08 Jackson Harper <jackson@ximian.com>
3149 * InternalWindowManager.cs: Respek clipping when drawing MDi
3152 2006-02-08 Jackson Harper <jackson@ximian.com>
3154 * Hwnd.cs: Add bits to track non client expose events.
3155 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3156 gives us a proper invalid rect and will allow for some nice
3157 optimizations with NC client drawing
3158 - MDI windows are children windows, so move their style handling
3159 into the child window block.
3160 * InternalWindowManager.cs: Remove a state reset that was
3161 getting invoked at the wrong time. Fixes managed windows getting
3162 into a 'stuck' captured state.
3164 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3166 * TextControl.cs (Document.ctor): Now initializing
3167 selection_anchor. Fixes #77493
3169 2006-02-07 Jackson Harper <jackson@ximian.com>
3171 * TrackBar.cs: The increment/decrements were backwards.
3173 2006-02-07 Mike Kestner <mkestner@novell.com>
3175 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3176 to the instance itself.
3178 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3180 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3181 on ulongs and pointers, the size differs between 32bit and 64bit
3184 2006-02-07 Mike Kestner <mkestner@novell.com>
3186 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3187 for 64 bit platforms to work around a metacity bug.
3189 2006-02-07 Jackson Harper <jackson@ximian.com>
3191 * TrackBar.cs: Process the input keys we need, and hookup to
3192 KeyDown instead of using WndProc, so we get key messages.
3194 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3196 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3198 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3199 we need to translate the XdndVersion atoms array before sending it
3201 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3204 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3205 number of bits for the property, not the number of bytes. The
3206 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3207 but would not crash since it specified 8 bits instead of 4 bits)
3208 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3209 defined as XID -> long in the C headers)
3210 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3211 references since those are now IntPtr to begin with
3212 - Switched all Atom.XXX 'int' casts to IntPtr casts
3213 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3214 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3215 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3217 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3218 - Changed atom in HoverStruct to be IntPtr
3220 - Removed local DllImports, switched code to use those from XplatUIX11
3221 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3223 2006-02-06 Mike Kestner <mkestner@novell.com>
3225 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3226 method signatures in the import region. There may still be some
3227 lingering struct marshaling issues, as I didn't drill down into those.
3230 2006-02-06 Jackson Harper <jackson@ximian.com>
3232 * ComboBox.cs: Dont manually set the top_item, this is computed
3233 when the scrollbar position is set.
3235 2006-02-06 Mike Kestner <mkestner@novell.com>
3237 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3238 startup crashes on amd64. There's other fixes needed. All pinvoke
3239 usage of Atom needs to be mapped to IntPtr for example. And there are
3240 likely other int/long issues to be addressed.
3242 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3244 * FileDialog.cs: One more...
3246 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3248 * FileDialog.cs: Next try
3250 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3252 * FileDialog.cs: First part of fix for #77464
3254 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3256 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3257 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3258 AcceptButton border drawing.
3260 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3262 * Form.cs: Moved positioning of form after auto scaling is applied,
3263 otherwise it would possibly use wrong form size.
3265 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3267 * Control.cs (RecreateHandle): No need to re-create any child
3268 controls, the child windows will get destroyed automatically by
3269 the windowing system or driver, and re-created when the handle
3270 is being accessed the first time. Fixes #77456
3271 * Form.cs: No longer setting the form to closing if the handle is
3272 being recreated. This seems like the right thing to do, don't
3273 have a bug or testcase for this, though.
3275 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3277 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3278 controls to avoid unwanted side effects
3280 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3283 - ScaleCore needs to scale the bounds, not the ClientSize of the
3284 control. Fixes #77416.
3285 - DefaultSize is 0,0 for control
3287 - DefaultSize is 100, 20
3288 - SetBoundsCore: Now enforcing the height, no matter if the provided
3289 height is more or less than the preferred one, as long as AutoSize
3291 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3293 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3296 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3297 call unless both performLayout is true *and* we have a pending
3299 - ResumeLayout: MS does not completely nest Suspend and Resume,
3300 they bottom out at 0, fixed our code to match that.
3301 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3302 SetBoundsCore, we were updating even when we shouldn't. This fixes
3303 swf-anchors mis-anchoring when resizing the app fast and lots.
3304 - UpdateDistances: Now only setting the left and top distance if
3305 we have a parent and are not suspended, this is based on
3306 a suggestion by Don Edvaldson in bug #77355.
3307 - OnVisibleChanged: Fixed logic when to create the control. We may
3308 not create the control if we have no parent or if it's not visible;
3309 switched to using Visible property instead of is_visible field
3310 since the property also considers parent states. This fixes a bug
3311 when starting Paint.Net
3313 2006-02-02 Jackson Harper <jackson@ximian.com>
3315 * Form.cs: If the forms handle hasn't been created yet don't call
3316 into xplatui to make it top most, just set the topmost flag on the
3317 form in CreateParams
3318 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3320 2006-02-01 Jackson Harper <jackson@ximian.com>
3322 * ScrollableControl.cs: Refactored the Recalculate method a
3323 little, this wasn't handling all the variants of bottom and right
3324 bars needed to be added and added/removed based on their
3325 counterparts being added/removed (which changes the drawable
3326 size). Also we special case client widths and heights of 0 and
3327 don't add the scrollbar for those.
3329 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3332 - Added method to get AbsoluteGeometry(); currently unused, but might
3333 be used in the future, if we try again to figure out toplevel
3334 coordinates with some more crappy window managers
3335 - Added FrameExtents() method to retrieve the WM set decoration size
3336 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3337 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3339 - Added whacky_wm tracking var for metacity
3340 - Added logic to have default menu height if the actual menu height
3341 has not yet been calculated (part of fix for #77426)
3342 * Form.cs: Keep track whether client size has been set and re-set
3343 it if a menu is added/removed afterwards (Fixes #77426)
3345 2006-01-31 Jackson Harper <jackson@ximian.com>
3347 * Control.cs: When a new Site is set on the component attempt to
3348 pull the AmbientProperties from it.
3350 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3352 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3353 in the background of the owning form. Fixes #77332
3355 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3357 * MimeIcon.cs: Fix for #77409
3359 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3361 * XplatUIX11GTK.cs: Initial import
3363 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3365 * FixedSizeTextBox: fixes class signature
3367 2006-01-30 Jackson Harper <jackson@ximian.com>
3369 * FixedSizeTextBox.cs: New internal class that represents a
3370 textBox that will not be scaled.
3373 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3376 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3378 * XplatUIX11.cs: Retrieve default screen number instead of
3379 assuming 0. Attempted fix for #77318
3381 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3384 - GetWindowPos: When a window is parented by FosterParent, use
3385 the desktop instead of FosterParent as the base to get coordinates
3386 - CreateWindow: Don't make FosterParent the parent window for Popups
3387 if we don't want a taskbar entry, Popups automatically don't get one
3388 * Hwnd.cs: Need to call remove to actually remove the key from the
3391 2006-01-30 Mike Kestner <mkestner@novell.com>
3393 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3395 2006-01-30 Jackson Harper <jackson@ximian.com>
3398 * TreeNode.cs: Raise events no matter how the treenode is
3399 checked. Patch by Don Edvalson.
3401 2006-01-30 Jackson Harper <jackson@ximian.com>
3403 * TreeNode.cs: Signature fix.
3405 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3407 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3409 2006-01-20 Mike Kestner <mkestner@novell.com>
3411 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3412 event forwarding when menus are active.
3413 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3414 Most of the patch is pdb's with a little rework.
3416 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3418 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3419 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3420 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3421 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3422 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3423 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3424 the PaintWindowDecorations method
3425 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3426 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3427 * MenuAPI.cs: Made tracker window invisible
3429 - Removed GetMenuDC and ReleaseMenuDC methods
3430 - Implemented the client=false path for PaintEventStart and
3433 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3435 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3436 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3439 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3441 - CreateParams: Reworked the styles to match MS look'n'feel,
3442 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3443 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3445 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3447 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3448 window is not mapped, since otherwise every form that's being
3449 created is considered minimized, which is wrong.
3450 * Form.cs: Catching the exception and returning our internal value
3453 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3455 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3456 SetWindowMinMax() to have means to tell the driver about the minimum,
3457 maximum and maximized state window sizes. (Part of the fix for #76485)
3459 - Implemented tracking of minimum and maximum window size, now calling
3460 new SetWindowMinMax() driver method to tell the driver (Part of the
3462 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3463 (Completes fix for #76485)
3464 - Calling new SetWindowMinMax driver method when the handle for a
3465 form is created, to make sure the driver knows about it even if
3466 the values have been set before the window was created
3467 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3468 to avoid messing up our anchoring calculations (partial fix
3470 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3472 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3473 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3474 (and presumably other freedesktop.org compliant WMs). Left the
3475 assumption unmapped=minimized, needed for SetVisible to work.
3476 - Now setting the window state when creating windows
3477 - Fixed SetVisible to consider/set the window state when mapping
3478 a Form. We cannot set the state before it's mapped, and we cannot
3479 use Form.WindowState once it's mapped (since it would ask the
3480 driver and get 'normal'. Therefore, we grab the state before
3481 mapping, map, and then set state.
3482 - Implmemented SetWindowMinMax method; Metacity does not seem to
3483 honor the ZoomHints, though.
3485 - Removed MINMAXINFO (moved to XplatUIStructs)
3486 - Added SetWindowMinMax stub (on Win32 the only way to set that
3487 information is in response to the WM_GETMINMAXINFO message, which
3488 is handled in Form.cs)
3489 - Added logic to SetVisible to set the proper window state when a
3490 form is made visible (fixes #75720)
3492 2006-01-26 Jackson Harper <jackson@ximian.com>
3494 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3495 same way we handle them with Invoke.
3497 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3500 - Added tracking of window state so CreateParams can return
3501 the appropriate style
3502 - Moved setting of WS_CAPTION style in CreateParams to allow
3503 styles without caption
3504 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3505 control if the TextBox property is accessed. Fixes #77345
3507 - get_Created: now uses is_disposed and is_created to determine
3508 return value (suggested by Jackson)
3509 - CreateHandle: No longer exits if the handle is being recreated
3510 - RecreateHandle: If the handle is not yet created call the
3511 appropriate method to create either control or handle. If the
3512 control is already created CreateHandle will simply exit instead
3513 of just creating the handle
3514 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3515 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3518 - When DestroyWindow is called, instead of waiting for the
3519 DestroyNotification from X11, we directly post it to the WndProc
3520 and immediately dispose the hwnd object.
3521 Same applies to DestroyChildWindows, and this obsoletes the
3522 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3523 child windows before our own, to avoid X11 errors.
3524 - Removed the direct sending of WM_PAINT on UpdateWindow
3526 - Reworked DoEvents and GetMessage to allow access to internal queue
3527 even when trying non-blocking access to the queue. Fixes #77335.
3528 Based on a patch suggestion by Don Edvalson. The new private
3529 GetMessage can now also be used as a backend for a PeekMessage
3531 * XplatUI.cs: Improved debug output for CreateWindow
3533 2006-01-25 Jackson Harper <jackson@ximian.com>
3535 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3537 2006-01-24 Jackson Harper <jackson@ximian.com>
3539 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3540 when we have a MaxDropItems lower then the selected index.
3542 2006-01-24 Jackson Harper <jackson@ximian.com>
3544 * Control.cs: Don't allow selection of non visible controls, allow
3545 selection of controls without parents.
3547 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3549 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3550 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3552 2006-01-23 Jackson Harper <jackson@ximian.com>
3554 * UpDownBase.cs: Make the textbox handle all the selection and
3555 tabbing. This fixes tabing to updown controls.
3557 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3559 * TextBoxBase.cs: fixes exception thown the object was null
3561 2006-01-23 Jackson Harper <jackson@ximian.com>
3563 * ButtonBase.cs: Just use the base CreateParams. They set
3564 visibility and enabled correctly.
3567 * MonthCalendar.cs: Lets let the base set as much of the
3568 createparams as possible so we don't have duplicate code all over
3571 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3573 * ThemeGtk.cs: Added TrackBar and some experimental code to
3574 get double buffering back
3576 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3578 * DataGrid.cs: Allows row number set internally higher than the last
3579 when creating a new row. Restores the editing functionality.
3581 2006-01-20 Mike Kestner <mkestner@novell.com>
3583 * MimeIcon.cs: delay Image creation until the icons are accessed
3584 instead of creating 190 scaled images on GnomeHandler startup.
3586 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3588 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3589 first call base before processing the event. Fixes #77279
3591 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3593 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3594 that the stride for the GDI bitmap would match the stride of
3597 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3599 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3601 2006-01-19 Jackson Harper <jackson@ximian.com>
3603 * ComboBox.cs: Hookup the text controls keydown event so we get
3604 those when the text control has the focus.
3606 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3608 * Label.cs: Now using the base events instead of defining new ones;
3609 this allows us to just call the base properties without having to
3610 duplicate all base property logic
3612 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3614 * Label.cs: A label by default is not a tabstop (Fixes one of our
3615 failing nunit tests)
3617 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3619 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3620 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3622 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3624 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3625 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3628 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3629 constructor creates images that can't be saved. Part of the fix
3631 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3632 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3633 bug fix for handling window state in forms properly)
3635 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3637 * ThemeGtk.cs: Simplify ScrollBar drawing
3639 2006-01-18 Jackson Harper <jackson@ximian.com>
3641 * Splitter.cs: Set the default dock style for the splitter control
3644 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3646 * ThemeGtk.cs: Corrected StateType and ShadowType for
3649 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3651 * Control.cs: Make use of Theme.DoubleBufferingSupported
3653 - Added drawing for flat style buttons
3654 - Added ScrollBar drawing
3656 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3658 * ThemeClearlooks.cs: Removed some unneeded code.
3659 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3661 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3663 * LinkLabel.cs: We need to update the hover drawing when
3664 leaving the control as well.
3666 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3668 * DataGrid.cs: Clicking on non empty areas in the columns
3669 area was giving an exception
3671 2006-01-17 Jackson Harper <jackson@ximian.com>
3673 * ThemeWin32Classic.cs:
3674 * ListView.cs: Do not draw/clip the headers when the header style
3677 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3679 * DataGrid.cs: Fixes 77260
3681 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3683 * DataGrid.cs: Clicking on a column on a empty grid was giving
3686 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3688 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3689 or any keypress will crash the grid.
3691 2006-01-17 Mike Kestner <mkestner@novell.com>
3693 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3694 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3695 invisible/previously-visible items.
3698 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3700 * ThemeClearlooks.cs:
3701 - Added CL_Draw_Button method; now other theme controls that are
3702 not derived from button or do not have a button can draw buttons
3704 - Updated ComboBox drawing
3705 - Beautified RadioButton drawing
3706 - Corrected drawing of bottom and left tabs
3707 - Beautified DateTimePicker and MonthCalendar
3708 - Added CPDrawButton and CPDrawRadioButton
3710 2006-01-16 Jackson Harper <jackson@ximian.com>
3712 * ComboBox.cs: Set the initial value of the scrollbar to the
3713 current index. Reduce the numbers of refreshs and IndexOfs called.
3715 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3717 * FileDialog.cs: When the file listview is focused hitting the
3718 backspace key moves the fileview to the parent directory
3720 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3723 - Added RecreateHandle call when changing taskbar visibility to
3724 trigger reparenting in Win32 driver (Fixes #75719)
3725 - If a window has minimize or maximize buttons, it cannot have
3728 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3729 the toplevel form with FosterParent (A toolwindow not on the
3730 taskbar) (Fixes #75719)
3731 - Made FosterParent a toolwindow
3733 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3735 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3737 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3739 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3740 is currently over that control, make sure that tooltip_window.Text
3743 2006-01-13 Mike Kestner <mkestner@novell.com>
3745 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3747 2006-01-13 Jackson Harper <jackson@ximian.com>
3749 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3750 value passed. Also redraw the selected node when we recieve
3751 focus, so tabbing between trees works correctly.
3753 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3755 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3756 ~/.gconf/%gconf-tree.xml, so use
3757 .gconf/desktop/gnome/interface/%gconf.xml
3759 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3761 * TextControl.cs: Draw text in gray if control is disabled
3763 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3765 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3766 make sure it's always visible. Fixes #76680.
3768 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3770 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3772 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3774 * PageSetupDialog.cs: Added.
3775 * PrintDialog.cs: Attributes.
3776 * PrintPreviewControl.cs: Updates.
3777 * PrintPreviewDialog.cs: Updates.
3779 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3781 * Control.cs: Undid my selection check fix, since it's not needed
3783 - Now considering the presence of hscroll/vscroll when sizing
3784 vscroll/hscroll respectively. Fixed bug #77077
3785 - Added Left/Up/Down/Right to IsInputKey list to prevent
3786 ContainerControl from stealing them. This fixes what I broke
3787 with my last checkin.
3789 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3791 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3792 I finally understand how the property can be set without a setter :-)
3794 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3797 - Switched RunLoop to use static Message.Create to create a
3799 - Added PreProcessMessage call in runloop for keyboard events; this
3800 is part of the fix for #77219, I overlooked this originally in the
3801 MSDN doc for PreProcessMessage
3803 - Removed call to PreProcessMessage from handling of keyboard
3804 messages; it's supposed to be done in the message pump
3805 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3806 per MSDN documentation.
3807 - IsInputChar: All chars are input chars by default; removed the
3808 parent calling chain, MS does not document that
3809 - PreProcessMessage: If IsInputChar is true, we want to return false
3810 to allow dispatching of the message
3811 - When selecting the next control, now also check that we're not
3812 selecting ourselves again and therefore return a false positive.
3814 - Tried to match return values for IsInputKey and ProcessDialogKey
3815 to what MS returns; moved processing of our special keys outside
3816 ProcessDialogKey since MS does not seem to return true on those.
3817 - Moved code that previously was in ProcessDialogKey into new private
3818 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3819 - Reworked handling of WM_CHAR to not have to duplicate code from
3820 Control.cs anymore, instead we simply call down to base.
3822 2006-01-12 Jackson Harper <jackson@ximian.com>
3824 * ComboBox.cs: We always need to refresh the text area when
3825 EndUpdate is called. Fixes the combobox in the file dialog.
3826 * Control.cs: Don't create the creator_thread until the controls
3827 handle is created. Also in InvokeRequired we check if the
3828 creator_thread is null. This gives the effect of InvokeRequired
3829 returning true if the controls handle is not created yet, and
3832 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3835 - Added StartLoop() driver method. This is used to allow drivers to
3836 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3837 loop for a particular thread
3838 - Added EndLoop() driver method. This is called once the message
3839 pump for the thread is shut down
3840 - Added SupportsTransparency method to allow the driver to indicate
3841 opacity support for windows
3843 - Removed TODO attribute, completed AllowTransparency property
3844 - Added documented logic to Opacity
3845 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3846 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3847 versions of CompatibleTextRendering
3848 * X11Structs.cs: Added opacity atom to our atom enumeration
3849 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3850 of a form might be set before it's reparented by the WM, and we need
3851 the opacity value without calling up to Form)
3852 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3853 SupportsTransparency() driver methods
3854 * Application.cs: Now calling StartLoop and EndLoop driver methods
3856 - Added opacity atom registration
3857 - Added StartLoop()/EndLoop() methods. They're empty right now but
3858 will need to get implemented when we switch to a per-thread queue
3859 - Implemented SupportsTransparency() method
3860 - Implemented SetWindowTransparency() method
3861 - Added support for setting the opacity value when a window is
3862 reparented (since the opacity needs to be set on the WM frame)
3863 * XplatUIOSX.cs, XplatUIWin32.cs:
3864 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3866 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3868 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3870 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3872 * FileDialog.cs: Added ToolTip for MWFFileView
3873 * MimeIcon.cs: Rewrote GnomeHandler.
3874 - Get currently used gnome icon theme from
3875 ($HOME)/.gconf/%gconf-tree.xml
3876 - Make use of inherited icon themes
3877 - Support SVG icon themes like Tango via librsvg
3879 2006-01-12 Miguel de Icaza <miguel@novell.com>
3881 Revert's Jackson's revert which broke 2.0 builds. Fix both
3884 * Application.cs: Move the use_compatible_text_rendering outside
3885 the NET_2_0 define. If we ever need to use the
3886 use_compatible_text_rendering on the individual controls they will
3887 access the variable from the common shared code paths.
3889 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3892 - Added more granular debug options
3893 - Added method to print both window text and id
3894 - Switched debug output to use new Window() debug method
3895 - Added IsEnabled() driver method
3896 - Added EnableWindow() driver method
3898 - Removed end_modal; no longer needed, new loop handles termination
3899 via 'closing' variable
3900 - If form is modal, setting DialogResult will now initiate loop
3901 termination via 'closing' variable
3902 - Added support for is_enabled/WS_DISABLED to CreateParams
3903 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3905 - Removed code that's now in RunLoop from ShowDialog()
3906 - Added various documented sanity checks to ShowDialog()
3907 - Added handling of WM_DESTROY message; we set 'closing' on getting
3908 the message to indicate the message pump to terminate
3909 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3910 send by the Application.ExitThread method. (We send the message
3911 to destroy the window after all other events have been
3912 processed through the queue, instead of destroying the handle
3914 - Moved code from Close() method to WM_CLOSE handler; added logic
3915 to only send close-related events if the form is not displayed
3917 * Splitter.cs (..ctor): Fixed typo in resource name
3919 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3921 - set_Cursor: Now only setting calling into XplatUI if the handle for
3922 the control is already created; this avoids implict handle creation
3923 or crashes if it's not created
3924 - set_Enabled: Now setting the enabled state via the new driver method
3925 instead of just tracking it
3926 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3927 - CreateControl: Reordered event firing and method calls to more
3928 closely fire events in the order MS does. Now setting the
3929 enabled state in the driver when creating the control.
3930 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3932 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3933 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3934 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3936 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3937 - Added EnabledHwnd property to easily allow a driver to find the
3938 handle of the first enabled window in the parent chain (this is
3939 used by drivers to pass up input events of disabled windows)
3940 * XplatUIDriver.cs: Added IsEnabled() method
3942 - Removed crude and obsolete exiting tracking variable
3943 - Removed internal ModalRun(); replaced by RunLoop()
3944 - Implemented private CloseForms() method to allow closing all
3945 windows owned by a particular (or all) threads
3946 - Exit() now properly closes all windows without forcing the message
3948 - Removed obsolete InternalExit() method
3949 - Changed Run() methods to use new RunLoop() message pump
3950 - Implemented new RunLoop() method for both modal and non-modal forms
3952 - get_CreateParams: Added setting of WS_DISABLED
3953 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3954 invoked via Form.ShowDialog()
3955 * NativeWindow.cs: We don't remove the window from the collection when
3956 the handle is destroyed; there might still be messages for it in the
3957 queue (mainly the resulting WM_DESTROY); instead it will be removed
3958 when Control calls InvalidateHandle in the WM_DESTROY handler
3960 - CreateWindow: Added logic to handle the WS_DISABLED window style
3961 - EnableWindow: Implemented based on Hwnd.Enabled
3962 - GetMessage: Reset PostQuitState so the method can be called again
3963 - Implemented support for disabled windows (passing messages to the
3964 first enabled parent) in handling all input messages
3965 - Added optimizations for handling Expose events
3966 - Implemeted new driver method IsEnabled()
3967 - Now always resetting paint pending tracking vars when we start paint
3968 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3969 * XplatUIOSX.cs: Added IsEnabled method stub
3970 * XplatUIWin32.cs: Implemented new IsEnabled() method
3972 2006-01-11 Jackson Harper <jackson@ximian.com>
3974 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3975 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3977 * ColorDialog.cs: Clear out the old form before adding the new
3980 2006-01-11 Jackson Harper <jackson@ximian.com>
3982 * X11Dnd.cs: Make sure to add all the text formats when adding
3983 strings to the data object.
3984 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3985 do some redrawing too. Also change the UpdateNode to an
3986 UpdateBelow so the newly added node gets painted.
3988 2006-01-11 Miguel de Icaza <miguel@novell.com>
3990 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3991 LinkLabel.cs, PropertyGrid.cs: Implement the
3992 UseCompatibleTextRendering property for 2.x
3994 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3996 2006-01-11 Jackson Harper <jackson@ximian.com>
3998 * TreeView.cs: Use the property for setting the selected node so
3999 the correct events get raised.
4000 * TreeNode.cs: Update the tree when the fore/back colours of a
4003 2006-01-10 Jackson Harper <jackson@ximian.com>
4005 * TreeView.cs: Allow setting SelectedNode to null.
4007 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4009 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
4011 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4013 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
4015 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4017 * PrintDialog.cs: Added attributes and set default property values.
4019 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4021 * PrintControllerWithStatusDialog.cs:
4022 Added PrintControllerWithStatusDialog.
4024 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4026 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
4027 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
4029 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4031 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
4033 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4035 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4036 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4038 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4040 * MimeIcon.cs: Added internal class SVGUtil.
4042 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4044 * FileDialog.cs: Don't crash if there are two files with the
4045 same name but different locations.
4047 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4049 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4050 dates across multiple month grids. Used to not highlight entire
4051 month, but does now.
4053 2006-01-06 Jackson Harper <jackson@ximian.com>
4055 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4056 message loop. Change timer intervals to numbers that seem more
4059 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
4061 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
4062 object for location info since screen object is now implemented.
4064 2006-01-05 Jackson Harper <jackson@ximian.com>
4066 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
4067 * AsyncMethodResult.cs: We no longer use a WeakReference for the
4068 AsyncMethodResult, this is because we ALWAYS want the
4069 ManualResetEvent to get set.
4070 * Control.cs: When disposing use an async invoke to call shutdown
4071 code, so that thigns don't block on the finalizer thread. Also
4072 check if we even have a message loop before trying to send
4073 messages, if we don't then don't bother sending messages.
4074 - No more weak references for async methods
4075 * XplatUIDriver.cs: No more weak references for async methods.
4077 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4079 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
4080 returns two FontFamily with the same name
4082 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4084 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
4085 drawing disabled text. Instead using the ColorGrayText color
4087 2006-01-04 Jackson Harper <jackson@ximian.com>
4089 * TreeNode.cs: redraw the node when its image index is changed.
4091 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4093 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4094 time I checked there are no others like it.
4096 2006-01-04 Jackson Harper <jackson@ximian.com>
4098 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4099 this gives the behavoir I was looking for.
4100 * Control.cs: Special case Invoking EventHandlers, this matches MS
4101 and fixes part of bug #76326.
4103 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4105 * ThemeClearlooks.cs, FileDialog.cs:
4106 - Reflect the latest Theme class changes
4107 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4110 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4112 * Theme.cs: Cache UI resource images and resize them if needed
4114 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4116 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4117 is called. This fixes the crash in Nexxia when setting the font
4118 attributes in the chat. [However, RTF needs a look-over to make sure
4119 that all SelectionXXX methods handle the special case that selection
4120 is empty and therefore the change must be applied to all text starting
4121 at the cursor/selection start]
4123 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4125 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4126 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4127 * X11Keyboard.cs: Switched to new way of calling PostMessage
4129 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4131 * Theme.cs: Added theme interface for images to allow the theme to
4132 control what images are used for things like FileDialog, MessageBox
4134 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4136 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4139 - Removed some dead code
4140 - Opening a recently used file does work now
4141 - Small UI enhancements
4144 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4146 * FileDialog.cs: Forgot too add __MonoCS__
4148 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4150 * FileDialog.cs: We are able to read recently used files now let's
4151 go on and write them.
4153 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4155 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4157 * MimeIcon.cs: Do a check for the top level media type also
4159 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4161 * ThemeClearlooks.cs:
4162 - Added CPDrawStringDisabled
4163 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4164 some chars if the text doesn't fit into text_rect
4165 - DrawListViewItem: If View = View.LargeIcon center the image;
4166 rewrote the drawing of ListViewItem.Text if View =
4169 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4171 * MimeIcon.cs: Use default KDE icon theme if there is no
4172 "48x48" directory for the current icon theme, fixes #77114
4173 * Mime.cs: Disable not working and actually not used code.
4174 * ThemeWin32Classic.cs:
4175 - Replace "new SolidBrush" in GetControlBackBrush and
4176 GetControlForeBrush with ResPool.GetSolidBrush
4177 - Changed DrawListViewItem from private to protected virtual
4179 - Added form.MaximizeBox = true
4180 - Don't throw an exception if there is a broken symbolic link
4182 2005-12-23 Jackson Harper <jackson@ximian.com>
4184 * TabControl.cs: Give the panels focus, keyboard navigation is
4185 fixed so this works correctly now.
4186 - We need these key events also.
4187 * ToolBar.cs: Remove some of the poor mans double buffering.
4189 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4191 * ComboBox.cs: The internal TextBox now returns the focus.
4193 2005-12-23 Jackson Harper <jackson@ximian.com>
4195 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4197 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4199 * Control.cs: Removed debug code
4200 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4203 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4205 * Control.cs: When creating the control, update the Z-order after
4206 all it's children are created, too. (Fixes nexxia not showing
4209 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4211 * Control.cs: Do not update the anchoring distances if layout is
4212 suspended, instead do it once layout is resumed
4214 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4217 - After many hours of debugging, for both Jackson and
4218 myself, it turns out that it helps to set the parent of a control
4219 if you want to actually see it onscreen. In the spirit of that
4220 discovery, we're now setting the parent of the control and
4221 it's children when the control's handle is created. This fix
4222 will make Lutz Roeder's Reflector run happily.
4223 - now just creating the handle instead of the whole control when
4224 getting a graphics context for the control.
4226 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4228 * ScrollableControl.cs: When calculating the canvas, don't consider
4229 the scrollbar widths. Instead, predict if horizontal scrollbar
4230 will affect canvas when deciding on vertical display and vice versa.
4232 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4234 * RichTextBox.cs: Set default RTF font for documents that don't
4235 have a font table (Fixes #77076)
4237 2005-12-22 Jackson Harper <jackson@ximian.com>
4239 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4240 clipboard. This prevents a NullRef in that case.
4241 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4242 clipboard. PRIMARY is for the currently selected text only. (We
4243 should implement PRIMARY at some point.
4245 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4247 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4248 a Unicode function with a structure that was defined in Ansi way.
4251 2005-12-21 Jackson Harper <jackson@ximian.com>
4253 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4254 on. Because thats how it rolls. (and this avoids it using ambient
4256 * ThemeWin32Classic.cs: Use the proper back color for filling.
4257 * Menu.cs: Use the system menu bar color for drawing menu
4258 bars. Using the window back color will bring ambient colours into
4261 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4263 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4264 Bitmaps were created and not disposed.
4266 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4268 * Control.cs (CreateControl): Don't do anything if the control is
4269 already created, otherwise we'd fire the OnCreated event more than
4272 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4274 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4275 will always match. Instead return -1. Fixes #76464.
4277 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4279 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4280 neither the beginning nor the end of the line (Fixes bug #76479)
4282 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4285 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4286 where handle is invalid
4287 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4288 instead of slower linear search
4289 * NativeWindow.cs: Don't remove the window from the hashtable until
4290 after the driver has destroyed it (since the driver might use
4291 Control.FromHandle to lookup the control object
4292 * Hwnd.cs: Added DestroyPending property to track if a window is
4293 already destroyed as far as the driver is concerned and only hasn't
4294 yet notified the control
4296 - Activate(): Check if the window is still valid before using the
4298 - Implemented DestroyChildWindow() method to mark child windows as
4299 destroyed when a window is destroyed. This prevents situations
4300 where we might call an X method based on queued events for a
4301 window that already has been destroyed but we haven't yet pulled
4302 the destroy method from the queue.
4303 - Added a call to the new DestroyChildWindow() method to the drivers
4304 DestroyWindow code. Also now marking the destroyed window itself
4307 2005-12-20 Jackson Harper <jackson@ximian.com>
4310 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4311 anymore. Just do them when needed, also track the rects of panels
4312 so that we can optimize refreshing more in the future.
4314 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4316 * ColorDialog.cs: Fixed focus drawing in small color controls
4318 2005-12-19 Jackson Harper <jackson@ximian.com>
4320 * InternalWindowManager.cs:
4321 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4322 moving windows works properly.
4324 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4327 - Removed call to InitLayout() from SetBoundsCore(); doc says
4328 it's only called when a control is added to a container
4329 - Split InitLayout logic, moved to separate UpdateDistances() method
4330 since we need to perform those calculations more often than just
4331 when adding the control to a container. (Needed to fix #77022)
4332 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4333 - Reduced the OnBindingContextChanged events count, don't send them
4334 unless the control is created, we still aren't totally matching
4335 MS, but I can't quite figure out some of their rules
4337 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4339 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4342 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4344 * ThemeClearlooks.cs:
4345 - Updated ProgressBar drawing
4346 - Corrected drawing of ScrollBars and scroll buttons
4347 - Some temporary fixes for minor pixel artefacts
4349 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4352 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4353 cause events to be sent in the same order as MS does.
4354 - Added ChangeParent() method to trigger various OnXXXChanged events
4355 that need to be fired when a parent changes (This is a reworking
4356 of the patch from r54254, with the X11 errors fixed)
4357 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4358 since on MS we get OnLayoutChanged events when calling Clear()
4359 - Changed Enabled property to consider parent state as well, if a
4360 parent is not enabled, the control will not be either
4361 - Changed Parent property to simply call Controls.Add() since that
4362 now does all the work required, this way we avoid code duplication
4363 - Threw in a few OnBindingsContextChanged calls to try and match
4364 when MS sends them. We seem to send a few too many, though.
4365 - Added call to CreateControl when adding the control to a parent.
4366 We were never calling CreateControl. Still needs some work, in
4367 some places we treat HandleCreated and ControlCreated as equal,
4369 - Removed obsolete commented out code from UpdateZOrder()
4371 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4373 * ThemeClearlooks.cs: Updated TrackBar drawing.
4375 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4377 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4379 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4381 * FileDialog.cs: Add the Help button and the open readonly
4382 checkbox only if needed
4384 2005-12-16 Jackson Harper <jackson@ximian.com>
4386 * Control.cs: Make sure we have an active menu before trying to
4387 process commands on it. Prevents menu-less forms from crashing
4388 when Alt is pressed.
4389 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4391 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4394 2005-12-16 Jackson Harper <jackson@ximian.com>
4396 * InternalWindowManager.cs: Don't translate tool windows screen
4397 coordinates. This fixes windows 'bouncing' around when being moved.
4399 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4402 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4403 not quite MS compatible, MS uses that number only for single line
4404 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4406 - Now enforcing the MaxLength limit when entering characters
4407 - Added argument to internal Paste() method to track if it's called
4408 from programatically or via keyboard, since keyboard driven pastes
4409 need to enforce max-length
4410 - Added logic to Paste to only paste as many chars as MaxLength
4412 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4414 - Added Length property to return number of characters in document
4415 - Added private CharCount property which only tracks actual chars
4416 in the document (no linefeeds) and fires event when CharCount
4418 - Added tracking of character count to all methods that alter it
4419 - Added LengthChanged event to allow applications to subscribe
4420 to any changes to the document
4422 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4425 - Removed local password_char field (moved to TextBoxBase)
4426 - Now setting the document's password var when password is
4429 - Added password_char field (needed here so MultiLine can
4431 - Added logic to MultiLine property setter to set the document's
4432 variable when password display is allowed
4433 - Removed debug code and made some debug code conditional
4435 - Added RecalculatePasswordLine() method to handle special password
4437 - Added PasswordChar property, also added related tracking vars
4438 - Draw() method now uses local text var for grabbing text to draw,
4439 this var is set to line.text unless we're doing password display,
4440 then it is set to the pre-generated all-password-chars line
4441 - Added calling RecalculatePasswordLine() method for password lines
4443 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4446 - Added Reparented property to allow tracking of Window Manager
4447 reparenting actions (which affect X/Y calculations of toplevel
4449 - Made ToString() print window handles in hex
4451 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4452 determine if X/Y needs offsetting
4453 - AddConfigureNotify(): Fixed offset calculations
4454 - Now adds ReparentNotify messages into the queue
4455 - Now processes ReparentNotify messages and causes a
4456 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4457 is reparented (as most likely it's X/Y coordinates are changed
4460 2005-12-14 Jackson Harper <jackson@ximian.com>
4462 * XplatUIX11.cs: Tool windows still need to respek focus.
4464 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4466 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4467 have a working release
4469 2005-12-13 Jackson Harper <jackson@ximian.com>
4471 * Form.cs: Update styles after setting the border style regardless
4472 of whether or not the window is using a window manager.
4474 2005-12-13 Jackson Harper <jackson@ximian.com>
4476 * Form.cs: We now hook into an internal window manager instead of just an
4477 MDI subsystem, this is so we can have properly behaving tool windows.
4478 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4479 * InternalWindowManager.cs: New internal class that acts as a
4480 window manager for tool windows and as a base for mdi windows.
4481 * MdiWindowManager.cs: New class that acts as a window manager for
4484 2005-12-12 Jackson Harper <jackson@ximian.com>
4486 * Control.cs: Updates so we match behavoir for for implicit
4487 controls. Fixes explosions in MDI.
4489 2005-12-12 Jackson Harper <jackson@ximian.com>
4491 * Control.cs: Implement Invalidate (Region).
4493 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4496 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4497 the same events as MS does. MS fires events for each property
4498 except, for unknown reasons, Cursor, when the control is reparented.
4499 I can't seem to totally match add/remove since MS also fires some
4500 VisibleChanged events, which makes no sense. Consolidated the
4501 parenting code into a separate method so it can be called from
4502 both Add and Remove. set_Parent no longer needs any special logic
4503 as it calls the parent's add method which implicitly fires
4505 - Removed some obsolete code and debug output
4506 - Enabled state is inherited from parents, if this is enabled
4508 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4510 * Form.cs: Removed commented out code
4512 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4515 - Added internal version of Invoke, with additional argument
4516 indicating if we're calling it from a Dispose() handler. That
4517 way we can avoid BeginInvoke throwing an exception if we're
4518 calling for an already destroyed window.
4519 - Added a dispose argument to BeginInvokeInternal, and made the
4520 check if a valid window handle chain exists conditional on
4521 it not being a dispose call
4522 - Removed code in DestroyHandle to destroy our children. Since we
4523 now handle the WM_DESTROY message we will catch all our children
4525 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4527 - Added a field to track the application context of the form.
4528 - No need to set closing variable as response to WM_CLOSE, instead
4529 we destroy the window. We also call PostQuitMessage if the form
4530 has an application context (which makes it the main app form,
4531 which, when closed terminates the app)
4533 - Dropped Exit() method, it's naming was confusing
4534 - Added PostQuitMessage() which causes GetMessage to return false
4535 once the message queue is empty
4536 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4538 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4539 no longer a valid XplatUI method, but left it in since it's used
4540 internally. Added empty PostQuitMessage() method.
4541 * MenuAPI.cs: Replaced call to Exit() with call to
4542 PostQuitMessage, even though this is probably no longer needed.
4543 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4544 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4546 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4547 - Removed old debug code that would call XplatUI for exception
4548 display, enabled standard exception handling (Still not enabled
4549 though, until NativeWindow's ExternalExceptionHandler define
4552 - Added internal method to allow control to update NativeWindow
4553 after a window has been destroyed
4554 - Added handling of already destroyed windows when calling i
4556 - Added removal of handle from list on ReleaseHandle
4558 - Dropped GetMessageResult var and related code
4559 - Added PostQuitState to field to track if PostQuitMessage has been
4561 - Dropped Exit() method
4562 - Added PostQuitMessage() method
4563 - GetMessage now will return false if PostQuitState is set and no
4564 more messages are in the queue.
4565 - Expose handler will no longer generate WM_PAINT messages if we are
4566 in PostQuitState since it's very likely any windows have already
4567 been destroyed, and since Hwnd won't get updated until we have
4568 processed the DestroyNotify we'd be causing X errors.
4570 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4572 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4573 Thanks to Mike for pointing out the err of my ways.
4575 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4577 * Control.cs(PreProcessMessage): Moved menu handling back, but
4578 after all other key handling, to match MS (who handles Menu in
4580 * Menu.cs (WndProc): Removed my brainfart
4582 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4584 * Control.cs(PreProcessMessage): Removed special menu handling
4585 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4587 2005-12-07 Mike Kestner <mkestner@novell.com>
4589 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4590 state according in tracker.
4591 * Menu.cs : promote tracker field to base class and provide a tracker
4592 lookup capability. Add/Remove shortcuts dynamically if the top menu
4593 has a tracker. Unparent items that are removed from the collection.
4594 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4595 * Theme*.cs: add always_show_hotkeys field to support configurability
4596 of mnemonic display. win32 doesn't show mnemonics until Alt is
4599 2005-12-07 Jackson Harper <jackson@ximian.com>
4601 * MdiChildContext.cs: Use Control.ResetCursor.
4602 * Control.cs: ResetCursor needs to set the property so that the
4603 correct XplatUI call gets made.
4605 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4607 * Control.cs: More fixes to make our key events match MS. We
4608 were not setting the modifier state on KeyData, and we were
4609 not generating any events when Alt was pressed with a key
4610 since handling of WM_SYSxxx was missing for the OnKey methods.
4612 2005-12-07 Jackson Harper <jackson@ximian.com>
4614 * MdiChildContext.cs: reenable the sizing code.
4615 - When the mouse leaves a window reset its cursor.
4617 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4619 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4621 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4623 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4624 widths of Fixed3D borders
4626 2005-12-07 Jackson Harper <jackson@ximian.com>
4628 * MdiClient.cs: Fix warnings. Earn Mike's love.
4630 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4632 * ThemeClearlooks.cs:
4633 - Adjusted mouse over button color
4634 - Added first parts of CheckBox drawing
4635 - Added correct color for selected text background
4636 - Fixed ComboBox drawing
4637 - Added CPDrawBorder3D and CPDrawBorder
4639 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4641 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4643 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4645 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4646 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4647 alert users via sound. We could add an enum arg with different
4648 types of alerts in the future
4650 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4652 * Control.cs: Fix behaviour problems pointed out by Mike
4654 2005-12-05 Mike Kestner <mkestner@novell.com>
4656 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4657 prop setters. Calls parent.Refresh for now, but could be maybe be
4658 optimized with an internal method on StatusBar at some point.
4661 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4663 * RichTextBox.cs: Implemented get_SelectionColor
4665 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4667 * ThemeClearlooks.cs:
4669 - Draw black button border only if button is Form.AcceptButton
4670 - Draw correct button color for pressed RadioButton if the mouse
4671 has entered the button
4672 - Updated ProgressBar drawing!
4673 - Updated CPDrawSizeGrip drawing
4674 - Updated StatusBarPanel drawing
4676 2005-12-05 Mike Kestner <mkestner@novell.com>
4678 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4679 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4681 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4683 * ThemeClearlooks.cs: Initial check-in, activate with
4684 export MONO_THEME=clearlooks
4685 * ThemeEngine.cs: Added ThemeClearlooks
4687 2005-12-03 Mike Kestner <mkestner@novell.com>
4689 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4692 2005-12-02 Jackson Harper <jackson@ximian.com>
4694 * Form.cs: If the child form has no menu the default main menu is
4695 used as the active menu.
4697 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4699 * ListBox.cs: Check if any items exist before trying to resolve
4700 coordinates into items
4702 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4704 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4705 as the second color for the background hatch
4707 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4709 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4710 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4711 sure that what we pass to FormatText is always 1-based. Fixes #76885
4713 2005-11-29 Miguel de Icaza <miguel@novell.com>
4715 * NumericUpDown.cs (EndInit): When we are done initializing,
4716 reflect any updates on the UI.
4718 2005-12-02 Jackson Harper <jackson@ximian.com>
4720 * ImplicitHScrollBar.cs:
4721 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4722 their container controls.
4723 * TreeView.cs: Use the new implicit scrollbars.
4725 2005-12-02 Jackson Harper <jackson@ximian.com>
4727 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4729 * TreeNodeCollection.cs: If we remove the topnode we need to
4730 update topnode to the next node in line.
4731 - When clearing nodes go through the same process as removing
4732 them, so they get depareneted and checked if they are top node.
4734 2005-12-01 Jackson Harper <jackson@ximian.com>
4736 * TreeView.cs: When imagelists are used the image area is
4737 selectable as well as the text.
4738 - If there are no selected nodes select the first one.
4739 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4740 so don't do it more then we need to.
4742 2005-12-01 Jackson Harper <jackson@ximian.com>
4744 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4745 that arrows can be scaled.
4747 2005-12-01 Jackson Harper <jackson@ximian.com>
4749 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4750 fail. Patch by Dieter Bremes
4752 2005-11-30 Jackson Harper <jackson@ximian.com>
4754 * Form.cs: Property is 2.0 only
4755 * PrintDialog.cs: Signature fix.
4757 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4760 - No longer artificially moves text 2 pixels down (now that we have
4761 borders this is no longer needed)
4762 - Added calcs for left, hanging and right indent
4764 2005-11-23 Mike Kestner <mkestner@novell.com>
4766 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4768 2005-11-30 Jackson Harper <jackson@ximian.com>
4770 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4771 get cloned as part of CloneMenu ().
4772 * Menu.cs: Make sure the parent of the items get set correctly
4773 when they are added. And the owners are notified of the changes.
4774 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4775 we can change the menu being displayed/handled by the form without
4776 changing the menu assosciated with the form.
4777 - Don't let Mdi children draw/handle menus.
4779 2005-11-30 Jackson Harper <jackson@ximian.com>
4781 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4782 a MenuChanged event. Just to make the API a little more
4785 * MenuItem.cs: Use the new OnMenuChanged
4786 * MdiChildContext.cs: Handle menu merging.
4787 * Form.cs: Implement MergedMenu.
4789 2005-11-30 Jackson Harper <jackson@ximian.com>
4791 * Menu.cs: We were misusing Add. Add goes behind the specified
4792 index according to the docs, and does not replace the specified
4793 index. So I added an Insert method.
4795 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4797 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4798 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4800 * RichTextBox.cs: Added calls to base for DnD events
4802 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4805 - Fixed drag-selection related crash; style fixes
4806 - Implemented undo class
4807 o Implemented method to capture document state for specified
4808 range in document tree
4809 o Implemented method to restore captured document state
4810 o Implemented cursor tracking
4811 o Implemented basic undo stack
4812 - Added undo cursor tracking to methods altering cursor location
4813 - Added undo tracking to selection deletion (still missing
4814 other text-altering hookups)
4816 - Added SelectionLength property
4817 - Implemented CanPaste()
4818 - Implemented Paste()
4819 - Added missing protected methods
4820 - Fixed RTF->Document conversion; now uses font index 0 and color
4821 index 0 as the default font for the parsed text
4822 - Fixed RTF<->Document font size translation
4823 - Fixed RTF generation, now properly handles cross-tag boundaries
4824 for single line selection
4825 - No longer always appends blank line to generated RTF
4827 - Added missing attributes
4828 - Hooked up undo-related methods
4830 - Implemented Copy()
4831 - Implemented Paste()
4833 - Fixed caret mis-behaviour on backspace across line-boundaries
4835 2005-11-29 Jackson Harper <jackson@ximian.com>
4837 * MdiClient.cs: Add a method for activating mdi children. Very
4838 basic right now. I imagine someday it might need more girth.
4839 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4840 children windows names are added to the menu item.
4841 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4842 mdilist. This happens regardless of whether or not there are any
4843 mdi windows to see in the list, and according to my tests happens
4844 before the items are even added. Also happens if there isn't even
4845 an mdi client to get windows from.
4847 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4849 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4850 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4852 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4854 * DataGridTableStyle.cs:
4855 - Create always the styles for the missing columns even if they are
4856 provided by the user (not default table style)
4859 - Fixes SetDataBinding (always re-attach source)
4860 - Fixes SetNewDataSource (only clear styles if they are not for
4862 - Expands OnTableStylesCollectionChanged to handle style refresh
4865 2005-11-29 Jackson Harper <jackson@ximian.com>
4867 * FileDialog.cs: Implement missing bits, remove some dead
4869 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4870 creation of the panel so that the options set on the dialog are
4871 seen when the panel is created.
4872 * TreeView.cs: raise a click when items are clicked.
4874 2005-11-29 Jackson Harper <jackson@ximian.com>
4876 * MdiClient.cs: Pass some signature methods through to base.
4878 2005-11-28 Jackson Harper <jackson@ximian.com>
4880 * ListView.cs: Raise the click event when items are clicked.
4882 2005-11-28 Jackson Harper <jackson@ximian.com>
4884 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4887 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4889 * ThemeNice.cs: - Removed 1 pixel bitmaps
4890 - Use SmoothingMode.AntiAlias where it makes sense
4891 (ScrollButton arrow for example)
4892 - Enhanced Button focus drawing
4893 - Fixed ComboBox drawing (no artefacts anymore, focus
4894 rectangle is back again, reduced size of ComboButton, etc.)
4895 - Fixed RadioButton focus drawing for Appearence.Button
4896 - Slight ScrollButton redesign
4897 - Some LinearGradientBrush size fixes
4898 - GroupBoxes have now rounded edges
4899 - Fixed StatusBar drawing
4901 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4903 * ThemeNice.cs: - Remove dead code
4904 - use correct background colors for menus, etc.
4905 - Fake pixel drawing with 1 pixel bitmaps
4907 2005-11-24 Jackson Harper <jackson@ximian.com>
4909 * MdiClient.cs: Size the scrollbars when resizing the window.
4910 - Resize the maximized windows when the client is resized
4911 * Form.cs: Make the child context available
4913 2005-11-23 Jackson Harper <jackson@ximian.com>
4915 * MdiChildContext.cs: Don't size windows if they are maximized.
4917 2005-11-23 Mike Kestner <mkestner@novell.com>
4919 * ContextMenu.cs: use MenuTracker.
4920 * Control.cs: remove menu handle usage.
4921 * Form.cs: remove menu handle usage.
4922 * Hwnd.cs: remove menu handle usage.
4923 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4924 motion and clicks to the new Tracker handlers.
4925 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4927 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4928 Killed the MENU and MENUITEM data types and associated collections
4929 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4930 MenuTracker class that exposes the leftovers from the old MenuAPI
4931 static methods. Restructured Capture handling so that only one grab is
4932 done for the entire menu hierarchy instead of handing off grabs to
4933 submenus. Tracker now has an invisible control to Capture when active.
4934 * MenuItem.cs: add sizing accessors, kill Create
4936 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4937 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4938 MENU(ITEM). remove menu handle usage, use Menu directly.
4939 * XplatUIDriver.cs: remove menu handle usage.
4940 * XplatUIOSX.cs: remove menu handle usage.
4941 * XplatUIWin32.cs: remove menu handle usage.
4942 * XplatUIX11.cs: remove menu handle usage.
4944 2005-11-22 Jackson Harper <jackson@ximian.com>
4946 * Hwnd.cs: Don't compute the menu size for
4947 DefaultClientRectangle.
4948 - Reenable menu sizes being computed for GetClienRectangle.
4949 * Form.cs: Remove comment of trechery
4951 2005-11-22 Jackson Harper <jackson@ximian.com>
4953 * Hwnd.cs: The adjustments for the menu bar are made when it is
4954 attached to the form.
4956 2005-11-19 Jackson Harper <jackson@ximian.com>
4958 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4959 (just like on windows).
4961 2005-11-19 Jackson Harper <jackson@ximian.com>
4963 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4964 use real buttons anymore because they are in non client area. The
4965 one TODO here is that I need to somehow invalidate a section of
4966 the non client area.
4968 2005-11-18 Jackson Harper <jackson@ximian.com>
4970 * Control.cs: Put the enum check back in now that MDI doesnt have
4971 to use this to set border styles.
4972 * Form.cs: Only set mdi child windows borders if the handle has
4974 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4975 this directly on to the driver.
4976 - Get the move start position before adjusting for the titlebar
4977 height, this fixes the windows "skipping" when they are first
4980 2005-11-18 Jackson Harper <jackson@ximian.com>
4982 * XplatUIX11.cs: Just compute the mdi borders separately as they
4983 don't totally match up with normal form borders.
4985 2005-11-18 Jackson Harper <jackson@ximian.com>
4987 * Control.cs: Set WS_ styles for borders, so that the driver does
4988 not have to retrieve the control instance to figure out what kind
4989 of borders it should have.
4990 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4991 driver can know its an mdi child easily.
4992 * XplatUIX11.cs: Get the border styles and whether the window is
4993 MDI from the Styles and ExStyles params instead of having to get a
4994 control. This prevents a chicken and egg problem.
4996 2005-11-18 Jackson Harper <jackson@ximian.com>
4998 * MdiClient.cs: Fix typo so scrollbars show up correctly.
5000 2005-11-18 Jackson Harper <jackson@ximian.com>
5002 * MdiClient.cs: Calculate when to add and remove scrollbars
5004 * MdiChildContext.cs: Adjust the y position to take the titlebar
5006 - No height for FormBorderStyle.None
5008 2005-11-18 Jackson Harper <jackson@ximian.com>
5010 * Control.cs: Allow non enum values to be used for
5011 InternalBorderStyle. MDI does this to set a special border style.
5012 - New utility methods for converting points to/from client coords
5013 - Add the newly created control to the Controls collection before
5014 updating its style. This way UpdateStyle can walk the control
5015 heirarchy to find the control if needed.
5016 so I don't need to create a new Point object all the time.
5017 * Form.cs: Let MDI windows handle their border styles.
5018 - Set styles on MDI windows so the correct title style is derived.
5019 * MdiChildContext.cs: Move all the painting and window handling
5020 into the non client area.
5021 - Use correct sizing and put correct buttons on frames based on
5022 the FormBorderStyle.
5023 - Notify the mdi client about scrolling
5024 - Need to handle the buttons ourselves now, because they are all
5025 in non client areas and we can't add controls there.
5026 * MdiClient.cs: Halfway to scrolling, this implementation is
5027 somewhat broken though, we need to check to make sure other
5028 windows aren't causing scrolling before removing the bars. Also
5029 the bars need to be drawn on top, maybe I can switch implicit
5030 controls to be on top.
5031 * Hwnd.cs: caption_height and tool_caption_height are now
5032 properties of an hwnd, this way they can be set by the driver
5033 based on the type of window they are. In X11 the window manager
5034 handles the decorations so caption_height is zero unless its an
5036 - Add 3 pixel borders for MDI windows (0xFFFF).
5037 - Get rid of some code duplication, have DefaultClientRectanle
5038 just call GetClientRectangle.
5039 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5041 - Set border styles differently for mdi windows.
5042 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5045 2005-11-15 Mike Kestner <mkestner@novell.com>
5047 * Menu.cs: when adding an item to the collection, if item is already
5048 parented, remove it from the parent.
5050 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5052 * X11DesktopColors.cs: Added KDE support
5054 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5057 - Clipboard methods now can translate Rtf format
5058 - No longer removes clipboard contents whenever a new format is added
5059 to allow placing multiple formats on the clipboard
5060 * Clipboard.cs: Clipboard now supports getting a IDataObject and
5061 will place all formats contained in it onto the clipboard. Also
5062 now cleans the clipboard before placing a new object onto it
5064 - Implemented set_Rtf
5065 - Implemented set_SelectedRtf
5066 - Created InsertRTFFromStream() method to allow single code base
5067 for all properties and methods that insert RTF into document
5068 - Removed debug output
5070 - Fixed Delete(int) to fix up line numbers
5071 - Fixed ReplaceSelection to combine start and end line
5072 - Fixed serious DeleteChars bug that would leave the document tree
5074 - Improved DumpTree with several logic checks to detect broken
5076 - Removed debug lines
5077 - Fixed Caret.WordForward/WordBack moving code, now always also
5078 updates caret.tag (fixes crash when word-selecting across tag
5079 boundaries via keyboard)
5080 - Added Insert() method for inserting multiline text into documents
5081 - Fixed DeleteChars() calculation errors that would cause a broken
5082 tag chain with multiple tag lines
5083 - DeleteChars() no longer crashes on multi-tag lines if not all tags
5084 - Split() no longer moves caret if split is at caret location
5085 - ReplaceSelection() now updates the cursor and re-displays it
5086 - ReplaceSelection() now uses new Insert() method to avoid code
5088 - FormatText() can now handle formatting partial lines
5090 - Append now uses new TextControl.Insert() method (this avoids
5092 - Implemented Ctrl-X (Cut) (
5093 - Implemented Ctrl-C (Copy)
5094 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5095 regeneration when pasting text; roundtripping Copy&Paste within
5096 edit control still fails due to some calculation bugs in GenerateRTF)
5097 - The Delete key will now remove the current selection if it is visible
5098 * TextBox.cs: Removed debug lines
5099 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5100 driver to be initialized and can't therefore be done via a static ctor)
5102 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5104 * TextControl.cs: Added backend code for finding char arrays and strings
5106 - Added mouse wheel scroll support
5107 - Added support for VScroll and HScroll events
5109 - Implemented all seven Find() variants
5110 - Implemented GetCharFromPosition()
5111 - Implemented GetCharIndexFromPosition()
5112 - Implemented GetLineFromIndex()
5113 - Implemented GetPositionFromCharIndex();
5114 - Implemented SaveFile for PlainText and UnicodeText
5115 - Fixed set_Font, now setting a new font applies that font to
5117 - Implemented generic Document to RTF converter
5118 - Implemented SaveFile for RichText format (still missing unicode
5119 conversion for non-ansi chars)
5120 - Implemented get_Rtf
5121 - Implemented get_SelectedRtf
5123 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5125 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5126 to allow any captures to be released before triggering OnClick. This
5127 way a click handler may capture the mouse without interference.
5128 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5129 This way we send them even though X may not allow a grab (if the window
5130 isn't visible, for example)
5132 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5134 * DataGridViewRowEventArgs.cs: DataGridView implementation
5135 * DataGridViewElement.cs: DataGridView implementation
5136 * DataGridViewComboBoxCell.cs: DataGridView implementation
5137 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5138 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5139 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5140 * ImageLayout.cs: DataGridView implementation
5141 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5142 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5143 * DataGridViewSelectionMode.cs: DataGridView implementation
5144 * IDataGridViewEditingControl.cs: DataGridView implementation
5145 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5146 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5147 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5148 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5149 * DataGridViewColumnSortMode.cs: DataGridView implementation
5150 * DataGridView.cs: DataGridView implementation
5151 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5152 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5153 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5154 * Padding.cs: DataGridView implementation
5155 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5156 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5157 * DataGridViewRowEventHandler.cs: DataGridView implementation
5158 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5159 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5160 * DataGridViewButtonCell.cs: DataGridView implementation
5161 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5162 * DataGridViewEditMode.cs: DataGridView implementation
5163 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5164 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5165 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5166 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5167 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5168 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5169 * DataGridViewCellEventHandler.cs: DataGridView implementation
5170 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5171 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5172 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5173 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5174 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5175 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5176 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5177 * QuestionEventArgs.cs: DataGridView implementation
5178 * IDataGridViewEditingCell.cs: DataGridView implementation
5179 * DataGridViewTriState.cs: DataGridView implementation
5180 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5181 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5182 * DataGridViewColumnCollection.cs: DataGridView implementation
5183 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5184 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5185 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5186 * DataGridViewColumn.cs: DataGridView implementation
5187 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5188 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5189 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5190 * DataGridViewRow.cs: DataGridView implementation
5191 * DataGridViewImageCellLayout.cs: DataGridView implementation
5192 * DataGridViewImageCell.cs: DataGridView implementation
5193 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5194 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5195 * DataGridViewHeaderCell.cs: DataGridView implementation
5196 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5197 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5198 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5199 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5200 * QuestionEventHandler.cs: DataGridView implementation
5201 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5202 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5203 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5204 * DataGridViewCell.cs: DataGridView implementation
5205 * DataGridViewCellEventArgs.cs: DataGridView implementation
5206 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5207 * DataGridViewCellStyle.cs: DataGridView implementation
5208 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5209 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5210 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5211 * TextFormatFlags.cs: DataGridView implementation
5212 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5213 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5214 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5215 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5216 * DataGridViewButtonColumn.cs: DataGridView implementation
5217 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5218 * HandledMouseEventArgs.cs: DataGridView implementation
5219 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5220 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5221 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5222 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5223 * DataGridViewRowCollection.cs: DataGridView implementation
5224 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5225 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5226 * DataGridViewHitTestType.cs: DataGridView implementation
5227 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5228 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5229 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5230 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5231 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5232 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5233 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5234 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5235 * DataGridViewContentAlignment.cs: DataGridView implementation
5236 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5237 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5238 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5239 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5240 * DataGridViewPaintParts.cs: DataGridView implementation
5241 * DataGridViewCellCollection.cs: DataGridView implementation
5242 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5243 * DataGridViewImageColumn.cs: DataGridView implementation
5244 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5245 * DataGridViewElementStates.cs: DataGridView implementation
5246 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5247 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5248 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5249 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5250 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5251 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5252 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5253 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5254 * DataGridViewTextBoxCell.cs: DataGridView implementation
5255 * DataGridViewBand.cs: DataGridView implementation
5256 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5257 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5258 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5259 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5260 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5261 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5262 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5263 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5264 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5265 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5266 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5268 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5270 * ThemeWin32Classic.cs:
5271 - Draw the outside focus rectangle around buttons
5272 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5273 doesn't use end caps for every dash of a line anymore. This
5274 workaround ignores the forecolor.
5276 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5278 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5281 2005-11-07 Jackson Harper <jackson@ximian.com>
5283 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5285 2005-11-07 Jackson Harper <jackson@ximian.com>
5287 * ScrollableControl.cs: Calculate the maximum and change vars
5288 (more) correctly so that scrollbars appear as a sensible size.
5290 2005-11-04 Jackson Harper <jackson@ximian.com>
5292 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5294 * TreeView.cs: When the tree is sorted null out the top_node so
5295 that it is recalculated.
5296 - Use dotted lines instead of dashed lines to match MS better.
5298 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5301 - Implements key search for items. Useful when browsing files with FileDialog
5302 - When changing view mode or when clear the items reset scrollbar positions
5304 2005-11-04 Jackson Harper <jackson@ximian.com>
5306 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5307 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5308 as to what the method may do as there is no real way of creating a
5309 derived CurrencyManager and calling the method.
5311 2005-11-03 Jackson Harper <jackson@ximian.com>
5313 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5314 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5315 method which seems to just be used internally to refresh the tabs.
5317 2005-11-03 Jackson Harper <jackson@ximian.com>
5319 * TabControl.cs: Implement the remove method. Fix some broken
5322 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5324 * DateTimePicker.cs:
5325 - Added missing DateTimePickerAccessibleObject class
5326 - Added missing events
5327 - Added OnFontChanged method
5328 * Form.cs: Added missing attributes
5329 * TreeView.cs: Added missing attributes
5331 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5333 * GridItemCollection.cs: Fix signatures
5335 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5337 * XplatUI.cs: Updated build rev/date
5338 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5339 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5340 * Application.cs: Trigger context-specific ExitThread events
5342 2005-11-03 Jackson Harper <jackson@ximian.com>
5346 * GridTableStylesCollection.cs:
5351 * MonthCalendar.cs: Signature fixes
5353 2005-11-03 Jackson Harper <jackson@ximian.com>
5355 * TreeNodeCollection.cs: Remove should not be virtual.
5356 * TreeView.cs: Implement the last of the missing methods.
5358 2005-11-03 Jackson Harper <jackson@ximian.com>
5360 * TreeNodeConverter.cs: Implement to get off my class-status back.
5362 2005-11-03 Jackson Harper <jackson@ximian.com>
5364 * TreeView.cs: Hookup the bits for drag and drop.
5365 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5366 that nodes can be moved from tree to tree easily this just causes
5367 all sorts of problems.
5368 * TreeNodeCollection: Don't need to give treenodes an index and
5369 treeview anymore when they are added, these are computed on the
5370 fly. Also make sure to remove a node before its added.
5372 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5375 - Added CaretSelection enum
5376 - Added comparison methods to Marker struct, makes selection code
5378 - Added SelectionStart and SelectionEnd as 'moveable' location for
5379 the CaretDirection enum and handler
5380 - Added selection_prev variable to track optimized invalidation for
5381 word and line selection
5382 - Added SelectionVisible property (returns true if there is a valid
5384 - Switched CaretHasFocus to only display the caret if there is no
5386 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5387 using the direct character index; should be much faster
5388 - Added various conditional debug statements
5389 - Fixed invalidation calculation for selection ranges
5390 - Added ExpandSelection() method to support word and line selection
5391 - Switched SetSelectionToCaret to use new Marker compare overloads
5392 - Added central IsWordSeparator() method to determine word
5393 separators/whitespace and FindWordSeparator() to streamline common
5394 usage of IsWordSeparator()
5396 - Removed unneeded grabbed variable, it was just mirroring
5398 - No longer firing OnTextChanged event when Text setter is called,
5399 since the base will fire the event for us
5400 - Added handling of Ctrl-Up/Down selection
5401 - Added handling of Shift-Cursorkey selection
5402 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5404 - Added handling of Shift and Ctrl-Shift-Home/End selection
5405 - Removed some debug output
5406 - Added handling for single/double/tripple-click to place caret/
5407 select word/select line respectively (Fixes bug #76031)
5408 - Added support for drag expansion of word/line selection
5409 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5412 2005-11-02 Jackson Harper <jackson@ximian.com>
5414 * X11Dnd.cs: If the drag is going to and from a MWF window just
5415 copy the data instead of sending it out through the X Selection
5418 2005-11-02 Jackson Harper <jackson@ximian.com>
5421 * XplatUIX11.cs: When in a drag we don't want motion notify
5422 messages to get passed on to the other controls. This prevents
5423 mouse move messages from showing up in the drag source.
5425 2005-11-02 Jackson Harper <jackson@ximian.com>
5427 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5428 the correct button is release to end a drag.
5429 * XplatUIX11.cs: Make the button state internal so the drag system
5430 can access it. Dragging needs to know about all button releases,
5431 not just left button.
5433 2005-11-02 Miguel de Icaza <miguel@novell.com>
5435 * Form.cs (Icon): If the icon is null, reset the icon to the
5438 * Cursor.cs: When writing the AND-mask bitmap do not include the
5439 number of colors, but hardcode those to two (black and white),
5440 fixes the loading of color cursors (Paint Dot Net).
5442 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5443 turn off autoscaling.
5445 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5447 2005-11-02 Jackson Harper <jackson@ximian.com>
5449 * X11Dnd.cs: Make sure to send a status message if the pointer
5450 enters a control that can not accept a drop, otherwise the cursor
5451 isn't updated correctly. Also tried to compress the lines of code
5454 2005-11-02 Jackson Harper <jackson@ximian.com>
5456 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5457 set actions correctly. This isn't perfect as XDND and win32 have
5458 some differences on how you allow actions. I'll clear this up by
5459 adding a path for drag from MWF to MWF windows.
5460 * XplatUIX11.cs: Hook into the dnd system.
5462 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5464 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5465 previously shown but they are no longer need it. Very obvious when
5466 browsing files with FileDialog.
5468 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5470 * Control.cs: We always need to call OnPaintBackground. We pretty much
5471 ignore AllPaintingInWmPaint and always do the painting there, whether
5472 it's set or not, since we always ignore the WM_ERASEBKGND message
5473 (which we don't generate on X11). This fixes #76616.
5474 * Panel.cs: Removed unneeded background painting. This happens properly
5475 in Control.cs already
5477 2005-10-31 Mike Kestner <mkestner@novell.com>
5479 * Menu.cs: Add items to collection before setting their index.
5480 * MenuItem.cs : add range checking with ArgumentException like MS.
5483 2005-10-31 Jackson Harper <jackson@ximian.com>
5485 * ListBox.cs: Invalidate if the area is visible at all not just
5486 contained in the visible rect. Fixes unselection of semi visible
5489 2005-10-31 Jackson Harper <jackson@ximian.com>
5491 * Control.cs: Consistently name the dnd methods. Make them
5492 internal so we can override them to match some MS behavoir
5494 * Win32DnD.cs: Use the new consistent names.
5496 2005-10-31 Jackson Harper <jackson@ximian.com>
5498 * TreeView.cs: Don't draw the selected node when we lose focus.
5500 2005-10-31 Jackson Harper <jackson@ximian.com>
5502 * X11Dnd.cs: We still need to reset the state even though a full
5503 reset isn't being done, otherwise status's still get sent all over
5506 2005-10-31 Jackson Harper <jackson@ximian.com>
5508 * Control.cs: Make the dnd_aware flag internal so the dnd
5509 subsystem can check it. Catch exceptions thrown in dnd handlers to
5511 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5512 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5513 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5514 flags to reduce the number of dnd enters/status's sent.
5516 2005-10-31 Jackson Harper <jackson@ximian.com>
5518 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5520 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5522 * PictureBox.cs: Fixes 76512
5524 2005-10-28 Jackson Harper <jackson@ximian.com>
5526 * X11Dnd.cs: Early implementation to support winforms being a drag
5527 source for data on X11. Also restructured the converters so they
5528 can go both ways now.
5529 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5531 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5533 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5536 2005-10-27 Jackson Harper <jackson@ximian.com>
5538 * TreeNode.cs: Implement serialization so my DnD examples will work.
5540 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5542 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5543 TreeView.cs: Don't dispose objects that are not owned.
5545 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5547 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5548 should retrieve the current cursor and report that, but XplatUI
5549 doesn't (yet) have an interface for that (and I'm not sure I even
5551 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5552 until any message loop processing is done (and the WM_SETCURSOR
5553 replaces the cursor to the proper one)
5555 - Fixed override behaviour, we can't set the cursor globally on X11,
5556 just for our windows.
5557 - Invalidating the System.Drawing X11 display handle when we are
5559 * Control.cs: Fix to make csc happy
5561 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5564 - get_Text: Add last line (without trailing newline) to returned
5566 - get_TextLength: Count last line in returned length
5567 - ToString: Call Text property instead of duplicating code
5569 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5571 * ImageList.cs: Dispose ImageAttributes objects.
5573 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5575 * ImageList.cs: Use attribute constructors with less arguments where
5578 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5580 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5581 Use typeof instead of strings when assembly is referenced. Added
5584 2005-10-21 Jackson Harper <jackson@ximian.com>
5586 * ListView.cs: Raise a double click event. Also tried to somewhat
5587 fix when the selectedindexchanged event is raised. Its still
5590 2005-10-21 Jackson Harper <jackson@ximian.com>
5592 * TreeView.cs: New method to invalidate the plus minus area of a
5593 node without invalidating the whole node (maybe this can be used
5594 in some more places).
5595 * TreeNodeCollection.cs: When adding to an empty node we need to
5596 invalidate its plus minus area so the little block shows up.
5598 2005-10-21 Jackson Harper <jackson@ximian.com>
5600 * TreeView.cs: Make sure that when we invalidate a node the bounds
5601 are big enough to cover the selected box and the focus
5602 rectangle. Use a different colour for the lines connecting nodes
5603 so they show up with all themes.
5605 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5607 * NativeWindow.cs: Don't call anything that could call into the driver,
5608 we might be on a different thread.
5610 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5612 * Control.cs(Dispose): Since Dispose might run on a different thread,
5613 make sure that we call methods that could call into the driver via
5614 invoke, to avoid thread issues
5616 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5618 * XplatUI.cs: Removed finalizer
5619 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5620 not allowing to be called on the finalizer thread.
5622 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5625 - Reverted r51889 and r51891.
5626 - Added ImageListItem class that stores unmodified image items and image
5627 properties required to create list images until handle is created.
5628 - Added AddItem and moved image creation logic to AddItemInternal.
5629 - Added CreateHandle method that creates images based on unmodified items.
5630 - Added DestroyHandle that changes state to store unmodified items.
5631 - Add and AddStrip methods no more create handle.
5632 - ReduceColorDepth has no return value.
5633 - Dispose destroys handle.
5634 - Modified other methods to reflect the above changes.
5635 - Implemented key support.
5636 - Added profile 2.0 members and attributes.
5637 - Added private Reset and ShouldSerialize methods that provide the same
5638 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5639 them as they are private.
5640 - Added some more comments about implementation details.
5642 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5644 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5646 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5648 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5650 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5652 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5653 * DataGridColumnStyle.cs: Remove debug message
5655 2005-10-20 Jackson Harper <jackson@ximian.com>
5657 * TreeView.cs: We can always get input keys regardless of whether
5658 or not editing is enabled. They are used for navigation.
5660 2005-10-20 Jackson Harper <jackson@ximian.com>
5662 * TreeNode.cs: Use the viewport rect for determining if a node
5663 needs to be moved for visibility. Don't use Begin/End edit. This
5664 calls a full refresh when its done.
5665 * TreeView.cs: New SetBottom works correctly. Make the viewport
5666 rect property internal so the treenodes can see it. When clicking
5667 on a node we need to ensure that its visible because it might just
5668 be partly visible when clicked.
5670 2005-10-20 Jackson Harper <jackson@ximian.com>
5672 * TreeNodeCollection.cs: Remove debug code.
5674 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5676 * Datagrid.cs: Implements column sorting in Datagrid
5677 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5679 2005-10-20 Jackson Harper <jackson@ximian.com>
5681 * TreeNodeCollection.cs: Remove items properly. Update the correct
5682 area after removing them.
5684 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5686 * Datagrid.cs: Should not call base.OnPaintBackground
5688 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5690 * XplatUIX11.cs (GetMessage):
5691 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5692 window instead of client window
5693 - Now properly calculates NC_xBUTTONUP message coordinates
5694 - ScreenToMenu now properly calculates it's coordinates of whole
5695 window, since menus are in the whole window, not in the client
5697 - Added WholeToScreen coordinate translation method
5699 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5701 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5702 want to return a message, loop back to the beginning of the function
5703 and grab the next real message to process instead.
5705 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5707 * Splitter.cs: Properly set limits if no filler control is used
5709 2005-10-19 Jackson Harper <jackson@ximian.com>
5711 * ColorDialog.cs: Don't show the help button if it is not enabled
5712 instead of disabling it (this is what MS does). Don't create the
5713 panel until the dialog is run, otherwise the vars (such as
5714 ShowHelp) are not set yet.
5716 2005-10-19 Jackson Harper <jackson@ximian.com>
5718 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5719 are reduced when adding nodes.
5721 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5724 2005-10-19 Jackson Harper <jackson@ximian.com>
5726 * FolderBrowserDialog.cs: End editing our treeview so the window
5727 actually gets refreshed.
5729 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5731 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5732 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5735 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5737 * MenuAPI.cs: Returns after Hidding window
5738 * XplatUIX11.cs: Added TODO found while debugging menu issues
5740 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5742 * XplatUIX11.cs: Do not re-map the whole window when it's size
5743 becomes non-zero unless it's supposed to be actually visible
5745 2005-10-18 Jackson Harper <jackson@ximian.com>
5747 * TreeView.cs: We don't need to keep a count anymore.
5748 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5749 use the Grow method.
5751 2005-10-18 Jackson Harper <jackson@ximian.com>
5753 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5754 implement it manually here.
5756 2005-10-18 Jackson Harper <jackson@ximian.com>
5758 * ImageList.cs: Dont kill the list when the colour depth is
5759 changed, just change the colour depth of all the images.
5760 - Same goes for setting the image size. Just resize them all
5761 instead of killing the list softly.
5763 2005-10-18 Jackson Harper <jackson@ximian.com>
5765 * Control.cs: Don't invalidate empty rectangles.
5767 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5770 - Adds checked item to the Checked/Item lists (where empty before)
5771 - Do not add items to the Selected lists if they are already present
5773 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5774 - When deleting items make sure that we delete them for the Selected
5775 and Checked list also.
5777 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5779 * Label.cs: Dispose objects no longer used
5780 * ThemeWin32Classic.cs: Dispose objects no longer used
5782 2005-10-18 Jackson Harper <jackson@ximian.com>
5784 * TabControl.cs: Don't refresh the whole control when the tabs are
5785 scrolled, we just need to refresh the tab area.
5787 2005-10-17 Jackson Harper <jackson@ximian.com>
5789 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5790 after handle when we need it.
5792 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5794 * Control.cs: When the parent size changes, recalculate anchor
5795 positions. Partial fix for #76462
5797 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5799 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5802 2005-10-17 Jackson Harper <jackson@ximian.com>
5804 * MonthCalendar.cs: Don't create the numeric up down until our
5805 handle is created. Otherwise our handle is created in the
5806 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5809 2005-10-17 Jackson Harper <jackson@ximian.com>
5811 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5814 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5815 * TreeNode.cs : small logical fix (was using local var instead of field)
5817 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5819 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5821 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5823 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5825 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5828 - Re-implemented anchoring code. My first version was really broken.
5829 This fixes bug #76033. Unlike the previous implementation we will
5830 no longer have round errors since all numbers are calculated from
5831 scratch every time. Removed various anchor-related obsolete vars.
5832 - InitLayout no longer causes layout event firing and layout to be
5835 2005-10-16 Jackson Harper <jackson@ximian.com>
5837 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5840 2005-10-16 Jackson Harper <jackson@ximian.com>
5842 * TabControl.cs: Remove debug code.
5844 2005-10-16 Jackson Harper <jackson@ximian.com>
5846 * XEventQueue.cs: Increase the default queue size (very simple
5847 apps needed to grow the queue).
5848 * Hwnd.cs: No finalizer so we don't need to suppress
5849 finalization. Compute the invalid area manually so a new rectangle
5850 does not newto be created.
5851 * ScrollableControl.cs: Don't set any params (otherwise visibility
5852 isn't set correctly).
5853 * MdiChildContext.cs: New constructor takes the mdi parent so it
5854 doesn't have to be computed and avoids a crash on windows. Draw
5855 the window icon properly, and allow the text to be seen.
5856 * Form.cs: Use new MdiChildContext constructor. Make sure the
5857 child context isn't null in wndproc.
5858 * TabControl.cs: Don't set focus, this is muddling keyboard
5859 behavoir. Expand the tab rows when a window size increase will
5860 allow extra tabs to be seen. Don't allow tabs smaller than the
5861 width of a window to be scrolled out of view.
5863 * TreeView.cs: Use measure string to calculate a nodes width, the
5864 width is cached and only updated when the text or the font is
5865 changed. Don't check for expand/collapse clicks on the first level
5866 nodes if root lines are disabled.
5868 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5870 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5872 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5874 * DataGridBoolColumn.cs: fixes warning
5876 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5878 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5879 to match more to match more precisely the MS Net behavior
5881 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5883 * Hwnd.cs: Added field to track if window is mapped
5885 - Unmap windows if they become 0-size, re-map when
5886 they are >0 again; fixes #76035
5887 - Re-set our error handler after initializing X11Desktop
5888 to override any error handlers Gtk or whatever was called
5891 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5893 * CheckedListBox.cs: Removed unused vars
5894 * ListView.cs: Fixed signatures
5895 * RichTextBox.cs: Removed unused vars
5896 * TextBoxBase.cs: Removed unused vars
5897 * XplatUIWin32.cs: Removed unused vars
5898 * XplatUIX11.cs: Removed unused vars
5899 * XplatUI.cs: Updated version and date to latest published
5901 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5903 * Cursor.cs: Added private .ctor to work around a bug in
5904 resourceset (Thanks to Geoff Norton for the help on this)
5905 * SplitterEventArgs.cs: Made fields accessible so we don't
5906 waste boatloads of objects and can reuse the same one
5908 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5909 any captions and borders when generating screen coordinates
5910 * Splitter.cs: Reimplemented control, now fully complete, uses
5911 rubberband drawing, supports and obeys all properties, has
5914 2005-10-13 Miguel de Icaza <miguel@novell.com>
5916 * Form.cs (Form): Setup default values for autoscale and
5917 autoscale_base_size; Make these instance variables, not static
5920 (OnLoad): on the first load, adjust the size of the form.
5922 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5924 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5925 width argument to DrawReversibleRectangle()
5926 * XplatUIWin32.cs, XplatUIX11.cs:
5927 - Implemented width for DrawReversibleRectangle()
5928 - Added logic to DrawReversibleRectangle that recognizes a zero
5929 width or height and only draws a line in that situation
5931 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5933 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5934 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5935 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5936 method (it uses our FosterParent window to get a graphics context)
5938 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5940 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5941 and SetWindowBackground methods
5943 - Setting proper ControlStyles
5944 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5945 EraseWindowBackground, instead we draw the window background
5946 ourselves in PaintControlBackground. This behaviour is
5947 required to match MS, where, when OnPaintBackground is not
5948 called, the background is not drawn.
5949 - Removed unneeded Refresh() in set_Text
5950 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5952 - Created DeriveStyles method to translate from CreateParams to
5953 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5954 matches FormBorderStyle enum values)
5955 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5956 style calculations into single DeriveStyles method
5957 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5958 from redrawing the whole window on any resize or expose.
5959 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5960 all styles were applied to our whole/client window appropriately
5961 - Removed EraseWindowBackground() and SetWindowBackground() methods
5962 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5963 no longer clear/redraw the background through X
5964 - Removed handling of erase_pending bit, we have no use for it (or
5967 - Removed generation and handling of WM_ERASEBKGND message
5968 - Removed EraseWindowBackground() and SetWindowBackground() methods
5969 - Removed handling of hwnd.ErasePending flag
5971 - Removed EraseWindowBackground() and SetWindowBackground() methods
5972 - We no longer call EraseWindowBackground on PaintEventStart, we
5973 ignore the fErase flag, erasing is handled in Control in the
5975 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5976 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5977 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5978 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5979 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5980 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5981 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5983 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5985 * PropertyGrids.cs: Get sub properties
5986 * PropertyGridView.cs: Fix drawing code
5988 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5990 * ListBox.cs: Fixes 76383
5992 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5994 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5995 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5996 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5999 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6001 * ComboBox.cs: Fixes border drawing
6003 2005-10-10 Miguel de Icaza <miguel@novell.com>
6005 * MimeIcon.cs: Ignore errors if the file can not be read.
6007 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6009 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
6010 - Fixed border calculations
6011 - Fixed horizontal scrolling in single column listboxes
6012 - Fixed drawing issues
6014 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
6016 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
6017 FormBorderStyle enum
6018 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
6019 code to determine FormBorderStyles from CreateParams
6021 - Fixed bug where we'd set the wrong window styles if we were
6022 not creating an MDI window
6023 - Added call to XplatUI.SetBorderStyle when form borders are set
6024 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
6026 - Removed obsolete edge style
6027 - Switched from BorderStyle to FormBorderStyle
6029 2005-10-10 Jackson Harper <jackson@ximian.com>
6031 * Form.cs: Use the property to get the window handle instead of
6032 accessing it directly. Prevents a null reference exception.
6034 2005-10-10 Jackson Harper <jackson@ximian.com>
6036 * TreeView.cs: Don't adjust the rect given to DrawString now that
6037 our libgdiplus draws correctly.
6039 2005-10-08 Jackson Harper <jackson@ximian.com>
6041 * TreeView.cs: Don't try to find the clicked on node if there are
6042 no nodes in the tree.
6044 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6050 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6052 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6053 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6055 Use ResPool for brushes and dispose System.Drawing objects that
6056 are not used anymore.
6058 2005-10-07 Jackson Harper <jackson@ximian.com>
6060 * MdiChildContext.cs: Use the new borders instead of drawing them
6063 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6065 * Calling UpdateBounds after changing the window's BorderStyle
6066 since the style can change the ClientSize
6068 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6070 * Control.cs: Made PaintControlBackground virtual
6071 * Panel.cs: Overriding PaintControlBackground instead of using paint
6072 event; paint event method was interfering with 'real' users of the
6075 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6077 * ThemeWin32Classic.cs: remove border drawing since it is handled
6078 by the base control class now and was causing double border drawing.
6080 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6082 * Panel.cs: Redraw our background on paint. Not a pretty solution,
6083 but it does seem to match MS behaviour. This fixes bug #75324
6085 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6087 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
6088 somewhat hackish looking
6090 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6093 - We now accept Enter even if AcceptEnter is false, if the containing
6094 form does not have an AcceptButton configured (fixes bug #76355)
6095 - Calculations are now fixed to no longer use Width/Height, but
6096 ClientSize.Width/Height, since we now support borders (this was
6097 a result of fixing borders and therefore bug #76166)
6098 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6099 true (fixes bug #76354)
6101 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6104 - Defaulting BorderStyle and setting it in XplatUI when our window
6106 - Added enum check to InternalBorderStyle setter
6108 - Added drawing of window borders
6109 - Now properly calculates WM decorations offset for toplevel
6110 windows (fixes bug #74763)
6112 - Implemented BorderStyles for windows (we're letting win32 draw
6114 - Fixed the signature for SetWindowLong
6115 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6116 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6118 * UpDownBase.cs: Remove drawing of borders, this is handled by
6119 the driver, outside the client area
6120 * ListView.cs: Removed bogus border calculations. The control should
6121 be oblivious to borders, since those are not part of the client
6123 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6124 * ThemeWin32Classic.cs: Removed border calculations from ListView
6127 2005-10-06 Jackson Harper <jackson@ximian.com>
6129 * MdiChildContext.cs: Clear out the old virtual position remove
6130 all the unneeded calls to CreateGraphics.
6132 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6134 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6136 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6139 - Added loading and setting of our new default icon
6140 - Only set icon if window is already created
6142 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6145 - Do not explicitly set the foreground and background colors, to
6146 allow inheriting from parents (fixes #76302)
6147 - Use Control's InternalBorderStyle property to deal with borders
6149 2005-10-06 Jackson Harper <jackson@ximian.com>
6151 * MdiChildContext.cs: Use the new xplatui function to draw a
6154 2005-10-06 Jackson Harper <jackson@ximian.com>
6156 * Form.cs: Add the parent before creating the child context cause
6157 we need the parent when setting up the child.
6159 2005-10-06 Jackson Harper <jackson@ximian.com>
6161 * FolderBrowserDialog.cs: redo the tree population code so a
6162 second thread isn't used. Should be a lot faster and more stable
6165 2005-10-05 Jackson Harper <jackson@ximian.com>
6167 * TreeView.cs: There are no expand/collapse boxes if the node has
6170 2005-10-05 Jackson Harper <jackson@ximian.com>
6172 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6174 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6176 * FileDialog.cs: Fix InitialDirectory
6178 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6181 - Fixes changing between styles
6183 - Fixes last item crashing when navigating with keyboard
6185 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6187 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6189 2005-10-05 Jackson Harper <jackson@ximian.com>
6191 * TreeView.cs: If updating the root node do a full refresh.
6192 * TreeNode.cs: The root node should be expanded by default. Also
6193 added a utility prop to tell if we are the root node.
6194 * TreeNodeCollection.cs: Only refresh if the node we are being
6195 added to is expanded. Also added a comment on a potential
6198 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6200 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6201 in dispose method. Fixes #76330
6203 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6205 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6207 - Implements vertical and horizontal scrolling using XplatUI
6208 - Fixes keyboard navagation
6209 - Fixes EnsureVisible
6211 - Handles and draws focus properly
6214 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6216 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6217 Create handle. NET_2_0: Destroy handle when value is null.
6219 2005-10-03 Jackson Harper <jackson@ximian.com>
6221 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6222 revert and a new patch to prevent the thumb from refreshing so
6225 2005-10-02 Jackson Harper <jackson@ximian.com>
6227 * ScrollBar.cs: Don't update position if it hasn't actually
6228 changed. This occurs when you hold down the increment/decrement
6229 buttons and the thumb gets to the max/min.
6231 2005-10-01 Jackson Harper <jackson@ximian.com>
6234 * MdiChildContext.cs:
6235 * MdiClient.cs: Implement ActiveMdiChild in Form.
6237 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6239 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6241 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6243 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6246 2005-09-30 Jackson Harper <jackson@ximian.com>
6248 * ListBox.cs: Don't do a full refresh unless some data has
6251 2005-09-30 Jackson Harper <jackson@ximian.com>
6253 * TreeView.cs: Make sure that the checkboxes size is factored in
6254 even when not visible.
6256 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6258 * FileDialog.cs: Fix Jordi's build break
6260 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6263 - Use standard the Windows colours for the combobox as espected
6264 - Dispose objects that use resouces when no longer need them
6266 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6268 * X11DesktopColors.cs: Initial incomplete implementation
6269 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6271 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6274 - Switched Theme color names to match the names defined in
6275 System.Drawing.KnownColors. Life's hard enough, no need to make
6277 - Added setters to all theme color properties so themes can set
6278 their color schemes. The setters also propagate the color changes
6279 to System.Drawing.KnownColors via reflection
6280 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6281 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6282 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6283 use the new, more logical theme color names
6284 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6286 * ThemeWin32Classic.cs:
6287 - Removed code to set the old classic Windows colors. Instead it
6288 now relies on the colors returned by System.Drawing.KnownColors
6289 which will be either modern static colors (Unix) or colors
6290 read from the user's configuration (Win32)
6291 - Updated to use the new, more logical theme color names
6292 - Switched DataGrid drawing code to use only Theme colors instead of
6293 a mix of System.Drawing.KnownColors and Theme colors
6294 - DrawFrameControl(): Removed code that fills the button area, the
6295 fill would overwrite any previous fill done by a control. This
6297 - Added DrawReversibleRectangle() stub
6298 * ScrollableControl.cs: Set visible state to false when scrollbars
6299 are removed (pdn fix)
6300 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6301 DrawReversibleRectangle() method to allow drawing primitive
6303 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6305 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6307 * ImageList.cs: Add(Icon): Create handle.
6309 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6312 * ThemeWin32Classic.cs:
6315 - Issues with drawing
6317 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6319 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6320 source has to be the ImageList.
6322 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6324 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6326 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6328 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6330 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6332 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6334 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6335 * GridItem.cs: Fixed TODOs
6336 * GridItemCollection.cs: Added ICollection interface
6338 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6340 * ImageList.cs: Resize icons when needed.
6342 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6345 - Fixes GetBounds and returns on screen rects
6347 - Fixes vertical and horzintal scrolling of items
6348 * ThemeWin32Classic.cs:
6351 2005-09-29 Raja R Harinath <harinath@gmail.com>
6353 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6355 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6357 * ImageList.cs: Added comments about handle creation. Moved Handle,
6358 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6359 Handle is created in Add methods.
6361 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6363 * DataGridDrawingLogic.cs:
6364 - Takes rows into account on Colum calculations
6365 - Returns the column when clickig
6367 - Fixes default HitTestInfo values
6368 - Fixes HitTestInfo.ToString
6369 - Fixes ResetBackColor
6371 2005-09-28 Jackson Harper <jackson@ximian.com>
6373 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6374 sizing or cursor changes). Also added some temp code to draw the
6375 titlebars text (Makes dev a little easier).
6377 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6379 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6381 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6383 * ListBox.cs: Fixes bug 76253
6385 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6387 * ImageList.cs: Added comments about the current implementation. Added
6388 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6389 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6390 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6391 with Bitmap.LockBits for better performance. Revised the whole file to
6392 match MS.NET behaviour and provide better performance. Non-public
6393 interface members are calling public members even when they throw
6394 NotSupportedException for better maintainability. Moved ColorDepth,
6395 ImageSize, ImageStream and TransparentColor implementations to
6396 ImageCollection for better performance as these properties are not used
6398 * ImageListStreamer.cs: Added a new internal constructor that takes an
6399 ImageList.ImageCollection and serializes Images based on
6400 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6401 match ImageList property name.
6403 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6405 * ListBox.cs: Fixes IndexFromPoint for last item
6407 2005-09-27 Jackson Harper <jackson@ximian.com>
6409 * Form.cs: Set the position of new mdi children correctly.
6411 2005-09-27 Jackson Harper <jackson@ximian.com>
6413 * MdiClient.cs: New mdi children need to be added to the back of
6414 the controls collection so the zorder is set correctly. Also add a
6415 count of all the child windows that have been created.
6417 2005-09-27 Jackson Harper <jackson@ximian.com>
6419 * Form.cs (CreateParams): Setup MDI forms correctly.
6421 2005-09-27 Jackson Harper <jackson@ximian.com>
6423 * MdiChildContext.cs:
6430 * ScrollableControl.cs:
6431 * ComboBox.cs: Add implicit controls using the new implict control
6432 functionality in ControlCollection. Also try to block multiple
6433 control add in a suspend/resume layout to save some cycles.
6435 2005-09-27 Jackson Harper <jackson@ximian.com>
6437 * Control.cs: Add functionality to the controls collection to add
6438 'implicit controls' these are controls that are created by the
6439 containing control but should not be exposed to the user. Such as
6440 scrollbars in the treeview.
6441 * Form.cs: The list var of the ControlsCollection is no longer
6442 available because of the potential of implicit controls getting
6443 ignored by someone accessing the list directly.
6445 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6447 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6448 loose it's parent. (Fixed bug introduced in r49103 when we added
6449 setting the child parent to null on Remove)
6451 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6453 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6454 * Splitter.cs: Added missing attributes for BorderStyle property.
6455 * TextBoxBase.cs: Marked Calculate* methods internal.
6456 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6459 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6461 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6463 2005-09-25 Jackson Harper <jackson@ximian.com>
6465 * TreeView.cs: Update the node bounds correctly regardless of
6466 whether the node is visible.
6468 2005-09-25 Jackson Harper <jackson@ximian.com>
6470 * ImageList.cs: Don't dispose the image after it is added to the
6471 image list. Only reformat images that need to be resized.
6473 2005-09-25 Jackson Harper <jackson@ximian.com>
6475 * ImageList.cs: Don't set the format when changing the image.
6477 2005-09-25 Jackson Harper <jackson@ximian.com>
6479 * TreeView.cs: We can't just assume the node has a font. Use the
6480 treeviews font if no node font is available.
6482 2005-09-25 Jackson Harper <jackson@ximian.com>
6484 * TreeView.cs: Allow the scrollbars to be reset with negative
6486 - Don't add scrollbars to negative sized windows.
6488 2005-09-23 Jackson Harper <jackson@ximian.com>
6490 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6491 old Mono.Posix. Also remove some stray code that shouldn't have
6494 2005-09-23 Jackson Harper <jackson@ximian.com>
6496 * TreeView.cs: Attempt at proper sizing of the horizontal
6497 scrollbar. Also don't resize the scrollbars unless they are
6500 2005-09-23 Jackson Harper <jackson@ximian.com>
6502 * TreeView.cs: We don't need to expand the invalid area when the
6503 selection changes, as this is all drawn in the node's bounding
6504 box. The area needs to be expanded (previous typo was contracting
6505 it) when the focus rect moves.
6507 2005-09-23 Jackson Harper <jackson@ximian.com>
6509 * TreeView.cs: Display the selection box under the correct
6510 circumstances. We were rendering white text with no selection box
6513 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6515 * TextControl.cs(Split): Now updates selection start/end if it points
6516 into a line that's being split. Fixes a FIXME and bug #75258
6518 2005-09-23 Jackson Harper <jackson@ximian.com>
6521 * ListControl.cs: Don't use the path when retrieving binding
6522 managers from the binding context. My bat sense tells me that the
6523 path is only used on insertion.
6525 2005-09-22 Jackson Harper <jackson@ximian.com>
6527 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6529 2005-09-22 Jackson Harper <jackson@ximian.com>
6531 * Splitter.cs: There are special cursors used for splitting.
6532 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6534 2005-09-22 Jackson Harper <jackson@ximian.com>
6536 * Splitter.cs: Change the cursor appropriately when the splitter
6537 is moused over, so the user actually knows there is a splitter
6540 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6542 * Label.cs : Fix ToString method to give same output as MS.NET
6544 2005-09-22 Jackson Harper <jackson@ximian.com>
6546 * TreeView.cs: Create the scrollbars when the handle is created
6547 and add them right away, just make them invisble. Also account for
6548 the window being shrunk vertically to the point that the vert
6549 scrollbar needs to be added.
6550 - Remove some 0.5 adjustments to get around anti aliasing issues.
6552 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6554 * MainMenu.cs: Fixes default value
6555 * MenuItem.cs: Fixes default value
6557 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6559 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6561 2005-09-21 Jackson Harper <jackson@ximian.com>
6563 * Control.cs: Don't try to set the border style on the window if
6564 it hasn't been created. When the window is created the border
6567 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6569 * Control.cs (Update): Don't call XplatUI if we don't have a
6572 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6574 * ContainerControl.cs: Instead of throwing an exception, print
6575 a one-time warning about Validate not being implemented
6576 * XplatUIWin32.cs: Removed debug output
6578 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6580 * Control.cs: Only set XplatUI background if we expect the windowing
6581 system to handle the background. This stops controls that draw their
6582 own background from flickering
6584 * XplatUIX11.cs: Support custom visuals and colormaps for window
6585 creation. This allows, amongst other things, using MWF X11 windows
6588 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6590 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6591 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6592 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6593 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6594 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6595 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6596 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6597 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6598 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6599 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6600 GridColumnStylesCollection.cs,
6601 IDataGridColumnStyleEditingNotificationService.cs,
6602 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6603 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6604 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6605 TreeNodeCollection.cs, AmbientProperties.cs,
6606 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6607 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6608 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6609 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6610 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6611 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6612 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6613 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6614 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6615 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6616 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6617 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6618 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6619 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6620 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6621 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6622 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6623 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6624 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6625 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6626 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6627 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6628 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6629 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6630 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6631 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6632 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6633 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6634 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6635 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6636 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6637 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6638 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6639 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6640 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6641 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6642 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6644 2005-09-21 Jackson Harper <jackson@ximian.com>
6646 * TreeNode.cs: Call Before/After Expand not Collapse when
6649 2005-09-20 Jackson Harper <jackson@ximian.com>
6651 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6653 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6657 - Fixes proper storing of subitems
6658 - Fixes not updated items
6660 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6662 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6663 things if our window handle isn't created yet. Also disabled
6664 debug for TextBoxBase
6666 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6668 * MenuAPI.cs: Remove filtering of events to allow menu usage
6670 2005-09-20 Miguel de Icaza <miguel@novell.com>
6672 * Cursor.cs: Allow null to be passed to Cursor.Current.
6674 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6676 * ThemeWin32Classic.cs:
6677 - Change some private methods/fields to protected virtual so that
6678 they can be accessed and overriden in derived classes
6679 - First refactoring of some methods. Derived themes now don't
6680 need to duplicate the complete code from ThemeWin32Classic
6682 - Added nice StatusBar
6683 - Derive from ThemeWin32Classic and not Theme
6684 - Removed duplicate ThemeWin32Classic code
6686 2005-09-20 Miguel de Icaza <miguel@novell.com>
6688 * Control.cs (ControlCollection.Add): If the value null is passed
6689 the control is ignored.
6693 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6695 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6696 PostQuitMessage state.
6697 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6699 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6701 * Application.cs: Our constructor will never get called, move
6702 initialization to fields; fixes bug #75933
6704 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6707 - Allow files to be selected properly using file name
6709 - Add ability to change diretory (absolute / relative)
6710 using file name combo box.
6712 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6715 - Fixes Multicolumn listboxes item wrong calculations
6716 - Allows to click when only one item is in the listbox
6717 - Fixes crash when no items using keyboard navigation
6719 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6721 * ComboBox.cs: Reverted almost everything from the latest patch which
6724 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6727 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6729 - When DropDownStyle is Simple, it does not show scrollbar
6730 to the last item of the list.
6731 - When DropDownStyle is Simple, it crashed when the list was
6732 scrolled down with the down cursor key.
6733 - Fixed a bug that when DropDownStyle is DropDownList, the
6734 selected item was not shown.
6735 - The position of the selected item was not preserved when
6736 the next dropdown happened.
6737 * ThemeWin32Classic.cs:
6738 - Items were wrapped at the right end.
6739 * CheckedListBox.cs:
6742 - Items should be fully shown.
6743 - When resizing and vertical scrollbar disappeared, the item
6744 of index 0 should be on the top of the list.
6745 - GetItemRectangle should consider the size of ver. scrollbar
6747 - SizingGrip area should not be allocated when it is not
6749 - Now it reflects MinWidth of the containing panel and
6750 fixed a crash that happens when its width becomes so small.
6752 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6754 * CheckedListBox.cs: Fixes bug 76028
6755 * ListBox.cs: Fixes bug 76028
6757 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6759 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6760 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6762 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6764 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6766 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6768 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6770 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6772 * IRootGridEntry.cs: Added
6773 * PropertyGridCommands.cs: Added
6774 * PropertiesTab.cs: Added missing methods and property
6775 * PropertyGridView.cs: Made class internal
6776 * PropertyGridTextBox.cs: Made class internal
6778 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6780 * MimeIcon.cs: Try to check some other environment variables
6781 if "DESKTOP_SESSION" returns "default"
6783 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6785 * ThemeNice.cs: Corrected background colors (e.g. menus)
6786 * ColorDialog.cs: Use correct background colors for controls
6788 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6790 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6792 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6794 * RichTextBox.cs: Added initial implementation
6795 * lang.cs: Removed. Was accidentally checked in long time ago
6796 * TODO: Removed. Contents were obsolete
6798 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6800 * PropertiesTab.cs : Added
6802 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6804 * PropertyGrid.cs : Update
6805 * PropertyGridView.cs : Update
6806 * System.Windows.Forms.resx : Added images and strings
6808 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6810 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6812 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6814 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6815 a busy loop right after the Ungrab the X11 display is otherwise
6818 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6820 * ThemeWin32Classic.cs: Optimise the use of clipping
6822 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6824 * DataGrid.cs: fixes recursion bug
6826 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6829 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6832 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6834 * ThemeNice.cs: Draw nice ProgressBars
6836 2005-09-01 Miguel de Icaza <miguel@novell.com>
6838 * VScrollBar.cs: Another buglet found by Aaron's tool.
6840 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6843 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6846 - Added nicer menu drawing
6850 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6852 * CreateParams.cs (ToString): Made output match MS
6853 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6854 handle is already created (to avoid forcing window creation)
6855 * XplatUIX11.cs: Set window text to caption after creating window,
6856 in case Text was set before window was created
6857 * Form.cs: Use this.Text instead of a static string as caption
6859 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6861 * NotifyIcon.cs: Don't set the window to visible; this screws
6862 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6863 OnPaint without a bitmap)
6864 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6865 happen very often anyway; we could add the check to the WM_PAINT
6866 event generation code
6868 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6870 * NotifyIcon.cs: Fill the icon area with a background color, to
6871 avoid 'residue' when transparent icons are drawn
6873 - Handle whole_window == client_window when destroying windows
6874 - SystrayAdd(): Set client_window to whole_window value to
6875 get mouse and other events passed to NotifyIcon
6877 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6879 * Form.cs: Set proper default for Opacity property
6881 - ShowSystray(): Don't bother creating telling the OS
6882 about the systray item if no icon is provided
6883 - Now handles WM_NCPAINT message to deal with whole/client window
6885 - Create window as visible to not get caught by Expose optimization
6886 * Hwnd.cs: Removed debug message
6887 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6888 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6889 PaintEventStart/End to use new client argument
6891 - Commented out debug messages
6892 - Switched PaintEventStart/End to use new client argument
6893 * XplatUI.cs: Added client window bool to PaintEventStart()/
6894 PaintEventEnd() calls, to support drawing in non-client areas
6896 - Added client window bool to PaintEventStart()/PaintEventEnd()
6897 calls, to support drawing in non-client areas
6898 - Added conditional compile to allow using MWF BeginInvoke
6901 - Added some conditional debug output
6902 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6903 whole/client window split
6904 - Implemented handling of client argument to PaintEventStart()/End()
6906 - Throw exception if BeginInvoke() is called and the window handle
6907 or one of the window's parent handles is not created
6908 - Added conditional compile to allow using MWF BeginInvoke on
6910 - get_Parent(): Only sets parent if handle is created. This avoids
6911 forcing window handle creation when parent is set.
6912 - Now fires Layout and Parent changed events in proper order
6913 - Switched to use Handle instead of window.Handle for Z-Order setting,
6914 the get_Parent() patch above causes us to possibly get null for 'window'
6915 - Implemented handling of client argument to PaintEventStart()/End()
6916 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6918 - Now sends a Refresh() to all child windows when Refresh() is called
6920 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6922 * Form.cs: Added (non-functional) Opacity property
6923 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6925 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6926 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6927 use export MONO_THEME=nice to activate it.
6928 Currently supported controls:
6932 - TabControl (TabAlignment.Top only, other will follow)
6933 * ThemeEngine.cs: Add theme nice
6934 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6937 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6939 * Splitter.cs: Resize docked control and its neighbor.
6941 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6942 -- Making Windows with Menus layout correctly --
6943 * Form.cs : The first leg of the fix
6944 Menu setter - adjust Client Size as needed to make space for the menu
6945 SetClientSizeCore - doesn't call base version to be able to pass the
6946 menu handle to XplatUI.CalculateWindowRect
6947 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6948 * XplatUIX11.cs: The critical second leg of the fix
6949 GetWindowPos needs to use a recalculated client_rect
6950 so that resizing the window doesn't break layout of child controls.
6951 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6954 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6956 * Label.cs: Now properly recalculates width and height on Font and Text
6957 changes if AutoSize is set
6959 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6960 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6962 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6964 * ImageList.cs: Makes ToString method compatible with MS
6966 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6968 * MenuAPI.cs: fixes bug 75716
6970 2005-08-11 Umadevi S <sumadevi@novell.com>
6971 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6973 2005-08-11 Umadevi S <sumadevi@novell.com>
6974 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6976 2005-08-10 Umadevi S <sumadevi@novell.com>
6977 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6979 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6981 * Menu.cs: fixes bug 75700
6982 * MenuAPI.cs: fixes navigation issues
6984 2005-08-09 Umadevi S <sumadevi@novell.com>
6985 * CheckedListBox.cs - simple fix for GetItemChecked.
6987 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6989 * ComboBox.cs: Serveral fixes
6990 * ListBox.cs: Serveral fixes
6992 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6994 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6995 * ListBox.cs: Fixes FindString methods
6997 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6999 * DataGrid.cs: fixes bugs exposed by new tests
7001 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
7003 * Mime.cs: Compile Mono assembly references only if compiling
7004 with Mono (Allows to build with VS.Net again)
7006 2005-07-28 Marek Safar <marek.safar@seznam.cz>
7008 * Control.cs (PaintControlBackground): Draw background image
7010 (CheckForIllegalCrossThreadCalls): Stubbed.
7012 * Form.cs (OnCreateControl): Center when should be centered.
7014 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
7016 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
7018 * Binding.cs: Binding to properties should be case unsensitive
7020 2005-07-18 vlindos@nucleusys.com
7022 * DataGrid.cs: fixes setmember order
7024 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
7026 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
7027 * FileDialog.cs: FileDialog is now resizable and uses the new
7030 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
7032 * DataGridTextBoxColumn.cs: default value
7033 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
7034 * GridTableStylesCollection.cs: fixes checking MappingName
7035 * DataGridDrawingLogic.cs: fixes drawing logic issues
7036 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7037 * DataGrid.cs: fixes
7039 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7041 * MimeGenerated.cs: Use case sensitive comparer for
7042 NameValueCollections
7044 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7046 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7047 * ThemeWin32Classic.cs: bug fixes, code refactoring
7048 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7049 * DataGrid.cs: bug fixes, code refactoring
7050 * DataGridTextBox.cs: bug fixes, code refactoring
7051 * DataGridColumnStyle.cs: bug fixes, code refactoring
7052 * Theme.cs: bug fixes, code refactoring
7054 2005-07-01 Peter Bartok <pbartok@novell.com>
7056 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7057 and other text box usage
7059 2005-07-01 Jackson Harper <jackson@ximian.com>
7061 * TabControl.cs: Make sure the bottom of the tab covers the pages
7064 2005-06-30 Peter Bartok <pbartok@novell.com>
7066 * Form.cs (ShowDialog): Assign owner of the dialog
7067 * TextBoxBase.cs: Always refresh caret size when deleting, caret
7068 might have been moved to a tag with different height
7070 2005-06-30 Jackson Harper <jackson@ximian.com>
7072 * Form.cs: Don't create an infinite loop when setting focus
7073 * MenuItem.cs: Don't dirty the parents if we don't have any
7075 2005-06-29 Ben Maurer <bmaurer@ximian.com>
7077 * LibSupport.cs: Rename
7079 2005-06-29 Peter Bartok <pbartok@novell.com>
7081 * TextBoxBase.cs: Re-align caret after deleting a character
7083 - DeleteChars(): Ensure that tag covers the provided position
7084 - StreamLine(): Drop reference for dropped tag
7086 2005-06-29 Peter Bartok <pbartok@novell.com>
7089 - Selections now work properly, anchoring at the initial location
7090 and properly extending in either direction (SetSelectionToCaret(),
7091 SetSelectionStart() and SetSelectionEnd())
7092 - No longer redraws the whole control on selection change, now
7093 calculates delta between previous and new selection and only
7094 invalidates/redraws that area
7095 - Fixed FindPos() math off-by-one errors
7096 - Changed DeleteChars() to verify the provided tag covers the
7097 provided position, selections may have a tag that doesn't cover
7098 the position if the selection is at a tag border
7099 - Fixed off-by-one errors in DeleteChars()
7100 - Added missing streamlining check in DeleteChars() to remove
7102 - Implemented Invalidate() method, now properly calculates exposures
7103 between two given lines/positions
7104 - Implemented SetSelection()
7105 - Obsoleted and removed FixupSelection()
7106 - Improved RecalculateDocument() logic, removing code duplication
7108 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7110 * LibSupport.cs: changes to match different input/output arguments.
7112 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7114 * LibSupport.cs: added libsupport.so init routine.
7116 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7118 * ControlBindingsCollection.cs
7119 - Throws an exception on null datasource when adding
7120 - Checks for duplicated bindings when adding
7122 2005-06-28 Jackson Harper <jackson@ximian.com>
7124 * TreeView.cs (OnKeyDown): Support left and right properly
7125 (navigates as well as expanding and collapsing.
7126 - Add support for Multiply, this expands all the selected nodes
7130 2005-06-28 Jackson Harper <jackson@ximian.com>
7132 * TreeView.cs: Implement keyboard navigation, currently supports,
7133 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7134 support for toggling checkboxes with the space bar.
7136 2005-06-28 Jackson Harper <jackson@ximian.com>
7138 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7141 2005-06-28 Jackson Harper <jackson@ximian.com>
7143 * TreeView.cs: Add missing event.
7145 2005-06-27 Peter Bartok <pbartok@novell.com>
7148 - Made line ending size configurable (now allows for counting
7149 lineendings as \n or \r\n)
7150 - Added margin to viewport to keep caret visible on right side
7151 - Fixed translation routines for line/pos to documentpos to consider
7152 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7153 - Fixed some line-endings to be unix style
7154 - Fixed Document.FormatText to perform it's calculations 1-based
7155 - Added descriptions for a few methods that might otherwise get
7157 - Added NOTE section with some basic conventions to remember at
7159 - Major fixup for RichTextBox selection drawing:
7160 * Fixed crashes when multiple tags on a single line were selected
7161 * fixed selection box drawing not overlaying text
7162 * fixed bogus offset calculation for tags not starting at index 1
7163 * Switched behaviour from using multiple Substrings of a
7164 StringBuilder.ToString() to using multiple
7165 StringBuilder.ToString(start, length) statements, hoping this is
7166 faster (kept original version commented out in the code, in case
7167 original version was faster)
7168 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7170 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7173 2005-06-27 Jackson Harper <jackson@ximian.com>
7175 * TabControl.cs: Move to the left and right with the arrow
7176 keys. These keys don't cycle beyond first and last like
7177 tab. Refresh all the tabs when scrolling them to the left or
7180 2005-06-27 Jackson Harper <jackson@ximian.com>
7183 - ToString: Added method
7184 - CreateParams: Remove TODO and comment
7185 - OnKeyDown: Cycle through bounds properly.
7186 - SelectedIndex: Scroll to the right or left if we need to
7187 display the newly selected tab.
7189 2005-06-23 Jackson Harper <jackson@ximian.com>
7191 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7194 2005-06-23 Jackson Harper <jackson@ximian.com>
7196 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7197 CTRL-SHIFT-TAB, and HOME, END are there any others?
7199 2005-06-23 Jackson Harper <jackson@ximian.com>
7201 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7203 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7205 * DataGridTextBoxColumn.cs: fixes and enhancements
7206 * ThemeWin32Classic.cs: fixes and enhancements
7207 * DataGridBoolColumn.cs: fixes and enhancements
7208 * DataGridDrawingLogic.cs: fixes and enhancements
7209 * CurrencyManager.cs: fixes and enhancements
7210 * DataGrid.cs: fixes and enhancements
7211 * DataGridColumnStyle.cs: fixes and enhancements
7213 2005-06-22 Jackson Harper <jackson@ximian.com>
7215 * TabControl.cs: Add some missing methods that just call into the
7216 base. Make the TabPageCollection's IList interface behave in the
7217 same manner as the MS implementation.
7219 2005-06-22 Peter Bartok <pbartok@novell.com>
7221 * TextControl.cs: Added sanity check
7223 - Fixed wrapping behaviour, don't set wrap on single line controls
7224 (this fixes the breakage of colordialog introduced in an earlier
7226 - Added rudimentary support for autoscrolling right-aligned controls
7227 (still needs fixing, also, center alignment scroll is missing)
7229 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7231 * ScrollBar.cs: Fixes thumbpos on Maximum values
7233 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7235 * PropertyGridView.cs: Pass context information to UITypeEditors
7237 2005-06-21 Peter Bartok <pbartok@novell.com>
7240 - Now calling PositionCaret with absolute space coordinates
7241 - Enabled vertical scrolling
7242 - Better tracking of scrollbar changes, tied into WidthChange
7244 - Improved cursor tracking
7245 - Removed debug output
7247 - PositionCaret coordinates are now works in absolute space, not
7249 - Improved tracking of document size
7250 - Added events for width and height changes
7252 2005-06-21 Peter Bartok <pbartok@novell.com>
7254 * Form.cs: Set focus to active control when form is activated
7256 - Added word-wrap functionality to RecalculateLine()
7257 - Added some short function descriptions for VS.Net to aid in
7258 writing dependent controls
7259 - Added Caret property, returning the current coords of the caret
7260 - Added ViewPortWidth and ViewPortHeight properties
7261 - Added Wrap property
7262 - Added CaretMoved event
7263 - Removed some old debug code
7264 - Split() can now create soft splits
7265 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7266 - Added method to format existing text
7267 - Fixed size/alignment calculations to use viewport
7268 - RecalculateDocument now can handle changing line-numbers while
7272 - Added some wrap logic, we don't wrap if alignment is not left
7273 - Added casts for scrollbar var, base class switched types to
7274 also support RichTextBoxA
7275 - Implemented handling of scrollbar visibility flags
7278 - Switched scrollbars type to RichTextBoxScrollBars to support
7280 - Added tracking of canvas width/height
7281 - Switched scrollbars to be not selectable (to keep focus on text)
7282 - Added central CalculateDocument() method to handle all redraw
7284 - Added ReadOnly support
7285 - Added WordWrap support
7286 - Fixed handling of Enter key (we now treat it as a DialogKey)
7287 - Fixed caret positioning when h or v scroll is not zero
7288 - Fixed placing/generation of vertical scrollbar
7289 - Added CalculateScrollBars() method to allow updating scrollbar
7290 limits and visibility
7291 - Fixed handling of horizontal scroll
7292 - Added handling of vertical scroll
7293 - Implemented auto-'jump' when caret moves to close to a left or
7294 right border and there is text to be scrolled into view (currently
7295 there's the potential for a stack overflow, until a bug in
7298 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7300 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7302 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7306 - return application/x-zerosize for files with size zero
7307 (if no extension pattern matches).
7308 - check matches collection for strings too.
7309 - return only the first mime type if the name value
7310 collection has more than one mime type.
7312 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7314 * PropertyGrid.cs: Cleaned up some TODOs
7315 * PropertyGridView.cs: Added support for UITypeEditors
7317 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7319 * DataGrid.cs: clears cached value
7321 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7323 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7324 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7325 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7326 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7328 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7330 * ThemeWin32Classic.cs: fixes colour
7332 2005-06-15 Peter Bartok <pbartok@novell.com>
7334 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7335 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7336 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7337 * Control.cs: Added some MWFCategory and MWFDescription attributes
7338 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7340 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7342 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7345 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7347 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7348 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7349 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7350 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7351 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7352 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7354 2005-06-13 Jackson Harper <jackson@ximian.com>
7356 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7357 isn't printed when the user enables dropping. (X11 does accept
7360 2005-06-13 Jackson Harper <jackson@ximian.com>
7362 * TreeView.cs: Remove some TODOS.
7364 2005-06-13 Jackson Harper <jackson@ximian.com>
7366 * Form.cs: Hook into the mdi framework.
7367 * MdiClient.cs: Use the base control collections add method so
7368 parents get setup correctly. Set the default back colour and dock
7370 * MdiChildContext.cs: New class, this bad actor handles an
7371 instance of an MDI window. Right now there is only basic
7372 support. You can drag, close, and resize windows. Minimize and
7373 Maximize are partially implemented.
7375 2005-06-13 Jackson Harper <jackson@ximian.com>
7377 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7378 freaky when both vals are negative. NOTE: There are probably other
7379 places in XplatUIX11 that this needs to be done.
7381 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7383 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7384 * DataGridColumnStyle.cs: fixes signature
7386 2005-06-12 Jackson Harper <jackson@ximian.com>
7388 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7391 2005-06-11 Jackson Harper <jackson@ximian.com>
7393 * StatusBarPanel.cs: Signature cleanups. Implement
7396 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7398 * DataGridTextBoxColumn.cs: Honors aligment
7399 * GridColumnStylesCollection.cs: Contains is case unsensitive
7400 * GridTableStylesCollection.cs: several fixes
7401 * DataGridTableStyle.cs: default column creation
7402 * DataGridDrawingLogic.cs: fixes
7403 * CurrencyManager.cs: ListName property
7404 * DataGrid.cs: multiple styles support
7405 * DataGridColumnStyle.cs: fixes
7408 2005-06-10 Peter Bartok <pbartok@novell.com>
7410 * Control.cs(Select): Moved SetFocus call to avoid potential
7411 loops if controls change the active control when getting focus
7412 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7415 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7417 * ImageListConverter.cs: Implemented
7419 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7421 * MonthCalendar.cs: Wired in NumericUpDown control for year
7423 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7425 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7426 DoubleClick events, since they are not meant to be fired.
7428 2005-06-09 Peter Bartok <pbartok@novell.com>
7430 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7431 Jonathan's standalone controls into MWF, implemented missing
7432 events, attributes and methods; added xxxAccessible classes
7433 * AccessibleObject.cs: Made fields internal so other classes
7434 can change them if needed
7436 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7438 * UpDownBase.cs: Complete implementation
7439 * NumericUpDown.cs: Complete implementation
7440 * DomainUpDown.cs: Complete implementation
7442 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7444 * DataGridTextBoxColumn.cs: drawing fixes
7445 * DataGridCell.cs: fixes ToString method to match MSNet
7446 * DataGridTableStyle.cs: fixes
7447 * DataGridBoolColumn.cs: fixes, drawing
7448 * DataGridDrawingLogic.cs: fixes, new methods
7449 * DataGridTextBox.cs: Keyboard and fixes
7451 - Keyboard navigation
7453 - Row selection (single, multiple, deletion, etc)
7456 2005-06-07 Jackson Harper <jackson@ximian.com>
7458 * ThemeWin32Classic.cs: Clear the background area when drawing
7461 2005-06-06 Peter Bartok <pbartok@novell.com>
7463 * ImageListStreamer.cs: Fixed signature for GetData
7464 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7466 - Added missing ChildAccessibleObject class
7467 - Added missing OnXXXFocus overrides, switched to using those
7468 instead of the event handler
7470 - Added Parent property for ControlAccessibleObject
7473 - Added ResetBindings()
7474 * ListBindingConverter.cs: Implemented some methods
7475 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7476 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7477 * ContainerControl.cs: Fixed signature, now subscribing to the
7478 ControlRemoved event instead of overriding the handler, LAMESPEC
7479 * CurrencyManager.cs: Added missing attribute
7480 * MonthCalendar.cs: Added missing properties
7482 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7484 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7486 2005-06-06 Gaurav Vaish and Ankit Jain
7488 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7489 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7491 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7493 * Control.cs: fixes CreateParams Width / Height.
7495 2005-06-05 Peter Bartok <pbartok@novell.com>
7497 * Win32DnD.cs: Removed compilation warnings
7499 2005-06-05 Peter Bartok <pbartok@novell.com>
7501 * Control.cs (CreateParams): Since we don't know if one of the
7502 properties we use is overridden, lets make sure if we fail accessing
7503 we continue with a backup plan
7505 2005-06-05 Peter Bartok <pbartok@novell.com>
7508 - Removed debug output
7509 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7511 - Plugged resource leak
7512 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7515 2005-06-05 Peter Bartok <pbartok@novell.com>
7517 * XplatUIWin32.cs: Removed DnD code
7518 * Win32DnD.cs: Implemented drop source and drop target functionality
7520 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7522 * UpDownBase.cs: remove duplicate addition of event, enable some code
7523 that was commented out.
7524 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7525 Validate input when a key is pressed. It works fine now for every
7526 combination of Hexadecimal. Only missing some drawing love when sharing
7527 space with other controls.
7529 2005-06-04 Peter Bartok <pbartok@novell.com>
7532 - We need to pass a window for DragDrop, so enable callback events
7533 - Added DnD callback events when being a DragSource
7534 * XplatUI.cs (StartDrag): Added window handle argument
7535 * XplatUIDriver.cs (StartDrag): Added window handle argument
7536 * QueryContinueDragEventArgs: Made fields internally accessible so
7537 drivers can set them
7538 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7541 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7543 * DataGridTextBoxColumn.cs: column text editing
7544 * DataGridTableStyle.cs: Respect columns styles created by the user
7545 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7546 * DataGridBoolColumn.cs: bool column editing
7547 * DataGrid.cs: fixes to scrolling, properties, etc
7548 * DataGridTextBox.cs: handle keyboard
7549 * DataGridColumnStyle.cs: fixes
7551 2005-06-02 Jackson Harper <jackson@ximian.com>
7553 * ImageListStreamer.cs: Somewhat broken implementation of
7554 GetObjectData. The RLE needs some work to match MS properly.
7556 2005-06-02 Jackson Harper <jackson@ximian.com>
7558 * X11Dnd.cs: Attempting to keep at least one file in MWF
7561 2005-06-02 Peter Bartok <pbartok@novell.com>
7563 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7566 2005-06-02 Peter Bartok <pbartok@novell.com>
7568 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7569 * XplatUI.cs: Added DoDragDrop() method
7570 * XplatUIDriver.cs: Added DoDragDrop() method
7572 2005-06-02 Jackson Harper <jackson@ximian.com>
7574 * Splitter.cs: Implement BorderStyle.
7576 2005-06-02 Jackson Harper <jackson@ximian.com>
7578 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7579 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7582 2005-06-02 Peter Bartok <pbartok@novell.com>
7586 - Fixed broken insertion code for SetData, now also
7587 overwrites any existing entry of the same format name
7588 * Hwnd.cs: Added list of pointers that automatically gets
7589 freed when the window is disposed
7590 * XplatUI.cs: Call driver initialization method when loading
7593 - OnDragLeave takes EventArgs, not DragEventArgs
7594 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7596 - Forces style update when drop state changes
7597 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7598 not perfect since we cannot (yet) call the IDataObject.GetData()
7599 method, we keep getting 0x80004005 error, dunno why)
7601 2005-06-02 Peter Bartok <pbartok@novell.com>
7603 * DragEventArgs.cs: Make fields internal so we can cache the
7604 object and re-set the fields from XplatUI
7606 2005-06-02 Jackson Harper <jackson@ximian.com>
7608 * Control.cs: Add some internal methods so the DnD subsystem can
7609 raise DnD events. Also call into the driver when AllowDrop is set.
7611 * XplatUIDriver.cs: New method for setting whether or not a window
7612 is allowed to accept drag and drop messages.
7614 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7616 * ScrollBar.cs: Make sure that values sent in Scroll events
7617 are always between Maximum and Minimum.
7619 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7621 * Menu.cs: Call MenuChanged when menuitem visibility has been
7623 * MenuItem.cs: Rebuild menu when item is (not) visible.
7624 * MainMenu.cs: MainMenu has special MenuChanged.
7625 * Theme.cs: Caption and FrameBorderSize are not fixed.
7626 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7627 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7629 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7630 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7632 2005-05-30 Jackson Harper <jackson@ximian.com>
7634 * DataFormat.cs: We can't statically initialize this stuff because
7635 it calls into the xplatui and could create a loop. So we lazy init
7638 2005-05-28 Jackson Harper <jackson@ximian.com>
7640 * Control.cs: Proper implementation of Product(Name/Version).
7642 2005-05-27 Jackson Harper <jackson@ximian.com>
7644 * DataObject.cs: Dont crash if no data is found.
7646 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7647 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7648 as per status page, guessing it should be set to true
7650 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7652 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7653 * DataGridTableStyle.cs: set proper formatting text, def header text
7654 * ThemeWin32Classic.cs: new themable paramaters
7655 * DataGridBoolColumn.cs: paint check box, get data, fixes
7656 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7657 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7658 * DataGridColumnStyle.cs: fixes
7659 * Theme.cs: new themable paramaters
7661 2005-05-26 Peter Bartok <pbartok@novell.com>
7663 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7665 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7666 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7668 2005-05-24 Peter Bartok <pbartok@novell.com>
7670 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7671 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7672 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7673 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7674 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7675 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7676 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7677 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7678 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7679 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7680 missing attributes, etc
7681 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7683 2005-05-24 Peter Bartok <pbartok@novell.com>
7685 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7686 when user tries to get help
7687 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7688 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7689 to suppress warnings
7690 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7691 avoid unreachable code warning
7693 2005-05-20 Peter Bartok <pbartok@novell.com>
7695 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7697 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7699 * DataGridTextBoxColumn.cs: Basic painting methods
7700 * DataGridTableStyle.cs: Set table style in the column
7701 * ThemeWin32Classic.cs: Use Theme for colors
7702 * DataGridDrawingLogic.cs: Implement more drawing
7703 * DataGrid.cs: drawing, theming, enhacements, fixes
7704 * DataGridColumnStyle.cs: fixes, drawing
7705 * Theme.cs: theming for Datagrid
7707 2005-05-20 Peter Bartok <pbartok@novell.com>
7709 * Cursor.cs: Implemented GetObjectData() method
7711 2005-05-20 Peter Bartok <pbartok@novell.com>
7713 * Cursors.cs: Added setting of cursor name
7715 - Implemented constructors
7716 - Implemented Draw and DrawStretched
7717 - Implemented Current property
7718 - Implemented == and != operators
7719 - Implemented Dispose()
7720 - Implemented ToString
7721 - Added missing attributes
7723 - Added missing reset for OverrideCursor when DoEvents is called
7724 - Fixed creation of cursor, logic was wrong
7726 - Added missing reset for OverrideCursor when DoEvents is called
7727 - Fixed creation of cursor, bit arrays were swapped
7728 * Clipboard.cs: Removed obsolete MonoTODO attribute
7730 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7732 * ComboBox.cs: fixes OnSelectedItemChanged
7733 * ControlBindingsCollection.cs: fixes item range check
7735 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7738 - Calc preferred height properly
7739 - Implement missing properties
7741 * NumericUpDown.cs: Implement missing events
7743 2005-05-19 Jackson Harper <jackson@ximian.com>
7745 * TabControl.cs: New method that resizes the tab pages before
7746 redrawing them. This as needed as the control is double buffered
7747 and sizing will not be recalculated unless ResizeTabPages is
7749 * TabPage.cs: Set base.Text instead of Text in the constructor so
7750 that UpdateOwner does not get called. Use the new Redraw method of
7751 TabControl instead of Refresh so the sizing is recalculated.
7752 * ThemeWin32Classic.cs: Draw the text for button tabs.
7754 2005-05-19 Jackson Harper <jackson@ximian.com>
7756 * Control.cs: Paint control background images. Fix typo where
7757 PaintControlBackground was not getting called correctly.
7759 2005-05-19 Peter Bartok <pbartok@novell.com>
7761 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7762 I can investigate, apparently I broke FileDialog
7764 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7766 * AxHost.cs: Some simple properties.
7767 * Control.cs: window must be accessible after ctor.
7768 * Form.cs: Added TransparencyKey property.
7769 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7770 * XplatUIWin32.cs: SetBorderStyle implemented.
7772 2005-05-18 Peter Bartok <pbartok@novell.com>
7774 * DataObject.cs: Entries are not global but particular to the
7775 DataObject, now it behaves that way
7776 * XplatUIWin32.cs: Implemented Clipboard methods
7777 * Clipboard.cs: Implemented
7778 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7779 * XplatUIOSX.cs: Updated to final clipboard prototypes
7780 * XplatUIX11.cs: Implemented Clipboard methods
7781 * XplatUIDriver.cs: Updated to final clipboard prototypes
7782 * XplatUIStructs.cs:
7783 - Added BITMAPINFOHEADER struct
7784 - Added ClipboardFormats enum
7786 - Added ClipboardStruct
7787 - Added Atom enum items for clipboard types
7788 - Fixed atom types for Selection event structures
7790 - Added internal properties and methods for drivers to enumerate
7792 - Switched initialization method to allow drivers to assign their
7793 own IDs even for the MS predefined clipboard IDs
7794 * XplatUI.cs: Updated to final clipboard interface
7796 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7797 * PropertyGridView.cs: Fixed compiler warnings.
7799 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7800 * PropertyGrid.cs: Added some event calls
7801 * PropertyGridView.cs: Change drawing code to use double buffering
7802 * PropertyGridTextBox.cs: Changed Text property name
7803 * GridItem.cs: Added Bounds property.
7804 * GridEntry.cs: Added Bounds property.
7806 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7808 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7809 since GetType() may not return the correct type if the object is
7812 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7814 * TreeNodeCollection.cs: fixes get/set item ranges
7816 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7818 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7820 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7822 * ComboBox.cs: Fix item range comparation
7823 * ListView.cs: Fix item range comparation
7825 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7828 - Clear example panel when OnPaint is called
7829 - Better solution for displaying the example panel text
7830 - Select default indexes in the ListBoxes
7832 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7834 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7836 2005-05-11 Peter Bartok <pbartok@novell.com>
7838 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7839 * SelectionRangeConverter.cs: Implemented
7840 * PropertyGrid.cs: Fixed attribute value
7842 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7843 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7844 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7845 that's common to all drivers. First methods to go there are
7846 Sebastien Pouliot's CAS Stack Propagation helper methods
7847 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7848 Sebastien Pouliot for CAS Stack Propagation
7850 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7853 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7855 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7857 * DataGridTextBoxColumn.cs: fixed some members
7858 * GridColumnStylesCollection.cs: indexed column is case insensitive
7859 * DataGridTableStyle.cs: fixes
7860 * ThemeWin32Classic.cs: add new theme parameter
7861 * Theme.cs: add new theme parameter
7862 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7863 * DataGrid.cs: fixes, new internal properties, etc.
7864 * DataGridColumnStyle.cs: allows to set grid value
7867 2005-05-10 Peter Bartok <pbartok@novell.com>
7869 * AccessibleObject.cs:
7870 - Removed MonoTODO attribute on help, method is correct
7871 - Fixed Bounds property
7872 * AxHost.cs: Moved MonoTODO
7873 * ButtonBase.cs: Now setting AccessibleObject properties
7874 * RadioButton.cs: Setting proper AccessibleObject role
7875 * CheckBox.cs: Setting proper AccessibleObject role
7876 * ControlBindingsCollection.cs: Added properties, methods and attributes
7877 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7878 userdefined DataFormats.Format items as well
7879 * ListControl.cs: Removed data_member from the public eye
7880 * OpenFileDialog.cs:
7882 - Added missing attributes
7883 * SaveFileDialog.cs: Added missing attributes
7884 * ImageListStreamer.cs: Fixed code that caused warnings
7885 * LinkLabel.cs: Removed unreachable code
7886 * TreeView.cs: Fixed code that caused warnings
7887 * PropertyGridView.cs: Fixed code that caused warnings
7888 * GridColumnStylesCollection.cs: Added missing attributes
7889 * GridTableStylesCollection: Added missing attribute
7890 * PropertyManager: Added .ctor
7891 * SecurityIDType: Added
7892 * DataObject.cs: Implemented class
7893 * LinkArea.cs: Added missing attribute
7895 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7897 * RadioButton.cs: call base method to allow to fire OnClick event
7898 * UpDownBase.cs: OnMouseUp call base method
7899 * CheckedListBox.cs: call base method before returning
7900 * TrackBar.cs: call base method before returning
7903 2005-05-10 Peter Bartok <pbartok@novell.com>
7905 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7908 2005-05-10 Peter Bartok <pbartok@novell.com>
7910 * DataFormats.cs: Implemented
7911 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7912 XplatUIX11.cs: Added Clipboard APIs
7913 * XplatUIWin32.cs: Implemented Clipboard APIs
7914 * FolderBrowserDialog.cs: Added missing event, attributes
7916 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7918 * CheckBox.cs: call base method to allow to fire OnClick event
7920 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7922 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7924 2005-05-06 Peter Bartok <pbartok@novell.com>
7926 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7927 * Screen.cs: Implemented
7928 * HelpNavigator.cs: Added
7929 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7931 * HelpProvider.cs: Implemented all we can do until we have a CHM
7932 help library (which means that "What's This" does work now)
7934 2005-05-06 Jackson Harper <jackson@ximian.com>
7936 * XplatUIX11.cs: Fix waking up the main loop.
7938 2005-05-05 Peter Bartok <pbartok@novell.com>
7940 * XplatUI.cs: Updated revision
7941 * Form.cs: Removed enless loop
7942 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7943 * Label.cs (OnPaint): Added call to base.OnPaint()
7944 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7945 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7946 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7948 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7949 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7950 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7951 reuse of ToolTipWindow by other controls
7952 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7953 * XplatUIX11.cs: Now clipping drawing area (experimental)
7954 * PictureBox.cs: Moved base.OnPaint() call to end of method
7955 * Theme.cs: Fixed ToolTip abstracts to match new format
7956 * ErrorProvider.cs: Implemented
7958 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7960 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7964 - Implements LinkBehavior
7967 2005-05-03 Jackson Harper <jackson@ximian.com>
7969 * ListView.cs: Calculate the scrollbar positioning on resize and
7970 paint, so they get put in the correct place.
7972 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7974 * ColorDialogs.cs: The small color panels are now handled by
7975 SmallColorControl. This fixes drawing of the focus rectangle
7976 and adds a 3D border.
7978 2005-05-03 Peter Bartok <pbartok@novell.com>
7980 * Control.cs: Modified version of Jonathan Chamber's fix for
7983 2005-05-03 Jackson Harper <jackson@ximian.com>
7985 * ListView.cs: Remove redraw variable. Control now handles whether
7986 or not a redraw needs to be done, and will only raise the paint
7987 event if redrawing is needed.
7989 2005-05-03 Jackson Harper <jackson@ximian.com>
7991 * Splitter.cs: No decorations for the splitter form. Cache the
7994 2005-05-03 Jackson Harper <jackson@ximian.com>
7996 * TreeView.cs: Use dashed lines to connect nodes. Use the
7997 ControlPaint method for drawing the focus rect instead of doing
8000 2005-05-02 Peter Bartok <pbartok@novell.com>
8002 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
8004 2005-04-29 Jackson Harper <jackson@ximian.com>
8006 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
8007 entire image buffer. Just clear the clipping rectangle.
8009 2005-04-29 Jackson Harper <jackson@ximian.com>
8011 * ThemeWin32Classic.cs: Don't draw list view items that are
8012 outside the clipping rectangle.
8014 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
8016 * ListBox.cs: added horizontal item scroll
8018 2005-04-29 Jackson Harper <jackson@ximian.com>
8020 * ThemeWin32Classic.cs: Remove some old debug code that was
8021 causing flicker with the new double buffering code.
8023 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
8025 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
8026 behave like combobox and comboboxlist (still not sure if this is
8029 2005-04-28 Jackson Harper <jackson@ximian.com>
8031 * ThemeWin32Classic.cs: Don't fill the middle of progress
8032 bars. This fills areas outside of the clip bounds that don't need
8035 2005-04-28 Jackson Harper <jackson@ximian.com>
8037 * Control.cs: Don't expose functionality to touch the image buffers.
8039 * ListView.cs: We do not need to (and no longer can) manipulate
8040 the image buffers directly. All of this is handled by Control.
8042 2005-04-28 Peter Bartok <pbartok@novell.com>
8044 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8045 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8046 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8048 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8051 - Adjust control's height for non-simple comboboxes (bug fix)
8053 * MenuAPI.cs: remove unused var
8054 * ScrollBar.cs: remove unsed var
8056 * ListBox.cs: unselect items when clearing
8058 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8060 * ListControl.cs: honors OnPositionChanged and default Selected Item
8061 * ListBox.cs: unselect items when clearing
8063 2005-04-27 Jackson Harper <jackson@ximian.com>
8065 * X11Keyboard.cs: Initialize a default keyboard and give a warning
8066 if a "correct" keyboard is not found. This will make us not crash,
8067 but might give some users bad keyboard layouts...seems to be the
8068 same thing rewind does.
8070 2005-04-27 Jackson Harper <jackson@ximian.com>
8072 * BindingManagerBase.cs: Attach the current/position changed
8073 handlers to their respective events.
8075 2005-04-27 Jackson Harper <jackson@ximian.com>
8077 * Control.cs: Make sure that the first WM_PAINT does a full draw,
8079 * ThemeWin32Classic.cs: Don't fill the background for picture
8080 boxes. This could overright user drawing.
8081 * ComboBox.cs: Just fill the clipping rect not the entire client
8082 rect when drawing the background. This prevents pieces of the
8083 image buffer from getting overwritten and is theoretically faster.
8085 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
8087 * ComboBox.cs: Databinding support fixes, fire missing events
8088 * ListControl.cs: implement missing methods and properties, fixes
8089 * ThemeWin32Classic.cs: Databiding support on Drawing
8090 * CheckedListBox.cs: Databinding support fixes, fire missing events
8091 * ListBox.cs: Databinding support fixes, fire missing events
8093 2005-04-25 Peter Bartok <pbartok@novell.com>
8095 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8097 2005-04-25 Jackson Harper <jackson@ximian.com>
8099 * TreeView.cs: Use the horizontal scrollbars height not width when
8100 determining how much of the client area is available.
8102 2005-04-25 Jackson Harper <jackson@ximian.com>
8104 * Control.cs: Double buffering is handled differently now. As per
8105 the spec, the extra buffer is created in the WM_PAINT message and
8106 passed down to the control's drawing code.
8114 * PropertyGridView.cs:
8126 * DateTimePicker.cs:
8128 * TreeView.cs: Update to new double buffering system.
8129 * MonthCalendar.cs: Uncomment block, as Capture is now
8130 working. Update to new double buffering
8131 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8132 * PaintEventArgs.cs: New internal method allows us to set the
8133 graphics object. This is used for double buffering.
8134 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8135 rectangle. The internal paint_area var has been removed from
8136 StatusBar. The clipping rect should be used instead.
8137 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8138 * TabPage.cs: The RefreshTabs method was removed, so just call the
8139 tab controls Refresh method now.
8140 * TabControl.cs: Update to new double buffering. Make sure the
8141 handle is created before sizing the tab pages, otherwise we will
8142 get stuck in a loop.
8144 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8146 * LinkLabel.cs: Fix typo, bug #74719; patch
8147 from Borja Sanchez Zamorano
8149 2005-04-22 Jackson Harper <jackson@ximian.com>
8151 * TreeNode.cs: Implement Handle stuff.
8152 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8154 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8156 * DataGridTextBoxColumn.cs: call base constructors, fixes
8157 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8158 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8159 * DataGridTableStyle.cs: implements create default column styles
8160 * DataGridBoolColumn.cs: which types can handle
8161 * DataGrid.cs: missing methods, fixes, new functionality
8162 * DataGridColumnStyle.cs: fixes
8164 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8165 * FolderBrowserDialog.cs:
8166 - Use a thread to fill the TreeView
8167 - Adjusted some sizes
8169 2005-04-19 Peter Bartok <pbartok@novell.com>
8171 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8172 property. Fixes #74360.
8174 2005-04-19 Jackson Harper <jackson@ximian.com>
8176 * XEventQueue.cs: Lock when getting the lockqueue size.
8177 * PictureBox.cs: Call base OnPaint
8179 2005-04-19 Peter Bartok <pbartok@novell.com>
8181 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8182 messages were no longer being processed (this broke BeginInvoke)
8185 2005-04-18 Jackson Harper <jackson@ximian.com>
8187 * TreeView.cs: buglet that caused node images to get drawn
8188 regardless of whether or not they were in the clipping rectangle.
8190 2005-04-18 Jackson Harper <jackson@ximian.com>
8192 * CurrencyManager.cs: There are four rules for GetItemProperties:
8193 - If the type is an array use the element type of the array
8194 - If the type is a typed list, use the type
8195 - If the list contains an Item property that is not an object, use
8197 - use the first element of the list if there are any elements in
8200 2005-04-17 Jackson Harper <jackson@ximian.oom>
8202 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8203 click. This handles offsets for scrolling properly and reduces
8204 memory. Also fixed GetNode to not offset now that TopNode works
8206 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8208 2005-04-17 Jackson Harper <jackson@ximian.com>
8210 * CursorConverter.cs: Initial implementation.
8212 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8214 * ListControl.cs: work towards complex data binding support on ListControl
8215 * CurrencyManager.cs: work towards complex data binding support on ListControl
8216 * ListBox.cs: work towards complex data binding support on ListControl
8219 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8221 * GridTableStylesCollection.cs: fixes name and constructor
8222 * DataGridTableStyle.cs: fixes
8223 * DataGridBoolColumn.cs: fixes names and constructors
8224 * DataGrid.cs: define methods and properties. Some init implementations
8225 * DataGridCell.cs: define methods and properties. Some init implementations
8226 * GridTablesFactory.cs: Define methods and properties
8228 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8230 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8231 graphics port changes. We still want the coordinates in global screen
8234 2005-04-14 Jackson Harper <jackson@ximian.com>
8236 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8237 check plus minus or checkbox clicks unless those features are enabled.
8239 2005-04-14 Jackson Harper <jackson@ximian.com>
8241 * TreeView.cs: Add methods for setting the top and bottom visible
8242 nodes. TreeNode::EnsureVisible uses these methods.
8243 * TreeNode.cs: Implement EnsureVisible
8245 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8247 * Form.cs: Pospone menu assignation if the window has not been created yet
8248 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8251 2005-04-12 Jackson Harper <jackson@ximian.com>
8253 * TreeView.cs: Set the TopNode properly when scrolling
8254 occurs. This has the added benifit of reducing the amount of
8255 walking that needs to be done when drawing. Also removed an old
8257 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8259 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8261 * Timer.cs: fixes interval setting when the timer is already enabled
8263 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8265 * FolderBrowserDialog.cs: First approach
8267 2005-04-09 Peter Bartok <pbartok@novell.com>
8269 * FolderBrowserDialog: Added
8271 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8273 * LinkLabel.cs: move drawing code into the theme
8274 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8275 * Theme.cs: define DrawLinkLabel method
8277 2005-04-05 Jackson Harper <jackson@ximian.com>
8279 * BindingContext.cs: Use weak references so these bad actors don't
8280 stay alive longer then they need to.
8282 2005-04-05 Jackson Harper <jackson@ximian.com>
8284 * ListControl.cs: Basic implementation of complex databinding.
8286 * ListBox.cs: Add calls to ListControl databinding methods.
8288 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8291 - Don't change PopupButtonState to Normal when the
8292 PopupButton gets pressed several times.
8293 - Renamed ButtonPanel to PopupButtonPanel
8295 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8297 * ColorDialog.cs: Use cached objects instead of creating them
8298 * LinkLabel.cs: Use cached objects instead of creating them
8299 * Splitter.cs: Use cached objects instead of creating them
8300 * FontDialog.cs: Use cached objects instead of creating them
8301 * PropertyGridView.cs: Use cached objects instead of creating them
8302 * MessageBox.cs: Use cached objects instead of creating them
8303 * FileDialog.cs: Use cached objects instead of creating them
8304 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8305 * TreeView.cs: Use cached objects instead of creating them
8307 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8309 * Control.cs: use Equals to compare the font since no == op
8310 * ScrollBar.cs: use Equals to compare the font since no == op
8312 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8314 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8316 2005-04-01 Jackson Harper <jackson@ximian.com>
8318 * Binding.cs: Implement IsBinding.
8319 * BindingManagerBase.cs:
8320 * PropertyManager.cs:
8321 * CurrencyManager.cs: Add IsSuspended property.
8323 2005-04-01 Jackson Harper <jackson@ximian.com>
8325 * Binding.cs: Had some IsAssignableFrom calls backwards.
8327 2005-04-01 Jackson Harper <jackson@ximian.com>
8329 * Binding.cs: Handle null data members when pulling data.
8330 * PropertyManager.cs: Handle the data member being a property that
8333 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8335 * DataGridTextBoxColumn.cs: fixes signature
8336 * DataGrid.cs: calls right constructor
8338 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8340 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8341 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8342 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8343 * DataGridTableStyle.cs: implements DataGridTableStyle
8344 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8345 * DataGridTextBox.cs: implements DataGridTextBox
8346 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8348 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8350 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8352 2005-03-29 Peter Bartok <pbartok@novell.com>
8355 - Properly implemented CompanyName property
8356 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8357 returns a path that includes CompanyName, ProductName and
8358 Version (fixes bug #70330)
8360 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8362 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8365 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8367 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8369 - Added ReadOnly CheckBox
8370 - Further refactoring: moved some code from Open-/SaveFileDialog
8373 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8375 * OpenFileDialog.cs: Fixed CheckFileExists
8377 Moved FileView and DirComboBox outside FileDialog class.
8378 They can now be used outside FileDialog
8380 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8382 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8383 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8385 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8387 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8388 - Added missing CreatePrompt property in SaveDialog
8389 - Overall SaveDialog handling should be better now
8390 - Added non standard ShowHiddenFiles property
8391 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8392 - Added InitialDirectory and RestoreDirectory support
8394 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8396 * FileDialog.cs: Made dirComboBox usable
8398 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8400 * FileDialog.cs: Added Filter support (case sensitiv)
8402 2005-03-24 Jackson Harper <jackson@ximian.com>
8404 * TabControl.cs: Need a couple more pixels for the lines.
8406 2005-03-23 Jackson Harper <jackson@ximian.com>
8408 * TabControl.cs: Give the tab page focus when it is selected.
8410 2005-03-23 Jackson Harper <jackson@ximian.com>
8412 * TabControl.cs: Account for the drawing of tabs borders when
8413 invalidating. If the slider was clicked dont do click detection on
8416 2005-03-23 Jackson Harper <jackson@ximian.com>
8418 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8420 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8422 * CategoryGridEntry.cs: Added
8423 * GridItem.cs: Added helper properties
8424 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8425 * GridEntry.cs: Updated code for collection
8426 * PropertyGrid.cs: Cleaned up some formatting
8427 * PropertyGridView.cs: Added drop down functionality for enums.
8428 * GridItemCollection.cs: Added enumerator logic
8429 * PropertyGridEntry.cs: Added
8431 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8434 - Removed unnecessary commented code
8435 - Fixed handling for entering the filename manually in the combobox
8437 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8439 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8441 2005-03-18 Peter Bartok <pbartok@novell.com>
8443 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8444 them being touching the border
8446 2005-03-18 Peter Bartok <pbartok@novell.com>
8448 * TextControl.cs: Quick hack to center text better
8450 2005-03-18 Peter Bartok <pbartok@novell.com>
8453 - Don't throw NotImplemented exceptions, just print a notice once
8454 instead (requested by Miguel). This makes running existing SWF
8457 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8458 - Added context menu trigger on right click
8459 * Panel.cs: Trigger invalidate on resize
8461 - Removed old double-buffer drawing
8462 - Added ResizeRedraw style to force proper update of statusbar
8464 - Removed debug output
8465 * ThemeWin32Classic.cs:
8466 - Fixed drawing of status bar, now draws Text property if there
8467 are no defined panels
8469 2005-03-18 Jackson Harper <jackson@ximian.com>
8471 * ImageList.cs: When the image stream is set pull all the images
8473 * ImageListStreamer.cs: Implement reading image list streams.
8475 2005-03-18 Peter Bartok <pbartok@novell.com>
8477 * ThemeWin32Classic.cs (DrawPictureBox):
8478 - Fixed calculations for centered drawing
8479 - Fixed drawing for normal mode, not scaling the image on normal
8481 2005-03-18 Peter Bartok <pbartok@novell.com>
8483 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8486 - Made Open/Save button the accept button for FileDialog
8487 - Tied the cancel button to the IButtonControl cancel button
8488 - Save/Open now properly builds the pathname
8489 - Now handles user-entered text
8490 - Preventing crash on right-click if no item is selected
8491 - Fixed Text property, now uses contents of textbox
8492 - Fixed SelectedText property, now just returns the text part that
8493 is selected in the text box
8495 2005-03-18 Jackson Harper <jackson@ximian.com>
8497 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8498 rect, make sure to de-adjust the interior rect after drawing the
8501 2005-03-18 Peter Bartok <pbartok@novell.com>
8503 * MenuAPI.cs: Remove menu *before* executing selected action to
8504 prevent the menu from 'hanging around'
8506 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8508 * XplatUIOSX.cs: Implemented WorkingArea property
8510 2005-03-17 Peter Bartok <pbartok@novell.com>
8512 * XplatUIX11.cs: Fixed menu coord calculations
8513 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8514 for calculating offsets
8516 2005-03-17 Peter Bartok <pbartok@novell.com>
8518 * Hwnd.cs: Do not consider menu presence for default client
8519 rectangle location/size
8520 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8521 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8522 translation functions
8523 * FileDialog.cs: Fixed (what I presume is a) typo
8525 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8527 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8528 X access (avoids X-Async errors)
8530 2005-03-16 Jackson Harper <jackson@ximian.com>
8532 * TabControl.cs: Raise the SelectedIndexChanged event.
8534 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8536 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8537 - Removed vertical ToolBar and replaced it with a custom panel
8538 (desktop and home button already work)
8539 - Added Help button (some controls get resized or relocated then)
8540 - Draw correct text depending on Open or Save.
8541 - Fixed some typos...
8543 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8546 - Only change Maximum and Minimum when need it (bug fix)
8548 2005-03-15 Peter Bartok <pbartok@novell.com>
8550 * Form.cs: Use Handle for icon, to trigger creation if
8551 the window does not yet exist
8553 - CanSelect: Slight performance improvement
8554 - Focus(): Preventing possible recursion
8555 - Invalidate(): Removed ControlStyle based clear flag setting
8556 - WM_PAINT: fixed logic for calling OnPaintBackground
8557 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8558 EraseWindowBackground if the control doesn't paint background
8560 - Moved EraseWindowBackground() method to internal methods
8561 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8562 is sent via SendMessage on BeginPaint call on Win32
8564 - Added EraseWindowBackground() method
8565 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8566 PaintEventStart, which more closely matches Win32 behaviour
8567 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8568 - Fixed SetFocus() to properly deal with client and whole windows
8569 * Hwnd.cs: Added ErasePending property
8570 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8571 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8573 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8576 - Fix hard loop when timers exist.
8577 - Fix bugs with middle and right click for 3 button mice.
8579 2005-03-11 Peter Bartok <pbartok@novell.com>
8582 - get_WorkingArea: Need to call X directly, GetWindowPos only
8583 returns cached data now
8584 - Added sanity check to GetWindowPos hwnd usage
8586 2005-03-11 Jackson Harper <jackson@ximian.com>
8588 * BindingManagerBase.cs: This method isn't used anymore as
8589 PullData now updates the data in the control.
8591 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8593 * Form.cs: fixes menu drawing on X11
8594 * MenuAPI.cs: fixes menu drawing on X11
8596 2005-03-11 Peter Bartok <pbartok@novell.com>
8598 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8599 from Jonathan Gilbert; should fix bug #73606
8600 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8601 in Screen coordinates. Thanks, Jordi.
8602 * Form.cs: Added missing attribute
8604 2005-03-11 Peter Bartok <pbartok@novell.com>
8607 - Rudimentary Mdi support
8608 - Removed outdated FormParent code
8609 - Implemented lots of missing properties and methods, still missing
8610 transparency support
8611 - Added missing attributes
8612 - Implemented support for MaximumBounds
8613 - Added firing of various events
8614 * XplatUI.cs: Added SetIcon() method
8615 * XplatUIDriver.cs: Added SetIcon() abstract
8616 * XplatUIOSX.cs: Stubbed out SetIcon() method
8618 - Implemented SetIcon() support
8619 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8620 - Switched to unix line endings
8622 - Made POINT internal so for can access it as part of MINMAX
8623 - Implemented SetIcon() support
8624 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8625 native Mdi support again, might have to go managed)
8626 * Control.cs: Now fires the StyleChanged event
8627 * MdiClient.cs: Added; still mostly empty
8629 2005-03-10 Peter Bartok <pbartok@novell.com>
8631 * SaveFileDialog.cs: Added emtpy file
8633 2005-03-08 Peter Bartok <pbartok@novell.com>
8635 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8636 in turn triggers OnCreateContro) when creating a handle for the
8638 * TextControl.cs: Fixed endless loop in certain cases when
8639 replacing the current selection
8641 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8644 - Honors NewValue changes in Scroll events allowing apps to change it
8645 - Adds First and Last Scroll events
8646 - Fixes Thumb events
8648 2005-03-07 Peter Bartok <pbartok@novell.com>
8650 * Hwnd.cs: Added DefaultClientRectangle property
8651 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8652 more detailed debug information
8654 - Fixed size-change feedback loop, where we would pull an old size
8655 off the queue and mistakenly change our window's size to an
8657 - Now compressing ConfigureNotify events, to reduce looping and
8659 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8662 2005-03-07 Jackson Harper <jackson@ximian.com>
8664 * Binding.cs: Push data pushes from data -> property. Check if the
8665 property is readonly when attempting to set it.
8667 2005-03-07 Jackson Harper <jackson@ximian.com>
8669 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8670 instead of IsSubclassOf. Pulling data now sets the value on the
8672 * PropertyManager.cs:
8673 * CurrencyManager.cs: Just need to pull data when updating now,
8674 because PullData will set the value on the control.
8676 2005-03-04 Jackson Harper <jackson@ximian.com>
8678 * Binding.cs: Implement data type parsing and converting on pulled
8679 data. TODO: Are there more ways the data can be converted?
8681 2005-03-04 Jackson Harper <jackson@ximian.com>
8683 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8684 controls Validating method so we can repull the data when the
8685 control loses focus.
8687 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8690 - Fixes null string format
8693 - Adds enum type checks
8694 - Fixes redrawing and recalc need after changing some properties
8695 - Fixes on focus_item set after the event
8696 - Fixes adding columns after the control has been created
8698 * ThemeWin32Classic.cs:
8699 - Fixes CheckBox focus rectangle
8700 - Fixes ColumnHeader drawing
8703 2005-03-03 Jackson Harper <jackson@ximian.com>
8705 * Binding.cs: Bind to <Property>Changed events so we can detect
8706 when properties are changed and update the data.
8708 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8711 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8712 - Fixes ImageList constructor with ImageList container
8713 - Fixes image scaling (wrong parameters at DrawImage)
8715 2005-02-02 Jackson Harper <jackson@ximian.com>
8717 * Binding.cs: Make property searches case-insensitive. Eliminate
8718 some duplicated code.
8720 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8723 - Handle focus event
8724 - Fix scrollbar events
8725 - Discard highlighted item if remove it
8726 - Fixes SelectedItem with strings
8728 2005-03-01 Peter Bartok <pbartok@novell.com>
8731 - Fixed Visible property, now follows (once again) parent chain
8732 to return false if any control in the chain is visible=false
8733 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8734 - Fixed several places where is_visible instead of Visible was used
8735 - Implemented FIXME related to focus selection when setting focused
8736 control to be invisible
8738 * XplatUIWin32.cs: Now using proper method to find out if window is
8739 visible. Thanks to Jordi for pointing it out
8741 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8743 * ComboBox.cs: show/hide scrollbar instead of creating it
8745 2005-02-27 Jackson Harper <jackson@ximian.com>
8747 * CurrencyManager.cs: Add PositionChanged stuff.
8749 2005-02-27 Peter Bartok <pbartok@novell.com>
8751 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8752 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8753 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8755 - Implemented GetMenuDC()
8756 - Implemented GetMenuOrigin()
8757 - Implemented ReleaseMenuDC()
8758 - Implemented generation of WM_NCPAINT message
8759 - Implemented generation and handling of WM_NCCALCSIZE message
8760 * Form.cs: Added debug helper message for Jordi's menu work
8762 - Modified ClientRect property; added setter, fixed getter to handle
8763 setting of ClientRect
8764 - Added MenuOrigin property
8766 2005-02-26 Peter Bartok <pbartok@novell.com>
8769 - Destroys the caret if a window that's being destroyed contains it
8770 - Ignores expose events coming from the X11 queue for windows that
8771 already are destroyed
8772 - Now uses the proper variable for handling DestroyNotify, before we
8773 marked the wrong window as destroyed
8774 - Improved/added some debug output
8776 2005-02-26 Peter Bartok <pbartok@novell.com>
8778 * X11Keyboard.cs: Fixes to work on 64bit systems
8780 2005-02-26 Peter Bartok <pbartok@novell.com>
8783 - Now calling OnHandleDestroyed from DestroyHandle()
8784 instead of Dispose()
8785 - Removed bogus call to controls.Remove() from DestroyHandle()
8787 2005-02-26 Peter Bartok <pbartok@novell.com>
8789 * Control.cs: Properly destroy child windows when our handle is
8792 2005-02-25 Peter Bartok <pbartok@novell.com>
8795 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8796 - Alphabetized Static Methods and Subclasses
8799 - Added XException class to allow custom handling of X11 exceptions
8800 - Created custom X11 error handler, tied into XException class
8801 - Added support for MONO_XEXCEPTIONS env var to allow the user
8802 to either throw an exception on X errors or continue running
8803 after displaying the error
8804 - Added handling of DestroyNotify message
8805 - Added handler for CreateNotify message (still disabled)
8806 - Improved (tried to at least) Where method to provide file and lineno
8808 - Added XErrorHandler delegate
8809 - Added XRequest enumeration (to suppor translation of errors)
8811 2005-02-25 Jackson Harper <jackson@ximian.com>
8813 * PropertyManager.cs: Implement editing features
8814 * CurrencyManager.cs:
8815 * Binding.cs: First attempt at UpdateIsBinding
8816 * BindingManagerBase.cs: Call UpdateIsBinding before
8817 pushing/pulling data.
8819 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8821 * MenuAPI.cs: Respect disabled items
8822 * ThemeWin32Classic.cs
8823 - Caches ImageAttributes creation for DrawImageDisabled
8824 - Fixes vertical menu line drawing
8825 - Draws disabled arrows in disable menu items
8827 2005-02-24 Peter Bartok <pbartok@novell.com>
8830 - Added UserData property to allow associating arbitrary objects
8832 - Fixed leak; now removing Hwnd references from static windows array
8834 - Fixed Graphics leak in PaintEventEnd
8835 - Removed usage of HandleData, switched over to Hwnd class
8836 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8838 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8840 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8841 * ScrollBar.cs: Fixes bug
8842 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8843 keyboard navigation enhancements
8845 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8847 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8848 * GroupBox.cs: Add control styles
8849 * Label.cs: Add control styles
8850 * UpDownBase.cs: Add control styles
8851 * ListBox.cs: Add control styles
8852 * XplatUIWin32.cs: Fixes wrong parameter order
8855 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8857 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8859 2005-02-23 Jackson Harper <jackson@ximian.com>
8861 * PropertyManager.cs: Implement property binding. This doesn't
8862 seem to work yet though as (I think) there are some bugs in
8863 System.ComponentModel.PropertyDescriptor.
8864 * BindingContext.cs: Use new PropertyManager constructor.
8866 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8868 * ProgressBar.cs: use clip region in ProgressBar
8869 * ThemeWin32Classic.cs: use clip region in ProgressBar
8871 2004-02-22 Jackson Harper <jackson@ximian.com>
8873 * BindingsCollection.cs: Remove some debug code.
8875 2005-02-22 Jackson Harper <jackson@ximian.com>
8877 * BindingContext.cs:
8878 * ControlBindingsCollection.cs:
8879 * CurrencyManager.cs:
8881 * BindingManagerBase.cs: Initial implementation
8882 * BindingsCollection.cs: Add an internal contains method that the
8883 BindingManagerBase uses to ensure bindings aren't added twice to
8885 * PropertyManager.cs: Stubbed out.
8887 * ContainerControl.cs: Hook up databinding
8889 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8892 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8893 Fixed Invalidate/Update chain.
8894 Fixed tons of other minor bugs (this is almost a complete rewrite).
8896 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8898 * ComboBox.cs: do subcontrol creation when the control is created
8900 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8902 * Label.cs: fixes image drawing (image and imagelist)
8903 * ThemeWin32Classic.cs: cache brushes
8905 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8907 * Form.cs: Move menu drawing code to Theme class
8908 * ComboBox.cs: Move ComboBox drawing code to Theme class
8909 * MenuItem.cs: Move menu drawing code to Theme class
8910 * MenuAPI.cs: Move menu drawing code to Theme class
8911 * ThemeWin32Classic.cs: New methods
8912 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8913 * ListBox.cs: Move Listbox drawing code to Theme class
8914 * Theme.cs: New methods
8916 2005-02-20 Peter Bartok <pbartok@novell.com>
8919 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8920 only process mnemonics on those)
8921 - Fixed event sequence for key handling; first calling
8922 ProcessKeyEventArgs now
8924 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8925 for processing non-character keys
8926 - Fixed WM_CHAR to generate proper event sequence before processing
8927 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8930 2005-02-19 Peter Bartok <pbartok@novell.com>
8932 * UserControl.cs: Added TextChanged event; added attributes
8933 * SizeGrip.cs: Implemented resizing and optional display of grip
8934 * Form.cs: Fixed attribute
8935 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8936 Changed meaning of ScrollWindow bool argument; instead of the
8937 clear attribute (which will be true usually anyway), it gives the
8938 option of moving child controls as well.
8940 - Changed to match new ScrollWindow argument
8941 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8942 now handles the implicit parent window a WM puts around us
8943 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8945 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8946 * TreeView.cs: Adjusted to new ScrollWindow arguments
8948 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8950 * Form.cs: Menu integration with non-client area
8951 * MenuItem.cs: Menu integration with non-client area
8952 * MenuAPI.cs: Menu integration with non-client area
8954 2005-02-18 Peter Bartok <pbartok@novell.com>
8956 * MethodInvoker.cs: Added
8957 * MdiLayout.cs: Added
8958 * SendKeys.cs: Started implementation
8959 * ErrorIconAlignment.cs: Added
8961 2005-02-18 Peter Bartok <pbartok@novell.com>
8963 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8964 * Form.cs: Added handling for Menu-related Non-client messages
8966 2005-02-17 Peter Bartok <pbartok@novell.com>
8968 * UpDownBase.cs: Fixed typo, compilation errors
8969 * DomainUpDown.cs: Fixed attribute value
8971 2005-02-16 Miguel de Icaza <miguel@novell.com>
8973 * UpDownBase.cs: Attach entry events.
8975 Add ForeColor property, Focused, InterceptArrowKeys (interception
8978 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8981 - Redraw non client are on Setmenu
8982 - Calc proper menu starting point
8984 2005-02-17 Peter Bartok <pbartok@novell.com>
8986 * Application.cs: Fixed message_filter check
8988 2005-02-17 Peter Bartok <pbartok@novell.com>
8990 * Application.cs: Now calls registered message filters
8991 * DockStyle.cs: Fixed attribute
8992 * Form.cs: Fixed attribute
8993 * Menu.cs: Fixed attribute
8994 * ToolTip.cs: Fixed attribute
8995 * TreeNode.cs: Added missing attributes and arranged in regions
8996 * PropertyGrid.cs: Fixed signatures
8997 * TreeNodeCollection.cs: Added attributes
8998 * Splitter.cs: Added missing attributes; arranged into regions
8999 * TabPage.cs: Added missing attributes; arranged into regions
9000 * TextBoxBase.cs: Added missing attributes
9001 * TextBox.cs: Added missing attributes
9002 * ArrangeDirection.cs: Added missing attributes
9003 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
9004 * ToolBarButton.cs: Fixed attributes
9005 * AnchorStyles.cs: Fixed attribute
9006 * TrackBar.cs: Fixed attributes
9007 * TabControl.cs: Added missing attributes and arranged into regions
9008 * ToolBar.cs: Fixed attribute
9009 * StatusBar.cs: Fixed signature, organized into regions and added
9011 * StatusBarPanel.cs: Fixed attributes
9012 * ContentsResizedEventArgs.cs: Implemented
9013 * ContentsResizedEventHandler.cs: Implemented
9014 * DateBoldEventArgs.cs: Implemented
9015 * DateBoldEventHandler.cs: Implemented
9016 * UpDownEventArgs.cs: Implemented
9017 * UpDownEventHandler.cs: Implemented
9019 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
9021 * Form.cs: first Menu NC refactoring
9022 * MenuAPI.cs: first Menu NC refactoring
9024 2005-02-16 Peter Bartok <pbartok@novell.com>
9026 * ImeMode.cs: Added missing attributes
9027 * Menu.cs: Fixed attribute
9028 * GroupBox.cs: Fixed attribute
9029 * Label.cs: Fixed attribute
9030 * ColorDialog.cs (RunDialog): Removed TODO attribute
9031 * ComboBox.cs: Fixed attributes
9032 * ListControl.cs: Added missing attributes
9033 * PropertyGrid.cs: Fixed attributes
9034 * Control.cs: Fixed attributes
9035 * ListViewItem.cs: Added TypeConverter attribute
9036 * NotifyIcon.cs: Fixed attributes
9037 * ListView.cs: Fixed attributes
9038 * ButtonBase.cs: Fixed attribute
9039 * ImageList.cs: Added missing attributes
9040 * ContainerControl.cs: Fixed signature
9041 * CheckedListBox.cs: Fixed attribute; added missing attributes
9042 * Panel.cs: Fixed attributes
9043 * PropertyTabChangedEventArgs.cs: Added missing attribute
9044 * PropertyValueChangedEventArgs.cs: Added missing attribute
9045 * Binding.cs: Fixed attribute
9046 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9047 * ListBox.cs: Fixed attribute; added missing attributes;
9048 * ScrollableControl.cs: Added missing attributes
9049 * PictureBox.cs: Added missing attributes; implemented missing property
9050 * DateTimePicker.cs: Added missing attributes
9051 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9052 * MonthCalendar.cs: Fixed attributes
9053 * StatusBarPanel.cs: Added missing attributes
9054 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9056 2005-02-16 Peter Bartok <pbartok@novell.com>
9058 * TextBoxBase.cs: The previous method to enforce height yet remember
9059 the requested high was less than ideal, this is an attempt to do
9061 * Control.cs: Added comment about possible problem
9062 * Copyright: Updated format
9063 * GridItemType.cs: Fixed swapped values
9065 2005-02-15 Jackson Harper <jackson@ximian.com>
9067 * BaseCollection.cs: Use property so we never access an
9068 uninitialized list. Also initialize the list in the property.
9070 2005-02-15 Peter Bartok <pbartok@novell.com>
9072 * GroupBox.cs (ProcessMnemonic): Implemented
9073 * Label.cs (ProcessMnemonic): Implemented
9074 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
9077 2005-02-15 Peter Bartok <pbartok@novell.com>
9079 * RadioButton.cs (ProcessMnemonic): Implemented
9080 * CheckBox.cs (ProcessMnemonic): Implemented
9082 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
9084 - Added internal method to allow calling ProcessMnemonic from other
9086 * ContainerControl.cs:
9087 - Started support for handling validation chain handling
9088 - Implemented ProcessMnemonic support
9089 - Added Select() call to Active, to make sure the active control
9091 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9093 * ThemeWin32Classic.cs:
9094 - DrawCheckBox(): Fixed stringformat to show hotkeys
9095 - DrawRadioButton(): Fixed stringformat to show hotkeys
9096 * CommonDialog.cs: Removed WndProc override, not needed
9098 2005-02-14 Peter Bartok <pbartok@novell.com>
9100 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9101 missed those in the rewrite
9103 2005-02-14 Miguel de Icaza <miguel@novell.com>
9105 * NumericUpDown.cs (Increment, ToString): Add.
9106 (DecimalPlaces): implement.
9110 * UpDownBase.cs: Add the designer attributes.
9112 2005-02-13 Peter Bartok <pbartok@novell.com>
9114 * Panel.cs: Removed border_style, now in Control
9115 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9116 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9118 2005-02-13 Peter Bartok <pbartok@novell.com>
9120 * MouseButtons.cs: Added missing attributes
9121 * XplatUIStructs.cs: Added enumeration for title styles
9122 * LeftRightAlignment.cs: Added missing attributes
9123 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9124 it compatible with Graphics.FromHwnd()
9125 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9126 * Keys.cs: Added missing attributes
9127 * SelectionRange.cs: Added missing attributes
9128 * SelectionRangeConverter.cs: Added
9130 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9131 ReleaseMenuDC methods
9132 - Renamed ReleaseWindow to UngrabWindow
9133 - Added proper startup notice to allow version identification
9135 - Added missing attributes
9136 - Removed FormParent concept
9137 * Label.cs: Removed border_style field, now in Control
9138 * RadioButton.cs: Now properly selects RadioButton when focus is
9140 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9142 - Added missing attributes
9143 - Added borderstyle handling
9144 - Removed FormParent concept support
9145 - Fixed calls to XplatUI to match changed APIs
9146 - Fixed bug that would case us to use disposed Graphics objects
9147 - Removed unneeded internal methods
9148 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9149 - SelectNextControl(): Fixed to properly check common parents
9150 * TextBoxBase.cs: Removed border_style field (now in Control)
9152 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9153 fixed calculations for form size
9154 - Added support for localized strings and icons
9155 - Improved form size calculations, added border
9156 * ListView.cs: Removed border_style field (now in Control)
9157 * X11Structs.cs: Moved several structs from X11 driver here
9158 * X11Keyboard.cs: Changed debug message
9159 * Application.cs: Removed FormParent concept support
9161 - Resetting end_modal flag
9162 - Removed FormParent concept support
9163 * NativeWindow.cs: Removed FormParent concept support
9164 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9165 Client area and Non-Client whole window to allow support for WM_NC
9167 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9168 prevent using it until it supports Hwnd as per Geoff Norton's request
9169 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9170 * PictureBox.cs: Removed border_style field, now in Control
9171 * XplatUIWin32.cs: Added new driver methods
9173 2005-02-12 Peter Bartok <pbartok@novell.com>
9175 * OpacityConverter.cs: Implemented
9176 * Hwnd.cs: Internal class to support drivers that need to emulate
9177 client area/non-client area window behaviour
9179 2005-02-11 Peter Bartok <pbartok@novell.com>
9181 * KeysConverter.cs: Implemented
9183 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9185 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9186 * LinkLabel: Added missing attributes
9187 * MainMenu.cs: fixes ToString
9188 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9189 * ListBox.cs: fixes event position
9190 * TrackBar.cs: adds missing attributes and events
9192 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9194 * MenuItem.cs: Use SystemInformation and bug fixes
9195 * MenuAPI.cs: Use SystemInformation and bug fixes
9197 2005-02-09 Jackson Harper <jackson@ximian.com>
9199 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9200 their keystate otherwise things like VK_MENU get stuck "on".
9202 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9204 * ListBox.cs: Fixes AddRange bug
9206 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9209 - Add missing attributes
9210 - Add missing method
9212 * CheckedListBox.cs: Added missing attributes
9213 - Add missing attributes
9214 - Remove extra method
9216 * ComboBox.cs: Added missing attributes
9217 * VScrollBar.cs: Added missing attributes
9218 * ScrollBar.cs: Added missing attributes
9219 * ListBox.cs: Fixes signature, add missing consts
9220 * LinkArea.cs: Added missing attributes
9223 2005-02-08 Peter Bartok <pbartok@novell.com>
9225 * Menu.cs: Added missing attributes
9226 * MainMenu.cs: Added missing attributes
9227 * GroupBox.cs: Added missing attributes
9228 * Label.cs: Added missing attributes
9229 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9231 - Added Instance and Options properties
9232 - Added missing attributes
9233 * Cursor.cs: Made Serializable
9234 * NotifyIcon: Added missing attributes
9235 * MenuItem.cs: Added missing attributes
9236 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9237 * Panel.cs: Added Missing attributes
9238 * MonthCalendar.cs: Fixed CreateParams
9240 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9244 - Fixes issues with links
9245 - Adds the class attributes
9247 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9250 - Fixes button when no items available in dropdown
9251 - Fixes repainting problems
9252 - Adds the class attributes
9254 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9256 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9257 the current theme. Cache these on startup.
9259 2005-02-07 Jackson Harper <jackson@ximian.com>
9261 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9262 the scrollbar buttons when they are depressed.
9264 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9266 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9267 Get the display size from the main displayid. We currently dont
9268 support multiple display configurations.
9270 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9272 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9274 2005-02-07 Miguel de Icaza <miguel@novell.com>
9276 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9278 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9280 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9282 2005-02-04 Jackson Harper <jackson@ximian.com>
9284 * ThemeWin32Classic.cs: Respect the clipping rect when
9285 drawing. Only fill the intersection of clips and rects so there
9286 isn't a lot of large fills.
9287 * ScrollBar.cs: Pass the correct clipping rect to the theme
9288 engine. Remove some debug code.
9290 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9292 * DateTimePicker.cs:
9293 - Fixed crash on DateTime.Parse, use Constructor instead
9295 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9299 - Owner draw support (MeasureItem and DrawItem)
9301 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9304 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9305 - Fixes MenuItems.Add range
9307 - MergeMenu and Clone and CloneMenu functions
9309 2005-02-03 Jackson Harper <jackson@ximian.com>
9311 * ScrollBar.cs: Make abstract
9312 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9315 2005-02-03 Jackson Harper <jackson@ximian.com>
9317 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9318 all the unneeded refreshes and uses invalidates with properly
9321 2005-02-03 Peter Bartok <pbartok@novell.com>
9323 * ComponentModel.cs: Added
9324 * IDataGridEditingService.cs: Added
9325 * Timer.cs: Added missing attributes
9326 * ToolTip.cs: Added missing attributes
9328 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9330 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9332 2005-02-03 Peter Bartok <pbartok@novell.com>
9334 * ListBox.cs: Added missing attributes
9336 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9339 - Fixes font height after font change
9340 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9342 2005-02-02 Peter Bartok <pbartok@novell.com>
9344 * HandleData.cs: Introduced static methods to allow class
9345 to be more self-contained and track it's own HandleData objects
9346 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9347 HandleData to use new static methods
9349 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9352 - Fixes default size and PreferredHeight
9354 - ObjectCollection.Insert implementation
9360 - ObjectCollection.Insert implementation
9361 - No selection after clean
9364 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9366 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9368 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9371 - Caches ItemHeight calculation for OwnerDrawVariable
9372 - Handles dropdown properly
9373 - Fixes several minor bugs
9375 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9378 - Fixes 71946 and 71950
9379 - Fixes changing Multicolumn on the fly
9380 - Fixes keyboard navigation on Multicolumn listboxes
9382 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9384 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9387 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9389 * XplatUIOSX.cs: Allow applications to actually exit.
9391 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9393 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9394 their parent at creation time rather than lazily later. Fixes a major
9395 regression we were experiencing.
9397 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9399 * ThemeWin32Classic.cs: more date time picker painting fixes
9400 * DateTimePicker.cs: more monthcalendar drop down fixes
9401 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9403 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9406 - When moving the thumb going outside the control should stop the moving
9407 - Adds the firing of missing events
9408 - Fixes no button show if Size is not specified
9409 - End / Home keys for keyboard navigation
9411 2005-01-30 Peter Bartok <pbartok@novell.com>
9413 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9414 sanity check to prevent theoretical loop
9415 * XplatUIWin32.cs (SetVisible): Removed debug output
9416 * XplatUIX11.cs (SystrayChange): Added sanity check
9417 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9418 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9419 behaviour, valid until the X11 client window rewrite is done
9420 * TextBox.cs (ctor): Setting proper default foreground and background
9423 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9425 * Theme: Added DrawDateTimePicker to interface
9426 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9427 * DateTimePicker.cs: Created (still needs keys and painting code)
9428 * DateTimePickerFormat.cs: added
9429 * MonthCalendar.cs: fixed CreateParams for popup window mode
9431 2005-01-29 Peter Bartok <pbartok@novell.com>
9433 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9434 this should also the calculations for ligher/darker
9435 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9437 2005-01-29 Peter Bartok <pbartok@novell.com>
9439 * ArrangeDirection.cs: Added
9440 * ArrangeStartingPositon.cs: Added
9441 * SystemInformation.cs: Implemented
9442 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9443 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9444 used by SystemInformation class
9445 * X11Strucs.cs: Added XSizeHints structure
9447 - Fixed CreateParams to make sure the menu window is always visible
9448 - TrackPopupMenu: Added check to make sure we don't draw the
9451 2005-01-29 Peter Bartok <pbartok@novell.com>
9453 * HandleData.cs: Added method for altering invalid area
9454 * TextBoxBase.cs: Implemented TextLength
9456 2005-01-28 Peter Bartok <pbartok@novell.com>
9458 * XplatUIX11.cs: Improvement over last patch, not sending
9459 the WM_PAINT directly anymore, instead we scroll any pending
9460 exposed areas and let the system pick out the WM_PAINT later
9462 2005-01-28 Peter Bartok <pbartok@novell.com>
9464 * SWF.csproj: Deleted, no longer used. Instead,
9465 Managed.Windows.Forms/SWF.csproj should be used
9466 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9467 directly, to avoid a potential race condition with the next
9470 2005-01-28 Peter Bartok <pbartok@novell.com>
9472 * XplatUI.cs: Made class internal
9474 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9476 * CheckedListBox.cs:
9479 - Missing methods and events
9481 2005-01-27 Peter Bartok <pbartok@novell.com>
9483 * Application.cs (Run): Don't use form if we don't have one
9485 2005-01-27 Peter Bartok <pbartok@novell.com>
9487 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9489 2005-01-27 Peter Bartok <pbartok@novell.com>
9491 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9492 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9493 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9494 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9495 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9496 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9497 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9498 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9499 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9500 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9501 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9502 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9504 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9507 - Draw focus on Simple Combobox
9508 - Fixes drawing issues
9511 2005-01-27 Peter Bartok <pbartok@novell.com>
9514 - Place window in default location, instead of hardcoded 0/0
9515 - Send initial LocationChanged event
9517 - UpdateBounds after creation to find out where the WM placed us
9518 - Make sure that if the ParentForm changes location the Form
9520 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9521 to the root, but to whatever the WM placed around us.
9522 Translate to root coordinates before returning toplevel
9524 * XplatUIWin32.cs: Removed debug output
9525 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9526 flag to GetWindowPos, to allow translation of coordinates on X11
9528 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9530 * ListBox.cs: connect LostFocus Event
9532 2005-01-27 Peter Bartok <pbartok@novell.com>
9534 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9535 XplatUIX11.cs: Extended the Systray API
9536 * Form.cs: Removed debug output
9537 * Application.cs: Fixed focus assignment, always need to call
9538 XplatUI.Activate() since Form.Activate() has rules that may
9540 * NotifyIcon.cs: Should be complete now
9541 * ToolTip.cs: Worked around possible timer bug
9543 2005-01-27 Jackson Harper <jackson@ximian.com>
9546 - Only invalidate the effected tabs when the
9547 selected index changes. This reduces drawing and gets rid of some
9549 - Only refresh if the tabs need to be shifted, otherwise only
9550 invalidate the slider button.
9551 - On windows the tabs are not filled to right if the slider is
9554 2005-01-27 Jackson Harper <jackson@ximian.com>
9556 * TabControl.cs: Only refresh on mouseup if we are showing the
9557 slider. Also only invalidate the button whose state has changed.
9559 2005-01-26 Peter Bartok <pbartok@novell.com>
9561 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9562 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9563 and SystrayRemove() methods
9564 * XplatUIOSX.cs: Stubbed Systray methods
9566 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9568 - Fixed broken XChangeProperty calls (marshalling messed up things)
9569 * X11Structs.cs: Added enums and structs required for Size hinting
9570 * NotifyIcon.cs: Added & implemented
9572 2005-01-26 Jackson Harper <jackson@ximian.com>
9574 * TabControl.cs: Space vertically layed out tabs properly.
9576 2005-01-26 Peter Bartok <pbartok@novell.com>
9578 * Form.cs (CreateClientParams): Always set the location to 0,0
9579 since we're a child window.
9581 * Control.cs (SetVisibleCore): Always explicitly setting the location
9582 of a toplevel window, apparently X11 doesn't like to move windows
9583 while they're not mapped.
9585 2005-01-26 Jackson Harper <jackson@ximian.com>
9587 * TabControl.cs: Implement FillToRight size mode with vertically
9590 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9592 * ControlPaint.cs, ThemeWin32Classic.cs
9593 - Fixes DrawFocusRectangle
9595 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9598 - MenuBar tracking only starts when item is first clicked
9599 - Fixes menu hidding for multiple subitems
9600 - Unselect item in MenuBar when item Executed
9603 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9606 - IsInputKey for ListBox
9609 - Shift and Control item selection
9610 - Implement SelectionMode.MultiExtended
9613 - IsInputKey implemented
9614 - Do not generate OnTextChangedEdit on internal txt changes
9616 2005-01-23 Peter Bartok <pbartok@novell.com>
9618 * AccessibleObject.cs: Partially implemented Select()
9619 * MonthCalendar.cs: Added missing attributes and events
9620 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9621 form can properly override CreateParams.
9622 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9623 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9624 Control performs Invalidate & Update
9625 * NativeWindow (CreateHandle): Added special handling for Form
9626 and Form.FormParent classes to allow overriding of From.CreateParams
9628 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9630 - ControlNativeWindow: Added Owner property
9631 - Removed usage of Refresh() on property changes, changed into
9632 Invalidate(), we need to wait until the queue is processed for
9633 updates, direct calls might cause problems if not all vars for
9634 Paint are initialized
9635 - Added call to UpdateStyles() when creating the window, to set any
9636 styles that CreateWindow might have ignored.
9637 - Added support for Form CreateParent overrides to UpdateStyles()
9638 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9639 CreateParams are now properly overridable
9640 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9641 CreateParams are now properly overridable
9643 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9645 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9648 Capture LostFocus and OnTextBoxChanged. The later introduces a
9649 recursive invocation that I have not figured out yet.
9651 Reset the timer when not using (it was accumulating).
9654 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9655 user has made changes that require validation.
9657 Reset changing to avoid loops.
9659 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9661 * NumericUpDown.cs: Display value at startup.
9663 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9666 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9667 filled in. Added some basic parsing of text.
9669 Still missing the OnXXX method overrides, and figuring out the
9670 events that must be emitted.
9672 * UpDownBase.cs: Handle UserEdit on the Text property.
9674 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9677 - Fixes IntegralHeight
9680 2005-01-21 Jackson Harper <jackson@ximian.com>
9682 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9683 is set so that the page visibility is updated and the tabs are
9686 2005-01-21 Jackson Harper <jackson@ximian.com>
9688 * TabControl.cs: Use cliping rectangle for blitting. Give the
9689 theme the clipping rect so we can do clipping while
9690 drawing. Remove some debug code.
9692 2005-01-21 Jackson Harper <jackson@ximian.com>
9694 * TabPage.cs: Add a new method so tab pages can force the tab
9695 control to recalculate the tab page sizes.
9696 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9699 2005-01-20 Jackson Harper <jackson@ximian.com>
9701 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9703 2005-01-20 Jackson Harper <jackson@ximian.com>
9705 * TreeView.cs: Set the bounds for nodes properly. They were
9706 getting screwed up when checkboxes were not enabled, but images
9709 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9712 - Owner draw support
9715 2005-01-20 Jackson Harper <jackson@ximian.com>
9717 * XplatUIStructs.cs: More misc keys
9718 * X11Keyboard.cs: Ignore some control keys.
9720 2005-01-20 Jackson Harper <jackson@ximian.com>
9722 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9723 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9725 2005-01-19 Peter Bartok <pbartok@novell.com>
9727 * Control.cs: Un-selecting the control when it is loosing focus
9729 2005-01-19 Jackson Harper <jackson@ximian.com>
9731 * TreeView.cs: Hook up to the text controls leave event so we can
9732 end editing when the users clicks outside the text box.
9734 2005-01-19 Jackson Harper <jackson@ximian.com>
9736 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9737 get set in the conversion array.
9739 2005-01-19 Peter Bartok <pbartok@novell.com>
9741 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9742 focus is properly set
9744 - Added missing attributes
9745 - removed styles, those are already set in the base class
9747 - Added missing attributes
9748 - Added clip window styles
9749 * CheckBox.cs: Added missing attributes
9751 - FormParentWindow.CreateParams: Added required clip styles
9752 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9753 also filters modifier keys
9755 - Added assignment of Accept and Cancel button to enable Enter
9756 and Esc keys in MessageBox dialogs
9757 - FormParentWindow.CreateParams: Added required clip styles
9758 * RadioButton.cs: Added missing attributes
9759 * TextControl.cs: No longer draws selection if control does not
9762 - Now draws simple rectangle around test area to make it obvious
9763 there's a control. This is a hack until we properly support borders
9764 - A few simple fixes to support selections better, now erases selected
9765 text when typing, and resets selection when using movement keys
9767 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9769 * UpDownBase.cs: Added some new properties.
9771 * DomainUpDown.cs: Implement a lot to get my test working.
9773 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9775 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9777 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9779 * OSXStructs (WindowAttributes): Fixed csc complaints
9781 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9784 OSXStructs.cs: Initial refactor to move enums and consts into
9785 OSXStructs and use them in the driver for greater readability.
9787 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9789 * XplatUIOSX.cs: Initial support for Standard Cursors.
9790 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9792 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9794 * ComboBox.cs: ability to change style when the ctrl is already
9795 created, missing methods and events, bug fixes, signature fixes
9797 2005-01-19 Peter Bartok <pbartok@novell.com>
9799 * Cursors.cs (ctor): Added ctor to fix signature
9801 2005-01-18 Peter Bartok <pbartok@novell.com>
9803 * Button.cs: Implemented DoubleClick event
9805 - Fixed keyboard handling to behave like MS, where the press of
9806 Spacebar is equivalent to a mousedown, and the key release is
9807 equivalent to mouseup. Now a spacebar push will give the same
9808 visual feedback like a mouse click.
9809 - Added missing attributes
9810 - Added ImeModeChanged event
9811 - Added support for generating DoubleClick event for derived classes
9813 - Implemented DoubleClick event
9814 - Added missing attributes
9815 * CommonDialog.cs: Added missing attribute
9816 * ContextMenu.cs: Added missing attributes
9818 - AutoChecked buttons do not allow to be unselected when clicked
9819 (otherwise we might end up with no selected buttons in a group)
9820 - Added missing attributes
9821 - Implemented DoubleClickEvent
9822 * ThreadExceptionDialog.cs: Enabled TextBox code
9824 2005-01-18 Peter Bartok <pbartok@novell.com>
9826 * Form.cs: Removed debug output
9827 * Button.cs: Added support for DoubleClick method
9829 2005-01-18 Peter Bartok <pbartok@novell.com>
9832 - Added method to parent window that allows triggering size
9833 calculations when a menu is added/removed
9834 - set_Menu: Cleaned up mess from early days of Form and Control,
9835 now properly triggers a recalc when a menu is added/removed
9836 - Added case to select form itself as focused form if no child
9838 - Added PerformLayout call when showing dialog, to ensure properly
9841 - Select(): Made internal so Form can access it
9842 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9844 * Application.cs (Run): Removed hack and calls PerformLayout instead
9845 to trigger calculation when Form becomes visible
9847 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9849 * ComboBox.cs: fixes for ownerdraw
9851 2005-01-18 Peter Bartok <pbartok@novell.com>
9854 - Sentinel is no longer static, each Document gets it's own, this
9855 avoids locking or alternatively overwrite problems when more
9856 than one text control is used simultaneously.
9857 - Switched to use Hilight and HilightText brushes for text selection
9859 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9861 2005-01-18 Peter Bartok <pbartok@novell.com>
9864 - Hooked up the following events:
9872 o SystemColorsChanged
9875 - Removed debug output
9876 - Added a call to the current theme's ResetDefaults when a color change
9878 * Form.cs: Now setting the proper ImeMode
9879 * Theme.cs: Defined a method to force recreation of cached resources
9880 and rereading of system defaults (ResetDefaults())
9881 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9883 2005-01-17 Peter Bartok <pbartok@novell.com>
9885 * Control.cs: Added missing attributes
9887 2005-01-17 Jackson Harper <jackson@ximian.com>
9889 * TreeNode.cs: Implement editing. Add missing properties selected
9891 * TreeView.cs: Implement node editing. Also some fixes to use
9892 Invalidate (invalid area) instead of Refresh when selecting.
9894 2005-01-17 Peter Bartok <pbartok@novell.com>
9897 - Implemented InvokeGotFocus() method
9898 - Implemented InvokeLostFocus() method
9899 - Implemented InvokePaint() method
9900 - Implemented InvokePaintBackground() method
9901 - Implemented InvokeClick() method
9902 - Implemented FindForm() method
9903 - Implemented RectangleToClient() method
9904 - Implemented ClientToRectangle() method
9905 - Implemented ResetBackColor() method
9906 - Implemented ResetCursor() method
9907 - Implemented ResetFont() method
9908 - Implemented ResteForeColor() method
9909 - Implemented ResetImeMode() method
9910 - Implemented ResetLeftToRight() method
9911 - Implemented ResetText() method
9912 - Implemented Scale() methods
9913 - Implemented ScaleCore() method
9914 - Implemented Update() method
9915 - Removed unused variables
9916 - Stubbed AccessibilityNotifyClients and
9917 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9919 - Now setting proper default for RightToLeft property
9920 - Fixed bug in SetClientSizeCore that would cause windows to get
9922 - Now sending Click/DoubleClick events
9923 - Now selecting controls when left mouse button is clicked on
9925 * AccessibleEvents.cs: Added
9926 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9927 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9928 * XplatUIWin32.cs: Implemented UpdateWindow() method
9929 * XplatUIX11.cs: Implemented UpdateWindow() method
9930 * Form.cs: Removed stray semicolon causing CS0162 warning
9931 * ThemeWin32Classic.cs: Fixed unused variable warnings
9932 * ScrollableControl.cs: Now calls base method for ScaleCore
9933 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9934 style to avoid interference with internal click handler (which is
9935 different than standard Control click handling)
9937 - Now unchecks all sibling radio buttons when control is
9938 selected (Fixes #68756)
9939 - Removed internal tabstop variable, using the one inherited from
9942 2005-01-17 Jackson Harper <jackson@ximian.com>
9944 * NavigateEventArgs.cs: Fix base type.
9945 * LinkLabel.cs: Sig fix
9947 2005-01-17 Jackson Harper <jackson@ximian.com>
9949 * TreeView.cs: Only invalidate the effected nodes bounds when
9952 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9954 * XplatUIWin32.cs: fixes Win32 marshaling
9955 * XplatUIX11.cs: fixes method signature
9957 2005-01-17 Peter Bartok <pbartok@novell.com>
9959 * XplatUIX11.cs: Clean up resources when we no longer need them
9961 2005-01-17 Peter Bartok <pbartok@novell.com>
9963 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9964 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9965 and DestroyCursor() methods.
9966 * Cursor.cs: Partially implemented, now supports standard cursors;
9967 still contains some debug code
9968 * Cursors.cs: Implemented class
9970 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9972 - Implemented Cursor property
9973 - Replaced break; with return; more straightforwar and possibly
9975 - Now properly setting the result for WM_HELP
9976 * X11Structs.cs: Added CursorFontShape enum
9977 * XplatUIStructs.cs:
9978 - Added StdCursor enum (to support DefineStdCursor() method)
9979 - Added HitTest enum (to support sending WM_SETCURSOR message)
9981 - Now sends the WM_SETCURSOR message
9982 - Implemented new cursor methods
9983 * XplatUIOSX.cs: Stubbed new cursor methods
9985 - Implemented new cursor methods
9986 - Added GetSystemMetrics function and associated enumeration
9988 2005-01-15 Peter Bartok <pbartok@novell.com>
9991 - WndProc(): Now handles EnableNotifyMessage
9992 - SelectNextControl(): Fixed bug where if no child or sibling
9993 controls exist we looped endlessly
9995 2005-01-14 Jackson Harper <jackson@ximian.com>
9997 * TreeView.cs: Recalculate the tab pages when a new one is added
9998 so that the proper bounding rects are created.
10000 2005-01-14 Jackson Harper <jackson@ximian.com>
10002 * TreeView.cs: Draw a gray box instead of a grip in the lower
10003 right hand corner when there are both horizontal and vertical
10006 2005-01-14 Jackson Harper <jackson@ximian.com>
10008 * Control.cs: When erasing backgrounds use FromHwnd instead of
10009 FromHdc when there is a NULL wparam. This occurs on the X driver.
10010 * XplatUIX11.cs: Set the wparam to NULL.
10012 2005-01-13 Jackson Harper <jackson@ximian.com>
10014 * PictureBox.cs: Implement missing methods (except ToString, need
10015 to test that on windows) and events. When visibility is changed we
10016 need to redraw the image because the buffers are killed. When size
10017 is changed refresh if the sizemode needs it.
10019 2005-01-13 Peter Bartok <pbartok@novell.com>
10021 * Control.cs (SelectNextControl): Was using wrong method to select
10024 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10026 * ComboBox.cs: fixes dropstyle
10028 2005-01-13 Peter Bartok <pbartok@novell.com>
10031 - Implemented Select() override
10032 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
10033 - Now sets keyboard focus on startup
10034 * Control.cs (SelectNextControl): Now properly handles directed=true
10036 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10037 - Added (really bad) focus rectangle (mostly for testing)
10038 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10039 to enforce redraw on focus changes
10040 * ContainerControl.cs:
10041 - Fixed detection of Shift-Tab key presses
10042 - Fixed traversal with arrow keys
10043 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10044 gonna keep this or if it's complete yet
10046 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10048 * ComboBox.cs: missing properties, fixes
10050 2005-01-13 Peter Bartok <pbartok@novell.com>
10052 * Panel.cs (ctor): Setting Selectable window style to off
10053 * Splitter.cs (ctor): Setting Selectable window style to off
10054 * GroupBox.cs (ctor): Setting Selectable window style to off
10055 * Label.cs (ctor): Setting Selectable window style to off
10057 2005-01-12 Miguel de Icaza <miguel@ximian.com>
10059 * UpDownBase.cs (InitTimer): If the timer has been already
10060 created, enable it.
10062 Use a TextBox instead of a Label.
10064 2005-01-12 Jackson Harper <jackson@ximian.com>
10066 * TreeView.cs: Refresh the tree after sorting the nodes. Always
10067 draw the connecting node lines (when ShowLines is true).
10068 * TreeNode.cs: The nodes index can now be updated. This is used
10069 when a node collection is sorted.
10070 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
10071 insert or an existing unsorted node collection can be sorted.
10073 2005-01-12 Peter Bartok <pbartok@novell.com>
10075 * ContainerControl.cs: Implemented ProcessDialogKeys()
10077 2005-01-12 Peter Bartok <pbartok@novell.com>
10080 - Implemented SelectNextControl() method
10081 - Several focus related bug fixes
10082 - Fixed Docking calculations to match MS documentation and
10085 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
10087 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10090 2005-01-12 Peter Bartok <pbartok@novell.com>
10093 - Fixed broken Contains() method
10094 - Implemented GetNextControl() method. Finally. This is the pre-
10095 requisite for focus handling.
10097 2005-01-12 Peter Bartok <pbartok@novell.com>
10099 * OSXStrucs.cs: Added
10101 2005-01-12 Peter Bartok <pbartok@novell.com>
10104 - Removed PeekMessageFlags
10105 - Implemented SetWindowStyle() method
10106 * XplatUIStructs.cs: Added PeekMessageFlags
10107 * X11Structs: Added missing border_width field to XWindowChanges struct
10109 - PeekMessage: Now throws exception if flags which are not yet
10110 supported are passed
10111 - Implemented SetWindowStyle() method
10112 - Fixed SetZOrder to handle AfterHwnd properly
10113 * XplatUI.cs: Added SetWindowStyle() method
10114 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10116 - Implemented UpdateStyles() method
10117 - Implemented UpdateZOrder() method
10118 * XplatUIOSX.cs: Added SetWindowStyle() stub
10120 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10122 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10126 2005-01-11 Jackson Harper <jackson@ximian.com>
10128 * TreeView.cs: Still need to draw lines to siblings even if out of
10129 the current node is out of the clip.
10131 2005-01-11 Jackson Harper <jackson@ximian.com>
10133 * TreeView.cs: When setting the hbar/vbar/grip position use
10134 SetBounds so that perform layout is only called once. Also suspend
10135 and resume layout so layout is only done once for all controls.
10136 - Removed some debug fluff
10137 * SizeGrip.cs: Call base implmentation in overriding methods.
10138 - When visibility is changed the drawing buffers are killed so we
10141 2005-01-11 Jackson Harper <jackson@ximian.com>
10143 * TreeView.cs: Calculate the open node count while drawing. This
10144 saves us an entire tree traversal for every paint operation. Use
10145 a member var for the open node count so less vars are passed around.
10147 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10149 * MonthCalendar.cs:
10150 - fixed selection to use mousemove, not mouse polling on timer
10151 * ThemeWin32Classic.cs
10152 - removed redundant unused variable "no_more_content"
10154 2005-01-11 Peter Bartok <pbartok@novell.com>
10156 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10157 are pending, so it now calls PeekMessage instead of GetMessage;
10158 implemented a incomplete version of PeekMessage
10160 2005-01-11 Peter Bartok <pbartok@novell.com>
10162 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10164 * TextBoxBase.cs: Added sending of TextChanged event
10166 2005-01-10 Jackson Harper <jackson@ximian.com>
10168 * TreeView.cs: Try not to draw outside the clipping rectangle on
10171 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10173 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10175 2005-01-10 Jackson Harper <jackson@ximian.com>
10178 - Implement fast scrolling. Now only the newly
10179 exposed nodes are drawn and the old image is moved using the
10180 XplatUI::ScrollWindow method.
10181 - Factor in height of nodes when calculating whether or not the
10182 node is in the clipping rect.
10184 2005-01-10 Jackson Harper <jackson@ximian.com>
10186 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10188 2005-01-10 Peter Bartok <pbartok@novell.com>
10190 * Application.cs: Added temporary hack to resolve all our resize
10191 required issues on startup. This will get fixed properly at
10192 some point in the future
10194 2005-01-10 Jackson Harper <jackson@ximian.com>
10196 * SizeGrip.cs: New internal class that is used as a sizing
10197 grip control...hence the name.
10199 2005-01-10 Peter Bartok <pbartok@novell.com>
10201 * Control.cs: Implemented proper TabIndex handling, now assigning
10202 a tabindex when a control is added to a container
10203 * GroupBox.cs (ctor): Now sets the Container style bit, required
10204 for Control.GetNextControl()
10206 2005-01-09 Jackson Harper <jackson@ximian.com>
10208 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10210 2005-01-09 Peter Bartok <pbartok@novell.com>
10212 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10213 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10214 an overload for ScrollWindow to allow only scrolling a rectangle
10216 2005-01-09 Peter Bartok <pbartok@novell.com>
10219 - Implemented SetDesktopBounds method
10220 - Implemented SetDesktopLocation method
10222 2005-01-08 Jackson Harper <jackson@ximian.com>
10224 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10225 the node count has changed, this removes to VScroll::Refresh calls
10228 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10230 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10232 2005-01-07 Jackson Harper <jackson@ximian.com>
10234 * TreeNode.cs: Just update the single node when it is
10235 checked. Don't refresh after toggling, the Expand/Collapse already
10237 * TreeView.cs: Respect clipping a little more when drawing. Try
10238 not to redraw things that don't need to be redrawn. Just hide the
10239 scrollbars when they are no longer needed instead of removing
10240 them, so they don't have to be created again and again.
10242 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10244 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10245 coordinates to window space to place the caret properly, FIXED.
10246 Implement GetWindowState & SetWindowState
10248 2005-01-06 Peter Bartok <pbartok@novell.com>
10251 - Implemented ClientSize property
10252 - Implemented DesktopBounds property
10253 - Implemented DesktopLocation property
10254 - Implemented IsRestrictedWindow property
10255 - Implemented Size property
10256 - Implemented TopLevel property
10257 - Implemented FormWindowState property
10259 - Implemented GetTopLevel() method
10260 - Implemented SetTopLevel() method
10261 * X11Structs.cs (Atom):
10262 - Added AnyPropertyType definition
10263 - Added MapState definiton and updated XWindowAttribute struct
10264 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10265 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10266 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10268 - Implemented GetWindowState() and SetWindowState() methods
10269 - Fixed Win32GetWindowLong return type
10271 - Introduced central function for sending NET_WM messages
10272 - Implemented GetWindowState() and SetWindowState() methods
10273 * TextBoxBase.cs (set_Lines):
10274 - Now uses Foreground color for text added via Text property (Duh!)
10275 - Added code to remember programmatically requested size (fixes
10276 behaviour when Multiline is set after Size)
10277 - Added AutoSize logic
10279 2005-01-06 Jackson Harper <jackson@ximian.com>
10281 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10283 2005-01-06 Jackson Harper <jackson@ximian.com>
10285 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10286 set to less then 0.
10288 2005-01-06 Jackson Harper <jackson@ximian.com>
10290 * ScrollableControl.cs: Lazy init the scrollbars.
10292 2005-01-06 Jackson Harper <jackson@ximian.com>
10294 * Theme.cs: Speed up getting pens and solid brushes, by using
10295 their ARGB as a hash instead of tostring and not calling Contains.
10297 2005-01-06 Peter Bartok <pbartok@novell.com>
10300 - Implemented OnActivated and OnDeactivate event trigger
10301 - Implemented Activate() method
10302 - Fixed ShowDialog() to activate the form that was active before
10303 the dialog was shown
10305 - Added global active_window var that tracks the currently active
10307 - Now always grabs Property changes from the root window to always
10308 catch changes on the active window property
10309 - Added code to PropertyNotify handler to send Active/Inactive
10310 messages when state changes. This puts X11 and Win32 en par on
10311 WM_ACTIVATE notifications (except for double notifications when
10312 the user clicks away from our modal window to another one of our
10315 2005-01-05 Jackson Harper <jackson@ximian.com>
10317 * ImageList.cs: Implment ctor
10319 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10321 * XplatUIOSX.cs: Implement Activate/SetTopmost
10323 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10325 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10327 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10329 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10331 2005-01-05 Peter Bartok <pbartok@novell.com>
10333 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10334 XplatUIOSX.cs: Added GetActive method to return the currently
10335 active window for the application (or null, if none is active)
10337 - Implemented ActiveForm
10338 - Commented out owner assignment for modal dialogs (causes problems
10339 on Win32, since the owner will be disabled)
10340 - Reworked some Active/Focus handling (still incomplete)
10341 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10342 (causes problems on Win32, since the owner will be disabled)
10343 * IWin32Window: Added ComVisible attribute
10345 2005-01-05 Peter Bartok <pbartok@novell.com>
10347 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10348 required XplatUI functions.
10350 2005-01-05 Peter Bartok <pbartok@novell.com>
10352 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10353 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10354 to implement focus and activation handling; still incomplete and
10357 2005-01-04 Peter Bartok <pbartok@novell.com>
10359 * TextBoxBase.cs: Changed access level for Document property to
10360 match switch to internal for TextControl
10362 2005-01-04 Peter Bartok <pbartok@novell.com>
10364 * AccessibleObject: Added ComVisible attribute
10366 2005-01-04 Jackson Harper <jackson@ximian.com>
10368 * X11Keyboard.cs: Remove unneeded var.
10370 2005-01-04 Jackson Harper <jackson@ximian.com>
10372 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10374 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10375 ClientMessage. This makes apps exit cleanly (more often).
10377 2005-01-04 Jackson Harper <jackson@ximian.com>
10379 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10380 handling focus, return correct colors and fonts,
10381 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10382 handle selection, horizontal scrolling, and mouse interaction.
10384 2005-01-04 Peter Bartok <pbartok@novell.com>
10386 * ICommandExecutor.cs: Added
10387 * IDataGridColumnStyleEditingNotificationService.cs: Added
10388 * IFeatureSupport.cs: Added
10389 * IFileReaderService.cs: Added
10390 * IDataObject.cs: Added ComVisible attribute
10391 * AmbientProperties.cs: Added
10392 * BaseCollection.cs: Added missing attributes
10393 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10394 * BaseCollection.cs: Added missing attributes
10395 * Binding.cs: Added TypeConverter attribute
10396 * BindingContext.cs: Added DefaultEvent attribute
10397 * BindingsCollection.cs: Added DefaultEvent attribute
10398 * Button.cs: Added DefaultValue attribute
10399 * DragEventArgs.cs: Added ComVisible attribute
10400 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10401 * KeyEventArgs.cs: Added ComVisible attribute
10402 * KeyPressEventArgs.cs: Added ComVisible attribute
10403 * MouseEventArgs.cs: Added ComVisible attribute
10404 * NavigateEventArgs.cs: Added
10405 * NavigateEventHandler.cs: Added
10406 * FeatureSupport.cs: Added
10407 * OSFeature.cs: Added
10408 * Theme.cs: Added abstract Version property to support OSFeature
10409 * ThemeWin32Classic.cs: Added Version property to
10410 support OSFeature.Themes
10411 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10412 the proper styles to avoid background drawing are set, also doesn't
10414 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10415 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10416 * ScrollEventArgs.cs: Added ComVisible attribute
10417 * SplitterEventArgs.cs: Added ComVisible attribute
10418 * AccessibleSelection.cs: Added Flags attribute
10419 * Appearance.cs: Added ComVisible attribute
10420 * Border3DSide.cs: Added ComVisible attribute
10421 * Border3DStyle.cs: Added ComVisible attribute
10422 * BorderStyle.cs: Added ComVisible attribute
10423 * DragAction.cs: Added ComVisible attribute
10424 * ErrorBlinkStyle.cs: Added
10425 * ScrollEventType.cs: Added ComVisible attribute
10426 * AnchorStyles.cs: Added Editor attribute
10427 * DockStyle.cs: Added Editor attribute
10428 * HorizontalAlignment.cs: Added ComVisible attribute
10429 * HelpEventArgs.cs: Added ComVisible attribute
10430 * PaintEventArgs.cs: Added IDisposable
10432 2005-01-04 Peter Bartok <pbartok@novell.com>
10434 * TextControl.cs: Switched Line, LineTag and Document classes to
10437 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10439 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10440 Simple mode, fixes, IntegralHeight, etc.
10442 2005-01-04 Peter Bartok <pbartok@novell.com>
10444 * TextBoxBase.cs: Using proper font variable now
10446 2005-01-04 Peter Bartok <pbartok@novell.com>
10448 * Form.cs (ShowDialog): Set parent to owner, if provided
10449 * GroupBox.cs: Removed unused vars
10451 - Added GetHashCode() for Document and LineTag classes
10452 - Removed unused variables
10453 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10454 to allow translation between continuous char position and line/pos
10455 * CheckBox.cs: Removed vars that are provided by base class
10456 * RadioButton.cs: Removed vars that are provided by base class, added
10457 new keyword where required
10458 * LinkLabel.cs: Added new keyword where required
10459 * Control.cs (WndProc): Removed unused variable
10461 - Finished SelectionLength property
10462 - Implemented SelectionStart property
10463 - Implemented Text property
10464 - Removed unused vars
10465 * MessageBox.cs: Added new keyword where required
10466 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10468 * MenuAPI.cs: Added new keyword where required
10469 * ButtonBase.cs: Removed vars that are provided by base class, added
10470 new keyword where required
10471 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10472 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10474 * Application.cs (Run): Now triggers the ThreadExit event
10475 * CommonDialog.cs: Added new keyword where required; now properly sets
10476 parent (owner) for dialog
10477 * XplatUIX11.cs: Commented out unused vars
10478 * StatusBar.cs: Fixed signature for Text property
10479 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10481 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10483 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10484 TrackBar.cs, MonthCalendar.cs: remove unused vars
10486 2005-01-03 Jackson Harper <jackson@ximian.com>
10488 * ThemeWin32Classic.cs:
10489 * X11Keyboard.cs: Remove unused vars.
10491 2005-01-03 Peter Bartok <pbartok@novell.com>
10494 - set_Text: Tied into TextControl
10495 - set_TextAlignment: Tied into TextControl
10497 - Added alignment properties and implemented alignment handling
10498 and drawing (still has a bug, not generating proper expose events)
10499 - Added new Line() constructor to allow passing the line alignment
10500 - Fixed selection setting, properly handling end<start now
10501 - Added aligment considerations to RecalculateDocument()
10503 - Now properly enforces control height for single line controls
10504 - Added support for CharacterCasing
10505 - Added IsInputKey override
10506 - Fixed Keys.Enter logic
10507 - Added SetBoundsCore override
10508 - Fixed mouse selection handling
10510 2005-01-03 Jackson Harper <jackson@ximian.com>
10513 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10514 - Checkboxes are always aligned to the bottom of the node,
10515 regardless of item height.
10516 - Use the node bounds to draw the text so we can center it when
10517 the item height is greater then the font height.
10518 - Node::Bounds are only the text part of the node.
10519 * TreeNode.cs: New method to combine collapsing and unchecking all
10522 2005-01-02 Jackson Harper <jackson@ximian.com>
10524 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10525 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10526 tree when a check is changed. TODO: Only refresh the checked node.
10528 2004-12-30 Jackson Harper <jackson@ximian.com>
10530 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10531 * TreeNode.cs: When collapsing make sure to never collapse the
10534 2004-12-29 Jackson Harper <jackson@ximian.com>
10536 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10538 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10540 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10542 2004-12-28 Peter Bartok <pbartok@novell.com>
10544 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10547 2004-12-28 Peter Bartok <pbartok@novell.com>
10549 * Control.cs (WndProc): Added WM_HELP handler, now generates
10550 HelpRequested event
10551 * Form.cs: Added HelpButton property and required support code
10552 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10554 2004-12-28 Peter Bartok <pbartok@novell.com>
10557 - Made DialogForm.owner variable internal
10558 - Added check to ensure owner form is set before setting
10559 owner properties in CreateParams
10561 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10563 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10564 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10565 GetCursorPos. Fix major visibility issues. Rework the windowing
10566 system to support borderless/titleless windows (implements menus).
10567 Fix GetWindowPos. Implement initial background color support for
10570 2004-12-28 Peter Bartok <pbartok@novell.com>
10572 * Form.cs (get_CreateParams): Make sure we have an owner before using
10573 the owner variable. Implement proper default if no owner exists
10575 2004-12-28 Peter Bartok <pbartok@novell.com>
10577 * In preparation for making Managed.Windows.Forms the default build target
10578 for System.Windows.Forms, the following stubbed files were added.
10579 Dialogs are currently being implemented by contributors and are only
10580 short-term place holders.
10581 * ColorDialog.cs: Initial check-in (minmal stub)
10582 * DataGrid.cs: Initial check-in (minimal stub)
10583 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10584 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10585 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10586 * FontDialog.cs: Initial check-in (minimal stub)
10587 * FileDialog.cs: Initial check-in (minimal stub)
10588 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10589 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10590 * OpenFileDialog: Initial check-in (minimal stub)
10591 * IComponentEditorPageSite.cs: Initial check-in
10592 * Splitter.cs: Initial check-in (for Jackson)
10593 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10594 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10595 * TextBox.cs: Initial check-in; still needs some wiring to
10596 TextControl backend
10597 * Form.cs: Implemented ControlBox property
10598 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10599 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10600 * TextControl.cs: Added selection functionality; added todo header
10602 - Implemented Lines property
10603 - Implemented TextHeight property
10604 - Implemented SelectedText property
10605 - Implemented SelectionLength property
10606 - Implemented SelectAll method
10607 - Implemented ToString method
10608 - Removed and cleaned up some debug code
10609 - Implemented (still buggy) mouse text selection
10611 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10613 * ComboBox.cs: Complete DropDownList implementation, fixes.
10615 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10617 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10618 * ComboBoxStyle.cs: ComboBoxStyle enum
10619 * ComboBox.cs: Initial work on ComboBox control
10621 2004-12-21 Peter Bartok <pbartok@novell.com>
10623 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10624 forward so that anything that creates a window gets the default,
10625 also no longer uses Visible property in CreateParams to avoid
10626 walking up the parent chain and possibly get the wrong visible
10627 status. Fixed IsVisible to no longer walk up to the parent.
10629 2004-12-21 Peter Bartok <pbartok@novell.com>
10631 * Form.cs (ShowDialog): Unset modality for the proper window
10633 2004-12-20 Peter Bartok <pbartok@novell.com>
10635 * CommonDialog.cs: Initial check-in
10637 2004-12-20 Peter Bartok <pbartok@novell.com>
10639 * Control.cs (Visible): Now uses the parent window instead of the
10640 client area window for the property
10643 - ShowDialog(): Now uses the proper window for modality
10644 - The default visibility state for the form parent is now false. This
10645 will prevent the user from seeing all the changes to the form and
10646 its controls before the application hits Application.Run()
10647 - Removed some stale commented out code
10650 - Added FindWindow() method to have a method to check for existence
10652 - Added ability to override default exception handling (for example
10653 when debugging with VS.Net; to do this the ExternalExceptionHandler
10655 - Removed some useless debug output
10658 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10659 not working as expected
10660 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10661 property to allow switching back to the modal window if focus is
10662 given to another one of our windows (Application Modal)
10663 - Now only sets override_redirect if we create a window
10665 - Moved EventMask selection before mapping of newly created window
10666 so we can catch the map event as well
10667 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10668 - Added various Atom related DllImports
10669 - Implemented Exit() method
10670 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10671 in the CreateParams
10673 * MessageBox.cs: Now properly deals with the FormParent window by
10674 providing an override the FormParent CreateParams property to
10675 set as POPUP instead of OVERLAPPED window.
10677 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10679 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10680 Minor code cleanup.
10682 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10684 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10686 2004-12-18 Peter Bartok <pbartok@novell.com>
10688 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10689 implementing SetModal() method
10691 2004-12-18 Peter Bartok <pbartok@novell.com>
10693 * X11Structs.cs (XGCValues): Fixed type of function element
10694 * XplatUI.cs: Added ScrollWindow() method
10695 * XplatUIDriver.cs: Added ScrollWindow() abstract
10696 * XplatUIWin32.cs: Implemented ScrollWindow() method
10697 * XplatUIX11.cs: Implemented ScrollWindow() method
10698 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10700 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10702 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10703 Some more keyboard support (INCOMPLETE)
10705 2004-12-17 Peter Bartok <pbartok@novell.com>
10708 - Added color attribute to line tags.
10709 - Added color argument to all functions dealing with tags
10710 - Added color argument support to various functions
10711 - Fixed miss-calculation of baseline/shift in certain circumstances
10713 * TextBoxBase.cs: Added new color option to test code
10715 2004-12-17 Jackson Harper <jackson@ximian.com>
10718 * MonthCalendar.cs: Signature fixes
10720 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10722 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10723 keyboard event moved it. Create a new graphics context for each paint resolves this
10725 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10727 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10728 Make caret exist and go blink blink. Initial keyboard support.
10729 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10732 2004-12-17 Jackson Harper <jackson@ximian.com>
10734 * XplatUIStructs.cs: Updated set of virtual keycodes.
10735 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10737 2004-12-17 Jackson Harper <jackson@ximian.com>
10739 * XplatUIX11.cs: Prune old keyboard code.
10741 2004-12-17 Jackson Harper <jackson@ximian.com>
10743 * XplatUIX11.cs: When generating mouse wparams get the modifier
10744 keys from the ModifierKeys property.
10746 2004-12-17 Jackson Harper <jackson@ximian.com>
10748 * X11Keyboard.cs: Send up/down input when generating
10749 messages. Remove some unused vars.
10751 2004-12-17 Jackson Harper <jackson@ximian.com>
10754 * TreeView.cs: get rid of warnings.
10756 2004-12-17 Jackson Harper <jackson@ximian.com>
10758 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10760 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10762 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10763 CheckedListBox.cs: Implementation
10765 2004-12-17 Peter Bartok <pbartok@novell.com>
10767 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10769 2004-12-16 Peter Bartok <pbartok@novell.com>
10772 - InsertCharAtCaret(): Fixed start pos fixup
10773 - CaretLine_get: No longer derives the line from the tag, the tag
10774 could be stale if lines in the document have been added or deleted
10775 - RebalanceAfterDelete(): Fixed bug in balancing code
10776 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10777 - Line.Streamline(): Now can also elminate leading empty tags
10778 - DumpTree(): Added a few more tests and prevented exception on
10780 - Added Debug section for Combining lines
10781 - Delete(): Now copies all remaining properties of a line
10784 - Left mousebutton now sets the caret (and middle button still acts
10785 as formatting tester, which must go away soon)
10786 - Added Debug section for Deleting/Combining lines
10787 - Fixed calculations for UpdateView after Combining lines
10789 2004-12-16 Peter Bartok <pbartok@novell.com>
10791 * TextControl.cs: Now properly aligns text on a baseline, using the
10792 new XplatUI.GetFontMetrics() method. Simplified several calculations
10793 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10796 2004-12-16 Peter Bartok <pbartok@novell.com>
10798 * XplatUI.cs: Added GetFontMetrics() method
10799 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10800 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10801 into libgdiplus, our private GetFontMetrics function
10802 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10803 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10805 2004-12-16 Jackson Harper <jackson@ximain.com>
10807 * XplatUIStruct.cs: Add enum for dead keys
10808 * X11Keyboard.cs: Map and unmap dead keys.
10810 2004-12-16 Jackson Harper <jackson@ximian.com>
10812 * X11Keyboard.cs: Detect and use the num lock mask.
10814 2004-12-16 Peter Bartok <pbartok@novell.com>
10816 * Control.cs (CreateGraphics): Added check to make sure the
10817 handle of the window exists before calling Graphics.FromHwnd()
10819 2004-12-16 Peter Bartok <pbartok@novell.com>
10821 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10822 contains a lot of code that's not supposed to be there for the
10823 real thing, but required for developing/testing the textbox
10826 2004-12-16 Peter Bartok <pbartok@novell.com>
10829 - Fixed Streamline method
10830 - Added FindTag method to Line
10831 - Added DumpTree method for debugging
10832 - Added DecrementLines() method for deleting lines
10833 - Fixed UpdateView to update the cursor to end-of-line on single-line
10835 - Added PositionCaret() method
10836 - Fixed MoveCaret(LineDown) to move into the last line, too
10837 - Added InsertChar overload
10838 - Fixed InsertChar tag offset calculations
10839 - Added DeleteChar() method
10840 - Added Combine() method for folding lines
10841 - Fixed Delete() method, no longer allocates wasted Line object and
10842 now copies all properties when swapping nodes
10843 - Delete() method now updates document line counter
10845 2004-12-15 Jackson Harper <jackson@ximian.com>
10847 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10848 * X11Keyboard.cs: Expose the currently selected modifier keys
10849 through a property.
10851 2004-12-15 Peter Bartok <pbartok@novell.com>
10853 * TextControl.cs: Initial check-in. Still incomplete
10855 2004-12-15 Jackson Harper <jackson@ximian.com>
10858 * TreeView.cs: Fix build on csc (second time today ;-))
10860 2004-12-15 Jackson Harper <jackson@ximian.com>
10862 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10863 is calculated and use this for click testing.
10864 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10866 2004-12-15 Jackson Harper <jackson@ximian.com>
10868 * TreeView.cs: Pass the nodes image index to the image list when
10869 drawing that image.
10871 2004-12-15 Jackson Harper <jackson@ximian.com>
10873 * X11Keyboard.cs: Set messages hwnd.
10874 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10875 post_message calls.
10877 2004-12-15 Jackson Harper <jackson@ximian.com>
10879 * X11Keyboard.cs: Fix to compile with csc.
10881 2004-12-15 Jackson Harper <jackson@ximian.com>
10883 * X11Structs.cs: Add key mask values
10884 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10885 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10886 down/up foo into WM_CHAR foo
10887 * KeyboardLayouts.cs: Common keyboard layouts
10888 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10889 post messages into the main queue.
10891 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10893 * Button.cs: implement ProcessMnemonic
10894 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10896 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10897 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10899 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10901 * MonthCalendar.cs: Implemented click-hold for next/previous month
10904 2004-12-11 Peter Bartok <pbartok@novell.com>
10907 - Added XKeyboardState (moved from XplatUIX11.cs)
10908 - Added XCreateGC related enums and structures
10909 - Added GXFunction for XSetFunction
10911 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10913 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10914 CaretVisible() calls
10916 * ToolTip.cs: Added code to prevent stealing focus from app windows
10918 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10919 DestroyCaret, SetCaretPos and CaretVisible)
10922 - Added implementation for caret functions
10923 - Moved hover variables into a struct, to make it a bit easier
10924 on the eyes and to debug
10925 - Removed XKeyboardState (moved to XplatUIX11.cs)
10926 - Moved Keyboard properties into the properties region
10928 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10929 call to get a graphics context for our control
10931 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10933 * TreeView.cs: Fixed bug. No matter what color was set it would always
10934 return SystemColors.Window
10936 * XplatUIWin32.cs: Implemented caret overrides
10938 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10940 * ListBox.cs: fire events, implement missing methods and properties,
10943 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10945 * MonthCalendar.cs: invalidation bug fixing
10946 * ThemeWin32Classic.cs: paint fixing
10948 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10950 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10951 prepare the CGContextRef there now.
10953 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10955 * MonthCalendar.cs:
10956 - optimisationL only invalidate areas that have changed
10957 * ThemeWin32Classic.cs:
10958 - only paint parts that intersect with clip_area
10960 2004-12-09 Peter Bartok <pbartok@novell.com>
10962 * Application.cs: Undid changes from r37004 which cause problems
10965 2004-12-09 Ravindra <rkumar@novell.com>
10967 * ToolBar.cs: Added support for displaying ContextMenu
10968 attached to a button on ToolBar.
10969 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10972 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10974 * Label.cs: autosize works in text change and removes unnecessary
10977 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10979 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10982 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10984 * XplatUIOSX.cs: Added mouse move/click/grab support
10985 Remove some debugging WriteLines not needed anymore.
10986 Add window resizing/positioning.
10987 Fix visibility on reparenting.
10989 2004-12-08 Peter Bartok <pbartok@novell.com>
10991 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10993 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10995 * XplatUIOSX.cs: Initial checkin
10996 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10998 2004-12-03 Ravindra <rkumar@novell.com>
11000 * ListView.cs: Added some keybindings and fixed scrolling.
11001 ScrollBars listen to ValueChanged event instead of Scroll
11002 Event. This would let us take care of all changes being
11003 done in the scrollbars' values programmatically or manually.
11004 * ListView.cs (CanMultiselect): Added a check for shift key.
11005 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
11006 * ListViewItem.cs (Clone): Fixed. We need to make a copy
11007 of ListViewSubItemCollection as well.
11009 2004-12-06 Peter Bartok <pbartok@novell.com>
11011 * Control.cs (Parent): Added check and exception to prevent
11014 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
11016 * ListBox.cs: implemented clipping, selection single and multiple,
11019 2004-12-03 Ravindra <rkumar@novell.com>
11021 * ListView.cs (ListView_KeyDown):
11022 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
11023 when CTRL key is pressed.
11024 * ListViewItem.cs (Selected): Fixed setting the property.
11026 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11028 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
11030 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
11031 MinimizeBox, ShowInTaskbar, TopMost properties.
11033 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
11034 will be implemented).
11036 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11038 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11040 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11043 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11045 * TreeView.cs: BackColor is Colors.Window.
11047 2004-12-01 Jackson Harper <jackson@ximian.com>
11049 * TreeView.cs: When resizing the tree if the user is making it
11050 smaller we don't get expose events, so we need to handle adding
11051 the horizontal scrollbar in the size changed handler as well as
11052 the expose handler.
11054 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11056 * DrawItemState.cs: fixes wrong enum values
11058 2004-12-01 Jackson Harper <jackson@ximian.com>
11060 * TreeView.cs: Resize the hbar as well as the vbar on resize.
11062 2004-12-01 Jackson Harper <jackson@ximian.com>
11064 * NodeLabelEditEventArgs.cs:
11065 * NodeLabelEditEventHandler.cs:
11066 * OpenTreeNodeEnumerator.cs:
11068 * TreeNodeCollection.cs:
11070 * TreeViewAction.cs:
11071 * TreeViewCancelEventArgs.cs:
11072 * TreeViewCancelEventHandler.cs:
11073 * TreeViewEventArgs.cs:
11074 * TreeViewEventHandler.cs: Initial implementation.
11076 2004-12-01 Ravindra <rkumar@novell.com>
11078 * ListView.cs (CalculateListView): Fixed scrolling related
11079 calculations. Also, removed some debug statements from other
11081 * ListViewItem.cs: Changed access to 'selected' instance variable
11082 from private to internal.
11083 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
11085 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
11087 * ThemeWin32Classic.cs: remove cache of brush and pens for
11088 specific controls and use the global system, fixes scrollbutton
11089 bugs (for small sizes, disabled, etc)
11091 * ScrollBar.cs: does not show the thumb for very small controls
11092 (as MS) and allow smaller buttons that the regular size
11094 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11096 * UpDownBase.cs: Add abstract methods for the interface.
11097 Add new virtual methods (need to be hooked up to TextEntry when it
11099 Add override methods for most features.
11100 Computes the size, forces the height of the text entry.
11102 * NumericUpDown.cs: Put here the current testing code.
11104 * Set eol-style property on all files that do not have mixed line
11105 endings, to minimize the future problems. There are still a few
11106 files with mixed endings, and someone should choose whether they
11107 want to move it or not.
11109 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11111 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11114 2004-11-30 Ravindra <rkumar@novell.com>
11116 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11117 drawing and replaced use of SystemColors by theme colors.
11118 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11119 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11120 same ListViewItem is being added more than once.
11122 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11124 * MonthCalendar.cs:
11125 - ControlStyles love to make the control not flicker
11127 2004-11-30 Peter Bartok <pbartok@novell.com>
11129 * CharacterCasing.cs: Added
11131 2004-11-29 Peter Bartok <pbartok@novell.com>
11133 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11134 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11135 I am removing these files as they conflict with already completed
11136 work. While it is fantastic to get contributions to MWF, I
11137 respectfully ask that everyone please coordinate their contributions
11138 through mono-winforms-list or #mono-winforms at this time. We're
11139 explicitly avoiding stubbing and don't want controls that don't have
11140 their basic functionality implemented in svn. Please also see
11141 http://www.mono-project.com/contributing/winforms.html
11144 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11146 * Application.cs (ModalRun): Don't hang after exit.
11148 * Theme.cs: New TreeViewDefaultSize property.
11150 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11151 with less hardcoded SystemColors constant.
11152 Implemented TreeViewDefaultSize.
11154 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11155 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11158 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11160 * MonthCalendar.cs:
11161 - Fix NextMonthDate and PrevMonthDate click moving calendar
11163 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11165 * MonthCalendar.cs:
11166 - Fix usage of ScrollChange Property when scrolling months
11168 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11170 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11171 - Fixes menu destroying
11172 - Support adding and removing items on already created menus
11174 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11176 * MonthCalendar.cs:
11177 - Re-worked all bolded dates handling to match win32
11178 * ThemeWin32Classic.cs:
11179 - Fixed rendering with bolded dates
11181 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11183 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11184 - Horizontal scroolbar
11189 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11191 * MonthCalendar.cs:
11192 - Fix Usage of MaxSelectionCount from SelectionRange
11193 - Fixed Shift + Cursor Selection
11194 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11195 - Fixed normal cursor selection to be compat with win32
11196 - Fixed Shift + Mouse Click selection
11198 2004-11-24 Peter Bartok <pbartok@novell.com>
11200 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11201 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11203 - CreatedKeyBoardMsg now updates keystate with Alt key
11204 - Added workaround for timer crash to CheckTimers, Jackson will
11205 develop a proper fix and check in later
11206 - Implemented DispatchMessage
11207 - Removed calling the native window proc from GetMessage (call
11208 now moved to DispatchMessage)
11210 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11211 the keydata (Fixes bug #69831)
11214 - (DispatchMessage): Switched to return IntPtr
11215 - Added DllImport for SetFocus
11217 2004-11-24 Ravindra <rkumar@novell.com>
11219 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11220 background drawing.
11221 * ListViewItem.cs: Fixed various properties, calculations
11222 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11223 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11224 and some internal properties. Fixed MouseDown handler and Paint
11227 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11229 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11231 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11233 * ContainerControl.cs: correct accidental check in of local changes
11235 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11237 * ThemeWin32Classic.cs:
11238 - Fixed Drawing Last month in grid (sometimes not showing)
11239 * MonthCalendar.cs:
11240 - Fixed title width calculation bug (makeing title small)
11242 2004-11-23 Peter Bartok <pbartok@novell.com>
11245 - Added generation of WM_MOUSEHOVER event
11246 - Added missing assignment of async_method atom
11247 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11249 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11251 * ThemeWin32Classic.cs:
11252 - Fixed Drawing of today circle when showtodaycircle not set
11253 - fixed drawing of first and last month in the grid (gay dates)
11254 * MonthCalendar.cs:
11255 - Fixed Drawing of today circle
11256 - Fixed drawing of grady dates
11257 - Fixed HitTest for today link when ShowToday set to false
11258 - Fixed DefaultSize to obey ShowToday
11260 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11262 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11263 * System.Windows.Forms/Theme.cs
11264 * MonthCalendar.cs: added for MonthCalendar
11265 * SelectionRange.cs: added for MonthCalendar
11266 * Day.cs: added for MonthCalendar: added for MonthCalendar
11267 * DateRangeEventArgs.cs: added for MonthCalendar
11268 * DateRangeEventHandler.cs: added for MonthCalendar
11270 2004-11-22 Ravindra <rkumar@novell.com>
11272 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11275 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11277 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11280 * NumericUpDown.cs: Added new implementation.
11281 * UpDownBase.cs: Added new implementation.
11283 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11286 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11289 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11292 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11294 * Timer.cs (Dispose): Should call the base dispose when
11297 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11299 * ScrollBar.cs: updates thumb position when max, min or increment
11302 2004-11-21 Ravindra <rkumar@novell.com>
11304 * ListView.cs: Implemented item selection, activation and
11305 column header style. Fixed properties to do a redraw, if
11306 required. Added support for MouseHover, DoubleClick, KeyDown
11307 and KeyUp event handling and some minor fixes.
11308 * ListViewItem.cs: Fixed constructor.
11309 * ThemeWin32Classic.cs: Improved drawing for ListView.
11311 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11313 * ThemeWin32Classic.cs: initial listbox drawing code
11314 * DrawMode.cs: new enumerator
11315 * ListControl.cs: stubbed class
11316 * ListBox.cs: initial implementation
11317 * Theme.cs: new methods definitions
11318 * SelectionMode.cs: new enumerator
11320 2004-11-17 Peter Bartok <pbartok@novell.com>
11322 * XplatUIWin32.cs: Added double-click events to the class style
11323 * Control.cs (WndProc):
11324 - Added handling of click-count to MouseDown/ MouseUp events.
11325 - Added handling of middle and right mouse buttons
11326 - Removed old debug code
11328 2004-11-17 Jackson Harper <jackson@ximian.com>
11330 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11332 2004-11-17 Ravindra <rkumar@novell.com>
11334 * ListView.cs: Added event handling for MouseMove/Up/Down.
11335 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11336 * ThemeWin32Classic.cs: We need to clear the graphics context and
11337 draw column header in a proper state.
11340 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11342 * Menu.cs: fixes signature
11344 2004-11-16 Peter Bartok <pbartok@novell.com>
11346 * XplatUIX11.cs (GetMessage): Implemented generation of
11347 double click mouse messages
11349 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11351 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11354 2004-11-11 Peter Bartok <pbartok@novell.com>
11356 * HandleData.cs: Added Visible property
11357 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11359 * XplatUIX11.cs: Removed old debug leftovers
11360 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11361 * Control.cs (WndProc): Removed old debug leftovers,
11362 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11363 needed WM_SIZE handling
11365 2004-11-11 Jackson Harper <jackson@ximian.com>
11367 * OwnerDrawPropertyBag.cs:
11368 * TreeViewImageIndexConverter.cs: Initial implementation
11370 2004-11-10 Jackson Harper <jackson@ximian.com>
11372 * ThemeWin32Classic.cs:
11373 * TabControl.cs: instead of moving tabs by the slider pos just
11374 start drawing at the tab that is offset by the slider. This way
11375 scrolling always moves by exactly one tab.
11377 2004-11-10 Jackson Harper <jackson@ximian.com>
11379 * TabControl.cs: You can only scroll left when the slider has
11380 already ben moved right.
11382 2004-11-10 Jackson Harper <jackson@ximian.com>
11384 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11387 2004-11-10 Jackson Harper <jackson@ximian.com>
11389 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11392 2004-11-09 Jackson Harper <jackson@ximian.com>
11394 * TabControl.cs (CalcXPos): New helper method so we can determine
11395 the proper place to start drawing vertical tabs.
11396 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11398 2004-11-09 Jackson Harper <jackson@ximian.com>
11400 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11401 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11402 and Bottom, left and right are illegal values for this and
11403 multiline is enabled when the alignment is set to left or right.
11404 (DrawTab): Each alignment block should draw the text itself now
11405 because Left requires special love. Also add rendering for Left
11408 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11410 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11411 does not destroy the windows, removes debugging messages
11413 2004-11-09 jba <jba-mono@optusnet.com.au>
11415 * ThemeWin32Classic.cs
11416 (DrawButtonBase): Fix verticle text rect clipping in windows
11417 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11418 rendering and incorrect text rect clipping
11419 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11420 rendering and incorrect text rect clipping
11422 2004-11-08 Jackson Harper <jackson@ximian.com>
11424 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11425 bottom when they are bottom aligned so the bottoms of the tabs get
11427 * TabControl.cs (DropRow): Move rows up instead of down when the
11428 tab control is bottom aligned.
11430 2004-11-08 13:59 pbartok
11433 - Added handling for various window styles
11434 - Added handling for popup windows
11435 - Added SetTopmost handling
11437 2004-11-08 13:55 pbartok
11440 - Added argument to SetTopmost method
11441 - Fixed broken ClientToScreen function
11443 2004-11-08 13:53 pbartok
11445 * XplatUIStructs.cs:
11446 - Added missing WS_EX styles
11448 2004-11-08 13:53 pbartok
11450 * XplatUI.cs, XplatUIDriver.cs:
11451 - Added argument to SetTopmost
11453 2004-11-08 13:52 pbartok
11456 - Added XSetWindowAttributes structure
11457 - Improved XWindowAttributes structure
11458 - Added SetWindowValuemask enum
11459 - Added window creation arguments enum
11460 - Added gravity enum
11461 - Added Motif hints structure
11462 - Added various Motif flags and enums
11463 - Added PropertyMode enum for property functions
11465 2004-11-08 13:50 pbartok
11468 - Fixed arguments for updated SetTopmost method
11470 2004-11-08 13:49 pbartok
11473 - Fixed arguments for updated SetTopmost function
11474 - Fixed usage of PointToClient
11476 2004-11-08 13:44 pbartok
11479 - Added Clipping of children and siblings
11481 2004-11-08 13:41 pbartok
11484 - Removed SetMenuBarWindow call. We do this in Form.cs
11486 2004-11-08 13:40 jackson
11488 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11489 scrolling jimmi in the correct location with bottom aligned tabs
11491 2004-11-08 13:36 pbartok
11493 * ContainerControl.cs:
11494 - Implemented BindingContext
11495 - Implemented ParentForm
11497 2004-11-08 12:46 jackson
11499 * TabControl.cs: Put bottom rendered tabs in the right location
11501 2004-11-08 07:15 jordi
11503 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11506 2004-11-05 17:30 jackson
11508 * TabControl.cs: When selected tabs are expanded make sure they
11509 don't go beyond the edges of the tab control
11511 2004-11-05 14:57 jackson
11513 * TabControl.cs: Reset show_slider so if the control is resized to
11514 a size where it is no longer needed it's not displayed anymore
11516 2004-11-05 13:16 jackson
11518 * TabControl.cs: Make tab pages non visible when added to the
11521 2004-11-05 12:42 jackson
11523 * TabControl.cs: Implement SizeMode.FillToRight
11525 2004-11-05 12:16 jackson
11527 * Control.cs: Do not call CreateHandle if the handle is already
11530 2004-11-05 11:46 jackson
11532 * TabControl.cs: Remove superflous call to CalcTabRows
11534 2004-11-05 09:07 jackson
11536 * XplatUIX11.cs: Update for Mono.Posix changes
11538 2004-11-05 07:00 ravindra
11540 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11543 2004-11-04 22:47 jba
11545 * ThemeWin32Classic.cs:
11546 - Fix Button rendering for FlatStyle = Flat or Popup
11547 - Fix RadioButton and CheckBox rendering when Appearance = Button
11548 (normal and flatstyle).
11549 - Correct outer rectangle color when drawing focus rectangle
11550 - Adjust button bounds to be 1 px smaller when focused
11551 - Make button not draw sunken 3d border when pushed (windows compat)
11552 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11553 - Offset the text in RadioButton and Checkbox when being rendered as
11555 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11557 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11558 - Fixed disabled text rendering for normally rendered radiobuttons
11560 2004-11-04 10:26 jackson
11562 * TabControl.cs: Recalculate tab rows when resizing
11564 2004-11-04 07:47 jordi
11566 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11567 collection completion, drawing issues, missing features
11569 2004-11-04 05:03 ravindra
11572 - We need to recalculate the Thumb area when
11573 LargeChange/maximum/minimum values are changed.
11574 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11575 than minimum. This is required to handle the case if large_change is
11576 more than max, and use LargeChange property instead of large_change
11578 - We return max+1 when large_change is more than max, like MS does.
11580 2004-11-04 04:29 ravindra
11582 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11583 - Changed default value signatures (prefixed all with ListView).
11584 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11586 - Fixed calculations for ListViewItem and implemented Clone()
11589 2004-11-04 04:26 ravindra
11591 * Theme.cs, ThemeWin32Classic.cs:
11592 - Changed default ListView values signatures (prefixed all with
11594 - Fixed default size values for VScrollBar and HScrollBar.
11595 - Fixed DrawListViewItem method.
11597 2004-11-04 04:05 ravindra
11599 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11601 2004-11-04 04:04 ravindra
11603 * ImageList.cs: Implemented the missing overload for Draw method.
11605 2004-11-03 19:29 jackson
11607 * TabControl.cs: Handle dropping rows on selection properly
11609 2004-11-03 11:59 jackson
11611 * TabControl.cs: remove debug code
11613 2004-11-03 11:52 jackson
11615 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11616 the scrolly widgerywoo
11618 2004-11-02 13:52 jackson
11620 * TabControl.cs: Resize the tab pages and tabs when the tab control
11623 2004-11-02 13:40 jackson
11625 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11626 selected tab to the bottom
11628 2004-11-02 13:39 jackson
11630 * TabPage.cs: Store the tab pages row
11632 2004-11-02 12:33 jordi
11634 * MenuItem.cs: fixes handle creation
11636 2004-11-02 11:42 jackson
11638 * TabControl.cs: signature fix
11640 2004-11-02 08:56 jackson
11642 * TabControl.cs: Calculate whether the tab is on an edge properly.
11643 Remove top secret debugging code
11645 2004-11-01 19:57 jackson
11647 * TabControl.cs: Add click handling, and proper sizing
11649 2004-11-01 19:47 jackson
11651 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11654 2004-11-01 19:39 jackson
11656 * TabPage.cs: add internal property to store the bounds of a tab
11659 2004-10-30 04:23 ravindra
11661 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11664 2004-10-30 04:21 ravindra
11666 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11667 fixed calculations.
11669 2004-10-30 03:06 pbartok
11672 - Removed extension of DllImported libs
11674 2004-10-29 09:55 jordi
11676 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11677 navigation, itemcollection completion, menu fixes
11679 2004-10-27 22:58 pbartok
11682 - Now throws a nice error message when no X display could be opened
11684 2004-10-26 13:51 jordi
11686 * ListView.cs: removes warning
11688 2004-10-26 03:55 ravindra
11690 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11691 ThemeWin32Classic.cs: Some formatting for my last checkins.
11693 2004-10-26 03:36 ravindra
11695 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11696 control and default values.
11698 2004-10-26 03:35 ravindra
11700 * Theme.cs: Added some default values for ListView control.
11702 2004-10-26 03:33 ravindra
11704 * ToolBar.cs: ToolBar should use the user specified button size, if
11705 there is any. Added a size_specified flag for the same.
11707 2004-10-26 03:33 ravindra
11709 * ColumnHeader.cs: Added some internal members and calculations for
11712 2004-10-26 03:32 ravindra
11714 * ListViewItem.cs: Calculations for ListViewItem.
11716 2004-10-26 03:31 ravindra
11718 * ListView.cs: Added some internal members and calculations for
11721 2004-10-22 13:31 jordi
11723 * MenuAPI.cs: speedup menus drawing
11725 2004-10-22 13:16 jackson
11727 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11730 2004-10-22 11:49 jackson
11734 2004-10-22 11:41 jackson
11736 * Control.cs: Check to see if the window should have its background
11737 repainted by X when drawing.
11739 2004-10-22 11:31 jackson
11741 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11742 clear is true, this way we do not get flicker from X repainting the
11745 2004-10-22 11:28 jackson
11747 * XEventQueue.cs: Queue properly
11749 2004-10-21 09:38 jackson
11751 * XEventQueue.cs: Fix access modifier
11753 2004-10-21 09:36 jackson
11755 * XEventQueue.cs: Don't loose messages
11757 2004-10-21 09:22 jackson
11759 * XEventQueue.cs: Don't loose messages
11761 2004-10-20 04:15 jordi
11763 * BootMode.cs: enum need it by SystemInfo
11765 2004-10-19 21:58 pbartok
11768 - Small sanity check
11770 2004-10-19 21:56 pbartok
11773 - Added private FormParentWindow class which acts as the container
11774 for our form and as the non-client area where menus are drawn
11775 - Added/Moved required tie-ins to Jordi's menus
11776 - Fixed/Implemented the FormStartPosition functionality
11778 2004-10-19 21:52 pbartok
11781 - Removed unneeded locals
11782 - Added code to all size and location properties to understand and
11783 deal with the parent container of Form
11785 2004-10-19 21:33 pbartok
11788 - Fixed to deal with new Form subclasses for menus
11790 2004-10-19 17:48 jackson
11792 * XEventQueue.cs: commit correct version of file
11794 2004-10-19 16:50 jackson
11796 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11798 2004-10-19 16:15 jordi
11800 * MenuAPI.cs: MenuBarCalcSize returns the height
11802 2004-10-19 08:31 pbartok
11805 - Added missing call to PreProcessMessage before calling OnXXXKey
11808 2004-10-19 00:04 ravindra
11810 * ToolTip.cs: Fixed constructor.
11812 2004-10-18 09:31 jordi
11814 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11816 2004-10-18 09:26 jordi
11818 * MenuItem.cs: fixes MenuItem class signature
11820 2004-10-18 08:56 jordi
11822 * MenuAPI.cs: prevents windows from showing in the taskbar
11824 2004-10-18 00:28 ravindra
11826 * ToolTip.cs: Suppressed a warning message.
11828 2004-10-18 00:27 ravindra
11830 * Control.cs: Default value of visible property must be true.
11832 2004-10-17 23:19 pbartok
11835 - Complete implementation
11837 2004-10-17 23:19 pbartok
11840 - Added EnableWindow method
11841 - Added SetModal stub
11842 - Added generation of WM_ACTIVATE message (still needs testing)
11843 - Added SetTopMost stub
11844 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11846 2004-10-17 23:17 pbartok
11849 - Removed VirtualKeys to XplatUIStructs
11850 - Implemented SetTopMost method
11851 - Implemented EnableWindow method
11852 - Bugfix in ScreenToClient()
11853 - Bugfixes in ClientToScreen()
11855 2004-10-17 22:51 pbartok
11857 * XplatUIStructs.cs:
11858 - Added WS_EX styles to WindowStyles enumeration
11860 2004-10-17 22:50 pbartok
11862 * XplatUI.cs, XplatUIDriver.cs:
11863 - Added method for enabling/disabling windows
11864 - Added method for setting window modality
11865 - Added method for setting topmost window
11867 2004-10-17 22:49 pbartok
11869 * ThemeWin32Classic.cs:
11870 - Added ToolTip drawing code
11872 2004-10-17 22:49 pbartok
11875 - Added ToolTip abstracts
11877 2004-10-17 22:47 pbartok
11880 - Fixed Form.ControlCollection to handle owner relations
11881 - Added Owner/OwnedForms handling
11882 - Implemented Z-Ordering for owned forms
11883 - Removed unneeded private overload of ShowDialog
11884 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11886 - Fixed Close(), had wrong default
11887 - Added firing of OnLoad event
11888 - Added some commented out debug code for Ownership handling
11890 2004-10-17 22:16 pbartok
11893 - Fixed/implemented flat list of controls
11895 2004-10-17 22:14 pbartok
11898 - Added code to simulate modal dialogs on Win32
11900 2004-10-17 16:11 jordi
11902 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11905 2004-10-17 13:39 jordi
11907 * MenuAPI.cs: menu drawing fixes
11909 2004-10-15 09:10 ravindra
11911 * StructFormat.cs: General Enum.
11913 2004-10-15 09:09 ravindra
11915 * SizeGripStyle.cs: Enum for Form.
11917 2004-10-15 09:08 ravindra
11919 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11920 in Theme for ListView.
11922 2004-10-15 09:06 ravindra
11924 * ColumnHeader.cs: Flushing some formatting changes.
11926 2004-10-15 09:05 ravindra
11928 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11931 2004-10-15 09:03 ravindra
11933 * ListView.cs: Implemented Paint method and fixed coding style.
11935 2004-10-15 07:34 jordi
11937 * MenuAPI.cs: fix for X11
11939 2004-10-15 07:32 ravindra
11941 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11942 - Renamed Paint() method to Draw() for clarity. Also, moved
11943 DrawImage() to OnPaint().
11945 2004-10-15 07:25 ravindra
11947 * CheckBox.cs, RadioButton.cs:
11948 - Removed Redraw (), we get it from ButtonBase.
11949 - Implemented Paint (), to do class specific painting.
11951 2004-10-15 07:16 ravindra
11954 - Redraw () is not virtual now.
11955 - Added an internal virtual method Paint (), so that
11956 derived classes can do their painting on their own.
11957 - Modified OnPaint () to call Paint ().
11959 2004-10-15 06:43 jordi
11961 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11962 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11964 2004-10-15 00:30 ravindra
11967 - MessageBox on windows does not have min/max buttons.
11968 This change in CreateParams fixes this on Windows. We
11969 still need to implement this windowstyle behavior in
11972 2004-10-14 05:14 ravindra
11975 - Changed Redraw () to do a Refresh () always.
11976 - Fixed the MouseMove event handling when mouse is pressed,
11977 ie drag event handling.
11978 - Replaced the usage of ToolBarButton.Pressed property to
11979 ToolBarButton.pressed internal variable.
11981 2004-10-14 05:10 ravindra
11983 * ToolBarButton.cs:
11984 - Added an internal member 'inside' to handle mouse move
11985 with mouse pressed ie mouse drag event.
11986 - Changed 'Pressed' property to return true only when
11987 'inside' and 'pressed' are both true.
11988 - Some coding style love.
11990 2004-10-14 00:17 ravindra
11992 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11995 2004-10-14 00:15 ravindra
11997 * ButtonBase.cs: Redraw () related improvements.
11999 2004-10-14 00:14 ravindra
12001 * MessageBox.cs: Moved InitFormSize () out of Paint method and
12002 removed unnecessary calls to Button.Show () method.
12004 2004-10-13 17:50 pbartok
12008 - Removed destroying of window until we solve the problem of X
12009 destroying the window before us on shutdown
12011 2004-10-13 16:32 pbartok
12014 - Now Redraws on MouseUp for FlatStyle Flat and Popup
12016 2004-10-13 14:18 pbartok
12019 - Added code to destroy the X window
12021 2004-10-13 14:18 pbartok
12024 - Added code to destroy a window
12026 2004-10-13 14:12 pbartok
12029 - Added the Redraw on Resize that got dropped in the last rev
12031 2004-10-13 09:06 pbartok
12033 * ThemeWin32Classic.cs:
12034 - Path from John BouAntoun:
12035 * Fix check rendering (centre correctly for normal style, offset
12036 correctly for FlatStyle).
12037 * Fix border color usage (use backcolor) for FlatStyle.Popup
12038 * Use checkbox.Capture instead of checkbox.is_pressed when
12039 rendering flatstyle states.
12041 2004-10-12 21:48 pbartok
12043 * ThemeWin32Classic.cs:
12044 - Removed all occurences of SystemColors and replaced them with the
12045 matching theme color
12047 2004-10-12 21:41 pbartok
12049 * ThemeWin32Classic.cs:
12050 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12051 him using the function for flatstyle drawing
12052 - Changed functions to use the new version of CPDrawBorder3D
12054 2004-10-12 21:15 pbartok
12057 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12058 match MS documentation. They need to return defined colors if the
12059 passed color matches the configured control color. Thanks to John
12060 BouAntoun for pointing this out.
12062 2004-10-12 20:57 pbartok
12065 - Fix from John BouAntoun: Raise ForeColorChanged event when text
12068 2004-10-12 20:46 pbartok
12071 - Fix from John BouAntoun: Now properly sets the Appearance property
12073 2004-10-12 20:45 pbartok
12075 * ThemeWin32Classic.cs:
12076 - Fixes from John BouAntoun: now handles forecolors and backcolors
12077 for flatstyle rendered controls much better; It also fixes normal
12078 checkbox rendering when pushed or disabled.
12080 2004-10-08 02:50 jordi
12082 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
12085 2004-10-07 08:56 jordi
12087 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12089 2004-10-06 03:59 jordi
12091 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12092 XplatUIWin32.cs: removes warnings from compilation
12094 2004-10-05 12:23 jackson
12096 * RadioButton.cs: Fix ctor
12098 2004-10-05 11:10 pbartok
12101 - Partial implementation by Benjamin Dasnois
12103 2004-10-05 10:15 jackson
12105 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12108 2004-10-05 03:07 ravindra
12111 - Removed a private method, Draw ().
12112 - Fixed the ButtonDropDown event handling.
12113 - Fixed MouseMove event handling.
12115 2004-10-05 03:04 ravindra
12117 * ThemeWin32Classic.cs:
12118 - Added DrawListView method and ListViewDefaultSize property.
12119 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12120 - Changed DOS style CRLF to Unix format (dos2unix).
12122 2004-10-05 03:03 ravindra
12125 - Added DrawListView method and ListViewDefaultSize property.
12127 2004-10-05 02:42 ravindra
12129 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12130 clicks on DropDown arrow.
12132 2004-10-04 22:56 jackson
12134 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12135 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12136 Control handle the buffers, derived classes should not have to
12137 CreateBuffers themselves.
12139 2004-10-04 21:20 jackson
12141 * StatusBar.cs: The control handles resizing the buffers now.
12143 2004-10-04 21:18 jackson
12145 * Control.cs: When resizing the buffers should be invalidated. This
12146 should be handled in Control not in derived classes.
12148 2004-10-04 14:45 jackson
12152 2004-10-04 02:14 pbartok
12154 * LeftRightAlignment.cs:
12157 2004-10-04 01:09 jordi
12159 * ThemeWin32Classic.cs: fixes right button position causing right
12160 button not showing on horizontal scrollbars
12162 2004-10-02 13:12 pbartok
12165 - Simplified the Invalidate method by using an X call instead of
12166 generating the expose ourselves
12167 - Added an expose when the window background is changed
12168 - Implemented ClientToScreen method
12170 2004-10-02 13:08 pbartok
12173 - Added Win32EnableWindow method (test for implementing modal
12175 - Added ClientToScreen method and imports
12177 2004-10-02 13:07 pbartok
12179 * XplatUI.cs, XplatUIDriver.cs:
12180 - Added ClientToScreen coordinate translation method
12182 2004-10-02 13:06 pbartok
12184 * KeyPressEventArgs.cs:
12185 - Fixed access level for constructor
12187 2004-10-02 13:06 pbartok
12190 - Changed access level for the window_collection hash table
12192 2004-10-02 13:05 pbartok
12195 - Added KeyPreview property
12196 - Added Menu property (still incomplete, pending Jordi's menu work)
12197 - Implemented ProcessCmdKey
12198 - Implemented ProcessDialogKey
12199 - Implemented ProcessKeyPreview
12201 2004-10-02 13:02 pbartok
12204 - Added private method to get the Control object from the window
12206 - Implemented ContextMenu property
12207 - Implemented PointToScreen
12208 - Implemented PreProcessMessage
12209 - Implemented IsInputChar
12210 - Implemented IsInputKey
12211 - Implemented ProcessCmdKey
12212 - Completed ProcessKeyEventArgs
12213 - Fixed message loop to call the proper chain of functions on key
12215 - Implemented ProcessDialogChar
12216 - Implemented ProcessDialogKey
12217 - Implemented ProcessKeyMessage
12218 - Implemented ProcessKeyPreview
12219 - Added RaiseDragEvent stub (MS internal method)
12220 - Added RaiseKeyEvent stub (MS internal method)
12221 - Added RaiseMouseEvent stub (MS Internal method)
12222 - Added RaisePaintEvent stub (MS Internal method)
12223 - Added ResetMouseEventArgs stub (MS Internal method)
12224 - Implemented RtlTranslateAlignment
12225 - Implemented RtlTranslateContent
12226 - Implemented RtlTranslateHorizontal
12227 - Implemented RtlTranslateLeftRight
12228 - Added generation of KeyPress event
12230 2004-10-02 05:57 ravindra
12232 * ListViewItem.cs: Added attributes.
12234 2004-10-02 05:32 ravindra
12236 * ListView.cs: Added attributes.
12238 2004-10-01 11:53 jackson
12240 * Form.cs: Implement the Close method so work on MessageBox can
12243 2004-09-30 14:06 pbartok
12248 2004-09-30 11:34 jackson
12250 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12252 2004-09-30 07:26 ravindra
12254 * ListViewItemConverter.cs: Converter for ListViewItem.
12256 2004-09-30 07:26 ravindra
12258 * SortOrder.cs: Enum for ListView control.
12260 2004-09-30 07:25 ravindra
12262 * ColumnHeader.cs: Supporting class for ListView control.
12264 2004-09-30 07:24 ravindra
12266 * ListView.cs, ListViewItem.cs: Initial implementation.
12268 2004-09-30 07:20 ravindra
12270 * ItemActivation.cs: Enum for ListView Control.
12272 2004-09-29 20:29 pbartok
12275 - Added lookup of pixel value for background color; tries to get a
12276 color 'close' to the requested color, it avoids having to create a
12277 colormap. Depending on the display this could mean the used color
12278 is slightly off the desired color. Might have to change it to a more
12279 resource intensive colormap approach, but it will work as a
12280 workaround to avoid red screens.
12282 2004-09-29 14:27 jackson
12284 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12286 2004-09-28 12:44 pbartok
12288 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12289 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12290 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12291 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12292 TrackBar.cs, VScrollBar.cs:
12293 - Streamlined Theme interfaces:
12294 * Each DrawXXX method for a control now is passed the object for
12295 the control to be drawn in order to allow accessing any state the
12296 theme might require
12298 * ControlPaint methods for the theme now have a CP prefix to avoid
12299 name clashes with the Draw methods for controls
12301 * Every control now retrieves it's DefaultSize from the current
12304 2004-09-28 12:17 jackson
12306 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12309 2004-09-24 14:57 jackson
12311 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12312 Gives us a nice little performance boost.
12314 2004-09-24 12:02 jackson
12316 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12317 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12318 Control and supporting classes. Initial checkin
12320 2004-09-23 13:08 jackson
12322 * Form.cs: Temp build fixage
12324 2004-09-23 01:39 ravindra
12326 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12327 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12328 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12329 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12330 EventHandlers needed by ListView Control.
12332 2004-09-22 14:12 pbartok
12334 * ScrollableControl.cs:
12335 - Implemented DockPadding property
12336 - Implemented AutoScroll property
12337 - Implemented AutoScrollMargin property
12338 - Implemented AutoScrollMinSize property
12339 - Implemented AutoScrollPosition property
12340 - Implemented DisplayRectangle property (still incomplete)
12341 - Implemented CreateParams property
12342 - Implemented HScroll property
12343 - Implemented VScroll property
12344 - Implemented OnVisibleChanged property
12346 2004-09-22 14:09 pbartok
12349 - Added Form.ControllCollection class
12350 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12351 RemoveOwnedForm (still incomplete, missing on-top and common
12352 minimize/maximize behaviour)
12353 - Added StartPosition property (still incomplete, does not use when
12355 - Added ShowDialog() methods (still incomplete, missing forcing the
12358 2004-09-22 14:05 pbartok
12361 - Added message loop for modal dialogs
12363 2004-09-22 14:02 pbartok
12366 - Fixed wrong types for events
12368 2004-09-22 14:00 pbartok
12370 * Shortcut.cs, FormWindowState.cs:
12371 - Fixed wrong values
12373 2004-09-22 12:01 jackson
12375 * Control.cs: Text is never null
12377 2004-09-20 22:14 pbartok
12380 - Fixed accessibility level for Idle handler
12382 2004-09-20 18:54 jackson
12384 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12385 XplatUIX11.cs: New message loop that uses poll so we don't get a
12388 2004-09-17 10:43 pbartok
12391 - Fixed behaviour of arrow buttons. Now properly behaves like
12392 Buttons (and like Microsoft's scrollbar arrow buttons)
12394 2004-09-17 10:14 pbartok
12397 - Added missing release of keyboard/mouse capture
12399 2004-09-17 06:18 jordi
12401 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12402 Theme.cs: Very early menu support
12404 2004-09-16 17:45 pbartok
12407 - Fixed sending a window to the front
12408 - Added overload for SetWindowPos to avoid casting
12410 2004-09-16 17:44 pbartok
12413 - Added SendToBack and BringToFront methods
12415 2004-09-16 07:00 ravindra
12417 * Copyright: Added Novell URL.
12419 2004-09-16 07:00 ravindra
12421 * ToolBar.cs: Invalidate should be done before redrawing.
12423 2004-09-15 21:19 ravindra
12425 * ColumnHeaderStyle.cs: Enum for ListView Control.
12427 2004-09-15 21:18 ravindra
12429 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12432 2004-09-13 18:26 jackson
12434 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12437 2004-09-13 18:13 jackson
12439 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12440 a second thread and post messages into the main threads message
12441 queue. This makes timing much more consistent. Both win2K and XP
12442 have a minimum timer value of 15 milliseconds, so we now do this
12445 2004-09-13 15:18 pbartok
12447 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12449 - Added Z-Ordering methods
12451 2004-09-13 10:56 pbartok
12454 - Fixed #region names
12455 - Moved properties and methods into their proper #regions
12457 2004-09-13 10:51 pbartok
12460 - Added Accept and CancelButton properties
12461 - Added ProcessDialogKey() method
12463 2004-09-13 08:18 pbartok
12465 * IWindowTarget.cs:
12468 2004-09-10 21:50 pbartok
12471 - Added DoDragDrop() [incomplete]
12472 - Properly implemented 'Visible' handling
12473 - Added SetVisibleCore()
12474 - Implemented FindChildAtPoint()
12475 - Implemented GetContainerControl()
12476 - Implemented Hide()
12478 2004-09-10 19:28 pbartok
12481 - Moved methods into their appropriate #regions
12482 - Reordered methods within regions alphabetically
12484 2004-09-10 18:57 pbartok
12486 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12487 - Added method to retrieve text from window
12489 2004-09-10 18:56 pbartok
12492 - Moved some internal functions into the internal region
12493 - Implemented FontHeight
12494 - Implemented RenderRightToLeft
12495 - Implemented ResizeRedraw
12496 - Implemented ShowFocusCues
12497 - Implemented ShowKeyboardCues
12498 - Implemented FromChildHandle
12499 - Implemented FromHandle
12500 - Implemented IsMnemonic
12501 - Implemented ReflectMessage
12502 - All public and protected Static Methods are now complete
12504 2004-09-10 16:54 pbartok
12507 - Implemented remaining missing public instance properties
12508 - Alphabetized some out of order properties
12510 2004-09-10 05:51 ravindra
12512 * PictureBox.cs: Added a check for null image.
12514 2004-09-10 00:59 jordi
12516 * GroupBox.cs: remove cvs tag
12518 2004-09-09 05:25 ravindra
12520 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12522 2004-09-09 05:23 ravindra
12524 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12527 2004-09-09 02:28 pbartok
12529 * ThemeWin32Classic.cs:
12530 - Improve disabled string look
12532 2004-09-09 01:15 jordi
12534 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12537 2004-09-08 23:56 ravindra
12539 * ItemBoundsPortion.cs: It's enum, not a class!
12541 2004-09-08 23:47 ravindra
12543 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12546 2004-09-08 21:13 ravindra
12548 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12551 2004-09-08 21:03 ravindra
12553 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12556 2004-09-08 21:01 ravindra
12558 * ScrollableControl.cs: Removed unreachable code.
12560 2004-09-08 06:45 jordi
12562 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12564 2004-09-08 01:00 jackson
12566 * XplatUIX11.cs: Only run the timers when updating the message
12567 queue. This effectively gives X messages a higher priority then
12568 timer messages. Timers still need love though
12570 2004-09-07 14:01 jackson
12572 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12573 this for us and the handle is no longer valid.
12575 2004-09-07 13:59 jackson
12577 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12578 loop that manages to not crash. TODO: Add poll and cleanup timers
12580 2004-09-07 11:12 jordi
12582 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12584 2004-09-07 03:40 jordi
12586 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12587 fixes, methods, multiple links
12589 2004-09-06 06:55 jordi
12591 * Control.cs: Caches ClientRectangle rectangle value
12593 2004-09-05 02:03 jordi
12595 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12598 2004-09-04 11:10 jordi
12600 * Label.cs: Refresh when font changed
12602 2004-09-02 16:24 pbartok
12605 - Added sanity check to creation of double buffer bitmap
12607 2004-09-02 16:24 pbartok
12610 - Fixed selection of text color
12611 - Fixed handling of resize event; now properly recreates double
12613 - Added missing assignment of TextAlignment
12614 - Added proper default for TextAlignment
12616 2004-09-02 14:26 pbartok
12619 - Added missing RadioButton.RadioButtonAccessibleObject class
12621 2004-09-02 14:26 pbartok
12624 - Added missing Control.ControlAccessibleObject class
12625 - Started to implement Select()ion mechanisms, still very incomplete
12627 2004-09-02 14:25 pbartok
12629 * AccessibleObject.cs:
12630 - Added missing methods
12632 2004-09-02 14:23 pbartok
12634 * AccessibleNavigation.cs, AccessibleSelection.cs:
12637 2004-09-02 10:32 jordi
12639 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12640 pool for pens, brushes, and hatchbruses
12642 2004-09-01 15:30 jackson
12644 * StatusBar.cs: Fix typo
12646 2004-09-01 14:44 pbartok
12651 2004-09-01 14:39 pbartok
12653 * Button.cs, RadioButton.cs:
12654 - Functional initial check-in
12656 2004-09-01 14:01 pbartok
12659 - Added missing default
12660 - Added missing region mark
12662 2004-09-01 09:10 jordi
12664 * Label.cs: fixes method signatures, new methods, events, fixes
12667 2004-09-01 07:19 jordi
12669 * Control.cs: Init string variables with an empty object
12671 2004-09-01 04:20 jordi
12673 * Control.cs: fires OnFontChanged event
12675 2004-08-31 20:07 pbartok
12678 - Enabled display of strings
12680 2004-08-31 20:05 pbartok
12683 - Added (partial) implementation of DialogResult; rest needs to be
12684 implemented when the modal loop code is done
12686 2004-08-31 19:55 pbartok
12689 - Fixed to match the removal of the needs_redraw concept
12691 2004-08-31 19:55 pbartok
12694 - Removed the rather odd split between 'needs redraw' and redrawing
12695 - Now handles the events that require regeneration (ambient
12696 properties and size)
12698 2004-08-31 19:41 pbartok
12701 - Added firing of BackColorChanged event
12702 - Added TopLevelControl property
12703 - Fixed handling of WM_ERASEBKGRND message
12705 2004-08-31 12:49 pbartok
12711 2004-08-31 12:48 pbartok
12714 - Finished (famous last words)
12716 2004-08-31 04:35 jordi
12718 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12719 scrolling bugs, adds new methods
12721 2004-08-30 14:42 pbartok
12724 - Implemented CheckBox drawing code
12726 2004-08-30 14:42 pbartok
12729 - Made Redraw() and CheckRedraw() virtual
12730 - Improved mouse up/down/move logic to properly track buttons
12732 2004-08-30 09:44 pbartok
12735 - Updated to fix broken build. Not complete yet.
12737 2004-08-30 09:28 pbartok
12742 2004-08-30 09:17 pbartok
12747 2004-08-27 16:12 ravindra
12749 * ToolBarButton.cs: Added TypeConverter attribute.
12751 2004-08-27 16:07 ravindra
12753 * ImageIndexConverter.cs: Implemented.
12755 2004-08-27 14:17 pbartok
12758 - Removed unneeded stack vars
12759 - First attempt to fix sizing issues when layout is suspended
12761 2004-08-25 15:35 jordi
12763 * ScrollBar.cs: more fixes to scrollbar
12765 2004-08-25 14:04 ravindra
12767 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12768 Added the missing divider code and grip for ToolBar Control.
12770 2004-08-25 13:20 pbartok
12773 - Control now properly passes the ambient background color to child
12776 2004-08-25 13:20 jordi
12778 * ScrollBar.cs: small bug fix regarding bar position
12780 2004-08-25 12:33 pbartok
12783 - Now only calls SetTimer or KillTimer if the enabled state has
12786 2004-08-25 12:33 pbartok
12789 - Fixed timer handling, now seems to work
12790 - Improved error message for window creation
12792 2004-08-25 12:32 pbartok
12795 - Fixed generation of MouseUp message
12797 2004-08-25 12:29 jordi
12799 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12800 and fixes for progressbar
12802 2004-08-24 18:43 ravindra
12804 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12805 in ToolBar control.
12807 2004-08-24 17:15 pbartok
12811 - Added missing events
12814 2004-08-24 17:14 pbartok
12816 * StatusBar.cs, PictureBox.cs:
12817 - Now uses Control's CreateParams
12819 2004-08-24 16:36 pbartok
12822 - Fixed background color handling
12823 - Fixed sending of enter/leave events on a grab
12825 2004-08-24 16:35 pbartok
12828 - Refined definitions for CrossingEvent
12830 2004-08-24 12:37 jordi
12832 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12833 formmating, methods signature, and adds missing events
12835 2004-08-24 12:24 jordi
12837 * Control.cs: fire OnEnabledChanged event
12839 2004-08-24 11:17 pbartok
12842 - Implemented SetTimer() and KillTimer()
12844 2004-08-24 11:16 pbartok
12847 - Now uses Remove instead of Add to kill the timer
12849 2004-08-24 10:16 jackson
12851 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12852 picture boxes in the theme now. Draw picture box borders and obey
12855 2004-08-24 05:49 jackson
12857 * Timer.cs: Remove top secret debugging code
12859 2004-08-24 05:34 jackson
12861 * PictureBox.cs: Temp hack to make picture boxes draw their full
12864 2004-08-24 05:29 jackson
12866 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12867 XplatUIX11.cs: Move timers to the driver level. On X they are
12868 queued by the driver and checked on idle.
12870 2004-08-24 01:07 jackson
12872 * XplatUIX11.cs: Use a queue for async messages instead of passing
12873 them as ClientMessages since that was totally broken. Also simply
12874 check for events and return an idle message if none are found. This
12875 gives us an idle handler, and prevents deadlocking when no messages
12878 2004-08-23 18:19 ravindra
12880 * XplatUIWin32.cs: Removed the unwanted destructor.
12882 2004-08-23 17:27 pbartok
12885 - Finishing touches. Works now, just needs some optimizations.
12887 2004-08-23 16:53 jordi
12889 * ScrollBar.cs: small fix
12891 2004-08-23 16:45 pbartok
12894 - Removed debug output
12897 2004-08-23 16:43 jordi
12899 * ScrollBar.cs: [no log message]
12901 2004-08-23 16:10 pbartok
12904 - Fixed handling of WM_CLOSE message
12905 - Removed debug output
12907 2004-08-23 16:09 pbartok
12910 - Added handling of Idle event
12911 - Added handling of form closing
12912 - Fixed reporting of MessageLoop property
12913 - Removed some unneeded code, should provide a bit of a speedup
12915 2004-08-23 15:22 pbartok
12918 - Added InitLayout() method
12919 - Added code to properly perform layout when Anchor or Dock property
12921 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12922 LAMESPEC, tried to do it in a way that makes sense
12924 2004-08-23 14:10 jordi
12926 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12927 properties and methods
12929 2004-08-23 13:55 pbartok
12932 - Properly fixed Jordi's last fix
12933 - Now uses Cursor's Position property instead of calling XplatUI
12936 2004-08-23 13:44 jordi
12938 * PaintEventHandler.cs: Adding missing attribute
12940 2004-08-23 13:39 pbartok
12943 - Implemented Position property
12945 2004-08-23 13:39 pbartok
12947 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12948 - Added method to move mouse cursor
12950 2004-08-23 13:39 pbartok
12953 - Fixed setting of background color
12954 - Added method to move mouse cursor
12956 2004-08-23 13:16 jordi
12958 * Control.cs: avoids null exception
12960 2004-08-22 17:46 jackson
12962 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12965 2004-08-22 17:40 jackson
12967 * XplatUIX11.cs: Add some missing locks
12969 2004-08-22 15:10 pbartok
12971 * Control.cs, Form.cs:
12972 - Removed OverlappedWindow style from Control, instead it's default
12974 - Made form windows OverlappedWindow by default
12976 2004-08-22 13:34 jackson
12978 * ScrollBar.cs: Update the position through the Value property so
12979 the OnValueChanged event is raised.
12981 2004-08-22 12:04 pbartok
12984 - Added Cursor.cs and UserControl.cs
12986 2004-08-22 12:03 pbartok
12989 - Started implementation, not usable yet
12991 2004-08-22 12:00 pbartok
12994 - Implemented UserControl (complete)
12996 2004-08-21 19:20 ravindra
12998 * ToolBar.cs: Correcting the formatting mess of VS.NET.
13000 2004-08-21 18:49 ravindra
13002 * ToolBar.cs: Probably this completes the missing attributes in
13005 2004-08-21 18:03 ravindra
13007 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
13008 Fixed toolbar control signatures.
13010 2004-08-21 16:32 pbartok
13015 2004-08-21 16:30 pbartok
13020 2004-08-21 16:19 pbartok
13022 * Control.cs, Label.cs:
13025 2004-08-21 15:57 pbartok
13028 - Added loads of debug output for development
13029 - Fixed typo in method name
13031 2004-08-21 15:52 pbartok
13033 * ToolBarButtonClickEventArgs.cs:
13034 - Added missing base class
13036 2004-08-21 14:53 pbartok
13039 - Updated to match new GrabWindow signature
13041 2004-08-21 14:51 pbartok
13043 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13044 - Added method to get default display size
13046 2004-08-21 14:23 pbartok
13048 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13049 - Added method to query current grab state
13050 - Added argument to allow confining a grab to a window
13052 2004-08-21 14:22 pbartok
13055 - Added [Flags] attribute so that modifiers can be used in bitwise
13058 2004-08-21 14:21 pbartok
13060 * TrackBar.cs, ScrollBar.cs:
13061 - Replaced direct XplatUI calls with their Control counterpart
13063 2004-08-21 13:32 pbartok
13066 - Implemented Created property
13068 2004-08-21 13:28 pbartok
13071 - Implemented ContainsFocus
13073 2004-08-21 13:26 pbartok
13076 - Implemented CausesValidation
13078 2004-08-21 13:21 pbartok
13081 - Implemented CanFocus
13082 - Implemented CanSelect
13083 - Implemented Capture
13085 2004-08-21 12:35 pbartok
13088 - Fixed bug with Async message handling
13089 - Implemented getting the ModifierKeys
13091 2004-08-21 12:32 jackson
13093 * AsyncMethodResult.cs: Make sure we have the mutex before we
13094 release it. Fixes BeginInvoke on windows
13096 2004-08-21 11:31 pbartok
13098 * XplatUIWin32.cs, XplatUIX11.cs:
13099 - Drivers now return proper mouse state
13101 2004-08-21 10:54 jackson
13103 * Control.cs: Implement EndInvoke
13105 2004-08-21 10:48 jackson
13107 * Timer.cs: Remove unneeded finalizer
13109 2004-08-20 19:52 ravindra
13111 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13112 in mouse event handling in the ToolBar control.
13114 2004-08-20 19:50 ravindra
13116 * ImageList.cs: Changed draw method to use the arguments passed in
13119 2004-08-20 18:58 pbartok
13121 * XplatUIStructs.cs:
13122 - Added private message for async communication
13124 2004-08-20 17:38 ravindra
13126 * Control.cs: Made RightToLeft property virtual and removed a
13129 2004-08-20 14:39 jordi
13131 * ThemeGtk.cs: use style_attach
13133 2004-08-20 14:39 pbartok
13136 - Added jackson's Async code from X11 to Win32
13138 2004-08-20 14:09 pbartok
13141 - Added all new files
13143 2004-08-20 14:09 pbartok
13146 - Added call to set window background color
13148 2004-08-20 14:03 pbartok
13150 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13151 - Added method for setting the window background
13153 2004-08-20 14:02 pbartok
13156 - Added method for setting the background color
13157 - Added handling for erasing the window background
13159 2004-08-20 13:45 jordi
13161 * TrackBar.cs: fixes timer, new properties and methods
13163 2004-08-20 13:34 jackson
13165 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13168 2004-08-20 13:22 jackson
13170 * Timer.cs: Timer Tick events are now handed through Controls Async
13171 mechanism so the callbacks are executed in the same thread as X
13173 2004-08-20 13:19 jackson
13175 * XplatUIDriver.cs: Expose functionality to send async messages
13178 2004-08-20 13:18 jackson
13180 * Control.cs: Implement Begininvoke
13182 2004-08-20 13:14 jackson
13184 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13185 messages through the driver
13187 2004-08-20 13:12 jackson
13189 * XplatUIX11.cs: Lock before all X operations. Also added Async
13190 method functionality through XSendEvent
13192 2004-08-20 13:11 jackson
13194 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13195 This will screw up on 64 bit systems)
13197 2004-08-20 13:10 jackson
13199 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13200 Async messages through X/Win32
13202 2004-08-19 19:39 pbartok
13205 - Updated code to match new HandleData.DeviceContext type
13207 2004-08-19 19:38 pbartok
13210 - Made DeviceContext a generic object to allow usage from various
13212 - Added support for queueing Windows messages
13214 2004-08-19 19:37 pbartok
13217 - Added generation of MouseEnter, MouseLeave and MouseHover events
13218 - Added cleanup on EndPaint
13220 2004-08-19 19:17 pbartok
13223 - Added handling of WM_MOUSEHOVER
13224 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13227 2004-08-19 18:55 jordi
13229 * ThemeGtk.cs: fixes button order
13231 2004-08-19 18:12 jordi
13233 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13235 2004-08-19 17:09 pbartok
13238 - Added Right property
13239 - Added RightToLeft property
13241 2004-08-19 16:27 jordi
13243 * ThemeGtk.cs: experimental GTK theme support
13245 2004-08-19 16:26 jordi
13247 * ITheme.cs, Theme.cs: move themes from an interface to a class
13249 2004-08-19 16:25 jordi
13251 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13254 2004-08-19 16:04 pbartok
13257 - Added colormap basics
13258 - Added a way to re-initialize with a different display handle
13259 - Fixed setting of the window background color
13260 - Added various X11 imports related to colors and colormaps
13262 2004-08-19 15:51 pbartok
13265 - Removed packing hints (Paolo suggested this a while back)
13266 - fixed colormap type
13267 - Added default Atom types
13268 - Added Screen and color structs and enums
13270 2004-08-19 15:39 pbartok
13273 - Added missing Draw() method
13274 - Added missing RecreateHandle event
13276 2004-08-19 15:30 pbartok
13279 - Added handling of WM_CLOSE
13281 2004-08-18 13:16 jordi
13283 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13286 2004-08-18 09:56 jordi
13288 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13290 2004-08-17 15:31 ravindra
13292 * SWF.csproj: Updated project.
13294 2004-08-17 15:25 pbartok
13297 - Drawing improvement; don't call UpdateBounds if we are not visible
13298 (or have been minimized)
13300 2004-08-17 15:24 pbartok
13303 - Finished IsVisible
13304 - Added Win32GetWindowPlacement
13306 2004-08-17 15:08 jackson
13308 * Panel.cs: Initial checkin of the Panel
13310 2004-08-17 14:25 pbartok
13313 - Fixed broken handling of default window sizes
13315 2004-08-17 13:29 jackson
13317 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13318 has a large startup time.
13320 2004-08-17 10:25 jackson
13322 * HandleData.cs: union areas properly
13324 2004-08-17 10:12 jackson
13326 * HandleData.cs: union areas properly
13328 2004-08-16 20:00 ravindra
13330 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13332 2004-08-16 18:48 ravindra
13334 * ToolBar.cs: Added attributes.
13336 2004-08-16 17:17 ravindra
13338 * SWF.csproj: Updated project.
13340 2004-08-16 17:16 jackson
13342 * XplatUIX11.cs: Check for more expose events before sending a
13343 WM_PAINT so they can all be grouped together. This makes dragging a
13344 window across another window redraw in a sane way.
13346 2004-08-16 15:47 pbartok
13349 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13350 support OnMouseEnter/Leave()
13351 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13354 2004-08-16 15:46 pbartok
13356 * XplatUIStructs.cs, XplatUIX11.cs:
13357 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13358 OnMouseEnter/Leave()
13360 2004-08-16 15:34 jackson
13362 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13363 sure messages get the message field set to WM_NULL if they are not
13366 2004-08-16 15:24 jackson
13368 * HandleData.cs: HandleData is used for storing message information
13371 2004-08-15 17:23 ravindra
13373 * ColorDepth.cs: Added attribute.
13375 2004-08-15 17:23 ravindra
13377 * SWF.csproj: Updated project for ToolBar Control.
13379 2004-08-15 17:20 ravindra
13381 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13382 control and also dos2unix format.
13384 2004-08-15 17:13 ravindra
13386 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13387 ToolBarButtonClickEventArgs.cs,
13388 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13389 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13391 2004-08-15 15:31 pbartok
13394 - First (mostly) working version
13396 2004-08-13 16:15 pbartok
13399 - Fixed Anchor default
13401 2004-08-13 15:43 pbartok
13404 - Changed GetCursorPos signature
13406 2004-08-13 15:42 pbartok
13408 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13409 - Changed signature for GetCursorPos
13411 2004-08-13 15:25 pbartok
13415 - Fixed resizing/exposure handling
13417 2004-08-13 15:22 jordi
13419 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13422 2004-08-13 14:55 jordi
13424 * TrackBar.cs: change from wndproc to events
13426 2004-08-13 13:00 jordi
13428 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13429 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13431 2004-08-13 12:53 pbartok
13434 - Changed GetWindowPos to also provide client area size
13435 - Fixed broken prototypes for several win32 functions
13437 2004-08-13 12:53 pbartok
13439 * XplatUI.cs, XplatUIDriver.cs:
13440 - Changed GetWindowPos to also provide client area size
13442 2004-08-13 12:52 pbartok
13445 - Added generation of WM_POSCHANGED
13446 - Changed GetWindowPos to also provide client area size
13448 2004-08-13 12:52 pbartok
13451 - Added Dispose() and destructor
13452 - Fixed resizing and bounds calculation
13454 - Added memory savings for invisible windows
13456 2004-08-13 12:46 jordi
13458 * TrackBar.cs: adds timer and grap window
13460 2004-08-13 10:25 jackson
13462 * Timer.cs: SWF Timer
13464 2004-08-12 16:59 pbartok
13466 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13467 - Implemented method to get current mouse position
13469 2004-08-12 14:29 jordi
13471 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13472 enhancement, fix mouse problems, highli thumb, etc
13474 2004-08-12 13:31 pbartok
13477 - Fixed Anchoring bugs
13479 2004-08-12 13:01 jackson
13481 * StatusBar.cs: Don't forget things
13483 2004-08-12 12:54 jackson
13485 * ThemeWin32Classic.cs: Handle owner draw status bars
13487 2004-08-12 12:54 jackson
13489 * StatusBar.cs: Implement missing properties, events, and methods.
13490 Handle mouse clicking
13492 2004-08-12 10:19 jackson
13494 * StatusBarPanelClickEventArgs.cs,
13495 StatusBarPanelClickEventHandler.cs: Classes for handling status
13496 bar panel click events
13498 2004-08-12 10:10 jackson
13500 * Control.cs: Add missing properties
13502 2004-08-12 09:46 pbartok
13504 * BindingsManagerBase.cs:
13505 - Name changed to BindingManagerBase.cs
13507 2004-08-12 09:25 jordi
13509 * ScrollableControl.cs: calls ctrlbase instead of exeception
13511 2004-08-11 16:28 pbartok
13513 * InputLanguageChangingEventArgs.cs:
13514 - Never check in before compiling. Fixes the last check-in
13516 2004-08-11 16:26 pbartok
13518 * InputLanguageChangingEventArgs.cs:
13519 - More signature fixes
13521 2004-08-11 16:20 pbartok
13523 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13524 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13525 ImageListStreamer.cs, InputLanguage.cs,
13526 InputLanguageChangedEventArgs.cs,
13527 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13528 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13529 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13530 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13533 2004-08-11 16:16 pbartok
13537 - Added .Net 1.1 method
13539 2004-08-11 15:25 pbartok
13542 - Fixed BindingManagerBase.cs filename
13544 2004-08-11 15:22 pbartok
13546 * BindingManagerBase.cs:
13547 - Was checked in with wrong filename
13549 2004-08-11 14:50 pbartok
13554 2004-08-11 13:41 jordi
13556 * XplatUIWin32.cs: Fixes ClientRect
13558 2004-08-11 13:19 pbartok
13560 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13562 - We had SetWindowPos and MoveWindow to set window positions and
13563 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13564 keep SetWindowPos as matching counterpart
13565 - Added some X11 sanity checking
13567 2004-08-11 12:59 pbartok
13570 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13571 (It seems that SetBounds is just a front for SetBoundsCore and
13572 SetBoundsCore updates the underlying window system and
13573 UpdateBounds is responsible for updating the variables associated
13574 with the Control and sending the events)
13575 - Major cleanup of Size handling; we now have two sizes, client_size
13576 and bounds. Bounds defines the window with decorations, client_size
13579 2004-08-11 12:55 pbartok
13581 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13582 - Added method to calculate difference between decorated window and
13585 2004-08-11 12:54 pbartok
13588 - Forcing redraw on resize
13590 2004-08-11 11:43 pbartok
13593 - Removed disposing of the actual images when the list is disposed
13595 2004-08-11 09:13 pbartok
13598 - Now properly reparents windows
13600 2004-08-11 08:37 pbartok
13605 2004-08-11 07:47 pbartok
13608 - Rewrote the collection stuff. Might not be as fast now, not
13609 keeping the number of children around and accessible directly, but
13610 it's more straightforward
13612 2004-08-11 07:44 pbartok
13614 * AccessibleObject.cs:
13615 - Fixed to match ControlCollection rewrite
13617 2004-08-11 07:43 pbartok
13620 - Added missing creation of the collection list
13622 2004-08-10 20:08 jackson
13624 * StatusBar.cs: Get the paint message from WndProc
13626 2004-08-10 19:31 jackson
13628 * ThemeWin32Classic.cs: Create Brushes as little as possible
13630 2004-08-10 19:20 jackson
13632 * UICues.cs: Add Flags attribute
13634 2004-08-10 19:19 jackson
13636 * StatusBarPanel.cs: Signature cleanup
13638 2004-08-10 19:10 jackson
13640 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13641 Initial implementation of status bar item drawing
13643 2004-08-10 17:27 jordi
13645 * TrackBar.cs: add missing methods, properties, and restructure to
13648 2004-08-10 16:24 jackson
13650 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13651 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13654 2004-08-10 13:21 jordi
13656 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13657 enhancements and standarize on win colors defaults
13659 2004-08-10 12:52 jackson
13661 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13662 ThemeWin32Classic.cs: Implement DrawItem functionality
13664 2004-08-10 12:47 jordi
13666 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13668 2004-08-10 12:32 jordi
13670 * Control.cs: throw ontextchange event
13672 2004-08-10 11:43 pbartok
13675 - Added more to the still unfinished Dock/Anchor layout code
13677 2004-08-10 11:39 pbartok
13679 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13680 - Added GetWindowPos method
13682 2004-08-10 11:36 pbartok
13685 - Implemented several methods
13687 2004-08-10 09:47 jackson
13689 * TrackBar.cs: Allow control to handle buffering
13691 2004-08-10 09:41 jackson
13693 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13695 2004-08-10 09:24 jackson
13697 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13699 2004-08-10 09:09 jackson
13701 * StatusBar.cs: Let Control handle all the buffering.
13703 2004-08-10 09:08 jackson
13705 * Control.cs: Control will now handle the buffering code, so each
13706 control does not have to implement this.
13708 2004-08-10 08:34 jackson
13710 * XplatUIDriver.cs: Use default colors from the theme
13712 2004-08-09 17:12 pbartok
13715 - Fixed several bugs Ravindra pointed out
13717 2004-08-09 16:11 pbartok
13720 - Added incomplete dock layout code
13721 - Added support for mouse wheel
13723 2004-08-09 16:09 pbartok
13726 - Added handling for middle and right mousebutton
13727 - Added handling for mouse wheel
13728 - Added handling for key state and mouse state and position
13729 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13732 2004-08-09 15:40 jackson
13734 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13735 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13738 2004-08-09 15:37 jackson
13740 * StatusBar.cs: Initial implementation of StatusBar
13742 2004-08-09 15:36 jackson
13744 * ITheme.cs: Add support for drawing status bar and getting status
13747 2004-08-09 15:35 pbartok
13752 2004-08-09 15:34 jackson
13754 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13755 status bar item sizes
13757 2004-08-09 15:21 jackson
13759 * ThemeWin32Classic.cs: Use known colors for default control
13762 2004-08-09 15:12 jackson
13764 * ThemeWin32Classic.cs: Make the default font static, it is static
13765 in control so this doesn't change functionality and creating fonts
13768 2004-08-09 14:56 pbartok
13771 - Added GrabMode enum
13773 2004-08-09 14:55 pbartok
13775 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13776 - Removed Run method, was only required for initial development
13778 2004-08-09 14:51 pbartok
13780 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13781 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13784 2004-08-09 13:48 pbartok
13787 - Fixed default sizing for child windows
13789 2004-08-09 12:56 pbartok
13792 - Added generation of WM_DESTROY message
13793 - Added handling of window manager induced shutdown
13795 2004-08-09 11:31 jackson
13797 * ThemeWin32Classic.cs: New names for control properties
13799 2004-08-09 11:25 jackson
13801 * Control.cs: Use new color names
13803 2004-08-09 11:02 jackson
13805 * XplatUI.cs: Get default window properties from the theme
13807 2004-08-09 11:01 jackson
13809 * ITheme.cs: The theme engine now controls default window
13812 2004-08-09 11:00 jackson
13814 * ThemeWin32Classic.cs: Add default window color properties
13816 2004-08-09 10:17 jackson
13818 * ThemeWin32Classic.cs: Use correct default back color
13820 2004-08-09 10:05 jackson
13822 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13825 2004-08-09 09:56 jackson
13827 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13829 2004-08-09 09:54 jackson
13831 * Control.cs: Get default properties from the theme.
13833 2004-08-09 09:53 jackson
13835 * ITheme.cs: Themes now handle default control properties
13837 2004-08-09 09:53 jackson
13839 * ThemeWin32Classic.cs: Themes now handle default control
13840 properties so coloring will be consistent
13842 2004-08-08 16:54 jordi
13844 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13846 2004-08-08 15:08 jordi
13848 * XplatUIX11.cs: fixes keyboard crash
13850 2004-08-08 13:47 jordi
13852 * Label.cs: add cvs header info
13854 2004-08-08 12:09 jackson
13856 * ThemeWin32Classic.cs: Add pen_buttonface
13858 2004-08-08 11:52 jordi
13860 * Label.cs, LinkLabel.cs: [no log message]
13862 2004-08-08 11:34 jordi
13864 * ThemeWin32Classic.cs: Use Windows Standard Colours
13866 2004-08-07 17:32 jordi
13868 * TrackBar.cs: throw exceptions of invalid enums values
13870 2004-08-07 17:31 jordi
13872 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13875 2004-08-07 16:56 jackson
13877 * HorizontalAlignment.cs: Initial checkin
13879 2004-08-07 13:16 jordi
13881 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13884 2004-08-07 13:05 jordi
13886 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13887 GetSysColor defines
13889 2004-08-06 18:01 pbartok
13891 * ThemeWin32Classic.cs:
13892 - Fixed some rounding issues with float/int
13894 2004-08-06 18:00 jackson
13896 * DockStyle.cs, AnchorStyles.cs:
13898 Add flags and serializable attributes.
13900 2004-08-06 17:46 pbartok
13903 - Implemented GetParent
13905 2004-08-06 17:18 pbartok
13908 - Fixed some rounding issues with float/int
13910 2004-08-06 17:17 pbartok
13912 * X11Structs.cs, XplatUIX11.cs:
13913 - Fixed Refresh and Invalidate
13915 2004-08-06 15:30 pbartok
13917 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13918 - Fixed recursive loop when resizing
13919 - Improved/fixed redrawing on expose messages
13921 2004-08-06 09:53 jordi
13923 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13924 keyboard navigation
13926 2004-08-06 08:02 pbartok
13928 * X11Structs.cs, XplatUIX11.cs:
13929 - Fixed reparenting
13930 - Fixed window border creation
13932 2004-08-05 15:38 pbartok
13935 - Attempted fix for reparenting problems
13937 2004-08-04 15:14 pbartok
13940 - Fixed Invalidation bug (calculated wrong client area)
13941 - Added ClientSize setter
13943 2004-08-04 15:13 pbartok
13946 - Added AutoScale properties
13948 2004-08-04 15:13 pbartok
13951 - Added latest files
13953 2004-08-04 14:11 pbartok
13955 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13957 - Added Invalidate handling
13959 2004-08-03 17:09 jordi
13961 * XplatUIDriver.cs: fixes spelling mistake
13963 2004-07-27 09:53 jordi
13965 * TrackBar.cs: fixes trackbar events, def classname, methods
13968 2004-07-27 09:29 jordi
13970 * ScrollBar.cs: fixes scrollbar events
13972 2004-07-27 04:38 jordi
13974 * Control.cs: changes to be able to run winforms samples
13976 2004-07-26 11:42 jordi
13978 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13979 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13981 2004-07-26 05:41 jordi
13983 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13984 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13987 2004-07-22 09:22 jordi
13989 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13990 check link overlapping, implement events, and fixes
13992 2004-07-21 10:28 jordi
13994 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13996 2004-07-21 10:19 jordi
13998 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13999 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
14000 LinkLabelLinkClickedEventArgs.cs,
14001 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
14002 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
14005 2004-07-19 13:09 jordi
14007 * Control.cs, Label.cs: label control re-written: added missing
14008 functionlity, events, and properties
14010 2004-07-19 10:49 jordi
14012 * Control.cs: fixes SetBounds logic
14014 2004-07-19 01:29 jordi
14016 * Control.cs: Call RefreshWindow only if the window has created
14018 2004-07-15 14:05 pbartok
14020 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
14021 - Implemented ImageList and ImageList.ImageCollection classes
14022 - Added ColorDepth enumeration
14023 - Updated SWF VS.Net project
14025 2004-07-15 11:06 jordi
14027 * XplatUIStructs.cs: added MsgButons enum
14029 2004-07-15 11:03 jordi
14031 * Control.cs: added basic mouse handeling events
14033 2004-07-15 03:38 jordi
14035 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14036 Vertical TrackBar control implementation
14038 2004-07-13 09:33 jordi
14040 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14042 2004-07-13 09:31 jordi
14044 * Control.cs, Form.cs: commit: new properties and fixes form size
14047 2004-07-09 14:13 miguel
14049 * ProgressBar.cs: Spelling
14051 2004-07-09 11:25 pbartok
14054 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14057 2004-07-09 11:17 miguel
14059 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
14061 * ProgressBar.cs: Fixed spelling for `block'
14063 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
14066 Avoid using the += on rect.X, that exposed a bug in the compiler.
14068 2004-07-08 23:21 pbartok
14070 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
14071 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
14072 BaseCollection.cs, Binding.cs, BindingContext.cs,
14073 BindingMemberInfo.cs, BindingsCollection.cs,
14074 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
14075 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
14076 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
14077 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
14078 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
14079 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
14080 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
14081 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
14082 FrameStyle.cs, GiveFeedbackEventArgs.cs,
14083 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
14084 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
14085 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
14086 InputLanguageChangedEventArgs.cs,
14087 InputLanguageChangedEventHandler.cs,
14088 InputLanguageChangingEventArgs.cs,
14089 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14090 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14091 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14092 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14093 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14094 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14095 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14096 QueryAccessibilityHelpEventArgs.cs,
14097 QueryAccessibilityHelpEventHandler.cs,
14098 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14099 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14100 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14101 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14102 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14103 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14104 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14105 XplatUIX11.cs, lang.cs: