1 2006-05-25 Jackson Harper <jackson@ximian.com>
3 * TreeView.cs: When we get focus if there is no selected node make
5 - Remove some uneeded setup code from Draw.
6 * TreeNodeCollection.cs: If the tree doesn't have a top node when
7 a new node is inserted make the new node the top.
9 * Timer.cs: Use Utc time so that no local time zone stuff needs to
10 be used (should be faster).
12 2006-05-25 Chris Toshok <toshok@ximian.com>
14 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
15 problem with the last commit.
17 2006-05-25 Chris Toshok <toshok@ximian.com>
19 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
20 need the invalidate call here, while scrolling right-to-left via
21 the left arrow key (i.e. moving the editing cell while scrolling).
23 * DataGrid.cs (.ctor): remove the initialization of
24 ctrl_pressed/shift_pressed. We no longer track them using key
25 up/down handlers, but by using Control.ModifierKeys. Also, switch
26 to using ValueChanged handlers on the scrollbars instead of
27 Scrolled event handlers. This simplifies a bunch of the scrolling
29 (GridHValueChanged): rename from GridHScrolled, and change it to
30 work with the new event args.
31 (GridVValueChanged): same.
32 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
33 (OnMouseWheel): actually scroll the datagrid. Don't change the
35 (ProcessGridKey): correct all the keyboard navigation stuff I
36 could find. Ctrl up/down/left/right/home/end work now.
37 (EnsureCellVisibility): correct method name spelling. Also,
38 simplify this a touch by not explicitly calling the
39 ScrollToRow/ScrollToColumnInPixels methods. We just set the
41 (OnKeyUpDG): no need for this method now.
43 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * LinkLabel.cs: display the OverrideCursor when hovering the label.
48 2006-05-25 Chris Toshok <toshok@ximian.com>
50 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
53 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
55 * Application.cs: Moved setting of is_modal and closing to before
56 we create the control, to allow the event handlers called as a
57 result of creation affect closing. Also removed Gonzalo's previous
58 change to setting DialogResult, the behaviour has been moved to
61 - ShowDialog(): Removed explicit creation of the form, let RunLoop
63 - ShowDialog(): If no dialog result is set, we need to return Cancel
64 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
65 the close is cancelled
67 2006-05-25 Jackson Harper <jackson@ximian.com>
69 * StatusBar.cs: We only need to update the sizes of the other
70 panels when we have auto size contents. Also we are only updating
71 the contents of the panel, not the borders, so compensate for the
72 border width (TODO: get this width from the theme somehow).
73 * TreeView.cs: Scrollable is true by default
74 - Use invalidate instead of refresh where needed
75 - Factor the scrollable value into scrollbar updating
76 - Update the scrollbars if the Scrollable property is altered
77 - Update the selected node if its ImageIndex is changed
78 - Handle null nodes in UpdateNode (mainly so we don't have to
79 check if selected is null when updating it
80 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
81 are factored into the visible count
82 - Use VisibleCount for clarity in the code
83 - When the font is changed we need to recurse through all the
84 nodes and invalidate their sizes
86 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
88 * Application.cs: set the DialogResult to fixed when the main form is
89 hidden or destroyed while being modal.
91 2006-05-25 Miguel de Icaza <miguel@novell.com>
93 * Theme.cs: Use Tangoified messagebox icons.
95 (GetSizedResourceImage): Also cope with width = 0 and do not
96 trigger a warning in that case (0 means "give me your icon from
97 the resouce, no special size needed).
99 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
101 * Application.cs: Leave runloop if the the main modal form is
102 hidden (fixes #78484)
104 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
106 * BindingContext.cs : reject null datasource in Contains() and
108 * CurrencyManager.cs : check data_member validity when data_source
109 is dataset. When it is late binding, the initial position is -1.
111 2006-05-24 Jackson Harper <jackson@ximian.com>
113 * TreeNodeCollection.cs: Dont't recalculate the visible order on
114 inserted nodes that aren't visible. This changes the
115 max_visible_order which confuses scrollbar settings.
116 - Use the enumerator to get the prev node instead of duplicating
118 * TreeView.cs: Use new method for setting scrollbar values
119 - Don't set the bounds every time the scrollbar is updated
120 - When updating below the root node use an invalidate instead of a
121 refresh to prevent the child controls (scrollbars) from being
122 refreshed. (UpdateBelow still needs to be reworked anyways).
123 - Reenable SetBottom now that visible orders are set correctly,
124 added some debug code incase we ever get bad values there again.
125 - Set the scrollbar max to 2 less then the max value, this
126 compensates for the max value being one above the node count, and
127 for scrollbars adding one extra "notch".
128 - When drawing image nodes if there is an imagelist we draw the
129 first image in the list if the supplied image index is out of the
132 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
134 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
135 we receive a size change from the WM (Fixes #78503)
137 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
139 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
140 rectangle (Fixes #78501)
142 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
145 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
147 - Fixed MouseMove to no longer switch pressed state unless the left
148 mouse button is pressed. Atsushi provided the original patch (#78485)
150 2006-05-24 Jackson Harper <jackson@ximian.com>
152 * ScrollBar.cs: New internal methods that allow us to change a
153 couple values on the scrollbar (the most common case is maximum
154 and large change) without getting multiple invalidates.
156 2006-05-24 Chris Toshok <toshok@ximian.com>
158 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
159 (Edit): save off the original state in oldState, and set
160 grid.is_editing to true.
161 (OnKeyDown): abort editing if escape is pressed. also, call
162 NextState if space is pressed.
163 (OnMouseDown): call NextState.
164 (NextState): factor out shared code from OnKeyDown and OnMouseDown
165 here. Also, only invalidate the row header once (on the initial
166 is_changing switch) to save on redraws.
168 2006-05-24 Chris Toshok <toshok@ximian.com>
170 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
171 if the value in the cell is different than it was before. This
172 keeps us from triggering a layout when we move around a datarid
173 with a highlighted cell.
174 (Edit): suspend layout when creating/positining the text box, and
175 resume passing false so we don't ever actually re-layout.
176 (ReleaseHostedControl): same.
177 (EnsureTextBox): reformat slightly, and set WordWrap to false.
179 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
180 control-key sequences should go to the datagrid - remove that
181 lock. Also, modify the conditions under which we move between
182 cells when moving the cursor within a cell, and remove the "this"
183 and "base" from field accesses. We weren't even consistent, given
184 they all were in the base class.
186 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
188 * Binding.cs : (.ctor)
189 An obvious NRE fix for BindingTest.CtorNullTest().
191 2006-05-23 Chris Toshok <toshok@ximian.com>
193 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
194 them between lines. This fixes some quirks editing cells in the
197 2006-05-23 Jackson Harper <jackson@ximian.com>
199 * TreeView.cs: Use begin/end update when doing expand/collapse all
200 so that we don't get flicker on the scrollbar.
202 2006-05-23 Jackson Harper <jackson@ximian.com>
204 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
205 treenode calculations to be independant of the painting code. To
206 do this nodes track a visible order which is calculated by the
208 - Call new methods for expanding/collapsing nodes. These methods
209 use scrollwindow so we don't have to update everything below the
211 * TreeView.cs: Refactored drawing and scrolling code. We don't
212 need to update nodes when drawing anymore or calculate scrollbar
214 - Added new methods for expanding/collapsing nodes. These methods
215 use ScrollWindow so as to not have to redraw all the nodes below.
216 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
217 we add/remove nodes or sort.
218 - Handle removing the selected and the top node properly.
220 2006-05-23 Chris Toshok <toshok@ximian.com>
222 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
223 maybe this should actually happen in the datagrid code?
224 (EndEdit): no need to invalidate anything, given that
225 ReleaseHostedControl causes the datagrid to relayout, which
226 invalidates everything anyway.
228 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
230 (set_SelectionBackColor): call InvalidateSelection instead of
232 (set_SelectionForeColor): same.
233 (BeginEdit): Flesh this out a bit.
234 (CancelEditing): only do any of this if we're editing/adding.
236 (OnMouseDown): there's no need to cancel editing here, it's done
238 (SetCurrentCell): only invalidate the current row header if it's a
239 different row than the new one.
240 (ShiftSelection): fix this to work like MS does.
241 (ResetSelection): factor out the invalidation of selected_rows to
243 (SetDataSource): cancel any editing that's going on.
245 * DataGridColumnStyle.cs
246 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
247 call the non-interface version.
249 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
250 header rectangle with the clip rectangle so we don't redraw the
251 entire header for just a small area. Gets rid of the last flicker
252 when horizontally scrolling.
253 (DataGridPaintRow): same.
255 2006-05-23 Mike Kestner <mkestner@novell.com>
257 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
258 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
259 poorly placed checkbox on the MS control. Fixes Alex's unfiled
262 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
264 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
265 and this fixes #78493
267 2006-05-23 Miguel de Icaza <miguel@novell.com>
269 * Theme.cs (GetSizedResourceImage): Scale images if the proper
272 * FileDialog.cs: Do not change the background for the side bar as
273 it wont work nicely with the theme, and also reduces the artifacts
274 in rendering the icons (which I want to fix too).
276 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
277 resources, not resgen resources.
279 (PlatformDefaultHandler): Pull images using the new API.
281 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
283 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
284 a reference to the hwnd and will not remove it unless there are
285 no pending exposures (fixes #78341)
286 * XplatUI.cs: Improved debug
288 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
290 * MenuAPI.cs : don't handle OnClick event when it was not the left
291 button. Fixed bug #78487.
293 2006-05-23 Mike Kestner <mkestner@novell.com>
295 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
296 prefer submenus to the top menu for item lookup, to avoid popping down
299 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
301 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
302 Graphics.FillRectangle as the visual results are really bad (even
303 on win). We now draw perfect arrows (and perfect shadows when the
304 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
305 Pen.DashPattern to draw the dots of each line.
307 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
309 * FileDialog.cs: Update the filename combobox when navigating through
310 the ListView with the cursor keys. Fixes part 7 of bug #78446.
312 2006-05-22 Mike Kestner <mkestner@novell.com>
314 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
317 2006-05-22 Mike Kestner <mkestner@novell.com>
319 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
320 requests. Fix a misspelled parameter and a copy paste exception error
323 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
325 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
326 to get the same width/height (5/13) on X11 as the default font has on
327 win32. This means that our DefaultFont emSize is smaller than the
328 the MS SWF equivalent (even thought the width/height stays the same)
330 2006-05-20 Jackson Harper <jackson@ximian.com>
333 * MdiWindowManager.cs:
334 * InternalWindowManager.cs: Make sure to use the border width from
337 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
339 * PrintDialog.cs: Implements printer details
341 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
343 * FileDialog.cs: Added focus handling for PopupButtonPanel.
344 Fixes part 1 and 2 of bug #78446
346 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
348 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
349 instead of sticking to the first ever calculated value
351 2006-05-19 Mike Kestner <mkestner@novell.com>
353 * ComboBox.cs: fix mouse motion selection to use MousePosition and
354 PointToClient, since Capture is set. Fixes #78344.
356 2006-05-19 Mike Kestner <mkestner@novell.com>
358 * ListView.cs: match MS behavior in Details view where items are not
359 drawn if Columns.Count == 0.
360 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
361 Use a separate pen to draw the check, since changing the width affects
362 the box as well. Fixes #78454.
364 2006-05-18 Miguel de Icaza <miguel@novell.com>
366 * ListView.cs: ArgumentOutOfRangeException, single versions of the
367 exception should throw the name of the invalid argument.
369 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
370 there are no files listed.
372 2006-05-18 Jackson Harper <jackson@ximian.com>
374 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
377 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
379 * Control.cs: Brought back our old UpdateZOrder method as a private
380 function and switched our calls from UpdateZOrder to the new one.
381 This fixes the Paint.Net canvas disappearing bug.
383 2006-05-18 Jackson Harper <jackson@ximian.com>
386 * ThemeWin32Classic.cs:
387 * InternalWindowManager.cs: Move the drawing into the theme,
388 expose everything the theme should need from the window manager.
390 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
392 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
393 from the call to NativeWindow to avoid walking up the parent chain
394 further than needed (speeds up setting cursors and avoids setting
395 the wrong cursor if a parent has another cursor defined)
396 * Cursor.cs: When loading an icon as cursor, MS uses the center of
397 the icon as hotspot, not what's contained as hotspot in the icon
398 file. This fixes the perceived drawing offset seen with Paint.Net
400 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
403 - Store the calculated rectangle in Hwnd object and use it when
404 setting the client size
405 - Force Toolwindows to always be type Dock, to ensure they're on top
407 2006-05-18 Mike Kestner <mkestner@novell.com>
409 * ComboBox.cs: first pass at ComboBox rework. Layout is more
410 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
411 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
412 Substantial refactoring to remove confusing nested classes. Coding
413 standard and Get+Set->property refactorings. Shift to index based
414 highlighting in ComboListBox instead of constantly using IndexOf and
415 Items[]. Add invalidations on resize for DropDownList to fix ugliness
416 in FileDialog growth. Draw borders manually since Simple mode needs
417 to look like two independent controls. Make listbox border
418 conditional to DropDownStyle. Improved OwnerDraw support.
420 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
422 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
423 Don't set the disposed graphics to null, so we can throw the "right"
424 exception if the graphics is reused later (added a flag to avoid
425 double disposing). Some behaviours are different under 2.0 and are
426 filled under bug #78448.
428 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
430 * Control.cs: When double-buffering is enabled, we need to reset
431 our graphics context between paint calls. Otherwise, any
432 transformations and other alterations on the context will
433 become cumulative (#77734)
435 2006-05-18 Mike Kestner <mkestner@novell.com>
437 * ListView.cs: do focused item selection like MS on clicks.
438 Rework focus handling for ItemControl so LostFocus invalidates as
440 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
441 the ListView ItemControl has focus.
443 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
445 * XplatUIX11.cs: If client_window ends up being width or height zero
446 due to border settings, move it off window inside whole_window (#78433)
448 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
450 * Mime.cs: Shrink the mime file cache correctly.
452 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
454 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
456 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
458 * XplatUIX11.cs (AddExpose): More sanity checks
460 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
463 - AddExpose: Don't add expose ranges outside the size of our
465 - Cast opacity values to Int32 to avoid crashes with certain
467 - Added disabled code paths that protect against illegal cross-
468 thread painting (Developers.exe)
470 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
472 * ProgressBar.cs: Invalidate the control when it's resized
473 since block size is based on control size. (#78388)
475 2006-05-16 Miguel de Icaza <miguel@novell.com>
477 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
478 of setting the incoming argument to the "reset" value, we set the
479 this.datamember to string.empty (before we were invalidating the
484 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
486 * Form.cs: Only apply transparency settings after the form
487 is created. (Fixes #77800)
489 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
491 * ApplicationContext.cs: Grab the HandleDestroyed event so
492 we know when to fire OnMainFormClosed
494 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
496 * Application.cs: Introduced sub-class to allow tracking of
497 threads and centralized triggering of the event mess for
498 ThreadExit, AppExit, etc.. (#76156)
500 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
503 - Do not return a null icon index value for a mime subclass.
504 Instead try the main mime type class too.
505 - Seems that some newer distributions don't have a link to some
506 gnome default icons anymore. So check the default gnome dir too.
509 2006-05-16 Jackson Harper <jackson@ximian.com>
511 * MdiClient.cs: Don't paint the parent background image if we have
512 our own background image.
514 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
517 - PerformLayout: Do not shrink space filled by DockStyle.Fill
518 controls, all filled controls are supposed to overlap (#78080)
519 - UpdateZOrder is supposed to update the control's z-order in the
520 parent's z-order chain. Fixed to behave like that
521 - BringToFront: Removed obsolete code
522 - SendToBack: Simplyfied
523 - SetChildIndex: Trigger layout calculations when Z-order changes
524 since layout is done by z-order
526 2006-05-16 Chris Toshok <toshok@ximian.com>
529 * DataGrid.cs (set_AlternatingBackColor): use
530 grid_drawing.InvalidateCells instead of Refresh().
531 (set_BackColor): call grid_drawing.InvalidateCells.
532 (set_BackgroundColor): use Invalidate instead of Refresh.
534 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
535 invalidate the cell area.
537 2006-05-15 Chris Toshok <toshok@ximian.com>
540 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
541 on to DataGridPaintRow.
542 (DataGridPaintRow): take a clip argument, and only draw the cells
543 which intersect it. same with the not_usedarea.
545 * Theme.cs (DataGridPaintRow) add @clip parameter.
547 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
548 XplatUI.ScrollWindow.
551 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
552 with last column which was causing a gray swath to appear with the
553 XplatUI.ScrollWindow code.
555 2006-05-15 Chris Toshok <toshok@ximian.com>
557 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
558 use XplatUI.ScrollWindow.
559 (VerticalScrollEvent): use XplatUI.ScrollWindow.
561 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
563 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
565 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
567 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
568 file since there are no equivalent X11 cursors
570 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
572 * MonthCalendar.cs : DateTimePicker should reflect selected date
573 on mouse*up*, not mouse*down*. Fixed originally reported part of
576 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
578 * TabControl.cs : When argument index is equal or more than tab
579 count, just ignore. Fixed bug #78395.
581 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
583 * Control.cs: Dispose all child controls when control is diposed (#78394)
585 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
587 * ColorDialog.cs: Finally it is possible to select the color with
590 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
592 * PrintDialog.cs: Fix typo
594 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
596 * PrintDialog.cs: PrintDialog is not resizable
597 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
598 color. Made some ToolBar drawing methods protected virtual.
600 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
602 * PrintDialog.cs: Implementation of the PrintDialog
604 2006-05-12 Chris Toshok <toshok@ximian.com>
606 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
607 thumb, instead use MoveThumb. This has the side effect of making
608 most of the other thumb moving machinery use MoveThumb as well.
609 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
610 need to actually invalidate the rectangle where the new thumb will
612 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
613 We force an Update() after, so it's not as fast as it could be,
614 but at least there's zero flicker and no droppings.
615 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
616 (UpdateThumbPos): add another argument (dirty), which says whether
617 or not to calculate/add dirty regions which we later invalidate.
618 For cases where we know we're going to use MoveThumb, we pass
619 false for this. Otherwise, pass true.
621 2006-05-12 Jackson Harper <jackson@ximian.com>
623 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
626 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
628 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
629 and GetClipRegion methods and UserClipWontExposeParent property.
630 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
631 overriding UserClipWontExposeParent property, setting to false, since
632 Win32 handles the required expose messages to draw our clipped parent
634 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
635 PaintEventStart to set the user clip region if set.
637 - Now internally tracking the Region for the control since we need to
638 store it if the handle is not yet created and only set it when it
639 becomes created. Before setting the region forced handle creation
640 - Added code to draw the parents underneath a user-clipped region
641 * Hwnd.cs: Added UserClip property
643 2006-05-12 Chris Toshok <toshok@ximian.com>
645 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
648 (set_SmallChange): same.
649 (OnMouseUpSB): remove the call to refresh when releasing the
650 thumb. We shouldn't need it.
652 2006-05-12 Miguel de Icaza <miguel@novell.com>
654 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
655 AutoSize set to None, we do not need to relayout everything, we
656 just need to invalidate the current region.
658 (Draw): Do not draw the entire ClientArea, just redraw the
659 clip area being passed.
661 * MdiClient.cs: Make MdiClient constructor with the Form argument
664 2006-05-12 Jackson Harper <jackson@ximian.com>
666 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
667 parents background image, but strangely not their own.
668 - (DrawStatusBarPanel): Take into account horizontal alignment
669 when drawing the strings and icons.
671 2006-05-12 Mike Kestner <mkestner@novell.com>
673 * ListBox.cs: avoid invalidations for focus when the collection is
676 2006-05-12 Chris Toshok <toshok@ximian.com>
678 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
679 invalidate the entire thumb area. Call InvalidateDirty which
680 limits the redraw to the thumb itself and surrounding pixels.
682 * XplatUIX11.cs (ScrollWindow): optimize copying.
684 2006-05-12 Chris Toshok <toshok@ximian.com>
686 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
687 Figure out the positioning/layout in a single pass instead of
688 multiple recursive invocations. Speeds up the initial display of
689 the data grid. Also, make many things private that were
690 originally public but unused outside this class.
692 2006-05-11 Jackson Harper <jackson@ximian.com>
694 * MdiClient.cs: Improved layout code.
696 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
698 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
701 2006-05-11 Chris Toshok <toshok@ximian.com>
703 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
704 union of that will always be {0,0,width,height}.
706 2006-05-11 Jackson Harper <jackson@ximian.com>
708 * Form.cs: Match MS's DefaultSize for forms (they must have
709 changed the size in sp2).
711 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
713 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
715 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
717 * TextControl.cs : Fixed bug #78109. This incorrect position
718 comparison caused crash on automatic line split.
719 * TextBoxBase.cs : reduce duplicate code.
721 2006-05-10 Jackson Harper <jackson@ximian.com>
723 * MdiClient.cs: Active form is only sent to the back when using
724 the Next form functionality, when a form is clicked the current
725 active shouldn't be sent to the back.
726 - Layout the mdi windows when the container is first made visible.
727 * Form.cs: Give the MdiClient a ref to the containing form when we
730 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
732 * LinkLabel.cs : link_font could be uninitialized, so populate one
733 before actual use. Fixed bug #78340.
735 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
737 * XplatUIX11.cs : clipboard format native value is IntPtr.
740 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
743 - Instead of showing context menus directly we send WM_CONTEXTMENU,
744 which is passed up the parent chain by DefWndProc
745 - We now handle WM_CONTEXTMENU to display any menu, or pass it
746 to DefWndProc (#77956)
747 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
749 2006-05-10 Jackson Harper <jackson@ximian.com>
751 * MdiClient.cs: We need to remove the controls from the mdi
752 collection, when we close the window.
753 * MdiWindowManager.cs: Special handling of closing mdi windows.
754 * InternalWindowManager.cs: Make the close method virtual so the
755 mdi window manager can handle it specially.
757 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
760 - Recalculate grid when the data source has changed
761 - Matches styles provided by user from all data sources types
762 * DataGridTableStyle.cs: For columns that provided by the user set the
763 with the preferred value is there was unassigned.
764 * CurrencyManager.cs: throw OnItemChanged event
766 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
768 * PictureBox.cs: Don't animate until handle is created. Start animation
769 when handle is created.
771 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
773 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
775 * XEventQueue.cs: We don't need to provide the extra info
777 2006-05-10 Jackson Harper <jackson@ximian.com>
779 * MdiClient.cs: If the mdi clients parent form has a background
780 image set, we draw that background image for the mdi area's
783 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
785 * TextBoxBase.cs: Set IBeam cursor (#78347)
787 2006-05-10 Mike Kestner <mkestner@novell.com>
789 * ToolBar.cs: fix some text padding issues with ButtonSize
790 calculation. Update the default size to match MS documentation.
791 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
792 button size. Fixes #78296.
794 2006-05-10 Mike Kestner <mkestner@novell.com>
796 * ListBox.cs: use is_visible for scrollbar positioning in case the
797 control isn't on screen yet. Fix off by one with Right vs Width
798 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
800 2006-05-10 Jackson Harper <jackson@ximian.com>
802 * X11Dnd.cs: Drop to a control with another control on top of it.
803 * ToolBar.cs: Work on a copy of the buttons list, so that it can
804 be modified in click handlers. TODO: Look for similar problems in
807 2006-05-09 Jackson Harper <jackson@ximian.com>
809 * Form.cs: Window managers need the old window state when setting
811 * InternalWindowManager.cs: Allow the base mdi window manager to
812 handle more of the MDI only stuff (like maximize buttons).
813 * MdiWindowManager.cs: Fix some snafus in changing the window
814 state. Add all the menu functionality, for both popup and
816 * MdiClient.cs: When a new form is selected the currently
817 activated form is sent to the back, this matches MS.
818 - Implement a new method to activate the next mdi child window.
820 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
823 - Added new InternalCapture method to allow controls to prevent
824 the capture behaviour on the click handlers
825 - Switched to use InternalCapture
827 - Using InternalCapture to prevent mouse captures from being released
828 on mouse button release (Fixes #78100)
829 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
830 returns Form borders if a caption is present. (Fixes #78310)
832 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
834 * TreeNode.cs: Changed serialization .ctor to not require every field
835 to be present. (#78265)
836 * OwnerDrawPropertyBag.cs: Added serialization .ctor
838 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
840 * MimeIcon.cs: for is faster than foreach for strings.
842 2006-05-05 Mike Kestner <mkestner@novell.com>
844 * CheckedListBox.cs: update check handling code to not use selected.
845 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
846 behavior for visual feedback, motion response, shift/ctrl handling,
847 and properly deal with all 4 selection modes. Updates to bounds
848 handling logic. Add scroll wheel support. [Fixes #77842]
850 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
853 - Moved adding of Implicit controls into .ctor. That way, subsequent
854 creation of the controls will not cause them to think they are
855 toplevel windows (fixes #78200 header problem)
856 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
857 - Switched visibility setting of header control to use internal field
858 to avoid triggering handle creation
859 - Now checking if handle is created before causing a refresh when items
860 are added (This makes us now match handle creation time with MS)
861 * Splitter.cs: Removed loading of private splitter cursor, switched to
862 Cursors version now that that is loading the right ones
863 * Cursors.cs: Load proper splitter cursors from resources
864 * Cursor.cs: Added second method of loading resource cursors for the
865 VS.Net users amongst us
867 2006-05-05 Mike Kestner <mkestner@novell.com>
869 * ListView.cs: give header_control a minimum size based on the
872 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
874 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
875 window seems to do that with metacity, so set that type. (#78120)
877 2006-05-05 Mike Kestner <mkestner@novell.com>
879 * ListViewItem.cs: fix Details mode checkbox layout bug.
880 * ThemeWin32Classic.cs: draw a ListView column header for unused space
881 at the end of the header, if it exists. [Fixes for #78200]
883 2006-05-04 Jackson Harper <jackson@ximian.com>
885 * MdiClient.cs: Add a helper property to get the container form.
886 * MdiWindowManager.cs: We have to make sure to use the menu origin
887 when drawing the icons and buttons, this fixes maximized window
888 icons/buttons on win32.
889 * InternalWindowManager.cs: Reset the restore captions when a
890 window goes from Maximized to Minimized and vice versa. Move the
891 DrawMaximizedButtons into the MdiWindowManager source, tool
892 windows can't be maximized. NOTE: This could use a little
893 refactoring if time ever permits.
895 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
897 * TextBox.cs: Add MWFCategoryAttributes
898 * TextBoxBase.cs: Add MWFCategoryAttributes
899 * Form.cs: Add MWFCategoryAttributes
901 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
903 * Control.cs: Add MWFCategoryAttributes
904 * ScrollableControl.cs: Add MWFCategoryAttributes
906 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
908 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
909 Divider is true. Fix a little glitch in PropertyToolBar
912 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
915 - Dispose: Call base.Dispose, this causes the disposed event
916 to be fired (and probably other, more important stuff)
917 - SetVisibleCore: Set is_visible to true after creating the
918 window so that the window still gets created invisible (if
919 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
920 to generate a WM_ACTIVE message
921 * Form.cs: Call Dispose when we want to destroy the window, instead of
922 just destroying the handle (Dispose will do that for us)
924 - RootWindow also needs a queue, so we can properly process the
925 property change events from RootWindow (like Activate)
926 - Generatic synthetic WM_ACTIVE message when the active window is
929 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
931 * LinkLabel.cs: Trigger a recalc of our label dimensions when
934 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
936 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
937 for determining width and height (image might not be assigned if
938 we're drawing an imagelist)
940 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
942 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
943 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
945 * Theme.cs: No longer returns hardcoded menu height, instead calls
947 * Form.cs (OnLoad): Scaling happens before triggering Load events
950 2006-05-01 Mike Kestner <mkestner@novell.com>
952 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
954 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
956 * TextBoxBase.cs: Removed Fixme
957 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
959 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
962 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
963 the rectangle relative to the parent, considering borders. We
964 don't really want that.
965 - ScrollWindow: Fixed warning to be more understandable
966 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
967 scrollbars and scroll only the visible area
968 * RichTextBox.cs: Removed debug output
970 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
972 * NumericUpDown.cs (Text): Just use base
973 * UpDownBase.cs: Ensure txtView is created before using it
975 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
977 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
978 casting to IntPtr to avoid 64bit overflow errors
980 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
983 - AllowDrop: Don't force handle creation.
984 - CreateHandle: Added call to tell driver if we're allowed to drop
986 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
988 * FileDialog.cs: Remember the last directory not only for the
989 current instance but also for new FileDialog instances.
991 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
993 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
994 broke sending async messages
996 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
999 - ScrollWindow: Fixed method. We finally generate expose events again
1000 for scrolled areas. This was causing 'garbage' when scrolling
1001 textbox and other controls that used ScrollWindow
1002 - Switched from using the regular queue for paint events to the MS
1003 model of 'generating' paint events when the queue is empty.
1004 We use the new XQueueEvent.Paint subclass to store which windows
1006 - AddExpose now takes the x/y/width/height of the exposed area
1007 and inserts the window into the paint queue if not already there
1008 - InvalidateWholeWindow: Switched to use new AddExpose method
1009 - UpdateMessageQueue: Added which queue to monitor for paint events
1010 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1011 the unlikely case nothing above handles it. We reset the expose
1012 pending states to get them off the queue.
1013 - GetMessage: Now pulls a paint event if no other events are in the
1015 - Invalidate: Switched to new AddExpose method
1016 - PeekMessage: Updated to understand pending paint events
1017 - UpdateWindow: Fixed logic bug. We were only updating if the window
1018 didn't need updating. Also switched to sending WM_PAINT directly,
1020 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1021 and random access Remove(). The random access is needed to handle
1022 UpdateWindow() where a WM_PAINT is sent directly without accessing
1024 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1025 allow for better feedback when scrolling. Scrollbars are small and
1026 the immediate update should make it 'feel' more responsive without
1027 slowing things down. ScrollBar still needs it's invaliate logic
1028 updated to not always invalidate the whole bar on certain changes.
1030 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 (BackColor): if the control does not support a transparent background,
1034 return the default backcolor when the parent backcolor is transparent.
1036 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1038 * Application.cs: Updated to new StartLoop/GetMessage API
1039 * RichTextBox.cs: Provide some output on RTF parsing errors
1040 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1041 new queue_id argument to GetMessage and PeekMessage to allow faster
1042 handling of per-thread queues in drivers.
1043 * Hwnd.cs: Added Queue tracking and property
1044 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1045 * XEventQueue.cs: Added thread trackingA
1046 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1048 - Implemented new per-thread queue
1049 - GetMessage: Fixed return/break behaviour on several cases. We were
1050 returning stale messages in some cases, instead of just processing
1053 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1055 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1057 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1059 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1060 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1062 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1064 * PropertyGridView.cs: Fix drop down width.
1066 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1068 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1069 a mess in DrawToolBar, so I removed one of them.
1071 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1073 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1074 needed (clip). Otherwise we get artifacts.
1076 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1078 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1080 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1081 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1082 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1083 if it matches the scale base font (avoids unneeded scaling)
1085 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1087 * X11DesktopColors.cs: One gtk_init_check should be enough
1089 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1091 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1094 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1097 - Generate OnTextChanged for Backspace even if we're only deleting
1098 the current selection
1099 - When setting the Text property, only select all text if the
1100 control does not have focus when it is being set. Otherwise
1101 just place the cursor at the beginning of the control
1103 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1105 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1106 Added a little helper to draw PropertyGrid ToolBar with a different
1107 border and a different BackColor.
1108 * PropertyGrid.cs: Some background parts didn't get painted with the
1109 correct background color. Added a class that helps us to draw the
1110 correct border for PropertyGridView and a class that helps us to
1111 draw ToolBars with a different backcolor
1112 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1114 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1116 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1117 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1119 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1121 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1122 into the palette entries. Also, since we're working on a copy
1123 we needed to copy the palette back onto the bitmap.
1124 * Cursor.cs: Same fix as XplatUIWin32.cs.
1126 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1128 * ImageListStreamer.cs: Need to read the var (or we're off)
1130 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1132 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1133 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1134 TextBoxBase.cs: Unused var fixes
1135 * AxHost.cs: Small 2.0 fix
1136 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1137 as it seems that is what at least Metacity expects. This will make
1138 icons show up on 64bit platforms. We still have some 64bit size
1139 issues, though, since the startup app window size still won't match.
1141 2006-04-25 Mike Kestner <mkestner@novell.com>
1143 * *.cs: cleanup newly reported exception var unused warnings.
1145 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1147 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1150 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1152 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1153 image. The image position is always the same, no matter if the
1154 button is pressed or not.
1156 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1158 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1159 selection and set the correct filename for SaveFileDialog.
1160 Patch by Emery Conrad.
1162 2006-04-24 Mike Kestner <mkestner@novell.com>
1164 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1165 check for item.X outside the ClientRect instead of item.Y. Fixes
1168 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1170 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1171 trust that value blindly and do some sanity check. Fixes bug #77814.
1173 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1175 * ImageListStreamer.cs: save the mask as a 1bpp image.
1177 2006-04-21 Mike Kestner <mkestner@novell.com>
1179 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1180 pass Checked and Indeterminate to the Theme Engine. Improve
1181 encapsulation with ListBox.
1182 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1183 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1184 nested types. Move all CheckState functionality to CheckedListBox.
1185 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1186 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1187 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1188 single base list. Fix scrollbar sizing and placement to mirror MS.
1189 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1191 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1192 for CheckedListBox by using new DrawItemState info. Center the
1193 checkboxes on the items. Use new StringFormat property.
1195 2006-04-18 Jackson Harper <jackson@ximian.com>
1197 * Form.cs: MdiChildren don't do default locations the same way as
1198 regular forms. This prevents a crash when trying to position the
1201 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1203 * PropertyGridTextBox.cs: Formatting, copyright
1204 * PropertiesTab.cs: Formatting
1205 * PropertyGrid.cs: Formatting
1206 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1207 click toggling of values
1209 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1211 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1212 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1213 every time a control is created
1214 * Application.cs: Removed obsolete EnableRTLMirroring method
1216 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1218 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1219 SelectedIndex to -1. Fixes bug #78121.
1221 2006-04-17 Jackson Harper <jackson@ximian.com>
1223 * Binding.cs: Handle null values for Current and BindingContext.
1224 This occurs when binding is a little delayed.
1225 * CurrencyManager.cs: return null for Current when there are no
1227 - Hookup to the listchanged event on the DataView and update
1228 bindings when the list is changed. This fixes late binding of
1231 2006-04-17 Jackson Harper <jackson@ximian.com>
1234 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1237 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1239 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1241 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1242 with the correct ButtonState
1244 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1246 * XplatUIX11.cs: Improved distinguishing between window types to
1247 tell the WM a type closer to what the app wants (Fixes #78107)
1249 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1251 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1254 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1256 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1257 drawing code to reflect the size grip changes
1259 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1261 * ImageListStreamer.cs: fix handling of the mask that follows the main
1262 bitmap when deserializing and serialize it properly. The generated mask
1263 should better be a 1bpp image, but I'll do that later.
1265 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1267 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1268 path doesn't fit into some of our Current.Places
1270 2006-04-13 Jackson Harper <jackson@ximian.com>
1272 * ComboBox.cs: Use borders instead of drawing our own decorations,
1273 try to obey correct rules for heights.
1276 * ThemeClearLooks.cs:
1277 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1278 this is now handled by borders.
1279 - Remove unused DrawListBoxDecorationSize method.
1281 2006-04-13 Mike Kestner <mkestner@novell.com>
1283 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1286 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1288 * ThemeWin32Classic.cs:
1289 - Fixed CPDrawStringDisabled
1290 - Corrected drawing of disabled menu items
1291 - Fixed drawing of disabled radio buttons (bug #78095)
1292 - Draw check in a disabled CheckBox with color ControlDark
1294 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1296 * Form.cs: Use the provided width when calculating the menu size;
1297 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1298 and ClientSize.Width won't be updated yet
1299 * Application.cs: Use Visible instead of Show() to make form visible,
1300 this way we create the handle later and menusize is considered
1302 2006-04-12 Mike Kestner <mkestner@novell.com>
1304 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1307 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1309 * TextBox.cs: Implemented context menu
1311 2006-04-12 Mike Kestner <mkestner@novell.com>
1313 * ListView.cs: implement box selection. fixes #77838.
1314 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1316 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1318 * XplatUIX11.cs: Added setting of window type when transient window
1319 is created (metacity would move it otherwise)
1320 * X11Structs.cs: Added WINDOW_TYPE atoms
1321 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1322 background (the control is Opaque but still wants transparent
1325 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1327 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1328 that set Opaque but don't mean it (like all ButtonBase-derived
1329 controls) to still draw their background
1330 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1333 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1335 * Control.cs (PaintControlBackground): Set the graphics object
1336 on our PaintEvent to null to prevent it from being disposed
1337 when the PaintEvent gets disposed
1339 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1341 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1342 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1344 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1347 - Added transparency check to BackColor property. Transparent
1348 backgrounds are only allowed if the control styles permit it
1349 - Added recursive painting of parent control background and
1350 foreground if a control with a transparent backcolor is drawn
1351 (Thanks to Tim Ringenback for providing his 'hack' as a base
1352 for this patch) Fixes #77985 and #78026.
1353 - Added Opaque style check before calling OnPaintBackground, no
1354 need to draw the background if the control is opaque
1355 - Removed ControlAccessibleObject owner variable (inherited from
1356 base, no need to define again)
1357 - Added some documentation links explaining the drawing events
1360 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1362 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1363 that the affected control is the located at the left border of our
1364 parent (Fixes #77936)
1366 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1368 * TextBoxBase.cs: When rendering disabled or readonly controls,
1369 draw the background with 'Control' instead of 'Window' color as
1370 long as the user hasn't specifically set a color
1372 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1374 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1375 since that won't be updated if the user types text (only if it's
1376 programatically set)
1378 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1380 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1381 layout changes do to app-triggered resizes will have the proper
1382 display rectangle for layout
1384 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1386 * ThemeWin32Classic.cs:
1387 - Make use of the SystemBrushes and SystemPens wherever possible
1388 - Corrected some highlight colors
1389 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1391 * Theme.cs: Added Empty field to CPColor struct
1393 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1395 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1396 is displayed when calculating the display rectangle. Thanks to Mike
1397 for teaching me the err of my ways.
1399 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1401 * ScrollableControl.cs:
1402 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1403 (instead of 0,0) and we now return the real width/height instead of
1404 just the clientrectangle, adjusted for padding. The rectangle is
1405 now cached and created by the new CalculateDisplayRectangle method.
1406 - Created new CalculateDisplayRectange method, which basically does
1407 what get_DisplayRectangle() did originally, but now using the
1408 right edge instead of DisplayRectangle to determine the size of
1410 - get_Canvas(): Fixed it to properly calculate canvas for
1411 right/bottom controls which seem to be placed to the right/bottom
1412 of any controls that have a fixed location
1413 - Removed TODO that's taken care of
1414 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1415 and SetDisplayRectLocation according to new MSDN2 docs
1416 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1417 event when that is called, this is added for compatibility
1418 - ScrollControlIntoView(): Implemented.
1419 - Switched scrollbars to be implicit, they shouldn't be selectable
1420 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1421 call it when the active control is set/changed
1422 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1423 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1424 implicit_control variable (used for native Win32 message generation)
1425 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1426 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1427 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1428 * XplatUIStructs.cs: Added ScrollBarCommands enum
1430 2006-04-10 Jackson Harper <jackson@ximian.com>
1433 * CheckedListBox.cs:
1440 * PrintPreviewControl.cs:
1446 * UpDownBase.cs: Fixup base event overrides.
1448 2006-04-06 Mike Kestner <mkestner@novell.com>
1450 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1451 all user-initiated value changes to min <= value <= max-thumbsz+1.
1452 (set_Value): check for vert/horiz when calculating new thumb position.
1453 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1455 (OnMouseMoveSB): refactor the thumb dragging code and refine
1456 invalidation logic to reduce flicker.
1457 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1458 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1459 (UpdateThumbPosition): small code readability cleanup
1461 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1463 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1466 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1468 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1470 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1472 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1473 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1474 This dramatically reduces the number of Pen.Dispose calls.
1475 Where possible call ResPool methods only once instead of calling it
1476 over and over again (for example for the same color).
1478 2006-04-06 Mike Kestner <mkestner@novell.com>
1480 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1481 Also remove an unused private field on the collection. Fixes #77972.
1483 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1485 * ThemeNice.cs: Added ToolBar drawing code
1487 2006-04-06 Mike Kestner <mkestner@novell.com>
1489 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1490 I'm assuming that means we need to look up the toplevel for the
1491 provided control. Fixes the crash trace in #77911 but exposes another
1492 crash in some strange reflection usage in NDocGui.
1494 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1496 * ThemeNice.cs: Gave it a little silver touch and added Images
1498 * FontDialog.cs: FontDialog is not resizable
1499 * FileDialg.cs: Added SizeGripStyle.Show
1501 2006-04-05 Jackson Harper <jackson@ximian.com>
1503 * KeyboardLayouts.cs: Remove warning.
1505 2006-04-05 Jackson Harper <jackson@ximian.com>
1507 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1508 all of our controls instead of Paint +=.
1523 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1524 use OnPaintInternal. Remove Width/Height and Visible checks in
1525 paint handler, this is done at a higher level now.
1526 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1527 * PaintEventArgs.cs: Add a handled flag so controls that don't
1528 want anymore painting after OnPaintInternal can make sure OnPaint
1531 2006-04-05 Mike Kestner <mkestner@novell.com>
1533 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1534 state of the form, so that we don't process events when Modal dialogs
1535 are up. Fixes #77922.
1537 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1539 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1542 2006-04-05 Mike Kestner <mkestner@novell.com>
1544 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1546 2006-04-05 Mike Kestner <mkestner@novell.com>
1548 * ListView.cs (HeaderMouseMove): null guarding for the over column
1549 when setting up the drag_to_index. Fixes #78015.
1551 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1553 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1554 in the taskbar. Transient windows seem to accomplish that.
1556 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1559 - Re-enabled CreateParams.X/Y code for FormStartPosition
1560 - Added code for manual placement when creating the Control
1561 - Incomplete patch to treat MDI forms differently when
1562 setting the ClientSizeCore. (Still need to figure out handling
1565 - When we're explicitly setting the X/Y position of a non-Child
1566 window, let the WM know. Metacity really wants this.
1568 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1570 * ThemeNice.cs: Added CPDrawButton
1572 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1574 * ThemeNice.cs: Changed the color for focused buttons and activated
1575 the arrows for small scroll buttons.
1577 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1579 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1580 anymore. Changed some method modifiers to protected (virtual)
1581 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1583 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1584 Updated drawing of menus, buttons and progressbars; added
1587 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1589 * ImageListStreamer.cs: implemented serialization/deserialization
1592 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1594 * ThemeWin32Classic.cs:
1595 - Removed all the DrawFrameControl stuff; CPDrawButton,
1596 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1598 - Updated and corrected the drawing code of CPDrawButton,
1599 CPDrawCheckBox and CPDrawRadioButton to better match ms
1600 - Updated theme checkbox and radiobutton code to use the CP*
1603 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1605 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1608 2006-03-31 Jackson Harper <jackson@ximian.com>
1610 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1612 * UpDownBase.cs: Don't CreateGraphics manually, use a
1613 Refresh. Ideally we would invalidate the correct areas here.
1615 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1618 - We now track the mapping state of windows. If a window (or
1619 one of it's parents) is not mapped we no longer permit
1620 WM_PAINT messages to be generated since we'd otherwise get
1621 lots of BadMatch X errors. Jackson did all the work figuring
1623 - Destroying the caret if the window it's contained in is
1624 destroyed. Can't use regular DestroyCaret method since it
1625 might fall into a drawing function (trying to remove the
1626 caret) and with that generate new BadMatch errors. Again,
1627 Jackson tracked this down.
1628 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1629 make sure we send the messages to all windows. (The old code
1630 would send the WM_DESTROY to the window, and then all child
1631 windows would be 'gone' because the WM_DESTROY handle lookup
1632 would no longer find the destroyed window)
1633 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1634 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1636 2006-03-31 Jackson Harper <jackson@ximian.com>
1638 * ScrollableControl.cs: Dont recalc if we are not visible.
1640 2006-03-31 Mike Kestner <mkestner@novell.com>
1642 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1643 the visibility branch.
1645 2006-03-31 Jackson Harper <jackson@ximian.com>
1647 * ScrollBar.cs: Cap values when incrementing/decrementing.
1649 2006-03-31 Mike Kestner <mkestner@novell.com>
1651 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1652 * ToolTip.cs: guard against timer expirations with no active control.
1653 Not sure why it happened.
1655 2006-03-31 Mike Kestner <mkestner@novell.com>
1657 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1659 * ToolTip.cs: Position the tooltip based on where the cursor is at
1660 popup time, not at MouseEnter time. Add a Down state so that we don't
1661 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1662 positioning offset. Lookup DisplaySize at positioning time, since it
1663 can theoretically change during invocation.
1664 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1665 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1667 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1669 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1670 Fixes behaviour when the Text property of the box is String.Empty
1672 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1674 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1675 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1678 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1680 * FileDialog.cs: Visual enhancement for the popup buttons in
1683 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1685 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1688 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1690 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1691 highlighted menu items to match ms
1693 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1695 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1697 2006-03-30 Mike Kestner <mkestner@novell.com>
1699 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1700 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1701 go active to account for HotLight to Selected transition.
1702 * MenuItem.cs: add internal Selected prop. Fill out the Status
1703 property by calculating it from item info. Add HotLight,
1704 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1706 2006-03-30 Mike Kestner <mkestner@novell.com>
1708 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1710 2006-03-29 Jackson Harper <jackson@ximian.com>
1712 * Form.cs: Implement TODO.
1714 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1716 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1717 missing proper dialog setup in the constructor
1719 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1721 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1723 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1724 - Fixed ResetBindings and removed TODO
1725 - Added check for cross-thread calls to get_Handle()
1726 - Added Marshaller attribute for set_Font to satisfy class status
1727 * FontDialog.cs: Removed TODOs that seemed implemented
1728 * UpDownBase.cs: Removed unneeded TODO and Fixme
1729 * MessageBox.cs: Implemented support for Default button and removed TODO
1730 * FileDialog.cs: Removed obsolete TODO
1731 * DomainUpDown.cs: Removed obsolete TODO
1732 * ButtonBase.cs: Removed obsolete TODO
1733 * XplatUIWin32.cs: Removed obsolete TODO
1735 - Removed obsolete TODO
1736 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1737 internal status updates
1738 - Making sure the active control is selected when the control is created
1739 * CurrencyManager.cs: Removed obsolete TODO
1741 2006-03-29 Mike Kestner <mkestner@novell.com>
1743 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1744 of PrintPreviewDialog and RichTextBox.
1746 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1748 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1749 DarkDark, Light and LightLight colors for a specific color
1750 * ThemeWin32Classic.cs:
1751 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1753 - Make use of the new ResPool helper CPColor
1754 - Draw ProgressBar and StatusBar with correct 3D borders
1756 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1758 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1760 2006-03-28 Mike Kestner <mkestner@novell.com>
1762 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1763 calculating col/row counts.
1765 2006-03-28 Mike Kestner <mkestner@novell.com>
1771 switch to explicit interface method implementation for some methods
1772 corcompare identifies as inconsistent with MS.
1774 2006-03-28 Mike Kestner <mkestner@novell.com>
1778 add a few missing methods from the class status output.
1780 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1782 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1785 2006-03-28 Mike Kestner <mkestner@novell.com>
1787 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1789 2006-03-27 Mike Kestner <mkestner@novell.com>
1791 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1792 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1794 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1796 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1798 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1800 * ThemeWin32Classic.cs:
1801 - GroupBox: Inserted a little gap between the text and the lines
1803 - Made the code in CPDrawBorder3D more readable
1804 - Corrected the drawing location of the up and down arrows in
1807 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1809 * ControlPaint.cs: Corrected line widths in DrawBorder for
1810 ButtonBorderStyle Inset and Outset
1812 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1814 * ThemeWin32Classic.cs:
1815 - Rewrote the totally broken CPDrawBorder3D method. That was
1816 one of the main problems for the terrific ThemeWin32Classic
1818 - Updated and corrected Button drawing
1819 - Correct the dimensions of the SizeGrip to match ms ones
1820 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1821 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1822 Border3DStyle.Sunken to match ms.
1824 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1826 * ThemeWin32Classic.cs: First small part of the "de-uglify
1827 ThemeWin32Classic" effort, SizeGrip
1829 2006-03-24 Jackson Harper <jackson@ximian.com>
1831 * XplatUIX11.cs: Give a max idle time of one second, this matches
1832 MS and forces an Idle event every second when there are no other
1833 events in the queue.
1835 2006-03-24 Mike Kestner <mkestner@novell.com>
1837 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1838 * ListView.Item.cs: fix layout issues with null image lists and images
1839 smaller than checkbox size.
1840 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1841 mode like MS does. It's weird, but consistent. ;-)
1844 2006-03-24 Mike Kestner <mkestner@novell.com>
1846 * ListView.cs: Scroll wheel support for the item control. Fixes
1849 2006-03-23 Jackson Harper <jackson@ximian.com>
1851 * ScrollableControl.cs: Special case negative sized areas, not
1853 * MonthCalendar.cs: Save the rect of the clicked date so we can
1854 use it for invalidation.
1855 - Try to cut down on the number of invalidates
1856 - Invalidate the rect the mouse is over and was over when moving
1857 the mouse, so we get the focus box following the cursor.
1859 2006-03-23 Mike Kestner <mkestner@novell.com>
1861 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1862 focus rectangle drawing. Fixes #77835.
1864 2006-03-23 Mike Kestner <mkestner@novell.com>
1866 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1867 the if and else if and reverting back to the original == check on the
1870 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1872 * FontDialog.cs: Update the example panel if the selected index of
1873 the fontListBox changes.
1875 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1877 * FileDialog.cs: Make FileDialog remember which directory it was in
1878 last in the same execution.
1880 2006-03-22 Mike Kestner <mkestner@novell.com>
1882 * FileDialog.cs: make the DropDownMenu on the toolbar display
1883 RadioChecks since they are mutually exclusive and that's what MS does.
1885 2006-03-22 Mike Kestner <mkestner@novell.com>
1887 * Theme.cs: add Color param to CPDrawMenuGlyph.
1888 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1889 checks and radio marks and arrows are visible on highlighted items.
1890 * ControlPaint.cs: update to use new Theme signature.
1892 2006-03-22 Mike Kestner <mkestner@novell.com>
1894 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1895 is active. Fixes #77870.
1897 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1899 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1900 to be focused/selected after startup
1902 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1905 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1906 CustomColors and ShowHelp properties
1907 - Some internal rewrites to get better results when using the
1910 2006-03-22 Mike Kestner <mkestner@novell.com>
1912 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1913 HoverSelection. Fixes #77836.
1915 2006-03-22 Mike Kestner <mkestner@novell.com>
1917 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1918 ToggleButtons. (De)Sensitize the Back button around a stack count of
1919 1, not 0. Update ButtonSize based on a pixel count of the win32
1920 control. Adjust the toolbar size/location for new button size.
1922 2006-03-22 Jackson Harper <jackson@ximian.com>
1924 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1926 * ScrollBar.cs: When doing increments and decrements we need to
1927 set the Value property so that ValueChanged gets raised. A
1928 possible optimization here would be to make an internal SetValue
1929 that doesn't invalidate immediately.
1930 * ToolTip.cs: Tooltips get added to their container (when
1931 supplied) so they get disposed when the container is disposed.
1932 - Don't create tooltips for String.Empty. This prevents all these
1933 little 2-3 pixel windows from showing up when running nunit-gui
1935 * Form.cs: Don't set topmost when setting the owner if the handles
1936 haven't been created yet. The topmost set will happen when the
1937 handles are created.
1939 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
1942 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
1943 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
1944 visible (to allow them to recalculate their sizes)
1946 2006-03-21 Mike Kestner <mkestner@novell.com>
1948 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
1949 methods. Removed a ton of redundant code. Still not really happy with
1950 the border rendering, but I think that's mainly because of the
1951 ControlDarkDark being black instead of a dark grey. Depending on how
1952 close we want to be, we might want to revisit those color choices.
1953 Among the new features added during the refactor were DropDownArrow
1954 pressed rendering, Disabled image rendering. Proper flat appearance
1955 boundary rendering. Removed the Divider and Wrapping dividers since I
1956 can't figure out any combination of themes and conditions to make the
1957 MS control draw a horizontal line on a toolbar despite what the
1958 Divider property docs indicate.
1959 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
1960 conditions and incorrect layout. Updated to coding standard.
1961 * ToolBarButton.cs: refactored layout and positioning code from
1962 ToolBar to here. Invalidate wherever possible instead of forcing
1963 redraws of the whole toolbar.
1964 (Known remaining issues: explicit ButtonSize smaller than provided
1967 2006-03-21 Mike Kestner <mkestner@novell.com>
1969 * ContextMenu.cs (Show): use the position parameter instead of just
1970 showing at the MousePosition.
1972 2006-03-21 Jackson Harper <jackson@ximian.com>
1974 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
1975 control handle this.
1976 * TreeNodeCollection.cs: If we are clearing the root node we need
1977 to reset top_node so calcs can still happen.
1978 * ThemeWin32Classic.cs: This is a Flags so we need to check
1981 2006-03-21 Jackson Harper <jackson@ximian.com>
1983 * DataGrid.cs: Create columns when the binding context has been
1985 * X11Structs.cs: Keysyms are uints.
1986 - Add size to fix build.
1988 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
1990 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
1992 - Added ResetMouseHover method to allow controls to retrigger
1993 hovering if they need it more than once
1994 - Implemented MouseHoverTime and MouseHoverSize properties
1995 * Timer.cs: Start() must reset the interval
1996 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
1999 2006-03-21 Jackson Harper <jackson@ximian.com>
2001 * X11Keyboard.cs: improved layout detection. Move the nonchar
2002 tables into this file.
2003 * KeyboardLayouts.cs: Move the tables into resource files.
2005 2006-03-21 Mike Kestner <mkestner@novell.com>
2007 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2009 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2011 * Mime.cs: Various speed optimizations. Looking up mime types
2012 is now 2 times faster than before
2014 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2016 * CreateParams.cs: Added internal menu field
2018 - Switched call order for UpdateBounds; now we always call
2019 the one that also takes ClientSize, and we're calculating the
2020 client size via driver method in the others. The previous
2021 method of tracking client size by difference wasn't working
2022 for forms where even the starting client size wouldn't match
2023 the overall form size (due to borders) (Part of fix for #77729)
2024 - CreateParams(): Do not use parent.Handle unless the handle is
2025 already created. Causes havoc with Nexxia and throws off our
2026 creation of controls
2028 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2029 - Switched handling of ConfigureNotify over to new PerformNCCalc
2030 method (consolidates code)
2031 - Changed RequestNCRecalc to use new PerformNCCalc method
2032 - Added calls to RequestNCRecalc when menus and borders are changed
2033 to allow app to set NC size. (Part of fix for #77729) This matches
2034 when MS send a WM_NCRECALC on Win32 windows.
2035 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2036 (Part of fix for #77729). This matches what MS does, they also
2037 send that message when the form is made visible.
2038 - XException.GetMessage: Improved usability of X errors by including
2039 a translation of the window into Hwnd and Control class
2040 - Improved debug info for window creation, reparenting and destruction
2041 - Created helper method WindowIsMapped() [Currently not used]
2042 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2044 - CreateParams: Now setting our menu on the new internal menu field
2045 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2046 avoid calculating the same property twice
2048 - Improved usability of ToString() for debugging purposes
2049 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2050 determine the height of the menu, instead of just the font. This
2051 required to also create a graphics context and to keep a bmp
2052 around (for performance reasons)
2054 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2056 * MenuAPI.cs: Added OnMouseUp method
2058 - Now remembering the requested client size, avoids size errors
2059 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2060 instead of base if the menu is active. This is required due to
2061 control now capturing and releasing on down/up and it would
2062 prematurely release our menu capture
2064 2006-03-17 Jackson Harper <jackson@ximian.com>
2066 * KeyboardLayouts.cs: Add the czech layouts.
2068 2006-03-16 Jackson Harper <jackson@ximian.com>
2070 * Control.cs: Use the viewport space when sizing not the controls
2071 client size, so things like ScrollableControl that effect the
2072 viewport size (when scrollbars are added) are computed correctly.
2073 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2075 - Handle creating BindingManagers for null data sources.
2076 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2077 source, otherwise when rows are added they are added to the 'fake'
2078 datasource and we will crash when trying to set the position in
2080 - Use Implicit scrollbars on the datagrid so they arent
2083 2006-03-16 Jackson Harper <jackson@ximian.com>
2086 * InternalWindowManager.cs:
2087 * MdiWindowManager.cs:
2088 * X11Keyboard.cs: I really want Mike to love me again (fix
2091 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2094 - OnMouseDown: Switch to editing mode when clicking on the cell
2095 even if we're clicking on the cell that's currently
2097 - ProcessGridKey: Left/Right now wrap like MS.Net does
2098 - ProcessGridKey: Tab now knows to add a new row when tab is
2099 pressed in the cell of the last column of the
2101 - ProcessGridKey: Enter now adds another row if pressed in the last
2102 row and selectes the new row, same column cell
2103 - ProcessGridKey: Home/End navigate columns, not rows, like
2104 originally implemented
2105 - Broke ProcessKeyPreview code out into an extra Internal method
2106 so it can be called from the edit code
2107 * DataGridTextBox.cs (ProcessKeyMessage):
2108 - Switched to accept Tab keypresses
2109 - Added F2 handling to allow jumping to the end of the edited cell
2110 - Added logic to allow moving caret left/right inside edited cell
2111 and making the edited cell jump when the caret hits cell borders
2112 - Tab and Enter are now passed to the datagrid after being handled
2114 - Removed capture code now that Control handles it
2115 - set_SelectionStart now ensures caret is visible
2117 2006-03-16 Jackson Harper <jackson@ximian.com>
2119 * TrackBar.cs: Debackwards the increment/decrement for handling
2120 mouse clicks on the bar with vertical trackbars.
2121 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2124 2006-03-16 Mike Kestner <mkestner@novell.com>
2126 * ListView.cs: make shift/ctrl keyboard and mouse selection
2127 consistent with the MS control. Fix a bug in
2128 SelectedListViewItemCollection.Clear that was pissing me off for the
2129 better part of a day because the collection was being altered
2130 underneath us as we walked the list.
2132 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2134 * Control.cs: Not sure how we could miss this so long, but it seems
2135 that MS.Net has Capture set all the way from before calling
2136 OnMouseDown through sending the mouse events until after
2137 OnMouseUp. This will fix DataGrid's selection being set to end
2138 at the location of the MouseUp.
2140 2006-03-15 Jackson Harper <jackson@ximian.com>
2142 * BindingContext.cs: Check the binding after its added so that it
2143 can initialize the binding managers and hookup to events.
2144 * Binding.cs: Data members seem to sometimes include rows/cols in
2145 the format Row.Column we now take this into account.
2146 - Hookup to the position changed event so we can update the
2147 control when the position has changed in the data set.
2148 * CurrencyManager.cs: Take into account the row/col naming
2149 convention when creating dataset tables.
2150 * BindingContext.cs: Using a newer better way of storing
2151 datasource/datamember pairs. Hopefully this better matches MS for
2152 looking up binding managers.
2155 2006-03-15 Jackson Harper <jackson@ximian.com>
2157 * BindingContext.cs: The currency manager needs the data member
2158 name, if the member is a data set we use the name to find the
2160 * CurrencyManager.cs: When creating the list prefer an IList over
2162 - Attempt to create a DataTable from a DataSet (TODO: might need
2163 some better error checking here, although MS doesn't seem to have much)
2164 - If we have a DataTable create a view and use it as our list.
2166 2006-03-15 Mike Kestner <mkestner@novell.com>
2168 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2169 keyboard navigation. Support Up/Down/Left/Right selection correctly
2170 for all 4 View modes.
2171 * ListViewItem.cs: add internal row/col fields for icon layouts.
2173 2006-03-15 Jackson Harper <jackson@ximian.com>
2175 * TabControl.cs: Redraw the tabs when we resize so their newly
2176 calculated sizes are drawn on screen.
2177 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2178 composite characters.
2179 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2180 - filter events so that composite characters can be created
2182 * X11Structs.cs: Add XIMProperties enum.
2184 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2186 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2189 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2191 * Control.cs (PerformLayout): We don't need to consider visiblity
2192 for anchoring, only for docking. This fixes 'whacky' alignment
2193 in listbox and other controls that use implicit scrollbars after
2194 the previous PerformLayout patch
2195 * ListBox.cs: Switched to use implicit scrollbars
2197 2006-03-14 Mike Kestner <mkestner@novell.com>
2201 - chain up the "new event" overrides to base and use
2202 OnEvent to raise them. Part of fix for bug #76509.
2204 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2206 * FileDialog.cs: Do not select an item in the parent directory
2209 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2211 * Control.cs (PerformLayout): It would seem that we considered
2212 invisible windows for our layout. Not quite the right thing
2213 to do. Now we don't any longer, thereby fixing bug #76889.
2215 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2217 * Control.cs (CanFocus): I goofed. A control can have focus
2218 even though it's not selectable. Made it match MS docs.
2220 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2222 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2223 center by default (fixes #76895)
2224 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2225 all uses of Border3DSides.All with the explicit ORd together
2226 Left|Right|Top|Bottom because I assume that nobody was aware
2227 that All also implies a center fill. Most places I checked had
2229 * ProgressBarStyle.cs: Added
2231 2006-03-13 Mike Kestner <mkestner@novell.com>
2233 * ListView.cs: fix breakage in drag shadow header positioning
2234 from Peter's csc compilation fix.
2236 2006-03-13 Mike Kestner <mkestner@novell.com>
2238 * ListView.cs: fix NRE produced by backspacing twice in a focused
2241 2006-03-13 Mike Kestner <mkestner@novell.com>
2243 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2245 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2247 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2249 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2250 the allowed size before making programmatic size changes
2252 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2254 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2255 set, metacity is broken and will still use the emty sizes in
2256 the struct. (Fix for #77089)
2258 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2260 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2261 WindowExStyles and marked both enums as Flags
2262 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2263 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2264 to match WindowStyles split
2266 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2267 - Updated to match WindowStyles split
2269 - Fixed FosterParent creation, was using ExStyle on the Style field
2270 (This should help with Popup focus issues)
2271 - Updated to match WindowStyles split
2273 2006-03-13 Jackson Harper <jackson@ximian.com>
2275 * MdiWindowManager.cs: Use the system menu height. Fixes some
2276 strange sizing issues.
2278 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2280 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2282 - Scroll to caret after inserting text (#77672)
2283 - Make scroll range one pixel higher, fixes off-by-one error (and
2284 makes underlines visible on the last line)
2286 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2288 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2289 the keyboard state from being stuck with keys in 'pressed' state when
2290 focus is switched away via keyboard
2291 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2292 reset the keyboard if no X11 KeyUp events are expected to come
2293 * X11Structs.cs: Switched type of Visible to bool to match driver
2295 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2298 - Switched caret to be just 1 pixel wide, matches MS and looks less
2300 - Moved caret display 1 pixel down from the top of the control
2302 - InsertCharAtCharet: Update the selection start if moving the caret
2303 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2304 - No longer always creating the caret when the caret methods are
2305 called. Only the actual ShowCaret/HideCaret will do that now
2306 - Only setting caret visible if the owner control has focus
2307 - UpdateView: Added invalidation-shortcut logic for center and right
2308 aligned text. Previously we'd update all according to the left
2309 logic which caused drawing errors. Also fixed height of invalidated
2310 areas, now properly invalidating the whole area (was off-by-one)
2311 - owner_HandleCreated: Always generate the document when the
2312 handle is created; this ensures that
2314 - Fixed situation where caret would disappear under the right
2315 window border, also improved scrolling behaviour on left-
2317 - Fixed right-aligned textboxes to have a border to the
2318 right instead of the caret being under the right border
2320 - Switched from 'nested' to simple visible/not visible tracking
2321 for caret (part of fix for #77671)
2322 - No longer passing through translated FocusIn/FocusOut messages
2323 since we were notifying too often and the wrong windows. Instead
2324 we just notify our focussed window of receiving or loosing focus
2325 * XplatUIWin32.cs: Switched from 'nested' show/hide
2326 counting for caret to simple visible yes/no behaviour (part of
2329 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2331 * Mime.cs: Remove debug code...
2333 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2335 * MimeGenerated.cs: Removed
2336 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2337 and subclasses) from /usr/(local/)share/mime and
2338 $HOME/.local/share/mime.
2340 2006-03-10 Jackson Harper <jackson@ximian.com>
2342 * MdiWindowManager.cs: Recalc the NC area when a window is
2343 maximized/restored so that the menu area is drawn on forms that
2346 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2348 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2349 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2350 us to force a WM_NCCALCRESIZE message being sent. This is needed
2353 2006-03-10 Jackson Harper <jackson@ximian.com>
2355 * Form.cs: We need to use the ActiveMenu when calculating menu
2357 - Fix nullref when the window manager hasn't been created yet.
2358 * Control.cs: Fix nullref when we try to bring a control to the
2359 front that has no parent.
2360 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2362 - Add a dummy item to the maximized menu so it always has the
2363 correct height. Otherwise when there are no menus we don't get our
2367 2006-03-10 Jackson Harper <jackson@ximian.com>
2369 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2371 * Form.cs: Make the window_state internal so the window managers
2373 - When an MDI child is maximized let its window manager create the
2374 main menu (so it can add its icon).
2375 - Notify the window managers of state changes
2376 - Let the window manager paint its buttons and handle button
2377 clicks on the menu when it is maximized.
2378 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2379 window manager, since tool windows don't use it, only mdi windows.
2380 - Tell the main form that we don't want it to handle NCPAINT
2381 itself to avoid extra painting.
2382 - Handle clicks on a maximized windows menu.
2383 - Handle window state changes
2384 - Handle minimize/maximize clicks correctly by setting the window state.
2385 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2386 when clicking on the forms icon).
2387 - New method to create a forms maximized menu. This is its normal
2389 - Handle window state changes.
2390 - Handle sizing of maximized windows. Maximized windows are just
2391 drawn bigger then the parent visible area. All controls are still
2392 there, they are just outside the visible area (this matches windows).
2393 * MdiClient.cs: No scrollbars when a child window is maximized.
2394 - Let the children windows figure out how big they should be when
2395 sizing maximized windows.
2396 - Implement a version of ArrangeIconicWindows somewhat similar to
2397 Windows version. There are some little differences, but I don't
2398 think any app will rely on the layout of minimized mdi windows.
2400 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2402 * Padding.cs: Several fixes to allow compiling with csc 2.0
2404 2006-03-09 Jackson Harper <jackson@ximian.com>
2407 * MenuItem.cs: Cheap hack so we can add items to the list without
2408 the events being raised. This allows adding mdi items during
2409 drawing. TODO: Should probably find a better time to add the items.
2411 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2413 * ThemeWin32Classic.cs:
2414 - CheckBox_DrawText: Added logic to not wrap if not enough space
2415 is available (Fix for bug #77727)
2416 - RadioButton_DrawText: Added logic not to wrap if not enough
2417 space is available (Fix for bug #77727). Also removed some
2418 duplicate code, DrawString always drawing the regular text
2419 before hitting the if statement.
2421 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2423 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2425 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2427 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2428 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2429 methods. Moved the new 2.0 properties into alphabetical order with
2430 other properties and added MonoTODO tags
2432 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2434 * AutoScaleMode.cs: Added. Fix build.
2436 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2438 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2439 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2440 and was requiring premature handle creation for calls from above
2441 * Form.cs, Control.cs: Removed handle arguments from calls to
2442 CalculateClientRect()
2444 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2446 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2447 drag_column.column_rect is MarshalByRef and can't be used that way
2449 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2451 * AxHost.cs: Added deserialization constructor for
2452 AxHost+State (fixes 77743)
2454 2006-03-09 Mike Kestner <mkestner@novell.com>
2457 - Added column drag reordering for details view.
2458 - fixed behavior when mouse is dragged off column and
2459 AllowColumnReorder is false.
2460 * ColumnHeader.cs: clone the format too in Clone.
2461 * Theme.cs: add DrawListViewHeaderDragDetails method.
2462 * ThemeWin32Classic.cs:
2463 - impl new method for drawing drag column shadows and targets.
2464 - support column offset for details mode in DrawListViewItem.
2466 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2468 * TextControl.cs: Reset the char_count when the document is cleared
2469 (Fixes bug reported on mono-winforms mailing list)
2471 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2473 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2474 of calling base we simply process the key ourselves, since both
2475 DefWindowProc and the handled method would set m.Result.
2478 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2480 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2481 method also moves the window; instead implemented a copy of
2482 Control.ScaleCore (Part of fix for #77456)
2484 - Created new CreateGraphicsInternal method to allow providing
2485 a graphics context when no handle is created without triggering
2486 handle creation. (Part of fix for #77456)
2487 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2489 - Switched Constructor to require TextBoxBase instead of Control (to
2490 allow uncast access to CreateGraphicsInternal)
2491 - Safeguarded use of owner.Handle property. No longer accessing it
2492 unless the handle is already created.
2493 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2494 - Now triggering a recalc when owning control becomes visible
2495 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2496 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2497 premature handle creation (Part of fix for #77456)
2499 - We now only destroy our double-buffering buffers when the
2500 control is resized or disposed, but not when visibility
2501 changes. (The code even re-created them twice every time)
2502 - Now requiring a redraw of the buffer on visibility changes
2503 (fixes bug 77654 part 2)
2504 - Not passing OnParentVisibleChanged up unless the control
2506 - CanFocus: Fixed to match MS documentation
2507 - Focus: Fixed to return actual focus state and to check if
2508 setting focus is legal before setting it
2510 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2512 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2513 when to draw focus rectangle by looking at parent focus and
2514 selected state instead. This fixes TabPages on Linux sometimes
2515 having none or multiple focus rectangles.
2516 * XplatUIX11.cs (SetFocus):
2517 - Don't set the focus if the same window already has focus
2518 - Use SendMessage instead of PostMessage (like it's Win32
2519 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2520 to match MS behaviour
2521 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2524 2006-03-07 Jackson Harper <jackson@ximian.com>
2526 * PictureBox.cs: Revert line I accidently committed last week.
2528 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2531 - Added new IsRecreating and ParentIsRecreating properties to
2532 allow testing if RecreateHandle has been called on ourselves
2533 or one of our parents
2534 - WndProc(WM_DESTROY): If our control handle is being recreated
2535 we immediately need to create the handle when receiving the
2536 destroy, that way our child windows find a valid parent handle
2537 when they themselves are being recreated upon WM_DESTROY receipt
2538 (fix for bug #77654 part 1)
2540 - DestroyWindow: WM_DESTROY must be sent to our own window before
2541 notifying any child windows. MS documents that child windows
2542 are still valid when WM_DESTROY is received. (Control now relies on
2544 - Added some fine-grain debug options
2546 2006-03-06 Jackson Harper <jackson@ximian.com>
2548 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2549 box and base calculations off this.
2550 * MdiChildContext.cs:
2551 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2554 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2556 * Splitter.cs: In situations where the affected control is added
2557 to the parent's control list after the splitter, we would not
2558 populate affected. Now we try populating it on mousedown, if
2559 it's not already set, and force it to be re-set whenever our
2562 2006-03-03 Matt Hargett <matt@use.net>
2564 * Control.cs: implement Control.Padding
2565 * Padding.cs: -Padding.All returns -1 when constructing with the
2566 implicit default ctor
2567 -Padding.ToString() matches MS.NET
2568 * ContainerControl.cs: implement
2569 ContainerControl.AutoScaleDimensions
2570 * ListControl.cs: implement ListControl.FormattingEnabled
2571 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2573 * TabPage.cs: Implement UseVisualStyleBackColor.
2574 * PictureBox.cs: Implement PictureBox.InitialImage.
2576 2006-03-03 Mike Kestner <mkestner@novell.com>
2578 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2579 event declarations to proxy to base event.
2580 * ListViewItem.cs: update to use ItemControl.
2581 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2582 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2583 column header label rendering for 0 width columns.
2585 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2587 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2588 that causes the control to be created. Fixes #77476.
2590 2006-03-02 Jackson Harper <jackson@ximian.com>
2592 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2595 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2597 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2598 passed in for the EventArgs (fixes #77690)
2600 2006-03-01 Jackson Harper <jackson@ximian.com>
2602 * ScrollBar.cs: Refresh afterbeing resized.
2604 2006-02-28 Mike Kestner <mkestner@novell.com>
2606 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2607 Clean up a tracker compile warning.
2608 * MenuItem.cs: add internal PerformPopup method.
2611 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2613 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2614 implicit expose) when the text is set to null
2616 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2618 * RichTextBox.cs (FlushText): When newline is true, we always
2619 need to split the line, even if no text is on it and we may
2620 never eat newlines. (Fixes #77669)
2622 2006-02-28 Mike Kestner <mkestner@novell.com>
2624 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2625 and set Selected instead.
2626 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2629 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2631 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2633 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2636 - Got rid of the panel. All controls are now directly added to
2638 - It is now possible to set a font with the Font property
2639 - MinSize and MaxSize property do now what they should
2640 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2641 - Searching and selecting a font with the font textbox works now,
2642 the same applies to the style and size textbox
2643 - Draw the correct 3D border in the example panel
2644 - Fixed a little mem leak (unused fonts didn't get disposed)
2645 - Many other internal updates/rewrites...
2648 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2651 - InsertRTFFromStream: Added 'number of characters inserted' argument
2652 - set_SelectedRTF: Now using the number of characters to calculate
2653 the new location for the selection and cursor (x/y cannot be used
2654 due to potentially already wrapped text)
2656 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2658 * TextControl.cs: Added property and implemented means to allow
2659 disabling recalculation of a document (can be used to speed up
2660 multiple inserts and is needed to make RTF inserts predictable, see
2662 * RichTextBox.cs: Using the new NoRecalc property of Document to
2663 keep x/y insert locations predictable. Also makes it faster inserting
2666 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2668 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2669 it's easier for a child control to handle the other messages without
2670 having to duplicate the special functionality
2672 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2673 code to handle processing the key ourselves, in order to get
2674 access to the result of KeyEventArgs.Handled. We now only call
2675 ProcessKey if they key hasn't been handled already. Fixes #77526.
2676 - set_Text: If null or empty string is given, just clear the
2677 document. Fixes part of #77526
2679 2006-02-27 Jackson Harper <jackson@ximian.com>
2681 * SizeGrip.cs: Paint the background color before painting the grip
2682 so things look right.
2683 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2685 2006-02-27 Mike Kestner <mkestner@novell.com>
2688 - Restructure layout and invalidation model to remove a ton of
2689 flicker from the control and speed up performance in general.
2690 - Add manual column resize, flickers like crazy, but I already have
2691 some ideas on how I'll fix that. (#76822)
2692 - Merge the three Icon-based views into a single layout method.
2693 - Move item selection interaction logic from the item since
2694 interaction with the collections is more appropriate to the view.
2695 - Deselection on non-item clicks.
2697 - Encapsulate most of the layout. Add some internal props to trigger
2698 layout. Move to a model where Items invalidate themselves instead
2699 of just invalidating the whole control every time something changes.
2700 - Invalidate on Text/Caption changes.
2701 - switch to an offset based layout model to avoid having to absolute
2702 position every element on item moves.
2703 - correct checkbox layout to conform to MS layout.
2704 * ThemeWin32Classic.cs:
2705 - refactor some column header drawing code.
2706 - fix string justification for column headers (#76821)
2707 - make SmallIcon labels top justified for compat with MS impl.
2708 * ThemeClearlooks.cs:
2709 - adjust to new ListViewItem internal checkbox bounds api.
2711 2006-02-27 Jackson Harper <jackson@ximian.com>
2713 * Control.cs: Change where implicit controls fall in the zorder.
2714 They are now on top of all children.
2715 - Synced AddImplicit code with Add
2716 - Removed unused enumerator.
2717 * SizeGrip.cs: Remove the TODO as its been TODONE.
2719 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2721 * TextControl.cs(Insert): Combine the last lines unless the insertion
2722 string ends with \n\n, otherwise we leave one line too many (Fixes
2723 something I noticed with the testapp for #77526; the bug itself was
2724 already fixed in the previous checkin)
2726 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2729 - SelectionColor and SelectionFont methods no longer set absolute
2730 styles. Instead, the keep font or color respectively (This
2731 resolves a long-standing FIXME in the code)
2732 - When flushing RTF text, the insert code now considers text trailing
2733 behind the insertion point (Fixes the bug where when replacing
2734 the selected text via SelectedRTF the remainder of the line behind
2735 the selection would stay on the first insertion line)
2737 - AppendText now updates the selection points after inserting text
2738 - AppendText now ensures that the last tag (sometimes 0-length) of
2739 the document is used for the style information (Fixes part of
2742 - Created new FontDefiniton class to allow describing partial style
2744 - StreamLine() now takes a lines argument, to allow it to decide
2745 whether an encountered zero-length tag is the last in the document
2746 (which must be kept to not loose the font/color contained in it,
2748 - Created Combine() and Split() methods for Marker structs, to
2749 support marker updates due to reformatted documents (soft line
2751 - Implemented Document.CaretTag setter
2752 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2753 of the last line (Not the cause, but also exposed by bug #77220)
2754 - Added LineTag argument to InsertString method, to allow callers
2755 to force a certain tag to be used (required to force use of the
2756 trailing zero-length tag of a document)
2757 - Now updating markers in Combine(), to avoid stale tag markers
2758 - Added some method descriptions to aid maintenance
2759 - Implemented new FormatText concept, allowing additive/subtractive
2760 formatting by only specifying the components that are to be
2761 changed. This was needed for resolving the RTB.SelectedColor/
2762 RTB.SelectedFont fixmes
2763 - Added Break() support method to allow breaking up linetags (used
2764 for partial formatting)
2765 - Added GenerateTextFormat() method. It is used for partial
2766 formatting and allows to generate a full font/color from given
2767 attributes and an existing tag.
2769 2006-02-26 Jackson Harper <jackson@ximian.com>
2771 * XplatUIX11.cs: Use the correct caption height.
2772 - Translate hittest coordinates to screen coords to match MS.
2773 * XplatUIWin32.cs: When we create MDI windows we need to reset
2774 some of the style flags, so we get a nice blank window, and can
2775 draw all the decorations ourselves.
2776 - Set a clipping rectangle on the non client paint event, the
2777 window manager drawing code needs one.
2778 * Form.cs: The window manager needs to know when the window state
2780 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2781 don't need to factor in border and title sizes in these
2782 methods. TODO: Remove the args and fix the call points.
2783 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2785 - Let the driver set the cursors.
2786 - Improve active window handling
2787 - Correct sizes for title bars and buttons.
2788 - Match MS drawing better
2789 * MdiWindowManager.cs: We don't need to handle border style
2790 updates specially anymore.
2791 - Check for scrollbars when windows are done moving
2792 - Handle Active properly.
2793 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2794 correctly. I am spewing the exception though, so we don't hide the
2797 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2799 * DataGridViewRowPostPaintEventArgs.cs,
2800 DataGridViewCellPaintingEventArgs.cs,
2801 DataGridViewRowCollection.cs,
2802 DataGridViewRowPrePaintEventArgs.cs,
2803 DataGridViewCell.cs: Clear a few warnings and implement a few
2804 exceptions that should be thrown.
2806 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2808 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2809 'inheriting' our parent's (non-default) cursor. (Part of
2812 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2814 * XplatUIX11.cs: Fixed cast to make csc happy
2816 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2818 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2819 it's for the client area (part of fix for #77479 and needed
2820 for MDI window cursor handling)
2822 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2823 the appropriate default cursors and also passing the message
2825 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2826 for non-client areas
2828 2006-02-15 Jackson Harper <jackson@ximian.com>
2830 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2831 is a real MDI window
2833 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2835 * X11DesktopColors.cs: Instead of checking the desktop session
2836 string for "KDE" check if it starts with "KDE"
2838 2006-02-10 Jackson Harper <jackson@ximian.com>
2840 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2843 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2845 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2848 - Got rid of the panel. All controls are now directly added to
2850 - Changed to mono coding style
2852 2006-02-10 Jackson Harper <jackson@ximian.com>
2854 * InternalWindowManager.cs: We don't need the set visibility to
2855 false hack anymore now that peter has written beautiful shutdown
2858 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2860 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2861 where already explicitly destroyed
2863 2006-02-10 Jackson Harper <jackson@ximian.com>
2865 * MdiClient.cs: Handle the case where windows are too high or to
2866 the left and we need scrollbars.
2868 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2870 * MimeIcon.cs: Added some icons
2873 - Got rid of the panel. All controls are now directly added to
2875 - Changed to mono coding style
2876 - On Linux "My Computer" and "My Network" will now show some
2877 more usefull information. A new class, MasterMount, gathers
2878 this information from /proc/mount. Updated MWFFileView to make
2879 use of this information
2880 - Fixed a bug that caused FileDialog to crash when
2881 ".recently_used" file had a zero size
2882 - FilterIndex does now what it should
2884 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2887 2006-02-09 Jackson Harper <jackson@ximian.com>
2889 * ComboBox.cs: Don't touch if null.
2891 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2893 * Cursor.cs: 64bit safeness fix
2894 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2896 2006-02-09 Jackson Harper <jackson@ximian.com>
2898 * Form.cs: If a form is made into an MDI form update the styles so
2899 all the props can get set correctly.
2900 - Kill the mdi_container when we dont need it anymore.
2901 * InternalWindowManager.cs: Add missing NOT
2903 2006-02-08 Jackson Harper <jackson@ximian.com>
2905 * InternalWindowManager.cs: Respek clipping when drawing MDi
2908 2006-02-08 Jackson Harper <jackson@ximian.com>
2910 * Hwnd.cs: Add bits to track non client expose events.
2911 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2912 gives us a proper invalid rect and will allow for some nice
2913 optimizations with NC client drawing
2914 - MDI windows are children windows, so move their style handling
2915 into the child window block.
2916 * InternalWindowManager.cs: Remove a state reset that was
2917 getting invoked at the wrong time. Fixes managed windows getting
2918 into a 'stuck' captured state.
2920 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2922 * TextControl.cs (Document.ctor): Now initializing
2923 selection_anchor. Fixes #77493
2925 2006-02-07 Jackson Harper <jackson@ximian.com>
2927 * TrackBar.cs: The increment/decrements were backwards.
2929 2006-02-07 Mike Kestner <mkestner@novell.com>
2931 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2932 to the instance itself.
2934 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2936 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
2937 on ulongs and pointers, the size differs between 32bit and 64bit
2940 2006-02-07 Mike Kestner <mkestner@novell.com>
2942 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
2943 for 64 bit platforms to work around a metacity bug.
2945 2006-02-07 Jackson Harper <jackson@ximian.com>
2947 * TrackBar.cs: Process the input keys we need, and hookup to
2948 KeyDown instead of using WndProc, so we get key messages.
2950 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2952 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
2954 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
2955 we need to translate the XdndVersion atoms array before sending it
2957 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
2960 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
2961 number of bits for the property, not the number of bytes. The
2962 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
2963 but would not crash since it specified 8 bits instead of 4 bits)
2964 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
2965 defined as XID -> long in the C headers)
2966 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
2967 references since those are now IntPtr to begin with
2968 - Switched all Atom.XXX 'int' casts to IntPtr casts
2969 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
2970 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
2971 - Added XChangeActivePointerGrab DllImport (for X11DnD)
2973 - Changed 'int' type for Atoms in XEvent structures to IntPtr
2974 - Changed atom in HoverStruct to be IntPtr
2976 - Removed local DllImports, switched code to use those from XplatUIX11
2977 - Removed/fixed casts related to the switch of Atom to be a IntPtr
2979 2006-02-06 Mike Kestner <mkestner@novell.com>
2981 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
2982 method signatures in the import region. There may still be some
2983 lingering struct marshaling issues, as I didn't drill down into those.
2986 2006-02-06 Jackson Harper <jackson@ximian.com>
2988 * ComboBox.cs: Dont manually set the top_item, this is computed
2989 when the scrollbar position is set.
2991 2006-02-06 Mike Kestner <mkestner@novell.com>
2993 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
2994 startup crashes on amd64. There's other fixes needed. All pinvoke
2995 usage of Atom needs to be mapped to IntPtr for example. And there are
2996 likely other int/long issues to be addressed.
2998 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3000 * FileDialog.cs: One more...
3002 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3004 * FileDialog.cs: Next try
3006 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3008 * FileDialog.cs: First part of fix for #77464
3010 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3012 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3013 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3014 AcceptButton border drawing.
3016 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3018 * Form.cs: Moved positioning of form after auto scaling is applied,
3019 otherwise it would possibly use wrong form size.
3021 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3023 * Control.cs (RecreateHandle): No need to re-create any child
3024 controls, the child windows will get destroyed automatically by
3025 the windowing system or driver, and re-created when the handle
3026 is being accessed the first time. Fixes #77456
3027 * Form.cs: No longer setting the form to closing if the handle is
3028 being recreated. This seems like the right thing to do, don't
3029 have a bug or testcase for this, though.
3031 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3033 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3034 controls to avoid unwanted side effects
3036 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3039 - ScaleCore needs to scale the bounds, not the ClientSize of the
3040 control. Fixes #77416.
3041 - DefaultSize is 0,0 for control
3043 - DefaultSize is 100, 20
3044 - SetBoundsCore: Now enforcing the height, no matter if the provided
3045 height is more or less than the preferred one, as long as AutoSize
3047 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3049 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3052 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3053 call unless both performLayout is true *and* we have a pending
3055 - ResumeLayout: MS does not completely nest Suspend and Resume,
3056 they bottom out at 0, fixed our code to match that.
3057 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3058 SetBoundsCore, we were updating even when we shouldn't. This fixes
3059 swf-anchors mis-anchoring when resizing the app fast and lots.
3060 - UpdateDistances: Now only setting the left and top distance if
3061 we have a parent and are not suspended, this is based on
3062 a suggestion by Don Edvaldson in bug #77355.
3063 - OnVisibleChanged: Fixed logic when to create the control. We may
3064 not create the control if we have no parent or if it's not visible;
3065 switched to using Visible property instead of is_visible field
3066 since the property also considers parent states. This fixes a bug
3067 when starting Paint.Net
3069 2006-02-02 Jackson Harper <jackson@ximian.com>
3071 * Form.cs: If the forms handle hasn't been created yet don't call
3072 into xplatui to make it top most, just set the topmost flag on the
3073 form in CreateParams
3074 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3076 2006-02-01 Jackson Harper <jackson@ximian.com>
3078 * ScrollableControl.cs: Refactored the Recalculate method a
3079 little, this wasn't handling all the variants of bottom and right
3080 bars needed to be added and added/removed based on their
3081 counterparts being added/removed (which changes the drawable
3082 size). Also we special case client widths and heights of 0 and
3083 don't add the scrollbar for those.
3085 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3088 - Added method to get AbsoluteGeometry(); currently unused, but might
3089 be used in the future, if we try again to figure out toplevel
3090 coordinates with some more crappy window managers
3091 - Added FrameExtents() method to retrieve the WM set decoration size
3092 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3093 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3095 - Added whacky_wm tracking var for metacity
3096 - Added logic to have default menu height if the actual menu height
3097 has not yet been calculated (part of fix for #77426)
3098 * Form.cs: Keep track whether client size has been set and re-set
3099 it if a menu is added/removed afterwards (Fixes #77426)
3101 2006-01-31 Jackson Harper <jackson@ximian.com>
3103 * Control.cs: When a new Site is set on the component attempt to
3104 pull the AmbientProperties from it.
3106 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3108 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3109 in the background of the owning form. Fixes #77332
3111 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3113 * MimeIcon.cs: Fix for #77409
3115 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3117 * XplatUIX11GTK.cs: Initial import
3119 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3121 * FixedSizeTextBox: fixes class signature
3123 2006-01-30 Jackson Harper <jackson@ximian.com>
3125 * FixedSizeTextBox.cs: New internal class that represents a
3126 textBox that will not be scaled.
3129 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3132 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3134 * XplatUIX11.cs: Retrieve default screen number instead of
3135 assuming 0. Attempted fix for #77318
3137 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3140 - GetWindowPos: When a window is parented by FosterParent, use
3141 the desktop instead of FosterParent as the base to get coordinates
3142 - CreateWindow: Don't make FosterParent the parent window for Popups
3143 if we don't want a taskbar entry, Popups automatically don't get one
3144 * Hwnd.cs: Need to call remove to actually remove the key from the
3147 2006-01-30 Mike Kestner <mkestner@novell.com>
3149 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3151 2006-01-30 Jackson Harper <jackson@ximian.com>
3154 * TreeNode.cs: Raise events no matter how the treenode is
3155 checked. Patch by Don Edvalson.
3157 2006-01-30 Jackson Harper <jackson@ximian.com>
3159 * TreeNode.cs: Signature fix.
3161 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3163 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3165 2006-01-20 Mike Kestner <mkestner@novell.com>
3167 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3168 event forwarding when menus are active.
3169 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3170 Most of the patch is pdb's with a little rework.
3172 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3174 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3175 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3176 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3177 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3178 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3179 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3180 the PaintWindowDecorations method
3181 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3182 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3183 * MenuAPI.cs: Made tracker window invisible
3185 - Removed GetMenuDC and ReleaseMenuDC methods
3186 - Implemented the client=false path for PaintEventStart and
3189 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3191 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3192 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3195 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3197 - CreateParams: Reworked the styles to match MS look'n'feel,
3198 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3199 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3201 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3203 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3204 window is not mapped, since otherwise every form that's being
3205 created is considered minimized, which is wrong.
3206 * Form.cs: Catching the exception and returning our internal value
3209 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3211 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3212 SetWindowMinMax() to have means to tell the driver about the minimum,
3213 maximum and maximized state window sizes. (Part of the fix for #76485)
3215 - Implemented tracking of minimum and maximum window size, now calling
3216 new SetWindowMinMax() driver method to tell the driver (Part of the
3218 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3219 (Completes fix for #76485)
3220 - Calling new SetWindowMinMax driver method when the handle for a
3221 form is created, to make sure the driver knows about it even if
3222 the values have been set before the window was created
3223 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3224 to avoid messing up our anchoring calculations (partial fix
3226 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3228 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3229 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3230 (and presumably other freedesktop.org compliant WMs). Left the
3231 assumption unmapped=minimized, needed for SetVisible to work.
3232 - Now setting the window state when creating windows
3233 - Fixed SetVisible to consider/set the window state when mapping
3234 a Form. We cannot set the state before it's mapped, and we cannot
3235 use Form.WindowState once it's mapped (since it would ask the
3236 driver and get 'normal'. Therefore, we grab the state before
3237 mapping, map, and then set state.
3238 - Implmemented SetWindowMinMax method; Metacity does not seem to
3239 honor the ZoomHints, though.
3241 - Removed MINMAXINFO (moved to XplatUIStructs)
3242 - Added SetWindowMinMax stub (on Win32 the only way to set that
3243 information is in response to the WM_GETMINMAXINFO message, which
3244 is handled in Form.cs)
3245 - Added logic to SetVisible to set the proper window state when a
3246 form is made visible (fixes #75720)
3248 2006-01-26 Jackson Harper <jackson@ximian.com>
3250 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3251 same way we handle them with Invoke.
3253 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3256 - Added tracking of window state so CreateParams can return
3257 the appropriate style
3258 - Moved setting of WS_CAPTION style in CreateParams to allow
3259 styles without caption
3260 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3261 control if the TextBox property is accessed. Fixes #77345
3263 - get_Created: now uses is_disposed and is_created to determine
3264 return value (suggested by Jackson)
3265 - CreateHandle: No longer exits if the handle is being recreated
3266 - RecreateHandle: If the handle is not yet created call the
3267 appropriate method to create either control or handle. If the
3268 control is already created CreateHandle will simply exit instead
3269 of just creating the handle
3270 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3271 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3274 - When DestroyWindow is called, instead of waiting for the
3275 DestroyNotification from X11, we directly post it to the WndProc
3276 and immediately dispose the hwnd object.
3277 Same applies to DestroyChildWindows, and this obsoletes the
3278 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3279 child windows before our own, to avoid X11 errors.
3280 - Removed the direct sending of WM_PAINT on UpdateWindow
3282 - Reworked DoEvents and GetMessage to allow access to internal queue
3283 even when trying non-blocking access to the queue. Fixes #77335.
3284 Based on a patch suggestion by Don Edvalson. The new private
3285 GetMessage can now also be used as a backend for a PeekMessage
3287 * XplatUI.cs: Improved debug output for CreateWindow
3289 2006-01-25 Jackson Harper <jackson@ximian.com>
3291 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3293 2006-01-24 Jackson Harper <jackson@ximian.com>
3295 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3296 when we have a MaxDropItems lower then the selected index.
3298 2006-01-24 Jackson Harper <jackson@ximian.com>
3300 * Control.cs: Don't allow selection of non visible controls, allow
3301 selection of controls without parents.
3303 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3305 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3306 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3308 2006-01-23 Jackson Harper <jackson@ximian.com>
3310 * UpDownBase.cs: Make the textbox handle all the selection and
3311 tabbing. This fixes tabing to updown controls.
3313 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3315 * TextBoxBase.cs: fixes exception thown the object was null
3317 2006-01-23 Jackson Harper <jackson@ximian.com>
3319 * ButtonBase.cs: Just use the base CreateParams. They set
3320 visibility and enabled correctly.
3323 * MonthCalendar.cs: Lets let the base set as much of the
3324 createparams as possible so we don't have duplicate code all over
3327 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3329 * ThemeGtk.cs: Added TrackBar and some experimental code to
3330 get double buffering back
3332 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3334 * DataGrid.cs: Allows row number set internally higher than the last
3335 when creating a new row. Restores the editing functionality.
3337 2006-01-20 Mike Kestner <mkestner@novell.com>
3339 * MimeIcon.cs: delay Image creation until the icons are accessed
3340 instead of creating 190 scaled images on GnomeHandler startup.
3342 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3344 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3345 first call base before processing the event. Fixes #77279
3347 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3349 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3350 that the stride for the GDI bitmap would match the stride of
3353 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3355 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3357 2006-01-19 Jackson Harper <jackson@ximian.com>
3359 * ComboBox.cs: Hookup the text controls keydown event so we get
3360 those when the text control has the focus.
3362 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3364 * Label.cs: Now using the base events instead of defining new ones;
3365 this allows us to just call the base properties without having to
3366 duplicate all base property logic
3368 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3370 * Label.cs: A label by default is not a tabstop (Fixes one of our
3371 failing nunit tests)
3373 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3375 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3376 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3378 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3380 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3381 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3384 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3385 constructor creates images that can't be saved. Part of the fix
3387 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3388 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3389 bug fix for handling window state in forms properly)
3391 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3393 * ThemeGtk.cs: Simplify ScrollBar drawing
3395 2006-01-18 Jackson Harper <jackson@ximian.com>
3397 * Splitter.cs: Set the default dock style for the splitter control
3400 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3402 * ThemeGtk.cs: Corrected StateType and ShadowType for
3405 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3407 * Control.cs: Make use of Theme.DoubleBufferingSupported
3409 - Added drawing for flat style buttons
3410 - Added ScrollBar drawing
3412 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3414 * ThemeClearlooks.cs: Removed some unneeded code.
3415 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3417 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3419 * LinkLabel.cs: We need to update the hover drawing when
3420 leaving the control as well.
3422 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3424 * DataGrid.cs: Clicking on non empty areas in the columns
3425 area was giving an exception
3427 2006-01-17 Jackson Harper <jackson@ximian.com>
3429 * ThemeWin32Classic.cs:
3430 * ListView.cs: Do not draw/clip the headers when the header style
3433 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3435 * DataGrid.cs: Fixes 77260
3437 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3439 * DataGrid.cs: Clicking on a column on a empty grid was giving
3442 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3444 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3445 or any keypress will crash the grid.
3447 2006-01-17 Mike Kestner <mkestner@novell.com>
3449 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3450 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3451 invisible/previously-visible items.
3454 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3456 * ThemeClearlooks.cs:
3457 - Added CL_Draw_Button method; now other theme controls that are
3458 not derived from button or do not have a button can draw buttons
3460 - Updated ComboBox drawing
3461 - Beautified RadioButton drawing
3462 - Corrected drawing of bottom and left tabs
3463 - Beautified DateTimePicker and MonthCalendar
3464 - Added CPDrawButton and CPDrawRadioButton
3466 2006-01-16 Jackson Harper <jackson@ximian.com>
3468 * ComboBox.cs: Set the initial value of the scrollbar to the
3469 current index. Reduce the numbers of refreshs and IndexOfs called.
3471 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3473 * FileDialog.cs: When the file listview is focused hitting the
3474 backspace key moves the fileview to the parent directory
3476 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3479 - Added RecreateHandle call when changing taskbar visibility to
3480 trigger reparenting in Win32 driver (Fixes #75719)
3481 - If a window has minimize or maximize buttons, it cannot have
3484 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3485 the toplevel form with FosterParent (A toolwindow not on the
3486 taskbar) (Fixes #75719)
3487 - Made FosterParent a toolwindow
3489 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3491 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3493 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3495 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3496 is currently over that control, make sure that tooltip_window.Text
3499 2006-01-13 Mike Kestner <mkestner@novell.com>
3501 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3503 2006-01-13 Jackson Harper <jackson@ximian.com>
3505 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3506 value passed. Also redraw the selected node when we recieve
3507 focus, so tabbing between trees works correctly.
3509 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3511 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3512 ~/.gconf/%gconf-tree.xml, so use
3513 .gconf/desktop/gnome/interface/%gconf.xml
3515 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3517 * TextControl.cs: Draw text in gray if control is disabled
3519 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3521 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3522 make sure it's always visible. Fixes #76680.
3524 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3526 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3528 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3530 * PageSetupDialog.cs: Added.
3531 * PrintDialog.cs: Attributes.
3532 * PrintPreviewControl.cs: Updates.
3533 * PrintPreviewDialog.cs: Updates.
3535 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3537 * Control.cs: Undid my selection check fix, since it's not needed
3539 - Now considering the presence of hscroll/vscroll when sizing
3540 vscroll/hscroll respectively. Fixed bug #77077
3541 - Added Left/Up/Down/Right to IsInputKey list to prevent
3542 ContainerControl from stealing them. This fixes what I broke
3543 with my last checkin.
3545 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3547 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3548 I finally understand how the property can be set without a setter :-)
3550 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3553 - Switched RunLoop to use static Message.Create to create a
3555 - Added PreProcessMessage call in runloop for keyboard events; this
3556 is part of the fix for #77219, I overlooked this originally in the
3557 MSDN doc for PreProcessMessage
3559 - Removed call to PreProcessMessage from handling of keyboard
3560 messages; it's supposed to be done in the message pump
3561 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3562 per MSDN documentation.
3563 - IsInputChar: All chars are input chars by default; removed the
3564 parent calling chain, MS does not document that
3565 - PreProcessMessage: If IsInputChar is true, we want to return false
3566 to allow dispatching of the message
3567 - When selecting the next control, now also check that we're not
3568 selecting ourselves again and therefore return a false positive.
3570 - Tried to match return values for IsInputKey and ProcessDialogKey
3571 to what MS returns; moved processing of our special keys outside
3572 ProcessDialogKey since MS does not seem to return true on those.
3573 - Moved code that previously was in ProcessDialogKey into new private
3574 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3575 - Reworked handling of WM_CHAR to not have to duplicate code from
3576 Control.cs anymore, instead we simply call down to base.
3578 2006-01-12 Jackson Harper <jackson@ximian.com>
3580 * ComboBox.cs: We always need to refresh the text area when
3581 EndUpdate is called. Fixes the combobox in the file dialog.
3582 * Control.cs: Don't create the creator_thread until the controls
3583 handle is created. Also in InvokeRequired we check if the
3584 creator_thread is null. This gives the effect of InvokeRequired
3585 returning true if the controls handle is not created yet, and
3588 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3591 - Added StartLoop() driver method. This is used to allow drivers to
3592 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3593 loop for a particular thread
3594 - Added EndLoop() driver method. This is called once the message
3595 pump for the thread is shut down
3596 - Added SupportsTransparency method to allow the driver to indicate
3597 opacity support for windows
3599 - Removed TODO attribute, completed AllowTransparency property
3600 - Added documented logic to Opacity
3601 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3602 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3603 versions of CompatibleTextRendering
3604 * X11Structs.cs: Added opacity atom to our atom enumeration
3605 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3606 of a form might be set before it's reparented by the WM, and we need
3607 the opacity value without calling up to Form)
3608 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3609 SupportsTransparency() driver methods
3610 * Application.cs: Now calling StartLoop and EndLoop driver methods
3612 - Added opacity atom registration
3613 - Added StartLoop()/EndLoop() methods. They're empty right now but
3614 will need to get implemented when we switch to a per-thread queue
3615 - Implemented SupportsTransparency() method
3616 - Implemented SetWindowTransparency() method
3617 - Added support for setting the opacity value when a window is
3618 reparented (since the opacity needs to be set on the WM frame)
3619 * XplatUIOSX.cs, XplatUIWin32.cs:
3620 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3622 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3624 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3626 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3628 * FileDialog.cs: Added ToolTip for MWFFileView
3629 * MimeIcon.cs: Rewrote GnomeHandler.
3630 - Get currently used gnome icon theme from
3631 ($HOME)/.gconf/%gconf-tree.xml
3632 - Make use of inherited icon themes
3633 - Support SVG icon themes like Tango via librsvg
3635 2006-01-12 Miguel de Icaza <miguel@novell.com>
3637 Revert's Jackson's revert which broke 2.0 builds. Fix both
3640 * Application.cs: Move the use_compatible_text_rendering outside
3641 the NET_2_0 define. If we ever need to use the
3642 use_compatible_text_rendering on the individual controls they will
3643 access the variable from the common shared code paths.
3645 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3648 - Added more granular debug options
3649 - Added method to print both window text and id
3650 - Switched debug output to use new Window() debug method
3651 - Added IsEnabled() driver method
3652 - Added EnableWindow() driver method
3654 - Removed end_modal; no longer needed, new loop handles termination
3655 via 'closing' variable
3656 - If form is modal, setting DialogResult will now initiate loop
3657 termination via 'closing' variable
3658 - Added support for is_enabled/WS_DISABLED to CreateParams
3659 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3661 - Removed code that's now in RunLoop from ShowDialog()
3662 - Added various documented sanity checks to ShowDialog()
3663 - Added handling of WM_DESTROY message; we set 'closing' on getting
3664 the message to indicate the message pump to terminate
3665 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3666 send by the Application.ExitThread method. (We send the message
3667 to destroy the window after all other events have been
3668 processed through the queue, instead of destroying the handle
3670 - Moved code from Close() method to WM_CLOSE handler; added logic
3671 to only send close-related events if the form is not displayed
3673 * Splitter.cs (..ctor): Fixed typo in resource name
3675 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3677 - set_Cursor: Now only setting calling into XplatUI if the handle for
3678 the control is already created; this avoids implict handle creation
3679 or crashes if it's not created
3680 - set_Enabled: Now setting the enabled state via the new driver method
3681 instead of just tracking it
3682 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3683 - CreateControl: Reordered event firing and method calls to more
3684 closely fire events in the order MS does. Now setting the
3685 enabled state in the driver when creating the control.
3686 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3688 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3689 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3690 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3692 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3693 - Added EnabledHwnd property to easily allow a driver to find the
3694 handle of the first enabled window in the parent chain (this is
3695 used by drivers to pass up input events of disabled windows)
3696 * XplatUIDriver.cs: Added IsEnabled() method
3698 - Removed crude and obsolete exiting tracking variable
3699 - Removed internal ModalRun(); replaced by RunLoop()
3700 - Implemented private CloseForms() method to allow closing all
3701 windows owned by a particular (or all) threads
3702 - Exit() now properly closes all windows without forcing the message
3704 - Removed obsolete InternalExit() method
3705 - Changed Run() methods to use new RunLoop() message pump
3706 - Implemented new RunLoop() method for both modal and non-modal forms
3708 - get_CreateParams: Added setting of WS_DISABLED
3709 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3710 invoked via Form.ShowDialog()
3711 * NativeWindow.cs: We don't remove the window from the collection when
3712 the handle is destroyed; there might still be messages for it in the
3713 queue (mainly the resulting WM_DESTROY); instead it will be removed
3714 when Control calls InvalidateHandle in the WM_DESTROY handler
3716 - CreateWindow: Added logic to handle the WS_DISABLED window style
3717 - EnableWindow: Implemented based on Hwnd.Enabled
3718 - GetMessage: Reset PostQuitState so the method can be called again
3719 - Implemented support for disabled windows (passing messages to the
3720 first enabled parent) in handling all input messages
3721 - Added optimizations for handling Expose events
3722 - Implemeted new driver method IsEnabled()
3723 - Now always resetting paint pending tracking vars when we start paint
3724 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3725 * XplatUIOSX.cs: Added IsEnabled method stub
3726 * XplatUIWin32.cs: Implemented new IsEnabled() method
3728 2006-01-11 Jackson Harper <jackson@ximian.com>
3730 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3731 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3733 * ColorDialog.cs: Clear out the old form before adding the new
3736 2006-01-11 Jackson Harper <jackson@ximian.com>
3738 * X11Dnd.cs: Make sure to add all the text formats when adding
3739 strings to the data object.
3740 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3741 do some redrawing too. Also change the UpdateNode to an
3742 UpdateBelow so the newly added node gets painted.
3744 2006-01-11 Miguel de Icaza <miguel@novell.com>
3746 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3747 LinkLabel.cs, PropertyGrid.cs: Implement the
3748 UseCompatibleTextRendering property for 2.x
3750 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3752 2006-01-11 Jackson Harper <jackson@ximian.com>
3754 * TreeView.cs: Use the property for setting the selected node so
3755 the correct events get raised.
3756 * TreeNode.cs: Update the tree when the fore/back colours of a
3759 2006-01-10 Jackson Harper <jackson@ximian.com>
3761 * TreeView.cs: Allow setting SelectedNode to null.
3763 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3765 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3767 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3769 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3771 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3773 * PrintDialog.cs: Added attributes and set default property values.
3775 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3777 * PrintControllerWithStatusDialog.cs:
3778 Added PrintControllerWithStatusDialog.
3780 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3782 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3783 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3785 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3787 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3789 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3791 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3792 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3794 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3796 * MimeIcon.cs: Added internal class SVGUtil.
3798 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3800 * FileDialog.cs: Don't crash if there are two files with the
3801 same name but different locations.
3803 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3805 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3806 dates across multiple month grids. Used to not highlight entire
3807 month, but does now.
3809 2006-01-06 Jackson Harper <jackson@ximian.com>
3811 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3812 message loop. Change timer intervals to numbers that seem more
3815 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3817 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3818 object for location info since screen object is now implemented.
3820 2006-01-05 Jackson Harper <jackson@ximian.com>
3822 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3823 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3824 AsyncMethodResult, this is because we ALWAYS want the
3825 ManualResetEvent to get set.
3826 * Control.cs: When disposing use an async invoke to call shutdown
3827 code, so that thigns don't block on the finalizer thread. Also
3828 check if we even have a message loop before trying to send
3829 messages, if we don't then don't bother sending messages.
3830 - No more weak references for async methods
3831 * XplatUIDriver.cs: No more weak references for async methods.
3833 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3835 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3836 returns two FontFamily with the same name
3838 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3840 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3841 drawing disabled text. Instead using the ColorGrayText color
3843 2006-01-04 Jackson Harper <jackson@ximian.com>
3845 * TreeNode.cs: redraw the node when its image index is changed.
3847 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3849 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3850 time I checked there are no others like it.
3852 2006-01-04 Jackson Harper <jackson@ximian.com>
3854 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3855 this gives the behavoir I was looking for.
3856 * Control.cs: Special case Invoking EventHandlers, this matches MS
3857 and fixes part of bug #76326.
3859 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3861 * ThemeClearlooks.cs, FileDialog.cs:
3862 - Reflect the latest Theme class changes
3863 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3866 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3868 * Theme.cs: Cache UI resource images and resize them if needed
3870 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3872 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3873 is called. This fixes the crash in Nexxia when setting the font
3874 attributes in the chat. [However, RTF needs a look-over to make sure
3875 that all SelectionXXX methods handle the special case that selection
3876 is empty and therefore the change must be applied to all text starting
3877 at the cursor/selection start]
3879 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3881 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3882 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3883 * X11Keyboard.cs: Switched to new way of calling PostMessage
3885 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3887 * Theme.cs: Added theme interface for images to allow the theme to
3888 control what images are used for things like FileDialog, MessageBox
3890 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3892 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3895 - Removed some dead code
3896 - Opening a recently used file does work now
3897 - Small UI enhancements
3900 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3902 * FileDialog.cs: Forgot too add __MonoCS__
3904 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3906 * FileDialog.cs: We are able to read recently used files now let's
3907 go on and write them.
3909 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3911 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3913 * MimeIcon.cs: Do a check for the top level media type also
3915 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3917 * ThemeClearlooks.cs:
3918 - Added CPDrawStringDisabled
3919 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3920 some chars if the text doesn't fit into text_rect
3921 - DrawListViewItem: If View = View.LargeIcon center the image;
3922 rewrote the drawing of ListViewItem.Text if View =
3925 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3927 * MimeIcon.cs: Use default KDE icon theme if there is no
3928 "48x48" directory for the current icon theme, fixes #77114
3929 * Mime.cs: Disable not working and actually not used code.
3930 * ThemeWin32Classic.cs:
3931 - Replace "new SolidBrush" in GetControlBackBrush and
3932 GetControlForeBrush with ResPool.GetSolidBrush
3933 - Changed DrawListViewItem from private to protected virtual
3935 - Added form.MaximizeBox = true
3936 - Don't throw an exception if there is a broken symbolic link
3938 2005-12-23 Jackson Harper <jackson@ximian.com>
3940 * TabControl.cs: Give the panels focus, keyboard navigation is
3941 fixed so this works correctly now.
3942 - We need these key events also.
3943 * ToolBar.cs: Remove some of the poor mans double buffering.
3945 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
3947 * ComboBox.cs: The internal TextBox now returns the focus.
3949 2005-12-23 Jackson Harper <jackson@ximian.com>
3951 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
3953 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3955 * Control.cs: Removed debug code
3956 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
3959 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3961 * Control.cs: When creating the control, update the Z-order after
3962 all it's children are created, too. (Fixes nexxia not showing
3965 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
3967 * Control.cs: Do not update the anchoring distances if layout is
3968 suspended, instead do it once layout is resumed
3970 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3973 - After many hours of debugging, for both Jackson and
3974 myself, it turns out that it helps to set the parent of a control
3975 if you want to actually see it onscreen. In the spirit of that
3976 discovery, we're now setting the parent of the control and
3977 it's children when the control's handle is created. This fix
3978 will make Lutz Roeder's Reflector run happily.
3979 - now just creating the handle instead of the whole control when
3980 getting a graphics context for the control.
3982 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3984 * ScrollableControl.cs: When calculating the canvas, don't consider
3985 the scrollbar widths. Instead, predict if horizontal scrollbar
3986 will affect canvas when deciding on vertical display and vice versa.
3988 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
3990 * RichTextBox.cs: Set default RTF font for documents that don't
3991 have a font table (Fixes #77076)
3993 2005-12-22 Jackson Harper <jackson@ximian.com>
3995 * TextBoxBase.cs: It's difficult to do, but you can have an empty
3996 clipboard. This prevents a NullRef in that case.
3997 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
3998 clipboard. PRIMARY is for the currently selected text only. (We
3999 should implement PRIMARY at some point.
4001 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4003 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4004 a Unicode function with a structure that was defined in Ansi way.
4007 2005-12-21 Jackson Harper <jackson@ximian.com>
4009 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4010 on. Because thats how it rolls. (and this avoids it using ambient
4012 * ThemeWin32Classic.cs: Use the proper back color for filling.
4013 * Menu.cs: Use the system menu bar color for drawing menu
4014 bars. Using the window back color will bring ambient colours into
4017 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4019 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4020 Bitmaps were created and not disposed.
4022 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4024 * Control.cs (CreateControl): Don't do anything if the control is
4025 already created, otherwise we'd fire the OnCreated event more than
4028 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4030 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4031 will always match. Instead return -1. Fixes #76464.
4033 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4035 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4036 neither the beginning nor the end of the line (Fixes bug #76479)
4038 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4041 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4042 where handle is invalid
4043 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4044 instead of slower linear search
4045 * NativeWindow.cs: Don't remove the window from the hashtable until
4046 after the driver has destroyed it (since the driver might use
4047 Control.FromHandle to lookup the control object
4048 * Hwnd.cs: Added DestroyPending property to track if a window is
4049 already destroyed as far as the driver is concerned and only hasn't
4050 yet notified the control
4052 - Activate(): Check if the window is still valid before using the
4054 - Implemented DestroyChildWindow() method to mark child windows as
4055 destroyed when a window is destroyed. This prevents situations
4056 where we might call an X method based on queued events for a
4057 window that already has been destroyed but we haven't yet pulled
4058 the destroy method from the queue.
4059 - Added a call to the new DestroyChildWindow() method to the drivers
4060 DestroyWindow code. Also now marking the destroyed window itself
4063 2005-12-20 Jackson Harper <jackson@ximian.com>
4066 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4067 anymore. Just do them when needed, also track the rects of panels
4068 so that we can optimize refreshing more in the future.
4070 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4072 * ColorDialog.cs: Fixed focus drawing in small color controls
4074 2005-12-19 Jackson Harper <jackson@ximian.com>
4076 * InternalWindowManager.cs:
4077 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4078 moving windows works properly.
4080 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4083 - Removed call to InitLayout() from SetBoundsCore(); doc says
4084 it's only called when a control is added to a container
4085 - Split InitLayout logic, moved to separate UpdateDistances() method
4086 since we need to perform those calculations more often than just
4087 when adding the control to a container. (Needed to fix #77022)
4088 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4089 - Reduced the OnBindingContextChanged events count, don't send them
4090 unless the control is created, we still aren't totally matching
4091 MS, but I can't quite figure out some of their rules
4093 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4095 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4098 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4100 * ThemeClearlooks.cs:
4101 - Updated ProgressBar drawing
4102 - Corrected drawing of ScrollBars and scroll buttons
4103 - Some temporary fixes for minor pixel artefacts
4105 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4108 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4109 cause events to be sent in the same order as MS does.
4110 - Added ChangeParent() method to trigger various OnXXXChanged events
4111 that need to be fired when a parent changes (This is a reworking
4112 of the patch from r54254, with the X11 errors fixed)
4113 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4114 since on MS we get OnLayoutChanged events when calling Clear()
4115 - Changed Enabled property to consider parent state as well, if a
4116 parent is not enabled, the control will not be either
4117 - Changed Parent property to simply call Controls.Add() since that
4118 now does all the work required, this way we avoid code duplication
4119 - Threw in a few OnBindingsContextChanged calls to try and match
4120 when MS sends them. We seem to send a few too many, though.
4121 - Added call to CreateControl when adding the control to a parent.
4122 We were never calling CreateControl. Still needs some work, in
4123 some places we treat HandleCreated and ControlCreated as equal,
4125 - Removed obsolete commented out code from UpdateZOrder()
4127 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4129 * ThemeClearlooks.cs: Updated TrackBar drawing.
4131 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4133 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4135 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4137 * FileDialog.cs: Add the Help button and the open readonly
4138 checkbox only if needed
4140 2005-12-16 Jackson Harper <jackson@ximian.com>
4142 * Control.cs: Make sure we have an active menu before trying to
4143 process commands on it. Prevents menu-less forms from crashing
4144 when Alt is pressed.
4145 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4147 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4150 2005-12-16 Jackson Harper <jackson@ximian.com>
4152 * InternalWindowManager.cs: Don't translate tool windows screen
4153 coordinates. This fixes windows 'bouncing' around when being moved.
4155 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4158 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4159 not quite MS compatible, MS uses that number only for single line
4160 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4162 - Now enforcing the MaxLength limit when entering characters
4163 - Added argument to internal Paste() method to track if it's called
4164 from programatically or via keyboard, since keyboard driven pastes
4165 need to enforce max-length
4166 - Added logic to Paste to only paste as many chars as MaxLength
4168 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4170 - Added Length property to return number of characters in document
4171 - Added private CharCount property which only tracks actual chars
4172 in the document (no linefeeds) and fires event when CharCount
4174 - Added tracking of character count to all methods that alter it
4175 - Added LengthChanged event to allow applications to subscribe
4176 to any changes to the document
4178 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4181 - Removed local password_char field (moved to TextBoxBase)
4182 - Now setting the document's password var when password is
4185 - Added password_char field (needed here so MultiLine can
4187 - Added logic to MultiLine property setter to set the document's
4188 variable when password display is allowed
4189 - Removed debug code and made some debug code conditional
4191 - Added RecalculatePasswordLine() method to handle special password
4193 - Added PasswordChar property, also added related tracking vars
4194 - Draw() method now uses local text var for grabbing text to draw,
4195 this var is set to line.text unless we're doing password display,
4196 then it is set to the pre-generated all-password-chars line
4197 - Added calling RecalculatePasswordLine() method for password lines
4199 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4202 - Added Reparented property to allow tracking of Window Manager
4203 reparenting actions (which affect X/Y calculations of toplevel
4205 - Made ToString() print window handles in hex
4207 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4208 determine if X/Y needs offsetting
4209 - AddConfigureNotify(): Fixed offset calculations
4210 - Now adds ReparentNotify messages into the queue
4211 - Now processes ReparentNotify messages and causes a
4212 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4213 is reparented (as most likely it's X/Y coordinates are changed
4216 2005-12-14 Jackson Harper <jackson@ximian.com>
4218 * XplatUIX11.cs: Tool windows still need to respek focus.
4220 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4222 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4223 have a working release
4225 2005-12-13 Jackson Harper <jackson@ximian.com>
4227 * Form.cs: Update styles after setting the border style regardless
4228 of whether or not the window is using a window manager.
4230 2005-12-13 Jackson Harper <jackson@ximian.com>
4232 * Form.cs: We now hook into an internal window manager instead of just an
4233 MDI subsystem, this is so we can have properly behaving tool windows.
4234 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4235 * InternalWindowManager.cs: New internal class that acts as a
4236 window manager for tool windows and as a base for mdi windows.
4237 * MdiWindowManager.cs: New class that acts as a window manager for
4240 2005-12-12 Jackson Harper <jackson@ximian.com>
4242 * Control.cs: Updates so we match behavoir for for implicit
4243 controls. Fixes explosions in MDI.
4245 2005-12-12 Jackson Harper <jackson@ximian.com>
4247 * Control.cs: Implement Invalidate (Region).
4249 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4252 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4253 the same events as MS does. MS fires events for each property
4254 except, for unknown reasons, Cursor, when the control is reparented.
4255 I can't seem to totally match add/remove since MS also fires some
4256 VisibleChanged events, which makes no sense. Consolidated the
4257 parenting code into a separate method so it can be called from
4258 both Add and Remove. set_Parent no longer needs any special logic
4259 as it calls the parent's add method which implicitly fires
4261 - Removed some obsolete code and debug output
4262 - Enabled state is inherited from parents, if this is enabled
4264 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4266 * Form.cs: Removed commented out code
4268 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4271 - Added internal version of Invoke, with additional argument
4272 indicating if we're calling it from a Dispose() handler. That
4273 way we can avoid BeginInvoke throwing an exception if we're
4274 calling for an already destroyed window.
4275 - Added a dispose argument to BeginInvokeInternal, and made the
4276 check if a valid window handle chain exists conditional on
4277 it not being a dispose call
4278 - Removed code in DestroyHandle to destroy our children. Since we
4279 now handle the WM_DESTROY message we will catch all our children
4281 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4283 - Added a field to track the application context of the form.
4284 - No need to set closing variable as response to WM_CLOSE, instead
4285 we destroy the window. We also call PostQuitMessage if the form
4286 has an application context (which makes it the main app form,
4287 which, when closed terminates the app)
4289 - Dropped Exit() method, it's naming was confusing
4290 - Added PostQuitMessage() which causes GetMessage to return false
4291 once the message queue is empty
4292 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4294 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4295 no longer a valid XplatUI method, but left it in since it's used
4296 internally. Added empty PostQuitMessage() method.
4297 * MenuAPI.cs: Replaced call to Exit() with call to
4298 PostQuitMessage, even though this is probably no longer needed.
4299 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4300 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4302 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4303 - Removed old debug code that would call XplatUI for exception
4304 display, enabled standard exception handling (Still not enabled
4305 though, until NativeWindow's ExternalExceptionHandler define
4308 - Added internal method to allow control to update NativeWindow
4309 after a window has been destroyed
4310 - Added handling of already destroyed windows when calling i
4312 - Added removal of handle from list on ReleaseHandle
4314 - Dropped GetMessageResult var and related code
4315 - Added PostQuitState to field to track if PostQuitMessage has been
4317 - Dropped Exit() method
4318 - Added PostQuitMessage() method
4319 - GetMessage now will return false if PostQuitState is set and no
4320 more messages are in the queue.
4321 - Expose handler will no longer generate WM_PAINT messages if we are
4322 in PostQuitState since it's very likely any windows have already
4323 been destroyed, and since Hwnd won't get updated until we have
4324 processed the DestroyNotify we'd be causing X errors.
4326 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4328 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4329 Thanks to Mike for pointing out the err of my ways.
4331 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4333 * Control.cs(PreProcessMessage): Moved menu handling back, but
4334 after all other key handling, to match MS (who handles Menu in
4336 * Menu.cs (WndProc): Removed my brainfart
4338 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4340 * Control.cs(PreProcessMessage): Removed special menu handling
4341 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4343 2005-12-07 Mike Kestner <mkestner@novell.com>
4345 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4346 state according in tracker.
4347 * Menu.cs : promote tracker field to base class and provide a tracker
4348 lookup capability. Add/Remove shortcuts dynamically if the top menu
4349 has a tracker. Unparent items that are removed from the collection.
4350 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4351 * Theme*.cs: add always_show_hotkeys field to support configurability
4352 of mnemonic display. win32 doesn't show mnemonics until Alt is
4355 2005-12-07 Jackson Harper <jackson@ximian.com>
4357 * MdiChildContext.cs: Use Control.ResetCursor.
4358 * Control.cs: ResetCursor needs to set the property so that the
4359 correct XplatUI call gets made.
4361 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4363 * Control.cs: More fixes to make our key events match MS. We
4364 were not setting the modifier state on KeyData, and we were
4365 not generating any events when Alt was pressed with a key
4366 since handling of WM_SYSxxx was missing for the OnKey methods.
4368 2005-12-07 Jackson Harper <jackson@ximian.com>
4370 * MdiChildContext.cs: reenable the sizing code.
4371 - When the mouse leaves a window reset its cursor.
4373 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4375 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4377 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4379 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4380 widths of Fixed3D borders
4382 2005-12-07 Jackson Harper <jackson@ximian.com>
4384 * MdiClient.cs: Fix warnings. Earn Mike's love.
4386 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4388 * ThemeClearlooks.cs:
4389 - Adjusted mouse over button color
4390 - Added first parts of CheckBox drawing
4391 - Added correct color for selected text background
4392 - Fixed ComboBox drawing
4393 - Added CPDrawBorder3D and CPDrawBorder
4395 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4397 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4399 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4401 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4402 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4403 alert users via sound. We could add an enum arg with different
4404 types of alerts in the future
4406 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4408 * Control.cs: Fix behaviour problems pointed out by Mike
4410 2005-12-05 Mike Kestner <mkestner@novell.com>
4412 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4413 prop setters. Calls parent.Refresh for now, but could be maybe be
4414 optimized with an internal method on StatusBar at some point.
4417 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4419 * RichTextBox.cs: Implemented get_SelectionColor
4421 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4423 * ThemeClearlooks.cs:
4425 - Draw black button border only if button is Form.AcceptButton
4426 - Draw correct button color for pressed RadioButton if the mouse
4427 has entered the button
4428 - Updated ProgressBar drawing!
4429 - Updated CPDrawSizeGrip drawing
4430 - Updated StatusBarPanel drawing
4432 2005-12-05 Mike Kestner <mkestner@novell.com>
4434 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4435 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4437 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4439 * ThemeClearlooks.cs: Initial check-in, activate with
4440 export MONO_THEME=clearlooks
4441 * ThemeEngine.cs: Added ThemeClearlooks
4443 2005-12-03 Mike Kestner <mkestner@novell.com>
4445 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4448 2005-12-02 Jackson Harper <jackson@ximian.com>
4450 * Form.cs: If the child form has no menu the default main menu is
4451 used as the active menu.
4453 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4455 * ListBox.cs: Check if any items exist before trying to resolve
4456 coordinates into items
4458 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4460 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4461 as the second color for the background hatch
4463 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4465 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4466 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4467 sure that what we pass to FormatText is always 1-based. Fixes #76885
4469 2005-11-29 Miguel de Icaza <miguel@novell.com>
4471 * NumericUpDown.cs (EndInit): When we are done initializing,
4472 reflect any updates on the UI.
4474 2005-12-02 Jackson Harper <jackson@ximian.com>
4476 * ImplicitHScrollBar.cs:
4477 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4478 their container controls.
4479 * TreeView.cs: Use the new implicit scrollbars.
4481 2005-12-02 Jackson Harper <jackson@ximian.com>
4483 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4485 * TreeNodeCollection.cs: If we remove the topnode we need to
4486 update topnode to the next node in line.
4487 - When clearing nodes go through the same process as removing
4488 them, so they get depareneted and checked if they are top node.
4490 2005-12-01 Jackson Harper <jackson@ximian.com>
4492 * TreeView.cs: When imagelists are used the image area is
4493 selectable as well as the text.
4494 - If there are no selected nodes select the first one.
4495 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4496 so don't do it more then we need to.
4498 2005-12-01 Jackson Harper <jackson@ximian.com>
4500 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4501 that arrows can be scaled.
4503 2005-12-01 Jackson Harper <jackson@ximian.com>
4505 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4506 fail. Patch by Dieter Bremes
4508 2005-11-30 Jackson Harper <jackson@ximian.com>
4510 * Form.cs: Property is 2.0 only
4511 * PrintDialog.cs: Signature fix.
4513 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4516 - No longer artificially moves text 2 pixels down (now that we have
4517 borders this is no longer needed)
4518 - Added calcs for left, hanging and right indent
4520 2005-11-23 Mike Kestner <mkestner@novell.com>
4522 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4524 2005-11-30 Jackson Harper <jackson@ximian.com>
4526 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4527 get cloned as part of CloneMenu ().
4528 * Menu.cs: Make sure the parent of the items get set correctly
4529 when they are added. And the owners are notified of the changes.
4530 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4531 we can change the menu being displayed/handled by the form without
4532 changing the menu assosciated with the form.
4533 - Don't let Mdi children draw/handle menus.
4535 2005-11-30 Jackson Harper <jackson@ximian.com>
4537 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4538 a MenuChanged event. Just to make the API a little more
4541 * MenuItem.cs: Use the new OnMenuChanged
4542 * MdiChildContext.cs: Handle menu merging.
4543 * Form.cs: Implement MergedMenu.
4545 2005-11-30 Jackson Harper <jackson@ximian.com>
4547 * Menu.cs: We were misusing Add. Add goes behind the specified
4548 index according to the docs, and does not replace the specified
4549 index. So I added an Insert method.
4551 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4553 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4554 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4556 * RichTextBox.cs: Added calls to base for DnD events
4558 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4561 - Fixed drag-selection related crash; style fixes
4562 - Implemented undo class
4563 o Implemented method to capture document state for specified
4564 range in document tree
4565 o Implemented method to restore captured document state
4566 o Implemented cursor tracking
4567 o Implemented basic undo stack
4568 - Added undo cursor tracking to methods altering cursor location
4569 - Added undo tracking to selection deletion (still missing
4570 other text-altering hookups)
4572 - Added SelectionLength property
4573 - Implemented CanPaste()
4574 - Implemented Paste()
4575 - Added missing protected methods
4576 - Fixed RTF->Document conversion; now uses font index 0 and color
4577 index 0 as the default font for the parsed text
4578 - Fixed RTF<->Document font size translation
4579 - Fixed RTF generation, now properly handles cross-tag boundaries
4580 for single line selection
4581 - No longer always appends blank line to generated RTF
4583 - Added missing attributes
4584 - Hooked up undo-related methods
4586 - Implemented Copy()
4587 - Implemented Paste()
4589 - Fixed caret mis-behaviour on backspace across line-boundaries
4591 2005-11-29 Jackson Harper <jackson@ximian.com>
4593 * MdiClient.cs: Add a method for activating mdi children. Very
4594 basic right now. I imagine someday it might need more girth.
4595 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4596 children windows names are added to the menu item.
4597 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4598 mdilist. This happens regardless of whether or not there are any
4599 mdi windows to see in the list, and according to my tests happens
4600 before the items are even added. Also happens if there isn't even
4601 an mdi client to get windows from.
4603 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4605 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4606 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4608 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4610 * DataGridTableStyle.cs:
4611 - Create always the styles for the missing columns even if they are
4612 provided by the user (not default table style)
4615 - Fixes SetDataBinding (always re-attach source)
4616 - Fixes SetNewDataSource (only clear styles if they are not for
4618 - Expands OnTableStylesCollectionChanged to handle style refresh
4621 2005-11-29 Jackson Harper <jackson@ximian.com>
4623 * FileDialog.cs: Implement missing bits, remove some dead
4625 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4626 creation of the panel so that the options set on the dialog are
4627 seen when the panel is created.
4628 * TreeView.cs: raise a click when items are clicked.
4630 2005-11-29 Jackson Harper <jackson@ximian.com>
4632 * MdiClient.cs: Pass some signature methods through to base.
4634 2005-11-28 Jackson Harper <jackson@ximian.com>
4636 * ListView.cs: Raise the click event when items are clicked.
4638 2005-11-28 Jackson Harper <jackson@ximian.com>
4640 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4643 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4645 * ThemeNice.cs: - Removed 1 pixel bitmaps
4646 - Use SmoothingMode.AntiAlias where it makes sense
4647 (ScrollButton arrow for example)
4648 - Enhanced Button focus drawing
4649 - Fixed ComboBox drawing (no artefacts anymore, focus
4650 rectangle is back again, reduced size of ComboButton, etc.)
4651 - Fixed RadioButton focus drawing for Appearence.Button
4652 - Slight ScrollButton redesign
4653 - Some LinearGradientBrush size fixes
4654 - GroupBoxes have now rounded edges
4655 - Fixed StatusBar drawing
4657 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4659 * ThemeNice.cs: - Remove dead code
4660 - use correct background colors for menus, etc.
4661 - Fake pixel drawing with 1 pixel bitmaps
4663 2005-11-24 Jackson Harper <jackson@ximian.com>
4665 * MdiClient.cs: Size the scrollbars when resizing the window.
4666 - Resize the maximized windows when the client is resized
4667 * Form.cs: Make the child context available
4669 2005-11-23 Jackson Harper <jackson@ximian.com>
4671 * MdiChildContext.cs: Don't size windows if they are maximized.
4673 2005-11-23 Mike Kestner <mkestner@novell.com>
4675 * ContextMenu.cs: use MenuTracker.
4676 * Control.cs: remove menu handle usage.
4677 * Form.cs: remove menu handle usage.
4678 * Hwnd.cs: remove menu handle usage.
4679 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4680 motion and clicks to the new Tracker handlers.
4681 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4683 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4684 Killed the MENU and MENUITEM data types and associated collections
4685 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4686 MenuTracker class that exposes the leftovers from the old MenuAPI
4687 static methods. Restructured Capture handling so that only one grab is
4688 done for the entire menu hierarchy instead of handing off grabs to
4689 submenus. Tracker now has an invisible control to Capture when active.
4690 * MenuItem.cs: add sizing accessors, kill Create
4692 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4693 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4694 MENU(ITEM). remove menu handle usage, use Menu directly.
4695 * XplatUIDriver.cs: remove menu handle usage.
4696 * XplatUIOSX.cs: remove menu handle usage.
4697 * XplatUIWin32.cs: remove menu handle usage.
4698 * XplatUIX11.cs: remove menu handle usage.
4700 2005-11-22 Jackson Harper <jackson@ximian.com>
4702 * Hwnd.cs: Don't compute the menu size for
4703 DefaultClientRectangle.
4704 - Reenable menu sizes being computed for GetClienRectangle.
4705 * Form.cs: Remove comment of trechery
4707 2005-11-22 Jackson Harper <jackson@ximian.com>
4709 * Hwnd.cs: The adjustments for the menu bar are made when it is
4710 attached to the form.
4712 2005-11-19 Jackson Harper <jackson@ximian.com>
4714 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4715 (just like on windows).
4717 2005-11-19 Jackson Harper <jackson@ximian.com>
4719 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4720 use real buttons anymore because they are in non client area. The
4721 one TODO here is that I need to somehow invalidate a section of
4722 the non client area.
4724 2005-11-18 Jackson Harper <jackson@ximian.com>
4726 * Control.cs: Put the enum check back in now that MDI doesnt have
4727 to use this to set border styles.
4728 * Form.cs: Only set mdi child windows borders if the handle has
4730 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4731 this directly on to the driver.
4732 - Get the move start position before adjusting for the titlebar
4733 height, this fixes the windows "skipping" when they are first
4736 2005-11-18 Jackson Harper <jackson@ximian.com>
4738 * XplatUIX11.cs: Just compute the mdi borders separately as they
4739 don't totally match up with normal form borders.
4741 2005-11-18 Jackson Harper <jackson@ximian.com>
4743 * Control.cs: Set WS_ styles for borders, so that the driver does
4744 not have to retrieve the control instance to figure out what kind
4745 of borders it should have.
4746 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4747 driver can know its an mdi child easily.
4748 * XplatUIX11.cs: Get the border styles and whether the window is
4749 MDI from the Styles and ExStyles params instead of having to get a
4750 control. This prevents a chicken and egg problem.
4752 2005-11-18 Jackson Harper <jackson@ximian.com>
4754 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4756 2005-11-18 Jackson Harper <jackson@ximian.com>
4758 * MdiClient.cs: Calculate when to add and remove scrollbars
4760 * MdiChildContext.cs: Adjust the y position to take the titlebar
4762 - No height for FormBorderStyle.None
4764 2005-11-18 Jackson Harper <jackson@ximian.com>
4766 * Control.cs: Allow non enum values to be used for
4767 InternalBorderStyle. MDI does this to set a special border style.
4768 - New utility methods for converting points to/from client coords
4769 - Add the newly created control to the Controls collection before
4770 updating its style. This way UpdateStyle can walk the control
4771 heirarchy to find the control if needed.
4772 so I don't need to create a new Point object all the time.
4773 * Form.cs: Let MDI windows handle their border styles.
4774 - Set styles on MDI windows so the correct title style is derived.
4775 * MdiChildContext.cs: Move all the painting and window handling
4776 into the non client area.
4777 - Use correct sizing and put correct buttons on frames based on
4778 the FormBorderStyle.
4779 - Notify the mdi client about scrolling
4780 - Need to handle the buttons ourselves now, because they are all
4781 in non client areas and we can't add controls there.
4782 * MdiClient.cs: Halfway to scrolling, this implementation is
4783 somewhat broken though, we need to check to make sure other
4784 windows aren't causing scrolling before removing the bars. Also
4785 the bars need to be drawn on top, maybe I can switch implicit
4786 controls to be on top.
4787 * Hwnd.cs: caption_height and tool_caption_height are now
4788 properties of an hwnd, this way they can be set by the driver
4789 based on the type of window they are. In X11 the window manager
4790 handles the decorations so caption_height is zero unless its an
4792 - Add 3 pixel borders for MDI windows (0xFFFF).
4793 - Get rid of some code duplication, have DefaultClientRectanle
4794 just call GetClientRectangle.
4795 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4797 - Set border styles differently for mdi windows.
4798 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4801 2005-11-15 Mike Kestner <mkestner@novell.com>
4803 * Menu.cs: when adding an item to the collection, if item is already
4804 parented, remove it from the parent.
4806 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4808 * X11DesktopColors.cs: Added KDE support
4810 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4813 - Clipboard methods now can translate Rtf format
4814 - No longer removes clipboard contents whenever a new format is added
4815 to allow placing multiple formats on the clipboard
4816 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4817 will place all formats contained in it onto the clipboard. Also
4818 now cleans the clipboard before placing a new object onto it
4820 - Implemented set_Rtf
4821 - Implemented set_SelectedRtf
4822 - Created InsertRTFFromStream() method to allow single code base
4823 for all properties and methods that insert RTF into document
4824 - Removed debug output
4826 - Fixed Delete(int) to fix up line numbers
4827 - Fixed ReplaceSelection to combine start and end line
4828 - Fixed serious DeleteChars bug that would leave the document tree
4830 - Improved DumpTree with several logic checks to detect broken
4832 - Removed debug lines
4833 - Fixed Caret.WordForward/WordBack moving code, now always also
4834 updates caret.tag (fixes crash when word-selecting across tag
4835 boundaries via keyboard)
4836 - Added Insert() method for inserting multiline text into documents
4837 - Fixed DeleteChars() calculation errors that would cause a broken
4838 tag chain with multiple tag lines
4839 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4840 - Split() no longer moves caret if split is at caret location
4841 - ReplaceSelection() now updates the cursor and re-displays it
4842 - ReplaceSelection() now uses new Insert() method to avoid code
4844 - FormatText() can now handle formatting partial lines
4846 - Append now uses new TextControl.Insert() method (this avoids
4848 - Implemented Ctrl-X (Cut) (
4849 - Implemented Ctrl-C (Copy)
4850 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4851 regeneration when pasting text; roundtripping Copy&Paste within
4852 edit control still fails due to some calculation bugs in GenerateRTF)
4853 - The Delete key will now remove the current selection if it is visible
4854 * TextBox.cs: Removed debug lines
4855 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4856 driver to be initialized and can't therefore be done via a static ctor)
4858 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4860 * TextControl.cs: Added backend code for finding char arrays and strings
4862 - Added mouse wheel scroll support
4863 - Added support for VScroll and HScroll events
4865 - Implemented all seven Find() variants
4866 - Implemented GetCharFromPosition()
4867 - Implemented GetCharIndexFromPosition()
4868 - Implemented GetLineFromIndex()
4869 - Implemented GetPositionFromCharIndex();
4870 - Implemented SaveFile for PlainText and UnicodeText
4871 - Fixed set_Font, now setting a new font applies that font to
4873 - Implemented generic Document to RTF converter
4874 - Implemented SaveFile for RichText format (still missing unicode
4875 conversion for non-ansi chars)
4876 - Implemented get_Rtf
4877 - Implemented get_SelectedRtf
4879 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4881 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4882 to allow any captures to be released before triggering OnClick. This
4883 way a click handler may capture the mouse without interference.
4884 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4885 This way we send them even though X may not allow a grab (if the window
4886 isn't visible, for example)
4888 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4890 * DataGridViewRowEventArgs.cs: DataGridView implementation
4891 * DataGridViewElement.cs: DataGridView implementation
4892 * DataGridViewComboBoxCell.cs: DataGridView implementation
4893 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4894 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4895 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4896 * ImageLayout.cs: DataGridView implementation
4897 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4898 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4899 * DataGridViewSelectionMode.cs: DataGridView implementation
4900 * IDataGridViewEditingControl.cs: DataGridView implementation
4901 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4902 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4903 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4904 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4905 * DataGridViewColumnSortMode.cs: DataGridView implementation
4906 * DataGridView.cs: DataGridView implementation
4907 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4908 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4909 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4910 * Padding.cs: DataGridView implementation
4911 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4912 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4913 * DataGridViewRowEventHandler.cs: DataGridView implementation
4914 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4915 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4916 * DataGridViewButtonCell.cs: DataGridView implementation
4917 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4918 * DataGridViewEditMode.cs: DataGridView implementation
4919 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4920 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4921 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4922 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4923 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4924 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4925 * DataGridViewCellEventHandler.cs: DataGridView implementation
4926 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4927 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4928 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4929 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4930 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4931 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4932 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
4933 * QuestionEventArgs.cs: DataGridView implementation
4934 * IDataGridViewEditingCell.cs: DataGridView implementation
4935 * DataGridViewTriState.cs: DataGridView implementation
4936 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
4937 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
4938 * DataGridViewColumnCollection.cs: DataGridView implementation
4939 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
4940 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
4941 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
4942 * DataGridViewColumn.cs: DataGridView implementation
4943 * DataGridViewCellBorderStyle.cs: DataGridView implementation
4944 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
4945 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
4946 * DataGridViewRow.cs: DataGridView implementation
4947 * DataGridViewImageCellLayout.cs: DataGridView implementation
4948 * DataGridViewImageCell.cs: DataGridView implementation
4949 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
4950 * DataGridViewCheckBoxCell.cs: DataGridView implementation
4951 * DataGridViewHeaderCell.cs: DataGridView implementation
4952 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
4953 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
4954 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
4955 * DataGridViewTextBoxColumn.cs: DataGridView implementation
4956 * QuestionEventHandler.cs: DataGridView implementation
4957 * DataGridViewCellStyleScopes.cs: DataGridView implementation
4958 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
4959 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
4960 * DataGridViewCell.cs: DataGridView implementation
4961 * DataGridViewCellEventArgs.cs: DataGridView implementation
4962 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
4963 * DataGridViewCellStyle.cs: DataGridView implementation
4964 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
4965 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
4966 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
4967 * TextFormatFlags.cs: DataGridView implementation
4968 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
4969 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
4970 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
4971 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
4972 * DataGridViewButtonColumn.cs: DataGridView implementation
4973 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
4974 * HandledMouseEventArgs.cs: DataGridView implementation
4975 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
4976 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
4977 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
4978 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
4979 * DataGridViewRowCollection.cs: DataGridView implementation
4980 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
4981 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
4982 * DataGridViewHitTestType.cs: DataGridView implementation
4983 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
4984 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
4985 * DataGridViewColumnEventHandler.cs: DataGridView implementation
4986 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
4987 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
4988 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
4989 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
4990 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
4991 * DataGridViewContentAlignment.cs: DataGridView implementation
4992 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
4993 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
4994 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
4995 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
4996 * DataGridViewPaintParts.cs: DataGridView implementation
4997 * DataGridViewCellCollection.cs: DataGridView implementation
4998 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
4999 * DataGridViewImageColumn.cs: DataGridView implementation
5000 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5001 * DataGridViewElementStates.cs: DataGridView implementation
5002 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5003 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5004 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5005 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5006 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5007 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5008 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5009 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5010 * DataGridViewTextBoxCell.cs: DataGridView implementation
5011 * DataGridViewBand.cs: DataGridView implementation
5012 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5013 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5014 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5015 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5016 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5017 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5018 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5019 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5020 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5021 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5022 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5024 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5026 * ThemeWin32Classic.cs:
5027 - Draw the outside focus rectangle around buttons
5028 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5029 doesn't use end caps for every dash of a line anymore. This
5030 workaround ignores the forecolor.
5032 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5034 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5037 2005-11-07 Jackson Harper <jackson@ximian.com>
5039 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5041 2005-11-07 Jackson Harper <jackson@ximian.com>
5043 * ScrollableControl.cs: Calculate the maximum and change vars
5044 (more) correctly so that scrollbars appear as a sensible size.
5046 2005-11-04 Jackson Harper <jackson@ximian.com>
5048 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5050 * TreeView.cs: When the tree is sorted null out the top_node so
5051 that it is recalculated.
5052 - Use dotted lines instead of dashed lines to match MS better.
5054 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5057 - Implements key search for items. Useful when browsing files with FileDialog
5058 - When changing view mode or when clear the items reset scrollbar positions
5060 2005-11-04 Jackson Harper <jackson@ximian.com>
5062 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5063 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5064 as to what the method may do as there is no real way of creating a
5065 derived CurrencyManager and calling the method.
5067 2005-11-03 Jackson Harper <jackson@ximian.com>
5069 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5070 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5071 method which seems to just be used internally to refresh the tabs.
5073 2005-11-03 Jackson Harper <jackson@ximian.com>
5075 * TabControl.cs: Implement the remove method. Fix some broken
5078 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5080 * DateTimePicker.cs:
5081 - Added missing DateTimePickerAccessibleObject class
5082 - Added missing events
5083 - Added OnFontChanged method
5084 * Form.cs: Added missing attributes
5085 * TreeView.cs: Added missing attributes
5087 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5089 * GridItemCollection.cs: Fix signatures
5091 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5093 * XplatUI.cs: Updated build rev/date
5094 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5095 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5096 * Application.cs: Trigger context-specific ExitThread events
5098 2005-11-03 Jackson Harper <jackson@ximian.com>
5102 * GridTableStylesCollection.cs:
5107 * MonthCalendar.cs: Signature fixes
5109 2005-11-03 Jackson Harper <jackson@ximian.com>
5111 * TreeNodeCollection.cs: Remove should not be virtual.
5112 * TreeView.cs: Implement the last of the missing methods.
5114 2005-11-03 Jackson Harper <jackson@ximian.com>
5116 * TreeNodeConverter.cs: Implement to get off my class-status back.
5118 2005-11-03 Jackson Harper <jackson@ximian.com>
5120 * TreeView.cs: Hookup the bits for drag and drop.
5121 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5122 that nodes can be moved from tree to tree easily this just causes
5123 all sorts of problems.
5124 * TreeNodeCollection: Don't need to give treenodes an index and
5125 treeview anymore when they are added, these are computed on the
5126 fly. Also make sure to remove a node before its added.
5128 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5131 - Added CaretSelection enum
5132 - Added comparison methods to Marker struct, makes selection code
5134 - Added SelectionStart and SelectionEnd as 'moveable' location for
5135 the CaretDirection enum and handler
5136 - Added selection_prev variable to track optimized invalidation for
5137 word and line selection
5138 - Added SelectionVisible property (returns true if there is a valid
5140 - Switched CaretHasFocus to only display the caret if there is no
5142 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5143 using the direct character index; should be much faster
5144 - Added various conditional debug statements
5145 - Fixed invalidation calculation for selection ranges
5146 - Added ExpandSelection() method to support word and line selection
5147 - Switched SetSelectionToCaret to use new Marker compare overloads
5148 - Added central IsWordSeparator() method to determine word
5149 separators/whitespace and FindWordSeparator() to streamline common
5150 usage of IsWordSeparator()
5152 - Removed unneeded grabbed variable, it was just mirroring
5154 - No longer firing OnTextChanged event when Text setter is called,
5155 since the base will fire the event for us
5156 - Added handling of Ctrl-Up/Down selection
5157 - Added handling of Shift-Cursorkey selection
5158 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5160 - Added handling of Shift and Ctrl-Shift-Home/End selection
5161 - Removed some debug output
5162 - Added handling for single/double/tripple-click to place caret/
5163 select word/select line respectively (Fixes bug #76031)
5164 - Added support for drag expansion of word/line selection
5165 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5168 2005-11-02 Jackson Harper <jackson@ximian.com>
5170 * X11Dnd.cs: If the drag is going to and from a MWF window just
5171 copy the data instead of sending it out through the X Selection
5174 2005-11-02 Jackson Harper <jackson@ximian.com>
5177 * XplatUIX11.cs: When in a drag we don't want motion notify
5178 messages to get passed on to the other controls. This prevents
5179 mouse move messages from showing up in the drag source.
5181 2005-11-02 Jackson Harper <jackson@ximian.com>
5183 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5184 the correct button is release to end a drag.
5185 * XplatUIX11.cs: Make the button state internal so the drag system
5186 can access it. Dragging needs to know about all button releases,
5187 not just left button.
5189 2005-11-02 Miguel de Icaza <miguel@novell.com>
5191 * Form.cs (Icon): If the icon is null, reset the icon to the
5194 * Cursor.cs: When writing the AND-mask bitmap do not include the
5195 number of colors, but hardcode those to two (black and white),
5196 fixes the loading of color cursors (Paint Dot Net).
5198 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5199 turn off autoscaling.
5201 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5203 2005-11-02 Jackson Harper <jackson@ximian.com>
5205 * X11Dnd.cs: Make sure to send a status message if the pointer
5206 enters a control that can not accept a drop, otherwise the cursor
5207 isn't updated correctly. Also tried to compress the lines of code
5210 2005-11-02 Jackson Harper <jackson@ximian.com>
5212 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5213 set actions correctly. This isn't perfect as XDND and win32 have
5214 some differences on how you allow actions. I'll clear this up by
5215 adding a path for drag from MWF to MWF windows.
5216 * XplatUIX11.cs: Hook into the dnd system.
5218 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5220 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5221 previously shown but they are no longer need it. Very obvious when
5222 browsing files with FileDialog.
5224 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5226 * Control.cs: We always need to call OnPaintBackground. We pretty much
5227 ignore AllPaintingInWmPaint and always do the painting there, whether
5228 it's set or not, since we always ignore the WM_ERASEBKGND message
5229 (which we don't generate on X11). This fixes #76616.
5230 * Panel.cs: Removed unneeded background painting. This happens properly
5231 in Control.cs already
5233 2005-10-31 Mike Kestner <mkestner@novell.com>
5235 * Menu.cs: Add items to collection before setting their index.
5236 * MenuItem.cs : add range checking with ArgumentException like MS.
5239 2005-10-31 Jackson Harper <jackson@ximian.com>
5241 * ListBox.cs: Invalidate if the area is visible at all not just
5242 contained in the visible rect. Fixes unselection of semi visible
5245 2005-10-31 Jackson Harper <jackson@ximian.com>
5247 * Control.cs: Consistently name the dnd methods. Make them
5248 internal so we can override them to match some MS behavoir
5250 * Win32DnD.cs: Use the new consistent names.
5252 2005-10-31 Jackson Harper <jackson@ximian.com>
5254 * TreeView.cs: Don't draw the selected node when we lose focus.
5256 2005-10-31 Jackson Harper <jackson@ximian.com>
5258 * X11Dnd.cs: We still need to reset the state even though a full
5259 reset isn't being done, otherwise status's still get sent all over
5262 2005-10-31 Jackson Harper <jackson@ximian.com>
5264 * Control.cs: Make the dnd_aware flag internal so the dnd
5265 subsystem can check it. Catch exceptions thrown in dnd handlers to
5267 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5268 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5269 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5270 flags to reduce the number of dnd enters/status's sent.
5272 2005-10-31 Jackson Harper <jackson@ximian.com>
5274 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5276 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5278 * PictureBox.cs: Fixes 76512
5280 2005-10-28 Jackson Harper <jackson@ximian.com>
5282 * X11Dnd.cs: Early implementation to support winforms being a drag
5283 source for data on X11. Also restructured the converters so they
5284 can go both ways now.
5285 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5287 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5289 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5292 2005-10-27 Jackson Harper <jackson@ximian.com>
5294 * TreeNode.cs: Implement serialization so my DnD examples will work.
5296 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5298 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5299 TreeView.cs: Don't dispose objects that are not owned.
5301 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5303 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5304 should retrieve the current cursor and report that, but XplatUI
5305 doesn't (yet) have an interface for that (and I'm not sure I even
5307 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5308 until any message loop processing is done (and the WM_SETCURSOR
5309 replaces the cursor to the proper one)
5311 - Fixed override behaviour, we can't set the cursor globally on X11,
5312 just for our windows.
5313 - Invalidating the System.Drawing X11 display handle when we are
5315 * Control.cs: Fix to make csc happy
5317 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5320 - get_Text: Add last line (without trailing newline) to returned
5322 - get_TextLength: Count last line in returned length
5323 - ToString: Call Text property instead of duplicating code
5325 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5327 * ImageList.cs: Dispose ImageAttributes objects.
5329 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5331 * ImageList.cs: Use attribute constructors with less arguments where
5334 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5336 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5337 Use typeof instead of strings when assembly is referenced. Added
5340 2005-10-21 Jackson Harper <jackson@ximian.com>
5342 * ListView.cs: Raise a double click event. Also tried to somewhat
5343 fix when the selectedindexchanged event is raised. Its still
5346 2005-10-21 Jackson Harper <jackson@ximian.com>
5348 * TreeView.cs: New method to invalidate the plus minus area of a
5349 node without invalidating the whole node (maybe this can be used
5350 in some more places).
5351 * TreeNodeCollection.cs: When adding to an empty node we need to
5352 invalidate its plus minus area so the little block shows up.
5354 2005-10-21 Jackson Harper <jackson@ximian.com>
5356 * TreeView.cs: Make sure that when we invalidate a node the bounds
5357 are big enough to cover the selected box and the focus
5358 rectangle. Use a different colour for the lines connecting nodes
5359 so they show up with all themes.
5361 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5363 * NativeWindow.cs: Don't call anything that could call into the driver,
5364 we might be on a different thread.
5366 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5368 * Control.cs(Dispose): Since Dispose might run on a different thread,
5369 make sure that we call methods that could call into the driver via
5370 invoke, to avoid thread issues
5372 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5374 * XplatUI.cs: Removed finalizer
5375 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5376 not allowing to be called on the finalizer thread.
5378 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5381 - Reverted r51889 and r51891.
5382 - Added ImageListItem class that stores unmodified image items and image
5383 properties required to create list images until handle is created.
5384 - Added AddItem and moved image creation logic to AddItemInternal.
5385 - Added CreateHandle method that creates images based on unmodified items.
5386 - Added DestroyHandle that changes state to store unmodified items.
5387 - Add and AddStrip methods no more create handle.
5388 - ReduceColorDepth has no return value.
5389 - Dispose destroys handle.
5390 - Modified other methods to reflect the above changes.
5391 - Implemented key support.
5392 - Added profile 2.0 members and attributes.
5393 - Added private Reset and ShouldSerialize methods that provide the same
5394 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5395 them as they are private.
5396 - Added some more comments about implementation details.
5398 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5400 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5402 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5404 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5406 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5408 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5409 * DataGridColumnStyle.cs: Remove debug message
5411 2005-10-20 Jackson Harper <jackson@ximian.com>
5413 * TreeView.cs: We can always get input keys regardless of whether
5414 or not editing is enabled. They are used for navigation.
5416 2005-10-20 Jackson Harper <jackson@ximian.com>
5418 * TreeNode.cs: Use the viewport rect for determining if a node
5419 needs to be moved for visibility. Don't use Begin/End edit. This
5420 calls a full refresh when its done.
5421 * TreeView.cs: New SetBottom works correctly. Make the viewport
5422 rect property internal so the treenodes can see it. When clicking
5423 on a node we need to ensure that its visible because it might just
5424 be partly visible when clicked.
5426 2005-10-20 Jackson Harper <jackson@ximian.com>
5428 * TreeNodeCollection.cs: Remove debug code.
5430 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5432 * Datagrid.cs: Implements column sorting in Datagrid
5433 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5435 2005-10-20 Jackson Harper <jackson@ximian.com>
5437 * TreeNodeCollection.cs: Remove items properly. Update the correct
5438 area after removing them.
5440 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5442 * Datagrid.cs: Should not call base.OnPaintBackground
5444 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5446 * XplatUIX11.cs (GetMessage):
5447 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5448 window instead of client window
5449 - Now properly calculates NC_xBUTTONUP message coordinates
5450 - ScreenToMenu now properly calculates it's coordinates of whole
5451 window, since menus are in the whole window, not in the client
5453 - Added WholeToScreen coordinate translation method
5455 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5457 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5458 want to return a message, loop back to the beginning of the function
5459 and grab the next real message to process instead.
5461 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5463 * Splitter.cs: Properly set limits if no filler control is used
5465 2005-10-19 Jackson Harper <jackson@ximian.com>
5467 * ColorDialog.cs: Don't show the help button if it is not enabled
5468 instead of disabling it (this is what MS does). Don't create the
5469 panel until the dialog is run, otherwise the vars (such as
5470 ShowHelp) are not set yet.
5472 2005-10-19 Jackson Harper <jackson@ximian.com>
5474 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5475 are reduced when adding nodes.
5477 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5480 2005-10-19 Jackson Harper <jackson@ximian.com>
5482 * FolderBrowserDialog.cs: End editing our treeview so the window
5483 actually gets refreshed.
5485 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5487 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5488 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5491 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5493 * MenuAPI.cs: Returns after Hidding window
5494 * XplatUIX11.cs: Added TODO found while debugging menu issues
5496 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5498 * XplatUIX11.cs: Do not re-map the whole window when it's size
5499 becomes non-zero unless it's supposed to be actually visible
5501 2005-10-18 Jackson Harper <jackson@ximian.com>
5503 * TreeView.cs: We don't need to keep a count anymore.
5504 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5505 use the Grow method.
5507 2005-10-18 Jackson Harper <jackson@ximian.com>
5509 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5510 implement it manually here.
5512 2005-10-18 Jackson Harper <jackson@ximian.com>
5514 * ImageList.cs: Dont kill the list when the colour depth is
5515 changed, just change the colour depth of all the images.
5516 - Same goes for setting the image size. Just resize them all
5517 instead of killing the list softly.
5519 2005-10-18 Jackson Harper <jackson@ximian.com>
5521 * Control.cs: Don't invalidate empty rectangles.
5523 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5526 - Adds checked item to the Checked/Item lists (where empty before)
5527 - Do not add items to the Selected lists if they are already present
5529 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5530 - When deleting items make sure that we delete them for the Selected
5531 and Checked list also.
5533 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5535 * Label.cs: Dispose objects no longer used
5536 * ThemeWin32Classic.cs: Dispose objects no longer used
5538 2005-10-18 Jackson Harper <jackson@ximian.com>
5540 * TabControl.cs: Don't refresh the whole control when the tabs are
5541 scrolled, we just need to refresh the tab area.
5543 2005-10-17 Jackson Harper <jackson@ximian.com>
5545 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5546 after handle when we need it.
5548 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5550 * Control.cs: When the parent size changes, recalculate anchor
5551 positions. Partial fix for #76462
5553 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5555 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5558 2005-10-17 Jackson Harper <jackson@ximian.com>
5560 * MonthCalendar.cs: Don't create the numeric up down until our
5561 handle is created. Otherwise our handle is created in the
5562 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5565 2005-10-17 Jackson Harper <jackson@ximian.com>
5567 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5570 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5571 * TreeNode.cs : small logical fix (was using local var instead of field)
5573 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5575 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5577 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5579 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5581 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5584 - Re-implemented anchoring code. My first version was really broken.
5585 This fixes bug #76033. Unlike the previous implementation we will
5586 no longer have round errors since all numbers are calculated from
5587 scratch every time. Removed various anchor-related obsolete vars.
5588 - InitLayout no longer causes layout event firing and layout to be
5591 2005-10-16 Jackson Harper <jackson@ximian.com>
5593 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5596 2005-10-16 Jackson Harper <jackson@ximian.com>
5598 * TabControl.cs: Remove debug code.
5600 2005-10-16 Jackson Harper <jackson@ximian.com>
5602 * XEventQueue.cs: Increase the default queue size (very simple
5603 apps needed to grow the queue).
5604 * Hwnd.cs: No finalizer so we don't need to suppress
5605 finalization. Compute the invalid area manually so a new rectangle
5606 does not newto be created.
5607 * ScrollableControl.cs: Don't set any params (otherwise visibility
5608 isn't set correctly).
5609 * MdiChildContext.cs: New constructor takes the mdi parent so it
5610 doesn't have to be computed and avoids a crash on windows. Draw
5611 the window icon properly, and allow the text to be seen.
5612 * Form.cs: Use new MdiChildContext constructor. Make sure the
5613 child context isn't null in wndproc.
5614 * TabControl.cs: Don't set focus, this is muddling keyboard
5615 behavoir. Expand the tab rows when a window size increase will
5616 allow extra tabs to be seen. Don't allow tabs smaller than the
5617 width of a window to be scrolled out of view.
5619 * TreeView.cs: Use measure string to calculate a nodes width, the
5620 width is cached and only updated when the text or the font is
5621 changed. Don't check for expand/collapse clicks on the first level
5622 nodes if root lines are disabled.
5624 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5626 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5628 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5630 * DataGridBoolColumn.cs: fixes warning
5632 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5634 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5635 to match more to match more precisely the MS Net behavior
5637 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5639 * Hwnd.cs: Added field to track if window is mapped
5641 - Unmap windows if they become 0-size, re-map when
5642 they are >0 again; fixes #76035
5643 - Re-set our error handler after initializing X11Desktop
5644 to override any error handlers Gtk or whatever was called
5647 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5649 * CheckedListBox.cs: Removed unused vars
5650 * ListView.cs: Fixed signatures
5651 * RichTextBox.cs: Removed unused vars
5652 * TextBoxBase.cs: Removed unused vars
5653 * XplatUIWin32.cs: Removed unused vars
5654 * XplatUIX11.cs: Removed unused vars
5655 * XplatUI.cs: Updated version and date to latest published
5657 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5659 * Cursor.cs: Added private .ctor to work around a bug in
5660 resourceset (Thanks to Geoff Norton for the help on this)
5661 * SplitterEventArgs.cs: Made fields accessible so we don't
5662 waste boatloads of objects and can reuse the same one
5664 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5665 any captions and borders when generating screen coordinates
5666 * Splitter.cs: Reimplemented control, now fully complete, uses
5667 rubberband drawing, supports and obeys all properties, has
5670 2005-10-13 Miguel de Icaza <miguel@novell.com>
5672 * Form.cs (Form): Setup default values for autoscale and
5673 autoscale_base_size; Make these instance variables, not static
5676 (OnLoad): on the first load, adjust the size of the form.
5678 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5680 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5681 width argument to DrawReversibleRectangle()
5682 * XplatUIWin32.cs, XplatUIX11.cs:
5683 - Implemented width for DrawReversibleRectangle()
5684 - Added logic to DrawReversibleRectangle that recognizes a zero
5685 width or height and only draws a line in that situation
5687 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5689 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5690 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5691 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5692 method (it uses our FosterParent window to get a graphics context)
5694 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5696 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5697 and SetWindowBackground methods
5699 - Setting proper ControlStyles
5700 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5701 EraseWindowBackground, instead we draw the window background
5702 ourselves in PaintControlBackground. This behaviour is
5703 required to match MS, where, when OnPaintBackground is not
5704 called, the background is not drawn.
5705 - Removed unneeded Refresh() in set_Text
5706 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5708 - Created DeriveStyles method to translate from CreateParams to
5709 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5710 matches FormBorderStyle enum values)
5711 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5712 style calculations into single DeriveStyles method
5713 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5714 from redrawing the whole window on any resize or expose.
5715 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5716 all styles were applied to our whole/client window appropriately
5717 - Removed EraseWindowBackground() and SetWindowBackground() methods
5718 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5719 no longer clear/redraw the background through X
5720 - Removed handling of erase_pending bit, we have no use for it (or
5723 - Removed generation and handling of WM_ERASEBKGND message
5724 - Removed EraseWindowBackground() and SetWindowBackground() methods
5725 - Removed handling of hwnd.ErasePending flag
5727 - Removed EraseWindowBackground() and SetWindowBackground() methods
5728 - We no longer call EraseWindowBackground on PaintEventStart, we
5729 ignore the fErase flag, erasing is handled in Control in the
5731 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5732 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5733 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5734 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5735 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5736 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5737 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5739 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5741 * PropertyGrids.cs: Get sub properties
5742 * PropertyGridView.cs: Fix drawing code
5744 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5746 * ListBox.cs: Fixes 76383
5748 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5750 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5751 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5752 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5755 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5757 * ComboBox.cs: Fixes border drawing
5759 2005-10-10 Miguel de Icaza <miguel@novell.com>
5761 * MimeIcon.cs: Ignore errors if the file can not be read.
5763 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5765 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5766 - Fixed border calculations
5767 - Fixed horizontal scrolling in single column listboxes
5768 - Fixed drawing issues
5770 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5772 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5773 FormBorderStyle enum
5774 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5775 code to determine FormBorderStyles from CreateParams
5777 - Fixed bug where we'd set the wrong window styles if we were
5778 not creating an MDI window
5779 - Added call to XplatUI.SetBorderStyle when form borders are set
5780 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5782 - Removed obsolete edge style
5783 - Switched from BorderStyle to FormBorderStyle
5785 2005-10-10 Jackson Harper <jackson@ximian.com>
5787 * Form.cs: Use the property to get the window handle instead of
5788 accessing it directly. Prevents a null reference exception.
5790 2005-10-10 Jackson Harper <jackson@ximian.com>
5792 * TreeView.cs: Don't adjust the rect given to DrawString now that
5793 our libgdiplus draws correctly.
5795 2005-10-08 Jackson Harper <jackson@ximian.com>
5797 * TreeView.cs: Don't try to find the clicked on node if there are
5798 no nodes in the tree.
5800 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5806 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5808 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5809 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5811 Use ResPool for brushes and dispose System.Drawing objects that
5812 are not used anymore.
5814 2005-10-07 Jackson Harper <jackson@ximian.com>
5816 * MdiChildContext.cs: Use the new borders instead of drawing them
5819 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5821 * Calling UpdateBounds after changing the window's BorderStyle
5822 since the style can change the ClientSize
5824 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5826 * Control.cs: Made PaintControlBackground virtual
5827 * Panel.cs: Overriding PaintControlBackground instead of using paint
5828 event; paint event method was interfering with 'real' users of the
5831 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5833 * ThemeWin32Classic.cs: remove border drawing since it is handled
5834 by the base control class now and was causing double border drawing.
5836 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5838 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5839 but it does seem to match MS behaviour. This fixes bug #75324
5841 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5843 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5844 somewhat hackish looking
5846 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5849 - We now accept Enter even if AcceptEnter is false, if the containing
5850 form does not have an AcceptButton configured (fixes bug #76355)
5851 - Calculations are now fixed to no longer use Width/Height, but
5852 ClientSize.Width/Height, since we now support borders (this was
5853 a result of fixing borders and therefore bug #76166)
5854 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5855 true (fixes bug #76354)
5857 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5860 - Defaulting BorderStyle and setting it in XplatUI when our window
5862 - Added enum check to InternalBorderStyle setter
5864 - Added drawing of window borders
5865 - Now properly calculates WM decorations offset for toplevel
5866 windows (fixes bug #74763)
5868 - Implemented BorderStyles for windows (we're letting win32 draw
5870 - Fixed the signature for SetWindowLong
5871 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5872 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5874 * UpDownBase.cs: Remove drawing of borders, this is handled by
5875 the driver, outside the client area
5876 * ListView.cs: Removed bogus border calculations. The control should
5877 be oblivious to borders, since those are not part of the client
5879 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5880 * ThemeWin32Classic.cs: Removed border calculations from ListView
5883 2005-10-06 Jackson Harper <jackson@ximian.com>
5885 * MdiChildContext.cs: Clear out the old virtual position remove
5886 all the unneeded calls to CreateGraphics.
5888 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5890 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5892 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5895 - Added loading and setting of our new default icon
5896 - Only set icon if window is already created
5898 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5901 - Do not explicitly set the foreground and background colors, to
5902 allow inheriting from parents (fixes #76302)
5903 - Use Control's InternalBorderStyle property to deal with borders
5905 2005-10-06 Jackson Harper <jackson@ximian.com>
5907 * MdiChildContext.cs: Use the new xplatui function to draw a
5910 2005-10-06 Jackson Harper <jackson@ximian.com>
5912 * Form.cs: Add the parent before creating the child context cause
5913 we need the parent when setting up the child.
5915 2005-10-06 Jackson Harper <jackson@ximian.com>
5917 * FolderBrowserDialog.cs: redo the tree population code so a
5918 second thread isn't used. Should be a lot faster and more stable
5921 2005-10-05 Jackson Harper <jackson@ximian.com>
5923 * TreeView.cs: There are no expand/collapse boxes if the node has
5926 2005-10-05 Jackson Harper <jackson@ximian.com>
5928 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5930 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5932 * FileDialog.cs: Fix InitialDirectory
5934 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5937 - Fixes changing between styles
5939 - Fixes last item crashing when navigating with keyboard
5941 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
5943 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
5945 2005-10-05 Jackson Harper <jackson@ximian.com>
5947 * TreeView.cs: If updating the root node do a full refresh.
5948 * TreeNode.cs: The root node should be expanded by default. Also
5949 added a utility prop to tell if we are the root node.
5950 * TreeNodeCollection.cs: Only refresh if the node we are being
5951 added to is expanded. Also added a comment on a potential
5954 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
5956 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
5957 in dispose method. Fixes #76330
5959 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
5961 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
5963 - Implements vertical and horizontal scrolling using XplatUI
5964 - Fixes keyboard navagation
5965 - Fixes EnsureVisible
5967 - Handles and draws focus properly
5970 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
5972 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
5973 Create handle. NET_2_0: Destroy handle when value is null.
5975 2005-10-03 Jackson Harper <jackson@ximian.com>
5977 * ScrollBar.cs: My last scrollbar patch was broken. This is a
5978 revert and a new patch to prevent the thumb from refreshing so
5981 2005-10-02 Jackson Harper <jackson@ximian.com>
5983 * ScrollBar.cs: Don't update position if it hasn't actually
5984 changed. This occurs when you hold down the increment/decrement
5985 buttons and the thumb gets to the max/min.
5987 2005-10-01 Jackson Harper <jackson@ximian.com>
5990 * MdiChildContext.cs:
5991 * MdiClient.cs: Implement ActiveMdiChild in Form.
5993 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
5995 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
5997 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
5999 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6002 2005-09-30 Jackson Harper <jackson@ximian.com>
6004 * ListBox.cs: Don't do a full refresh unless some data has
6007 2005-09-30 Jackson Harper <jackson@ximian.com>
6009 * TreeView.cs: Make sure that the checkboxes size is factored in
6010 even when not visible.
6012 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6014 * FileDialog.cs: Fix Jordi's build break
6016 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6019 - Use standard the Windows colours for the combobox as espected
6020 - Dispose objects that use resouces when no longer need them
6022 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6024 * X11DesktopColors.cs: Initial incomplete implementation
6025 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6027 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6030 - Switched Theme color names to match the names defined in
6031 System.Drawing.KnownColors. Life's hard enough, no need to make
6033 - Added setters to all theme color properties so themes can set
6034 their color schemes. The setters also propagate the color changes
6035 to System.Drawing.KnownColors via reflection
6036 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6037 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6038 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6039 use the new, more logical theme color names
6040 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6042 * ThemeWin32Classic.cs:
6043 - Removed code to set the old classic Windows colors. Instead it
6044 now relies on the colors returned by System.Drawing.KnownColors
6045 which will be either modern static colors (Unix) or colors
6046 read from the user's configuration (Win32)
6047 - Updated to use the new, more logical theme color names
6048 - Switched DataGrid drawing code to use only Theme colors instead of
6049 a mix of System.Drawing.KnownColors and Theme colors
6050 - DrawFrameControl(): Removed code that fills the button area, the
6051 fill would overwrite any previous fill done by a control. This
6053 - Added DrawReversibleRectangle() stub
6054 * ScrollableControl.cs: Set visible state to false when scrollbars
6055 are removed (pdn fix)
6056 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6057 DrawReversibleRectangle() method to allow drawing primitive
6059 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6061 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6063 * ImageList.cs: Add(Icon): Create handle.
6065 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6068 * ThemeWin32Classic.cs:
6071 - Issues with drawing
6073 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6075 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6076 source has to be the ImageList.
6078 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6080 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6082 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6084 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6086 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6088 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6090 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6091 * GridItem.cs: Fixed TODOs
6092 * GridItemCollection.cs: Added ICollection interface
6094 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6096 * ImageList.cs: Resize icons when needed.
6098 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6101 - Fixes GetBounds and returns on screen rects
6103 - Fixes vertical and horzintal scrolling of items
6104 * ThemeWin32Classic.cs:
6107 2005-09-29 Raja R Harinath <harinath@gmail.com>
6109 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6111 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6113 * ImageList.cs: Added comments about handle creation. Moved Handle,
6114 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6115 Handle is created in Add methods.
6117 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6119 * DataGridDrawingLogic.cs:
6120 - Takes rows into account on Colum calculations
6121 - Returns the column when clickig
6123 - Fixes default HitTestInfo values
6124 - Fixes HitTestInfo.ToString
6125 - Fixes ResetBackColor
6127 2005-09-28 Jackson Harper <jackson@ximian.com>
6129 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6130 sizing or cursor changes). Also added some temp code to draw the
6131 titlebars text (Makes dev a little easier).
6133 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6135 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6137 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6139 * ListBox.cs: Fixes bug 76253
6141 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6143 * ImageList.cs: Added comments about the current implementation. Added
6144 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6145 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6146 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6147 with Bitmap.LockBits for better performance. Revised the whole file to
6148 match MS.NET behaviour and provide better performance. Non-public
6149 interface members are calling public members even when they throw
6150 NotSupportedException for better maintainability. Moved ColorDepth,
6151 ImageSize, ImageStream and TransparentColor implementations to
6152 ImageCollection for better performance as these properties are not used
6154 * ImageListStreamer.cs: Added a new internal constructor that takes an
6155 ImageList.ImageCollection and serializes Images based on
6156 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6157 match ImageList property name.
6159 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6161 * ListBox.cs: Fixes IndexFromPoint for last item
6163 2005-09-27 Jackson Harper <jackson@ximian.com>
6165 * Form.cs: Set the position of new mdi children correctly.
6167 2005-09-27 Jackson Harper <jackson@ximian.com>
6169 * MdiClient.cs: New mdi children need to be added to the back of
6170 the controls collection so the zorder is set correctly. Also add a
6171 count of all the child windows that have been created.
6173 2005-09-27 Jackson Harper <jackson@ximian.com>
6175 * Form.cs (CreateParams): Setup MDI forms correctly.
6177 2005-09-27 Jackson Harper <jackson@ximian.com>
6179 * MdiChildContext.cs:
6186 * ScrollableControl.cs:
6187 * ComboBox.cs: Add implicit controls using the new implict control
6188 functionality in ControlCollection. Also try to block multiple
6189 control add in a suspend/resume layout to save some cycles.
6191 2005-09-27 Jackson Harper <jackson@ximian.com>
6193 * Control.cs: Add functionality to the controls collection to add
6194 'implicit controls' these are controls that are created by the
6195 containing control but should not be exposed to the user. Such as
6196 scrollbars in the treeview.
6197 * Form.cs: The list var of the ControlsCollection is no longer
6198 available because of the potential of implicit controls getting
6199 ignored by someone accessing the list directly.
6201 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6203 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6204 loose it's parent. (Fixed bug introduced in r49103 when we added
6205 setting the child parent to null on Remove)
6207 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6209 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6210 * Splitter.cs: Added missing attributes for BorderStyle property.
6211 * TextBoxBase.cs: Marked Calculate* methods internal.
6212 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6215 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6217 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6219 2005-09-25 Jackson Harper <jackson@ximian.com>
6221 * TreeView.cs: Update the node bounds correctly regardless of
6222 whether the node is visible.
6224 2005-09-25 Jackson Harper <jackson@ximian.com>
6226 * ImageList.cs: Don't dispose the image after it is added to the
6227 image list. Only reformat images that need to be resized.
6229 2005-09-25 Jackson Harper <jackson@ximian.com>
6231 * ImageList.cs: Don't set the format when changing the image.
6233 2005-09-25 Jackson Harper <jackson@ximian.com>
6235 * TreeView.cs: We can't just assume the node has a font. Use the
6236 treeviews font if no node font is available.
6238 2005-09-25 Jackson Harper <jackson@ximian.com>
6240 * TreeView.cs: Allow the scrollbars to be reset with negative
6242 - Don't add scrollbars to negative sized windows.
6244 2005-09-23 Jackson Harper <jackson@ximian.com>
6246 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6247 old Mono.Posix. Also remove some stray code that shouldn't have
6250 2005-09-23 Jackson Harper <jackson@ximian.com>
6252 * TreeView.cs: Attempt at proper sizing of the horizontal
6253 scrollbar. Also don't resize the scrollbars unless they are
6256 2005-09-23 Jackson Harper <jackson@ximian.com>
6258 * TreeView.cs: We don't need to expand the invalid area when the
6259 selection changes, as this is all drawn in the node's bounding
6260 box. The area needs to be expanded (previous typo was contracting
6261 it) when the focus rect moves.
6263 2005-09-23 Jackson Harper <jackson@ximian.com>
6265 * TreeView.cs: Display the selection box under the correct
6266 circumstances. We were rendering white text with no selection box
6269 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6271 * TextControl.cs(Split): Now updates selection start/end if it points
6272 into a line that's being split. Fixes a FIXME and bug #75258
6274 2005-09-23 Jackson Harper <jackson@ximian.com>
6277 * ListControl.cs: Don't use the path when retrieving binding
6278 managers from the binding context. My bat sense tells me that the
6279 path is only used on insertion.
6281 2005-09-22 Jackson Harper <jackson@ximian.com>
6283 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6285 2005-09-22 Jackson Harper <jackson@ximian.com>
6287 * Splitter.cs: There are special cursors used for splitting.
6288 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6290 2005-09-22 Jackson Harper <jackson@ximian.com>
6292 * Splitter.cs: Change the cursor appropriately when the splitter
6293 is moused over, so the user actually knows there is a splitter
6296 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6298 * Label.cs : Fix ToString method to give same output as MS.NET
6300 2005-09-22 Jackson Harper <jackson@ximian.com>
6302 * TreeView.cs: Create the scrollbars when the handle is created
6303 and add them right away, just make them invisble. Also account for
6304 the window being shrunk vertically to the point that the vert
6305 scrollbar needs to be added.
6306 - Remove some 0.5 adjustments to get around anti aliasing issues.
6308 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6310 * MainMenu.cs: Fixes default value
6311 * MenuItem.cs: Fixes default value
6313 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6315 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6317 2005-09-21 Jackson Harper <jackson@ximian.com>
6319 * Control.cs: Don't try to set the border style on the window if
6320 it hasn't been created. When the window is created the border
6323 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6325 * Control.cs (Update): Don't call XplatUI if we don't have a
6328 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6330 * ContainerControl.cs: Instead of throwing an exception, print
6331 a one-time warning about Validate not being implemented
6332 * XplatUIWin32.cs: Removed debug output
6334 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6336 * Control.cs: Only set XplatUI background if we expect the windowing
6337 system to handle the background. This stops controls that draw their
6338 own background from flickering
6340 * XplatUIX11.cs: Support custom visuals and colormaps for window
6341 creation. This allows, amongst other things, using MWF X11 windows
6344 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6346 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6347 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6348 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6349 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6350 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6351 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6352 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6353 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6354 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6355 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6356 GridColumnStylesCollection.cs,
6357 IDataGridColumnStyleEditingNotificationService.cs,
6358 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6359 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6360 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6361 TreeNodeCollection.cs, AmbientProperties.cs,
6362 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6363 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6364 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6365 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6366 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6367 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6368 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6369 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6370 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6371 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6372 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6373 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6374 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6375 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6376 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6377 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6378 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6379 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6380 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6381 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6382 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6383 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6384 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6385 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6386 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6387 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6388 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6389 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6390 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6391 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6392 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6393 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6394 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6395 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6396 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6397 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6398 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6400 2005-09-21 Jackson Harper <jackson@ximian.com>
6402 * TreeNode.cs: Call Before/After Expand not Collapse when
6405 2005-09-20 Jackson Harper <jackson@ximian.com>
6407 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6409 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6413 - Fixes proper storing of subitems
6414 - Fixes not updated items
6416 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6418 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6419 things if our window handle isn't created yet. Also disabled
6420 debug for TextBoxBase
6422 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6424 * MenuAPI.cs: Remove filtering of events to allow menu usage
6426 2005-09-20 Miguel de Icaza <miguel@novell.com>
6428 * Cursor.cs: Allow null to be passed to Cursor.Current.
6430 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6432 * ThemeWin32Classic.cs:
6433 - Change some private methods/fields to protected virtual so that
6434 they can be accessed and overriden in derived classes
6435 - First refactoring of some methods. Derived themes now don't
6436 need to duplicate the complete code from ThemeWin32Classic
6438 - Added nice StatusBar
6439 - Derive from ThemeWin32Classic and not Theme
6440 - Removed duplicate ThemeWin32Classic code
6442 2005-09-20 Miguel de Icaza <miguel@novell.com>
6444 * Control.cs (ControlCollection.Add): If the value null is passed
6445 the control is ignored.
6449 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6451 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6452 PostQuitMessage state.
6453 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6455 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6457 * Application.cs: Our constructor will never get called, move
6458 initialization to fields; fixes bug #75933
6460 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6463 - Allow files to be selected properly using file name
6465 - Add ability to change diretory (absolute / relative)
6466 using file name combo box.
6468 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6471 - Fixes Multicolumn listboxes item wrong calculations
6472 - Allows to click when only one item is in the listbox
6473 - Fixes crash when no items using keyboard navigation
6475 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6477 * ComboBox.cs: Reverted almost everything from the latest patch which
6480 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6483 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6485 - When DropDownStyle is Simple, it does not show scrollbar
6486 to the last item of the list.
6487 - When DropDownStyle is Simple, it crashed when the list was
6488 scrolled down with the down cursor key.
6489 - Fixed a bug that when DropDownStyle is DropDownList, the
6490 selected item was not shown.
6491 - The position of the selected item was not preserved when
6492 the next dropdown happened.
6493 * ThemeWin32Classic.cs:
6494 - Items were wrapped at the right end.
6495 * CheckedListBox.cs:
6498 - Items should be fully shown.
6499 - When resizing and vertical scrollbar disappeared, the item
6500 of index 0 should be on the top of the list.
6501 - GetItemRectangle should consider the size of ver. scrollbar
6503 - SizingGrip area should not be allocated when it is not
6505 - Now it reflects MinWidth of the containing panel and
6506 fixed a crash that happens when its width becomes so small.
6508 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6510 * CheckedListBox.cs: Fixes bug 76028
6511 * ListBox.cs: Fixes bug 76028
6513 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6515 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6516 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6518 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6520 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6522 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6524 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6526 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6528 * IRootGridEntry.cs: Added
6529 * PropertyGridCommands.cs: Added
6530 * PropertiesTab.cs: Added missing methods and property
6531 * PropertyGridView.cs: Made class internal
6532 * PropertyGridTextBox.cs: Made class internal
6534 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6536 * MimeIcon.cs: Try to check some other environment variables
6537 if "DESKTOP_SESSION" returns "default"
6539 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6541 * ThemeNice.cs: Corrected background colors (e.g. menus)
6542 * ColorDialog.cs: Use correct background colors for controls
6544 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6546 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6548 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6550 * RichTextBox.cs: Added initial implementation
6551 * lang.cs: Removed. Was accidentally checked in long time ago
6552 * TODO: Removed. Contents were obsolete
6554 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6556 * PropertiesTab.cs : Added
6558 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6560 * PropertyGrid.cs : Update
6561 * PropertyGridView.cs : Update
6562 * System.Windows.Forms.resx : Added images and strings
6564 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6566 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6568 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6570 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6571 a busy loop right after the Ungrab the X11 display is otherwise
6574 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6576 * ThemeWin32Classic.cs: Optimise the use of clipping
6578 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6580 * DataGrid.cs: fixes recursion bug
6582 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6585 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6588 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6590 * ThemeNice.cs: Draw nice ProgressBars
6592 2005-09-01 Miguel de Icaza <miguel@novell.com>
6594 * VScrollBar.cs: Another buglet found by Aaron's tool.
6596 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6599 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6602 - Added nicer menu drawing
6606 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6608 * CreateParams.cs (ToString): Made output match MS
6609 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6610 handle is already created (to avoid forcing window creation)
6611 * XplatUIX11.cs: Set window text to caption after creating window,
6612 in case Text was set before window was created
6613 * Form.cs: Use this.Text instead of a static string as caption
6615 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6617 * NotifyIcon.cs: Don't set the window to visible; this screws
6618 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6619 OnPaint without a bitmap)
6620 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6621 happen very often anyway; we could add the check to the WM_PAINT
6622 event generation code
6624 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6626 * NotifyIcon.cs: Fill the icon area with a background color, to
6627 avoid 'residue' when transparent icons are drawn
6629 - Handle whole_window == client_window when destroying windows
6630 - SystrayAdd(): Set client_window to whole_window value to
6631 get mouse and other events passed to NotifyIcon
6633 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6635 * Form.cs: Set proper default for Opacity property
6637 - ShowSystray(): Don't bother creating telling the OS
6638 about the systray item if no icon is provided
6639 - Now handles WM_NCPAINT message to deal with whole/client window
6641 - Create window as visible to not get caught by Expose optimization
6642 * Hwnd.cs: Removed debug message
6643 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6644 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6645 PaintEventStart/End to use new client argument
6647 - Commented out debug messages
6648 - Switched PaintEventStart/End to use new client argument
6649 * XplatUI.cs: Added client window bool to PaintEventStart()/
6650 PaintEventEnd() calls, to support drawing in non-client areas
6652 - Added client window bool to PaintEventStart()/PaintEventEnd()
6653 calls, to support drawing in non-client areas
6654 - Added conditional compile to allow using MWF BeginInvoke
6657 - Added some conditional debug output
6658 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6659 whole/client window split
6660 - Implemented handling of client argument to PaintEventStart()/End()
6662 - Throw exception if BeginInvoke() is called and the window handle
6663 or one of the window's parent handles is not created
6664 - Added conditional compile to allow using MWF BeginInvoke on
6666 - get_Parent(): Only sets parent if handle is created. This avoids
6667 forcing window handle creation when parent is set.
6668 - Now fires Layout and Parent changed events in proper order
6669 - Switched to use Handle instead of window.Handle for Z-Order setting,
6670 the get_Parent() patch above causes us to possibly get null for 'window'
6671 - Implemented handling of client argument to PaintEventStart()/End()
6672 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6674 - Now sends a Refresh() to all child windows when Refresh() is called
6676 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6678 * Form.cs: Added (non-functional) Opacity property
6679 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6681 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6682 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6683 use export MONO_THEME=nice to activate it.
6684 Currently supported controls:
6688 - TabControl (TabAlignment.Top only, other will follow)
6689 * ThemeEngine.cs: Add theme nice
6690 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6693 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6695 * Splitter.cs: Resize docked control and its neighbor.
6697 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6698 -- Making Windows with Menus layout correctly --
6699 * Form.cs : The first leg of the fix
6700 Menu setter - adjust Client Size as needed to make space for the menu
6701 SetClientSizeCore - doesn't call base version to be able to pass the
6702 menu handle to XplatUI.CalculateWindowRect
6703 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6704 * XplatUIX11.cs: The critical second leg of the fix
6705 GetWindowPos needs to use a recalculated client_rect
6706 so that resizing the window doesn't break layout of child controls.
6707 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6710 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6712 * Label.cs: Now properly recalculates width and height on Font and Text
6713 changes if AutoSize is set
6715 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6716 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6718 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6720 * ImageList.cs: Makes ToString method compatible with MS
6722 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6724 * MenuAPI.cs: fixes bug 75716
6726 2005-08-11 Umadevi S <sumadevi@novell.com>
6727 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6729 2005-08-11 Umadevi S <sumadevi@novell.com>
6730 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6732 2005-08-10 Umadevi S <sumadevi@novell.com>
6733 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6735 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6737 * Menu.cs: fixes bug 75700
6738 * MenuAPI.cs: fixes navigation issues
6740 2005-08-09 Umadevi S <sumadevi@novell.com>
6741 * CheckedListBox.cs - simple fix for GetItemChecked.
6743 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6745 * ComboBox.cs: Serveral fixes
6746 * ListBox.cs: Serveral fixes
6748 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6750 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6751 * ListBox.cs: Fixes FindString methods
6753 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6755 * DataGrid.cs: fixes bugs exposed by new tests
6757 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6759 * Mime.cs: Compile Mono assembly references only if compiling
6760 with Mono (Allows to build with VS.Net again)
6762 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6764 * Control.cs (PaintControlBackground): Draw background image
6766 (CheckForIllegalCrossThreadCalls): Stubbed.
6768 * Form.cs (OnCreateControl): Center when should be centered.
6770 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6772 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6774 * Binding.cs: Binding to properties should be case unsensitive
6776 2005-07-18 vlindos@nucleusys.com
6778 * DataGrid.cs: fixes setmember order
6780 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6782 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6783 * FileDialog.cs: FileDialog is now resizable and uses the new
6786 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6788 * DataGridTextBoxColumn.cs: default value
6789 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6790 * GridTableStylesCollection.cs: fixes checking MappingName
6791 * DataGridDrawingLogic.cs: fixes drawing logic issues
6792 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6793 * DataGrid.cs: fixes
6795 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6797 * MimeGenerated.cs: Use case sensitive comparer for
6798 NameValueCollections
6800 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6802 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6803 * ThemeWin32Classic.cs: bug fixes, code refactoring
6804 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6805 * DataGrid.cs: bug fixes, code refactoring
6806 * DataGridTextBox.cs: bug fixes, code refactoring
6807 * DataGridColumnStyle.cs: bug fixes, code refactoring
6808 * Theme.cs: bug fixes, code refactoring
6810 2005-07-01 Peter Bartok <pbartok@novell.com>
6812 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6813 and other text box usage
6815 2005-07-01 Jackson Harper <jackson@ximian.com>
6817 * TabControl.cs: Make sure the bottom of the tab covers the pages
6820 2005-06-30 Peter Bartok <pbartok@novell.com>
6822 * Form.cs (ShowDialog): Assign owner of the dialog
6823 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6824 might have been moved to a tag with different height
6826 2005-06-30 Jackson Harper <jackson@ximian.com>
6828 * Form.cs: Don't create an infinite loop when setting focus
6829 * MenuItem.cs: Don't dirty the parents if we don't have any
6831 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6833 * LibSupport.cs: Rename
6835 2005-06-29 Peter Bartok <pbartok@novell.com>
6837 * TextBoxBase.cs: Re-align caret after deleting a character
6839 - DeleteChars(): Ensure that tag covers the provided position
6840 - StreamLine(): Drop reference for dropped tag
6842 2005-06-29 Peter Bartok <pbartok@novell.com>
6845 - Selections now work properly, anchoring at the initial location
6846 and properly extending in either direction (SetSelectionToCaret(),
6847 SetSelectionStart() and SetSelectionEnd())
6848 - No longer redraws the whole control on selection change, now
6849 calculates delta between previous and new selection and only
6850 invalidates/redraws that area
6851 - Fixed FindPos() math off-by-one errors
6852 - Changed DeleteChars() to verify the provided tag covers the
6853 provided position, selections may have a tag that doesn't cover
6854 the position if the selection is at a tag border
6855 - Fixed off-by-one errors in DeleteChars()
6856 - Added missing streamlining check in DeleteChars() to remove
6858 - Implemented Invalidate() method, now properly calculates exposures
6859 between two given lines/positions
6860 - Implemented SetSelection()
6861 - Obsoleted and removed FixupSelection()
6862 - Improved RecalculateDocument() logic, removing code duplication
6864 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6866 * LibSupport.cs: changes to match different input/output arguments.
6868 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6870 * LibSupport.cs: added libsupport.so init routine.
6872 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6874 * ControlBindingsCollection.cs
6875 - Throws an exception on null datasource when adding
6876 - Checks for duplicated bindings when adding
6878 2005-06-28 Jackson Harper <jackson@ximian.com>
6880 * TreeView.cs (OnKeyDown): Support left and right properly
6881 (navigates as well as expanding and collapsing.
6882 - Add support for Multiply, this expands all the selected nodes
6886 2005-06-28 Jackson Harper <jackson@ximian.com>
6888 * TreeView.cs: Implement keyboard navigation, currently supports,
6889 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6890 support for toggling checkboxes with the space bar.
6892 2005-06-28 Jackson Harper <jackson@ximian.com>
6894 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6897 2005-06-28 Jackson Harper <jackson@ximian.com>
6899 * TreeView.cs: Add missing event.
6901 2005-06-27 Peter Bartok <pbartok@novell.com>
6904 - Made line ending size configurable (now allows for counting
6905 lineendings as \n or \r\n)
6906 - Added margin to viewport to keep caret visible on right side
6907 - Fixed translation routines for line/pos to documentpos to consider
6908 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6909 - Fixed some line-endings to be unix style
6910 - Fixed Document.FormatText to perform it's calculations 1-based
6911 - Added descriptions for a few methods that might otherwise get
6913 - Added NOTE section with some basic conventions to remember at
6915 - Major fixup for RichTextBox selection drawing:
6916 * Fixed crashes when multiple tags on a single line were selected
6917 * fixed selection box drawing not overlaying text
6918 * fixed bogus offset calculation for tags not starting at index 1
6919 * Switched behaviour from using multiple Substrings of a
6920 StringBuilder.ToString() to using multiple
6921 StringBuilder.ToString(start, length) statements, hoping this is
6922 faster (kept original version commented out in the code, in case
6923 original version was faster)
6924 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6926 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6929 2005-06-27 Jackson Harper <jackson@ximian.com>
6931 * TabControl.cs: Move to the left and right with the arrow
6932 keys. These keys don't cycle beyond first and last like
6933 tab. Refresh all the tabs when scrolling them to the left or
6936 2005-06-27 Jackson Harper <jackson@ximian.com>
6939 - ToString: Added method
6940 - CreateParams: Remove TODO and comment
6941 - OnKeyDown: Cycle through bounds properly.
6942 - SelectedIndex: Scroll to the right or left if we need to
6943 display the newly selected tab.
6945 2005-06-23 Jackson Harper <jackson@ximian.com>
6947 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
6950 2005-06-23 Jackson Harper <jackson@ximian.com>
6952 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
6953 CTRL-SHIFT-TAB, and HOME, END are there any others?
6955 2005-06-23 Jackson Harper <jackson@ximian.com>
6957 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
6959 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6961 * DataGridTextBoxColumn.cs: fixes and enhancements
6962 * ThemeWin32Classic.cs: fixes and enhancements
6963 * DataGridBoolColumn.cs: fixes and enhancements
6964 * DataGridDrawingLogic.cs: fixes and enhancements
6965 * CurrencyManager.cs: fixes and enhancements
6966 * DataGrid.cs: fixes and enhancements
6967 * DataGridColumnStyle.cs: fixes and enhancements
6969 2005-06-22 Jackson Harper <jackson@ximian.com>
6971 * TabControl.cs: Add some missing methods that just call into the
6972 base. Make the TabPageCollection's IList interface behave in the
6973 same manner as the MS implementation.
6975 2005-06-22 Peter Bartok <pbartok@novell.com>
6977 * TextControl.cs: Added sanity check
6979 - Fixed wrapping behaviour, don't set wrap on single line controls
6980 (this fixes the breakage of colordialog introduced in an earlier
6982 - Added rudimentary support for autoscrolling right-aligned controls
6983 (still needs fixing, also, center alignment scroll is missing)
6985 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
6987 * ScrollBar.cs: Fixes thumbpos on Maximum values
6989 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
6991 * PropertyGridView.cs: Pass context information to UITypeEditors
6993 2005-06-21 Peter Bartok <pbartok@novell.com>
6996 - Now calling PositionCaret with absolute space coordinates
6997 - Enabled vertical scrolling
6998 - Better tracking of scrollbar changes, tied into WidthChange
7000 - Improved cursor tracking
7001 - Removed debug output
7003 - PositionCaret coordinates are now works in absolute space, not
7005 - Improved tracking of document size
7006 - Added events for width and height changes
7008 2005-06-21 Peter Bartok <pbartok@novell.com>
7010 * Form.cs: Set focus to active control when form is activated
7012 - Added word-wrap functionality to RecalculateLine()
7013 - Added some short function descriptions for VS.Net to aid in
7014 writing dependent controls
7015 - Added Caret property, returning the current coords of the caret
7016 - Added ViewPortWidth and ViewPortHeight properties
7017 - Added Wrap property
7018 - Added CaretMoved event
7019 - Removed some old debug code
7020 - Split() can now create soft splits
7021 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7022 - Added method to format existing text
7023 - Fixed size/alignment calculations to use viewport
7024 - RecalculateDocument now can handle changing line-numbers while
7028 - Added some wrap logic, we don't wrap if alignment is not left
7029 - Added casts for scrollbar var, base class switched types to
7030 also support RichTextBoxA
7031 - Implemented handling of scrollbar visibility flags
7034 - Switched scrollbars type to RichTextBoxScrollBars to support
7036 - Added tracking of canvas width/height
7037 - Switched scrollbars to be not selectable (to keep focus on text)
7038 - Added central CalculateDocument() method to handle all redraw
7040 - Added ReadOnly support
7041 - Added WordWrap support
7042 - Fixed handling of Enter key (we now treat it as a DialogKey)
7043 - Fixed caret positioning when h or v scroll is not zero
7044 - Fixed placing/generation of vertical scrollbar
7045 - Added CalculateScrollBars() method to allow updating scrollbar
7046 limits and visibility
7047 - Fixed handling of horizontal scroll
7048 - Added handling of vertical scroll
7049 - Implemented auto-'jump' when caret moves to close to a left or
7050 right border and there is text to be scrolled into view (currently
7051 there's the potential for a stack overflow, until a bug in
7054 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7056 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7058 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7062 - return application/x-zerosize for files with size zero
7063 (if no extension pattern matches).
7064 - check matches collection for strings too.
7065 - return only the first mime type if the name value
7066 collection has more than one mime type.
7068 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7070 * PropertyGrid.cs: Cleaned up some TODOs
7071 * PropertyGridView.cs: Added support for UITypeEditors
7073 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7075 * DataGrid.cs: clears cached value
7077 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7079 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7080 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7081 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7082 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7084 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7086 * ThemeWin32Classic.cs: fixes colour
7088 2005-06-15 Peter Bartok <pbartok@novell.com>
7090 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7091 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7092 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7093 * Control.cs: Added some MWFCategory and MWFDescription attributes
7094 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7096 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7098 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7101 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7103 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7104 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7105 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7106 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7107 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7108 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7110 2005-06-13 Jackson Harper <jackson@ximian.com>
7112 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7113 isn't printed when the user enables dropping. (X11 does accept
7116 2005-06-13 Jackson Harper <jackson@ximian.com>
7118 * TreeView.cs: Remove some TODOS.
7120 2005-06-13 Jackson Harper <jackson@ximian.com>
7122 * Form.cs: Hook into the mdi framework.
7123 * MdiClient.cs: Use the base control collections add method so
7124 parents get setup correctly. Set the default back colour and dock
7126 * MdiChildContext.cs: New class, this bad actor handles an
7127 instance of an MDI window. Right now there is only basic
7128 support. You can drag, close, and resize windows. Minimize and
7129 Maximize are partially implemented.
7131 2005-06-13 Jackson Harper <jackson@ximian.com>
7133 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7134 freaky when both vals are negative. NOTE: There are probably other
7135 places in XplatUIX11 that this needs to be done.
7137 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7139 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7140 * DataGridColumnStyle.cs: fixes signature
7142 2005-06-12 Jackson Harper <jackson@ximian.com>
7144 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7147 2005-06-11 Jackson Harper <jackson@ximian.com>
7149 * StatusBarPanel.cs: Signature cleanups. Implement
7152 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7154 * DataGridTextBoxColumn.cs: Honors aligment
7155 * GridColumnStylesCollection.cs: Contains is case unsensitive
7156 * GridTableStylesCollection.cs: several fixes
7157 * DataGridTableStyle.cs: default column creation
7158 * DataGridDrawingLogic.cs: fixes
7159 * CurrencyManager.cs: ListName property
7160 * DataGrid.cs: multiple styles support
7161 * DataGridColumnStyle.cs: fixes
7164 2005-06-10 Peter Bartok <pbartok@novell.com>
7166 * Control.cs(Select): Moved SetFocus call to avoid potential
7167 loops if controls change the active control when getting focus
7168 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7171 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7173 * ImageListConverter.cs: Implemented
7175 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7177 * MonthCalendar.cs: Wired in NumericUpDown control for year
7179 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7181 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7182 DoubleClick events, since they are not meant to be fired.
7184 2005-06-09 Peter Bartok <pbartok@novell.com>
7186 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7187 Jonathan's standalone controls into MWF, implemented missing
7188 events, attributes and methods; added xxxAccessible classes
7189 * AccessibleObject.cs: Made fields internal so other classes
7190 can change them if needed
7192 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7194 * UpDownBase.cs: Complete implementation
7195 * NumericUpDown.cs: Complete implementation
7196 * DomainUpDown.cs: Complete implementation
7198 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7200 * DataGridTextBoxColumn.cs: drawing fixes
7201 * DataGridCell.cs: fixes ToString method to match MSNet
7202 * DataGridTableStyle.cs: fixes
7203 * DataGridBoolColumn.cs: fixes, drawing
7204 * DataGridDrawingLogic.cs: fixes, new methods
7205 * DataGridTextBox.cs: Keyboard and fixes
7207 - Keyboard navigation
7209 - Row selection (single, multiple, deletion, etc)
7212 2005-06-07 Jackson Harper <jackson@ximian.com>
7214 * ThemeWin32Classic.cs: Clear the background area when drawing
7217 2005-06-06 Peter Bartok <pbartok@novell.com>
7219 * ImageListStreamer.cs: Fixed signature for GetData
7220 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7222 - Added missing ChildAccessibleObject class
7223 - Added missing OnXXXFocus overrides, switched to using those
7224 instead of the event handler
7226 - Added Parent property for ControlAccessibleObject
7229 - Added ResetBindings()
7230 * ListBindingConverter.cs: Implemented some methods
7231 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7232 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7233 * ContainerControl.cs: Fixed signature, now subscribing to the
7234 ControlRemoved event instead of overriding the handler, LAMESPEC
7235 * CurrencyManager.cs: Added missing attribute
7236 * MonthCalendar.cs: Added missing properties
7238 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7240 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7242 2005-06-06 Gaurav Vaish and Ankit Jain
7244 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7245 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7247 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7249 * Control.cs: fixes CreateParams Width / Height.
7251 2005-06-05 Peter Bartok <pbartok@novell.com>
7253 * Win32DnD.cs: Removed compilation warnings
7255 2005-06-05 Peter Bartok <pbartok@novell.com>
7257 * Control.cs (CreateParams): Since we don't know if one of the
7258 properties we use is overridden, lets make sure if we fail accessing
7259 we continue with a backup plan
7261 2005-06-05 Peter Bartok <pbartok@novell.com>
7264 - Removed debug output
7265 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7267 - Plugged resource leak
7268 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7271 2005-06-05 Peter Bartok <pbartok@novell.com>
7273 * XplatUIWin32.cs: Removed DnD code
7274 * Win32DnD.cs: Implemented drop source and drop target functionality
7276 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7278 * UpDownBase.cs: remove duplicate addition of event, enable some code
7279 that was commented out.
7280 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7281 Validate input when a key is pressed. It works fine now for every
7282 combination of Hexadecimal. Only missing some drawing love when sharing
7283 space with other controls.
7285 2005-06-04 Peter Bartok <pbartok@novell.com>
7288 - We need to pass a window for DragDrop, so enable callback events
7289 - Added DnD callback events when being a DragSource
7290 * XplatUI.cs (StartDrag): Added window handle argument
7291 * XplatUIDriver.cs (StartDrag): Added window handle argument
7292 * QueryContinueDragEventArgs: Made fields internally accessible so
7293 drivers can set them
7294 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7297 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7299 * DataGridTextBoxColumn.cs: column text editing
7300 * DataGridTableStyle.cs: Respect columns styles created by the user
7301 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7302 * DataGridBoolColumn.cs: bool column editing
7303 * DataGrid.cs: fixes to scrolling, properties, etc
7304 * DataGridTextBox.cs: handle keyboard
7305 * DataGridColumnStyle.cs: fixes
7307 2005-06-02 Jackson Harper <jackson@ximian.com>
7309 * ImageListStreamer.cs: Somewhat broken implementation of
7310 GetObjectData. The RLE needs some work to match MS properly.
7312 2005-06-02 Jackson Harper <jackson@ximian.com>
7314 * X11Dnd.cs: Attempting to keep at least one file in MWF
7317 2005-06-02 Peter Bartok <pbartok@novell.com>
7319 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7322 2005-06-02 Peter Bartok <pbartok@novell.com>
7324 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7325 * XplatUI.cs: Added DoDragDrop() method
7326 * XplatUIDriver.cs: Added DoDragDrop() method
7328 2005-06-02 Jackson Harper <jackson@ximian.com>
7330 * Splitter.cs: Implement BorderStyle.
7332 2005-06-02 Jackson Harper <jackson@ximian.com>
7334 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7335 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7338 2005-06-02 Peter Bartok <pbartok@novell.com>
7342 - Fixed broken insertion code for SetData, now also
7343 overwrites any existing entry of the same format name
7344 * Hwnd.cs: Added list of pointers that automatically gets
7345 freed when the window is disposed
7346 * XplatUI.cs: Call driver initialization method when loading
7349 - OnDragLeave takes EventArgs, not DragEventArgs
7350 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7352 - Forces style update when drop state changes
7353 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7354 not perfect since we cannot (yet) call the IDataObject.GetData()
7355 method, we keep getting 0x80004005 error, dunno why)
7357 2005-06-02 Peter Bartok <pbartok@novell.com>
7359 * DragEventArgs.cs: Make fields internal so we can cache the
7360 object and re-set the fields from XplatUI
7362 2005-06-02 Jackson Harper <jackson@ximian.com>
7364 * Control.cs: Add some internal methods so the DnD subsystem can
7365 raise DnD events. Also call into the driver when AllowDrop is set.
7367 * XplatUIDriver.cs: New method for setting whether or not a window
7368 is allowed to accept drag and drop messages.
7370 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7372 * ScrollBar.cs: Make sure that values sent in Scroll events
7373 are always between Maximum and Minimum.
7375 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7377 * Menu.cs: Call MenuChanged when menuitem visibility has been
7379 * MenuItem.cs: Rebuild menu when item is (not) visible.
7380 * MainMenu.cs: MainMenu has special MenuChanged.
7381 * Theme.cs: Caption and FrameBorderSize are not fixed.
7382 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7383 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7385 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7386 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7388 2005-05-30 Jackson Harper <jackson@ximian.com>
7390 * DataFormat.cs: We can't statically initialize this stuff because
7391 it calls into the xplatui and could create a loop. So we lazy init
7394 2005-05-28 Jackson Harper <jackson@ximian.com>
7396 * Control.cs: Proper implementation of Product(Name/Version).
7398 2005-05-27 Jackson Harper <jackson@ximian.com>
7400 * DataObject.cs: Dont crash if no data is found.
7402 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7403 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7404 as per status page, guessing it should be set to true
7406 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7408 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7409 * DataGridTableStyle.cs: set proper formatting text, def header text
7410 * ThemeWin32Classic.cs: new themable paramaters
7411 * DataGridBoolColumn.cs: paint check box, get data, fixes
7412 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7413 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7414 * DataGridColumnStyle.cs: fixes
7415 * Theme.cs: new themable paramaters
7417 2005-05-26 Peter Bartok <pbartok@novell.com>
7419 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7421 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7422 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7424 2005-05-24 Peter Bartok <pbartok@novell.com>
7426 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7427 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7428 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7429 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7430 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7431 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7432 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7433 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7434 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7435 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7436 missing attributes, etc
7437 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7439 2005-05-24 Peter Bartok <pbartok@novell.com>
7441 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7442 when user tries to get help
7443 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7444 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7445 to suppress warnings
7446 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7447 avoid unreachable code warning
7449 2005-05-20 Peter Bartok <pbartok@novell.com>
7451 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7453 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7455 * DataGridTextBoxColumn.cs: Basic painting methods
7456 * DataGridTableStyle.cs: Set table style in the column
7457 * ThemeWin32Classic.cs: Use Theme for colors
7458 * DataGridDrawingLogic.cs: Implement more drawing
7459 * DataGrid.cs: drawing, theming, enhacements, fixes
7460 * DataGridColumnStyle.cs: fixes, drawing
7461 * Theme.cs: theming for Datagrid
7463 2005-05-20 Peter Bartok <pbartok@novell.com>
7465 * Cursor.cs: Implemented GetObjectData() method
7467 2005-05-20 Peter Bartok <pbartok@novell.com>
7469 * Cursors.cs: Added setting of cursor name
7471 - Implemented constructors
7472 - Implemented Draw and DrawStretched
7473 - Implemented Current property
7474 - Implemented == and != operators
7475 - Implemented Dispose()
7476 - Implemented ToString
7477 - Added missing attributes
7479 - Added missing reset for OverrideCursor when DoEvents is called
7480 - Fixed creation of cursor, logic was wrong
7482 - Added missing reset for OverrideCursor when DoEvents is called
7483 - Fixed creation of cursor, bit arrays were swapped
7484 * Clipboard.cs: Removed obsolete MonoTODO attribute
7486 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7488 * ComboBox.cs: fixes OnSelectedItemChanged
7489 * ControlBindingsCollection.cs: fixes item range check
7491 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7494 - Calc preferred height properly
7495 - Implement missing properties
7497 * NumericUpDown.cs: Implement missing events
7499 2005-05-19 Jackson Harper <jackson@ximian.com>
7501 * TabControl.cs: New method that resizes the tab pages before
7502 redrawing them. This as needed as the control is double buffered
7503 and sizing will not be recalculated unless ResizeTabPages is
7505 * TabPage.cs: Set base.Text instead of Text in the constructor so
7506 that UpdateOwner does not get called. Use the new Redraw method of
7507 TabControl instead of Refresh so the sizing is recalculated.
7508 * ThemeWin32Classic.cs: Draw the text for button tabs.
7510 2005-05-19 Jackson Harper <jackson@ximian.com>
7512 * Control.cs: Paint control background images. Fix typo where
7513 PaintControlBackground was not getting called correctly.
7515 2005-05-19 Peter Bartok <pbartok@novell.com>
7517 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7518 I can investigate, apparently I broke FileDialog
7520 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7522 * AxHost.cs: Some simple properties.
7523 * Control.cs: window must be accessible after ctor.
7524 * Form.cs: Added TransparencyKey property.
7525 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7526 * XplatUIWin32.cs: SetBorderStyle implemented.
7528 2005-05-18 Peter Bartok <pbartok@novell.com>
7530 * DataObject.cs: Entries are not global but particular to the
7531 DataObject, now it behaves that way
7532 * XplatUIWin32.cs: Implemented Clipboard methods
7533 * Clipboard.cs: Implemented
7534 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7535 * XplatUIOSX.cs: Updated to final clipboard prototypes
7536 * XplatUIX11.cs: Implemented Clipboard methods
7537 * XplatUIDriver.cs: Updated to final clipboard prototypes
7538 * XplatUIStructs.cs:
7539 - Added BITMAPINFOHEADER struct
7540 - Added ClipboardFormats enum
7542 - Added ClipboardStruct
7543 - Added Atom enum items for clipboard types
7544 - Fixed atom types for Selection event structures
7546 - Added internal properties and methods for drivers to enumerate
7548 - Switched initialization method to allow drivers to assign their
7549 own IDs even for the MS predefined clipboard IDs
7550 * XplatUI.cs: Updated to final clipboard interface
7552 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7553 * PropertyGridView.cs: Fixed compiler warnings.
7555 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7556 * PropertyGrid.cs: Added some event calls
7557 * PropertyGridView.cs: Change drawing code to use double buffering
7558 * PropertyGridTextBox.cs: Changed Text property name
7559 * GridItem.cs: Added Bounds property.
7560 * GridEntry.cs: Added Bounds property.
7562 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7564 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7565 since GetType() may not return the correct type if the object is
7568 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7570 * TreeNodeCollection.cs: fixes get/set item ranges
7572 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7574 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7576 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7578 * ComboBox.cs: Fix item range comparation
7579 * ListView.cs: Fix item range comparation
7581 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7584 - Clear example panel when OnPaint is called
7585 - Better solution for displaying the example panel text
7586 - Select default indexes in the ListBoxes
7588 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7590 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7592 2005-05-11 Peter Bartok <pbartok@novell.com>
7594 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7595 * SelectionRangeConverter.cs: Implemented
7596 * PropertyGrid.cs: Fixed attribute value
7598 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7599 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7600 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7601 that's common to all drivers. First methods to go there are
7602 Sebastien Pouliot's CAS Stack Propagation helper methods
7603 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7604 Sebastien Pouliot for CAS Stack Propagation
7606 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7609 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7611 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7613 * DataGridTextBoxColumn.cs: fixed some members
7614 * GridColumnStylesCollection.cs: indexed column is case insensitive
7615 * DataGridTableStyle.cs: fixes
7616 * ThemeWin32Classic.cs: add new theme parameter
7617 * Theme.cs: add new theme parameter
7618 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7619 * DataGrid.cs: fixes, new internal properties, etc.
7620 * DataGridColumnStyle.cs: allows to set grid value
7623 2005-05-10 Peter Bartok <pbartok@novell.com>
7625 * AccessibleObject.cs:
7626 - Removed MonoTODO attribute on help, method is correct
7627 - Fixed Bounds property
7628 * AxHost.cs: Moved MonoTODO
7629 * ButtonBase.cs: Now setting AccessibleObject properties
7630 * RadioButton.cs: Setting proper AccessibleObject role
7631 * CheckBox.cs: Setting proper AccessibleObject role
7632 * ControlBindingsCollection.cs: Added properties, methods and attributes
7633 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7634 userdefined DataFormats.Format items as well
7635 * ListControl.cs: Removed data_member from the public eye
7636 * OpenFileDialog.cs:
7638 - Added missing attributes
7639 * SaveFileDialog.cs: Added missing attributes
7640 * ImageListStreamer.cs: Fixed code that caused warnings
7641 * LinkLabel.cs: Removed unreachable code
7642 * TreeView.cs: Fixed code that caused warnings
7643 * PropertyGridView.cs: Fixed code that caused warnings
7644 * GridColumnStylesCollection.cs: Added missing attributes
7645 * GridTableStylesCollection: Added missing attribute
7646 * PropertyManager: Added .ctor
7647 * SecurityIDType: Added
7648 * DataObject.cs: Implemented class
7649 * LinkArea.cs: Added missing attribute
7651 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7653 * RadioButton.cs: call base method to allow to fire OnClick event
7654 * UpDownBase.cs: OnMouseUp call base method
7655 * CheckedListBox.cs: call base method before returning
7656 * TrackBar.cs: call base method before returning
7659 2005-05-10 Peter Bartok <pbartok@novell.com>
7661 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7664 2005-05-10 Peter Bartok <pbartok@novell.com>
7666 * DataFormats.cs: Implemented
7667 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7668 XplatUIX11.cs: Added Clipboard APIs
7669 * XplatUIWin32.cs: Implemented Clipboard APIs
7670 * FolderBrowserDialog.cs: Added missing event, attributes
7672 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7674 * CheckBox.cs: call base method to allow to fire OnClick event
7676 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7678 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7680 2005-05-06 Peter Bartok <pbartok@novell.com>
7682 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7683 * Screen.cs: Implemented
7684 * HelpNavigator.cs: Added
7685 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7687 * HelpProvider.cs: Implemented all we can do until we have a CHM
7688 help library (which means that "What's This" does work now)
7690 2005-05-06 Jackson Harper <jackson@ximian.com>
7692 * XplatUIX11.cs: Fix waking up the main loop.
7694 2005-05-05 Peter Bartok <pbartok@novell.com>
7696 * XplatUI.cs: Updated revision
7697 * Form.cs: Removed enless loop
7698 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7699 * Label.cs (OnPaint): Added call to base.OnPaint()
7700 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7701 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7702 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7704 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7705 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7706 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7707 reuse of ToolTipWindow by other controls
7708 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7709 * XplatUIX11.cs: Now clipping drawing area (experimental)
7710 * PictureBox.cs: Moved base.OnPaint() call to end of method
7711 * Theme.cs: Fixed ToolTip abstracts to match new format
7712 * ErrorProvider.cs: Implemented
7714 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7716 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7720 - Implements LinkBehavior
7723 2005-05-03 Jackson Harper <jackson@ximian.com>
7725 * ListView.cs: Calculate the scrollbar positioning on resize and
7726 paint, so they get put in the correct place.
7728 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7730 * ColorDialogs.cs: The small color panels are now handled by
7731 SmallColorControl. This fixes drawing of the focus rectangle
7732 and adds a 3D border.
7734 2005-05-03 Peter Bartok <pbartok@novell.com>
7736 * Control.cs: Modified version of Jonathan Chamber's fix for
7739 2005-05-03 Jackson Harper <jackson@ximian.com>
7741 * ListView.cs: Remove redraw variable. Control now handles whether
7742 or not a redraw needs to be done, and will only raise the paint
7743 event if redrawing is needed.
7745 2005-05-03 Jackson Harper <jackson@ximian.com>
7747 * Splitter.cs: No decorations for the splitter form. Cache the
7750 2005-05-03 Jackson Harper <jackson@ximian.com>
7752 * TreeView.cs: Use dashed lines to connect nodes. Use the
7753 ControlPaint method for drawing the focus rect instead of doing
7756 2005-05-02 Peter Bartok <pbartok@novell.com>
7758 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7760 2005-04-29 Jackson Harper <jackson@ximian.com>
7762 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7763 entire image buffer. Just clear the clipping rectangle.
7765 2005-04-29 Jackson Harper <jackson@ximian.com>
7767 * ThemeWin32Classic.cs: Don't draw list view items that are
7768 outside the clipping rectangle.
7770 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7772 * ListBox.cs: added horizontal item scroll
7774 2005-04-29 Jackson Harper <jackson@ximian.com>
7776 * ThemeWin32Classic.cs: Remove some old debug code that was
7777 causing flicker with the new double buffering code.
7779 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7781 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7782 behave like combobox and comboboxlist (still not sure if this is
7785 2005-04-28 Jackson Harper <jackson@ximian.com>
7787 * ThemeWin32Classic.cs: Don't fill the middle of progress
7788 bars. This fills areas outside of the clip bounds that don't need
7791 2005-04-28 Jackson Harper <jackson@ximian.com>
7793 * Control.cs: Don't expose functionality to touch the image buffers.
7795 * ListView.cs: We do not need to (and no longer can) manipulate
7796 the image buffers directly. All of this is handled by Control.
7798 2005-04-28 Peter Bartok <pbartok@novell.com>
7800 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7801 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7802 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7804 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7807 - Adjust control's height for non-simple comboboxes (bug fix)
7809 * MenuAPI.cs: remove unused var
7810 * ScrollBar.cs: remove unsed var
7812 * ListBox.cs: unselect items when clearing
7814 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7816 * ListControl.cs: honors OnPositionChanged and default Selected Item
7817 * ListBox.cs: unselect items when clearing
7819 2005-04-27 Jackson Harper <jackson@ximian.com>
7821 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7822 if a "correct" keyboard is not found. This will make us not crash,
7823 but might give some users bad keyboard layouts...seems to be the
7824 same thing rewind does.
7826 2005-04-27 Jackson Harper <jackson@ximian.com>
7828 * BindingManagerBase.cs: Attach the current/position changed
7829 handlers to their respective events.
7831 2005-04-27 Jackson Harper <jackson@ximian.com>
7833 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7835 * ThemeWin32Classic.cs: Don't fill the background for picture
7836 boxes. This could overright user drawing.
7837 * ComboBox.cs: Just fill the clipping rect not the entire client
7838 rect when drawing the background. This prevents pieces of the
7839 image buffer from getting overwritten and is theoretically faster.
7841 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7843 * ComboBox.cs: Databinding support fixes, fire missing events
7844 * ListControl.cs: implement missing methods and properties, fixes
7845 * ThemeWin32Classic.cs: Databiding support on Drawing
7846 * CheckedListBox.cs: Databinding support fixes, fire missing events
7847 * ListBox.cs: Databinding support fixes, fire missing events
7849 2005-04-25 Peter Bartok <pbartok@novell.com>
7851 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7853 2005-04-25 Jackson Harper <jackson@ximian.com>
7855 * TreeView.cs: Use the horizontal scrollbars height not width when
7856 determining how much of the client area is available.
7858 2005-04-25 Jackson Harper <jackson@ximian.com>
7860 * Control.cs: Double buffering is handled differently now. As per
7861 the spec, the extra buffer is created in the WM_PAINT message and
7862 passed down to the control's drawing code.
7870 * PropertyGridView.cs:
7882 * DateTimePicker.cs:
7884 * TreeView.cs: Update to new double buffering system.
7885 * MonthCalendar.cs: Uncomment block, as Capture is now
7886 working. Update to new double buffering
7887 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7888 * PaintEventArgs.cs: New internal method allows us to set the
7889 graphics object. This is used for double buffering.
7890 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7891 rectangle. The internal paint_area var has been removed from
7892 StatusBar. The clipping rect should be used instead.
7893 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7894 * TabPage.cs: The RefreshTabs method was removed, so just call the
7895 tab controls Refresh method now.
7896 * TabControl.cs: Update to new double buffering. Make sure the
7897 handle is created before sizing the tab pages, otherwise we will
7898 get stuck in a loop.
7900 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7902 * LinkLabel.cs: Fix typo, bug #74719; patch
7903 from Borja Sanchez Zamorano
7905 2005-04-22 Jackson Harper <jackson@ximian.com>
7907 * TreeNode.cs: Implement Handle stuff.
7908 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7910 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7912 * DataGridTextBoxColumn.cs: call base constructors, fixes
7913 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7914 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7915 * DataGridTableStyle.cs: implements create default column styles
7916 * DataGridBoolColumn.cs: which types can handle
7917 * DataGrid.cs: missing methods, fixes, new functionality
7918 * DataGridColumnStyle.cs: fixes
7920 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7921 * FolderBrowserDialog.cs:
7922 - Use a thread to fill the TreeView
7923 - Adjusted some sizes
7925 2005-04-19 Peter Bartok <pbartok@novell.com>
7927 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7928 property. Fixes #74360.
7930 2005-04-19 Jackson Harper <jackson@ximian.com>
7932 * XEventQueue.cs: Lock when getting the lockqueue size.
7933 * PictureBox.cs: Call base OnPaint
7935 2005-04-19 Peter Bartok <pbartok@novell.com>
7937 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
7938 messages were no longer being processed (this broke BeginInvoke)
7941 2005-04-18 Jackson Harper <jackson@ximian.com>
7943 * TreeView.cs: buglet that caused node images to get drawn
7944 regardless of whether or not they were in the clipping rectangle.
7946 2005-04-18 Jackson Harper <jackson@ximian.com>
7948 * CurrencyManager.cs: There are four rules for GetItemProperties:
7949 - If the type is an array use the element type of the array
7950 - If the type is a typed list, use the type
7951 - If the list contains an Item property that is not an object, use
7953 - use the first element of the list if there are any elements in
7956 2005-04-17 Jackson Harper <jackson@ximian.oom>
7958 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
7959 click. This handles offsets for scrolling properly and reduces
7960 memory. Also fixed GetNode to not offset now that TopNode works
7962 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
7964 2005-04-17 Jackson Harper <jackson@ximian.com>
7966 * CursorConverter.cs: Initial implementation.
7968 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7970 * ListControl.cs: work towards complex data binding support on ListControl
7971 * CurrencyManager.cs: work towards complex data binding support on ListControl
7972 * ListBox.cs: work towards complex data binding support on ListControl
7975 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
7977 * GridTableStylesCollection.cs: fixes name and constructor
7978 * DataGridTableStyle.cs: fixes
7979 * DataGridBoolColumn.cs: fixes names and constructors
7980 * DataGrid.cs: define methods and properties. Some init implementations
7981 * DataGridCell.cs: define methods and properties. Some init implementations
7982 * GridTablesFactory.cs: Define methods and properties
7984 2005-04-15 Geoff Norton <gnorton@customerdna.com>
7986 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
7987 graphics port changes. We still want the coordinates in global screen
7990 2005-04-14 Jackson Harper <jackson@ximian.com>
7992 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
7993 check plus minus or checkbox clicks unless those features are enabled.
7995 2005-04-14 Jackson Harper <jackson@ximian.com>
7997 * TreeView.cs: Add methods for setting the top and bottom visible
7998 nodes. TreeNode::EnsureVisible uses these methods.
7999 * TreeNode.cs: Implement EnsureVisible
8001 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8003 * Form.cs: Pospone menu assignation if the window has not been created yet
8004 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8007 2005-04-12 Jackson Harper <jackson@ximian.com>
8009 * TreeView.cs: Set the TopNode properly when scrolling
8010 occurs. This has the added benifit of reducing the amount of
8011 walking that needs to be done when drawing. Also removed an old
8013 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8015 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8017 * Timer.cs: fixes interval setting when the timer is already enabled
8019 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8021 * FolderBrowserDialog.cs: First approach
8023 2005-04-09 Peter Bartok <pbartok@novell.com>
8025 * FolderBrowserDialog: Added
8027 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8029 * LinkLabel.cs: move drawing code into the theme
8030 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8031 * Theme.cs: define DrawLinkLabel method
8033 2005-04-05 Jackson Harper <jackson@ximian.com>
8035 * BindingContext.cs: Use weak references so these bad actors don't
8036 stay alive longer then they need to.
8038 2005-04-05 Jackson Harper <jackson@ximian.com>
8040 * ListControl.cs: Basic implementation of complex databinding.
8042 * ListBox.cs: Add calls to ListControl databinding methods.
8044 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8047 - Don't change PopupButtonState to Normal when the
8048 PopupButton gets pressed several times.
8049 - Renamed ButtonPanel to PopupButtonPanel
8051 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8053 * ColorDialog.cs: Use cached objects instead of creating them
8054 * LinkLabel.cs: Use cached objects instead of creating them
8055 * Splitter.cs: Use cached objects instead of creating them
8056 * FontDialog.cs: Use cached objects instead of creating them
8057 * PropertyGridView.cs: Use cached objects instead of creating them
8058 * MessageBox.cs: Use cached objects instead of creating them
8059 * FileDialog.cs: Use cached objects instead of creating them
8060 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8061 * TreeView.cs: Use cached objects instead of creating them
8063 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8065 * Control.cs: use Equals to compare the font since no == op
8066 * ScrollBar.cs: use Equals to compare the font since no == op
8068 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8070 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8072 2005-04-01 Jackson Harper <jackson@ximian.com>
8074 * Binding.cs: Implement IsBinding.
8075 * BindingManagerBase.cs:
8076 * PropertyManager.cs:
8077 * CurrencyManager.cs: Add IsSuspended property.
8079 2005-04-01 Jackson Harper <jackson@ximian.com>
8081 * Binding.cs: Had some IsAssignableFrom calls backwards.
8083 2005-04-01 Jackson Harper <jackson@ximian.com>
8085 * Binding.cs: Handle null data members when pulling data.
8086 * PropertyManager.cs: Handle the data member being a property that
8089 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8091 * DataGridTextBoxColumn.cs: fixes signature
8092 * DataGrid.cs: calls right constructor
8094 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8096 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8097 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8098 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8099 * DataGridTableStyle.cs: implements DataGridTableStyle
8100 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8101 * DataGridTextBox.cs: implements DataGridTextBox
8102 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8104 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8106 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8108 2005-03-29 Peter Bartok <pbartok@novell.com>
8111 - Properly implemented CompanyName property
8112 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8113 returns a path that includes CompanyName, ProductName and
8114 Version (fixes bug #70330)
8116 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8118 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8121 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8123 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8125 - Added ReadOnly CheckBox
8126 - Further refactoring: moved some code from Open-/SaveFileDialog
8129 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8131 * OpenFileDialog.cs: Fixed CheckFileExists
8133 Moved FileView and DirComboBox outside FileDialog class.
8134 They can now be used outside FileDialog
8136 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8138 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8139 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8141 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8143 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8144 - Added missing CreatePrompt property in SaveDialog
8145 - Overall SaveDialog handling should be better now
8146 - Added non standard ShowHiddenFiles property
8147 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8148 - Added InitialDirectory and RestoreDirectory support
8150 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8152 * FileDialog.cs: Made dirComboBox usable
8154 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8156 * FileDialog.cs: Added Filter support (case sensitiv)
8158 2005-03-24 Jackson Harper <jackson@ximian.com>
8160 * TabControl.cs: Need a couple more pixels for the lines.
8162 2005-03-23 Jackson Harper <jackson@ximian.com>
8164 * TabControl.cs: Give the tab page focus when it is selected.
8166 2005-03-23 Jackson Harper <jackson@ximian.com>
8168 * TabControl.cs: Account for the drawing of tabs borders when
8169 invalidating. If the slider was clicked dont do click detection on
8172 2005-03-23 Jackson Harper <jackson@ximian.com>
8174 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8176 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8178 * CategoryGridEntry.cs: Added
8179 * GridItem.cs: Added helper properties
8180 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8181 * GridEntry.cs: Updated code for collection
8182 * PropertyGrid.cs: Cleaned up some formatting
8183 * PropertyGridView.cs: Added drop down functionality for enums.
8184 * GridItemCollection.cs: Added enumerator logic
8185 * PropertyGridEntry.cs: Added
8187 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8190 - Removed unnecessary commented code
8191 - Fixed handling for entering the filename manually in the combobox
8193 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8195 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8197 2005-03-18 Peter Bartok <pbartok@novell.com>
8199 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8200 them being touching the border
8202 2005-03-18 Peter Bartok <pbartok@novell.com>
8204 * TextControl.cs: Quick hack to center text better
8206 2005-03-18 Peter Bartok <pbartok@novell.com>
8209 - Don't throw NotImplemented exceptions, just print a notice once
8210 instead (requested by Miguel). This makes running existing SWF
8213 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8214 - Added context menu trigger on right click
8215 * Panel.cs: Trigger invalidate on resize
8217 - Removed old double-buffer drawing
8218 - Added ResizeRedraw style to force proper update of statusbar
8220 - Removed debug output
8221 * ThemeWin32Classic.cs:
8222 - Fixed drawing of status bar, now draws Text property if there
8223 are no defined panels
8225 2005-03-18 Jackson Harper <jackson@ximian.com>
8227 * ImageList.cs: When the image stream is set pull all the images
8229 * ImageListStreamer.cs: Implement reading image list streams.
8231 2005-03-18 Peter Bartok <pbartok@novell.com>
8233 * ThemeWin32Classic.cs (DrawPictureBox):
8234 - Fixed calculations for centered drawing
8235 - Fixed drawing for normal mode, not scaling the image on normal
8237 2005-03-18 Peter Bartok <pbartok@novell.com>
8239 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8242 - Made Open/Save button the accept button for FileDialog
8243 - Tied the cancel button to the IButtonControl cancel button
8244 - Save/Open now properly builds the pathname
8245 - Now handles user-entered text
8246 - Preventing crash on right-click if no item is selected
8247 - Fixed Text property, now uses contents of textbox
8248 - Fixed SelectedText property, now just returns the text part that
8249 is selected in the text box
8251 2005-03-18 Jackson Harper <jackson@ximian.com>
8253 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8254 rect, make sure to de-adjust the interior rect after drawing the
8257 2005-03-18 Peter Bartok <pbartok@novell.com>
8259 * MenuAPI.cs: Remove menu *before* executing selected action to
8260 prevent the menu from 'hanging around'
8262 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8264 * XplatUIOSX.cs: Implemented WorkingArea property
8266 2005-03-17 Peter Bartok <pbartok@novell.com>
8268 * XplatUIX11.cs: Fixed menu coord calculations
8269 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8270 for calculating offsets
8272 2005-03-17 Peter Bartok <pbartok@novell.com>
8274 * Hwnd.cs: Do not consider menu presence for default client
8275 rectangle location/size
8276 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8277 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8278 translation functions
8279 * FileDialog.cs: Fixed (what I presume is a) typo
8281 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8283 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8284 X access (avoids X-Async errors)
8286 2005-03-16 Jackson Harper <jackson@ximian.com>
8288 * TabControl.cs: Raise the SelectedIndexChanged event.
8290 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8292 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8293 - Removed vertical ToolBar and replaced it with a custom panel
8294 (desktop and home button already work)
8295 - Added Help button (some controls get resized or relocated then)
8296 - Draw correct text depending on Open or Save.
8297 - Fixed some typos...
8299 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8302 - Only change Maximum and Minimum when need it (bug fix)
8304 2005-03-15 Peter Bartok <pbartok@novell.com>
8306 * Form.cs: Use Handle for icon, to trigger creation if
8307 the window does not yet exist
8309 - CanSelect: Slight performance improvement
8310 - Focus(): Preventing possible recursion
8311 - Invalidate(): Removed ControlStyle based clear flag setting
8312 - WM_PAINT: fixed logic for calling OnPaintBackground
8313 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8314 EraseWindowBackground if the control doesn't paint background
8316 - Moved EraseWindowBackground() method to internal methods
8317 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8318 is sent via SendMessage on BeginPaint call on Win32
8320 - Added EraseWindowBackground() method
8321 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8322 PaintEventStart, which more closely matches Win32 behaviour
8323 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8324 - Fixed SetFocus() to properly deal with client and whole windows
8325 * Hwnd.cs: Added ErasePending property
8326 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8327 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8329 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8332 - Fix hard loop when timers exist.
8333 - Fix bugs with middle and right click for 3 button mice.
8335 2005-03-11 Peter Bartok <pbartok@novell.com>
8338 - get_WorkingArea: Need to call X directly, GetWindowPos only
8339 returns cached data now
8340 - Added sanity check to GetWindowPos hwnd usage
8342 2005-03-11 Jackson Harper <jackson@ximian.com>
8344 * BindingManagerBase.cs: This method isn't used anymore as
8345 PullData now updates the data in the control.
8347 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8349 * Form.cs: fixes menu drawing on X11
8350 * MenuAPI.cs: fixes menu drawing on X11
8352 2005-03-11 Peter Bartok <pbartok@novell.com>
8354 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8355 from Jonathan Gilbert; should fix bug #73606
8356 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8357 in Screen coordinates. Thanks, Jordi.
8358 * Form.cs: Added missing attribute
8360 2005-03-11 Peter Bartok <pbartok@novell.com>
8363 - Rudimentary Mdi support
8364 - Removed outdated FormParent code
8365 - Implemented lots of missing properties and methods, still missing
8366 transparency support
8367 - Added missing attributes
8368 - Implemented support for MaximumBounds
8369 - Added firing of various events
8370 * XplatUI.cs: Added SetIcon() method
8371 * XplatUIDriver.cs: Added SetIcon() abstract
8372 * XplatUIOSX.cs: Stubbed out SetIcon() method
8374 - Implemented SetIcon() support
8375 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8376 - Switched to unix line endings
8378 - Made POINT internal so for can access it as part of MINMAX
8379 - Implemented SetIcon() support
8380 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8381 native Mdi support again, might have to go managed)
8382 * Control.cs: Now fires the StyleChanged event
8383 * MdiClient.cs: Added; still mostly empty
8385 2005-03-10 Peter Bartok <pbartok@novell.com>
8387 * SaveFileDialog.cs: Added emtpy file
8389 2005-03-08 Peter Bartok <pbartok@novell.com>
8391 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8392 in turn triggers OnCreateContro) when creating a handle for the
8394 * TextControl.cs: Fixed endless loop in certain cases when
8395 replacing the current selection
8397 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8400 - Honors NewValue changes in Scroll events allowing apps to change it
8401 - Adds First and Last Scroll events
8402 - Fixes Thumb events
8404 2005-03-07 Peter Bartok <pbartok@novell.com>
8406 * Hwnd.cs: Added DefaultClientRectangle property
8407 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8408 more detailed debug information
8410 - Fixed size-change feedback loop, where we would pull an old size
8411 off the queue and mistakenly change our window's size to an
8413 - Now compressing ConfigureNotify events, to reduce looping and
8415 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8418 2005-03-07 Jackson Harper <jackson@ximian.com>
8420 * Binding.cs: Push data pushes from data -> property. Check if the
8421 property is readonly when attempting to set it.
8423 2005-03-07 Jackson Harper <jackson@ximian.com>
8425 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8426 instead of IsSubclassOf. Pulling data now sets the value on the
8428 * PropertyManager.cs:
8429 * CurrencyManager.cs: Just need to pull data when updating now,
8430 because PullData will set the value on the control.
8432 2005-03-04 Jackson Harper <jackson@ximian.com>
8434 * Binding.cs: Implement data type parsing and converting on pulled
8435 data. TODO: Are there more ways the data can be converted?
8437 2005-03-04 Jackson Harper <jackson@ximian.com>
8439 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8440 controls Validating method so we can repull the data when the
8441 control loses focus.
8443 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8446 - Fixes null string format
8449 - Adds enum type checks
8450 - Fixes redrawing and recalc need after changing some properties
8451 - Fixes on focus_item set after the event
8452 - Fixes adding columns after the control has been created
8454 * ThemeWin32Classic.cs:
8455 - Fixes CheckBox focus rectangle
8456 - Fixes ColumnHeader drawing
8459 2005-03-03 Jackson Harper <jackson@ximian.com>
8461 * Binding.cs: Bind to <Property>Changed events so we can detect
8462 when properties are changed and update the data.
8464 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8467 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8468 - Fixes ImageList constructor with ImageList container
8469 - Fixes image scaling (wrong parameters at DrawImage)
8471 2005-02-02 Jackson Harper <jackson@ximian.com>
8473 * Binding.cs: Make property searches case-insensitive. Eliminate
8474 some duplicated code.
8476 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8479 - Handle focus event
8480 - Fix scrollbar events
8481 - Discard highlighted item if remove it
8482 - Fixes SelectedItem with strings
8484 2005-03-01 Peter Bartok <pbartok@novell.com>
8487 - Fixed Visible property, now follows (once again) parent chain
8488 to return false if any control in the chain is visible=false
8489 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8490 - Fixed several places where is_visible instead of Visible was used
8491 - Implemented FIXME related to focus selection when setting focused
8492 control to be invisible
8494 * XplatUIWin32.cs: Now using proper method to find out if window is
8495 visible. Thanks to Jordi for pointing it out
8497 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8499 * ComboBox.cs: show/hide scrollbar instead of creating it
8501 2005-02-27 Jackson Harper <jackson@ximian.com>
8503 * CurrencyManager.cs: Add PositionChanged stuff.
8505 2005-02-27 Peter Bartok <pbartok@novell.com>
8507 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8508 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8509 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8511 - Implemented GetMenuDC()
8512 - Implemented GetMenuOrigin()
8513 - Implemented ReleaseMenuDC()
8514 - Implemented generation of WM_NCPAINT message
8515 - Implemented generation and handling of WM_NCCALCSIZE message
8516 * Form.cs: Added debug helper message for Jordi's menu work
8518 - Modified ClientRect property; added setter, fixed getter to handle
8519 setting of ClientRect
8520 - Added MenuOrigin property
8522 2005-02-26 Peter Bartok <pbartok@novell.com>
8525 - Destroys the caret if a window that's being destroyed contains it
8526 - Ignores expose events coming from the X11 queue for windows that
8527 already are destroyed
8528 - Now uses the proper variable for handling DestroyNotify, before we
8529 marked the wrong window as destroyed
8530 - Improved/added some debug output
8532 2005-02-26 Peter Bartok <pbartok@novell.com>
8534 * X11Keyboard.cs: Fixes to work on 64bit systems
8536 2005-02-26 Peter Bartok <pbartok@novell.com>
8539 - Now calling OnHandleDestroyed from DestroyHandle()
8540 instead of Dispose()
8541 - Removed bogus call to controls.Remove() from DestroyHandle()
8543 2005-02-26 Peter Bartok <pbartok@novell.com>
8545 * Control.cs: Properly destroy child windows when our handle is
8548 2005-02-25 Peter Bartok <pbartok@novell.com>
8551 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8552 - Alphabetized Static Methods and Subclasses
8555 - Added XException class to allow custom handling of X11 exceptions
8556 - Created custom X11 error handler, tied into XException class
8557 - Added support for MONO_XEXCEPTIONS env var to allow the user
8558 to either throw an exception on X errors or continue running
8559 after displaying the error
8560 - Added handling of DestroyNotify message
8561 - Added handler for CreateNotify message (still disabled)
8562 - Improved (tried to at least) Where method to provide file and lineno
8564 - Added XErrorHandler delegate
8565 - Added XRequest enumeration (to suppor translation of errors)
8567 2005-02-25 Jackson Harper <jackson@ximian.com>
8569 * PropertyManager.cs: Implement editing features
8570 * CurrencyManager.cs:
8571 * Binding.cs: First attempt at UpdateIsBinding
8572 * BindingManagerBase.cs: Call UpdateIsBinding before
8573 pushing/pulling data.
8575 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8577 * MenuAPI.cs: Respect disabled items
8578 * ThemeWin32Classic.cs
8579 - Caches ImageAttributes creation for DrawImageDisabled
8580 - Fixes vertical menu line drawing
8581 - Draws disabled arrows in disable menu items
8583 2005-02-24 Peter Bartok <pbartok@novell.com>
8586 - Added UserData property to allow associating arbitrary objects
8588 - Fixed leak; now removing Hwnd references from static windows array
8590 - Fixed Graphics leak in PaintEventEnd
8591 - Removed usage of HandleData, switched over to Hwnd class
8592 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8594 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8596 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8597 * ScrollBar.cs: Fixes bug
8598 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8599 keyboard navigation enhancements
8601 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8603 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8604 * GroupBox.cs: Add control styles
8605 * Label.cs: Add control styles
8606 * UpDownBase.cs: Add control styles
8607 * ListBox.cs: Add control styles
8608 * XplatUIWin32.cs: Fixes wrong parameter order
8611 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8613 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8615 2005-02-23 Jackson Harper <jackson@ximian.com>
8617 * PropertyManager.cs: Implement property binding. This doesn't
8618 seem to work yet though as (I think) there are some bugs in
8619 System.ComponentModel.PropertyDescriptor.
8620 * BindingContext.cs: Use new PropertyManager constructor.
8622 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8624 * ProgressBar.cs: use clip region in ProgressBar
8625 * ThemeWin32Classic.cs: use clip region in ProgressBar
8627 2004-02-22 Jackson Harper <jackson@ximian.com>
8629 * BindingsCollection.cs: Remove some debug code.
8631 2005-02-22 Jackson Harper <jackson@ximian.com>
8633 * BindingContext.cs:
8634 * ControlBindingsCollection.cs:
8635 * CurrencyManager.cs:
8637 * BindingManagerBase.cs: Initial implementation
8638 * BindingsCollection.cs: Add an internal contains method that the
8639 BindingManagerBase uses to ensure bindings aren't added twice to
8641 * PropertyManager.cs: Stubbed out.
8643 * ContainerControl.cs: Hook up databinding
8645 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8648 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8649 Fixed Invalidate/Update chain.
8650 Fixed tons of other minor bugs (this is almost a complete rewrite).
8652 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8654 * ComboBox.cs: do subcontrol creation when the control is created
8656 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8658 * Label.cs: fixes image drawing (image and imagelist)
8659 * ThemeWin32Classic.cs: cache brushes
8661 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8663 * Form.cs: Move menu drawing code to Theme class
8664 * ComboBox.cs: Move ComboBox drawing code to Theme class
8665 * MenuItem.cs: Move menu drawing code to Theme class
8666 * MenuAPI.cs: Move menu drawing code to Theme class
8667 * ThemeWin32Classic.cs: New methods
8668 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8669 * ListBox.cs: Move Listbox drawing code to Theme class
8670 * Theme.cs: New methods
8672 2005-02-20 Peter Bartok <pbartok@novell.com>
8675 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8676 only process mnemonics on those)
8677 - Fixed event sequence for key handling; first calling
8678 ProcessKeyEventArgs now
8680 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8681 for processing non-character keys
8682 - Fixed WM_CHAR to generate proper event sequence before processing
8683 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8686 2005-02-19 Peter Bartok <pbartok@novell.com>
8688 * UserControl.cs: Added TextChanged event; added attributes
8689 * SizeGrip.cs: Implemented resizing and optional display of grip
8690 * Form.cs: Fixed attribute
8691 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8692 Changed meaning of ScrollWindow bool argument; instead of the
8693 clear attribute (which will be true usually anyway), it gives the
8694 option of moving child controls as well.
8696 - Changed to match new ScrollWindow argument
8697 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8698 now handles the implicit parent window a WM puts around us
8699 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8701 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8702 * TreeView.cs: Adjusted to new ScrollWindow arguments
8704 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8706 * Form.cs: Menu integration with non-client area
8707 * MenuItem.cs: Menu integration with non-client area
8708 * MenuAPI.cs: Menu integration with non-client area
8710 2005-02-18 Peter Bartok <pbartok@novell.com>
8712 * MethodInvoker.cs: Added
8713 * MdiLayout.cs: Added
8714 * SendKeys.cs: Started implementation
8715 * ErrorIconAlignment.cs: Added
8717 2005-02-18 Peter Bartok <pbartok@novell.com>
8719 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8720 * Form.cs: Added handling for Menu-related Non-client messages
8722 2005-02-17 Peter Bartok <pbartok@novell.com>
8724 * UpDownBase.cs: Fixed typo, compilation errors
8725 * DomainUpDown.cs: Fixed attribute value
8727 2005-02-16 Miguel de Icaza <miguel@novell.com>
8729 * UpDownBase.cs: Attach entry events.
8731 Add ForeColor property, Focused, InterceptArrowKeys (interception
8734 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8737 - Redraw non client are on Setmenu
8738 - Calc proper menu starting point
8740 2005-02-17 Peter Bartok <pbartok@novell.com>
8742 * Application.cs: Fixed message_filter check
8744 2005-02-17 Peter Bartok <pbartok@novell.com>
8746 * Application.cs: Now calls registered message filters
8747 * DockStyle.cs: Fixed attribute
8748 * Form.cs: Fixed attribute
8749 * Menu.cs: Fixed attribute
8750 * ToolTip.cs: Fixed attribute
8751 * TreeNode.cs: Added missing attributes and arranged in regions
8752 * PropertyGrid.cs: Fixed signatures
8753 * TreeNodeCollection.cs: Added attributes
8754 * Splitter.cs: Added missing attributes; arranged into regions
8755 * TabPage.cs: Added missing attributes; arranged into regions
8756 * TextBoxBase.cs: Added missing attributes
8757 * TextBox.cs: Added missing attributes
8758 * ArrangeDirection.cs: Added missing attributes
8759 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8760 * ToolBarButton.cs: Fixed attributes
8761 * AnchorStyles.cs: Fixed attribute
8762 * TrackBar.cs: Fixed attributes
8763 * TabControl.cs: Added missing attributes and arranged into regions
8764 * ToolBar.cs: Fixed attribute
8765 * StatusBar.cs: Fixed signature, organized into regions and added
8767 * StatusBarPanel.cs: Fixed attributes
8768 * ContentsResizedEventArgs.cs: Implemented
8769 * ContentsResizedEventHandler.cs: Implemented
8770 * DateBoldEventArgs.cs: Implemented
8771 * DateBoldEventHandler.cs: Implemented
8772 * UpDownEventArgs.cs: Implemented
8773 * UpDownEventHandler.cs: Implemented
8775 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8777 * Form.cs: first Menu NC refactoring
8778 * MenuAPI.cs: first Menu NC refactoring
8780 2005-02-16 Peter Bartok <pbartok@novell.com>
8782 * ImeMode.cs: Added missing attributes
8783 * Menu.cs: Fixed attribute
8784 * GroupBox.cs: Fixed attribute
8785 * Label.cs: Fixed attribute
8786 * ColorDialog.cs (RunDialog): Removed TODO attribute
8787 * ComboBox.cs: Fixed attributes
8788 * ListControl.cs: Added missing attributes
8789 * PropertyGrid.cs: Fixed attributes
8790 * Control.cs: Fixed attributes
8791 * ListViewItem.cs: Added TypeConverter attribute
8792 * NotifyIcon.cs: Fixed attributes
8793 * ListView.cs: Fixed attributes
8794 * ButtonBase.cs: Fixed attribute
8795 * ImageList.cs: Added missing attributes
8796 * ContainerControl.cs: Fixed signature
8797 * CheckedListBox.cs: Fixed attribute; added missing attributes
8798 * Panel.cs: Fixed attributes
8799 * PropertyTabChangedEventArgs.cs: Added missing attribute
8800 * PropertyValueChangedEventArgs.cs: Added missing attribute
8801 * Binding.cs: Fixed attribute
8802 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8803 * ListBox.cs: Fixed attribute; added missing attributes;
8804 * ScrollableControl.cs: Added missing attributes
8805 * PictureBox.cs: Added missing attributes; implemented missing property
8806 * DateTimePicker.cs: Added missing attributes
8807 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8808 * MonthCalendar.cs: Fixed attributes
8809 * StatusBarPanel.cs: Added missing attributes
8810 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8812 2005-02-16 Peter Bartok <pbartok@novell.com>
8814 * TextBoxBase.cs: The previous method to enforce height yet remember
8815 the requested high was less than ideal, this is an attempt to do
8817 * Control.cs: Added comment about possible problem
8818 * Copyright: Updated format
8819 * GridItemType.cs: Fixed swapped values
8821 2005-02-15 Jackson Harper <jackson@ximian.com>
8823 * BaseCollection.cs: Use property so we never access an
8824 uninitialized list. Also initialize the list in the property.
8826 2005-02-15 Peter Bartok <pbartok@novell.com>
8828 * GroupBox.cs (ProcessMnemonic): Implemented
8829 * Label.cs (ProcessMnemonic): Implemented
8830 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8833 2005-02-15 Peter Bartok <pbartok@novell.com>
8835 * RadioButton.cs (ProcessMnemonic): Implemented
8836 * CheckBox.cs (ProcessMnemonic): Implemented
8838 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8840 - Added internal method to allow calling ProcessMnemonic from other
8842 * ContainerControl.cs:
8843 - Started support for handling validation chain handling
8844 - Implemented ProcessMnemonic support
8845 - Added Select() call to Active, to make sure the active control
8847 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8849 * ThemeWin32Classic.cs:
8850 - DrawCheckBox(): Fixed stringformat to show hotkeys
8851 - DrawRadioButton(): Fixed stringformat to show hotkeys
8852 * CommonDialog.cs: Removed WndProc override, not needed
8854 2005-02-14 Peter Bartok <pbartok@novell.com>
8856 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8857 missed those in the rewrite
8859 2005-02-14 Miguel de Icaza <miguel@novell.com>
8861 * NumericUpDown.cs (Increment, ToString): Add.
8862 (DecimalPlaces): implement.
8866 * UpDownBase.cs: Add the designer attributes.
8868 2005-02-13 Peter Bartok <pbartok@novell.com>
8870 * Panel.cs: Removed border_style, now in Control
8871 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8872 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8874 2005-02-13 Peter Bartok <pbartok@novell.com>
8876 * MouseButtons.cs: Added missing attributes
8877 * XplatUIStructs.cs: Added enumeration for title styles
8878 * LeftRightAlignment.cs: Added missing attributes
8879 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8880 it compatible with Graphics.FromHwnd()
8881 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8882 * Keys.cs: Added missing attributes
8883 * SelectionRange.cs: Added missing attributes
8884 * SelectionRangeConverter.cs: Added
8886 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8887 ReleaseMenuDC methods
8888 - Renamed ReleaseWindow to UngrabWindow
8889 - Added proper startup notice to allow version identification
8891 - Added missing attributes
8892 - Removed FormParent concept
8893 * Label.cs: Removed border_style field, now in Control
8894 * RadioButton.cs: Now properly selects RadioButton when focus is
8896 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8898 - Added missing attributes
8899 - Added borderstyle handling
8900 - Removed FormParent concept support
8901 - Fixed calls to XplatUI to match changed APIs
8902 - Fixed bug that would case us to use disposed Graphics objects
8903 - Removed unneeded internal methods
8904 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8905 - SelectNextControl(): Fixed to properly check common parents
8906 * TextBoxBase.cs: Removed border_style field (now in Control)
8908 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8909 fixed calculations for form size
8910 - Added support for localized strings and icons
8911 - Improved form size calculations, added border
8912 * ListView.cs: Removed border_style field (now in Control)
8913 * X11Structs.cs: Moved several structs from X11 driver here
8914 * X11Keyboard.cs: Changed debug message
8915 * Application.cs: Removed FormParent concept support
8917 - Resetting end_modal flag
8918 - Removed FormParent concept support
8919 * NativeWindow.cs: Removed FormParent concept support
8920 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8921 Client area and Non-Client whole window to allow support for WM_NC
8923 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8924 prevent using it until it supports Hwnd as per Geoff Norton's request
8925 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8926 * PictureBox.cs: Removed border_style field, now in Control
8927 * XplatUIWin32.cs: Added new driver methods
8929 2005-02-12 Peter Bartok <pbartok@novell.com>
8931 * OpacityConverter.cs: Implemented
8932 * Hwnd.cs: Internal class to support drivers that need to emulate
8933 client area/non-client area window behaviour
8935 2005-02-11 Peter Bartok <pbartok@novell.com>
8937 * KeysConverter.cs: Implemented
8939 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
8941 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
8942 * LinkLabel: Added missing attributes
8943 * MainMenu.cs: fixes ToString
8944 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
8945 * ListBox.cs: fixes event position
8946 * TrackBar.cs: adds missing attributes and events
8948 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
8950 * MenuItem.cs: Use SystemInformation and bug fixes
8951 * MenuAPI.cs: Use SystemInformation and bug fixes
8953 2005-02-09 Jackson Harper <jackson@ximian.com>
8955 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
8956 their keystate otherwise things like VK_MENU get stuck "on".
8958 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
8960 * ListBox.cs: Fixes AddRange bug
8962 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
8965 - Add missing attributes
8966 - Add missing method
8968 * CheckedListBox.cs: Added missing attributes
8969 - Add missing attributes
8970 - Remove extra method
8972 * ComboBox.cs: Added missing attributes
8973 * VScrollBar.cs: Added missing attributes
8974 * ScrollBar.cs: Added missing attributes
8975 * ListBox.cs: Fixes signature, add missing consts
8976 * LinkArea.cs: Added missing attributes
8979 2005-02-08 Peter Bartok <pbartok@novell.com>
8981 * Menu.cs: Added missing attributes
8982 * MainMenu.cs: Added missing attributes
8983 * GroupBox.cs: Added missing attributes
8984 * Label.cs: Added missing attributes
8985 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
8987 - Added Instance and Options properties
8988 - Added missing attributes
8989 * Cursor.cs: Made Serializable
8990 * NotifyIcon: Added missing attributes
8991 * MenuItem.cs: Added missing attributes
8992 * TextBoxBase.cs: Implemented AppendText() and Select() methods
8993 * Panel.cs: Added Missing attributes
8994 * MonthCalendar.cs: Fixed CreateParams
8996 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9000 - Fixes issues with links
9001 - Adds the class attributes
9003 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9006 - Fixes button when no items available in dropdown
9007 - Fixes repainting problems
9008 - Adds the class attributes
9010 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9012 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9013 the current theme. Cache these on startup.
9015 2005-02-07 Jackson Harper <jackson@ximian.com>
9017 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9018 the scrollbar buttons when they are depressed.
9020 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9022 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9023 Get the display size from the main displayid. We currently dont
9024 support multiple display configurations.
9026 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9028 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9030 2005-02-07 Miguel de Icaza <miguel@novell.com>
9032 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9034 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9036 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9038 2005-02-04 Jackson Harper <jackson@ximian.com>
9040 * ThemeWin32Classic.cs: Respect the clipping rect when
9041 drawing. Only fill the intersection of clips and rects so there
9042 isn't a lot of large fills.
9043 * ScrollBar.cs: Pass the correct clipping rect to the theme
9044 engine. Remove some debug code.
9046 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9048 * DateTimePicker.cs:
9049 - Fixed crash on DateTime.Parse, use Constructor instead
9051 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9055 - Owner draw support (MeasureItem and DrawItem)
9057 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9060 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9061 - Fixes MenuItems.Add range
9063 - MergeMenu and Clone and CloneMenu functions
9065 2005-02-03 Jackson Harper <jackson@ximian.com>
9067 * ScrollBar.cs: Make abstract
9068 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9071 2005-02-03 Jackson Harper <jackson@ximian.com>
9073 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9074 all the unneeded refreshes and uses invalidates with properly
9077 2005-02-03 Peter Bartok <pbartok@novell.com>
9079 * ComponentModel.cs: Added
9080 * IDataGridEditingService.cs: Added
9081 * Timer.cs: Added missing attributes
9082 * ToolTip.cs: Added missing attributes
9084 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9086 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9088 2005-02-03 Peter Bartok <pbartok@novell.com>
9090 * ListBox.cs: Added missing attributes
9092 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9095 - Fixes font height after font change
9096 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9098 2005-02-02 Peter Bartok <pbartok@novell.com>
9100 * HandleData.cs: Introduced static methods to allow class
9101 to be more self-contained and track it's own HandleData objects
9102 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9103 HandleData to use new static methods
9105 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9108 - Fixes default size and PreferredHeight
9110 - ObjectCollection.Insert implementation
9116 - ObjectCollection.Insert implementation
9117 - No selection after clean
9120 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9122 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9124 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9127 - Caches ItemHeight calculation for OwnerDrawVariable
9128 - Handles dropdown properly
9129 - Fixes several minor bugs
9131 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9134 - Fixes 71946 and 71950
9135 - Fixes changing Multicolumn on the fly
9136 - Fixes keyboard navigation on Multicolumn listboxes
9138 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9140 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9143 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9145 * XplatUIOSX.cs: Allow applications to actually exit.
9147 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9149 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9150 their parent at creation time rather than lazily later. Fixes a major
9151 regression we were experiencing.
9153 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9155 * ThemeWin32Classic.cs: more date time picker painting fixes
9156 * DateTimePicker.cs: more monthcalendar drop down fixes
9157 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9159 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9162 - When moving the thumb going outside the control should stop the moving
9163 - Adds the firing of missing events
9164 - Fixes no button show if Size is not specified
9165 - End / Home keys for keyboard navigation
9167 2005-01-30 Peter Bartok <pbartok@novell.com>
9169 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9170 sanity check to prevent theoretical loop
9171 * XplatUIWin32.cs (SetVisible): Removed debug output
9172 * XplatUIX11.cs (SystrayChange): Added sanity check
9173 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9174 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9175 behaviour, valid until the X11 client window rewrite is done
9176 * TextBox.cs (ctor): Setting proper default foreground and background
9179 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9181 * Theme: Added DrawDateTimePicker to interface
9182 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9183 * DateTimePicker.cs: Created (still needs keys and painting code)
9184 * DateTimePickerFormat.cs: added
9185 * MonthCalendar.cs: fixed CreateParams for popup window mode
9187 2005-01-29 Peter Bartok <pbartok@novell.com>
9189 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9190 this should also the calculations for ligher/darker
9191 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9193 2005-01-29 Peter Bartok <pbartok@novell.com>
9195 * ArrangeDirection.cs: Added
9196 * ArrangeStartingPositon.cs: Added
9197 * SystemInformation.cs: Implemented
9198 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9199 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9200 used by SystemInformation class
9201 * X11Strucs.cs: Added XSizeHints structure
9203 - Fixed CreateParams to make sure the menu window is always visible
9204 - TrackPopupMenu: Added check to make sure we don't draw the
9207 2005-01-29 Peter Bartok <pbartok@novell.com>
9209 * HandleData.cs: Added method for altering invalid area
9210 * TextBoxBase.cs: Implemented TextLength
9212 2005-01-28 Peter Bartok <pbartok@novell.com>
9214 * XplatUIX11.cs: Improvement over last patch, not sending
9215 the WM_PAINT directly anymore, instead we scroll any pending
9216 exposed areas and let the system pick out the WM_PAINT later
9218 2005-01-28 Peter Bartok <pbartok@novell.com>
9220 * SWF.csproj: Deleted, no longer used. Instead,
9221 Managed.Windows.Forms/SWF.csproj should be used
9222 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9223 directly, to avoid a potential race condition with the next
9226 2005-01-28 Peter Bartok <pbartok@novell.com>
9228 * XplatUI.cs: Made class internal
9230 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9232 * CheckedListBox.cs:
9235 - Missing methods and events
9237 2005-01-27 Peter Bartok <pbartok@novell.com>
9239 * Application.cs (Run): Don't use form if we don't have one
9241 2005-01-27 Peter Bartok <pbartok@novell.com>
9243 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9245 2005-01-27 Peter Bartok <pbartok@novell.com>
9247 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9248 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9249 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9250 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9251 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9252 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9253 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9254 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9255 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9256 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9257 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9258 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9260 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9263 - Draw focus on Simple Combobox
9264 - Fixes drawing issues
9267 2005-01-27 Peter Bartok <pbartok@novell.com>
9270 - Place window in default location, instead of hardcoded 0/0
9271 - Send initial LocationChanged event
9273 - UpdateBounds after creation to find out where the WM placed us
9274 - Make sure that if the ParentForm changes location the Form
9276 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9277 to the root, but to whatever the WM placed around us.
9278 Translate to root coordinates before returning toplevel
9280 * XplatUIWin32.cs: Removed debug output
9281 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9282 flag to GetWindowPos, to allow translation of coordinates on X11
9284 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9286 * ListBox.cs: connect LostFocus Event
9288 2005-01-27 Peter Bartok <pbartok@novell.com>
9290 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9291 XplatUIX11.cs: Extended the Systray API
9292 * Form.cs: Removed debug output
9293 * Application.cs: Fixed focus assignment, always need to call
9294 XplatUI.Activate() since Form.Activate() has rules that may
9296 * NotifyIcon.cs: Should be complete now
9297 * ToolTip.cs: Worked around possible timer bug
9299 2005-01-27 Jackson Harper <jackson@ximian.com>
9302 - Only invalidate the effected tabs when the
9303 selected index changes. This reduces drawing and gets rid of some
9305 - Only refresh if the tabs need to be shifted, otherwise only
9306 invalidate the slider button.
9307 - On windows the tabs are not filled to right if the slider is
9310 2005-01-27 Jackson Harper <jackson@ximian.com>
9312 * TabControl.cs: Only refresh on mouseup if we are showing the
9313 slider. Also only invalidate the button whose state has changed.
9315 2005-01-26 Peter Bartok <pbartok@novell.com>
9317 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9318 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9319 and SystrayRemove() methods
9320 * XplatUIOSX.cs: Stubbed Systray methods
9322 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9324 - Fixed broken XChangeProperty calls (marshalling messed up things)
9325 * X11Structs.cs: Added enums and structs required for Size hinting
9326 * NotifyIcon.cs: Added & implemented
9328 2005-01-26 Jackson Harper <jackson@ximian.com>
9330 * TabControl.cs: Space vertically layed out tabs properly.
9332 2005-01-26 Peter Bartok <pbartok@novell.com>
9334 * Form.cs (CreateClientParams): Always set the location to 0,0
9335 since we're a child window.
9337 * Control.cs (SetVisibleCore): Always explicitly setting the location
9338 of a toplevel window, apparently X11 doesn't like to move windows
9339 while they're not mapped.
9341 2005-01-26 Jackson Harper <jackson@ximian.com>
9343 * TabControl.cs: Implement FillToRight size mode with vertically
9346 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9348 * ControlPaint.cs, ThemeWin32Classic.cs
9349 - Fixes DrawFocusRectangle
9351 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9354 - MenuBar tracking only starts when item is first clicked
9355 - Fixes menu hidding for multiple subitems
9356 - Unselect item in MenuBar when item Executed
9359 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9362 - IsInputKey for ListBox
9365 - Shift and Control item selection
9366 - Implement SelectionMode.MultiExtended
9369 - IsInputKey implemented
9370 - Do not generate OnTextChangedEdit on internal txt changes
9372 2005-01-23 Peter Bartok <pbartok@novell.com>
9374 * AccessibleObject.cs: Partially implemented Select()
9375 * MonthCalendar.cs: Added missing attributes and events
9376 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9377 form can properly override CreateParams.
9378 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9379 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9380 Control performs Invalidate & Update
9381 * NativeWindow (CreateHandle): Added special handling for Form
9382 and Form.FormParent classes to allow overriding of From.CreateParams
9384 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9386 - ControlNativeWindow: Added Owner property
9387 - Removed usage of Refresh() on property changes, changed into
9388 Invalidate(), we need to wait until the queue is processed for
9389 updates, direct calls might cause problems if not all vars for
9390 Paint are initialized
9391 - Added call to UpdateStyles() when creating the window, to set any
9392 styles that CreateWindow might have ignored.
9393 - Added support for Form CreateParent overrides to UpdateStyles()
9394 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9395 CreateParams are now properly overridable
9396 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9397 CreateParams are now properly overridable
9399 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9401 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9404 Capture LostFocus and OnTextBoxChanged. The later introduces a
9405 recursive invocation that I have not figured out yet.
9407 Reset the timer when not using (it was accumulating).
9410 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9411 user has made changes that require validation.
9413 Reset changing to avoid loops.
9415 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9417 * NumericUpDown.cs: Display value at startup.
9419 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9422 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9423 filled in. Added some basic parsing of text.
9425 Still missing the OnXXX method overrides, and figuring out the
9426 events that must be emitted.
9428 * UpDownBase.cs: Handle UserEdit on the Text property.
9430 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9433 - Fixes IntegralHeight
9436 2005-01-21 Jackson Harper <jackson@ximian.com>
9438 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9439 is set so that the page visibility is updated and the tabs are
9442 2005-01-21 Jackson Harper <jackson@ximian.com>
9444 * TabControl.cs: Use cliping rectangle for blitting. Give the
9445 theme the clipping rect so we can do clipping while
9446 drawing. Remove some debug code.
9448 2005-01-21 Jackson Harper <jackson@ximian.com>
9450 * TabPage.cs: Add a new method so tab pages can force the tab
9451 control to recalculate the tab page sizes.
9452 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9455 2005-01-20 Jackson Harper <jackson@ximian.com>
9457 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9459 2005-01-20 Jackson Harper <jackson@ximian.com>
9461 * TreeView.cs: Set the bounds for nodes properly. They were
9462 getting screwed up when checkboxes were not enabled, but images
9465 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9468 - Owner draw support
9471 2005-01-20 Jackson Harper <jackson@ximian.com>
9473 * XplatUIStructs.cs: More misc keys
9474 * X11Keyboard.cs: Ignore some control keys.
9476 2005-01-20 Jackson Harper <jackson@ximian.com>
9478 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9479 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9481 2005-01-19 Peter Bartok <pbartok@novell.com>
9483 * Control.cs: Un-selecting the control when it is loosing focus
9485 2005-01-19 Jackson Harper <jackson@ximian.com>
9487 * TreeView.cs: Hook up to the text controls leave event so we can
9488 end editing when the users clicks outside the text box.
9490 2005-01-19 Jackson Harper <jackson@ximian.com>
9492 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9493 get set in the conversion array.
9495 2005-01-19 Peter Bartok <pbartok@novell.com>
9497 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9498 focus is properly set
9500 - Added missing attributes
9501 - removed styles, those are already set in the base class
9503 - Added missing attributes
9504 - Added clip window styles
9505 * CheckBox.cs: Added missing attributes
9507 - FormParentWindow.CreateParams: Added required clip styles
9508 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9509 also filters modifier keys
9511 - Added assignment of Accept and Cancel button to enable Enter
9512 and Esc keys in MessageBox dialogs
9513 - FormParentWindow.CreateParams: Added required clip styles
9514 * RadioButton.cs: Added missing attributes
9515 * TextControl.cs: No longer draws selection if control does not
9518 - Now draws simple rectangle around test area to make it obvious
9519 there's a control. This is a hack until we properly support borders
9520 - A few simple fixes to support selections better, now erases selected
9521 text when typing, and resets selection when using movement keys
9523 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9525 * UpDownBase.cs: Added some new properties.
9527 * DomainUpDown.cs: Implement a lot to get my test working.
9529 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9531 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9533 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9535 * OSXStructs (WindowAttributes): Fixed csc complaints
9537 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9540 OSXStructs.cs: Initial refactor to move enums and consts into
9541 OSXStructs and use them in the driver for greater readability.
9543 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9545 * XplatUIOSX.cs: Initial support for Standard Cursors.
9546 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9548 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9550 * ComboBox.cs: ability to change style when the ctrl is already
9551 created, missing methods and events, bug fixes, signature fixes
9553 2005-01-19 Peter Bartok <pbartok@novell.com>
9555 * Cursors.cs (ctor): Added ctor to fix signature
9557 2005-01-18 Peter Bartok <pbartok@novell.com>
9559 * Button.cs: Implemented DoubleClick event
9561 - Fixed keyboard handling to behave like MS, where the press of
9562 Spacebar is equivalent to a mousedown, and the key release is
9563 equivalent to mouseup. Now a spacebar push will give the same
9564 visual feedback like a mouse click.
9565 - Added missing attributes
9566 - Added ImeModeChanged event
9567 - Added support for generating DoubleClick event for derived classes
9569 - Implemented DoubleClick event
9570 - Added missing attributes
9571 * CommonDialog.cs: Added missing attribute
9572 * ContextMenu.cs: Added missing attributes
9574 - AutoChecked buttons do not allow to be unselected when clicked
9575 (otherwise we might end up with no selected buttons in a group)
9576 - Added missing attributes
9577 - Implemented DoubleClickEvent
9578 * ThreadExceptionDialog.cs: Enabled TextBox code
9580 2005-01-18 Peter Bartok <pbartok@novell.com>
9582 * Form.cs: Removed debug output
9583 * Button.cs: Added support for DoubleClick method
9585 2005-01-18 Peter Bartok <pbartok@novell.com>
9588 - Added method to parent window that allows triggering size
9589 calculations when a menu is added/removed
9590 - set_Menu: Cleaned up mess from early days of Form and Control,
9591 now properly triggers a recalc when a menu is added/removed
9592 - Added case to select form itself as focused form if no child
9594 - Added PerformLayout call when showing dialog, to ensure properly
9597 - Select(): Made internal so Form can access it
9598 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9600 * Application.cs (Run): Removed hack and calls PerformLayout instead
9601 to trigger calculation when Form becomes visible
9603 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9605 * ComboBox.cs: fixes for ownerdraw
9607 2005-01-18 Peter Bartok <pbartok@novell.com>
9610 - Sentinel is no longer static, each Document gets it's own, this
9611 avoids locking or alternatively overwrite problems when more
9612 than one text control is used simultaneously.
9613 - Switched to use Hilight and HilightText brushes for text selection
9615 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9617 2005-01-18 Peter Bartok <pbartok@novell.com>
9620 - Hooked up the following events:
9628 o SystemColorsChanged
9631 - Removed debug output
9632 - Added a call to the current theme's ResetDefaults when a color change
9634 * Form.cs: Now setting the proper ImeMode
9635 * Theme.cs: Defined a method to force recreation of cached resources
9636 and rereading of system defaults (ResetDefaults())
9637 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9639 2005-01-17 Peter Bartok <pbartok@novell.com>
9641 * Control.cs: Added missing attributes
9643 2005-01-17 Jackson Harper <jackson@ximian.com>
9645 * TreeNode.cs: Implement editing. Add missing properties selected
9647 * TreeView.cs: Implement node editing. Also some fixes to use
9648 Invalidate (invalid area) instead of Refresh when selecting.
9650 2005-01-17 Peter Bartok <pbartok@novell.com>
9653 - Implemented InvokeGotFocus() method
9654 - Implemented InvokeLostFocus() method
9655 - Implemented InvokePaint() method
9656 - Implemented InvokePaintBackground() method
9657 - Implemented InvokeClick() method
9658 - Implemented FindForm() method
9659 - Implemented RectangleToClient() method
9660 - Implemented ClientToRectangle() method
9661 - Implemented ResetBackColor() method
9662 - Implemented ResetCursor() method
9663 - Implemented ResetFont() method
9664 - Implemented ResteForeColor() method
9665 - Implemented ResetImeMode() method
9666 - Implemented ResetLeftToRight() method
9667 - Implemented ResetText() method
9668 - Implemented Scale() methods
9669 - Implemented ScaleCore() method
9670 - Implemented Update() method
9671 - Removed unused variables
9672 - Stubbed AccessibilityNotifyClients and
9673 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9675 - Now setting proper default for RightToLeft property
9676 - Fixed bug in SetClientSizeCore that would cause windows to get
9678 - Now sending Click/DoubleClick events
9679 - Now selecting controls when left mouse button is clicked on
9681 * AccessibleEvents.cs: Added
9682 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9683 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9684 * XplatUIWin32.cs: Implemented UpdateWindow() method
9685 * XplatUIX11.cs: Implemented UpdateWindow() method
9686 * Form.cs: Removed stray semicolon causing CS0162 warning
9687 * ThemeWin32Classic.cs: Fixed unused variable warnings
9688 * ScrollableControl.cs: Now calls base method for ScaleCore
9689 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9690 style to avoid interference with internal click handler (which is
9691 different than standard Control click handling)
9693 - Now unchecks all sibling radio buttons when control is
9694 selected (Fixes #68756)
9695 - Removed internal tabstop variable, using the one inherited from
9698 2005-01-17 Jackson Harper <jackson@ximian.com>
9700 * NavigateEventArgs.cs: Fix base type.
9701 * LinkLabel.cs: Sig fix
9703 2005-01-17 Jackson Harper <jackson@ximian.com>
9705 * TreeView.cs: Only invalidate the effected nodes bounds when
9708 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9710 * XplatUIWin32.cs: fixes Win32 marshaling
9711 * XplatUIX11.cs: fixes method signature
9713 2005-01-17 Peter Bartok <pbartok@novell.com>
9715 * XplatUIX11.cs: Clean up resources when we no longer need them
9717 2005-01-17 Peter Bartok <pbartok@novell.com>
9719 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9720 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9721 and DestroyCursor() methods.
9722 * Cursor.cs: Partially implemented, now supports standard cursors;
9723 still contains some debug code
9724 * Cursors.cs: Implemented class
9726 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9728 - Implemented Cursor property
9729 - Replaced break; with return; more straightforwar and possibly
9731 - Now properly setting the result for WM_HELP
9732 * X11Structs.cs: Added CursorFontShape enum
9733 * XplatUIStructs.cs:
9734 - Added StdCursor enum (to support DefineStdCursor() method)
9735 - Added HitTest enum (to support sending WM_SETCURSOR message)
9737 - Now sends the WM_SETCURSOR message
9738 - Implemented new cursor methods
9739 * XplatUIOSX.cs: Stubbed new cursor methods
9741 - Implemented new cursor methods
9742 - Added GetSystemMetrics function and associated enumeration
9744 2005-01-15 Peter Bartok <pbartok@novell.com>
9747 - WndProc(): Now handles EnableNotifyMessage
9748 - SelectNextControl(): Fixed bug where if no child or sibling
9749 controls exist we looped endlessly
9751 2005-01-14 Jackson Harper <jackson@ximian.com>
9753 * TreeView.cs: Recalculate the tab pages when a new one is added
9754 so that the proper bounding rects are created.
9756 2005-01-14 Jackson Harper <jackson@ximian.com>
9758 * TreeView.cs: Draw a gray box instead of a grip in the lower
9759 right hand corner when there are both horizontal and vertical
9762 2005-01-14 Jackson Harper <jackson@ximian.com>
9764 * Control.cs: When erasing backgrounds use FromHwnd instead of
9765 FromHdc when there is a NULL wparam. This occurs on the X driver.
9766 * XplatUIX11.cs: Set the wparam to NULL.
9768 2005-01-13 Jackson Harper <jackson@ximian.com>
9770 * PictureBox.cs: Implement missing methods (except ToString, need
9771 to test that on windows) and events. When visibility is changed we
9772 need to redraw the image because the buffers are killed. When size
9773 is changed refresh if the sizemode needs it.
9775 2005-01-13 Peter Bartok <pbartok@novell.com>
9777 * Control.cs (SelectNextControl): Was using wrong method to select
9780 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9782 * ComboBox.cs: fixes dropstyle
9784 2005-01-13 Peter Bartok <pbartok@novell.com>
9787 - Implemented Select() override
9788 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9789 - Now sets keyboard focus on startup
9790 * Control.cs (SelectNextControl): Now properly handles directed=true
9792 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9793 - Added (really bad) focus rectangle (mostly for testing)
9794 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9795 to enforce redraw on focus changes
9796 * ContainerControl.cs:
9797 - Fixed detection of Shift-Tab key presses
9798 - Fixed traversal with arrow keys
9799 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9800 gonna keep this or if it's complete yet
9802 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9804 * ComboBox.cs: missing properties, fixes
9806 2005-01-13 Peter Bartok <pbartok@novell.com>
9808 * Panel.cs (ctor): Setting Selectable window style to off
9809 * Splitter.cs (ctor): Setting Selectable window style to off
9810 * GroupBox.cs (ctor): Setting Selectable window style to off
9811 * Label.cs (ctor): Setting Selectable window style to off
9813 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9815 * UpDownBase.cs (InitTimer): If the timer has been already
9818 Use a TextBox instead of a Label.
9820 2005-01-12 Jackson Harper <jackson@ximian.com>
9822 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9823 draw the connecting node lines (when ShowLines is true).
9824 * TreeNode.cs: The nodes index can now be updated. This is used
9825 when a node collection is sorted.
9826 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9827 insert or an existing unsorted node collection can be sorted.
9829 2005-01-12 Peter Bartok <pbartok@novell.com>
9831 * ContainerControl.cs: Implemented ProcessDialogKeys()
9833 2005-01-12 Peter Bartok <pbartok@novell.com>
9836 - Implemented SelectNextControl() method
9837 - Several focus related bug fixes
9838 - Fixed Docking calculations to match MS documentation and
9841 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9843 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9846 2005-01-12 Peter Bartok <pbartok@novell.com>
9849 - Fixed broken Contains() method
9850 - Implemented GetNextControl() method. Finally. This is the pre-
9851 requisite for focus handling.
9853 2005-01-12 Peter Bartok <pbartok@novell.com>
9855 * OSXStrucs.cs: Added
9857 2005-01-12 Peter Bartok <pbartok@novell.com>
9860 - Removed PeekMessageFlags
9861 - Implemented SetWindowStyle() method
9862 * XplatUIStructs.cs: Added PeekMessageFlags
9863 * X11Structs: Added missing border_width field to XWindowChanges struct
9865 - PeekMessage: Now throws exception if flags which are not yet
9866 supported are passed
9867 - Implemented SetWindowStyle() method
9868 - Fixed SetZOrder to handle AfterHwnd properly
9869 * XplatUI.cs: Added SetWindowStyle() method
9870 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9872 - Implemented UpdateStyles() method
9873 - Implemented UpdateZOrder() method
9874 * XplatUIOSX.cs: Added SetWindowStyle() stub
9876 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9878 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9882 2005-01-11 Jackson Harper <jackson@ximian.com>
9884 * TreeView.cs: Still need to draw lines to siblings even if out of
9885 the current node is out of the clip.
9887 2005-01-11 Jackson Harper <jackson@ximian.com>
9889 * TreeView.cs: When setting the hbar/vbar/grip position use
9890 SetBounds so that perform layout is only called once. Also suspend
9891 and resume layout so layout is only done once for all controls.
9892 - Removed some debug fluff
9893 * SizeGrip.cs: Call base implmentation in overriding methods.
9894 - When visibility is changed the drawing buffers are killed so we
9897 2005-01-11 Jackson Harper <jackson@ximian.com>
9899 * TreeView.cs: Calculate the open node count while drawing. This
9900 saves us an entire tree traversal for every paint operation. Use
9901 a member var for the open node count so less vars are passed around.
9903 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9906 - fixed selection to use mousemove, not mouse polling on timer
9907 * ThemeWin32Classic.cs
9908 - removed redundant unused variable "no_more_content"
9910 2005-01-11 Peter Bartok <pbartok@novell.com>
9912 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9913 are pending, so it now calls PeekMessage instead of GetMessage;
9914 implemented a incomplete version of PeekMessage
9916 2005-01-11 Peter Bartok <pbartok@novell.com>
9918 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9920 * TextBoxBase.cs: Added sending of TextChanged event
9922 2005-01-10 Jackson Harper <jackson@ximian.com>
9924 * TreeView.cs: Try not to draw outside the clipping rectangle on
9927 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9929 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9931 2005-01-10 Jackson Harper <jackson@ximian.com>
9934 - Implement fast scrolling. Now only the newly
9935 exposed nodes are drawn and the old image is moved using the
9936 XplatUI::ScrollWindow method.
9937 - Factor in height of nodes when calculating whether or not the
9938 node is in the clipping rect.
9940 2005-01-10 Jackson Harper <jackson@ximian.com>
9942 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
9944 2005-01-10 Peter Bartok <pbartok@novell.com>
9946 * Application.cs: Added temporary hack to resolve all our resize
9947 required issues on startup. This will get fixed properly at
9948 some point in the future
9950 2005-01-10 Jackson Harper <jackson@ximian.com>
9952 * SizeGrip.cs: New internal class that is used as a sizing
9953 grip control...hence the name.
9955 2005-01-10 Peter Bartok <pbartok@novell.com>
9957 * Control.cs: Implemented proper TabIndex handling, now assigning
9958 a tabindex when a control is added to a container
9959 * GroupBox.cs (ctor): Now sets the Container style bit, required
9960 for Control.GetNextControl()
9962 2005-01-09 Jackson Harper <jackson@ximian.com>
9964 * TextBoxBase.cs: Clear window when scrolling (fixes build).
9966 2005-01-09 Peter Bartok <pbartok@novell.com>
9968 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9969 XplatUIX11.cs: Added ability to control ScrollWindow expose and
9970 an overload for ScrollWindow to allow only scrolling a rectangle
9972 2005-01-09 Peter Bartok <pbartok@novell.com>
9975 - Implemented SetDesktopBounds method
9976 - Implemented SetDesktopLocation method
9978 2005-01-08 Jackson Harper <jackson@ximian.com>
9980 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
9981 the node count has changed, this removes to VScroll::Refresh calls
9984 2005-01-08 Geoff Norton <gnorton@customerdna.com>
9986 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
9988 2005-01-07 Jackson Harper <jackson@ximian.com>
9990 * TreeNode.cs: Just update the single node when it is
9991 checked. Don't refresh after toggling, the Expand/Collapse already
9993 * TreeView.cs: Respect clipping a little more when drawing. Try
9994 not to redraw things that don't need to be redrawn. Just hide the
9995 scrollbars when they are no longer needed instead of removing
9996 them, so they don't have to be created again and again.
9998 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10000 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10001 coordinates to window space to place the caret properly, FIXED.
10002 Implement GetWindowState & SetWindowState
10004 2005-01-06 Peter Bartok <pbartok@novell.com>
10007 - Implemented ClientSize property
10008 - Implemented DesktopBounds property
10009 - Implemented DesktopLocation property
10010 - Implemented IsRestrictedWindow property
10011 - Implemented Size property
10012 - Implemented TopLevel property
10013 - Implemented FormWindowState property
10015 - Implemented GetTopLevel() method
10016 - Implemented SetTopLevel() method
10017 * X11Structs.cs (Atom):
10018 - Added AnyPropertyType definition
10019 - Added MapState definiton and updated XWindowAttribute struct
10020 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10021 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10022 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10024 - Implemented GetWindowState() and SetWindowState() methods
10025 - Fixed Win32GetWindowLong return type
10027 - Introduced central function for sending NET_WM messages
10028 - Implemented GetWindowState() and SetWindowState() methods
10029 * TextBoxBase.cs (set_Lines):
10030 - Now uses Foreground color for text added via Text property (Duh!)
10031 - Added code to remember programmatically requested size (fixes
10032 behaviour when Multiline is set after Size)
10033 - Added AutoSize logic
10035 2005-01-06 Jackson Harper <jackson@ximian.com>
10037 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10039 2005-01-06 Jackson Harper <jackson@ximian.com>
10041 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10042 set to less then 0.
10044 2005-01-06 Jackson Harper <jackson@ximian.com>
10046 * ScrollableControl.cs: Lazy init the scrollbars.
10048 2005-01-06 Jackson Harper <jackson@ximian.com>
10050 * Theme.cs: Speed up getting pens and solid brushes, by using
10051 their ARGB as a hash instead of tostring and not calling Contains.
10053 2005-01-06 Peter Bartok <pbartok@novell.com>
10056 - Implemented OnActivated and OnDeactivate event trigger
10057 - Implemented Activate() method
10058 - Fixed ShowDialog() to activate the form that was active before
10059 the dialog was shown
10061 - Added global active_window var that tracks the currently active
10063 - Now always grabs Property changes from the root window to always
10064 catch changes on the active window property
10065 - Added code to PropertyNotify handler to send Active/Inactive
10066 messages when state changes. This puts X11 and Win32 en par on
10067 WM_ACTIVATE notifications (except for double notifications when
10068 the user clicks away from our modal window to another one of our
10071 2005-01-05 Jackson Harper <jackson@ximian.com>
10073 * ImageList.cs: Implment ctor
10075 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10077 * XplatUIOSX.cs: Implement Activate/SetTopmost
10079 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10081 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10083 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10085 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10087 2005-01-05 Peter Bartok <pbartok@novell.com>
10089 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10090 XplatUIOSX.cs: Added GetActive method to return the currently
10091 active window for the application (or null, if none is active)
10093 - Implemented ActiveForm
10094 - Commented out owner assignment for modal dialogs (causes problems
10095 on Win32, since the owner will be disabled)
10096 - Reworked some Active/Focus handling (still incomplete)
10097 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10098 (causes problems on Win32, since the owner will be disabled)
10099 * IWin32Window: Added ComVisible attribute
10101 2005-01-05 Peter Bartok <pbartok@novell.com>
10103 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10104 required XplatUI functions.
10106 2005-01-05 Peter Bartok <pbartok@novell.com>
10108 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10109 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10110 to implement focus and activation handling; still incomplete and
10113 2005-01-04 Peter Bartok <pbartok@novell.com>
10115 * TextBoxBase.cs: Changed access level for Document property to
10116 match switch to internal for TextControl
10118 2005-01-04 Peter Bartok <pbartok@novell.com>
10120 * AccessibleObject: Added ComVisible attribute
10122 2005-01-04 Jackson Harper <jackson@ximian.com>
10124 * X11Keyboard.cs: Remove unneeded var.
10126 2005-01-04 Jackson Harper <jackson@ximian.com>
10128 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10130 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10131 ClientMessage. This makes apps exit cleanly (more often).
10133 2005-01-04 Jackson Harper <jackson@ximian.com>
10135 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10136 handling focus, return correct colors and fonts,
10137 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10138 handle selection, horizontal scrolling, and mouse interaction.
10140 2005-01-04 Peter Bartok <pbartok@novell.com>
10142 * ICommandExecutor.cs: Added
10143 * IDataGridColumnStyleEditingNotificationService.cs: Added
10144 * IFeatureSupport.cs: Added
10145 * IFileReaderService.cs: Added
10146 * IDataObject.cs: Added ComVisible attribute
10147 * AmbientProperties.cs: Added
10148 * BaseCollection.cs: Added missing attributes
10149 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10150 * BaseCollection.cs: Added missing attributes
10151 * Binding.cs: Added TypeConverter attribute
10152 * BindingContext.cs: Added DefaultEvent attribute
10153 * BindingsCollection.cs: Added DefaultEvent attribute
10154 * Button.cs: Added DefaultValue attribute
10155 * DragEventArgs.cs: Added ComVisible attribute
10156 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10157 * KeyEventArgs.cs: Added ComVisible attribute
10158 * KeyPressEventArgs.cs: Added ComVisible attribute
10159 * MouseEventArgs.cs: Added ComVisible attribute
10160 * NavigateEventArgs.cs: Added
10161 * NavigateEventHandler.cs: Added
10162 * FeatureSupport.cs: Added
10163 * OSFeature.cs: Added
10164 * Theme.cs: Added abstract Version property to support OSFeature
10165 * ThemeWin32Classic.cs: Added Version property to
10166 support OSFeature.Themes
10167 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10168 the proper styles to avoid background drawing are set, also doesn't
10170 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10171 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10172 * ScrollEventArgs.cs: Added ComVisible attribute
10173 * SplitterEventArgs.cs: Added ComVisible attribute
10174 * AccessibleSelection.cs: Added Flags attribute
10175 * Appearance.cs: Added ComVisible attribute
10176 * Border3DSide.cs: Added ComVisible attribute
10177 * Border3DStyle.cs: Added ComVisible attribute
10178 * BorderStyle.cs: Added ComVisible attribute
10179 * DragAction.cs: Added ComVisible attribute
10180 * ErrorBlinkStyle.cs: Added
10181 * ScrollEventType.cs: Added ComVisible attribute
10182 * AnchorStyles.cs: Added Editor attribute
10183 * DockStyle.cs: Added Editor attribute
10184 * HorizontalAlignment.cs: Added ComVisible attribute
10185 * HelpEventArgs.cs: Added ComVisible attribute
10186 * PaintEventArgs.cs: Added IDisposable
10188 2005-01-04 Peter Bartok <pbartok@novell.com>
10190 * TextControl.cs: Switched Line, LineTag and Document classes to
10193 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10195 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10196 Simple mode, fixes, IntegralHeight, etc.
10198 2005-01-04 Peter Bartok <pbartok@novell.com>
10200 * TextBoxBase.cs: Using proper font variable now
10202 2005-01-04 Peter Bartok <pbartok@novell.com>
10204 * Form.cs (ShowDialog): Set parent to owner, if provided
10205 * GroupBox.cs: Removed unused vars
10207 - Added GetHashCode() for Document and LineTag classes
10208 - Removed unused variables
10209 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10210 to allow translation between continuous char position and line/pos
10211 * CheckBox.cs: Removed vars that are provided by base class
10212 * RadioButton.cs: Removed vars that are provided by base class, added
10213 new keyword where required
10214 * LinkLabel.cs: Added new keyword where required
10215 * Control.cs (WndProc): Removed unused variable
10217 - Finished SelectionLength property
10218 - Implemented SelectionStart property
10219 - Implemented Text property
10220 - Removed unused vars
10221 * MessageBox.cs: Added new keyword where required
10222 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10224 * MenuAPI.cs: Added new keyword where required
10225 * ButtonBase.cs: Removed vars that are provided by base class, added
10226 new keyword where required
10227 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10228 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10230 * Application.cs (Run): Now triggers the ThreadExit event
10231 * CommonDialog.cs: Added new keyword where required; now properly sets
10232 parent (owner) for dialog
10233 * XplatUIX11.cs: Commented out unused vars
10234 * StatusBar.cs: Fixed signature for Text property
10235 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10237 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10239 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10240 TrackBar.cs, MonthCalendar.cs: remove unused vars
10242 2005-01-03 Jackson Harper <jackson@ximian.com>
10244 * ThemeWin32Classic.cs:
10245 * X11Keyboard.cs: Remove unused vars.
10247 2005-01-03 Peter Bartok <pbartok@novell.com>
10250 - set_Text: Tied into TextControl
10251 - set_TextAlignment: Tied into TextControl
10253 - Added alignment properties and implemented alignment handling
10254 and drawing (still has a bug, not generating proper expose events)
10255 - Added new Line() constructor to allow passing the line alignment
10256 - Fixed selection setting, properly handling end<start now
10257 - Added aligment considerations to RecalculateDocument()
10259 - Now properly enforces control height for single line controls
10260 - Added support for CharacterCasing
10261 - Added IsInputKey override
10262 - Fixed Keys.Enter logic
10263 - Added SetBoundsCore override
10264 - Fixed mouse selection handling
10266 2005-01-03 Jackson Harper <jackson@ximian.com>
10269 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10270 - Checkboxes are always aligned to the bottom of the node,
10271 regardless of item height.
10272 - Use the node bounds to draw the text so we can center it when
10273 the item height is greater then the font height.
10274 - Node::Bounds are only the text part of the node.
10275 * TreeNode.cs: New method to combine collapsing and unchecking all
10278 2005-01-02 Jackson Harper <jackson@ximian.com>
10280 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10281 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10282 tree when a check is changed. TODO: Only refresh the checked node.
10284 2004-12-30 Jackson Harper <jackson@ximian.com>
10286 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10287 * TreeNode.cs: When collapsing make sure to never collapse the
10290 2004-12-29 Jackson Harper <jackson@ximian.com>
10292 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10294 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10296 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10298 2004-12-28 Peter Bartok <pbartok@novell.com>
10300 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10303 2004-12-28 Peter Bartok <pbartok@novell.com>
10305 * Control.cs (WndProc): Added WM_HELP handler, now generates
10306 HelpRequested event
10307 * Form.cs: Added HelpButton property and required support code
10308 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10310 2004-12-28 Peter Bartok <pbartok@novell.com>
10313 - Made DialogForm.owner variable internal
10314 - Added check to ensure owner form is set before setting
10315 owner properties in CreateParams
10317 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10319 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10320 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10321 GetCursorPos. Fix major visibility issues. Rework the windowing
10322 system to support borderless/titleless windows (implements menus).
10323 Fix GetWindowPos. Implement initial background color support for
10326 2004-12-28 Peter Bartok <pbartok@novell.com>
10328 * Form.cs (get_CreateParams): Make sure we have an owner before using
10329 the owner variable. Implement proper default if no owner exists
10331 2004-12-28 Peter Bartok <pbartok@novell.com>
10333 * In preparation for making Managed.Windows.Forms the default build target
10334 for System.Windows.Forms, the following stubbed files were added.
10335 Dialogs are currently being implemented by contributors and are only
10336 short-term place holders.
10337 * ColorDialog.cs: Initial check-in (minmal stub)
10338 * DataGrid.cs: Initial check-in (minimal stub)
10339 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10340 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10341 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10342 * FontDialog.cs: Initial check-in (minimal stub)
10343 * FileDialog.cs: Initial check-in (minimal stub)
10344 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10345 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10346 * OpenFileDialog: Initial check-in (minimal stub)
10347 * IComponentEditorPageSite.cs: Initial check-in
10348 * Splitter.cs: Initial check-in (for Jackson)
10349 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10350 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10351 * TextBox.cs: Initial check-in; still needs some wiring to
10352 TextControl backend
10353 * Form.cs: Implemented ControlBox property
10354 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10355 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10356 * TextControl.cs: Added selection functionality; added todo header
10358 - Implemented Lines property
10359 - Implemented TextHeight property
10360 - Implemented SelectedText property
10361 - Implemented SelectionLength property
10362 - Implemented SelectAll method
10363 - Implemented ToString method
10364 - Removed and cleaned up some debug code
10365 - Implemented (still buggy) mouse text selection
10367 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10369 * ComboBox.cs: Complete DropDownList implementation, fixes.
10371 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10373 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10374 * ComboBoxStyle.cs: ComboBoxStyle enum
10375 * ComboBox.cs: Initial work on ComboBox control
10377 2004-12-21 Peter Bartok <pbartok@novell.com>
10379 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10380 forward so that anything that creates a window gets the default,
10381 also no longer uses Visible property in CreateParams to avoid
10382 walking up the parent chain and possibly get the wrong visible
10383 status. Fixed IsVisible to no longer walk up to the parent.
10385 2004-12-21 Peter Bartok <pbartok@novell.com>
10387 * Form.cs (ShowDialog): Unset modality for the proper window
10389 2004-12-20 Peter Bartok <pbartok@novell.com>
10391 * CommonDialog.cs: Initial check-in
10393 2004-12-20 Peter Bartok <pbartok@novell.com>
10395 * Control.cs (Visible): Now uses the parent window instead of the
10396 client area window for the property
10399 - ShowDialog(): Now uses the proper window for modality
10400 - The default visibility state for the form parent is now false. This
10401 will prevent the user from seeing all the changes to the form and
10402 its controls before the application hits Application.Run()
10403 - Removed some stale commented out code
10406 - Added FindWindow() method to have a method to check for existence
10408 - Added ability to override default exception handling (for example
10409 when debugging with VS.Net; to do this the ExternalExceptionHandler
10411 - Removed some useless debug output
10414 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10415 not working as expected
10416 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10417 property to allow switching back to the modal window if focus is
10418 given to another one of our windows (Application Modal)
10419 - Now only sets override_redirect if we create a window
10421 - Moved EventMask selection before mapping of newly created window
10422 so we can catch the map event as well
10423 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10424 - Added various Atom related DllImports
10425 - Implemented Exit() method
10426 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10427 in the CreateParams
10429 * MessageBox.cs: Now properly deals with the FormParent window by
10430 providing an override the FormParent CreateParams property to
10431 set as POPUP instead of OVERLAPPED window.
10433 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10435 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10436 Minor code cleanup.
10438 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10440 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10442 2004-12-18 Peter Bartok <pbartok@novell.com>
10444 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10445 implementing SetModal() method
10447 2004-12-18 Peter Bartok <pbartok@novell.com>
10449 * X11Structs.cs (XGCValues): Fixed type of function element
10450 * XplatUI.cs: Added ScrollWindow() method
10451 * XplatUIDriver.cs: Added ScrollWindow() abstract
10452 * XplatUIWin32.cs: Implemented ScrollWindow() method
10453 * XplatUIX11.cs: Implemented ScrollWindow() method
10454 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10456 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10458 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10459 Some more keyboard support (INCOMPLETE)
10461 2004-12-17 Peter Bartok <pbartok@novell.com>
10464 - Added color attribute to line tags.
10465 - Added color argument to all functions dealing with tags
10466 - Added color argument support to various functions
10467 - Fixed miss-calculation of baseline/shift in certain circumstances
10469 * TextBoxBase.cs: Added new color option to test code
10471 2004-12-17 Jackson Harper <jackson@ximian.com>
10474 * MonthCalendar.cs: Signature fixes
10476 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10478 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10479 keyboard event moved it. Create a new graphics context for each paint resolves this
10481 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10483 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10484 Make caret exist and go blink blink. Initial keyboard support.
10485 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10488 2004-12-17 Jackson Harper <jackson@ximian.com>
10490 * XplatUIStructs.cs: Updated set of virtual keycodes.
10491 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10493 2004-12-17 Jackson Harper <jackson@ximian.com>
10495 * XplatUIX11.cs: Prune old keyboard code.
10497 2004-12-17 Jackson Harper <jackson@ximian.com>
10499 * XplatUIX11.cs: When generating mouse wparams get the modifier
10500 keys from the ModifierKeys property.
10502 2004-12-17 Jackson Harper <jackson@ximian.com>
10504 * X11Keyboard.cs: Send up/down input when generating
10505 messages. Remove some unused vars.
10507 2004-12-17 Jackson Harper <jackson@ximian.com>
10510 * TreeView.cs: get rid of warnings.
10512 2004-12-17 Jackson Harper <jackson@ximian.com>
10514 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10516 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10518 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10519 CheckedListBox.cs: Implementation
10521 2004-12-17 Peter Bartok <pbartok@novell.com>
10523 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10525 2004-12-16 Peter Bartok <pbartok@novell.com>
10528 - InsertCharAtCaret(): Fixed start pos fixup
10529 - CaretLine_get: No longer derives the line from the tag, the tag
10530 could be stale if lines in the document have been added or deleted
10531 - RebalanceAfterDelete(): Fixed bug in balancing code
10532 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10533 - Line.Streamline(): Now can also elminate leading empty tags
10534 - DumpTree(): Added a few more tests and prevented exception on
10536 - Added Debug section for Combining lines
10537 - Delete(): Now copies all remaining properties of a line
10540 - Left mousebutton now sets the caret (and middle button still acts
10541 as formatting tester, which must go away soon)
10542 - Added Debug section for Deleting/Combining lines
10543 - Fixed calculations for UpdateView after Combining lines
10545 2004-12-16 Peter Bartok <pbartok@novell.com>
10547 * TextControl.cs: Now properly aligns text on a baseline, using the
10548 new XplatUI.GetFontMetrics() method. Simplified several calculations
10549 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10552 2004-12-16 Peter Bartok <pbartok@novell.com>
10554 * XplatUI.cs: Added GetFontMetrics() method
10555 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10556 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10557 into libgdiplus, our private GetFontMetrics function
10558 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10559 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10561 2004-12-16 Jackson Harper <jackson@ximain.com>
10563 * XplatUIStruct.cs: Add enum for dead keys
10564 * X11Keyboard.cs: Map and unmap dead keys.
10566 2004-12-16 Jackson Harper <jackson@ximian.com>
10568 * X11Keyboard.cs: Detect and use the num lock mask.
10570 2004-12-16 Peter Bartok <pbartok@novell.com>
10572 * Control.cs (CreateGraphics): Added check to make sure the
10573 handle of the window exists before calling Graphics.FromHwnd()
10575 2004-12-16 Peter Bartok <pbartok@novell.com>
10577 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10578 contains a lot of code that's not supposed to be there for the
10579 real thing, but required for developing/testing the textbox
10582 2004-12-16 Peter Bartok <pbartok@novell.com>
10585 - Fixed Streamline method
10586 - Added FindTag method to Line
10587 - Added DumpTree method for debugging
10588 - Added DecrementLines() method for deleting lines
10589 - Fixed UpdateView to update the cursor to end-of-line on single-line
10591 - Added PositionCaret() method
10592 - Fixed MoveCaret(LineDown) to move into the last line, too
10593 - Added InsertChar overload
10594 - Fixed InsertChar tag offset calculations
10595 - Added DeleteChar() method
10596 - Added Combine() method for folding lines
10597 - Fixed Delete() method, no longer allocates wasted Line object and
10598 now copies all properties when swapping nodes
10599 - Delete() method now updates document line counter
10601 2004-12-15 Jackson Harper <jackson@ximian.com>
10603 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10604 * X11Keyboard.cs: Expose the currently selected modifier keys
10605 through a property.
10607 2004-12-15 Peter Bartok <pbartok@novell.com>
10609 * TextControl.cs: Initial check-in. Still incomplete
10611 2004-12-15 Jackson Harper <jackson@ximian.com>
10614 * TreeView.cs: Fix build on csc (second time today ;-))
10616 2004-12-15 Jackson Harper <jackson@ximian.com>
10618 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10619 is calculated and use this for click testing.
10620 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10622 2004-12-15 Jackson Harper <jackson@ximian.com>
10624 * TreeView.cs: Pass the nodes image index to the image list when
10625 drawing that image.
10627 2004-12-15 Jackson Harper <jackson@ximian.com>
10629 * X11Keyboard.cs: Set messages hwnd.
10630 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10631 post_message calls.
10633 2004-12-15 Jackson Harper <jackson@ximian.com>
10635 * X11Keyboard.cs: Fix to compile with csc.
10637 2004-12-15 Jackson Harper <jackson@ximian.com>
10639 * X11Structs.cs: Add key mask values
10640 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10641 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10642 down/up foo into WM_CHAR foo
10643 * KeyboardLayouts.cs: Common keyboard layouts
10644 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10645 post messages into the main queue.
10647 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10649 * Button.cs: implement ProcessMnemonic
10650 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10652 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10653 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10655 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10657 * MonthCalendar.cs: Implemented click-hold for next/previous month
10660 2004-12-11 Peter Bartok <pbartok@novell.com>
10663 - Added XKeyboardState (moved from XplatUIX11.cs)
10664 - Added XCreateGC related enums and structures
10665 - Added GXFunction for XSetFunction
10667 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10669 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10670 CaretVisible() calls
10672 * ToolTip.cs: Added code to prevent stealing focus from app windows
10674 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10675 DestroyCaret, SetCaretPos and CaretVisible)
10678 - Added implementation for caret functions
10679 - Moved hover variables into a struct, to make it a bit easier
10680 on the eyes and to debug
10681 - Removed XKeyboardState (moved to XplatUIX11.cs)
10682 - Moved Keyboard properties into the properties region
10684 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10685 call to get a graphics context for our control
10687 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10689 * TreeView.cs: Fixed bug. No matter what color was set it would always
10690 return SystemColors.Window
10692 * XplatUIWin32.cs: Implemented caret overrides
10694 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10696 * ListBox.cs: fire events, implement missing methods and properties,
10699 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10701 * MonthCalendar.cs: invalidation bug fixing
10702 * ThemeWin32Classic.cs: paint fixing
10704 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10706 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10707 prepare the CGContextRef there now.
10709 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10711 * MonthCalendar.cs:
10712 - optimisationL only invalidate areas that have changed
10713 * ThemeWin32Classic.cs:
10714 - only paint parts that intersect with clip_area
10716 2004-12-09 Peter Bartok <pbartok@novell.com>
10718 * Application.cs: Undid changes from r37004 which cause problems
10721 2004-12-09 Ravindra <rkumar@novell.com>
10723 * ToolBar.cs: Added support for displaying ContextMenu
10724 attached to a button on ToolBar.
10725 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10728 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10730 * Label.cs: autosize works in text change and removes unnecessary
10733 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10735 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10738 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10740 * XplatUIOSX.cs: Added mouse move/click/grab support
10741 Remove some debugging WriteLines not needed anymore.
10742 Add window resizing/positioning.
10743 Fix visibility on reparenting.
10745 2004-12-08 Peter Bartok <pbartok@novell.com>
10747 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10749 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10751 * XplatUIOSX.cs: Initial checkin
10752 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10754 2004-12-03 Ravindra <rkumar@novell.com>
10756 * ListView.cs: Added some keybindings and fixed scrolling.
10757 ScrollBars listen to ValueChanged event instead of Scroll
10758 Event. This would let us take care of all changes being
10759 done in the scrollbars' values programmatically or manually.
10760 * ListView.cs (CanMultiselect): Added a check for shift key.
10761 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10762 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10763 of ListViewSubItemCollection as well.
10765 2004-12-06 Peter Bartok <pbartok@novell.com>
10767 * Control.cs (Parent): Added check and exception to prevent
10770 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10772 * ListBox.cs: implemented clipping, selection single and multiple,
10775 2004-12-03 Ravindra <rkumar@novell.com>
10777 * ListView.cs (ListView_KeyDown):
10778 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10779 when CTRL key is pressed.
10780 * ListViewItem.cs (Selected): Fixed setting the property.
10782 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10784 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10786 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10787 MinimizeBox, ShowInTaskbar, TopMost properties.
10789 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10790 will be implemented).
10792 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10794 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10796 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10799 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10801 * TreeView.cs: BackColor is Colors.Window.
10803 2004-12-01 Jackson Harper <jackson@ximian.com>
10805 * TreeView.cs: When resizing the tree if the user is making it
10806 smaller we don't get expose events, so we need to handle adding
10807 the horizontal scrollbar in the size changed handler as well as
10808 the expose handler.
10810 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10812 * DrawItemState.cs: fixes wrong enum values
10814 2004-12-01 Jackson Harper <jackson@ximian.com>
10816 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10818 2004-12-01 Jackson Harper <jackson@ximian.com>
10820 * NodeLabelEditEventArgs.cs:
10821 * NodeLabelEditEventHandler.cs:
10822 * OpenTreeNodeEnumerator.cs:
10824 * TreeNodeCollection.cs:
10826 * TreeViewAction.cs:
10827 * TreeViewCancelEventArgs.cs:
10828 * TreeViewCancelEventHandler.cs:
10829 * TreeViewEventArgs.cs:
10830 * TreeViewEventHandler.cs: Initial implementation.
10832 2004-12-01 Ravindra <rkumar@novell.com>
10834 * ListView.cs (CalculateListView): Fixed scrolling related
10835 calculations. Also, removed some debug statements from other
10837 * ListViewItem.cs: Changed access to 'selected' instance variable
10838 from private to internal.
10839 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10841 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10843 * ThemeWin32Classic.cs: remove cache of brush and pens for
10844 specific controls and use the global system, fixes scrollbutton
10845 bugs (for small sizes, disabled, etc)
10847 * ScrollBar.cs: does not show the thumb for very small controls
10848 (as MS) and allow smaller buttons that the regular size
10850 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10852 * UpDownBase.cs: Add abstract methods for the interface.
10853 Add new virtual methods (need to be hooked up to TextEntry when it
10855 Add override methods for most features.
10856 Computes the size, forces the height of the text entry.
10858 * NumericUpDown.cs: Put here the current testing code.
10860 * Set eol-style property on all files that do not have mixed line
10861 endings, to minimize the future problems. There are still a few
10862 files with mixed endings, and someone should choose whether they
10863 want to move it or not.
10865 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10867 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10870 2004-11-30 Ravindra <rkumar@novell.com>
10872 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10873 drawing and replaced use of SystemColors by theme colors.
10874 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10875 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10876 same ListViewItem is being added more than once.
10878 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10880 * MonthCalendar.cs:
10881 - ControlStyles love to make the control not flicker
10883 2004-11-30 Peter Bartok <pbartok@novell.com>
10885 * CharacterCasing.cs: Added
10887 2004-11-29 Peter Bartok <pbartok@novell.com>
10889 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10890 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10891 I am removing these files as they conflict with already completed
10892 work. While it is fantastic to get contributions to MWF, I
10893 respectfully ask that everyone please coordinate their contributions
10894 through mono-winforms-list or #mono-winforms at this time. We're
10895 explicitly avoiding stubbing and don't want controls that don't have
10896 their basic functionality implemented in svn. Please also see
10897 http://www.mono-project.com/contributing/winforms.html
10900 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10902 * Application.cs (ModalRun): Don't hang after exit.
10904 * Theme.cs: New TreeViewDefaultSize property.
10906 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10907 with less hardcoded SystemColors constant.
10908 Implemented TreeViewDefaultSize.
10910 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10911 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10914 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10916 * MonthCalendar.cs:
10917 - Fix NextMonthDate and PrevMonthDate click moving calendar
10919 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10921 * MonthCalendar.cs:
10922 - Fix usage of ScrollChange Property when scrolling months
10924 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10926 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10927 - Fixes menu destroying
10928 - Support adding and removing items on already created menus
10930 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10932 * MonthCalendar.cs:
10933 - Re-worked all bolded dates handling to match win32
10934 * ThemeWin32Classic.cs:
10935 - Fixed rendering with bolded dates
10937 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
10939 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
10940 - Horizontal scroolbar
10945 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
10947 * MonthCalendar.cs:
10948 - Fix Usage of MaxSelectionCount from SelectionRange
10949 - Fixed Shift + Cursor Selection
10950 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
10951 - Fixed normal cursor selection to be compat with win32
10952 - Fixed Shift + Mouse Click selection
10954 2004-11-24 Peter Bartok <pbartok@novell.com>
10956 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
10957 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
10959 - CreatedKeyBoardMsg now updates keystate with Alt key
10960 - Added workaround for timer crash to CheckTimers, Jackson will
10961 develop a proper fix and check in later
10962 - Implemented DispatchMessage
10963 - Removed calling the native window proc from GetMessage (call
10964 now moved to DispatchMessage)
10966 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
10967 the keydata (Fixes bug #69831)
10970 - (DispatchMessage): Switched to return IntPtr
10971 - Added DllImport for SetFocus
10973 2004-11-24 Ravindra <rkumar@novell.com>
10975 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
10976 background drawing.
10977 * ListViewItem.cs: Fixed various properties, calculations
10978 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
10979 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
10980 and some internal properties. Fixed MouseDown handler and Paint
10983 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10985 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
10987 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10989 * ContainerControl.cs: correct accidental check in of local changes
10991 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
10993 * ThemeWin32Classic.cs:
10994 - Fixed Drawing Last month in grid (sometimes not showing)
10995 * MonthCalendar.cs:
10996 - Fixed title width calculation bug (makeing title small)
10998 2004-11-23 Peter Bartok <pbartok@novell.com>
11001 - Added generation of WM_MOUSEHOVER event
11002 - Added missing assignment of async_method atom
11003 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11005 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11007 * ThemeWin32Classic.cs:
11008 - Fixed Drawing of today circle when showtodaycircle not set
11009 - fixed drawing of first and last month in the grid (gay dates)
11010 * MonthCalendar.cs:
11011 - Fixed Drawing of today circle
11012 - Fixed drawing of grady dates
11013 - Fixed HitTest for today link when ShowToday set to false
11014 - Fixed DefaultSize to obey ShowToday
11016 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11018 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11019 * System.Windows.Forms/Theme.cs
11020 * MonthCalendar.cs: added for MonthCalendar
11021 * SelectionRange.cs: added for MonthCalendar
11022 * Day.cs: added for MonthCalendar: added for MonthCalendar
11023 * DateRangeEventArgs.cs: added for MonthCalendar
11024 * DateRangeEventHandler.cs: added for MonthCalendar
11026 2004-11-22 Ravindra <rkumar@novell.com>
11028 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11031 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11033 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11036 * NumericUpDown.cs: Added new implementation.
11037 * UpDownBase.cs: Added new implementation.
11039 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11042 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11045 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11048 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11050 * Timer.cs (Dispose): Should call the base dispose when
11053 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11055 * ScrollBar.cs: updates thumb position when max, min or increment
11058 2004-11-21 Ravindra <rkumar@novell.com>
11060 * ListView.cs: Implemented item selection, activation and
11061 column header style. Fixed properties to do a redraw, if
11062 required. Added support for MouseHover, DoubleClick, KeyDown
11063 and KeyUp event handling and some minor fixes.
11064 * ListViewItem.cs: Fixed constructor.
11065 * ThemeWin32Classic.cs: Improved drawing for ListView.
11067 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11069 * ThemeWin32Classic.cs: initial listbox drawing code
11070 * DrawMode.cs: new enumerator
11071 * ListControl.cs: stubbed class
11072 * ListBox.cs: initial implementation
11073 * Theme.cs: new methods definitions
11074 * SelectionMode.cs: new enumerator
11076 2004-11-17 Peter Bartok <pbartok@novell.com>
11078 * XplatUIWin32.cs: Added double-click events to the class style
11079 * Control.cs (WndProc):
11080 - Added handling of click-count to MouseDown/ MouseUp events.
11081 - Added handling of middle and right mouse buttons
11082 - Removed old debug code
11084 2004-11-17 Jackson Harper <jackson@ximian.com>
11086 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11088 2004-11-17 Ravindra <rkumar@novell.com>
11090 * ListView.cs: Added event handling for MouseMove/Up/Down.
11091 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11092 * ThemeWin32Classic.cs: We need to clear the graphics context and
11093 draw column header in a proper state.
11096 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11098 * Menu.cs: fixes signature
11100 2004-11-16 Peter Bartok <pbartok@novell.com>
11102 * XplatUIX11.cs (GetMessage): Implemented generation of
11103 double click mouse messages
11105 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11107 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11110 2004-11-11 Peter Bartok <pbartok@novell.com>
11112 * HandleData.cs: Added Visible property
11113 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11115 * XplatUIX11.cs: Removed old debug leftovers
11116 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11117 * Control.cs (WndProc): Removed old debug leftovers,
11118 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11119 needed WM_SIZE handling
11121 2004-11-11 Jackson Harper <jackson@ximian.com>
11123 * OwnerDrawPropertyBag.cs:
11124 * TreeViewImageIndexConverter.cs: Initial implementation
11126 2004-11-10 Jackson Harper <jackson@ximian.com>
11128 * ThemeWin32Classic.cs:
11129 * TabControl.cs: instead of moving tabs by the slider pos just
11130 start drawing at the tab that is offset by the slider. This way
11131 scrolling always moves by exactly one tab.
11133 2004-11-10 Jackson Harper <jackson@ximian.com>
11135 * TabControl.cs: You can only scroll left when the slider has
11136 already ben moved right.
11138 2004-11-10 Jackson Harper <jackson@ximian.com>
11140 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11143 2004-11-10 Jackson Harper <jackson@ximian.com>
11145 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11148 2004-11-09 Jackson Harper <jackson@ximian.com>
11150 * TabControl.cs (CalcXPos): New helper method so we can determine
11151 the proper place to start drawing vertical tabs.
11152 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11154 2004-11-09 Jackson Harper <jackson@ximian.com>
11156 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11157 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11158 and Bottom, left and right are illegal values for this and
11159 multiline is enabled when the alignment is set to left or right.
11160 (DrawTab): Each alignment block should draw the text itself now
11161 because Left requires special love. Also add rendering for Left
11164 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11166 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11167 does not destroy the windows, removes debugging messages
11169 2004-11-09 jba <jba-mono@optusnet.com.au>
11171 * ThemeWin32Classic.cs
11172 (DrawButtonBase): Fix verticle text rect clipping in windows
11173 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11174 rendering and incorrect text rect clipping
11175 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11176 rendering and incorrect text rect clipping
11178 2004-11-08 Jackson Harper <jackson@ximian.com>
11180 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11181 bottom when they are bottom aligned so the bottoms of the tabs get
11183 * TabControl.cs (DropRow): Move rows up instead of down when the
11184 tab control is bottom aligned.
11186 2004-11-08 13:59 pbartok
11189 - Added handling for various window styles
11190 - Added handling for popup windows
11191 - Added SetTopmost handling
11193 2004-11-08 13:55 pbartok
11196 - Added argument to SetTopmost method
11197 - Fixed broken ClientToScreen function
11199 2004-11-08 13:53 pbartok
11201 * XplatUIStructs.cs:
11202 - Added missing WS_EX styles
11204 2004-11-08 13:53 pbartok
11206 * XplatUI.cs, XplatUIDriver.cs:
11207 - Added argument to SetTopmost
11209 2004-11-08 13:52 pbartok
11212 - Added XSetWindowAttributes structure
11213 - Improved XWindowAttributes structure
11214 - Added SetWindowValuemask enum
11215 - Added window creation arguments enum
11216 - Added gravity enum
11217 - Added Motif hints structure
11218 - Added various Motif flags and enums
11219 - Added PropertyMode enum for property functions
11221 2004-11-08 13:50 pbartok
11224 - Fixed arguments for updated SetTopmost method
11226 2004-11-08 13:49 pbartok
11229 - Fixed arguments for updated SetTopmost function
11230 - Fixed usage of PointToClient
11232 2004-11-08 13:44 pbartok
11235 - Added Clipping of children and siblings
11237 2004-11-08 13:41 pbartok
11240 - Removed SetMenuBarWindow call. We do this in Form.cs
11242 2004-11-08 13:40 jackson
11244 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11245 scrolling jimmi in the correct location with bottom aligned tabs
11247 2004-11-08 13:36 pbartok
11249 * ContainerControl.cs:
11250 - Implemented BindingContext
11251 - Implemented ParentForm
11253 2004-11-08 12:46 jackson
11255 * TabControl.cs: Put bottom rendered tabs in the right location
11257 2004-11-08 07:15 jordi
11259 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11262 2004-11-05 17:30 jackson
11264 * TabControl.cs: When selected tabs are expanded make sure they
11265 don't go beyond the edges of the tab control
11267 2004-11-05 14:57 jackson
11269 * TabControl.cs: Reset show_slider so if the control is resized to
11270 a size where it is no longer needed it's not displayed anymore
11272 2004-11-05 13:16 jackson
11274 * TabControl.cs: Make tab pages non visible when added to the
11277 2004-11-05 12:42 jackson
11279 * TabControl.cs: Implement SizeMode.FillToRight
11281 2004-11-05 12:16 jackson
11283 * Control.cs: Do not call CreateHandle if the handle is already
11286 2004-11-05 11:46 jackson
11288 * TabControl.cs: Remove superflous call to CalcTabRows
11290 2004-11-05 09:07 jackson
11292 * XplatUIX11.cs: Update for Mono.Posix changes
11294 2004-11-05 07:00 ravindra
11296 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11299 2004-11-04 22:47 jba
11301 * ThemeWin32Classic.cs:
11302 - Fix Button rendering for FlatStyle = Flat or Popup
11303 - Fix RadioButton and CheckBox rendering when Appearance = Button
11304 (normal and flatstyle).
11305 - Correct outer rectangle color when drawing focus rectangle
11306 - Adjust button bounds to be 1 px smaller when focused
11307 - Make button not draw sunken 3d border when pushed (windows compat)
11308 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11309 - Offset the text in RadioButton and Checkbox when being rendered as
11311 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11313 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11314 - Fixed disabled text rendering for normally rendered radiobuttons
11316 2004-11-04 10:26 jackson
11318 * TabControl.cs: Recalculate tab rows when resizing
11320 2004-11-04 07:47 jordi
11322 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11323 collection completion, drawing issues, missing features
11325 2004-11-04 05:03 ravindra
11328 - We need to recalculate the Thumb area when
11329 LargeChange/maximum/minimum values are changed.
11330 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11331 than minimum. This is required to handle the case if large_change is
11332 more than max, and use LargeChange property instead of large_change
11334 - We return max+1 when large_change is more than max, like MS does.
11336 2004-11-04 04:29 ravindra
11338 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11339 - Changed default value signatures (prefixed all with ListView).
11340 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11342 - Fixed calculations for ListViewItem and implemented Clone()
11345 2004-11-04 04:26 ravindra
11347 * Theme.cs, ThemeWin32Classic.cs:
11348 - Changed default ListView values signatures (prefixed all with
11350 - Fixed default size values for VScrollBar and HScrollBar.
11351 - Fixed DrawListViewItem method.
11353 2004-11-04 04:05 ravindra
11355 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11357 2004-11-04 04:04 ravindra
11359 * ImageList.cs: Implemented the missing overload for Draw method.
11361 2004-11-03 19:29 jackson
11363 * TabControl.cs: Handle dropping rows on selection properly
11365 2004-11-03 11:59 jackson
11367 * TabControl.cs: remove debug code
11369 2004-11-03 11:52 jackson
11371 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11372 the scrolly widgerywoo
11374 2004-11-02 13:52 jackson
11376 * TabControl.cs: Resize the tab pages and tabs when the tab control
11379 2004-11-02 13:40 jackson
11381 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11382 selected tab to the bottom
11384 2004-11-02 13:39 jackson
11386 * TabPage.cs: Store the tab pages row
11388 2004-11-02 12:33 jordi
11390 * MenuItem.cs: fixes handle creation
11392 2004-11-02 11:42 jackson
11394 * TabControl.cs: signature fix
11396 2004-11-02 08:56 jackson
11398 * TabControl.cs: Calculate whether the tab is on an edge properly.
11399 Remove top secret debugging code
11401 2004-11-01 19:57 jackson
11403 * TabControl.cs: Add click handling, and proper sizing
11405 2004-11-01 19:47 jackson
11407 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11410 2004-11-01 19:39 jackson
11412 * TabPage.cs: add internal property to store the bounds of a tab
11415 2004-10-30 04:23 ravindra
11417 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11420 2004-10-30 04:21 ravindra
11422 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11423 fixed calculations.
11425 2004-10-30 03:06 pbartok
11428 - Removed extension of DllImported libs
11430 2004-10-29 09:55 jordi
11432 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11433 navigation, itemcollection completion, menu fixes
11435 2004-10-27 22:58 pbartok
11438 - Now throws a nice error message when no X display could be opened
11440 2004-10-26 13:51 jordi
11442 * ListView.cs: removes warning
11444 2004-10-26 03:55 ravindra
11446 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11447 ThemeWin32Classic.cs: Some formatting for my last checkins.
11449 2004-10-26 03:36 ravindra
11451 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11452 control and default values.
11454 2004-10-26 03:35 ravindra
11456 * Theme.cs: Added some default values for ListView control.
11458 2004-10-26 03:33 ravindra
11460 * ToolBar.cs: ToolBar should use the user specified button size, if
11461 there is any. Added a size_specified flag for the same.
11463 2004-10-26 03:33 ravindra
11465 * ColumnHeader.cs: Added some internal members and calculations for
11468 2004-10-26 03:32 ravindra
11470 * ListViewItem.cs: Calculations for ListViewItem.
11472 2004-10-26 03:31 ravindra
11474 * ListView.cs: Added some internal members and calculations for
11477 2004-10-22 13:31 jordi
11479 * MenuAPI.cs: speedup menus drawing
11481 2004-10-22 13:16 jackson
11483 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11486 2004-10-22 11:49 jackson
11490 2004-10-22 11:41 jackson
11492 * Control.cs: Check to see if the window should have its background
11493 repainted by X when drawing.
11495 2004-10-22 11:31 jackson
11497 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11498 clear is true, this way we do not get flicker from X repainting the
11501 2004-10-22 11:28 jackson
11503 * XEventQueue.cs: Queue properly
11505 2004-10-21 09:38 jackson
11507 * XEventQueue.cs: Fix access modifier
11509 2004-10-21 09:36 jackson
11511 * XEventQueue.cs: Don't loose messages
11513 2004-10-21 09:22 jackson
11515 * XEventQueue.cs: Don't loose messages
11517 2004-10-20 04:15 jordi
11519 * BootMode.cs: enum need it by SystemInfo
11521 2004-10-19 21:58 pbartok
11524 - Small sanity check
11526 2004-10-19 21:56 pbartok
11529 - Added private FormParentWindow class which acts as the container
11530 for our form and as the non-client area where menus are drawn
11531 - Added/Moved required tie-ins to Jordi's menus
11532 - Fixed/Implemented the FormStartPosition functionality
11534 2004-10-19 21:52 pbartok
11537 - Removed unneeded locals
11538 - Added code to all size and location properties to understand and
11539 deal with the parent container of Form
11541 2004-10-19 21:33 pbartok
11544 - Fixed to deal with new Form subclasses for menus
11546 2004-10-19 17:48 jackson
11548 * XEventQueue.cs: commit correct version of file
11550 2004-10-19 16:50 jackson
11552 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11554 2004-10-19 16:15 jordi
11556 * MenuAPI.cs: MenuBarCalcSize returns the height
11558 2004-10-19 08:31 pbartok
11561 - Added missing call to PreProcessMessage before calling OnXXXKey
11564 2004-10-19 00:04 ravindra
11566 * ToolTip.cs: Fixed constructor.
11568 2004-10-18 09:31 jordi
11570 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11572 2004-10-18 09:26 jordi
11574 * MenuItem.cs: fixes MenuItem class signature
11576 2004-10-18 08:56 jordi
11578 * MenuAPI.cs: prevents windows from showing in the taskbar
11580 2004-10-18 00:28 ravindra
11582 * ToolTip.cs: Suppressed a warning message.
11584 2004-10-18 00:27 ravindra
11586 * Control.cs: Default value of visible property must be true.
11588 2004-10-17 23:19 pbartok
11591 - Complete implementation
11593 2004-10-17 23:19 pbartok
11596 - Added EnableWindow method
11597 - Added SetModal stub
11598 - Added generation of WM_ACTIVATE message (still needs testing)
11599 - Added SetTopMost stub
11600 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11602 2004-10-17 23:17 pbartok
11605 - Removed VirtualKeys to XplatUIStructs
11606 - Implemented SetTopMost method
11607 - Implemented EnableWindow method
11608 - Bugfix in ScreenToClient()
11609 - Bugfixes in ClientToScreen()
11611 2004-10-17 22:51 pbartok
11613 * XplatUIStructs.cs:
11614 - Added WS_EX styles to WindowStyles enumeration
11616 2004-10-17 22:50 pbartok
11618 * XplatUI.cs, XplatUIDriver.cs:
11619 - Added method for enabling/disabling windows
11620 - Added method for setting window modality
11621 - Added method for setting topmost window
11623 2004-10-17 22:49 pbartok
11625 * ThemeWin32Classic.cs:
11626 - Added ToolTip drawing code
11628 2004-10-17 22:49 pbartok
11631 - Added ToolTip abstracts
11633 2004-10-17 22:47 pbartok
11636 - Fixed Form.ControlCollection to handle owner relations
11637 - Added Owner/OwnedForms handling
11638 - Implemented Z-Ordering for owned forms
11639 - Removed unneeded private overload of ShowDialog
11640 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11642 - Fixed Close(), had wrong default
11643 - Added firing of OnLoad event
11644 - Added some commented out debug code for Ownership handling
11646 2004-10-17 22:16 pbartok
11649 - Fixed/implemented flat list of controls
11651 2004-10-17 22:14 pbartok
11654 - Added code to simulate modal dialogs on Win32
11656 2004-10-17 16:11 jordi
11658 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11661 2004-10-17 13:39 jordi
11663 * MenuAPI.cs: menu drawing fixes
11665 2004-10-15 09:10 ravindra
11667 * StructFormat.cs: General Enum.
11669 2004-10-15 09:09 ravindra
11671 * SizeGripStyle.cs: Enum for Form.
11673 2004-10-15 09:08 ravindra
11675 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11676 in Theme for ListView.
11678 2004-10-15 09:06 ravindra
11680 * ColumnHeader.cs: Flushing some formatting changes.
11682 2004-10-15 09:05 ravindra
11684 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11687 2004-10-15 09:03 ravindra
11689 * ListView.cs: Implemented Paint method and fixed coding style.
11691 2004-10-15 07:34 jordi
11693 * MenuAPI.cs: fix for X11
11695 2004-10-15 07:32 ravindra
11697 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11698 - Renamed Paint() method to Draw() for clarity. Also, moved
11699 DrawImage() to OnPaint().
11701 2004-10-15 07:25 ravindra
11703 * CheckBox.cs, RadioButton.cs:
11704 - Removed Redraw (), we get it from ButtonBase.
11705 - Implemented Paint (), to do class specific painting.
11707 2004-10-15 07:16 ravindra
11710 - Redraw () is not virtual now.
11711 - Added an internal virtual method Paint (), so that
11712 derived classes can do their painting on their own.
11713 - Modified OnPaint () to call Paint ().
11715 2004-10-15 06:43 jordi
11717 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11718 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11720 2004-10-15 00:30 ravindra
11723 - MessageBox on windows does not have min/max buttons.
11724 This change in CreateParams fixes this on Windows. We
11725 still need to implement this windowstyle behavior in
11728 2004-10-14 05:14 ravindra
11731 - Changed Redraw () to do a Refresh () always.
11732 - Fixed the MouseMove event handling when mouse is pressed,
11733 ie drag event handling.
11734 - Replaced the usage of ToolBarButton.Pressed property to
11735 ToolBarButton.pressed internal variable.
11737 2004-10-14 05:10 ravindra
11739 * ToolBarButton.cs:
11740 - Added an internal member 'inside' to handle mouse move
11741 with mouse pressed ie mouse drag event.
11742 - Changed 'Pressed' property to return true only when
11743 'inside' and 'pressed' are both true.
11744 - Some coding style love.
11746 2004-10-14 00:17 ravindra
11748 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11751 2004-10-14 00:15 ravindra
11753 * ButtonBase.cs: Redraw () related improvements.
11755 2004-10-14 00:14 ravindra
11757 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11758 removed unnecessary calls to Button.Show () method.
11760 2004-10-13 17:50 pbartok
11764 - Removed destroying of window until we solve the problem of X
11765 destroying the window before us on shutdown
11767 2004-10-13 16:32 pbartok
11770 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11772 2004-10-13 14:18 pbartok
11775 - Added code to destroy the X window
11777 2004-10-13 14:18 pbartok
11780 - Added code to destroy a window
11782 2004-10-13 14:12 pbartok
11785 - Added the Redraw on Resize that got dropped in the last rev
11787 2004-10-13 09:06 pbartok
11789 * ThemeWin32Classic.cs:
11790 - Path from John BouAntoun:
11791 * Fix check rendering (centre correctly for normal style, offset
11792 correctly for FlatStyle).
11793 * Fix border color usage (use backcolor) for FlatStyle.Popup
11794 * Use checkbox.Capture instead of checkbox.is_pressed when
11795 rendering flatstyle states.
11797 2004-10-12 21:48 pbartok
11799 * ThemeWin32Classic.cs:
11800 - Removed all occurences of SystemColors and replaced them with the
11801 matching theme color
11803 2004-10-12 21:41 pbartok
11805 * ThemeWin32Classic.cs:
11806 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11807 him using the function for flatstyle drawing
11808 - Changed functions to use the new version of CPDrawBorder3D
11810 2004-10-12 21:15 pbartok
11813 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11814 match MS documentation. They need to return defined colors if the
11815 passed color matches the configured control color. Thanks to John
11816 BouAntoun for pointing this out.
11818 2004-10-12 20:57 pbartok
11821 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11824 2004-10-12 20:46 pbartok
11827 - Fix from John BouAntoun: Now properly sets the Appearance property
11829 2004-10-12 20:45 pbartok
11831 * ThemeWin32Classic.cs:
11832 - Fixes from John BouAntoun: now handles forecolors and backcolors
11833 for flatstyle rendered controls much better; It also fixes normal
11834 checkbox rendering when pushed or disabled.
11836 2004-10-08 02:50 jordi
11838 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11841 2004-10-07 08:56 jordi
11843 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11845 2004-10-06 03:59 jordi
11847 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11848 XplatUIWin32.cs: removes warnings from compilation
11850 2004-10-05 12:23 jackson
11852 * RadioButton.cs: Fix ctor
11854 2004-10-05 11:10 pbartok
11857 - Partial implementation by Benjamin Dasnois
11859 2004-10-05 10:15 jackson
11861 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11864 2004-10-05 03:07 ravindra
11867 - Removed a private method, Draw ().
11868 - Fixed the ButtonDropDown event handling.
11869 - Fixed MouseMove event handling.
11871 2004-10-05 03:04 ravindra
11873 * ThemeWin32Classic.cs:
11874 - Added DrawListView method and ListViewDefaultSize property.
11875 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11876 - Changed DOS style CRLF to Unix format (dos2unix).
11878 2004-10-05 03:03 ravindra
11881 - Added DrawListView method and ListViewDefaultSize property.
11883 2004-10-05 02:42 ravindra
11885 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11886 clicks on DropDown arrow.
11888 2004-10-04 22:56 jackson
11890 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11891 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11892 Control handle the buffers, derived classes should not have to
11893 CreateBuffers themselves.
11895 2004-10-04 21:20 jackson
11897 * StatusBar.cs: The control handles resizing the buffers now.
11899 2004-10-04 21:18 jackson
11901 * Control.cs: When resizing the buffers should be invalidated. This
11902 should be handled in Control not in derived classes.
11904 2004-10-04 14:45 jackson
11908 2004-10-04 02:14 pbartok
11910 * LeftRightAlignment.cs:
11913 2004-10-04 01:09 jordi
11915 * ThemeWin32Classic.cs: fixes right button position causing right
11916 button not showing on horizontal scrollbars
11918 2004-10-02 13:12 pbartok
11921 - Simplified the Invalidate method by using an X call instead of
11922 generating the expose ourselves
11923 - Added an expose when the window background is changed
11924 - Implemented ClientToScreen method
11926 2004-10-02 13:08 pbartok
11929 - Added Win32EnableWindow method (test for implementing modal
11931 - Added ClientToScreen method and imports
11933 2004-10-02 13:07 pbartok
11935 * XplatUI.cs, XplatUIDriver.cs:
11936 - Added ClientToScreen coordinate translation method
11938 2004-10-02 13:06 pbartok
11940 * KeyPressEventArgs.cs:
11941 - Fixed access level for constructor
11943 2004-10-02 13:06 pbartok
11946 - Changed access level for the window_collection hash table
11948 2004-10-02 13:05 pbartok
11951 - Added KeyPreview property
11952 - Added Menu property (still incomplete, pending Jordi's menu work)
11953 - Implemented ProcessCmdKey
11954 - Implemented ProcessDialogKey
11955 - Implemented ProcessKeyPreview
11957 2004-10-02 13:02 pbartok
11960 - Added private method to get the Control object from the window
11962 - Implemented ContextMenu property
11963 - Implemented PointToScreen
11964 - Implemented PreProcessMessage
11965 - Implemented IsInputChar
11966 - Implemented IsInputKey
11967 - Implemented ProcessCmdKey
11968 - Completed ProcessKeyEventArgs
11969 - Fixed message loop to call the proper chain of functions on key
11971 - Implemented ProcessDialogChar
11972 - Implemented ProcessDialogKey
11973 - Implemented ProcessKeyMessage
11974 - Implemented ProcessKeyPreview
11975 - Added RaiseDragEvent stub (MS internal method)
11976 - Added RaiseKeyEvent stub (MS internal method)
11977 - Added RaiseMouseEvent stub (MS Internal method)
11978 - Added RaisePaintEvent stub (MS Internal method)
11979 - Added ResetMouseEventArgs stub (MS Internal method)
11980 - Implemented RtlTranslateAlignment
11981 - Implemented RtlTranslateContent
11982 - Implemented RtlTranslateHorizontal
11983 - Implemented RtlTranslateLeftRight
11984 - Added generation of KeyPress event
11986 2004-10-02 05:57 ravindra
11988 * ListViewItem.cs: Added attributes.
11990 2004-10-02 05:32 ravindra
11992 * ListView.cs: Added attributes.
11994 2004-10-01 11:53 jackson
11996 * Form.cs: Implement the Close method so work on MessageBox can
11999 2004-09-30 14:06 pbartok
12004 2004-09-30 11:34 jackson
12006 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12008 2004-09-30 07:26 ravindra
12010 * ListViewItemConverter.cs: Converter for ListViewItem.
12012 2004-09-30 07:26 ravindra
12014 * SortOrder.cs: Enum for ListView control.
12016 2004-09-30 07:25 ravindra
12018 * ColumnHeader.cs: Supporting class for ListView control.
12020 2004-09-30 07:24 ravindra
12022 * ListView.cs, ListViewItem.cs: Initial implementation.
12024 2004-09-30 07:20 ravindra
12026 * ItemActivation.cs: Enum for ListView Control.
12028 2004-09-29 20:29 pbartok
12031 - Added lookup of pixel value for background color; tries to get a
12032 color 'close' to the requested color, it avoids having to create a
12033 colormap. Depending on the display this could mean the used color
12034 is slightly off the desired color. Might have to change it to a more
12035 resource intensive colormap approach, but it will work as a
12036 workaround to avoid red screens.
12038 2004-09-29 14:27 jackson
12040 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12042 2004-09-28 12:44 pbartok
12044 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12045 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12046 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12047 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12048 TrackBar.cs, VScrollBar.cs:
12049 - Streamlined Theme interfaces:
12050 * Each DrawXXX method for a control now is passed the object for
12051 the control to be drawn in order to allow accessing any state the
12052 theme might require
12054 * ControlPaint methods for the theme now have a CP prefix to avoid
12055 name clashes with the Draw methods for controls
12057 * Every control now retrieves it's DefaultSize from the current
12060 2004-09-28 12:17 jackson
12062 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12065 2004-09-24 14:57 jackson
12067 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12068 Gives us a nice little performance boost.
12070 2004-09-24 12:02 jackson
12072 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12073 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12074 Control and supporting classes. Initial checkin
12076 2004-09-23 13:08 jackson
12078 * Form.cs: Temp build fixage
12080 2004-09-23 01:39 ravindra
12082 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12083 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12084 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12085 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12086 EventHandlers needed by ListView Control.
12088 2004-09-22 14:12 pbartok
12090 * ScrollableControl.cs:
12091 - Implemented DockPadding property
12092 - Implemented AutoScroll property
12093 - Implemented AutoScrollMargin property
12094 - Implemented AutoScrollMinSize property
12095 - Implemented AutoScrollPosition property
12096 - Implemented DisplayRectangle property (still incomplete)
12097 - Implemented CreateParams property
12098 - Implemented HScroll property
12099 - Implemented VScroll property
12100 - Implemented OnVisibleChanged property
12102 2004-09-22 14:09 pbartok
12105 - Added Form.ControllCollection class
12106 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12107 RemoveOwnedForm (still incomplete, missing on-top and common
12108 minimize/maximize behaviour)
12109 - Added StartPosition property (still incomplete, does not use when
12111 - Added ShowDialog() methods (still incomplete, missing forcing the
12114 2004-09-22 14:05 pbartok
12117 - Added message loop for modal dialogs
12119 2004-09-22 14:02 pbartok
12122 - Fixed wrong types for events
12124 2004-09-22 14:00 pbartok
12126 * Shortcut.cs, FormWindowState.cs:
12127 - Fixed wrong values
12129 2004-09-22 12:01 jackson
12131 * Control.cs: Text is never null
12133 2004-09-20 22:14 pbartok
12136 - Fixed accessibility level for Idle handler
12138 2004-09-20 18:54 jackson
12140 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12141 XplatUIX11.cs: New message loop that uses poll so we don't get a
12144 2004-09-17 10:43 pbartok
12147 - Fixed behaviour of arrow buttons. Now properly behaves like
12148 Buttons (and like Microsoft's scrollbar arrow buttons)
12150 2004-09-17 10:14 pbartok
12153 - Added missing release of keyboard/mouse capture
12155 2004-09-17 06:18 jordi
12157 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12158 Theme.cs: Very early menu support
12160 2004-09-16 17:45 pbartok
12163 - Fixed sending a window to the front
12164 - Added overload for SetWindowPos to avoid casting
12166 2004-09-16 17:44 pbartok
12169 - Added SendToBack and BringToFront methods
12171 2004-09-16 07:00 ravindra
12173 * Copyright: Added Novell URL.
12175 2004-09-16 07:00 ravindra
12177 * ToolBar.cs: Invalidate should be done before redrawing.
12179 2004-09-15 21:19 ravindra
12181 * ColumnHeaderStyle.cs: Enum for ListView Control.
12183 2004-09-15 21:18 ravindra
12185 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12188 2004-09-13 18:26 jackson
12190 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12193 2004-09-13 18:13 jackson
12195 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12196 a second thread and post messages into the main threads message
12197 queue. This makes timing much more consistent. Both win2K and XP
12198 have a minimum timer value of 15 milliseconds, so we now do this
12201 2004-09-13 15:18 pbartok
12203 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12205 - Added Z-Ordering methods
12207 2004-09-13 10:56 pbartok
12210 - Fixed #region names
12211 - Moved properties and methods into their proper #regions
12213 2004-09-13 10:51 pbartok
12216 - Added Accept and CancelButton properties
12217 - Added ProcessDialogKey() method
12219 2004-09-13 08:18 pbartok
12221 * IWindowTarget.cs:
12224 2004-09-10 21:50 pbartok
12227 - Added DoDragDrop() [incomplete]
12228 - Properly implemented 'Visible' handling
12229 - Added SetVisibleCore()
12230 - Implemented FindChildAtPoint()
12231 - Implemented GetContainerControl()
12232 - Implemented Hide()
12234 2004-09-10 19:28 pbartok
12237 - Moved methods into their appropriate #regions
12238 - Reordered methods within regions alphabetically
12240 2004-09-10 18:57 pbartok
12242 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12243 - Added method to retrieve text from window
12245 2004-09-10 18:56 pbartok
12248 - Moved some internal functions into the internal region
12249 - Implemented FontHeight
12250 - Implemented RenderRightToLeft
12251 - Implemented ResizeRedraw
12252 - Implemented ShowFocusCues
12253 - Implemented ShowKeyboardCues
12254 - Implemented FromChildHandle
12255 - Implemented FromHandle
12256 - Implemented IsMnemonic
12257 - Implemented ReflectMessage
12258 - All public and protected Static Methods are now complete
12260 2004-09-10 16:54 pbartok
12263 - Implemented remaining missing public instance properties
12264 - Alphabetized some out of order properties
12266 2004-09-10 05:51 ravindra
12268 * PictureBox.cs: Added a check for null image.
12270 2004-09-10 00:59 jordi
12272 * GroupBox.cs: remove cvs tag
12274 2004-09-09 05:25 ravindra
12276 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12278 2004-09-09 05:23 ravindra
12280 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12283 2004-09-09 02:28 pbartok
12285 * ThemeWin32Classic.cs:
12286 - Improve disabled string look
12288 2004-09-09 01:15 jordi
12290 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12293 2004-09-08 23:56 ravindra
12295 * ItemBoundsPortion.cs: It's enum, not a class!
12297 2004-09-08 23:47 ravindra
12299 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12302 2004-09-08 21:13 ravindra
12304 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12307 2004-09-08 21:03 ravindra
12309 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12312 2004-09-08 21:01 ravindra
12314 * ScrollableControl.cs: Removed unreachable code.
12316 2004-09-08 06:45 jordi
12318 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12320 2004-09-08 01:00 jackson
12322 * XplatUIX11.cs: Only run the timers when updating the message
12323 queue. This effectively gives X messages a higher priority then
12324 timer messages. Timers still need love though
12326 2004-09-07 14:01 jackson
12328 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12329 this for us and the handle is no longer valid.
12331 2004-09-07 13:59 jackson
12333 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12334 loop that manages to not crash. TODO: Add poll and cleanup timers
12336 2004-09-07 11:12 jordi
12338 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12340 2004-09-07 03:40 jordi
12342 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12343 fixes, methods, multiple links
12345 2004-09-06 06:55 jordi
12347 * Control.cs: Caches ClientRectangle rectangle value
12349 2004-09-05 02:03 jordi
12351 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12354 2004-09-04 11:10 jordi
12356 * Label.cs: Refresh when font changed
12358 2004-09-02 16:24 pbartok
12361 - Added sanity check to creation of double buffer bitmap
12363 2004-09-02 16:24 pbartok
12366 - Fixed selection of text color
12367 - Fixed handling of resize event; now properly recreates double
12369 - Added missing assignment of TextAlignment
12370 - Added proper default for TextAlignment
12372 2004-09-02 14:26 pbartok
12375 - Added missing RadioButton.RadioButtonAccessibleObject class
12377 2004-09-02 14:26 pbartok
12380 - Added missing Control.ControlAccessibleObject class
12381 - Started to implement Select()ion mechanisms, still very incomplete
12383 2004-09-02 14:25 pbartok
12385 * AccessibleObject.cs:
12386 - Added missing methods
12388 2004-09-02 14:23 pbartok
12390 * AccessibleNavigation.cs, AccessibleSelection.cs:
12393 2004-09-02 10:32 jordi
12395 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12396 pool for pens, brushes, and hatchbruses
12398 2004-09-01 15:30 jackson
12400 * StatusBar.cs: Fix typo
12402 2004-09-01 14:44 pbartok
12407 2004-09-01 14:39 pbartok
12409 * Button.cs, RadioButton.cs:
12410 - Functional initial check-in
12412 2004-09-01 14:01 pbartok
12415 - Added missing default
12416 - Added missing region mark
12418 2004-09-01 09:10 jordi
12420 * Label.cs: fixes method signatures, new methods, events, fixes
12423 2004-09-01 07:19 jordi
12425 * Control.cs: Init string variables with an empty object
12427 2004-09-01 04:20 jordi
12429 * Control.cs: fires OnFontChanged event
12431 2004-08-31 20:07 pbartok
12434 - Enabled display of strings
12436 2004-08-31 20:05 pbartok
12439 - Added (partial) implementation of DialogResult; rest needs to be
12440 implemented when the modal loop code is done
12442 2004-08-31 19:55 pbartok
12445 - Fixed to match the removal of the needs_redraw concept
12447 2004-08-31 19:55 pbartok
12450 - Removed the rather odd split between 'needs redraw' and redrawing
12451 - Now handles the events that require regeneration (ambient
12452 properties and size)
12454 2004-08-31 19:41 pbartok
12457 - Added firing of BackColorChanged event
12458 - Added TopLevelControl property
12459 - Fixed handling of WM_ERASEBKGRND message
12461 2004-08-31 12:49 pbartok
12467 2004-08-31 12:48 pbartok
12470 - Finished (famous last words)
12472 2004-08-31 04:35 jordi
12474 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12475 scrolling bugs, adds new methods
12477 2004-08-30 14:42 pbartok
12480 - Implemented CheckBox drawing code
12482 2004-08-30 14:42 pbartok
12485 - Made Redraw() and CheckRedraw() virtual
12486 - Improved mouse up/down/move logic to properly track buttons
12488 2004-08-30 09:44 pbartok
12491 - Updated to fix broken build. Not complete yet.
12493 2004-08-30 09:28 pbartok
12498 2004-08-30 09:17 pbartok
12503 2004-08-27 16:12 ravindra
12505 * ToolBarButton.cs: Added TypeConverter attribute.
12507 2004-08-27 16:07 ravindra
12509 * ImageIndexConverter.cs: Implemented.
12511 2004-08-27 14:17 pbartok
12514 - Removed unneeded stack vars
12515 - First attempt to fix sizing issues when layout is suspended
12517 2004-08-25 15:35 jordi
12519 * ScrollBar.cs: more fixes to scrollbar
12521 2004-08-25 14:04 ravindra
12523 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12524 Added the missing divider code and grip for ToolBar Control.
12526 2004-08-25 13:20 pbartok
12529 - Control now properly passes the ambient background color to child
12532 2004-08-25 13:20 jordi
12534 * ScrollBar.cs: small bug fix regarding bar position
12536 2004-08-25 12:33 pbartok
12539 - Now only calls SetTimer or KillTimer if the enabled state has
12542 2004-08-25 12:33 pbartok
12545 - Fixed timer handling, now seems to work
12546 - Improved error message for window creation
12548 2004-08-25 12:32 pbartok
12551 - Fixed generation of MouseUp message
12553 2004-08-25 12:29 jordi
12555 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12556 and fixes for progressbar
12558 2004-08-24 18:43 ravindra
12560 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12561 in ToolBar control.
12563 2004-08-24 17:15 pbartok
12567 - Added missing events
12570 2004-08-24 17:14 pbartok
12572 * StatusBar.cs, PictureBox.cs:
12573 - Now uses Control's CreateParams
12575 2004-08-24 16:36 pbartok
12578 - Fixed background color handling
12579 - Fixed sending of enter/leave events on a grab
12581 2004-08-24 16:35 pbartok
12584 - Refined definitions for CrossingEvent
12586 2004-08-24 12:37 jordi
12588 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12589 formmating, methods signature, and adds missing events
12591 2004-08-24 12:24 jordi
12593 * Control.cs: fire OnEnabledChanged event
12595 2004-08-24 11:17 pbartok
12598 - Implemented SetTimer() and KillTimer()
12600 2004-08-24 11:16 pbartok
12603 - Now uses Remove instead of Add to kill the timer
12605 2004-08-24 10:16 jackson
12607 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12608 picture boxes in the theme now. Draw picture box borders and obey
12611 2004-08-24 05:49 jackson
12613 * Timer.cs: Remove top secret debugging code
12615 2004-08-24 05:34 jackson
12617 * PictureBox.cs: Temp hack to make picture boxes draw their full
12620 2004-08-24 05:29 jackson
12622 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12623 XplatUIX11.cs: Move timers to the driver level. On X they are
12624 queued by the driver and checked on idle.
12626 2004-08-24 01:07 jackson
12628 * XplatUIX11.cs: Use a queue for async messages instead of passing
12629 them as ClientMessages since that was totally broken. Also simply
12630 check for events and return an idle message if none are found. This
12631 gives us an idle handler, and prevents deadlocking when no messages
12634 2004-08-23 18:19 ravindra
12636 * XplatUIWin32.cs: Removed the unwanted destructor.
12638 2004-08-23 17:27 pbartok
12641 - Finishing touches. Works now, just needs some optimizations.
12643 2004-08-23 16:53 jordi
12645 * ScrollBar.cs: small fix
12647 2004-08-23 16:45 pbartok
12650 - Removed debug output
12653 2004-08-23 16:43 jordi
12655 * ScrollBar.cs: [no log message]
12657 2004-08-23 16:10 pbartok
12660 - Fixed handling of WM_CLOSE message
12661 - Removed debug output
12663 2004-08-23 16:09 pbartok
12666 - Added handling of Idle event
12667 - Added handling of form closing
12668 - Fixed reporting of MessageLoop property
12669 - Removed some unneeded code, should provide a bit of a speedup
12671 2004-08-23 15:22 pbartok
12674 - Added InitLayout() method
12675 - Added code to properly perform layout when Anchor or Dock property
12677 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12678 LAMESPEC, tried to do it in a way that makes sense
12680 2004-08-23 14:10 jordi
12682 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12683 properties and methods
12685 2004-08-23 13:55 pbartok
12688 - Properly fixed Jordi's last fix
12689 - Now uses Cursor's Position property instead of calling XplatUI
12692 2004-08-23 13:44 jordi
12694 * PaintEventHandler.cs: Adding missing attribute
12696 2004-08-23 13:39 pbartok
12699 - Implemented Position property
12701 2004-08-23 13:39 pbartok
12703 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12704 - Added method to move mouse cursor
12706 2004-08-23 13:39 pbartok
12709 - Fixed setting of background color
12710 - Added method to move mouse cursor
12712 2004-08-23 13:16 jordi
12714 * Control.cs: avoids null exception
12716 2004-08-22 17:46 jackson
12718 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12721 2004-08-22 17:40 jackson
12723 * XplatUIX11.cs: Add some missing locks
12725 2004-08-22 15:10 pbartok
12727 * Control.cs, Form.cs:
12728 - Removed OverlappedWindow style from Control, instead it's default
12730 - Made form windows OverlappedWindow by default
12732 2004-08-22 13:34 jackson
12734 * ScrollBar.cs: Update the position through the Value property so
12735 the OnValueChanged event is raised.
12737 2004-08-22 12:04 pbartok
12740 - Added Cursor.cs and UserControl.cs
12742 2004-08-22 12:03 pbartok
12745 - Started implementation, not usable yet
12747 2004-08-22 12:00 pbartok
12750 - Implemented UserControl (complete)
12752 2004-08-21 19:20 ravindra
12754 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12756 2004-08-21 18:49 ravindra
12758 * ToolBar.cs: Probably this completes the missing attributes in
12761 2004-08-21 18:03 ravindra
12763 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12764 Fixed toolbar control signatures.
12766 2004-08-21 16:32 pbartok
12771 2004-08-21 16:30 pbartok
12776 2004-08-21 16:19 pbartok
12778 * Control.cs, Label.cs:
12781 2004-08-21 15:57 pbartok
12784 - Added loads of debug output for development
12785 - Fixed typo in method name
12787 2004-08-21 15:52 pbartok
12789 * ToolBarButtonClickEventArgs.cs:
12790 - Added missing base class
12792 2004-08-21 14:53 pbartok
12795 - Updated to match new GrabWindow signature
12797 2004-08-21 14:51 pbartok
12799 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12800 - Added method to get default display size
12802 2004-08-21 14:23 pbartok
12804 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12805 - Added method to query current grab state
12806 - Added argument to allow confining a grab to a window
12808 2004-08-21 14:22 pbartok
12811 - Added [Flags] attribute so that modifiers can be used in bitwise
12814 2004-08-21 14:21 pbartok
12816 * TrackBar.cs, ScrollBar.cs:
12817 - Replaced direct XplatUI calls with their Control counterpart
12819 2004-08-21 13:32 pbartok
12822 - Implemented Created property
12824 2004-08-21 13:28 pbartok
12827 - Implemented ContainsFocus
12829 2004-08-21 13:26 pbartok
12832 - Implemented CausesValidation
12834 2004-08-21 13:21 pbartok
12837 - Implemented CanFocus
12838 - Implemented CanSelect
12839 - Implemented Capture
12841 2004-08-21 12:35 pbartok
12844 - Fixed bug with Async message handling
12845 - Implemented getting the ModifierKeys
12847 2004-08-21 12:32 jackson
12849 * AsyncMethodResult.cs: Make sure we have the mutex before we
12850 release it. Fixes BeginInvoke on windows
12852 2004-08-21 11:31 pbartok
12854 * XplatUIWin32.cs, XplatUIX11.cs:
12855 - Drivers now return proper mouse state
12857 2004-08-21 10:54 jackson
12859 * Control.cs: Implement EndInvoke
12861 2004-08-21 10:48 jackson
12863 * Timer.cs: Remove unneeded finalizer
12865 2004-08-20 19:52 ravindra
12867 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12868 in mouse event handling in the ToolBar control.
12870 2004-08-20 19:50 ravindra
12872 * ImageList.cs: Changed draw method to use the arguments passed in
12875 2004-08-20 18:58 pbartok
12877 * XplatUIStructs.cs:
12878 - Added private message for async communication
12880 2004-08-20 17:38 ravindra
12882 * Control.cs: Made RightToLeft property virtual and removed a
12885 2004-08-20 14:39 jordi
12887 * ThemeGtk.cs: use style_attach
12889 2004-08-20 14:39 pbartok
12892 - Added jackson's Async code from X11 to Win32
12894 2004-08-20 14:09 pbartok
12897 - Added all new files
12899 2004-08-20 14:09 pbartok
12902 - Added call to set window background color
12904 2004-08-20 14:03 pbartok
12906 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12907 - Added method for setting the window background
12909 2004-08-20 14:02 pbartok
12912 - Added method for setting the background color
12913 - Added handling for erasing the window background
12915 2004-08-20 13:45 jordi
12917 * TrackBar.cs: fixes timer, new properties and methods
12919 2004-08-20 13:34 jackson
12921 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12924 2004-08-20 13:22 jackson
12926 * Timer.cs: Timer Tick events are now handed through Controls Async
12927 mechanism so the callbacks are executed in the same thread as X
12929 2004-08-20 13:19 jackson
12931 * XplatUIDriver.cs: Expose functionality to send async messages
12934 2004-08-20 13:18 jackson
12936 * Control.cs: Implement Begininvoke
12938 2004-08-20 13:14 jackson
12940 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
12941 messages through the driver
12943 2004-08-20 13:12 jackson
12945 * XplatUIX11.cs: Lock before all X operations. Also added Async
12946 method functionality through XSendEvent
12948 2004-08-20 13:11 jackson
12950 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
12951 This will screw up on 64 bit systems)
12953 2004-08-20 13:10 jackson
12955 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
12956 Async messages through X/Win32
12958 2004-08-19 19:39 pbartok
12961 - Updated code to match new HandleData.DeviceContext type
12963 2004-08-19 19:38 pbartok
12966 - Made DeviceContext a generic object to allow usage from various
12968 - Added support for queueing Windows messages
12970 2004-08-19 19:37 pbartok
12973 - Added generation of MouseEnter, MouseLeave and MouseHover events
12974 - Added cleanup on EndPaint
12976 2004-08-19 19:17 pbartok
12979 - Added handling of WM_MOUSEHOVER
12980 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
12983 2004-08-19 18:55 jordi
12985 * ThemeGtk.cs: fixes button order
12987 2004-08-19 18:12 jordi
12989 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
12991 2004-08-19 17:09 pbartok
12994 - Added Right property
12995 - Added RightToLeft property
12997 2004-08-19 16:27 jordi
12999 * ThemeGtk.cs: experimental GTK theme support
13001 2004-08-19 16:26 jordi
13003 * ITheme.cs, Theme.cs: move themes from an interface to a class
13005 2004-08-19 16:25 jordi
13007 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13010 2004-08-19 16:04 pbartok
13013 - Added colormap basics
13014 - Added a way to re-initialize with a different display handle
13015 - Fixed setting of the window background color
13016 - Added various X11 imports related to colors and colormaps
13018 2004-08-19 15:51 pbartok
13021 - Removed packing hints (Paolo suggested this a while back)
13022 - fixed colormap type
13023 - Added default Atom types
13024 - Added Screen and color structs and enums
13026 2004-08-19 15:39 pbartok
13029 - Added missing Draw() method
13030 - Added missing RecreateHandle event
13032 2004-08-19 15:30 pbartok
13035 - Added handling of WM_CLOSE
13037 2004-08-18 13:16 jordi
13039 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13042 2004-08-18 09:56 jordi
13044 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13046 2004-08-17 15:31 ravindra
13048 * SWF.csproj: Updated project.
13050 2004-08-17 15:25 pbartok
13053 - Drawing improvement; don't call UpdateBounds if we are not visible
13054 (or have been minimized)
13056 2004-08-17 15:24 pbartok
13059 - Finished IsVisible
13060 - Added Win32GetWindowPlacement
13062 2004-08-17 15:08 jackson
13064 * Panel.cs: Initial checkin of the Panel
13066 2004-08-17 14:25 pbartok
13069 - Fixed broken handling of default window sizes
13071 2004-08-17 13:29 jackson
13073 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13074 has a large startup time.
13076 2004-08-17 10:25 jackson
13078 * HandleData.cs: union areas properly
13080 2004-08-17 10:12 jackson
13082 * HandleData.cs: union areas properly
13084 2004-08-16 20:00 ravindra
13086 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13088 2004-08-16 18:48 ravindra
13090 * ToolBar.cs: Added attributes.
13092 2004-08-16 17:17 ravindra
13094 * SWF.csproj: Updated project.
13096 2004-08-16 17:16 jackson
13098 * XplatUIX11.cs: Check for more expose events before sending a
13099 WM_PAINT so they can all be grouped together. This makes dragging a
13100 window across another window redraw in a sane way.
13102 2004-08-16 15:47 pbartok
13105 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13106 support OnMouseEnter/Leave()
13107 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13110 2004-08-16 15:46 pbartok
13112 * XplatUIStructs.cs, XplatUIX11.cs:
13113 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13114 OnMouseEnter/Leave()
13116 2004-08-16 15:34 jackson
13118 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13119 sure messages get the message field set to WM_NULL if they are not
13122 2004-08-16 15:24 jackson
13124 * HandleData.cs: HandleData is used for storing message information
13127 2004-08-15 17:23 ravindra
13129 * ColorDepth.cs: Added attribute.
13131 2004-08-15 17:23 ravindra
13133 * SWF.csproj: Updated project for ToolBar Control.
13135 2004-08-15 17:20 ravindra
13137 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13138 control and also dos2unix format.
13140 2004-08-15 17:13 ravindra
13142 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13143 ToolBarButtonClickEventArgs.cs,
13144 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13145 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13147 2004-08-15 15:31 pbartok
13150 - First (mostly) working version
13152 2004-08-13 16:15 pbartok
13155 - Fixed Anchor default
13157 2004-08-13 15:43 pbartok
13160 - Changed GetCursorPos signature
13162 2004-08-13 15:42 pbartok
13164 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13165 - Changed signature for GetCursorPos
13167 2004-08-13 15:25 pbartok
13171 - Fixed resizing/exposure handling
13173 2004-08-13 15:22 jordi
13175 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13178 2004-08-13 14:55 jordi
13180 * TrackBar.cs: change from wndproc to events
13182 2004-08-13 13:00 jordi
13184 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13185 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13187 2004-08-13 12:53 pbartok
13190 - Changed GetWindowPos to also provide client area size
13191 - Fixed broken prototypes for several win32 functions
13193 2004-08-13 12:53 pbartok
13195 * XplatUI.cs, XplatUIDriver.cs:
13196 - Changed GetWindowPos to also provide client area size
13198 2004-08-13 12:52 pbartok
13201 - Added generation of WM_POSCHANGED
13202 - Changed GetWindowPos to also provide client area size
13204 2004-08-13 12:52 pbartok
13207 - Added Dispose() and destructor
13208 - Fixed resizing and bounds calculation
13210 - Added memory savings for invisible windows
13212 2004-08-13 12:46 jordi
13214 * TrackBar.cs: adds timer and grap window
13216 2004-08-13 10:25 jackson
13218 * Timer.cs: SWF Timer
13220 2004-08-12 16:59 pbartok
13222 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13223 - Implemented method to get current mouse position
13225 2004-08-12 14:29 jordi
13227 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13228 enhancement, fix mouse problems, highli thumb, etc
13230 2004-08-12 13:31 pbartok
13233 - Fixed Anchoring bugs
13235 2004-08-12 13:01 jackson
13237 * StatusBar.cs: Don't forget things
13239 2004-08-12 12:54 jackson
13241 * ThemeWin32Classic.cs: Handle owner draw status bars
13243 2004-08-12 12:54 jackson
13245 * StatusBar.cs: Implement missing properties, events, and methods.
13246 Handle mouse clicking
13248 2004-08-12 10:19 jackson
13250 * StatusBarPanelClickEventArgs.cs,
13251 StatusBarPanelClickEventHandler.cs: Classes for handling status
13252 bar panel click events
13254 2004-08-12 10:10 jackson
13256 * Control.cs: Add missing properties
13258 2004-08-12 09:46 pbartok
13260 * BindingsManagerBase.cs:
13261 - Name changed to BindingManagerBase.cs
13263 2004-08-12 09:25 jordi
13265 * ScrollableControl.cs: calls ctrlbase instead of exeception
13267 2004-08-11 16:28 pbartok
13269 * InputLanguageChangingEventArgs.cs:
13270 - Never check in before compiling. Fixes the last check-in
13272 2004-08-11 16:26 pbartok
13274 * InputLanguageChangingEventArgs.cs:
13275 - More signature fixes
13277 2004-08-11 16:20 pbartok
13279 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13280 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13281 ImageListStreamer.cs, InputLanguage.cs,
13282 InputLanguageChangedEventArgs.cs,
13283 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13284 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13285 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13286 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13289 2004-08-11 16:16 pbartok
13293 - Added .Net 1.1 method
13295 2004-08-11 15:25 pbartok
13298 - Fixed BindingManagerBase.cs filename
13300 2004-08-11 15:22 pbartok
13302 * BindingManagerBase.cs:
13303 - Was checked in with wrong filename
13305 2004-08-11 14:50 pbartok
13310 2004-08-11 13:41 jordi
13312 * XplatUIWin32.cs: Fixes ClientRect
13314 2004-08-11 13:19 pbartok
13316 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13318 - We had SetWindowPos and MoveWindow to set window positions and
13319 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13320 keep SetWindowPos as matching counterpart
13321 - Added some X11 sanity checking
13323 2004-08-11 12:59 pbartok
13326 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13327 (It seems that SetBounds is just a front for SetBoundsCore and
13328 SetBoundsCore updates the underlying window system and
13329 UpdateBounds is responsible for updating the variables associated
13330 with the Control and sending the events)
13331 - Major cleanup of Size handling; we now have two sizes, client_size
13332 and bounds. Bounds defines the window with decorations, client_size
13335 2004-08-11 12:55 pbartok
13337 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13338 - Added method to calculate difference between decorated window and
13341 2004-08-11 12:54 pbartok
13344 - Forcing redraw on resize
13346 2004-08-11 11:43 pbartok
13349 - Removed disposing of the actual images when the list is disposed
13351 2004-08-11 09:13 pbartok
13354 - Now properly reparents windows
13356 2004-08-11 08:37 pbartok
13361 2004-08-11 07:47 pbartok
13364 - Rewrote the collection stuff. Might not be as fast now, not
13365 keeping the number of children around and accessible directly, but
13366 it's more straightforward
13368 2004-08-11 07:44 pbartok
13370 * AccessibleObject.cs:
13371 - Fixed to match ControlCollection rewrite
13373 2004-08-11 07:43 pbartok
13376 - Added missing creation of the collection list
13378 2004-08-10 20:08 jackson
13380 * StatusBar.cs: Get the paint message from WndProc
13382 2004-08-10 19:31 jackson
13384 * ThemeWin32Classic.cs: Create Brushes as little as possible
13386 2004-08-10 19:20 jackson
13388 * UICues.cs: Add Flags attribute
13390 2004-08-10 19:19 jackson
13392 * StatusBarPanel.cs: Signature cleanup
13394 2004-08-10 19:10 jackson
13396 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13397 Initial implementation of status bar item drawing
13399 2004-08-10 17:27 jordi
13401 * TrackBar.cs: add missing methods, properties, and restructure to
13404 2004-08-10 16:24 jackson
13406 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13407 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13410 2004-08-10 13:21 jordi
13412 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13413 enhancements and standarize on win colors defaults
13415 2004-08-10 12:52 jackson
13417 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13418 ThemeWin32Classic.cs: Implement DrawItem functionality
13420 2004-08-10 12:47 jordi
13422 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13424 2004-08-10 12:32 jordi
13426 * Control.cs: throw ontextchange event
13428 2004-08-10 11:43 pbartok
13431 - Added more to the still unfinished Dock/Anchor layout code
13433 2004-08-10 11:39 pbartok
13435 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13436 - Added GetWindowPos method
13438 2004-08-10 11:36 pbartok
13441 - Implemented several methods
13443 2004-08-10 09:47 jackson
13445 * TrackBar.cs: Allow control to handle buffering
13447 2004-08-10 09:41 jackson
13449 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13451 2004-08-10 09:24 jackson
13453 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13455 2004-08-10 09:09 jackson
13457 * StatusBar.cs: Let Control handle all the buffering.
13459 2004-08-10 09:08 jackson
13461 * Control.cs: Control will now handle the buffering code, so each
13462 control does not have to implement this.
13464 2004-08-10 08:34 jackson
13466 * XplatUIDriver.cs: Use default colors from the theme
13468 2004-08-09 17:12 pbartok
13471 - Fixed several bugs Ravindra pointed out
13473 2004-08-09 16:11 pbartok
13476 - Added incomplete dock layout code
13477 - Added support for mouse wheel
13479 2004-08-09 16:09 pbartok
13482 - Added handling for middle and right mousebutton
13483 - Added handling for mouse wheel
13484 - Added handling for key state and mouse state and position
13485 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13488 2004-08-09 15:40 jackson
13490 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13491 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13494 2004-08-09 15:37 jackson
13496 * StatusBar.cs: Initial implementation of StatusBar
13498 2004-08-09 15:36 jackson
13500 * ITheme.cs: Add support for drawing status bar and getting status
13503 2004-08-09 15:35 pbartok
13508 2004-08-09 15:34 jackson
13510 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13511 status bar item sizes
13513 2004-08-09 15:21 jackson
13515 * ThemeWin32Classic.cs: Use known colors for default control
13518 2004-08-09 15:12 jackson
13520 * ThemeWin32Classic.cs: Make the default font static, it is static
13521 in control so this doesn't change functionality and creating fonts
13524 2004-08-09 14:56 pbartok
13527 - Added GrabMode enum
13529 2004-08-09 14:55 pbartok
13531 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13532 - Removed Run method, was only required for initial development
13534 2004-08-09 14:51 pbartok
13536 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13537 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13540 2004-08-09 13:48 pbartok
13543 - Fixed default sizing for child windows
13545 2004-08-09 12:56 pbartok
13548 - Added generation of WM_DESTROY message
13549 - Added handling of window manager induced shutdown
13551 2004-08-09 11:31 jackson
13553 * ThemeWin32Classic.cs: New names for control properties
13555 2004-08-09 11:25 jackson
13557 * Control.cs: Use new color names
13559 2004-08-09 11:02 jackson
13561 * XplatUI.cs: Get default window properties from the theme
13563 2004-08-09 11:01 jackson
13565 * ITheme.cs: The theme engine now controls default window
13568 2004-08-09 11:00 jackson
13570 * ThemeWin32Classic.cs: Add default window color properties
13572 2004-08-09 10:17 jackson
13574 * ThemeWin32Classic.cs: Use correct default back color
13576 2004-08-09 10:05 jackson
13578 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13581 2004-08-09 09:56 jackson
13583 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13585 2004-08-09 09:54 jackson
13587 * Control.cs: Get default properties from the theme.
13589 2004-08-09 09:53 jackson
13591 * ITheme.cs: Themes now handle default control properties
13593 2004-08-09 09:53 jackson
13595 * ThemeWin32Classic.cs: Themes now handle default control
13596 properties so coloring will be consistent
13598 2004-08-08 16:54 jordi
13600 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13602 2004-08-08 15:08 jordi
13604 * XplatUIX11.cs: fixes keyboard crash
13606 2004-08-08 13:47 jordi
13608 * Label.cs: add cvs header info
13610 2004-08-08 12:09 jackson
13612 * ThemeWin32Classic.cs: Add pen_buttonface
13614 2004-08-08 11:52 jordi
13616 * Label.cs, LinkLabel.cs: [no log message]
13618 2004-08-08 11:34 jordi
13620 * ThemeWin32Classic.cs: Use Windows Standard Colours
13622 2004-08-07 17:32 jordi
13624 * TrackBar.cs: throw exceptions of invalid enums values
13626 2004-08-07 17:31 jordi
13628 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13631 2004-08-07 16:56 jackson
13633 * HorizontalAlignment.cs: Initial checkin
13635 2004-08-07 13:16 jordi
13637 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13640 2004-08-07 13:05 jordi
13642 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13643 GetSysColor defines
13645 2004-08-06 18:01 pbartok
13647 * ThemeWin32Classic.cs:
13648 - Fixed some rounding issues with float/int
13650 2004-08-06 18:00 jackson
13652 * DockStyle.cs, AnchorStyles.cs:
13654 Add flags and serializable attributes.
13656 2004-08-06 17:46 pbartok
13659 - Implemented GetParent
13661 2004-08-06 17:18 pbartok
13664 - Fixed some rounding issues with float/int
13666 2004-08-06 17:17 pbartok
13668 * X11Structs.cs, XplatUIX11.cs:
13669 - Fixed Refresh and Invalidate
13671 2004-08-06 15:30 pbartok
13673 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13674 - Fixed recursive loop when resizing
13675 - Improved/fixed redrawing on expose messages
13677 2004-08-06 09:53 jordi
13679 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13680 keyboard navigation
13682 2004-08-06 08:02 pbartok
13684 * X11Structs.cs, XplatUIX11.cs:
13685 - Fixed reparenting
13686 - Fixed window border creation
13688 2004-08-05 15:38 pbartok
13691 - Attempted fix for reparenting problems
13693 2004-08-04 15:14 pbartok
13696 - Fixed Invalidation bug (calculated wrong client area)
13697 - Added ClientSize setter
13699 2004-08-04 15:13 pbartok
13702 - Added AutoScale properties
13704 2004-08-04 15:13 pbartok
13707 - Added latest files
13709 2004-08-04 14:11 pbartok
13711 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13713 - Added Invalidate handling
13715 2004-08-03 17:09 jordi
13717 * XplatUIDriver.cs: fixes spelling mistake
13719 2004-07-27 09:53 jordi
13721 * TrackBar.cs: fixes trackbar events, def classname, methods
13724 2004-07-27 09:29 jordi
13726 * ScrollBar.cs: fixes scrollbar events
13728 2004-07-27 04:38 jordi
13730 * Control.cs: changes to be able to run winforms samples
13732 2004-07-26 11:42 jordi
13734 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13735 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13737 2004-07-26 05:41 jordi
13739 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13740 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13743 2004-07-22 09:22 jordi
13745 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13746 check link overlapping, implement events, and fixes
13748 2004-07-21 10:28 jordi
13750 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13752 2004-07-21 10:19 jordi
13754 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13755 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13756 LinkLabelLinkClickedEventArgs.cs,
13757 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13758 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13761 2004-07-19 13:09 jordi
13763 * Control.cs, Label.cs: label control re-written: added missing
13764 functionlity, events, and properties
13766 2004-07-19 10:49 jordi
13768 * Control.cs: fixes SetBounds logic
13770 2004-07-19 01:29 jordi
13772 * Control.cs: Call RefreshWindow only if the window has created
13774 2004-07-15 14:05 pbartok
13776 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13777 - Implemented ImageList and ImageList.ImageCollection classes
13778 - Added ColorDepth enumeration
13779 - Updated SWF VS.Net project
13781 2004-07-15 11:06 jordi
13783 * XplatUIStructs.cs: added MsgButons enum
13785 2004-07-15 11:03 jordi
13787 * Control.cs: added basic mouse handeling events
13789 2004-07-15 03:38 jordi
13791 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13792 Vertical TrackBar control implementation
13794 2004-07-13 09:33 jordi
13796 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13798 2004-07-13 09:31 jordi
13800 * Control.cs, Form.cs: commit: new properties and fixes form size
13803 2004-07-09 14:13 miguel
13805 * ProgressBar.cs: Spelling
13807 2004-07-09 11:25 pbartok
13810 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13813 2004-07-09 11:17 miguel
13815 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13817 * ProgressBar.cs: Fixed spelling for `block'
13819 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13822 Avoid using the += on rect.X, that exposed a bug in the compiler.
13824 2004-07-08 23:21 pbartok
13826 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13827 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13828 BaseCollection.cs, Binding.cs, BindingContext.cs,
13829 BindingMemberInfo.cs, BindingsCollection.cs,
13830 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13831 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13832 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13833 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13834 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13835 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13836 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13837 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13838 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13839 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13840 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13841 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13842 InputLanguageChangedEventArgs.cs,
13843 InputLanguageChangedEventHandler.cs,
13844 InputLanguageChangingEventArgs.cs,
13845 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13846 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13847 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13848 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13849 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13850 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13851 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13852 QueryAccessibilityHelpEventArgs.cs,
13853 QueryAccessibilityHelpEventHandler.cs,
13854 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13855 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13856 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13857 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13858 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13859 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13860 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13861 XplatUIX11.cs, lang.cs: