1 2006-07-06 Chris Toshok <toshok@ximian.com>
3 * LinkLabel.cs: revert the SetStyle change.
5 2006-07-06 Chris Toshok <toshok@ximian.com>
7 * LinkLabel.cs (.ctor): SetStyle Selectable to true.
8 (OnEnableChanged): s/Refresh/Invalidate
9 (OnGotFocus): if we have a focused index already, refocus it (so
10 if we mouse out/in to the window it'll focus the right link).
11 (OnKeyDown): move the tab handling out of here.
12 (OnLostFocus): don't set focused_index to -1, so we can refocus it
14 (OnMouseDown): don't Capture here - Control handles it. Also,
15 focus the active link.
16 (OnMouseUp): don't deal with Capture.
17 (OnPaintBackgroundInternal): remove.
18 (OnTextAlignChanged): CreateLinkPieces before calling the
20 (OnTextChanged): call CreateLinkPieces before calling superclass's
22 (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
24 (Select): implement this, moving the selection between different
25 links, and call parent.SelectNextControl if we don't have another
26 link to focus in the given direction.
27 (CreateLinkPieces): call Invalidate instead of Refresh.
29 2006-07-06 Chris Toshok <toshok@ximian.com>
31 * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
32 new LinkLabel internals.
34 * LinkLabel.cs: fairly major rewrite. get rid of all the loops
35 over pieces looking for active/focused/etc links. also, deal with
36 runs of text (and links) with embedded \n's in them, and use
37 MeasureCharacterRanges instead of MeasureString to figure out the
38 regions text occupies. Lastly, do the usual s/Refresh/Invalidate
41 2006-07-04 Jackson Harper <jackson@ximian.com>
43 * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
44 XKB or key auto repeat, do it manually. Without key auto repeat,
45 when a key is held down we get key press, key release, key press,
46 key release, ... with auto repeat we get key press, key press, key
47 press ..., and then a release when the key is actually released.
49 2006-07-03 Jackson Harper <jackson@ximian.com>
52 * ThemeWin32Classic.cs: Tabs do not obey normal background color
53 rules, they are always control color regardless of the background
56 2006-07-02 Alexander Olk <alex.olk@googlemail.com>
58 * FileDialog.cs: Added internal class MWFConfig.
59 Removed Registry support and replaced it with support for the new
60 MWFConfig class. See MWFConfig comments for more information.
62 2006-06-30 Alexander Olk <alex.olk@googlemail.com>
64 * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
65 rectangle. Added some patches from eno from bug #78490 and fixed
66 the arrow position for small up and down CPDrawScrollButtons.
68 2006-06-30 Jackson Harper <jackson@ximian.com>
70 * InternalWindowManager.cs: Remove some debug code.
71 * Form.cs: When an MdiParent is set to null, the window is
72 "detatched" and becomes a normal window.
73 * MdiClient.cs: Don't bring the new child form to the front until
74 it is activated (setting it as active does this), this makes the
75 previously active forms titlebar get redrawn as inactive.
77 2006-06-29 Peter Dennis Bartok <pbartok@novell.com>
79 * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
82 2006-06-29 Mike Kestner <mkestner@novell.com>
84 * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
85 arrow in keynav state. Fixes #78682.
87 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
89 * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
92 2006-06-28 Jonathan Pobst <monkey@ipobst.com>
94 * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
95 ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
96 ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
97 FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
98 GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
99 ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
100 PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
101 Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
102 TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
103 ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
104 enumerations (FlagsAttribute, SerializableAttribute, added/removed
107 2006-06-28 Mike Kestner <mkestner@novell.com>
109 * ComboBox.cs: implement scroll wheel support. Fixes #78360.
111 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
114 PropertyGridTextBox.cs : explicitly set BackColor to differentiate
115 item lines from other area (It also makes BackColor consistent and
116 compatible with .NET). Fixed bug #78564.
118 2006-06-28 Jonathan Chambers <jonathan.chambers@ansys.com>
120 * PropertyGrid.cs: refresh toolbar when PropertySort is set.
121 Patch from Eno for #78555.
123 2006-06-27 Chris Toshok <toshok@ximian.com>
125 * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
127 * DataGridColumnStyle.cs: same.
129 * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
131 * DataGridDrawingLogic.cs: nuke.
133 2006-06-27 Chris Toshok <toshok@ximian.com>
135 * DataGridTableStyle.cs: clean up the constructors, and build the
136 list of child relations for this table. I have no idea if this is
137 where we should be doing it (it probably isn't), but since we're
138 already iterating over the properties..
140 * DataGrid.cs: add row resizing. for now we add a DataGridRow
141 struct and array for keeping track of row information, similar to
142 what's shown in a hack on
143 http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
145 * Theme.cs: be consistent about the naming of DataGrid methods,
146 prefering ColumnWidths and RowHeights over columnsWidths and
149 * ThemeWin32Classic.cs: same, and also add support for variable
150 sized rows (and the +/- expansion icons for related rows).
152 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
154 * TextBoxBase.cs: Applied Eno's patch from #78660
156 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
158 * Form.cs (ScaleCore): We don't want to scale our form if it's
159 state is minimized or maximized, but we still need to scale our
160 child windows. Also, added try/finally block to ensure layout
161 gets reset (Fixes #78697)
163 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
165 * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
167 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
169 * Form.cs: Fixed c+p error and added check to resize form if minimum
170 size is bigger than current size (Fixes #78709)
172 2006-06-26 Peter Dennis Bartok <pbartok@novell.com>
174 * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
176 2006-06-26 Mike Kestner <mkestner@novell.com>
178 * ComboBox.cs: only do Keypress handling in the combo when there
179 are items in the collection. Fixes #78710.
181 2006-06-26 Chris Toshok <toshok@ximian.com>
183 * Binding.cs: make this work bi-directionally. also, clear up
184 other mixups between Push/Pull Data (e.g. we're supposed to pull
185 data when validating).
187 * BindingManagerBase.cs: trim some fully qualified collection
190 * PropertyManager.cs (get_IsSuspended): oops, fix this check.
192 2006-06-23 Chris Toshok <toshok@ximian.com>
194 * PropertyManager.cs: It appears (according to the unit tests)
195 that PropertyManager doesn't use
196 PropertyDescriptor.AddValueChanged to track propery value changes
197 in its datasource, but uses the same scheme as Binding, where it
198 looks for a <Property>Changed event and binds to it.
200 Also, according to the docs, IsSuspended always returns false for
201 a property manager with a non-null datasource.
203 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
205 * Form.cs: (ShowDialog): If we're returning a forced cancel we still
206 need to update the actual DialogResult. (Fixes #78613)
208 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
210 * Form.cs (ShowDialog): Release any captures before running the
211 new message pump (fixes #78680)
213 2006-06-22 Mike Kestner <mkestner@novell.com>
215 * ListView.cs: Layout column widths properly in details mode even
216 if HeaderStyle.None is set. Fixes #78691.
218 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
220 * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
222 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
224 * Control.cs (ContainsFocus): Using new driver method to get focused
225 window, instead of trying to use internal tracking var, which can
226 recursion issues (Fixes #78685)
227 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
228 XplatUIWin32.cs: Added GetFocus method to return focused window
230 2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
232 * ColorDialog.cs: when the mouse button is pressed inside the color
233 matrix, don't let the cursor move out of it until the button is
234 released, which is the behavior on windows. Changed 'colours' by
235 'colors' to use the same word consistently.
237 2006-06-21 Chris Toshok <toshok@ximian.com>
239 * DataGrid.cs: add in some basic navigation stuff (navigating to a
240 child relation and back, using a stack). Also, remove
241 GetDataSource and the code that calls it - it's not needed. Also,
242 track CurrencyManager.ListName's removal.
244 2006-06-21 Chris Toshok <toshok@ximian.com>
246 * CurrencyManager.cs: push some of the original type checking from
247 BindingContext.CreateBindingManager to here, and remove some of
248 the finalType stuff. Need more tests to make sure I've got the
249 ListName part right, and we might need more in SetDataSource.
251 * PropertyManager.cs: add a ctor that takes just the datasource,
252 and no property name. Make SetDataSource work with a null
253 property_name, and make Current return the data_source if the
254 property descriptor is null. this makes 'string foo = "hi";
255 BindingContext[foo].Current' return "hi" as it should.
257 * RelatedCurrencyManager.cs: make this code more generic - there's
258 no reason the parent manager has to be CurrencyManager, and
259 there's no reason to pass the DataRelation. It suffices to use a
260 BindingManagerBase and PropetyDescriptor.
262 * RelatedPropertyManager.cs: make a similar change here.
264 * BindingContext.cs: make CreateBindingManager the beautiful, tiny
265 flower I knew it could be.
267 2006-06-20 Chris Toshok <toshok@ximian.com>
269 * PropertyManager.cs: the PropertyChangedHandler is invoked when
270 data in the source has changed and we need to update the control,
271 so s/PullData/PushData.
273 * CurrencyManager.cs: Refresh is meant to update the control from
274 data in the datasource. So, s/PullData/PushData.
276 * BindingContext.cs: add more ugliness (we weren't handling the
277 case where data_source = DataTable and data_member = column_name).
279 * Binding.cs: fix PushData/PullData mixup. Both are interpreted
280 from the perspective of the datasource. PullData pulls from the
281 control, PushData pushes to the control.
283 2006-06-20 Chris Toshok <toshok@ximian.com>
285 * BindingContext.cs: rewrite the CreateBindingManager code to
286 handle navigation paths more or less properly. This could
287 definitely stand some more work, in particular to push the
288 recursion up to the toplevel. But that relies on fixes in other
289 places (System.Data comes to mind).
291 Also, move to a flat hashtable (and encode the twolevel nature of
292 the dictionary into the hash key). This lets us implement the
293 IEnumerable.GetEnumerator method.
295 * RelatedCurrencyManager.cs: new class. Update our view based on
296 our relation and our parent CurrencyManager's position.
298 * CurrencyManager.cs: split out some logic from the ctor into
299 SetView, so it can be called from the new RelatedCurrencyManager
302 * RelatedPropertyManager.cs: new class. Update our datasource
303 based on the position of our parent CurrencyManager.
305 * PropertyManager.cs: split out some logic from the ctor into
306 SetDataSource, so it can be called from the new RelatedDataSource
307 subclass. Also, make the Current getter return the value
308 of the PropertyDescriptor, not the data_source.
310 * Binding.cs: no need to duplicate the string splitting code here.
312 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
315 - set_Enabled: OnEnabledChanged is not called if the inherited state
316 of the control is not altered, even though we might be changing the
317 internal state of the control (#78458)
318 - set_Enabled: (Re)Moved the enabling/disabling of the window to
319 OnEnabledChanged, to allow easy altering of any child window state
320 - OnEnabledChanged: Added code to enable/disable driver window state
321 - OnParentEnabledChanged: Instead of firing the event, call
322 OnEnabledChanged, which will fire the event and also a) set driver
323 window state and pass the enabled state to any grandchildren (#78458)
325 2006-06-19 Jackson Harper <jackson@ximian.com>
327 * InternalWindowManager.cs: We don't set the cursor explicitly
328 thats done via the response to NCHITTESTs.
329 - Don't need to adjust for titlebar heights anymore, the
330 coordinates are coming in the correct coordinates now (see peters
334 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
336 * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
337 being translated relative to whole window, instead of client window.
338 That caused broken offsets on mouseclick (and caused gas for our
339 InternalWindowManager)
341 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
344 - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
345 - Undo(): Added replay of cursor move on DeleteChars action; added
346 calling Undo() again if a recorded cursor move is invalid (to
347 ensure that some action is performed on Undo)
348 * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
350 2006-06-16 Jackson Harper <jackson@ximian.com>
352 * MdiClient.cs: Instead of just sizing maximized windows when
353 there is a resize we also have to adjust the Y of minimized
354 windows, so they stay pinned to the bottom of the mdi container.
355 - Eliminate separate tracking of the active control, we can just
356 get this from the controls collection.
357 - Paint the decorations for the newly activated titlebar so we get
359 * InternalWindowManager.cs:
360 * ThemeWin32Classic.cs: Minimized windows get all three buttons
361 even if they are a tool window.
363 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
365 * TextControl.cs (Undo): Handle non-existent cursor locations in the
366 undo buffer, these can happen when text was deleted and the cursor
367 was recorded first. Since we will also have a recorded cursor
368 after the delete this is not an issue. (Fixes #78651)
370 2006-06-14 Peter Dennis Bartok <pbartok@novell.com>
372 * AccessibleObject.cs: Remove dependence on Control.is_selected;
373 instead properly track control states internally (allows us to
374 remove is_selected from Control)
376 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
378 * ImageListStreamer.cs: correctly generate the 1bpp mask for images
379 whose width is not a multiple of 8.
381 2006-06-13 Jackson Harper <jackson@ximian.com>
383 * MdiClient.cs: Only maximize the next child if the current one
386 2006-06-13 Chris Toshok <toshok@ximian.com>
388 * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
389 modified. Also, guard against grid or grid_drawing being null in
392 * DataGrid.cs: Reformat tons of getters/setters. In the
393 DataMember setter, just call SetNewDataSource instead of
394 duplicating some of its functionality. In SetNewDataSource, don't
395 check ListManager for null, since the property getter creates the
398 * DataGridTableStyle.cs: don't set TableStyle or call
399 SetDataGridInternal on the column here, it's done in
400 GridColumnStylesCollection.Add.
402 * GridColumnStylesCollection.cs: fix all the explicit interface
403 implementations to just call our methods. Nuke AddInternal() and
404 move the body of it to Add(). Also, add a call to
405 column.SetDataGridInternal to Add().
407 * DataGridTextBoxColumn.cs (.ctors): call this() instead of
408 base()+duplicate code. Also, use the Format property instead of
409 format to generate an Invalidate ala MS. Lastly, create the
410 textbox here, unconditionally.
411 (set_Format): call Invalidate.
412 (get_TextBox): no need to call EnsureTextBox.
413 (Commit): remove the message box.
414 (Edit) remove the call to EnsureTextBox.
415 (EndEdit): call HideEditBox instead of ReleaseHostedControl.
416 (EnterNullValue): no need to check textbox for null.
417 (HideEditBox): no need to check textbox for null.
418 (SetDataGridInColumn): add the textbox to the grid's controls.
419 (EnsureTextBox): nuke.
421 2006-06-13 Jackson Harper <jackson@ximian.com>
423 * MdiWindowManager.cs: Hook up to the maximized menus paint event
424 and redraw the buttons when needed. Unhook when the window is
426 * MainMenu.cs: Add an internal Paint event, the mdi window manager
427 needs this so that it can redraw its buttons when the menu is
429 * InternalWindowManager.cs:
430 * Form.cs: The method order has changed for DrawMaximizedButtons,
431 so that it can be a PaintEventHandler.
433 2006-06-13 Jackson Harper <jackson@ximian.com>
435 * MdiClient.cs: When we close a maximized mdi window, the next mdi
436 window is activated and maximized, even if it wasn't before.
437 - When a new window is activated repaint the decorations of the
438 old one, so that it no longer has the Active "look" (the blue
440 * InternalWindowManager.cs: Open up CreateButtons to base classes
441 so they can recreate the buttons on state changes.
442 - If a window is maximized give it all three buttons
443 * MdiWindowManager.cs: Create the titlebar buttons when the state
444 is changed, this is needed because a toolwindow will not have all
445 three buttons until it is maximized.
447 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
449 * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
452 2006-06-12 Jackson Harper <jackson@ximian.com>
454 * KeysConverter.cs: Make sure we handle the Ctrl special case
457 2006-06-12 Jackson Harper <jackson@ximian.com>
459 * Theme.cs: Add a method to get the size of a managed window
461 * InternalWindowManager.cs: Remove the ButtonSize property, this
462 should be retrieved from the theme.
463 * MdiWindowManager.cs: Get the button size from the theme
464 * ThemeWin32Classic.cs: Make the method to get the managed window
465 titlebar button size public.
466 - Handle the different button sizes of maximized toolwindows
467 (should match any maximized window).
468 - Get the titlebar height from the theme, not the WM (which gets
471 2006-06-12 Jackson Harper <jackson@ximian.com>
473 * InternalWindowManager.cs: Handle NC Double Clicks, passing the
474 event down to the mdi window manager.
475 - Expose some extra stuff to base classes
476 - Make sure to end the Capture on an NC Mouse up, so that we can
477 get double clicks properly, and the sizing doens't stick.
478 - When doing PointToClient contain it in the workable desktop
479 area, this prevents windows from changing size when the cursor is
480 pulled outside of the working area while sizing.
481 * MdiWindowManager.cs: When we get a double click maximize the
483 - Reset the cursor after handling mode changes.
485 2006-06-12 Peter Dennis Bartok <pbartok@novell.com>
487 * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
488 current desktop, instead of just assuming a 0, 0 origin. This
489 is needed for our internal window manager, to know the top
490 margin of the desktop
492 2006-06-12 Chris Toshok <toshok@ximian.com>
494 * DataGrid.cs (set_CurrentCell): concede focus as we move around.
495 we need this to get rid of the selected background in the bool
497 (CancelEditing): move the ConcedeFocus call to above the Abort
498 call. Also, set is_changing to false and invalidate the row
499 header if we were changing before.
500 (ProcessKeyPreviewInternal): remove, since noone outside this
501 class calls it anymore. Roll the code into ProcessKeyPreview.
502 (EndEdit): remove the internal version.
503 (InvalidateCurrentRowHeader): make private.
505 * DataGridBoolColumn.cs: simplify this class a bunch. remove the
506 Keys.Escape handling (and with it the last call to
507 DataGrid.EndEdit from outside the class.)
510 2006-06-12 Chris Toshok <toshok@ximian.com>
512 * DataGridTextBox.cs (.ctor): isedit defaults to false.
513 (OnKeyPress): set isedit to true.
514 (ProcessKeyMessage): remove Keys.Enter handling from here. it's
515 already handled by the grid.
517 * DataGrid.cs (set_CurrentCell): more work here. it's still not
519 (set_DataSource): SetDataSource always returns true, so stop
520 putting it in an if statement.
521 (EndEdit): get rid of some {}'s
522 (ProcessGridKey): return true in case Keys.Escape.
523 (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
524 (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
525 PositionChanged, stopped connecting to CurrentChanged.
526 (GetDataSource): simplify this a bunch.
527 (SetDataSource): change return type from bool to void.
528 (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
529 to this, and make sure we don't set ListManager.Position inside
531 (OnListManagerItemChanged): if we're passed an actual index,
534 * CurrencyManager.cs (set_Position): don't call PullData here.
536 2006-06-09 Jackson Harper <jackson@ximian.com>
538 * TreeNode.cs: Recalculate the visible order before doing the
539 Expand/Collapse Below calls, because those calls generate an
541 - Reduce calls to the TreeView property, which is mildly expensive
542 by using a local var.
543 * Form.cs: Layout the MDI child windows when creating the parent
545 - Don't use the internal constructor anymore
546 * MdiClient.cs: use the parent form width/height (if available)
547 when laying out the child windows, we do this because the
548 mdiclient isn't docked yet when the initial layout is done.
549 - Don't need an internal constructor anymore.
551 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
553 * FileDialog.cs: handle access errors when trying to create a folder
554 or changing to a directory. No need to initialize out parameters.
556 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
558 * FileDialog.cs: Append a number when creating a new folder if the
559 folder already exists (use parenthesis instead of square brackets)
561 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
564 - Disabled registry support for windows and added better registry
565 error checking for other systems (need to investigate why it
566 works perfectly on my system)
567 - If a folder already exist show an error MessageBox instead of
568 trying to create an indexed name.
569 - Fixed a non intentional typo.
571 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
573 * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
575 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
577 * FileDialog.cs: When creating a new folder don't crash if the
578 folder already exists.
580 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
582 * FileDialog.cs: Allmost a complete rewrite.
583 - added a "virtual" file system that handles the differences
584 between unix and windows file systems (especially the directory
585 structure). Moved most of the directory and file handling code
587 Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
588 UnixFileSystem and FSEntry.
589 - Recently used folder/directory, size, location and used file names
590 (file name ComboBox) are now stored in the registry and get read
591 before the dialog shows up (fixes part 6 of bug #78446).
592 - Creation of new folders/directories is now possible (context menu
593 or ToolBar). Added TextEntryDialog for this that fills in the gap
594 until ListView.LabelEdit works.
595 - Fixed cursor handling (bug #78527) and focus handling for
597 - Various "Search in" ComboBox enhancements. The content of the
598 dropdown listbox now almost matches ms.
599 - Changed the behaviour when the user switches to SpecialFolder
600 Recent to show the ListView in View.Details.
601 - Beside using the ToolBar to change the View property of the
602 file ListView it is now possible to use the context menu too.
604 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
606 * ComboBox.cs: Don't create a new ObjectCollection when an item
607 gets inserted. Just insert the item in the existing object_items
610 2006-06-08 Jackson Harper <jackson@ximian.com>
612 * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
613 that the treeview and root node checks are done also, this fixes a
614 regression i caused in the unit tests.
616 2006-06-07 Wade Berrier <wberrier@novell.com>
618 * RichTextBox.cs: More ISO8859-1 -> unicode
620 2006-06-07 Mike Kestner <mkestner@novell.com>
622 * ComboBox.cs : use items to hold highlight/selection so that
623 collection insertions don't require synchronization.
625 2006-06-07 Jackson Harper <jackson@ximian.com>
627 * InternalWindowManager.cs: Simplify (and FIX) the window sizing
628 routine. We now always keep the sized edge at the cursor instead
629 of computing movement and adjusting rects. There is one buglet
630 with this method though when the cursor is moved over area that
631 the window can not expand too (such as the toolbars on the desktop).
633 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
635 * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
636 here. Fixes crash on startup in AlbumSurfer.
638 2006-06-07 Peter Dennis Bartok <pbartok@novell.com>
640 * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
643 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
645 * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
646 statement to avoid calling XNextEvent which will block if another thread
647 took the event that we were expecting. Fixes bug #78605.
649 2006-06-07 Mike Kestner <mkestner@novell.com>
651 * ListView.cs : isolated checkbox clicking from the selection logic.
652 Toggle check state on item doubleclicks. Really fixes #78454 part2.
654 2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
656 * Form.cs: Check that the value passed to Form.DialogResult
657 is a valid enum value.
659 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
662 Computer'. Clicking it in the network view goes to 'My Computer'.
663 Added CIFS filesystem type. Display the mount point of filesystems.
664 Avoid duplicate mount points (happens for me with CIFS);
666 2006-06-06 Jackson Harper <jackson@ximian.com>
668 * InternalWindowManager.cs: Draw the maximized windows buttons
671 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
673 * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
674 all other dialogs. Fixes bug #78585.
676 2006-06-06 Mike Kestner <mkestner@novell.com>
678 * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
679 Only invalidate checkbox on checkstate changes to avoid flicker.
680 * ListBox.cs : avoid unselect/select when clicking selected item.
681 avoid reselection flicker for already multiselected items.
684 2006-06-06 Jackson Harper <jackson@ximian.com>
686 * MdiWindowManager.cs: When the window is closed do an NCRecalc on
687 the parent form so that the menu is removed if needed.
689 2006-06-06 Mike Kestner <mkestner@novell.com>
691 * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
692 Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
694 2006-06-06 Mike Kestner <mkestner@novell.com>
696 * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
699 2006-06-06 Jackson Harper <jackson@ximian.com>
701 * Control.cs: Use the property (instead of the field) to get the
702 default cursor so it is instantiated correctly.
703 * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
704 resizes so we need to manually repaint the window decorations here.
705 - Set the titlebar button locations as soon as they are created,
706 otherwise they are not set correctly on win32.
708 2006-06-06 Chris Toshok <toshok@ximian.com>
710 * CurrencyManager.cs (set_Position): call PullData before
712 (AddNew): after calling IBindingList.AddNew, update our
713 listposition, and call OnCurrentChanged/OnPositionChanged (without
715 (OnCurrentChanged): remove the call to PullData from here.
716 (OnItemChanged): remove the call to PushData from here.
717 (OnPositionChanged): change the test from == null to != null to
718 match the other methods.
719 (ListChangedHandler): the grossest part of the patch. Implement
720 this such that it passes the unit tests in CurrencyManagerTest and
721 the output more or less matches that of MS's implementation.
723 2006-06-06 Mike Kestner <mkestner@novell.com>
725 * ListView.cs : only update check state on single click.
726 * ThemeWin32Classic.cs : fix focus drawing for details view without
727 fullrowselect. Fixes #78454.
728 * XplatUIX11.cs : fix for double click emission.
730 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
732 * PropertyGridView.cs : Applied Atsushi's patch to fix
733 font dialog bug (#78197).
735 2006-06-05 Jackson Harper <jackson@ximian.com>
737 * TreeNode.cs: Compute the next node for expanding/collapsing
738 correctly. We now factor in nodes without a NextNode
739 correctly. (Fixes somes cases in nunit-gui).
740 * InternalWindowManager.cs: Set the bounds when updating the
741 virtual position of a tool window.
743 2006-06-05 Chris Toshok <toshok@ximian.com>
745 * DataGrid.cs: rename cached_currencymgr to list_manager.
746 (set_CurrentCell): move SetCurrentCell code here, and clean it up
748 (CurrentRow, CurrentColumn): single accessors so we can make the
749 cursor movement code a lot easier to understand.
750 (CurrentRowIndex): implement this in terms of CurrentRow.
751 (BeginEdit): clean this up a bit.
752 (CancelEditing): sort out the is_editing/is_changing/is_adding
754 (EndEdit): minor changes.
755 (OnKeyDown): add a comment about a (most likely) unnecessary
757 (OnMouseDown): cancel editing when we click on a row header. And
758 use the CurrentRow setter, not CurrentCell.
759 (ProcessDialogKey): directly call ProcessGridKey.
760 (UpdateSelectionAfterCursorMove): factor out this common block of
761 code (it's used everywhere that we move the cursor by updating row
763 (ProcessGridKey): pretty substantial overhaul. Use the
764 CurrentRow/CurrentColumn properties to make the code a lot more
765 readable. Only use the CurrentCell property when we have to
766 modify both row and column at once. Tab behavior is still broken,
767 and Delete is untested.
768 (Select): if we have no selected rows, set selection_start to
770 (EditCurrentCell): rename EditCell this. It was only ever invoked
771 with CurrentCell as the arg, so drop the arg and rename it.
773 * DataGridColumnStyle.cs: clean up the constructors a little, and
774 drop CommonConstructor().
776 * DataGridTextBox.cs (.ctor): set accepts_return to true so we
777 actually get notified when the user hits it.
778 (ProcessKeyMessage): *substantially* simplify this method.
779 There's no reason (that I can see) for the textbox to be making
780 calls into the datagrid at all. Remove all of them but the ones
781 for Enter handling. those will take some more work.
783 * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
785 (HideEditBox): if we have an active textbox, render it invisible
786 without causing a re-layout of the datagrid.
788 2006-06-05 Mike Kestner <mkestner@novell.com>
790 * ListView.cs : fix NRE crasher when focuseditem is cleared by
791 collection changes by resetting it to Items[0]. Fixes #78587.
793 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
795 * MessageBox.cs: if the height of the text is larger than the icon_size,
796 use that. Fixes bug #78575.
798 2006-06-05 Jackson Harper <jackson@ximian.com>
800 * TreeView.cs: Fix line drawing when scrolling. To do this each
801 node is basically responsible for drawing its entire horizontal
802 area. When drawing a node it draws its parent node lines if
804 - Adjust the clip area to the viewport rectangle
805 - Fix Left/Right key handling to match MS. (It expand/collapses
806 and moves to parents/first child but does not move selection to
808 - Fix SetTop to work with new bound calculation code
809 - When scrollbars are no longer needed we need to reset scrolling
810 vars and recalculate the visible order so the redraw is correct
811 * TreeNode.cs: We can't expand/collapse nodes with no children.
813 2006-06-03 John Luke <john.luke@gmail.com>
815 * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
816 so the colors work without dev packages
818 2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
821 - Select: Implemented to just use activate. Seems to match MS
822 behaviour closest. Documented to only do actual control walking
823 based on it's parameters if in a container control so I moved
825 - Removed selection check logic from our internal Select() method
826 * ContainerControl.cs:
827 - Select: Moved selection logic from Control here, since MS documents
828 that containers obey the bool arguments. No longer calling base
830 2006-06-02 Jackson Harper <jackson@ximian.com>
832 * TreeView.cs: If the selected node isn't changed when we get
833 focus update the previously selected node so that we see the
836 2006-06-02 Mike Kestner <mkestner@novell.com>
838 * ComboBox.cs: restructure grab and general mouse event handling.
839 Make the composite control raise mouse events like it was a single
840 control for leaves/enters/motion/up/down events. fix dropdown list
841 coordinate mangling and refactor it into the scrollbar subclass to
842 reduce code duplication. Fixes #78282 #78361 and #78457.
844 2006-06-02 Mike Kestner <mkestner@novell.com>
846 * ScrollBar.cs: remove Capture setting/clearing, as it happens
847 automatically in the Control.WndProc.
849 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
851 * FileDialog.cs: fix crash when running SharpChess, which sets the
852 FilterIndex to 2 with only one Filter.
854 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
856 * ToolBar.cs: add SizeSpecified property.
857 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
858 try to figure out our real size, otherwise fallback to what the
861 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
863 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
864 * Control.cs (WndProc): MS always calls the DefWndProc to pass
867 2006-06-01 Mike Kestner <mkestner@novell.com>
869 * ListView.cs: revamp the focus management in ListView. It still
870 causes churn of LostFocus/GotFocus emissions on clicks, but it's
871 better than not handling focus at all. Will revisit when pdb feels
872 the general focus handling is solid. Fixes #78526.
874 2006-06-01 Jackson Harper <jackson@ximian.com>
876 * TreeView.cs: Set the default border style in the constructor.
877 - Move painting to use OnPaintInternal instead of capturing
878 WM_PAINT, this is the correct way of doing things
879 - UpdateBelow shouldn't invalidate the scrollbar area
880 - Cap the top on update below in case the node was above the top
881 of the viewport rectangle.
882 - ExpandBelow and Collapse below need to obey Begin/End Update.
883 * TreeNode.cs: Make is_expanded internal so the treenode
884 collection can change it without firing the whole event chain.
885 * TreeNodeCollection.cs: When clearing all the child nodes make
886 sure to recalc the visible order.
887 - Improve algo for remove the top node
889 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
891 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
892 SendMessage directly calling window procedures, which in turn might
895 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
897 * Control.cs: Don't handle WM_SETFOCUS if the same window already
898 has focus (works around X11 sending a FocusIn after our SetFocus)
899 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
901 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
903 * Mime.cs: Fix for the NET_2_0 build.
904 NameValueCollection needs StringComparer now.
906 2006-05-31 Chris Toshok <toshok@ximian.com>
908 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
909 return (via an out parameter) the starting X of the column.
910 (UpdateVisibleColumn): track change to FromPixelToColumn.
911 (HitTest): add a ColumnResize case here.
912 (DrawResizeLine): new function, probably poorly named.
914 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
915 only need to keep one reference.
916 (set_ListManager): same.
917 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
918 Also, add support for HitTestType.ColumnResize.
919 (OnMouseMove): add column resize behavior here, and change the
920 cursor to the correct one as we move around the datagrid.
921 (OnMouseUp): terminate the column resize if we're resizing.
922 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
923 for the current cell.
924 (ConnectListManagerEvents): use cached_currencymgr.
925 (DisconnectListManagerEvents): fill this in, using
927 (SetCurrentCell): remove cached_currencymgr_events handling.
928 (SetDataMember): only call DisconnectListManagerEvents if
929 cached_currencymgr is != null.
930 (SetDataSource): same.
931 (OnListManagerCurrentChanged): cached_currencymgr_events ->
934 2006-05-31 Jackson Harper <jackson@ximian.com>
936 * BindingManagerBase.cs: Remove somedebug code that creeped into
938 * TreeNode.cs: We get the indent level dynamically right now, so
939 don't track it as a member.
940 * TreeNodeCollection.cs: Make sure all nodes added to the list
941 have parents, treeviews/topnodes setup properly.
942 - Don't attempt to track indent level.
944 2006-05-30 Jackson Harper <jackson@ximian.com>
946 * BindingContext.cs: Create the currency manager tables here.
947 This allows us to more easily create null tables (when bad data
948 members are used), and more easily create related currency
950 * CurrencyManager.cs: All the table creation stuff is done by the
952 - Current should throw an exception if listposition is -1.
953 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
956 2006-05-30 Mike Kestner <mkestner@novell.com>
958 * ListView.cs: allow reexpansion of zero-width column headers.
961 2006-05-28 Chris Toshok <toshok@ximian.com>
963 * CurrencyManager.cs (get_Current): after the late binding
964 listposition = -1 fix, we need to guard against it here and return
965 null, otherwise we raise an exception (which is swallowed
966 elsewhere, and breaks datagrid databinding.)
968 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
970 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
971 than WM_SYSKEY, don't throw if get something unexpected (#78507)
973 2006-05-26 Jackson Harper <jackson@ximian.com>
976 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
977 values, it's faster and it's all we care about (we don't care if
978 the names aren't equal).
979 * KeyboardLayouts.cs: Eliminate some dead code.
981 * X11Keyboard.cs: Lazy init keyboard detection.
982 - Cleanup access modifiers a little.
984 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
986 * XplatUIX11.cs: Once again, attempting to get layout just right.
988 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
990 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
991 the sizes of each link section, that will result in sizes that
992 match DrawString's layout (Fixes #78391)
994 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
996 * FileDialog.cs: If AddExtension property is true autocomplete the
997 extensions in SaveFileDialog correctly. Fixes bug #78453.
998 Set MyNetwork and MyComputer to "C:\" for windows. This should
999 fix part 8 of bug #78446 for now.
1001 2006-05-26 Chris Toshok <toshok@ximian.com>
1003 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
1004 invalidate the current row header if we need to, but presumably
1005 we'll invalidate the row corrsponding to the bounds or
1007 (GridHScrolled): switch back to this method, as it's part of the
1009 (GridVScrolled): same.
1010 (OnMouseWheel): hack up something that more or less works. Call
1011 GridHScrolled/GridVScrolled directly, instead of duplicating much
1013 (EnsureCellVisibility): reinstate a bunch of this code, since we
1014 can't just set the scrollbar Value and expect to do all the work
1015 in the ValueChanged handler. Also, Call Update() after scrolling
1016 in one direction so the other XplatX11.ScrollWindow call has the
1017 proper stuff in the proper places.
1018 (EditCell): set is_editing to true before calling .Edit.
1020 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
1021 don't bother comparing first.
1022 (OnKeyPress): call grid.ColumnStartedEditing before calling
1023 base.OnKeyPress. this will set is_changing and invalidate the row
1024 header if necessary.
1025 (ProcessKeyMessage): for WM_CHAR messages, call
1026 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
1029 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
1030 it's done in the DataGrid.
1031 (NextState): call grid.ColumnStartedEditing, which takes care of
1032 invalidating the row header (and setting is_changing).
1034 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
1035 here. it's done in the DataGrid.
1037 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1039 * Control.cs: allow changing the cursor when the mouse position is
1040 out of bounds but Capture is set.
1041 * LinkLabel.cs: handle the case when the mouse button is pressed on the
1042 linklabel but released somewhere else.
1044 2006-05-25 Jackson Harper <jackson@ximian.com>
1046 * TreeView.cs: When we get focus if there is no selected node make
1048 - Remove some uneeded setup code from Draw.
1049 * TreeNodeCollection.cs: If the tree doesn't have a top node when
1050 a new node is inserted make the new node the top.
1052 * Timer.cs: Use Utc time so that no local time zone stuff needs to
1053 be used (should be faster).
1055 2006-05-25 Chris Toshok <toshok@ximian.com>
1057 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
1058 problem with the last commit.
1060 2006-05-25 Chris Toshok <toshok@ximian.com>
1062 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
1063 need the invalidate call here, while scrolling right-to-left via
1064 the left arrow key (i.e. moving the editing cell while scrolling).
1066 * DataGrid.cs (.ctor): remove the initialization of
1067 ctrl_pressed/shift_pressed. We no longer track them using key
1068 up/down handlers, but by using Control.ModifierKeys. Also, switch
1069 to using ValueChanged handlers on the scrollbars instead of
1070 Scrolled event handlers. This simplifies a bunch of the scrolling
1072 (GridHValueChanged): rename from GridHScrolled, and change it to
1073 work with the new event args.
1074 (GridVValueChanged): same.
1075 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
1076 (OnMouseWheel): actually scroll the datagrid. Don't change the
1078 (ProcessGridKey): correct all the keyboard navigation stuff I
1079 could find. Ctrl up/down/left/right/home/end work now.
1080 (EnsureCellVisibility): correct method name spelling. Also,
1081 simplify this a touch by not explicitly calling the
1082 ScrollToRow/ScrollToColumnInPixels methods. We just set the
1084 (OnKeyUpDG): no need for this method now.
1086 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1088 * LinkLabel.cs: display the OverrideCursor when hovering the label.
1091 2006-05-25 Chris Toshok <toshok@ximian.com>
1093 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
1096 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1098 * Application.cs: Moved setting of is_modal and closing to before
1099 we create the control, to allow the event handlers called as a
1100 result of creation affect closing. Also removed Gonzalo's previous
1101 change to setting DialogResult, the behaviour has been moved to
1104 - ShowDialog(): Removed explicit creation of the form, let RunLoop
1106 - ShowDialog(): If no dialog result is set, we need to return Cancel
1107 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
1108 the close is cancelled
1110 2006-05-25 Jackson Harper <jackson@ximian.com>
1112 * StatusBar.cs: We only need to update the sizes of the other
1113 panels when we have auto size contents. Also we are only updating
1114 the contents of the panel, not the borders, so compensate for the
1115 border width (TODO: get this width from the theme somehow).
1116 * TreeView.cs: Scrollable is true by default
1117 - Use invalidate instead of refresh where needed
1118 - Factor the scrollable value into scrollbar updating
1119 - Update the scrollbars if the Scrollable property is altered
1120 - Update the selected node if its ImageIndex is changed
1121 - Handle null nodes in UpdateNode (mainly so we don't have to
1122 check if selected is null when updating it
1123 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
1124 are factored into the visible count
1125 - Use VisibleCount for clarity in the code
1126 - When the font is changed we need to recurse through all the
1127 nodes and invalidate their sizes
1129 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1131 * Application.cs: set the DialogResult to fixed when the main form is
1132 hidden or destroyed while being modal.
1134 2006-05-25 Miguel de Icaza <miguel@novell.com>
1136 * Theme.cs: Use Tangoified messagebox icons.
1138 (GetSizedResourceImage): Also cope with width = 0 and do not
1139 trigger a warning in that case (0 means "give me your icon from
1140 the resouce, no special size needed).
1142 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1144 * Application.cs: Leave runloop if the the main modal form is
1145 hidden (fixes #78484)
1147 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
1149 * BindingContext.cs : reject null datasource in Contains() and
1151 * CurrencyManager.cs : check data_member validity when data_source
1152 is dataset. When it is late binding, the initial position is -1.
1154 2006-05-24 Jackson Harper <jackson@ximian.com>
1156 * TreeNodeCollection.cs: Dont't recalculate the visible order on
1157 inserted nodes that aren't visible. This changes the
1158 max_visible_order which confuses scrollbar settings.
1159 - Use the enumerator to get the prev node instead of duplicating
1161 * TreeView.cs: Use new method for setting scrollbar values
1162 - Don't set the bounds every time the scrollbar is updated
1163 - When updating below the root node use an invalidate instead of a
1164 refresh to prevent the child controls (scrollbars) from being
1165 refreshed. (UpdateBelow still needs to be reworked anyways).
1166 - Reenable SetBottom now that visible orders are set correctly,
1167 added some debug code incase we ever get bad values there again.
1168 - Set the scrollbar max to 2 less then the max value, this
1169 compensates for the max value being one above the node count, and
1170 for scrollbars adding one extra "notch".
1171 - When drawing image nodes if there is an imagelist we draw the
1172 first image in the list if the supplied image index is out of the
1173 image list's bounds.
1175 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1177 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
1178 we receive a size change from the WM (Fixes #78503)
1180 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1182 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
1183 rectangle (Fixes #78501)
1185 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1188 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
1190 - Fixed MouseMove to no longer switch pressed state unless the left
1191 mouse button is pressed. Atsushi provided the original patch (#78485)
1193 2006-05-24 Jackson Harper <jackson@ximian.com>
1195 * ScrollBar.cs: New internal methods that allow us to change a
1196 couple values on the scrollbar (the most common case is maximum
1197 and large change) without getting multiple invalidates.
1199 2006-05-24 Chris Toshok <toshok@ximian.com>
1201 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
1202 (Edit): save off the original state in oldState, and set
1203 grid.is_editing to true.
1204 (OnKeyDown): abort editing if escape is pressed. also, call
1205 NextState if space is pressed.
1206 (OnMouseDown): call NextState.
1207 (NextState): factor out shared code from OnKeyDown and OnMouseDown
1208 here. Also, only invalidate the row header once (on the initial
1209 is_changing switch) to save on redraws.
1211 2006-05-24 Chris Toshok <toshok@ximian.com>
1213 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
1214 if the value in the cell is different than it was before. This
1215 keeps us from triggering a layout when we move around a datarid
1216 with a highlighted cell.
1217 (Edit): suspend layout when creating/positining the text box, and
1218 resume passing false so we don't ever actually re-layout.
1219 (ReleaseHostedControl): same.
1220 (EnsureTextBox): reformat slightly, and set WordWrap to false.
1222 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
1223 control-key sequences should go to the datagrid - remove that
1224 lock. Also, modify the conditions under which we move between
1225 cells when moving the cursor within a cell, and remove the "this"
1226 and "base" from field accesses. We weren't even consistent, given
1227 they all were in the base class.
1229 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
1231 * Binding.cs : (.ctor)
1232 An obvious NRE fix for BindingTest.CtorNullTest().
1234 2006-05-23 Chris Toshok <toshok@ximian.com>
1236 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
1237 them between lines. This fixes some quirks editing cells in the
1240 2006-05-23 Jackson Harper <jackson@ximian.com>
1242 * TreeView.cs: Use begin/end update when doing expand/collapse all
1243 so that we don't get flicker on the scrollbar.
1245 2006-05-23 Jackson Harper <jackson@ximian.com>
1247 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
1248 treenode calculations to be independant of the painting code. To
1249 do this nodes track a visible order which is calculated by the
1251 - Call new methods for expanding/collapsing nodes. These methods
1252 use scrollwindow so we don't have to update everything below the
1254 * TreeView.cs: Refactored drawing and scrolling code. We don't
1255 need to update nodes when drawing anymore or calculate scrollbar
1257 - Added new methods for expanding/collapsing nodes. These methods
1258 use ScrollWindow so as to not have to redraw all the nodes below.
1259 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
1260 we add/remove nodes or sort.
1261 - Handle removing the selected and the top node properly.
1263 2006-05-23 Chris Toshok <toshok@ximian.com>
1265 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
1266 maybe this should actually happen in the datagrid code?
1267 (EndEdit): no need to invalidate anything, given that
1268 ReleaseHostedControl causes the datagrid to relayout, which
1269 invalidates everything anyway.
1271 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
1273 (set_SelectionBackColor): call InvalidateSelection instead of
1275 (set_SelectionForeColor): same.
1276 (BeginEdit): Flesh this out a bit.
1277 (CancelEditing): only do any of this if we're editing/adding.
1279 (OnMouseDown): there's no need to cancel editing here, it's done
1281 (SetCurrentCell): only invalidate the current row header if it's a
1282 different row than the new one.
1283 (ShiftSelection): fix this to work like MS does.
1284 (ResetSelection): factor out the invalidation of selected_rows to
1285 InvalidateSelection.
1286 (SetDataSource): cancel any editing that's going on.
1288 * DataGridColumnStyle.cs
1289 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
1290 call the non-interface version.
1292 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
1293 header rectangle with the clip rectangle so we don't redraw the
1294 entire header for just a small area. Gets rid of the last flicker
1295 when horizontally scrolling.
1296 (DataGridPaintRow): same.
1298 2006-05-23 Mike Kestner <mkestner@novell.com>
1300 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
1301 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
1302 poorly placed checkbox on the MS control. Fixes Alex's unfiled
1303 Critical bug report.
1305 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1307 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
1308 and this fixes #78493
1310 2006-05-23 Miguel de Icaza <miguel@novell.com>
1312 * Theme.cs (GetSizedResourceImage): Scale images if the proper
1315 * FileDialog.cs: Do not change the background for the side bar as
1316 it wont work nicely with the theme, and also reduces the artifacts
1317 in rendering the icons (which I want to fix too).
1319 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
1320 resources, not resgen resources.
1322 (PlatformDefaultHandler): Pull images using the new API.
1324 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1326 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
1327 a reference to the hwnd and will not remove it unless there are
1328 no pending exposures (fixes #78341)
1329 * XplatUI.cs: Improved debug
1331 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
1333 * MenuAPI.cs : don't handle OnClick event when it was not the left
1334 button. Fixed bug #78487.
1336 2006-05-23 Mike Kestner <mkestner@novell.com>
1338 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
1339 prefer submenus to the top menu for item lookup, to avoid popping down
1342 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
1344 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
1345 Graphics.FillRectangle as the visual results are really bad (even
1346 on win). We now draw perfect arrows (and perfect shadows when the
1347 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
1348 Pen.DashPattern to draw the dots of each line.
1350 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
1352 * FileDialog.cs: Update the filename combobox when navigating through
1353 the ListView with the cursor keys. Fixes part 7 of bug #78446.
1355 2006-05-22 Mike Kestner <mkestner@novell.com>
1357 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
1360 2006-05-22 Mike Kestner <mkestner@novell.com>
1362 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
1363 requests. Fix a misspelled parameter and a copy paste exception error
1366 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
1368 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
1369 to get the same width/height (5/13) on X11 as the default font has on
1370 win32. This means that our DefaultFont emSize is smaller than the
1371 the MS SWF equivalent (even thought the width/height stays the same)
1373 2006-05-20 Jackson Harper <jackson@ximian.com>
1376 * MdiWindowManager.cs:
1377 * InternalWindowManager.cs: Make sure to use the border width from
1380 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
1382 * PrintDialog.cs: Implements printer details
1384 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
1386 * FileDialog.cs: Added focus handling for PopupButtonPanel.
1387 Fixes part 1 and 2 of bug #78446
1389 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
1391 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
1392 instead of sticking to the first ever calculated value
1394 2006-05-19 Mike Kestner <mkestner@novell.com>
1396 * ComboBox.cs: fix mouse motion selection to use MousePosition and
1397 PointToClient, since Capture is set. Fixes #78344.
1399 2006-05-19 Mike Kestner <mkestner@novell.com>
1401 * ListView.cs: match MS behavior in Details view where items are not
1402 drawn if Columns.Count == 0.
1403 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
1404 Use a separate pen to draw the check, since changing the width affects
1405 the box as well. Fixes #78454.
1407 2006-05-18 Miguel de Icaza <miguel@novell.com>
1409 * ListView.cs: ArgumentOutOfRangeException, single versions of the
1410 exception should throw the name of the invalid argument.
1412 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
1413 there are no files listed.
1415 2006-05-18 Jackson Harper <jackson@ximian.com>
1417 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
1420 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1422 * Control.cs: Brought back our old UpdateZOrder method as a private
1423 function and switched our calls from UpdateZOrder to the new one.
1424 This fixes the Paint.Net canvas disappearing bug.
1426 2006-05-18 Jackson Harper <jackson@ximian.com>
1429 * ThemeWin32Classic.cs:
1430 * InternalWindowManager.cs: Move the drawing into the theme,
1431 expose everything the theme should need from the window manager.
1433 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1435 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
1436 from the call to NativeWindow to avoid walking up the parent chain
1437 further than needed (speeds up setting cursors and avoids setting
1438 the wrong cursor if a parent has another cursor defined)
1439 * Cursor.cs: When loading an icon as cursor, MS uses the center of
1440 the icon as hotspot, not what's contained as hotspot in the icon
1441 file. This fixes the perceived drawing offset seen with Paint.Net
1443 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1446 - Store the calculated rectangle in Hwnd object and use it when
1447 setting the client size
1448 - Force Toolwindows to always be type Dock, to ensure they're on top
1450 2006-05-18 Mike Kestner <mkestner@novell.com>
1452 * ComboBox.cs: first pass at ComboBox rework. Layout is more
1453 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
1454 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
1455 Substantial refactoring to remove confusing nested classes. Coding
1456 standard and Get+Set->property refactorings. Shift to index based
1457 highlighting in ComboListBox instead of constantly using IndexOf and
1458 Items[]. Add invalidations on resize for DropDownList to fix ugliness
1459 in FileDialog growth. Draw borders manually since Simple mode needs
1460 to look like two independent controls. Make listbox border
1461 conditional to DropDownStyle. Improved OwnerDraw support.
1463 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
1465 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
1466 Don't set the disposed graphics to null, so we can throw the "right"
1467 exception if the graphics is reused later (added a flag to avoid
1468 double disposing). Some behaviours are different under 2.0 and are
1469 filled under bug #78448.
1471 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1473 * Control.cs: When double-buffering is enabled, we need to reset
1474 our graphics context between paint calls. Otherwise, any
1475 transformations and other alterations on the context will
1476 become cumulative (#77734)
1478 2006-05-18 Mike Kestner <mkestner@novell.com>
1480 * ListView.cs: do focused item selection like MS on clicks.
1481 Rework focus handling for ItemControl so LostFocus invalidates as
1483 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
1484 the ListView ItemControl has focus.
1486 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
1488 * XplatUIX11.cs: If client_window ends up being width or height zero
1489 due to border settings, move it off window inside whole_window (#78433)
1491 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1493 * Mime.cs: Shrink the mime file cache correctly.
1495 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1497 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
1499 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1501 * XplatUIX11.cs (AddExpose): More sanity checks
1503 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1506 - AddExpose: Don't add expose ranges outside the size of our
1508 - Cast opacity values to Int32 to avoid crashes with certain
1510 - Added disabled code paths that protect against illegal cross-
1511 thread painting (Developers.exe)
1513 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1515 * ProgressBar.cs: Invalidate the control when it's resized
1516 since block size is based on control size. (#78388)
1518 2006-05-16 Miguel de Icaza <miguel@novell.com>
1520 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
1521 of setting the incoming argument to the "reset" value, we set the
1522 this.datamember to string.empty (before we were invalidating the
1527 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1529 * Form.cs: Only apply transparency settings after the form
1530 is created. (Fixes #77800)
1532 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1534 * ApplicationContext.cs: Grab the HandleDestroyed event so
1535 we know when to fire OnMainFormClosed
1537 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1539 * Application.cs: Introduced sub-class to allow tracking of
1540 threads and centralized triggering of the event mess for
1541 ThreadExit, AppExit, etc.. (#76156)
1543 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
1546 - Do not return a null icon index value for a mime subclass.
1547 Instead try the main mime type class too.
1548 - Seems that some newer distributions don't have a link to some
1549 gnome default icons anymore. So check the default gnome dir too.
1552 2006-05-16 Jackson Harper <jackson@ximian.com>
1554 * MdiClient.cs: Don't paint the parent background image if we have
1555 our own background image.
1557 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1560 - PerformLayout: Do not shrink space filled by DockStyle.Fill
1561 controls, all filled controls are supposed to overlap (#78080)
1562 - UpdateZOrder is supposed to update the control's z-order in the
1563 parent's z-order chain. Fixed to behave like that
1564 - BringToFront: Removed obsolete code
1565 - SendToBack: Simplyfied
1566 - SetChildIndex: Trigger layout calculations when Z-order changes
1567 since layout is done by z-order
1569 2006-05-16 Chris Toshok <toshok@ximian.com>
1571 [ fixes bug #78410 ]
1572 * DataGrid.cs (set_AlternatingBackColor): use
1573 grid_drawing.InvalidateCells instead of Refresh().
1574 (set_BackColor): call grid_drawing.InvalidateCells.
1575 (set_BackgroundColor): use Invalidate instead of Refresh.
1577 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
1578 invalidate the cell area.
1580 2006-05-15 Chris Toshok <toshok@ximian.com>
1582 [ fixes bug #78011 ]
1583 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
1584 on to DataGridPaintRow.
1585 (DataGridPaintRow): take a clip argument, and only draw the cells
1586 which intersect it. same with the not_usedarea.
1588 * Theme.cs (DataGridPaintRow) add @clip parameter.
1590 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
1591 XplatUI.ScrollWindow.
1592 (ScrollToRow): same.
1594 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
1595 with last column which was causing a gray swath to appear with the
1596 XplatUI.ScrollWindow code.
1598 2006-05-15 Chris Toshok <toshok@ximian.com>
1600 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
1601 use XplatUI.ScrollWindow.
1602 (VerticalScrollEvent): use XplatUI.ScrollWindow.
1604 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1606 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
1608 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1610 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
1611 file since there are no equivalent X11 cursors
1613 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1615 * MonthCalendar.cs : DateTimePicker should reflect selected date
1616 on mouse*up*, not mouse*down*. Fixed originally reported part of
1619 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1621 * TabControl.cs : When argument index is equal or more than tab
1622 count, just ignore. Fixed bug #78395.
1624 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1626 * Control.cs: Dispose all child controls when control is diposed (#78394)
1628 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1630 * ColorDialog.cs: Finally it is possible to select the color with
1633 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1635 * PrintDialog.cs: Fix typo
1637 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1639 * PrintDialog.cs: PrintDialog is not resizable
1640 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
1641 color. Made some ToolBar drawing methods protected virtual.
1643 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
1645 * PrintDialog.cs: Implementation of the PrintDialog
1647 2006-05-12 Chris Toshok <toshok@ximian.com>
1649 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
1650 thumb, instead use MoveThumb. This has the side effect of making
1651 most of the other thumb moving machinery use MoveThumb as well.
1652 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
1653 need to actually invalidate the rectangle where the new thumb will
1655 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
1656 We force an Update() after, so it's not as fast as it could be,
1657 but at least there's zero flicker and no droppings.
1658 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
1659 (UpdateThumbPos): add another argument (dirty), which says whether
1660 or not to calculate/add dirty regions which we later invalidate.
1661 For cases where we know we're going to use MoveThumb, we pass
1662 false for this. Otherwise, pass true.
1664 2006-05-12 Jackson Harper <jackson@ximian.com>
1666 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
1669 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
1671 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
1672 and GetClipRegion methods and UserClipWontExposeParent property.
1673 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
1674 overriding UserClipWontExposeParent property, setting to false, since
1675 Win32 handles the required expose messages to draw our clipped parent
1677 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
1678 PaintEventStart to set the user clip region if set.
1680 - Now internally tracking the Region for the control since we need to
1681 store it if the handle is not yet created and only set it when it
1682 becomes created. Before setting the region forced handle creation
1683 - Added code to draw the parents underneath a user-clipped region
1684 * Hwnd.cs: Added UserClip property
1686 2006-05-12 Chris Toshok <toshok@ximian.com>
1688 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
1689 (set_Maximum): same.
1690 (set_Minimum): same.
1691 (set_SmallChange): same.
1692 (OnMouseUpSB): remove the call to refresh when releasing the
1693 thumb. We shouldn't need it.
1695 2006-05-12 Miguel de Icaza <miguel@novell.com>
1697 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
1698 AutoSize set to None, we do not need to relayout everything, we
1699 just need to invalidate the current region.
1701 (Draw): Do not draw the entire ClientArea, just redraw the
1702 clip area being passed.
1704 * MdiClient.cs: Make MdiClient constructor with the Form argument
1707 2006-05-12 Jackson Harper <jackson@ximian.com>
1709 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
1710 parents background image, but strangely not their own.
1711 - (DrawStatusBarPanel): Take into account horizontal alignment
1712 when drawing the strings and icons.
1714 2006-05-12 Mike Kestner <mkestner@novell.com>
1716 * ListBox.cs: avoid invalidations for focus when the collection is
1719 2006-05-12 Chris Toshok <toshok@ximian.com>
1721 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
1722 invalidate the entire thumb area. Call InvalidateDirty which
1723 limits the redraw to the thumb itself and surrounding pixels.
1725 * XplatUIX11.cs (ScrollWindow): optimize copying.
1727 2006-05-12 Chris Toshok <toshok@ximian.com>
1729 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
1730 Figure out the positioning/layout in a single pass instead of
1731 multiple recursive invocations. Speeds up the initial display of
1732 the data grid. Also, make many things private that were
1733 originally public but unused outside this class.
1735 2006-05-11 Jackson Harper <jackson@ximian.com>
1737 * MdiClient.cs: Improved layout code.
1739 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
1741 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
1744 2006-05-11 Chris Toshok <toshok@ximian.com>
1746 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
1747 union of that will always be {0,0,width,height}.
1749 2006-05-11 Jackson Harper <jackson@ximian.com>
1751 * Form.cs: Match MS's DefaultSize for forms (they must have
1752 changed the size in sp2).
1754 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1756 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
1758 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1760 * TextControl.cs : Fixed bug #78109. This incorrect position
1761 comparison caused crash on automatic line split.
1762 * TextBoxBase.cs : reduce duplicate code.
1764 2006-05-10 Jackson Harper <jackson@ximian.com>
1766 * MdiClient.cs: Active form is only sent to the back when using
1767 the Next form functionality, when a form is clicked the current
1768 active shouldn't be sent to the back.
1769 - Layout the mdi windows when the container is first made visible.
1770 * Form.cs: Give the MdiClient a ref to the containing form when we
1773 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1775 * LinkLabel.cs : link_font could be uninitialized, so populate one
1776 before actual use. Fixed bug #78340.
1778 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1780 * XplatUIX11.cs : clipboard format native value is IntPtr.
1783 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1786 - Instead of showing context menus directly we send WM_CONTEXTMENU,
1787 which is passed up the parent chain by DefWndProc
1788 - We now handle WM_CONTEXTMENU to display any menu, or pass it
1789 to DefWndProc (#77956)
1790 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
1792 2006-05-10 Jackson Harper <jackson@ximian.com>
1794 * MdiClient.cs: We need to remove the controls from the mdi
1795 collection, when we close the window.
1796 * MdiWindowManager.cs: Special handling of closing mdi windows.
1797 * InternalWindowManager.cs: Make the close method virtual so the
1798 mdi window manager can handle it specially.
1800 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
1803 - Recalculate grid when the data source has changed
1804 - Matches styles provided by user from all data sources types
1805 * DataGridTableStyle.cs: For columns that provided by the user set the
1806 with the preferred value is there was unassigned.
1807 * CurrencyManager.cs: throw OnItemChanged event
1809 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1811 * PictureBox.cs: Don't animate until handle is created. Start animation
1812 when handle is created.
1814 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1816 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
1818 * XEventQueue.cs: We don't need to provide the extra info
1820 2006-05-10 Jackson Harper <jackson@ximian.com>
1822 * MdiClient.cs: If the mdi clients parent form has a background
1823 image set, we draw that background image for the mdi area's
1826 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1828 * TextBoxBase.cs: Set IBeam cursor (#78347)
1830 2006-05-10 Mike Kestner <mkestner@novell.com>
1832 * ToolBar.cs: fix some text padding issues with ButtonSize
1833 calculation. Update the default size to match MS documentation.
1834 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1835 button size. Fixes #78296.
1837 2006-05-10 Mike Kestner <mkestner@novell.com>
1839 * ListBox.cs: use is_visible for scrollbar positioning in case the
1840 control isn't on screen yet. Fix off by one with Right vs Width
1841 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1843 2006-05-10 Jackson Harper <jackson@ximian.com>
1845 * X11Dnd.cs: Drop to a control with another control on top of it.
1846 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1847 be modified in click handlers. TODO: Look for similar problems in
1850 2006-05-09 Jackson Harper <jackson@ximian.com>
1852 * Form.cs: Window managers need the old window state when setting
1854 * InternalWindowManager.cs: Allow the base mdi window manager to
1855 handle more of the MDI only stuff (like maximize buttons).
1856 * MdiWindowManager.cs: Fix some snafus in changing the window
1857 state. Add all the menu functionality, for both popup and
1859 * MdiClient.cs: When a new form is selected the currently
1860 activated form is sent to the back, this matches MS.
1861 - Implement a new method to activate the next mdi child window.
1863 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1866 - Added new InternalCapture method to allow controls to prevent
1867 the capture behaviour on the click handlers
1868 - Switched to use InternalCapture
1870 - Using InternalCapture to prevent mouse captures from being released
1871 on mouse button release (Fixes #78100)
1872 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
1873 returns Form borders if a caption is present. (Fixes #78310)
1875 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1877 * TreeNode.cs: Changed serialization .ctor to not require every field
1878 to be present. (#78265)
1879 * OwnerDrawPropertyBag.cs: Added serialization .ctor
1881 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
1883 * MimeIcon.cs: for is faster than foreach for strings.
1885 2006-05-05 Mike Kestner <mkestner@novell.com>
1887 * CheckedListBox.cs: update check handling code to not use selected.
1888 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1889 behavior for visual feedback, motion response, shift/ctrl handling,
1890 and properly deal with all 4 selection modes. Updates to bounds
1891 handling logic. Add scroll wheel support. [Fixes #77842]
1893 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1896 - Moved adding of Implicit controls into .ctor. That way, subsequent
1897 creation of the controls will not cause them to think they are
1898 toplevel windows (fixes #78200 header problem)
1899 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1900 - Switched visibility setting of header control to use internal field
1901 to avoid triggering handle creation
1902 - Now checking if handle is created before causing a refresh when items
1903 are added (This makes us now match handle creation time with MS)
1904 * Splitter.cs: Removed loading of private splitter cursor, switched to
1905 Cursors version now that that is loading the right ones
1906 * Cursors.cs: Load proper splitter cursors from resources
1907 * Cursor.cs: Added second method of loading resource cursors for the
1908 VS.Net users amongst us
1910 2006-05-05 Mike Kestner <mkestner@novell.com>
1912 * ListView.cs: give header_control a minimum size based on the
1915 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1917 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1918 window seems to do that with metacity, so set that type. (#78120)
1920 2006-05-05 Mike Kestner <mkestner@novell.com>
1922 * ListViewItem.cs: fix Details mode checkbox layout bug.
1923 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1924 at the end of the header, if it exists. [Fixes for #78200]
1926 2006-05-04 Jackson Harper <jackson@ximian.com>
1928 * MdiClient.cs: Add a helper property to get the container form.
1929 * MdiWindowManager.cs: We have to make sure to use the menu origin
1930 when drawing the icons and buttons, this fixes maximized window
1931 icons/buttons on win32.
1932 * InternalWindowManager.cs: Reset the restore captions when a
1933 window goes from Maximized to Minimized and vice versa. Move the
1934 DrawMaximizedButtons into the MdiWindowManager source, tool
1935 windows can't be maximized. NOTE: This could use a little
1936 refactoring if time ever permits.
1938 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1940 * TextBox.cs: Add MWFCategoryAttributes
1941 * TextBoxBase.cs: Add MWFCategoryAttributes
1942 * Form.cs: Add MWFCategoryAttributes
1944 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1946 * Control.cs: Add MWFCategoryAttributes
1947 * ScrollableControl.cs: Add MWFCategoryAttributes
1949 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1951 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1952 Divider is true. Fix a little glitch in PropertyToolBar
1955 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1958 - Dispose: Call base.Dispose, this causes the disposed event
1959 to be fired (and probably other, more important stuff)
1960 - SetVisibleCore: Set is_visible to true after creating the
1961 window so that the window still gets created invisible (if
1962 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1963 to generate a WM_ACTIVE message
1964 * Form.cs: Call Dispose when we want to destroy the window, instead of
1965 just destroying the handle (Dispose will do that for us)
1967 - RootWindow also needs a queue, so we can properly process the
1968 property change events from RootWindow (like Activate)
1969 - Generatic synthetic WM_ACTIVE message when the active window is
1972 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1974 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1977 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1979 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1980 for determining width and height (image might not be assigned if
1981 we're drawing an imagelist)
1983 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1985 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1986 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1988 * Theme.cs: No longer returns hardcoded menu height, instead calls
1990 * Form.cs (OnLoad): Scaling happens before triggering Load events
1993 2006-05-01 Mike Kestner <mkestner@novell.com>
1995 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1997 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1999 * TextBoxBase.cs: Removed Fixme
2000 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
2002 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
2005 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
2006 the rectangle relative to the parent, considering borders. We
2007 don't really want that.
2008 - ScrollWindow: Fixed warning to be more understandable
2009 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
2010 scrollbars and scroll only the visible area
2011 * RichTextBox.cs: Removed debug output
2013 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2015 * NumericUpDown.cs (Text): Just use base
2016 * UpDownBase.cs: Ensure txtView is created before using it
2018 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2020 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
2021 casting to IntPtr to avoid 64bit overflow errors
2023 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2026 - AllowDrop: Don't force handle creation.
2027 - CreateHandle: Added call to tell driver if we're allowed to drop
2029 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2031 * FileDialog.cs: Remember the last directory not only for the
2032 current instance but also for new FileDialog instances.
2034 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2036 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
2037 broke sending async messages
2039 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2042 - ScrollWindow: Fixed method. We finally generate expose events again
2043 for scrolled areas. This was causing 'garbage' when scrolling
2044 textbox and other controls that used ScrollWindow
2045 - Switched from using the regular queue for paint events to the MS
2046 model of 'generating' paint events when the queue is empty.
2047 We use the new XQueueEvent.Paint subclass to store which windows
2049 - AddExpose now takes the x/y/width/height of the exposed area
2050 and inserts the window into the paint queue if not already there
2051 - InvalidateWholeWindow: Switched to use new AddExpose method
2052 - UpdateMessageQueue: Added which queue to monitor for paint events
2053 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
2054 the unlikely case nothing above handles it. We reset the expose
2055 pending states to get them off the queue.
2056 - GetMessage: Now pulls a paint event if no other events are in the
2058 - Invalidate: Switched to new AddExpose method
2059 - PeekMessage: Updated to understand pending paint events
2060 - UpdateWindow: Fixed logic bug. We were only updating if the window
2061 didn't need updating. Also switched to sending WM_PAINT directly,
2063 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
2064 and random access Remove(). The random access is needed to handle
2065 UpdateWindow() where a WM_PAINT is sent directly without accessing
2067 * ScrollBar.cs: Added Update() calls to cause immediate updates to
2068 allow for better feedback when scrolling. Scrollbars are small and
2069 the immediate update should make it 'feel' more responsive without
2070 slowing things down. ScrollBar still needs it's invaliate logic
2071 updated to not always invalidate the whole bar on certain changes.
2073 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2076 (BackColor): if the control does not support a transparent background,
2077 return the default backcolor when the parent backcolor is transparent.
2079 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
2081 * Application.cs: Updated to new StartLoop/GetMessage API
2082 * RichTextBox.cs: Provide some output on RTF parsing errors
2083 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
2084 new queue_id argument to GetMessage and PeekMessage to allow faster
2085 handling of per-thread queues in drivers.
2086 * Hwnd.cs: Added Queue tracking and property
2087 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
2088 * XEventQueue.cs: Added thread trackingA
2089 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
2091 - Implemented new per-thread queue
2092 - GetMessage: Fixed return/break behaviour on several cases. We were
2093 returning stale messages in some cases, instead of just processing
2096 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2098 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
2100 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
2102 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
2103 fixed off-by-one comparisons between Width/Height and Right/Bottom.
2105 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2107 * PropertyGridView.cs: Fix drop down width.
2109 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2111 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
2112 a mess in DrawToolBar, so I removed one of them.
2114 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2116 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
2117 needed (clip). Otherwise we get artifacts.
2119 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2121 * FixedSizeTextBox.cs: Added constructor to allow specifying which
2123 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
2124 and switched FixedSizeTextBox to only be fixed vertical (#78116)
2125 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
2126 if it matches the scale base font (avoids unneeded scaling)
2128 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2130 * X11DesktopColors.cs: One gtk_init_check should be enough
2132 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2134 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
2137 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2140 - Generate OnTextChanged for Backspace even if we're only deleting
2141 the current selection
2142 - When setting the Text property, only select all text if the
2143 control does not have focus when it is being set. Otherwise
2144 just place the cursor at the beginning of the control
2146 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2148 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
2149 Added a little helper to draw PropertyGrid ToolBar with a different
2150 border and a different BackColor.
2151 * PropertyGrid.cs: Some background parts didn't get painted with the
2152 correct background color. Added a class that helps us to draw the
2153 correct border for PropertyGridView and a class that helps us to
2154 draw ToolBars with a different backcolor
2155 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
2157 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
2159 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
2160 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
2162 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2164 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
2165 into the palette entries. Also, since we're working on a copy
2166 we needed to copy the palette back onto the bitmap.
2167 * Cursor.cs: Same fix as XplatUIWin32.cs.
2169 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2171 * ImageListStreamer.cs: Need to read the var (or we're off)
2173 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2175 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
2176 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
2177 TextBoxBase.cs: Unused var fixes
2178 * AxHost.cs: Small 2.0 fix
2179 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
2180 as it seems that is what at least Metacity expects. This will make
2181 icons show up on 64bit platforms. We still have some 64bit size
2182 issues, though, since the startup app window size still won't match.
2184 2006-04-25 Mike Kestner <mkestner@novell.com>
2186 * *.cs: cleanup newly reported exception var unused warnings.
2188 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2190 * ThemeWin32Classic.cs: Button image alignment now matches exactly
2193 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2195 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
2196 image. The image position is always the same, no matter if the
2197 button is pressed or not.
2199 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2201 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
2202 selection and set the correct filename for SaveFileDialog.
2203 Patch by Emery Conrad.
2205 2006-04-24 Mike Kestner <mkestner@novell.com>
2207 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
2208 check for item.X outside the ClientRect instead of item.Y. Fixes
2211 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2213 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
2214 trust that value blindly and do some sanity check. Fixes bug #77814.
2216 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2218 * ImageListStreamer.cs: save the mask as a 1bpp image.
2220 2006-04-21 Mike Kestner <mkestner@novell.com>
2222 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
2223 pass Checked and Indeterminate to the Theme Engine. Improve
2224 encapsulation with ListBox.
2225 * ListBox.cs: Keep a StringFormat instead of calculating it every item
2226 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
2227 nested types. Move all CheckState functionality to CheckedListBox.
2228 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
2229 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
2230 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
2231 single base list. Fix scrollbar sizing and placement to mirror MS.
2232 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
2234 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
2235 for CheckedListBox by using new DrawItemState info. Center the
2236 checkboxes on the items. Use new StringFormat property.
2238 2006-04-18 Jackson Harper <jackson@ximian.com>
2240 * Form.cs: MdiChildren don't do default locations the same way as
2241 regular forms. This prevents a crash when trying to position the
2244 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
2246 * PropertyGridTextBox.cs: Formatting, copyright
2247 * PropertiesTab.cs: Formatting
2248 * PropertyGrid.cs: Formatting
2249 * PropertyGridView.cs: Formatting, fix drop down, enabled double
2250 click toggling of values
2252 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
2254 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
2255 * Control.cs (.ctor): verify_thread_handle is static, don't reset
2256 every time a control is created
2257 * Application.cs: Removed obsolete EnableRTLMirroring method
2259 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
2261 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
2262 SelectedIndex to -1. Fixes bug #78121.
2264 2006-04-17 Jackson Harper <jackson@ximian.com>
2266 * Binding.cs: Handle null values for Current and BindingContext.
2267 This occurs when binding is a little delayed.
2268 * CurrencyManager.cs: return null for Current when there are no
2270 - Hookup to the listchanged event on the DataView and update
2271 bindings when the list is changed. This fixes late binding of
2274 2006-04-17 Jackson Harper <jackson@ximian.com>
2277 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
2280 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
2282 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
2284 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
2285 with the correct ButtonState
2287 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
2289 * XplatUIX11.cs: Improved distinguishing between window types to
2290 tell the WM a type closer to what the app wants (Fixes #78107)
2292 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2294 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
2297 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2299 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
2300 drawing code to reflect the size grip changes
2302 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2304 * ImageListStreamer.cs: fix handling of the mask that follows the main
2305 bitmap when deserializing and serialize it properly. The generated mask
2306 should better be a 1bpp image, but I'll do that later.
2308 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2310 * FileDialog.cs: Show something in the DirComboBox on *nix if the
2311 path doesn't fit into some of our Current.Places
2313 2006-04-13 Jackson Harper <jackson@ximian.com>
2315 * ComboBox.cs: Use borders instead of drawing our own decorations,
2316 try to obey correct rules for heights.
2319 * ThemeClearLooks.cs:
2320 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
2321 this is now handled by borders.
2322 - Remove unused DrawListBoxDecorationSize method.
2324 2006-04-13 Mike Kestner <mkestner@novell.com>
2326 * MenuAPI.cs: null guarding for the disbled click check fixes crash
2329 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2331 * ThemeWin32Classic.cs:
2332 - Fixed CPDrawStringDisabled
2333 - Corrected drawing of disabled menu items
2334 - Fixed drawing of disabled radio buttons (bug #78095)
2335 - Draw check in a disabled CheckBox with color ControlDark
2337 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2339 * Form.cs: Use the provided width when calculating the menu size;
2340 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
2341 and ClientSize.Width won't be updated yet
2342 * Application.cs: Use Visible instead of Show() to make form visible,
2343 this way we create the handle later and menusize is considered
2345 2006-04-12 Mike Kestner <mkestner@novell.com>
2347 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
2350 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2352 * TextBox.cs: Implemented context menu
2354 2006-04-12 Mike Kestner <mkestner@novell.com>
2356 * ListView.cs: implement box selection. fixes #77838.
2357 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
2359 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2361 * XplatUIX11.cs: Added setting of window type when transient window
2362 is created (metacity would move it otherwise)
2363 * X11Structs.cs: Added WINDOW_TYPE atoms
2364 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
2365 background (the control is Opaque but still wants transparent
2368 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2370 * Control.cs: Added OnPaintBackgroundInternal to allow controls
2371 that set Opaque but don't mean it (like all ButtonBase-derived
2372 controls) to still draw their background
2373 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
2376 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2378 * Control.cs (PaintControlBackground): Set the graphics object
2379 on our PaintEvent to null to prevent it from being disposed
2380 when the PaintEvent gets disposed
2382 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
2384 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
2385 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
2387 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2390 - Added transparency check to BackColor property. Transparent
2391 backgrounds are only allowed if the control styles permit it
2392 - Added recursive painting of parent control background and
2393 foreground if a control with a transparent backcolor is drawn
2394 (Thanks to Tim Ringenback for providing his 'hack' as a base
2395 for this patch) Fixes #77985 and #78026.
2396 - Added Opaque style check before calling OnPaintBackground, no
2397 need to draw the background if the control is opaque
2398 - Removed ControlAccessibleObject owner variable (inherited from
2399 base, no need to define again)
2400 - Added some documentation links explaining the drawing events
2403 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2405 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
2406 that the affected control is the located at the left border of our
2407 parent (Fixes #77936)
2409 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2411 * TextBoxBase.cs: When rendering disabled or readonly controls,
2412 draw the background with 'Control' instead of 'Window' color as
2413 long as the user hasn't specifically set a color
2415 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2417 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
2418 since that won't be updated if the user types text (only if it's
2419 programatically set)
2421 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2423 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
2424 layout changes do to app-triggered resizes will have the proper
2425 display rectangle for layout
2427 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
2429 * ThemeWin32Classic.cs:
2430 - Make use of the SystemBrushes and SystemPens wherever possible
2431 - Corrected some highlight colors
2432 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
2434 * Theme.cs: Added Empty field to CPColor struct
2436 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2438 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
2439 is displayed when calculating the display rectangle. Thanks to Mike
2440 for teaching me the err of my ways.
2442 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
2444 * ScrollableControl.cs:
2445 - Rewrote DisplayRectangle code, now returning the proper x/y coords
2446 (instead of 0,0) and we now return the real width/height instead of
2447 just the clientrectangle, adjusted for padding. The rectangle is
2448 now cached and created by the new CalculateDisplayRectangle method.
2449 - Created new CalculateDisplayRectange method, which basically does
2450 what get_DisplayRectangle() did originally, but now using the
2451 right edge instead of DisplayRectangle to determine the size of
2453 - get_Canvas(): Fixed it to properly calculate canvas for
2454 right/bottom controls which seem to be placed to the right/bottom
2455 of any controls that have a fixed location
2456 - Removed TODO that's taken care of
2457 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
2458 and SetDisplayRectLocation according to new MSDN2 docs
2459 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
2460 event when that is called, this is added for compatibility
2461 - ScrollControlIntoView(): Implemented.
2462 - Switched scrollbars to be implicit, they shouldn't be selectable
2463 * ContainerControl: Now that ScrollControlIntoView is implemented, we
2464 call it when the active control is set/changed
2465 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
2466 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
2467 implicit_control variable (used for native Win32 message generation)
2468 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
2469 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
2470 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
2471 * XplatUIStructs.cs: Added ScrollBarCommands enum
2473 2006-04-10 Jackson Harper <jackson@ximian.com>
2476 * CheckedListBox.cs:
2483 * PrintPreviewControl.cs:
2489 * UpDownBase.cs: Fixup base event overrides.
2491 2006-04-06 Mike Kestner <mkestner@novell.com>
2493 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
2494 all user-initiated value changes to min <= value <= max-thumbsz+1.
2495 (set_Value): check for vert/horiz when calculating new thumb position.
2496 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
2498 (OnMouseMoveSB): refactor the thumb dragging code and refine
2499 invalidation logic to reduce flicker.
2500 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
2501 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
2502 (UpdateThumbPosition): small code readability cleanup
2504 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
2506 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
2509 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2511 * ThemeNice.cs: Use a better graphics effect when a button is pressed
2513 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2515 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
2516 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
2517 This dramatically reduces the number of Pen.Dispose calls.
2518 Where possible call ResPool methods only once instead of calling it
2519 over and over again (for example for the same color).
2521 2006-04-06 Mike Kestner <mkestner@novell.com>
2523 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
2524 Also remove an unused private field on the collection. Fixes #77972.
2526 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2528 * ThemeNice.cs: Added ToolBar drawing code
2530 2006-04-06 Mike Kestner <mkestner@novell.com>
2532 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
2533 I'm assuming that means we need to look up the toplevel for the
2534 provided control. Fixes the crash trace in #77911 but exposes another
2535 crash in some strange reflection usage in NDocGui.
2537 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2539 * ThemeNice.cs: Gave it a little silver touch and added Images
2541 * FontDialog.cs: FontDialog is not resizable
2542 * FileDialg.cs: Added SizeGripStyle.Show
2544 2006-04-05 Jackson Harper <jackson@ximian.com>
2546 * KeyboardLayouts.cs: Remove warning.
2548 2006-04-05 Jackson Harper <jackson@ximian.com>
2550 * Control.cs: Enable OnPaintInternal so we can use it for drawing
2551 all of our controls instead of Paint +=.
2566 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
2567 use OnPaintInternal. Remove Width/Height and Visible checks in
2568 paint handler, this is done at a higher level now.
2569 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
2570 * PaintEventArgs.cs: Add a handled flag so controls that don't
2571 want anymore painting after OnPaintInternal can make sure OnPaint
2574 2006-04-05 Mike Kestner <mkestner@novell.com>
2576 * Form.cs: fix the menu WndProc hacks to respect the native enabled
2577 state of the form, so that we don't process events when Modal dialogs
2578 are up. Fixes #77922.
2580 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
2582 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
2585 2006-04-05 Mike Kestner <mkestner@novell.com>
2587 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
2589 2006-04-05 Mike Kestner <mkestner@novell.com>
2591 * ListView.cs (HeaderMouseMove): null guarding for the over column
2592 when setting up the drag_to_index. Fixes #78015.
2594 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2596 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
2597 in the taskbar. Transient windows seem to accomplish that.
2599 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2602 - Re-enabled CreateParams.X/Y code for FormStartPosition
2603 - Added code for manual placement when creating the Control
2604 - Incomplete patch to treat MDI forms differently when
2605 setting the ClientSizeCore. (Still need to figure out handling
2608 - When we're explicitly setting the X/Y position of a non-Child
2609 window, let the WM know. Metacity really wants this.
2611 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2613 * ThemeNice.cs: Added CPDrawButton
2615 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2617 * ThemeNice.cs: Changed the color for focused buttons and activated
2618 the arrows for small scroll buttons.
2620 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2622 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
2623 anymore. Changed some method modifiers to protected (virtual)
2624 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
2626 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
2627 Updated drawing of menus, buttons and progressbars; added
2630 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2632 * ImageListStreamer.cs: implemented serialization/deserialization
2635 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
2637 * ThemeWin32Classic.cs:
2638 - Removed all the DrawFrameControl stuff; CPDrawButton,
2639 CPDrawCheckBox and CPDrawRadioButton are now handled directly
2641 - Updated and corrected the drawing code of CPDrawButton,
2642 CPDrawCheckBox and CPDrawRadioButton to better match ms
2643 - Updated theme checkbox and radiobutton code to use the CP*
2646 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2648 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
2651 2006-03-31 Jackson Harper <jackson@ximian.com>
2653 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
2655 * UpDownBase.cs: Don't CreateGraphics manually, use a
2656 Refresh. Ideally we would invalidate the correct areas here.
2658 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2661 - We now track the mapping state of windows. If a window (or
2662 one of it's parents) is not mapped we no longer permit
2663 WM_PAINT messages to be generated since we'd otherwise get
2664 lots of BadMatch X errors. Jackson did all the work figuring
2666 - Destroying the caret if the window it's contained in is
2667 destroyed. Can't use regular DestroyCaret method since it
2668 might fall into a drawing function (trying to remove the
2669 caret) and with that generate new BadMatch errors. Again,
2670 Jackson tracked this down.
2671 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
2672 make sure we send the messages to all windows. (The old code
2673 would send the WM_DESTROY to the window, and then all child
2674 windows would be 'gone' because the WM_DESTROY handle lookup
2675 would no longer find the destroyed window)
2676 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
2677 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
2679 2006-03-31 Jackson Harper <jackson@ximian.com>
2681 * ScrollableControl.cs: Dont recalc if we are not visible.
2683 2006-03-31 Mike Kestner <mkestner@novell.com>
2685 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
2686 the visibility branch.
2688 2006-03-31 Jackson Harper <jackson@ximian.com>
2690 * ScrollBar.cs: Cap values when incrementing/decrementing.
2692 2006-03-31 Mike Kestner <mkestner@novell.com>
2694 * MenuAPI.cs: setup menu.tracker for popup/context menus.
2695 * ToolTip.cs: guard against timer expirations with no active control.
2696 Not sure why it happened.
2698 2006-03-31 Mike Kestner <mkestner@novell.com>
2700 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
2702 * ToolTip.cs: Position the tooltip based on where the cursor is at
2703 popup time, not at MouseEnter time. Add a Down state so that we don't
2704 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
2705 positioning offset. Lookup DisplaySize at positioning time, since it
2706 can theoretically change during invocation.
2707 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
2708 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
2710 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2712 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
2713 Fixes behaviour when the Text property of the box is String.Empty
2715 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2717 * XplatUIX11.cs: Only send mouseleave for our client windows, not
2718 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
2721 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2723 * FileDialog.cs: Visual enhancement for the popup buttons in
2726 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2728 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
2731 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
2733 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
2734 highlighted menu items to match ms
2736 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
2738 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
2740 2006-03-30 Mike Kestner <mkestner@novell.com>
2742 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
2743 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
2744 go active to account for HotLight to Selected transition.
2745 * MenuItem.cs: add internal Selected prop. Fill out the Status
2746 property by calculating it from item info. Add HotLight,
2747 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
2749 2006-03-30 Mike Kestner <mkestner@novell.com>
2751 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
2753 2006-03-29 Jackson Harper <jackson@ximian.com>
2755 * Form.cs: Implement TODO.
2757 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2759 * PrintPreviewDialog.cs: Implemented missing methods and events; still
2760 missing proper dialog setup in the constructor
2762 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2764 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
2766 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
2767 - Fixed ResetBindings and removed TODO
2768 - Added check for cross-thread calls to get_Handle()
2769 - Added Marshaller attribute for set_Font to satisfy class status
2770 * FontDialog.cs: Removed TODOs that seemed implemented
2771 * UpDownBase.cs: Removed unneeded TODO and Fixme
2772 * MessageBox.cs: Implemented support for Default button and removed TODO
2773 * FileDialog.cs: Removed obsolete TODO
2774 * DomainUpDown.cs: Removed obsolete TODO
2775 * ButtonBase.cs: Removed obsolete TODO
2776 * XplatUIWin32.cs: Removed obsolete TODO
2778 - Removed obsolete TODO
2779 - Calling CheckAcceptButton when the acceptbutton is changed to allow
2780 internal status updates
2781 - Making sure the active control is selected when the control is created
2782 * CurrencyManager.cs: Removed obsolete TODO
2784 2006-03-29 Mike Kestner <mkestner@novell.com>
2786 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
2787 of PrintPreviewDialog and RichTextBox.
2789 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2791 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
2792 DarkDark, Light and LightLight colors for a specific color
2793 * ThemeWin32Classic.cs:
2794 - Use Button drawing code to draw RadioButtons and CheckBoxes with
2796 - Make use of the new ResPool helper CPColor
2797 - Draw ProgressBar and StatusBar with correct 3D borders
2799 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2801 * ColorDialog.cs: Return selected color. Fixes bug #77940.
2803 2006-03-28 Mike Kestner <mkestner@novell.com>
2805 * ListView.cs: fix Icon layout to plan for scrollbar widths when
2806 calculating col/row counts.
2808 2006-03-28 Mike Kestner <mkestner@novell.com>
2814 switch to explicit interface method implementation for some methods
2815 corcompare identifies as inconsistent with MS.
2817 2006-03-28 Mike Kestner <mkestner@novell.com>
2821 add a few missing methods from the class status output.
2823 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
2825 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
2828 2006-03-28 Mike Kestner <mkestner@novell.com>
2830 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
2832 2006-03-27 Mike Kestner <mkestner@novell.com>
2834 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2835 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2837 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2839 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2841 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2843 * ThemeWin32Classic.cs:
2844 - GroupBox: Inserted a little gap between the text and the lines
2846 - Made the code in CPDrawBorder3D more readable
2847 - Corrected the drawing location of the up and down arrows in
2850 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2852 * ControlPaint.cs: Corrected line widths in DrawBorder for
2853 ButtonBorderStyle Inset and Outset
2855 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2857 * ThemeWin32Classic.cs:
2858 - Rewrote the totally broken CPDrawBorder3D method. That was
2859 one of the main problems for the terrific ThemeWin32Classic
2861 - Updated and corrected Button drawing
2862 - Correct the dimensions of the SizeGrip to match ms ones
2863 - Removed a small drawing glitch in DrawComboBoxEditDecorations
2864 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
2865 Border3DStyle.Sunken to match ms.
2867 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2869 * ThemeWin32Classic.cs: First small part of the "de-uglify
2870 ThemeWin32Classic" effort, SizeGrip
2872 2006-03-24 Jackson Harper <jackson@ximian.com>
2874 * XplatUIX11.cs: Give a max idle time of one second, this matches
2875 MS and forces an Idle event every second when there are no other
2876 events in the queue.
2878 2006-03-24 Mike Kestner <mkestner@novell.com>
2880 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
2881 * ListView.Item.cs: fix layout issues with null image lists and images
2882 smaller than checkbox size.
2883 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
2884 mode like MS does. It's weird, but consistent. ;-)
2887 2006-03-24 Mike Kestner <mkestner@novell.com>
2889 * ListView.cs: Scroll wheel support for the item control. Fixes
2892 2006-03-23 Jackson Harper <jackson@ximian.com>
2894 * ScrollableControl.cs: Special case negative sized areas, not
2896 * MonthCalendar.cs: Save the rect of the clicked date so we can
2897 use it for invalidation.
2898 - Try to cut down on the number of invalidates
2899 - Invalidate the rect the mouse is over and was over when moving
2900 the mouse, so we get the focus box following the cursor.
2902 2006-03-23 Mike Kestner <mkestner@novell.com>
2904 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2905 focus rectangle drawing. Fixes #77835.
2907 2006-03-23 Mike Kestner <mkestner@novell.com>
2909 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2910 the if and else if and reverting back to the original == check on the
2913 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2915 * FontDialog.cs: Update the example panel if the selected index of
2916 the fontListBox changes.
2918 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2920 * FileDialog.cs: Make FileDialog remember which directory it was in
2921 last in the same execution.
2923 2006-03-22 Mike Kestner <mkestner@novell.com>
2925 * FileDialog.cs: make the DropDownMenu on the toolbar display
2926 RadioChecks since they are mutually exclusive and that's what MS does.
2928 2006-03-22 Mike Kestner <mkestner@novell.com>
2930 * Theme.cs: add Color param to CPDrawMenuGlyph.
2931 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2932 checks and radio marks and arrows are visible on highlighted items.
2933 * ControlPaint.cs: update to use new Theme signature.
2935 2006-03-22 Mike Kestner <mkestner@novell.com>
2937 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2938 is active. Fixes #77870.
2940 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2942 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2943 to be focused/selected after startup
2945 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2948 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2949 CustomColors and ShowHelp properties
2950 - Some internal rewrites to get better results when using the
2953 2006-03-22 Mike Kestner <mkestner@novell.com>
2955 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2956 HoverSelection. Fixes #77836.
2958 2006-03-22 Mike Kestner <mkestner@novell.com>
2960 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2961 ToggleButtons. (De)Sensitize the Back button around a stack count of
2962 1, not 0. Update ButtonSize based on a pixel count of the win32
2963 control. Adjust the toolbar size/location for new button size.
2965 2006-03-22 Jackson Harper <jackson@ximian.com>
2967 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2969 * ScrollBar.cs: When doing increments and decrements we need to
2970 set the Value property so that ValueChanged gets raised. A
2971 possible optimization here would be to make an internal SetValue
2972 that doesn't invalidate immediately.
2973 * ToolTip.cs: Tooltips get added to their container (when
2974 supplied) so they get disposed when the container is disposed.
2975 - Don't create tooltips for String.Empty. This prevents all these
2976 little 2-3 pixel windows from showing up when running nunit-gui
2978 * Form.cs: Don't set topmost when setting the owner if the handles
2979 haven't been created yet. The topmost set will happen when the
2980 handles are created.
2982 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2985 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2986 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2987 visible (to allow them to recalculate their sizes)
2989 2006-03-21 Mike Kestner <mkestner@novell.com>
2991 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2992 methods. Removed a ton of redundant code. Still not really happy with
2993 the border rendering, but I think that's mainly because of the
2994 ControlDarkDark being black instead of a dark grey. Depending on how
2995 close we want to be, we might want to revisit those color choices.
2996 Among the new features added during the refactor were DropDownArrow
2997 pressed rendering, Disabled image rendering. Proper flat appearance
2998 boundary rendering. Removed the Divider and Wrapping dividers since I
2999 can't figure out any combination of themes and conditions to make the
3000 MS control draw a horizontal line on a toolbar despite what the
3001 Divider property docs indicate.
3002 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
3003 conditions and incorrect layout. Updated to coding standard.
3004 * ToolBarButton.cs: refactored layout and positioning code from
3005 ToolBar to here. Invalidate wherever possible instead of forcing
3006 redraws of the whole toolbar.
3007 (Known remaining issues: explicit ButtonSize smaller than provided
3010 2006-03-21 Mike Kestner <mkestner@novell.com>
3012 * ContextMenu.cs (Show): use the position parameter instead of just
3013 showing at the MousePosition.
3015 2006-03-21 Jackson Harper <jackson@ximian.com>
3017 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
3018 control handle this.
3019 * TreeNodeCollection.cs: If we are clearing the root node we need
3020 to reset top_node so calcs can still happen.
3021 * ThemeWin32Classic.cs: This is a Flags so we need to check
3024 2006-03-21 Jackson Harper <jackson@ximian.com>
3026 * DataGrid.cs: Create columns when the binding context has been
3028 * X11Structs.cs: Keysyms are uints.
3029 - Add size to fix build.
3031 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
3033 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3035 - Added ResetMouseHover method to allow controls to retrigger
3036 hovering if they need it more than once
3037 - Implemented MouseHoverTime and MouseHoverSize properties
3038 * Timer.cs: Start() must reset the interval
3039 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
3042 2006-03-21 Jackson Harper <jackson@ximian.com>
3044 * X11Keyboard.cs: improved layout detection. Move the nonchar
3045 tables into this file.
3046 * KeyboardLayouts.cs: Move the tables into resource files.
3048 2006-03-21 Mike Kestner <mkestner@novell.com>
3050 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
3052 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
3054 * Mime.cs: Various speed optimizations. Looking up mime types
3055 is now 2 times faster than before
3057 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3059 * CreateParams.cs: Added internal menu field
3061 - Switched call order for UpdateBounds; now we always call
3062 the one that also takes ClientSize, and we're calculating the
3063 client size via driver method in the others. The previous
3064 method of tracking client size by difference wasn't working
3065 for forms where even the starting client size wouldn't match
3066 the overall form size (due to borders) (Part of fix for #77729)
3067 - CreateParams(): Do not use parent.Handle unless the handle is
3068 already created. Causes havoc with Nexxia and throws off our
3069 creation of controls
3071 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
3072 - Switched handling of ConfigureNotify over to new PerformNCCalc
3073 method (consolidates code)
3074 - Changed RequestNCRecalc to use new PerformNCCalc method
3075 - Added calls to RequestNCRecalc when menus and borders are changed
3076 to allow app to set NC size. (Part of fix for #77729) This matches
3077 when MS send a WM_NCRECALC on Win32 windows.
3078 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
3079 (Part of fix for #77729). This matches what MS does, they also
3080 send that message when the form is made visible.
3081 - XException.GetMessage: Improved usability of X errors by including
3082 a translation of the window into Hwnd and Control class
3083 - Improved debug info for window creation, reparenting and destruction
3084 - Created helper method WindowIsMapped() [Currently not used]
3085 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
3087 - CreateParams: Now setting our menu on the new internal menu field
3088 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
3089 avoid calculating the same property twice
3091 - Improved usability of ToString() for debugging purposes
3092 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
3093 determine the height of the menu, instead of just the font. This
3094 required to also create a graphics context and to keep a bmp
3095 around (for performance reasons)
3097 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3099 * MenuAPI.cs: Added OnMouseUp method
3101 - Now remembering the requested client size, avoids size errors
3102 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
3103 instead of base if the menu is active. This is required due to
3104 control now capturing and releasing on down/up and it would
3105 prematurely release our menu capture
3107 2006-03-17 Jackson Harper <jackson@ximian.com>
3109 * KeyboardLayouts.cs: Add the czech layouts.
3111 2006-03-16 Jackson Harper <jackson@ximian.com>
3113 * Control.cs: Use the viewport space when sizing not the controls
3114 client size, so things like ScrollableControl that effect the
3115 viewport size (when scrollbars are added) are computed correctly.
3116 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
3118 - Handle creating BindingManagers for null data sources.
3119 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
3120 source, otherwise when rows are added they are added to the 'fake'
3121 datasource and we will crash when trying to set the position in
3123 - Use Implicit scrollbars on the datagrid so they arent
3126 2006-03-16 Jackson Harper <jackson@ximian.com>
3129 * InternalWindowManager.cs:
3130 * MdiWindowManager.cs:
3131 * X11Keyboard.cs: I really want Mike to love me again (fix
3134 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3137 - OnMouseDown: Switch to editing mode when clicking on the cell
3138 even if we're clicking on the cell that's currently
3140 - ProcessGridKey: Left/Right now wrap like MS.Net does
3141 - ProcessGridKey: Tab now knows to add a new row when tab is
3142 pressed in the cell of the last column of the
3144 - ProcessGridKey: Enter now adds another row if pressed in the last
3145 row and selectes the new row, same column cell
3146 - ProcessGridKey: Home/End navigate columns, not rows, like
3147 originally implemented
3148 - Broke ProcessKeyPreview code out into an extra Internal method
3149 so it can be called from the edit code
3150 * DataGridTextBox.cs (ProcessKeyMessage):
3151 - Switched to accept Tab keypresses
3152 - Added F2 handling to allow jumping to the end of the edited cell
3153 - Added logic to allow moving caret left/right inside edited cell
3154 and making the edited cell jump when the caret hits cell borders
3155 - Tab and Enter are now passed to the datagrid after being handled
3157 - Removed capture code now that Control handles it
3158 - set_SelectionStart now ensures caret is visible
3160 2006-03-16 Jackson Harper <jackson@ximian.com>
3162 * TrackBar.cs: Debackwards the increment/decrement for handling
3163 mouse clicks on the bar with vertical trackbars.
3164 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
3167 2006-03-16 Mike Kestner <mkestner@novell.com>
3169 * ListView.cs: make shift/ctrl keyboard and mouse selection
3170 consistent with the MS control. Fix a bug in
3171 SelectedListViewItemCollection.Clear that was pissing me off for the
3172 better part of a day because the collection was being altered
3173 underneath us as we walked the list.
3175 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3177 * Control.cs: Not sure how we could miss this so long, but it seems
3178 that MS.Net has Capture set all the way from before calling
3179 OnMouseDown through sending the mouse events until after
3180 OnMouseUp. This will fix DataGrid's selection being set to end
3181 at the location of the MouseUp.
3183 2006-03-15 Jackson Harper <jackson@ximian.com>
3185 * BindingContext.cs: Check the binding after its added so that it
3186 can initialize the binding managers and hookup to events.
3187 * Binding.cs: Data members seem to sometimes include rows/cols in
3188 the format Row.Column we now take this into account.
3189 - Hookup to the position changed event so we can update the
3190 control when the position has changed in the data set.
3191 * CurrencyManager.cs: Take into account the row/col naming
3192 convention when creating dataset tables.
3193 * BindingContext.cs: Using a newer better way of storing
3194 datasource/datamember pairs. Hopefully this better matches MS for
3195 looking up binding managers.
3198 2006-03-15 Jackson Harper <jackson@ximian.com>
3200 * BindingContext.cs: The currency manager needs the data member
3201 name, if the member is a data set we use the name to find the
3203 * CurrencyManager.cs: When creating the list prefer an IList over
3205 - Attempt to create a DataTable from a DataSet (TODO: might need
3206 some better error checking here, although MS doesn't seem to have much)
3207 - If we have a DataTable create a view and use it as our list.
3209 2006-03-15 Mike Kestner <mkestner@novell.com>
3211 * ListView.cs: keep a matrix of the icon mode layout to facilitate
3212 keyboard navigation. Support Up/Down/Left/Right selection correctly
3213 for all 4 View modes.
3214 * ListViewItem.cs: add internal row/col fields for icon layouts.
3216 2006-03-15 Jackson Harper <jackson@ximian.com>
3218 * TabControl.cs: Redraw the tabs when we resize so their newly
3219 calculated sizes are drawn on screen.
3220 * X11Keyboard.cs: Begginnings of XIM support. We also now support
3221 composite characters.
3222 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
3223 - filter events so that composite characters can be created
3225 * X11Structs.cs: Add XIMProperties enum.
3227 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3229 * Control.cs (BringToFront, SendToBack): Don't use window or handle
3232 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3234 * Control.cs (PerformLayout): We don't need to consider visiblity
3235 for anchoring, only for docking. This fixes 'whacky' alignment
3236 in listbox and other controls that use implicit scrollbars after
3237 the previous PerformLayout patch
3238 * ListBox.cs: Switched to use implicit scrollbars
3240 2006-03-14 Mike Kestner <mkestner@novell.com>
3244 - chain up the "new event" overrides to base and use
3245 OnEvent to raise them. Part of fix for bug #76509.
3247 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
3249 * FileDialog.cs: Do not select an item in the parent directory
3252 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3254 * Control.cs (PerformLayout): It would seem that we considered
3255 invisible windows for our layout. Not quite the right thing
3256 to do. Now we don't any longer, thereby fixing bug #76889.
3258 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3260 * Control.cs (CanFocus): I goofed. A control can have focus
3261 even though it's not selectable. Made it match MS docs.
3263 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3265 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
3266 center by default (fixes #76895)
3267 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
3268 all uses of Border3DSides.All with the explicit ORd together
3269 Left|Right|Top|Bottom because I assume that nobody was aware
3270 that All also implies a center fill. Most places I checked had
3272 * ProgressBarStyle.cs: Added
3274 2006-03-13 Mike Kestner <mkestner@novell.com>
3276 * ListView.cs: fix breakage in drag shadow header positioning
3277 from Peter's csc compilation fix.
3279 2006-03-13 Mike Kestner <mkestner@novell.com>
3281 * ListView.cs: fix NRE produced by backspacing twice in a focused
3284 2006-03-13 Mike Kestner <mkestner@novell.com>
3286 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
3288 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3290 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
3292 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
3293 the allowed size before making programmatic size changes
3295 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3297 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
3298 set, metacity is broken and will still use the emty sizes in
3299 the struct. (Fix for #77089)
3301 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3303 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
3304 WindowExStyles and marked both enums as Flags
3305 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
3306 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
3307 to match WindowStyles split
3309 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
3310 - Updated to match WindowStyles split
3312 - Fixed FosterParent creation, was using ExStyle on the Style field
3313 (This should help with Popup focus issues)
3314 - Updated to match WindowStyles split
3316 2006-03-13 Jackson Harper <jackson@ximian.com>
3318 * MdiWindowManager.cs: Use the system menu height. Fixes some
3319 strange sizing issues.
3321 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3323 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
3325 - Scroll to caret after inserting text (#77672)
3326 - Make scroll range one pixel higher, fixes off-by-one error (and
3327 makes underlines visible on the last line)
3329 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3331 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
3332 the keyboard state from being stuck with keys in 'pressed' state when
3333 focus is switched away via keyboard
3334 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
3335 reset the keyboard if no X11 KeyUp events are expected to come
3336 * X11Structs.cs: Switched type of Visible to bool to match driver
3338 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3341 - Switched caret to be just 1 pixel wide, matches MS and looks less
3343 - Moved caret display 1 pixel down from the top of the control
3345 - InsertCharAtCharet: Update the selection start if moving the caret
3346 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
3347 - No longer always creating the caret when the caret methods are
3348 called. Only the actual ShowCaret/HideCaret will do that now
3349 - Only setting caret visible if the owner control has focus
3350 - UpdateView: Added invalidation-shortcut logic for center and right
3351 aligned text. Previously we'd update all according to the left
3352 logic which caused drawing errors. Also fixed height of invalidated
3353 areas, now properly invalidating the whole area (was off-by-one)
3354 - owner_HandleCreated: Always generate the document when the
3355 handle is created; this ensures that
3357 - Fixed situation where caret would disappear under the right
3358 window border, also improved scrolling behaviour on left-
3360 - Fixed right-aligned textboxes to have a border to the
3361 right instead of the caret being under the right border
3363 - Switched from 'nested' to simple visible/not visible tracking
3364 for caret (part of fix for #77671)
3365 - No longer passing through translated FocusIn/FocusOut messages
3366 since we were notifying too often and the wrong windows. Instead
3367 we just notify our focussed window of receiving or loosing focus
3368 * XplatUIWin32.cs: Switched from 'nested' show/hide
3369 counting for caret to simple visible yes/no behaviour (part of
3372 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3374 * Mime.cs: Remove debug code...
3376 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3378 * MimeGenerated.cs: Removed
3379 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
3380 and subclasses) from /usr/(local/)share/mime and
3381 $HOME/.local/share/mime.
3383 2006-03-10 Jackson Harper <jackson@ximian.com>
3385 * MdiWindowManager.cs: Recalc the NC area when a window is
3386 maximized/restored so that the menu area is drawn on forms that
3389 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3391 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
3392 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
3393 us to force a WM_NCCALCRESIZE message being sent. This is needed
3396 2006-03-10 Jackson Harper <jackson@ximian.com>
3398 * Form.cs: We need to use the ActiveMenu when calculating menu
3400 - Fix nullref when the window manager hasn't been created yet.
3401 * Control.cs: Fix nullref when we try to bring a control to the
3402 front that has no parent.
3403 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
3405 - Add a dummy item to the maximized menu so it always has the
3406 correct height. Otherwise when there are no menus we don't get our
3410 2006-03-10 Jackson Harper <jackson@ximian.com>
3412 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
3414 * Form.cs: Make the window_state internal so the window managers
3416 - When an MDI child is maximized let its window manager create the
3417 main menu (so it can add its icon).
3418 - Notify the window managers of state changes
3419 - Let the window manager paint its buttons and handle button
3420 clicks on the menu when it is maximized.
3421 * InternalWindowManager.cs: Move the prev_bounds into the mdi
3422 window manager, since tool windows don't use it, only mdi windows.
3423 - Tell the main form that we don't want it to handle NCPAINT
3424 itself to avoid extra painting.
3425 - Handle clicks on a maximized windows menu.
3426 - Handle window state changes
3427 - Handle minimize/maximize clicks correctly by setting the window state.
3428 * MdiWindowManager.cs: Add an icon menu that (the menu you get
3429 when clicking on the forms icon).
3430 - New method to create a forms maximized menu. This is its normal
3432 - Handle window state changes.
3433 - Handle sizing of maximized windows. Maximized windows are just
3434 drawn bigger then the parent visible area. All controls are still
3435 there, they are just outside the visible area (this matches windows).
3436 * MdiClient.cs: No scrollbars when a child window is maximized.
3437 - Let the children windows figure out how big they should be when
3438 sizing maximized windows.
3439 - Implement a version of ArrangeIconicWindows somewhat similar to
3440 Windows version. There are some little differences, but I don't
3441 think any app will rely on the layout of minimized mdi windows.
3443 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3445 * Padding.cs: Several fixes to allow compiling with csc 2.0
3447 2006-03-09 Jackson Harper <jackson@ximian.com>
3450 * MenuItem.cs: Cheap hack so we can add items to the list without
3451 the events being raised. This allows adding mdi items during
3452 drawing. TODO: Should probably find a better time to add the items.
3454 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3456 * ThemeWin32Classic.cs:
3457 - CheckBox_DrawText: Added logic to not wrap if not enough space
3458 is available (Fix for bug #77727)
3459 - RadioButton_DrawText: Added logic not to wrap if not enough
3460 space is available (Fix for bug #77727). Also removed some
3461 duplicate code, DrawString always drawing the regular text
3462 before hitting the if statement.
3464 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3466 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
3468 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3470 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
3471 * ContainerControl.cs: Partial implementation of some 2.0 scaling
3472 methods. Moved the new 2.0 properties into alphabetical order with
3473 other properties and added MonoTODO tags
3475 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3477 * AutoScaleMode.cs: Added. Fix build.
3479 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3481 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3482 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
3483 and was requiring premature handle creation for calls from above
3484 * Form.cs, Control.cs: Removed handle arguments from calls to
3485 CalculateClientRect()
3487 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3489 * ListView.cs (HeaderMouseMove): Fix csc compilation.
3490 drag_column.column_rect is MarshalByRef and can't be used that way
3492 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3494 * AxHost.cs: Added deserialization constructor for
3495 AxHost+State (fixes 77743)
3497 2006-03-09 Mike Kestner <mkestner@novell.com>
3500 - Added column drag reordering for details view.
3501 - fixed behavior when mouse is dragged off column and
3502 AllowColumnReorder is false.
3503 * ColumnHeader.cs: clone the format too in Clone.
3504 * Theme.cs: add DrawListViewHeaderDragDetails method.
3505 * ThemeWin32Classic.cs:
3506 - impl new method for drawing drag column shadows and targets.
3507 - support column offset for details mode in DrawListViewItem.
3509 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3511 * TextControl.cs: Reset the char_count when the document is cleared
3512 (Fixes bug reported on mono-winforms mailing list)
3514 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3516 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
3517 of calling base we simply process the key ourselves, since both
3518 DefWindowProc and the handled method would set m.Result.
3521 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3523 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
3524 method also moves the window; instead implemented a copy of
3525 Control.ScaleCore (Part of fix for #77456)
3527 - Created new CreateGraphicsInternal method to allow providing
3528 a graphics context when no handle is created without triggering
3529 handle creation. (Part of fix for #77456)
3530 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3532 - Switched Constructor to require TextBoxBase instead of Control (to
3533 allow uncast access to CreateGraphicsInternal)
3534 - Safeguarded use of owner.Handle property. No longer accessing it
3535 unless the handle is already created.
3536 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3537 - Now triggering a recalc when owning control becomes visible
3538 * TextBox.cs, RichTextBox.cs: Switched to use new internal
3539 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
3540 premature handle creation (Part of fix for #77456)
3542 - We now only destroy our double-buffering buffers when the
3543 control is resized or disposed, but not when visibility
3544 changes. (The code even re-created them twice every time)
3545 - Now requiring a redraw of the buffer on visibility changes
3546 (fixes bug 77654 part 2)
3547 - Not passing OnParentVisibleChanged up unless the control
3549 - CanFocus: Fixed to match MS documentation
3550 - Focus: Fixed to return actual focus state and to check if
3551 setting focus is legal before setting it
3553 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
3555 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
3556 when to draw focus rectangle by looking at parent focus and
3557 selected state instead. This fixes TabPages on Linux sometimes
3558 having none or multiple focus rectangles.
3559 * XplatUIX11.cs (SetFocus):
3560 - Don't set the focus if the same window already has focus
3561 - Use SendMessage instead of PostMessage (like it's Win32
3562 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
3563 to match MS behaviour
3564 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
3567 2006-03-07 Jackson Harper <jackson@ximian.com>
3569 * PictureBox.cs: Revert line I accidently committed last week.
3571 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
3574 - Added new IsRecreating and ParentIsRecreating properties to
3575 allow testing if RecreateHandle has been called on ourselves
3576 or one of our parents
3577 - WndProc(WM_DESTROY): If our control handle is being recreated
3578 we immediately need to create the handle when receiving the
3579 destroy, that way our child windows find a valid parent handle
3580 when they themselves are being recreated upon WM_DESTROY receipt
3581 (fix for bug #77654 part 1)
3583 - DestroyWindow: WM_DESTROY must be sent to our own window before
3584 notifying any child windows. MS documents that child windows
3585 are still valid when WM_DESTROY is received. (Control now relies on
3587 - Added some fine-grain debug options
3589 2006-03-06 Jackson Harper <jackson@ximian.com>
3591 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
3592 box and base calculations off this.
3593 * MdiChildContext.cs:
3594 * MdiWindowManager.cs: Don't need to ensure scrollbars here
3597 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
3599 * Splitter.cs: In situations where the affected control is added
3600 to the parent's control list after the splitter, we would not
3601 populate affected. Now we try populating it on mousedown, if
3602 it's not already set, and force it to be re-set whenever our
3605 2006-03-03 Matt Hargett <matt@use.net>
3607 * Control.cs: implement Control.Padding
3608 * Padding.cs: -Padding.All returns -1 when constructing with the
3609 implicit default ctor
3610 -Padding.ToString() matches MS.NET
3611 * ContainerControl.cs: implement
3612 ContainerControl.AutoScaleDimensions
3613 * ListControl.cs: implement ListControl.FormattingEnabled
3614 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
3616 * TabPage.cs: Implement UseVisualStyleBackColor.
3617 * PictureBox.cs: Implement PictureBox.InitialImage.
3619 2006-03-03 Mike Kestner <mkestner@novell.com>
3621 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
3622 event declarations to proxy to base event.
3623 * ListViewItem.cs: update to use ItemControl.
3624 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
3625 * ThemeWin32Classic.cs: update to new ListView theme API and fix
3626 column header label rendering for 0 width columns.
3628 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
3630 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
3631 that causes the control to be created. Fixes #77476.
3633 2006-03-02 Jackson Harper <jackson@ximian.com>
3635 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
3638 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
3640 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
3641 passed in for the EventArgs (fixes #77690)
3643 2006-03-01 Jackson Harper <jackson@ximian.com>
3645 * ScrollBar.cs: Refresh afterbeing resized.
3647 2006-02-28 Mike Kestner <mkestner@novell.com>
3649 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
3650 Clean up a tracker compile warning.
3651 * MenuItem.cs: add internal PerformPopup method.
3654 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3656 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
3657 implicit expose) when the text is set to null
3659 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3661 * RichTextBox.cs (FlushText): When newline is true, we always
3662 need to split the line, even if no text is on it and we may
3663 never eat newlines. (Fixes #77669)
3665 2006-02-28 Mike Kestner <mkestner@novell.com>
3667 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
3668 and set Selected instead.
3669 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
3672 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3674 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
3676 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
3679 - Got rid of the panel. All controls are now directly added to
3681 - It is now possible to set a font with the Font property
3682 - MinSize and MaxSize property do now what they should
3683 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
3684 - Searching and selecting a font with the font textbox works now,
3685 the same applies to the style and size textbox
3686 - Draw the correct 3D border in the example panel
3687 - Fixed a little mem leak (unused fonts didn't get disposed)
3688 - Many other internal updates/rewrites...
3691 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3694 - InsertRTFFromStream: Added 'number of characters inserted' argument
3695 - set_SelectedRTF: Now using the number of characters to calculate
3696 the new location for the selection and cursor (x/y cannot be used
3697 due to potentially already wrapped text)
3699 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3701 * TextControl.cs: Added property and implemented means to allow
3702 disabling recalculation of a document (can be used to speed up
3703 multiple inserts and is needed to make RTF inserts predictable, see
3705 * RichTextBox.cs: Using the new NoRecalc property of Document to
3706 keep x/y insert locations predictable. Also makes it faster inserting
3709 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3711 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
3712 it's easier for a child control to handle the other messages without
3713 having to duplicate the special functionality
3715 - WndProc: Removed calling base handler for WM_KEYDOWN and added
3716 code to handle processing the key ourselves, in order to get
3717 access to the result of KeyEventArgs.Handled. We now only call
3718 ProcessKey if they key hasn't been handled already. Fixes #77526.
3719 - set_Text: If null or empty string is given, just clear the
3720 document. Fixes part of #77526
3722 2006-02-27 Jackson Harper <jackson@ximian.com>
3724 * SizeGrip.cs: Paint the background color before painting the grip
3725 so things look right.
3726 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
3728 2006-02-27 Mike Kestner <mkestner@novell.com>
3731 - Restructure layout and invalidation model to remove a ton of
3732 flicker from the control and speed up performance in general.
3733 - Add manual column resize, flickers like crazy, but I already have
3734 some ideas on how I'll fix that. (#76822)
3735 - Merge the three Icon-based views into a single layout method.
3736 - Move item selection interaction logic from the item since
3737 interaction with the collections is more appropriate to the view.
3738 - Deselection on non-item clicks.
3740 - Encapsulate most of the layout. Add some internal props to trigger
3741 layout. Move to a model where Items invalidate themselves instead
3742 of just invalidating the whole control every time something changes.
3743 - Invalidate on Text/Caption changes.
3744 - switch to an offset based layout model to avoid having to absolute
3745 position every element on item moves.
3746 - correct checkbox layout to conform to MS layout.
3747 * ThemeWin32Classic.cs:
3748 - refactor some column header drawing code.
3749 - fix string justification for column headers (#76821)
3750 - make SmallIcon labels top justified for compat with MS impl.
3751 * ThemeClearlooks.cs:
3752 - adjust to new ListViewItem internal checkbox bounds api.
3754 2006-02-27 Jackson Harper <jackson@ximian.com>
3756 * Control.cs: Change where implicit controls fall in the zorder.
3757 They are now on top of all children.
3758 - Synced AddImplicit code with Add
3759 - Removed unused enumerator.
3760 * SizeGrip.cs: Remove the TODO as its been TODONE.
3762 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3764 * TextControl.cs(Insert): Combine the last lines unless the insertion
3765 string ends with \n\n, otherwise we leave one line too many (Fixes
3766 something I noticed with the testapp for #77526; the bug itself was
3767 already fixed in the previous checkin)
3769 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3772 - SelectionColor and SelectionFont methods no longer set absolute
3773 styles. Instead, the keep font or color respectively (This
3774 resolves a long-standing FIXME in the code)
3775 - When flushing RTF text, the insert code now considers text trailing
3776 behind the insertion point (Fixes the bug where when replacing
3777 the selected text via SelectedRTF the remainder of the line behind
3778 the selection would stay on the first insertion line)
3780 - AppendText now updates the selection points after inserting text
3781 - AppendText now ensures that the last tag (sometimes 0-length) of
3782 the document is used for the style information (Fixes part of
3785 - Created new FontDefiniton class to allow describing partial style
3787 - StreamLine() now takes a lines argument, to allow it to decide
3788 whether an encountered zero-length tag is the last in the document
3789 (which must be kept to not loose the font/color contained in it,
3791 - Created Combine() and Split() methods for Marker structs, to
3792 support marker updates due to reformatted documents (soft line
3794 - Implemented Document.CaretTag setter
3795 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
3796 of the last line (Not the cause, but also exposed by bug #77220)
3797 - Added LineTag argument to InsertString method, to allow callers
3798 to force a certain tag to be used (required to force use of the
3799 trailing zero-length tag of a document)
3800 - Now updating markers in Combine(), to avoid stale tag markers
3801 - Added some method descriptions to aid maintenance
3802 - Implemented new FormatText concept, allowing additive/subtractive
3803 formatting by only specifying the components that are to be
3804 changed. This was needed for resolving the RTB.SelectedColor/
3805 RTB.SelectedFont fixmes
3806 - Added Break() support method to allow breaking up linetags (used
3807 for partial formatting)
3808 - Added GenerateTextFormat() method. It is used for partial
3809 formatting and allows to generate a full font/color from given
3810 attributes and an existing tag.
3812 2006-02-26 Jackson Harper <jackson@ximian.com>
3814 * XplatUIX11.cs: Use the correct caption height.
3815 - Translate hittest coordinates to screen coords to match MS.
3816 * XplatUIWin32.cs: When we create MDI windows we need to reset
3817 some of the style flags, so we get a nice blank window, and can
3818 draw all the decorations ourselves.
3819 - Set a clipping rectangle on the non client paint event, the
3820 window manager drawing code needs one.
3821 * Form.cs: The window manager needs to know when the window state
3823 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
3824 don't need to factor in border and title sizes in these
3825 methods. TODO: Remove the args and fix the call points.
3826 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
3828 - Let the driver set the cursors.
3829 - Improve active window handling
3830 - Correct sizes for title bars and buttons.
3831 - Match MS drawing better
3832 * MdiWindowManager.cs: We don't need to handle border style
3833 updates specially anymore.
3834 - Check for scrollbars when windows are done moving
3835 - Handle Active properly.
3836 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3837 correctly. I am spewing the exception though, so we don't hide the
3840 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3842 * DataGridViewRowPostPaintEventArgs.cs,
3843 DataGridViewCellPaintingEventArgs.cs,
3844 DataGridViewRowCollection.cs,
3845 DataGridViewRowPrePaintEventArgs.cs,
3846 DataGridViewCell.cs: Clear a few warnings and implement a few
3847 exceptions that should be thrown.
3849 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3851 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3852 'inheriting' our parent's (non-default) cursor. (Part of
3855 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3857 * XplatUIX11.cs: Fixed cast to make csc happy
3859 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3861 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
3862 it's for the client area (part of fix for #77479 and needed
3863 for MDI window cursor handling)
3865 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
3866 the appropriate default cursors and also passing the message
3868 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
3869 for non-client areas
3871 2006-02-15 Jackson Harper <jackson@ximian.com>
3873 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
3874 is a real MDI window
3876 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
3878 * X11DesktopColors.cs: Instead of checking the desktop session
3879 string for "KDE" check if it starts with "KDE"
3881 2006-02-10 Jackson Harper <jackson@ximian.com>
3883 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
3886 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3888 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3891 - Got rid of the panel. All controls are now directly added to
3893 - Changed to mono coding style
3895 2006-02-10 Jackson Harper <jackson@ximian.com>
3897 * InternalWindowManager.cs: We don't need the set visibility to
3898 false hack anymore now that peter has written beautiful shutdown
3901 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3903 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3904 where already explicitly destroyed
3906 2006-02-10 Jackson Harper <jackson@ximian.com>
3908 * MdiClient.cs: Handle the case where windows are too high or to
3909 the left and we need scrollbars.
3911 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3913 * MimeIcon.cs: Added some icons
3916 - Got rid of the panel. All controls are now directly added to
3918 - Changed to mono coding style
3919 - On Linux "My Computer" and "My Network" will now show some
3920 more usefull information. A new class, MasterMount, gathers
3921 this information from /proc/mount. Updated MWFFileView to make
3922 use of this information
3923 - Fixed a bug that caused FileDialog to crash when
3924 ".recently_used" file had a zero size
3925 - FilterIndex does now what it should
3927 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3930 2006-02-09 Jackson Harper <jackson@ximian.com>
3932 * ComboBox.cs: Don't touch if null.
3934 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3936 * Cursor.cs: 64bit safeness fix
3937 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3939 2006-02-09 Jackson Harper <jackson@ximian.com>
3941 * Form.cs: If a form is made into an MDI form update the styles so
3942 all the props can get set correctly.
3943 - Kill the mdi_container when we dont need it anymore.
3944 * InternalWindowManager.cs: Add missing NOT
3946 2006-02-08 Jackson Harper <jackson@ximian.com>
3948 * InternalWindowManager.cs: Respek clipping when drawing MDi
3951 2006-02-08 Jackson Harper <jackson@ximian.com>
3953 * Hwnd.cs: Add bits to track non client expose events.
3954 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3955 gives us a proper invalid rect and will allow for some nice
3956 optimizations with NC client drawing
3957 - MDI windows are children windows, so move their style handling
3958 into the child window block.
3959 * InternalWindowManager.cs: Remove a state reset that was
3960 getting invoked at the wrong time. Fixes managed windows getting
3961 into a 'stuck' captured state.
3963 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3965 * TextControl.cs (Document.ctor): Now initializing
3966 selection_anchor. Fixes #77493
3968 2006-02-07 Jackson Harper <jackson@ximian.com>
3970 * TrackBar.cs: The increment/decrements were backwards.
3972 2006-02-07 Mike Kestner <mkestner@novell.com>
3974 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3975 to the instance itself.
3977 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3979 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3980 on ulongs and pointers, the size differs between 32bit and 64bit
3983 2006-02-07 Mike Kestner <mkestner@novell.com>
3985 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3986 for 64 bit platforms to work around a metacity bug.
3988 2006-02-07 Jackson Harper <jackson@ximian.com>
3990 * TrackBar.cs: Process the input keys we need, and hookup to
3991 KeyDown instead of using WndProc, so we get key messages.
3993 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3995 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3997 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3998 we need to translate the XdndVersion atoms array before sending it
4000 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
4003 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
4004 number of bits for the property, not the number of bytes. The
4005 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
4006 but would not crash since it specified 8 bits instead of 4 bits)
4007 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
4008 defined as XID -> long in the C headers)
4009 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
4010 references since those are now IntPtr to begin with
4011 - Switched all Atom.XXX 'int' casts to IntPtr casts
4012 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
4013 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
4014 - Added XChangeActivePointerGrab DllImport (for X11DnD)
4016 - Changed 'int' type for Atoms in XEvent structures to IntPtr
4017 - Changed atom in HoverStruct to be IntPtr
4019 - Removed local DllImports, switched code to use those from XplatUIX11
4020 - Removed/fixed casts related to the switch of Atom to be a IntPtr
4022 2006-02-06 Mike Kestner <mkestner@novell.com>
4024 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
4025 method signatures in the import region. There may still be some
4026 lingering struct marshaling issues, as I didn't drill down into those.
4029 2006-02-06 Jackson Harper <jackson@ximian.com>
4031 * ComboBox.cs: Dont manually set the top_item, this is computed
4032 when the scrollbar position is set.
4034 2006-02-06 Mike Kestner <mkestner@novell.com>
4036 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
4037 startup crashes on amd64. There's other fixes needed. All pinvoke
4038 usage of Atom needs to be mapped to IntPtr for example. And there are
4039 likely other int/long issues to be addressed.
4041 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
4043 * FileDialog.cs: One more...
4045 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4047 * FileDialog.cs: Next try
4049 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4051 * FileDialog.cs: First part of fix for #77464
4053 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4055 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
4056 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
4057 AcceptButton border drawing.
4059 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4061 * Form.cs: Moved positioning of form after auto scaling is applied,
4062 otherwise it would possibly use wrong form size.
4064 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4066 * Control.cs (RecreateHandle): No need to re-create any child
4067 controls, the child windows will get destroyed automatically by
4068 the windowing system or driver, and re-created when the handle
4069 is being accessed the first time. Fixes #77456
4070 * Form.cs: No longer setting the form to closing if the handle is
4071 being recreated. This seems like the right thing to do, don't
4072 have a bug or testcase for this, though.
4074 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4076 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
4077 controls to avoid unwanted side effects
4079 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4082 - ScaleCore needs to scale the bounds, not the ClientSize of the
4083 control. Fixes #77416.
4084 - DefaultSize is 0,0 for control
4086 - DefaultSize is 100, 20
4087 - SetBoundsCore: Now enforcing the height, no matter if the provided
4088 height is more or less than the preferred one, as long as AutoSize
4090 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
4092 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4095 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
4096 call unless both performLayout is true *and* we have a pending
4098 - ResumeLayout: MS does not completely nest Suspend and Resume,
4099 they bottom out at 0, fixed our code to match that.
4100 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
4101 SetBoundsCore, we were updating even when we shouldn't. This fixes
4102 swf-anchors mis-anchoring when resizing the app fast and lots.
4103 - UpdateDistances: Now only setting the left and top distance if
4104 we have a parent and are not suspended, this is based on
4105 a suggestion by Don Edvaldson in bug #77355.
4106 - OnVisibleChanged: Fixed logic when to create the control. We may
4107 not create the control if we have no parent or if it's not visible;
4108 switched to using Visible property instead of is_visible field
4109 since the property also considers parent states. This fixes a bug
4110 when starting Paint.Net
4112 2006-02-02 Jackson Harper <jackson@ximian.com>
4114 * Form.cs: If the forms handle hasn't been created yet don't call
4115 into xplatui to make it top most, just set the topmost flag on the
4116 form in CreateParams
4117 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
4119 2006-02-01 Jackson Harper <jackson@ximian.com>
4121 * ScrollableControl.cs: Refactored the Recalculate method a
4122 little, this wasn't handling all the variants of bottom and right
4123 bars needed to be added and added/removed based on their
4124 counterparts being added/removed (which changes the drawable
4125 size). Also we special case client widths and heights of 0 and
4126 don't add the scrollbar for those.
4128 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
4131 - Added method to get AbsoluteGeometry(); currently unused, but might
4132 be used in the future, if we try again to figure out toplevel
4133 coordinates with some more crappy window managers
4134 - Added FrameExtents() method to retrieve the WM set decoration size
4135 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
4136 to deal with at least KDE, FVWM and metacity (Fixes #77092)
4138 - Added whacky_wm tracking var for metacity
4139 - Added logic to have default menu height if the actual menu height
4140 has not yet been calculated (part of fix for #77426)
4141 * Form.cs: Keep track whether client size has been set and re-set
4142 it if a menu is added/removed afterwards (Fixes #77426)
4144 2006-01-31 Jackson Harper <jackson@ximian.com>
4146 * Control.cs: When a new Site is set on the component attempt to
4147 pull the AmbientProperties from it.
4149 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
4151 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
4152 in the background of the owning form. Fixes #77332
4154 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4156 * MimeIcon.cs: Fix for #77409
4158 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4160 * XplatUIX11GTK.cs: Initial import
4162 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
4164 * FixedSizeTextBox: fixes class signature
4166 2006-01-30 Jackson Harper <jackson@ximian.com>
4168 * FixedSizeTextBox.cs: New internal class that represents a
4169 textBox that will not be scaled.
4172 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
4175 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4177 * XplatUIX11.cs: Retrieve default screen number instead of
4178 assuming 0. Attempted fix for #77318
4180 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4183 - GetWindowPos: When a window is parented by FosterParent, use
4184 the desktop instead of FosterParent as the base to get coordinates
4185 - CreateWindow: Don't make FosterParent the parent window for Popups
4186 if we don't want a taskbar entry, Popups automatically don't get one
4187 * Hwnd.cs: Need to call remove to actually remove the key from the
4190 2006-01-30 Mike Kestner <mkestner@novell.com>
4192 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
4194 2006-01-30 Jackson Harper <jackson@ximian.com>
4197 * TreeNode.cs: Raise events no matter how the treenode is
4198 checked. Patch by Don Edvalson.
4200 2006-01-30 Jackson Harper <jackson@ximian.com>
4202 * TreeNode.cs: Signature fix.
4204 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
4206 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
4208 2006-01-20 Mike Kestner <mkestner@novell.com>
4210 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
4211 event forwarding when menus are active.
4212 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
4213 Most of the patch is pdb's with a little rework.
4215 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4217 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
4218 Removed GetMenuDC and ReleaseMenuDC methods; replaced
4219 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
4220 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
4221 * InternalWindowManager.cs: Added use of PaintEventStart/End to
4222 handling of WM_NCPAINT message, now passing the PaintEventArgs to
4223 the PaintWindowDecorations method
4224 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
4225 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
4226 * MenuAPI.cs: Made tracker window invisible
4228 - Removed GetMenuDC and ReleaseMenuDC methods
4229 - Implemented the client=false path for PaintEventStart and
4232 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4234 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
4235 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
4238 - MaximizeBox, MinimizeBox: Recreate the handle when setting
4240 - CreateParams: Reworked the styles to match MS look'n'feel,
4241 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
4242 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
4244 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4246 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
4247 window is not mapped, since otherwise every form that's being
4248 created is considered minimized, which is wrong.
4249 * Form.cs: Catching the exception and returning our internal value
4252 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4254 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
4255 SetWindowMinMax() to have means to tell the driver about the minimum,
4256 maximum and maximized state window sizes. (Part of the fix for #76485)
4258 - Implemented tracking of minimum and maximum window size, now calling
4259 new SetWindowMinMax() driver method to tell the driver (Part of the
4261 - Finished handling of WM_GETMINMAXINFO method, now setting all values
4262 (Completes fix for #76485)
4263 - Calling new SetWindowMinMax driver method when the handle for a
4264 form is created, to make sure the driver knows about it even if
4265 the values have been set before the window was created
4266 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
4267 to avoid messing up our anchoring calculations (partial fix
4269 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
4271 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
4272 - Improved GetWindowState() to detect 'Minimized' state on Metacity
4273 (and presumably other freedesktop.org compliant WMs). Left the
4274 assumption unmapped=minimized, needed for SetVisible to work.
4275 - Now setting the window state when creating windows
4276 - Fixed SetVisible to consider/set the window state when mapping
4277 a Form. We cannot set the state before it's mapped, and we cannot
4278 use Form.WindowState once it's mapped (since it would ask the
4279 driver and get 'normal'. Therefore, we grab the state before
4280 mapping, map, and then set state.
4281 - Implmemented SetWindowMinMax method; Metacity does not seem to
4282 honor the ZoomHints, though.
4284 - Removed MINMAXINFO (moved to XplatUIStructs)
4285 - Added SetWindowMinMax stub (on Win32 the only way to set that
4286 information is in response to the WM_GETMINMAXINFO message, which
4287 is handled in Form.cs)
4288 - Added logic to SetVisible to set the proper window state when a
4289 form is made visible (fixes #75720)
4291 2006-01-26 Jackson Harper <jackson@ximian.com>
4293 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
4294 same way we handle them with Invoke.
4296 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
4299 - Added tracking of window state so CreateParams can return
4300 the appropriate style
4301 - Moved setting of WS_CAPTION style in CreateParams to allow
4302 styles without caption
4303 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
4304 control if the TextBox property is accessed. Fixes #77345
4306 - get_Created: now uses is_disposed and is_created to determine
4307 return value (suggested by Jackson)
4308 - CreateHandle: No longer exits if the handle is being recreated
4309 - RecreateHandle: If the handle is not yet created call the
4310 appropriate method to create either control or handle. If the
4311 control is already created CreateHandle will simply exit instead
4312 of just creating the handle
4313 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
4314 now SendMessage WM_DESTROY directly to the control when DestroyWindow
4317 - When DestroyWindow is called, instead of waiting for the
4318 DestroyNotification from X11, we directly post it to the WndProc
4319 and immediately dispose the hwnd object.
4320 Same applies to DestroyChildWindows, and this obsoletes the
4321 expose_pending tracking. Contrary to Win32 behaviour we destroy our
4322 child windows before our own, to avoid X11 errors.
4323 - Removed the direct sending of WM_PAINT on UpdateWindow
4325 - Reworked DoEvents and GetMessage to allow access to internal queue
4326 even when trying non-blocking access to the queue. Fixes #77335.
4327 Based on a patch suggestion by Don Edvalson. The new private
4328 GetMessage can now also be used as a backend for a PeekMessage
4330 * XplatUI.cs: Improved debug output for CreateWindow
4332 2006-01-25 Jackson Harper <jackson@ximian.com>
4334 * Help.cs: Allow param to be null. Patch by Don Edvalson.
4336 2006-01-24 Jackson Harper <jackson@ximian.com>
4338 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
4339 when we have a MaxDropItems lower then the selected index.
4341 2006-01-24 Jackson Harper <jackson@ximian.com>
4343 * Control.cs: Don't allow selection of non visible controls, allow
4344 selection of controls without parents.
4346 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4348 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
4349 * DataGridDrawingLogic.cs: Add editing row only when is necessary
4351 2006-01-23 Jackson Harper <jackson@ximian.com>
4353 * UpDownBase.cs: Make the textbox handle all the selection and
4354 tabbing. This fixes tabing to updown controls.
4356 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4358 * TextBoxBase.cs: fixes exception thown the object was null
4360 2006-01-23 Jackson Harper <jackson@ximian.com>
4362 * ButtonBase.cs: Just use the base CreateParams. They set
4363 visibility and enabled correctly.
4366 * MonthCalendar.cs: Lets let the base set as much of the
4367 createparams as possible so we don't have duplicate code all over
4370 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
4372 * ThemeGtk.cs: Added TrackBar and some experimental code to
4373 get double buffering back
4375 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
4377 * DataGrid.cs: Allows row number set internally higher than the last
4378 when creating a new row. Restores the editing functionality.
4380 2006-01-20 Mike Kestner <mkestner@novell.com>
4382 * MimeIcon.cs: delay Image creation until the icons are accessed
4383 instead of creating 190 scaled images on GnomeHandler startup.
4385 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4387 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
4388 first call base before processing the event. Fixes #77279
4390 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4392 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
4393 that the stride for the GDI bitmap would match the stride of
4396 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
4398 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
4400 2006-01-19 Jackson Harper <jackson@ximian.com>
4402 * ComboBox.cs: Hookup the text controls keydown event so we get
4403 those when the text control has the focus.
4405 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4407 * Label.cs: Now using the base events instead of defining new ones;
4408 this allows us to just call the base properties without having to
4409 duplicate all base property logic
4411 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4413 * Label.cs: A label by default is not a tabstop (Fixes one of our
4414 failing nunit tests)
4416 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4418 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
4419 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
4421 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4423 * Cursor.cs: Reimplemented creating cursor bitmaps without using
4424 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
4427 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
4428 constructor creates images that can't be saved. Part of the fix
4430 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
4431 - SetWindowState: Switched ShowWindow flags (part of an upcoming
4432 bug fix for handling window state in forms properly)
4434 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4436 * ThemeGtk.cs: Simplify ScrollBar drawing
4438 2006-01-18 Jackson Harper <jackson@ximian.com>
4440 * Splitter.cs: Set the default dock style for the splitter control
4443 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4445 * ThemeGtk.cs: Corrected StateType and ShadowType for
4448 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4450 * Control.cs: Make use of Theme.DoubleBufferingSupported
4452 - Added drawing for flat style buttons
4453 - Added ScrollBar drawing
4455 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4457 * ThemeClearlooks.cs: Removed some unneeded code.
4458 * ThemeGtk.cs: First part of ThemeGtk enhancements.
4460 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4462 * LinkLabel.cs: We need to update the hover drawing when
4463 leaving the control as well.
4465 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
4467 * DataGrid.cs: Clicking on non empty areas in the columns
4468 area was giving an exception
4470 2006-01-17 Jackson Harper <jackson@ximian.com>
4472 * ThemeWin32Classic.cs:
4473 * ListView.cs: Do not draw/clip the headers when the header style
4476 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4478 * DataGrid.cs: Fixes 77260
4480 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4482 * DataGrid.cs: Clicking on a column on a empty grid was giving
4485 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4487 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
4488 or any keypress will crash the grid.
4490 2006-01-17 Mike Kestner <mkestner@novell.com>
4492 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
4493 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
4494 invisible/previously-visible items.
4497 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
4499 * ThemeClearlooks.cs:
4500 - Added CL_Draw_Button method; now other theme controls that are
4501 not derived from button or do not have a button can draw buttons
4503 - Updated ComboBox drawing
4504 - Beautified RadioButton drawing
4505 - Corrected drawing of bottom and left tabs
4506 - Beautified DateTimePicker and MonthCalendar
4507 - Added CPDrawButton and CPDrawRadioButton
4509 2006-01-16 Jackson Harper <jackson@ximian.com>
4511 * ComboBox.cs: Set the initial value of the scrollbar to the
4512 current index. Reduce the numbers of refreshs and IndexOfs called.
4514 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
4516 * FileDialog.cs: When the file listview is focused hitting the
4517 backspace key moves the fileview to the parent directory
4519 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4522 - Added RecreateHandle call when changing taskbar visibility to
4523 trigger reparenting in Win32 driver (Fixes #75719)
4524 - If a window has minimize or maximize buttons, it cannot have
4527 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
4528 the toplevel form with FosterParent (A toolwindow not on the
4529 taskbar) (Fixes #75719)
4530 - Made FosterParent a toolwindow
4532 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4534 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
4536 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4538 * ToolTip.cs: If SetToolTip is called from a control and the mouse
4539 is currently over that control, make sure that tooltip_window.Text
4542 2006-01-13 Mike Kestner <mkestner@novell.com>
4544 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
4546 2006-01-13 Jackson Harper <jackson@ximian.com>
4548 * TreeView.cs: On MS GetNodeAt never actually factors in the X
4549 value passed. Also redraw the selected node when we recieve
4550 focus, so tabbing between trees works correctly.
4552 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4554 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
4555 ~/.gconf/%gconf-tree.xml, so use
4556 .gconf/desktop/gnome/interface/%gconf.xml
4558 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4560 * TextControl.cs: Draw text in gray if control is disabled
4562 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4564 * TreeView.cs: Draw the focus rectangle outside the highlight, to
4565 make sure it's always visible. Fixes #76680.
4567 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4569 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
4571 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
4573 * PageSetupDialog.cs: Added.
4574 * PrintDialog.cs: Attributes.
4575 * PrintPreviewControl.cs: Updates.
4576 * PrintPreviewDialog.cs: Updates.
4578 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4580 * Control.cs: Undid my selection check fix, since it's not needed
4582 - Now considering the presence of hscroll/vscroll when sizing
4583 vscroll/hscroll respectively. Fixed bug #77077
4584 - Added Left/Up/Down/Right to IsInputKey list to prevent
4585 ContainerControl from stealing them. This fixes what I broke
4586 with my last checkin.
4588 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4590 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
4591 I finally understand how the property can be set without a setter :-)
4593 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4596 - Switched RunLoop to use static Message.Create to create a
4598 - Added PreProcessMessage call in runloop for keyboard events; this
4599 is part of the fix for #77219, I overlooked this originally in the
4600 MSDN doc for PreProcessMessage
4602 - Removed call to PreProcessMessage from handling of keyboard
4603 messages; it's supposed to be done in the message pump
4604 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
4605 per MSDN documentation.
4606 - IsInputChar: All chars are input chars by default; removed the
4607 parent calling chain, MS does not document that
4608 - PreProcessMessage: If IsInputChar is true, we want to return false
4609 to allow dispatching of the message
4610 - When selecting the next control, now also check that we're not
4611 selecting ourselves again and therefore return a false positive.
4613 - Tried to match return values for IsInputKey and ProcessDialogKey
4614 to what MS returns; moved processing of our special keys outside
4615 ProcessDialogKey since MS does not seem to return true on those.
4616 - Moved code that previously was in ProcessDialogKey into new private
4617 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
4618 - Reworked handling of WM_CHAR to not have to duplicate code from
4619 Control.cs anymore, instead we simply call down to base.
4621 2006-01-12 Jackson Harper <jackson@ximian.com>
4623 * ComboBox.cs: We always need to refresh the text area when
4624 EndUpdate is called. Fixes the combobox in the file dialog.
4625 * Control.cs: Don't create the creator_thread until the controls
4626 handle is created. Also in InvokeRequired we check if the
4627 creator_thread is null. This gives the effect of InvokeRequired
4628 returning true if the controls handle is not created yet, and
4631 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4634 - Added StartLoop() driver method. This is used to allow drivers to
4635 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
4636 loop for a particular thread
4637 - Added EndLoop() driver method. This is called once the message
4638 pump for the thread is shut down
4639 - Added SupportsTransparency method to allow the driver to indicate
4640 opacity support for windows
4642 - Removed TODO attribute, completed AllowTransparency property
4643 - Added documented logic to Opacity
4644 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
4645 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
4646 versions of CompatibleTextRendering
4647 * X11Structs.cs: Added opacity atom to our atom enumeration
4648 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
4649 of a form might be set before it's reparented by the WM, and we need
4650 the opacity value without calling up to Form)
4651 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
4652 SupportsTransparency() driver methods
4653 * Application.cs: Now calling StartLoop and EndLoop driver methods
4655 - Added opacity atom registration
4656 - Added StartLoop()/EndLoop() methods. They're empty right now but
4657 will need to get implemented when we switch to a per-thread queue
4658 - Implemented SupportsTransparency() method
4659 - Implemented SetWindowTransparency() method
4660 - Added support for setting the opacity value when a window is
4661 reparented (since the opacity needs to be set on the WM frame)
4662 * XplatUIOSX.cs, XplatUIWin32.cs:
4663 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
4665 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4667 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
4669 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4671 * FileDialog.cs: Added ToolTip for MWFFileView
4672 * MimeIcon.cs: Rewrote GnomeHandler.
4673 - Get currently used gnome icon theme from
4674 ($HOME)/.gconf/%gconf-tree.xml
4675 - Make use of inherited icon themes
4676 - Support SVG icon themes like Tango via librsvg
4678 2006-01-12 Miguel de Icaza <miguel@novell.com>
4680 Revert's Jackson's revert which broke 2.0 builds. Fix both
4683 * Application.cs: Move the use_compatible_text_rendering outside
4684 the NET_2_0 define. If we ever need to use the
4685 use_compatible_text_rendering on the individual controls they will
4686 access the variable from the common shared code paths.
4688 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4691 - Added more granular debug options
4692 - Added method to print both window text and id
4693 - Switched debug output to use new Window() debug method
4694 - Added IsEnabled() driver method
4695 - Added EnableWindow() driver method
4697 - Removed end_modal; no longer needed, new loop handles termination
4698 via 'closing' variable
4699 - If form is modal, setting DialogResult will now initiate loop
4700 termination via 'closing' variable
4701 - Added support for is_enabled/WS_DISABLED to CreateParams
4702 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
4704 - Removed code that's now in RunLoop from ShowDialog()
4705 - Added various documented sanity checks to ShowDialog()
4706 - Added handling of WM_DESTROY message; we set 'closing' on getting
4707 the message to indicate the message pump to terminate
4708 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
4709 send by the Application.ExitThread method. (We send the message
4710 to destroy the window after all other events have been
4711 processed through the queue, instead of destroying the handle
4713 - Moved code from Close() method to WM_CLOSE handler; added logic
4714 to only send close-related events if the form is not displayed
4716 * Splitter.cs (..ctor): Fixed typo in resource name
4718 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
4720 - set_Cursor: Now only setting calling into XplatUI if the handle for
4721 the control is already created; this avoids implict handle creation
4722 or crashes if it's not created
4723 - set_Enabled: Now setting the enabled state via the new driver method
4724 instead of just tracking it
4725 - CreateParams: Added logic to set WS_DISABLED based on enabled state
4726 - CreateControl: Reordered event firing and method calls to more
4727 closely fire events in the order MS does. Now setting the
4728 enabled state in the driver when creating the control.
4729 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
4731 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
4732 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
4733 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
4735 - Added tracking of window enabled state (get_Enabled/set_Enabled)
4736 - Added EnabledHwnd property to easily allow a driver to find the
4737 handle of the first enabled window in the parent chain (this is
4738 used by drivers to pass up input events of disabled windows)
4739 * XplatUIDriver.cs: Added IsEnabled() method
4741 - Removed crude and obsolete exiting tracking variable
4742 - Removed internal ModalRun(); replaced by RunLoop()
4743 - Implemented private CloseForms() method to allow closing all
4744 windows owned by a particular (or all) threads
4745 - Exit() now properly closes all windows without forcing the message
4747 - Removed obsolete InternalExit() method
4748 - Changed Run() methods to use new RunLoop() message pump
4749 - Implemented new RunLoop() method for both modal and non-modal forms
4751 - get_CreateParams: Added setting of WS_DISABLED
4752 - Simplified ShowDialog(); now all the work is done in RunLoop(),
4753 invoked via Form.ShowDialog()
4754 * NativeWindow.cs: We don't remove the window from the collection when
4755 the handle is destroyed; there might still be messages for it in the
4756 queue (mainly the resulting WM_DESTROY); instead it will be removed
4757 when Control calls InvalidateHandle in the WM_DESTROY handler
4759 - CreateWindow: Added logic to handle the WS_DISABLED window style
4760 - EnableWindow: Implemented based on Hwnd.Enabled
4761 - GetMessage: Reset PostQuitState so the method can be called again
4762 - Implemented support for disabled windows (passing messages to the
4763 first enabled parent) in handling all input messages
4764 - Added optimizations for handling Expose events
4765 - Implemeted new driver method IsEnabled()
4766 - Now always resetting paint pending tracking vars when we start paint
4767 - Re-implemented UpdateWindow via just sending a WM_PAINT message
4768 * XplatUIOSX.cs: Added IsEnabled method stub
4769 * XplatUIWin32.cs: Implemented new IsEnabled() method
4771 2006-01-11 Jackson Harper <jackson@ximian.com>
4773 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4774 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
4776 * ColorDialog.cs: Clear out the old form before adding the new
4779 2006-01-11 Jackson Harper <jackson@ximian.com>
4781 * X11Dnd.cs: Make sure to add all the text formats when adding
4782 strings to the data object.
4783 * TreeNodeCollection.cs: When adding to a sorted tree we need to
4784 do some redrawing too. Also change the UpdateNode to an
4785 UpdateBelow so the newly added node gets painted.
4787 2006-01-11 Miguel de Icaza <miguel@novell.com>
4789 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4790 LinkLabel.cs, PropertyGrid.cs: Implement the
4791 UseCompatibleTextRendering property for 2.x
4793 * Application.cs (SetCompatibleTextRenderingDefault): Add.
4795 2006-01-11 Jackson Harper <jackson@ximian.com>
4797 * TreeView.cs: Use the property for setting the selected node so
4798 the correct events get raised.
4799 * TreeNode.cs: Update the tree when the fore/back colours of a
4802 2006-01-10 Jackson Harper <jackson@ximian.com>
4804 * TreeView.cs: Allow setting SelectedNode to null.
4806 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4808 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
4810 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4812 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
4814 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4816 * PrintDialog.cs: Added attributes and set default property values.
4818 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4820 * PrintControllerWithStatusDialog.cs:
4821 Added PrintControllerWithStatusDialog.
4823 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4825 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
4826 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
4828 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4830 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
4832 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4834 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4835 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4837 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4839 * MimeIcon.cs: Added internal class SVGUtil.
4841 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4843 * FileDialog.cs: Don't crash if there are two files with the
4844 same name but different locations.
4846 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4848 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4849 dates across multiple month grids. Used to not highlight entire
4850 month, but does now.
4852 2006-01-06 Jackson Harper <jackson@ximian.com>
4854 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4855 message loop. Change timer intervals to numbers that seem more
4858 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
4860 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
4861 object for location info since screen object is now implemented.
4863 2006-01-05 Jackson Harper <jackson@ximian.com>
4865 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
4866 * AsyncMethodResult.cs: We no longer use a WeakReference for the
4867 AsyncMethodResult, this is because we ALWAYS want the
4868 ManualResetEvent to get set.
4869 * Control.cs: When disposing use an async invoke to call shutdown
4870 code, so that thigns don't block on the finalizer thread. Also
4871 check if we even have a message loop before trying to send
4872 messages, if we don't then don't bother sending messages.
4873 - No more weak references for async methods
4874 * XplatUIDriver.cs: No more weak references for async methods.
4876 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4878 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
4879 returns two FontFamily with the same name
4881 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4883 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
4884 drawing disabled text. Instead using the ColorGrayText color
4886 2006-01-04 Jackson Harper <jackson@ximian.com>
4888 * TreeNode.cs: redraw the node when its image index is changed.
4890 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4892 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4893 time I checked there are no others like it.
4895 2006-01-04 Jackson Harper <jackson@ximian.com>
4897 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4898 this gives the behavoir I was looking for.
4899 * Control.cs: Special case Invoking EventHandlers, this matches MS
4900 and fixes part of bug #76326.
4902 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4904 * ThemeClearlooks.cs, FileDialog.cs:
4905 - Reflect the latest Theme class changes
4906 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4909 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4911 * Theme.cs: Cache UI resource images and resize them if needed
4913 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4915 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4916 is called. This fixes the crash in Nexxia when setting the font
4917 attributes in the chat. [However, RTF needs a look-over to make sure
4918 that all SelectionXXX methods handle the special case that selection
4919 is empty and therefore the change must be applied to all text starting
4920 at the cursor/selection start]
4922 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4924 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4925 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4926 * X11Keyboard.cs: Switched to new way of calling PostMessage
4928 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4930 * Theme.cs: Added theme interface for images to allow the theme to
4931 control what images are used for things like FileDialog, MessageBox
4933 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4935 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4938 - Removed some dead code
4939 - Opening a recently used file does work now
4940 - Small UI enhancements
4943 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4945 * FileDialog.cs: Forgot too add __MonoCS__
4947 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4949 * FileDialog.cs: We are able to read recently used files now let's
4950 go on and write them.
4952 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4954 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4956 * MimeIcon.cs: Do a check for the top level media type also
4958 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4960 * ThemeClearlooks.cs:
4961 - Added CPDrawStringDisabled
4962 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4963 some chars if the text doesn't fit into text_rect
4964 - DrawListViewItem: If View = View.LargeIcon center the image;
4965 rewrote the drawing of ListViewItem.Text if View =
4968 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4970 * MimeIcon.cs: Use default KDE icon theme if there is no
4971 "48x48" directory for the current icon theme, fixes #77114
4972 * Mime.cs: Disable not working and actually not used code.
4973 * ThemeWin32Classic.cs:
4974 - Replace "new SolidBrush" in GetControlBackBrush and
4975 GetControlForeBrush with ResPool.GetSolidBrush
4976 - Changed DrawListViewItem from private to protected virtual
4978 - Added form.MaximizeBox = true
4979 - Don't throw an exception if there is a broken symbolic link
4981 2005-12-23 Jackson Harper <jackson@ximian.com>
4983 * TabControl.cs: Give the panels focus, keyboard navigation is
4984 fixed so this works correctly now.
4985 - We need these key events also.
4986 * ToolBar.cs: Remove some of the poor mans double buffering.
4988 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4990 * ComboBox.cs: The internal TextBox now returns the focus.
4992 2005-12-23 Jackson Harper <jackson@ximian.com>
4994 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4996 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4998 * Control.cs: Removed debug code
4999 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
5002 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5004 * Control.cs: When creating the control, update the Z-order after
5005 all it's children are created, too. (Fixes nexxia not showing
5008 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5010 * Control.cs: Do not update the anchoring distances if layout is
5011 suspended, instead do it once layout is resumed
5013 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5016 - After many hours of debugging, for both Jackson and
5017 myself, it turns out that it helps to set the parent of a control
5018 if you want to actually see it onscreen. In the spirit of that
5019 discovery, we're now setting the parent of the control and
5020 it's children when the control's handle is created. This fix
5021 will make Lutz Roeder's Reflector run happily.
5022 - now just creating the handle instead of the whole control when
5023 getting a graphics context for the control.
5025 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5027 * ScrollableControl.cs: When calculating the canvas, don't consider
5028 the scrollbar widths. Instead, predict if horizontal scrollbar
5029 will affect canvas when deciding on vertical display and vice versa.
5031 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5033 * RichTextBox.cs: Set default RTF font for documents that don't
5034 have a font table (Fixes #77076)
5036 2005-12-22 Jackson Harper <jackson@ximian.com>
5038 * TextBoxBase.cs: It's difficult to do, but you can have an empty
5039 clipboard. This prevents a NullRef in that case.
5040 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
5041 clipboard. PRIMARY is for the currently selected text only. (We
5042 should implement PRIMARY at some point.
5044 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5046 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
5047 a Unicode function with a structure that was defined in Ansi way.
5050 2005-12-21 Jackson Harper <jackson@ximian.com>
5052 * StatusBar.cs: Statusbar handles its fore/back colours on it's
5053 on. Because thats how it rolls. (and this avoids it using ambient
5055 * ThemeWin32Classic.cs: Use the proper back color for filling.
5056 * Menu.cs: Use the system menu bar color for drawing menu
5057 bars. Using the window back color will bring ambient colours into
5060 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
5062 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
5063 Bitmaps were created and not disposed.
5065 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5067 * Control.cs (CreateControl): Don't do anything if the control is
5068 already created, otherwise we'd fire the OnCreated event more than
5071 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5073 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
5074 will always match. Instead return -1. Fixes #76464.
5076 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5078 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
5079 neither the beginning nor the end of the line (Fixes bug #76479)
5081 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5084 - ControlNativeWindow.ControlFromHandle(): Now handling situation
5085 where handle is invalid
5086 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
5087 instead of slower linear search
5088 * NativeWindow.cs: Don't remove the window from the hashtable until
5089 after the driver has destroyed it (since the driver might use
5090 Control.FromHandle to lookup the control object
5091 * Hwnd.cs: Added DestroyPending property to track if a window is
5092 already destroyed as far as the driver is concerned and only hasn't
5093 yet notified the control
5095 - Activate(): Check if the window is still valid before using the
5097 - Implemented DestroyChildWindow() method to mark child windows as
5098 destroyed when a window is destroyed. This prevents situations
5099 where we might call an X method based on queued events for a
5100 window that already has been destroyed but we haven't yet pulled
5101 the destroy method from the queue.
5102 - Added a call to the new DestroyChildWindow() method to the drivers
5103 DestroyWindow code. Also now marking the destroyed window itself
5106 2005-12-20 Jackson Harper <jackson@ximian.com>
5109 * StatusBarPanel.cs: Don't calculate panel sizes on draw
5110 anymore. Just do them when needed, also track the rects of panels
5111 so that we can optimize refreshing more in the future.
5113 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
5115 * ColorDialog.cs: Fixed focus drawing in small color controls
5117 2005-12-19 Jackson Harper <jackson@ximian.com>
5119 * InternalWindowManager.cs:
5120 * MdiWindowManager.cs: Cleanup some coordinate system changes so
5121 moving windows works properly.
5123 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
5126 - Removed call to InitLayout() from SetBoundsCore(); doc says
5127 it's only called when a control is added to a container
5128 - Split InitLayout logic, moved to separate UpdateDistances() method
5129 since we need to perform those calculations more often than just
5130 when adding the control to a container. (Needed to fix #77022)
5131 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
5132 - Reduced the OnBindingContextChanged events count, don't send them
5133 unless the control is created, we still aren't totally matching
5134 MS, but I can't quite figure out some of their rules
5136 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5138 * ThemeClearlooks.cs: Corrected distance between ProgressBar
5141 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5143 * ThemeClearlooks.cs:
5144 - Updated ProgressBar drawing
5145 - Corrected drawing of ScrollBars and scroll buttons
5146 - Some temporary fixes for minor pixel artefacts
5148 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
5151 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
5152 cause events to be sent in the same order as MS does.
5153 - Added ChangeParent() method to trigger various OnXXXChanged events
5154 that need to be fired when a parent changes (This is a reworking
5155 of the patch from r54254, with the X11 errors fixed)
5156 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
5157 since on MS we get OnLayoutChanged events when calling Clear()
5158 - Changed Enabled property to consider parent state as well, if a
5159 parent is not enabled, the control will not be either
5160 - Changed Parent property to simply call Controls.Add() since that
5161 now does all the work required, this way we avoid code duplication
5162 - Threw in a few OnBindingsContextChanged calls to try and match
5163 when MS sends them. We seem to send a few too many, though.
5164 - Added call to CreateControl when adding the control to a parent.
5165 We were never calling CreateControl. Still needs some work, in
5166 some places we treat HandleCreated and ControlCreated as equal,
5168 - Removed obsolete commented out code from UpdateZOrder()
5170 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5172 * ThemeClearlooks.cs: Updated TrackBar drawing.
5174 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5176 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
5178 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5180 * FileDialog.cs: Add the Help button and the open readonly
5181 checkbox only if needed
5183 2005-12-16 Jackson Harper <jackson@ximian.com>
5185 * Control.cs: Make sure we have an active menu before trying to
5186 process commands on it. Prevents menu-less forms from crashing
5187 when Alt is pressed.
5188 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
5190 * RichTextBox.cs: Expand statement to help out gmcs and fix the
5193 2005-12-16 Jackson Harper <jackson@ximian.com>
5195 * InternalWindowManager.cs: Don't translate tool windows screen
5196 coordinates. This fixes windows 'bouncing' around when being moved.
5198 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5201 - MaxLength now treats 2^31-1 equal to unlimited length (this is
5202 not quite MS compatible, MS uses that number only for single line
5203 and 2^32-1 for multi-line, but I figure it won't hurt keeping
5205 - Now enforcing the MaxLength limit when entering characters
5206 - Added argument to internal Paste() method to track if it's called
5207 from programatically or via keyboard, since keyboard driven pastes
5208 need to enforce max-length
5209 - Added logic to Paste to only paste as many chars as MaxLength
5211 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
5213 - Added Length property to return number of characters in document
5214 - Added private CharCount property which only tracks actual chars
5215 in the document (no linefeeds) and fires event when CharCount
5217 - Added tracking of character count to all methods that alter it
5218 - Added LengthChanged event to allow applications to subscribe
5219 to any changes to the document
5221 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5224 - Removed local password_char field (moved to TextBoxBase)
5225 - Now setting the document's password var when password is
5228 - Added password_char field (needed here so MultiLine can
5230 - Added logic to MultiLine property setter to set the document's
5231 variable when password display is allowed
5232 - Removed debug code and made some debug code conditional
5234 - Added RecalculatePasswordLine() method to handle special password
5236 - Added PasswordChar property, also added related tracking vars
5237 - Draw() method now uses local text var for grabbing text to draw,
5238 this var is set to line.text unless we're doing password display,
5239 then it is set to the pre-generated all-password-chars line
5240 - Added calling RecalculatePasswordLine() method for password lines
5242 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5245 - Added Reparented property to allow tracking of Window Manager
5246 reparenting actions (which affect X/Y calculations of toplevel
5248 - Made ToString() print window handles in hex
5250 - AddConfigureNotify(): Now uses reparented state off Hwnd to
5251 determine if X/Y needs offsetting
5252 - AddConfigureNotify(): Fixed offset calculations
5253 - Now adds ReparentNotify messages into the queue
5254 - Now processes ReparentNotify messages and causes a
5255 WM_WINDOWPOSCHANGED message to be sent upstream if a window
5256 is reparented (as most likely it's X/Y coordinates are changed
5259 2005-12-14 Jackson Harper <jackson@ximian.com>
5261 * XplatUIX11.cs: Tool windows still need to respek focus.
5263 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5265 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
5266 have a working release
5268 2005-12-13 Jackson Harper <jackson@ximian.com>
5270 * Form.cs: Update styles after setting the border style regardless
5271 of whether or not the window is using a window manager.
5273 2005-12-13 Jackson Harper <jackson@ximian.com>
5275 * Form.cs: We now hook into an internal window manager instead of just an
5276 MDI subsystem, this is so we can have properly behaving tool windows.
5277 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
5278 * InternalWindowManager.cs: New internal class that acts as a
5279 window manager for tool windows and as a base for mdi windows.
5280 * MdiWindowManager.cs: New class that acts as a window manager for
5283 2005-12-12 Jackson Harper <jackson@ximian.com>
5285 * Control.cs: Updates so we match behavoir for for implicit
5286 controls. Fixes explosions in MDI.
5288 2005-12-12 Jackson Harper <jackson@ximian.com>
5290 * Control.cs: Implement Invalidate (Region).
5292 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
5295 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
5296 the same events as MS does. MS fires events for each property
5297 except, for unknown reasons, Cursor, when the control is reparented.
5298 I can't seem to totally match add/remove since MS also fires some
5299 VisibleChanged events, which makes no sense. Consolidated the
5300 parenting code into a separate method so it can be called from
5301 both Add and Remove. set_Parent no longer needs any special logic
5302 as it calls the parent's add method which implicitly fires
5304 - Removed some obsolete code and debug output
5305 - Enabled state is inherited from parents, if this is enabled
5307 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5309 * Form.cs: Removed commented out code
5311 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5314 - Added internal version of Invoke, with additional argument
5315 indicating if we're calling it from a Dispose() handler. That
5316 way we can avoid BeginInvoke throwing an exception if we're
5317 calling for an already destroyed window.
5318 - Added a dispose argument to BeginInvokeInternal, and made the
5319 check if a valid window handle chain exists conditional on
5320 it not being a dispose call
5321 - Removed code in DestroyHandle to destroy our children. Since we
5322 now handle the WM_DESTROY message we will catch all our children
5324 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
5326 - Added a field to track the application context of the form.
5327 - No need to set closing variable as response to WM_CLOSE, instead
5328 we destroy the window. We also call PostQuitMessage if the form
5329 has an application context (which makes it the main app form,
5330 which, when closed terminates the app)
5332 - Dropped Exit() method, it's naming was confusing
5333 - Added PostQuitMessage() which causes GetMessage to return false
5334 once the message queue is empty
5335 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
5337 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
5338 no longer a valid XplatUI method, but left it in since it's used
5339 internally. Added empty PostQuitMessage() method.
5340 * MenuAPI.cs: Replaced call to Exit() with call to
5341 PostQuitMessage, even though this is probably no longer needed.
5342 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
5343 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
5345 - Replaced call to XplatUI.Exit() with PostQuitMessage()
5346 - Removed old debug code that would call XplatUI for exception
5347 display, enabled standard exception handling (Still not enabled
5348 though, until NativeWindow's ExternalExceptionHandler define
5351 - Added internal method to allow control to update NativeWindow
5352 after a window has been destroyed
5353 - Added handling of already destroyed windows when calling i
5355 - Added removal of handle from list on ReleaseHandle
5357 - Dropped GetMessageResult var and related code
5358 - Added PostQuitState to field to track if PostQuitMessage has been
5360 - Dropped Exit() method
5361 - Added PostQuitMessage() method
5362 - GetMessage now will return false if PostQuitState is set and no
5363 more messages are in the queue.
5364 - Expose handler will no longer generate WM_PAINT messages if we are
5365 in PostQuitState since it's very likely any windows have already
5366 been destroyed, and since Hwnd won't get updated until we have
5367 processed the DestroyNotify we'd be causing X errors.
5369 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5371 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
5372 Thanks to Mike for pointing out the err of my ways.
5374 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5376 * Control.cs(PreProcessMessage): Moved menu handling back, but
5377 after all other key handling, to match MS (who handles Menu in
5379 * Menu.cs (WndProc): Removed my brainfart
5381 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5383 * Control.cs(PreProcessMessage): Removed special menu handling
5384 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
5386 2005-12-07 Mike Kestner <mkestner@novell.com>
5388 * Control.cs : special case SYSKEYUP so that we can adjust keynav
5389 state according in tracker.
5390 * Menu.cs : promote tracker field to base class and provide a tracker
5391 lookup capability. Add/Remove shortcuts dynamically if the top menu
5392 has a tracker. Unparent items that are removed from the collection.
5393 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
5394 * Theme*.cs: add always_show_hotkeys field to support configurability
5395 of mnemonic display. win32 doesn't show mnemonics until Alt is
5398 2005-12-07 Jackson Harper <jackson@ximian.com>
5400 * MdiChildContext.cs: Use Control.ResetCursor.
5401 * Control.cs: ResetCursor needs to set the property so that the
5402 correct XplatUI call gets made.
5404 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5406 * Control.cs: More fixes to make our key events match MS. We
5407 were not setting the modifier state on KeyData, and we were
5408 not generating any events when Alt was pressed with a key
5409 since handling of WM_SYSxxx was missing for the OnKey methods.
5411 2005-12-07 Jackson Harper <jackson@ximian.com>
5413 * MdiChildContext.cs: reenable the sizing code.
5414 - When the mouse leaves a window reset its cursor.
5416 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5418 * ThemeClearlooks.cs: Reflect latest Hwnd changes
5420 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5422 * Hwnd.cs: Now using the theme 3d bordersize to calculate
5423 widths of Fixed3D borders
5425 2005-12-07 Jackson Harper <jackson@ximian.com>
5427 * MdiClient.cs: Fix warnings. Earn Mike's love.
5429 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5431 * ThemeClearlooks.cs:
5432 - Adjusted mouse over button color
5433 - Added first parts of CheckBox drawing
5434 - Added correct color for selected text background
5435 - Fixed ComboBox drawing
5436 - Added CPDrawBorder3D and CPDrawBorder
5438 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5440 * XplatUIX11.cs: Added call to XBell for AudibleAlert
5442 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5444 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
5445 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
5446 alert users via sound. We could add an enum arg with different
5447 types of alerts in the future
5449 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5451 * Control.cs: Fix behaviour problems pointed out by Mike
5453 2005-12-05 Mike Kestner <mkestner@novell.com>
5455 * StatusBarPanel.cs: add Invalidate method and hook it into all the
5456 prop setters. Calls parent.Refresh for now, but could be maybe be
5457 optimized with an internal method on StatusBar at some point.
5460 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
5462 * RichTextBox.cs: Implemented get_SelectionColor
5464 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
5466 * ThemeClearlooks.cs:
5468 - Draw black button border only if button is Form.AcceptButton
5469 - Draw correct button color for pressed RadioButton if the mouse
5470 has entered the button
5471 - Updated ProgressBar drawing!
5472 - Updated CPDrawSizeGrip drawing
5473 - Updated StatusBarPanel drawing
5475 2005-12-05 Mike Kestner <mkestner@novell.com>
5477 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
5478 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
5480 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
5482 * ThemeClearlooks.cs: Initial check-in, activate with
5483 export MONO_THEME=clearlooks
5484 * ThemeEngine.cs: Added ThemeClearlooks
5486 2005-12-03 Mike Kestner <mkestner@novell.com>
5488 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
5491 2005-12-02 Jackson Harper <jackson@ximian.com>
5493 * Form.cs: If the child form has no menu the default main menu is
5494 used as the active menu.
5496 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5498 * ListBox.cs: Check if any items exist before trying to resolve
5499 coordinates into items
5501 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5503 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
5504 as the second color for the background hatch
5506 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5508 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
5509 * RichTextBox.cs: FormatText position arguments are 1-based, now making
5510 sure that what we pass to FormatText is always 1-based. Fixes #76885
5512 2005-11-29 Miguel de Icaza <miguel@novell.com>
5514 * NumericUpDown.cs (EndInit): When we are done initializing,
5515 reflect any updates on the UI.
5517 2005-12-02 Jackson Harper <jackson@ximian.com>
5519 * ImplicitHScrollBar.cs:
5520 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
5521 their container controls.
5522 * TreeView.cs: Use the new implicit scrollbars.
5524 2005-12-02 Jackson Harper <jackson@ximian.com>
5526 * TreeView.cs: Make top_node internal so the TreeNodeCollections
5528 * TreeNodeCollection.cs: If we remove the topnode we need to
5529 update topnode to the next node in line.
5530 - When clearing nodes go through the same process as removing
5531 them, so they get depareneted and checked if they are top node.
5533 2005-12-01 Jackson Harper <jackson@ximian.com>
5535 * TreeView.cs: When imagelists are used the image area is
5536 selectable as well as the text.
5537 - If there are no selected nodes select the first one.
5538 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
5539 so don't do it more then we need to.
5541 2005-12-01 Jackson Harper <jackson@ximian.com>
5543 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
5544 that arrows can be scaled.
5546 2005-12-01 Jackson Harper <jackson@ximian.com>
5548 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
5549 fail. Patch by Dieter Bremes
5551 2005-11-30 Jackson Harper <jackson@ximian.com>
5553 * Form.cs: Property is 2.0 only
5554 * PrintDialog.cs: Signature fix.
5556 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5559 - No longer artificially moves text 2 pixels down (now that we have
5560 borders this is no longer needed)
5561 - Added calcs for left, hanging and right indent
5563 2005-11-23 Mike Kestner <mkestner@novell.com>
5565 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
5567 2005-11-30 Jackson Harper <jackson@ximian.com>
5569 * MdiChildContext.cs: Set the cloned menus forms, as these don't
5570 get cloned as part of CloneMenu ().
5571 * Menu.cs: Make sure the parent of the items get set correctly
5572 when they are added. And the owners are notified of the changes.
5573 * Form.cs: Create an ActiveMenu property, so that when MDI is used
5574 we can change the menu being displayed/handled by the form without
5575 changing the menu assosciated with the form.
5576 - Don't let Mdi children draw/handle menus.
5578 2005-11-30 Jackson Harper <jackson@ximian.com>
5580 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
5581 a MenuChanged event. Just to make the API a little more
5584 * MenuItem.cs: Use the new OnMenuChanged
5585 * MdiChildContext.cs: Handle menu merging.
5586 * Form.cs: Implement MergedMenu.
5588 2005-11-30 Jackson Harper <jackson@ximian.com>
5590 * Menu.cs: We were misusing Add. Add goes behind the specified
5591 index according to the docs, and does not replace the specified
5592 index. So I added an Insert method.
5594 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5596 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
5597 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
5599 * RichTextBox.cs: Added calls to base for DnD events
5601 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
5604 - Fixed drag-selection related crash; style fixes
5605 - Implemented undo class
5606 o Implemented method to capture document state for specified
5607 range in document tree
5608 o Implemented method to restore captured document state
5609 o Implemented cursor tracking
5610 o Implemented basic undo stack
5611 - Added undo cursor tracking to methods altering cursor location
5612 - Added undo tracking to selection deletion (still missing
5613 other text-altering hookups)
5615 - Added SelectionLength property
5616 - Implemented CanPaste()
5617 - Implemented Paste()
5618 - Added missing protected methods
5619 - Fixed RTF->Document conversion; now uses font index 0 and color
5620 index 0 as the default font for the parsed text
5621 - Fixed RTF<->Document font size translation
5622 - Fixed RTF generation, now properly handles cross-tag boundaries
5623 for single line selection
5624 - No longer always appends blank line to generated RTF
5626 - Added missing attributes
5627 - Hooked up undo-related methods
5629 - Implemented Copy()
5630 - Implemented Paste()
5632 - Fixed caret mis-behaviour on backspace across line-boundaries
5634 2005-11-29 Jackson Harper <jackson@ximian.com>
5636 * MdiClient.cs: Add a method for activating mdi children. Very
5637 basic right now. I imagine someday it might need more girth.
5638 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
5639 children windows names are added to the menu item.
5640 * ThemeWin32Classic.cs: Draw the arrow if the item is an
5641 mdilist. This happens regardless of whether or not there are any
5642 mdi windows to see in the list, and according to my tests happens
5643 before the items are even added. Also happens if there isn't even
5644 an mdi client to get windows from.
5646 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
5648 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
5649 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
5651 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
5653 * DataGridTableStyle.cs:
5654 - Create always the styles for the missing columns even if they are
5655 provided by the user (not default table style)
5658 - Fixes SetDataBinding (always re-attach source)
5659 - Fixes SetNewDataSource (only clear styles if they are not for
5661 - Expands OnTableStylesCollectionChanged to handle style refresh
5664 2005-11-29 Jackson Harper <jackson@ximian.com>
5666 * FileDialog.cs: Implement missing bits, remove some dead
5668 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
5669 creation of the panel so that the options set on the dialog are
5670 seen when the panel is created.
5671 * TreeView.cs: raise a click when items are clicked.
5673 2005-11-29 Jackson Harper <jackson@ximian.com>
5675 * MdiClient.cs: Pass some signature methods through to base.
5677 2005-11-28 Jackson Harper <jackson@ximian.com>
5679 * ListView.cs: Raise the click event when items are clicked.
5681 2005-11-28 Jackson Harper <jackson@ximian.com>
5683 * MdiClient.cs: Make this algorithm even more beautiful. And fix
5686 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
5688 * ThemeNice.cs: - Removed 1 pixel bitmaps
5689 - Use SmoothingMode.AntiAlias where it makes sense
5690 (ScrollButton arrow for example)
5691 - Enhanced Button focus drawing
5692 - Fixed ComboBox drawing (no artefacts anymore, focus
5693 rectangle is back again, reduced size of ComboButton, etc.)
5694 - Fixed RadioButton focus drawing for Appearence.Button
5695 - Slight ScrollButton redesign
5696 - Some LinearGradientBrush size fixes
5697 - GroupBoxes have now rounded edges
5698 - Fixed StatusBar drawing
5700 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
5702 * ThemeNice.cs: - Remove dead code
5703 - use correct background colors for menus, etc.
5704 - Fake pixel drawing with 1 pixel bitmaps
5706 2005-11-24 Jackson Harper <jackson@ximian.com>
5708 * MdiClient.cs: Size the scrollbars when resizing the window.
5709 - Resize the maximized windows when the client is resized
5710 * Form.cs: Make the child context available
5712 2005-11-23 Jackson Harper <jackson@ximian.com>
5714 * MdiChildContext.cs: Don't size windows if they are maximized.
5716 2005-11-23 Mike Kestner <mkestner@novell.com>
5718 * ContextMenu.cs: use MenuTracker.
5719 * Control.cs: remove menu handle usage.
5720 * Form.cs: remove menu handle usage.
5721 * Hwnd.cs: remove menu handle usage.
5722 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
5723 motion and clicks to the new Tracker handlers.
5724 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
5726 * MenuAPI.cs: refactored to combine popup and menubar event handling.
5727 Killed the MENU and MENUITEM data types and associated collections
5728 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
5729 MenuTracker class that exposes the leftovers from the old MenuAPI
5730 static methods. Restructured Capture handling so that only one grab is
5731 done for the entire menu hierarchy instead of handing off grabs to
5732 submenus. Tracker now has an invisible control to Capture when active.
5733 * MenuItem.cs: add sizing accessors, kill Create
5735 * Theme.cs: remove menu handle and MENU(ITEM) usage.
5736 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
5737 MENU(ITEM). remove menu handle usage, use Menu directly.
5738 * XplatUIDriver.cs: remove menu handle usage.
5739 * XplatUIOSX.cs: remove menu handle usage.
5740 * XplatUIWin32.cs: remove menu handle usage.
5741 * XplatUIX11.cs: remove menu handle usage.
5743 2005-11-22 Jackson Harper <jackson@ximian.com>
5745 * Hwnd.cs: Don't compute the menu size for
5746 DefaultClientRectangle.
5747 - Reenable menu sizes being computed for GetClienRectangle.
5748 * Form.cs: Remove comment of trechery
5750 2005-11-22 Jackson Harper <jackson@ximian.com>
5752 * Hwnd.cs: The adjustments for the menu bar are made when it is
5753 attached to the form.
5755 2005-11-19 Jackson Harper <jackson@ximian.com>
5757 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
5758 (just like on windows).
5760 2005-11-19 Jackson Harper <jackson@ximian.com>
5762 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
5763 use real buttons anymore because they are in non client area. The
5764 one TODO here is that I need to somehow invalidate a section of
5765 the non client area.
5767 2005-11-18 Jackson Harper <jackson@ximian.com>
5769 * Control.cs: Put the enum check back in now that MDI doesnt have
5770 to use this to set border styles.
5771 * Form.cs: Only set mdi child windows borders if the handle has
5773 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
5774 this directly on to the driver.
5775 - Get the move start position before adjusting for the titlebar
5776 height, this fixes the windows "skipping" when they are first
5779 2005-11-18 Jackson Harper <jackson@ximian.com>
5781 * XplatUIX11.cs: Just compute the mdi borders separately as they
5782 don't totally match up with normal form borders.
5784 2005-11-18 Jackson Harper <jackson@ximian.com>
5786 * Control.cs: Set WS_ styles for borders, so that the driver does
5787 not have to retrieve the control instance to figure out what kind
5788 of borders it should have.
5789 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
5790 driver can know its an mdi child easily.
5791 * XplatUIX11.cs: Get the border styles and whether the window is
5792 MDI from the Styles and ExStyles params instead of having to get a
5793 control. This prevents a chicken and egg problem.
5795 2005-11-18 Jackson Harper <jackson@ximian.com>
5797 * MdiClient.cs: Fix typo so scrollbars show up correctly.
5799 2005-11-18 Jackson Harper <jackson@ximian.com>
5801 * MdiClient.cs: Calculate when to add and remove scrollbars
5803 * MdiChildContext.cs: Adjust the y position to take the titlebar
5805 - No height for FormBorderStyle.None
5807 2005-11-18 Jackson Harper <jackson@ximian.com>
5809 * Control.cs: Allow non enum values to be used for
5810 InternalBorderStyle. MDI does this to set a special border style.
5811 - New utility methods for converting points to/from client coords
5812 - Add the newly created control to the Controls collection before
5813 updating its style. This way UpdateStyle can walk the control
5814 heirarchy to find the control if needed.
5815 so I don't need to create a new Point object all the time.
5816 * Form.cs: Let MDI windows handle their border styles.
5817 - Set styles on MDI windows so the correct title style is derived.
5818 * MdiChildContext.cs: Move all the painting and window handling
5819 into the non client area.
5820 - Use correct sizing and put correct buttons on frames based on
5821 the FormBorderStyle.
5822 - Notify the mdi client about scrolling
5823 - Need to handle the buttons ourselves now, because they are all
5824 in non client areas and we can't add controls there.
5825 * MdiClient.cs: Halfway to scrolling, this implementation is
5826 somewhat broken though, we need to check to make sure other
5827 windows aren't causing scrolling before removing the bars. Also
5828 the bars need to be drawn on top, maybe I can switch implicit
5829 controls to be on top.
5830 * Hwnd.cs: caption_height and tool_caption_height are now
5831 properties of an hwnd, this way they can be set by the driver
5832 based on the type of window they are. In X11 the window manager
5833 handles the decorations so caption_height is zero unless its an
5835 - Add 3 pixel borders for MDI windows (0xFFFF).
5836 - Get rid of some code duplication, have DefaultClientRectanle
5837 just call GetClientRectangle.
5838 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5840 - Set border styles differently for mdi windows.
5841 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5844 2005-11-15 Mike Kestner <mkestner@novell.com>
5846 * Menu.cs: when adding an item to the collection, if item is already
5847 parented, remove it from the parent.
5849 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5851 * X11DesktopColors.cs: Added KDE support
5853 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5856 - Clipboard methods now can translate Rtf format
5857 - No longer removes clipboard contents whenever a new format is added
5858 to allow placing multiple formats on the clipboard
5859 * Clipboard.cs: Clipboard now supports getting a IDataObject and
5860 will place all formats contained in it onto the clipboard. Also
5861 now cleans the clipboard before placing a new object onto it
5863 - Implemented set_Rtf
5864 - Implemented set_SelectedRtf
5865 - Created InsertRTFFromStream() method to allow single code base
5866 for all properties and methods that insert RTF into document
5867 - Removed debug output
5869 - Fixed Delete(int) to fix up line numbers
5870 - Fixed ReplaceSelection to combine start and end line
5871 - Fixed serious DeleteChars bug that would leave the document tree
5873 - Improved DumpTree with several logic checks to detect broken
5875 - Removed debug lines
5876 - Fixed Caret.WordForward/WordBack moving code, now always also
5877 updates caret.tag (fixes crash when word-selecting across tag
5878 boundaries via keyboard)
5879 - Added Insert() method for inserting multiline text into documents
5880 - Fixed DeleteChars() calculation errors that would cause a broken
5881 tag chain with multiple tag lines
5882 - DeleteChars() no longer crashes on multi-tag lines if not all tags
5883 - Split() no longer moves caret if split is at caret location
5884 - ReplaceSelection() now updates the cursor and re-displays it
5885 - ReplaceSelection() now uses new Insert() method to avoid code
5887 - FormatText() can now handle formatting partial lines
5889 - Append now uses new TextControl.Insert() method (this avoids
5891 - Implemented Ctrl-X (Cut) (
5892 - Implemented Ctrl-C (Copy)
5893 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5894 regeneration when pasting text; roundtripping Copy&Paste within
5895 edit control still fails due to some calculation bugs in GenerateRTF)
5896 - The Delete key will now remove the current selection if it is visible
5897 * TextBox.cs: Removed debug lines
5898 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5899 driver to be initialized and can't therefore be done via a static ctor)
5901 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5903 * TextControl.cs: Added backend code for finding char arrays and strings
5905 - Added mouse wheel scroll support
5906 - Added support for VScroll and HScroll events
5908 - Implemented all seven Find() variants
5909 - Implemented GetCharFromPosition()
5910 - Implemented GetCharIndexFromPosition()
5911 - Implemented GetLineFromIndex()
5912 - Implemented GetPositionFromCharIndex();
5913 - Implemented SaveFile for PlainText and UnicodeText
5914 - Fixed set_Font, now setting a new font applies that font to
5916 - Implemented generic Document to RTF converter
5917 - Implemented SaveFile for RichText format (still missing unicode
5918 conversion for non-ansi chars)
5919 - Implemented get_Rtf
5920 - Implemented get_SelectedRtf
5922 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5924 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5925 to allow any captures to be released before triggering OnClick. This
5926 way a click handler may capture the mouse without interference.
5927 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5928 This way we send them even though X may not allow a grab (if the window
5929 isn't visible, for example)
5931 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5933 * DataGridViewRowEventArgs.cs: DataGridView implementation
5934 * DataGridViewElement.cs: DataGridView implementation
5935 * DataGridViewComboBoxCell.cs: DataGridView implementation
5936 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5937 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5938 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5939 * ImageLayout.cs: DataGridView implementation
5940 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5941 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5942 * DataGridViewSelectionMode.cs: DataGridView implementation
5943 * IDataGridViewEditingControl.cs: DataGridView implementation
5944 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5945 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5946 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5947 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5948 * DataGridViewColumnSortMode.cs: DataGridView implementation
5949 * DataGridView.cs: DataGridView implementation
5950 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5951 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5952 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5953 * Padding.cs: DataGridView implementation
5954 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5955 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5956 * DataGridViewRowEventHandler.cs: DataGridView implementation
5957 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5958 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5959 * DataGridViewButtonCell.cs: DataGridView implementation
5960 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5961 * DataGridViewEditMode.cs: DataGridView implementation
5962 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5963 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5964 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5965 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5966 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5967 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5968 * DataGridViewCellEventHandler.cs: DataGridView implementation
5969 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5970 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5971 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5972 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5973 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5974 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5975 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5976 * QuestionEventArgs.cs: DataGridView implementation
5977 * IDataGridViewEditingCell.cs: DataGridView implementation
5978 * DataGridViewTriState.cs: DataGridView implementation
5979 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5980 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5981 * DataGridViewColumnCollection.cs: DataGridView implementation
5982 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5983 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5984 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5985 * DataGridViewColumn.cs: DataGridView implementation
5986 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5987 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5988 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5989 * DataGridViewRow.cs: DataGridView implementation
5990 * DataGridViewImageCellLayout.cs: DataGridView implementation
5991 * DataGridViewImageCell.cs: DataGridView implementation
5992 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5993 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5994 * DataGridViewHeaderCell.cs: DataGridView implementation
5995 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5996 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5997 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5998 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5999 * QuestionEventHandler.cs: DataGridView implementation
6000 * DataGridViewCellStyleScopes.cs: DataGridView implementation
6001 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
6002 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
6003 * DataGridViewCell.cs: DataGridView implementation
6004 * DataGridViewCellEventArgs.cs: DataGridView implementation
6005 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
6006 * DataGridViewCellStyle.cs: DataGridView implementation
6007 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
6008 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
6009 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
6010 * TextFormatFlags.cs: DataGridView implementation
6011 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
6012 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
6013 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
6014 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
6015 * DataGridViewButtonColumn.cs: DataGridView implementation
6016 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
6017 * HandledMouseEventArgs.cs: DataGridView implementation
6018 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
6019 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
6020 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
6021 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
6022 * DataGridViewRowCollection.cs: DataGridView implementation
6023 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
6024 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
6025 * DataGridViewHitTestType.cs: DataGridView implementation
6026 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
6027 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
6028 * DataGridViewColumnEventHandler.cs: DataGridView implementation
6029 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
6030 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
6031 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
6032 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
6033 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
6034 * DataGridViewContentAlignment.cs: DataGridView implementation
6035 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
6036 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
6037 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
6038 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
6039 * DataGridViewPaintParts.cs: DataGridView implementation
6040 * DataGridViewCellCollection.cs: DataGridView implementation
6041 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
6042 * DataGridViewImageColumn.cs: DataGridView implementation
6043 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
6044 * DataGridViewElementStates.cs: DataGridView implementation
6045 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
6046 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
6047 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
6048 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
6049 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
6050 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
6051 * DataGridViewRowHeaderCell.cs: DataGridView implementation
6052 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
6053 * DataGridViewTextBoxCell.cs: DataGridView implementation
6054 * DataGridViewBand.cs: DataGridView implementation
6055 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
6056 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
6057 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
6058 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
6059 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
6060 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
6061 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
6062 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
6063 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
6064 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
6065 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
6067 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
6069 * ThemeWin32Classic.cs:
6070 - Draw the outside focus rectangle around buttons
6071 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
6072 doesn't use end caps for every dash of a line anymore. This
6073 workaround ignores the forecolor.
6075 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
6077 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
6080 2005-11-07 Jackson Harper <jackson@ximian.com>
6082 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
6084 2005-11-07 Jackson Harper <jackson@ximian.com>
6086 * ScrollableControl.cs: Calculate the maximum and change vars
6087 (more) correctly so that scrollbars appear as a sensible size.
6089 2005-11-04 Jackson Harper <jackson@ximian.com>
6091 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
6093 * TreeView.cs: When the tree is sorted null out the top_node so
6094 that it is recalculated.
6095 - Use dotted lines instead of dashed lines to match MS better.
6097 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
6100 - Implements key search for items. Useful when browsing files with FileDialog
6101 - When changing view mode or when clear the items reset scrollbar positions
6103 2005-11-04 Jackson Harper <jackson@ximian.com>
6105 * CurrencyManager.cs: Implement the MetaDataChanged event, the
6106 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
6107 as to what the method may do as there is no real way of creating a
6108 derived CurrencyManager and calling the method.
6110 2005-11-03 Jackson Harper <jackson@ximian.com>
6112 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
6113 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
6114 method which seems to just be used internally to refresh the tabs.
6116 2005-11-03 Jackson Harper <jackson@ximian.com>
6118 * TabControl.cs: Implement the remove method. Fix some broken
6121 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6123 * DateTimePicker.cs:
6124 - Added missing DateTimePickerAccessibleObject class
6125 - Added missing events
6126 - Added OnFontChanged method
6127 * Form.cs: Added missing attributes
6128 * TreeView.cs: Added missing attributes
6130 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6132 * GridItemCollection.cs: Fix signatures
6134 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6136 * XplatUI.cs: Updated build rev/date
6137 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
6138 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
6139 * Application.cs: Trigger context-specific ExitThread events
6141 2005-11-03 Jackson Harper <jackson@ximian.com>
6145 * GridTableStylesCollection.cs:
6150 * MonthCalendar.cs: Signature fixes
6152 2005-11-03 Jackson Harper <jackson@ximian.com>
6154 * TreeNodeCollection.cs: Remove should not be virtual.
6155 * TreeView.cs: Implement the last of the missing methods.
6157 2005-11-03 Jackson Harper <jackson@ximian.com>
6159 * TreeNodeConverter.cs: Implement to get off my class-status back.
6161 2005-11-03 Jackson Harper <jackson@ximian.com>
6163 * TreeView.cs: Hookup the bits for drag and drop.
6164 * TreeNode.cs: Don't cache the tree_view or index anymore, now
6165 that nodes can be moved from tree to tree easily this just causes
6166 all sorts of problems.
6167 * TreeNodeCollection: Don't need to give treenodes an index and
6168 treeview anymore when they are added, these are computed on the
6169 fly. Also make sure to remove a node before its added.
6171 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6174 - Added CaretSelection enum
6175 - Added comparison methods to Marker struct, makes selection code
6177 - Added SelectionStart and SelectionEnd as 'moveable' location for
6178 the CaretDirection enum and handler
6179 - Added selection_prev variable to track optimized invalidation for
6180 word and line selection
6181 - Added SelectionVisible property (returns true if there is a valid
6183 - Switched CaretHasFocus to only display the caret if there is no
6185 - Avoiding StringBuilder.ToString to retrieve a single char, instead
6186 using the direct character index; should be much faster
6187 - Added various conditional debug statements
6188 - Fixed invalidation calculation for selection ranges
6189 - Added ExpandSelection() method to support word and line selection
6190 - Switched SetSelectionToCaret to use new Marker compare overloads
6191 - Added central IsWordSeparator() method to determine word
6192 separators/whitespace and FindWordSeparator() to streamline common
6193 usage of IsWordSeparator()
6195 - Removed unneeded grabbed variable, it was just mirroring
6197 - No longer firing OnTextChanged event when Text setter is called,
6198 since the base will fire the event for us
6199 - Added handling of Ctrl-Up/Down selection
6200 - Added handling of Shift-Cursorkey selection
6201 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
6203 - Added handling of Shift and Ctrl-Shift-Home/End selection
6204 - Removed some debug output
6205 - Added handling for single/double/tripple-click to place caret/
6206 select word/select line respectively (Fixes bug #76031)
6207 - Added support for drag expansion of word/line selection
6208 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
6211 2005-11-02 Jackson Harper <jackson@ximian.com>
6213 * X11Dnd.cs: If the drag is going to and from a MWF window just
6214 copy the data instead of sending it out through the X Selection
6217 2005-11-02 Jackson Harper <jackson@ximian.com>
6220 * XplatUIX11.cs: When in a drag we don't want motion notify
6221 messages to get passed on to the other controls. This prevents
6222 mouse move messages from showing up in the drag source.
6224 2005-11-02 Jackson Harper <jackson@ximian.com>
6226 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
6227 the correct button is release to end a drag.
6228 * XplatUIX11.cs: Make the button state internal so the drag system
6229 can access it. Dragging needs to know about all button releases,
6230 not just left button.
6232 2005-11-02 Miguel de Icaza <miguel@novell.com>
6234 * Form.cs (Icon): If the icon is null, reset the icon to the
6237 * Cursor.cs: When writing the AND-mask bitmap do not include the
6238 number of colors, but hardcode those to two (black and white),
6239 fixes the loading of color cursors (Paint Dot Net).
6241 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
6242 turn off autoscaling.
6244 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
6246 2005-11-02 Jackson Harper <jackson@ximian.com>
6248 * X11Dnd.cs: Make sure to send a status message if the pointer
6249 enters a control that can not accept a drop, otherwise the cursor
6250 isn't updated correctly. Also tried to compress the lines of code
6253 2005-11-02 Jackson Harper <jackson@ximian.com>
6255 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
6256 set actions correctly. This isn't perfect as XDND and win32 have
6257 some differences on how you allow actions. I'll clear this up by
6258 adding a path for drag from MWF to MWF windows.
6259 * XplatUIX11.cs: Hook into the dnd system.
6261 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
6263 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
6264 previously shown but they are no longer need it. Very obvious when
6265 browsing files with FileDialog.
6267 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
6269 * Control.cs: We always need to call OnPaintBackground. We pretty much
6270 ignore AllPaintingInWmPaint and always do the painting there, whether
6271 it's set or not, since we always ignore the WM_ERASEBKGND message
6272 (which we don't generate on X11). This fixes #76616.
6273 * Panel.cs: Removed unneeded background painting. This happens properly
6274 in Control.cs already
6276 2005-10-31 Mike Kestner <mkestner@novell.com>
6278 * Menu.cs: Add items to collection before setting their index.
6279 * MenuItem.cs : add range checking with ArgumentException like MS.
6282 2005-10-31 Jackson Harper <jackson@ximian.com>
6284 * ListBox.cs: Invalidate if the area is visible at all not just
6285 contained in the visible rect. Fixes unselection of semi visible
6288 2005-10-31 Jackson Harper <jackson@ximian.com>
6290 * Control.cs: Consistently name the dnd methods. Make them
6291 internal so we can override them to match some MS behavoir
6293 * Win32DnD.cs: Use the new consistent names.
6295 2005-10-31 Jackson Harper <jackson@ximian.com>
6297 * TreeView.cs: Don't draw the selected node when we lose focus.
6299 2005-10-31 Jackson Harper <jackson@ximian.com>
6301 * X11Dnd.cs: We still need to reset the state even though a full
6302 reset isn't being done, otherwise status's still get sent all over
6305 2005-10-31 Jackson Harper <jackson@ximian.com>
6307 * Control.cs: Make the dnd_aware flag internal so the dnd
6308 subsystem can check it. Catch exceptions thrown in dnd handlers to
6310 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
6311 * X11Dnd.cs: Handle null data in the converters. Set the XDND
6312 version when sending a XdndEnter. Use the control/hwnd dnd_aware
6313 flags to reduce the number of dnd enters/status's sent.
6315 2005-10-31 Jackson Harper <jackson@ximian.com>
6317 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
6319 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
6321 * PictureBox.cs: Fixes 76512
6323 2005-10-28 Jackson Harper <jackson@ximian.com>
6325 * X11Dnd.cs: Early implementation to support winforms being a drag
6326 source for data on X11. Also restructured the converters so they
6327 can go both ways now.
6328 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
6330 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
6332 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
6335 2005-10-27 Jackson Harper <jackson@ximian.com>
6337 * TreeNode.cs: Implement serialization so my DnD examples will work.
6339 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
6341 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
6342 TreeView.cs: Don't dispose objects that are not owned.
6344 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
6346 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
6347 should retrieve the current cursor and report that, but XplatUI
6348 doesn't (yet) have an interface for that (and I'm not sure I even
6350 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
6351 until any message loop processing is done (and the WM_SETCURSOR
6352 replaces the cursor to the proper one)
6354 - Fixed override behaviour, we can't set the cursor globally on X11,
6355 just for our windows.
6356 - Invalidating the System.Drawing X11 display handle when we are
6358 * Control.cs: Fix to make csc happy
6360 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
6363 - get_Text: Add last line (without trailing newline) to returned
6365 - get_TextLength: Count last line in returned length
6366 - ToString: Call Text property instead of duplicating code
6368 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
6370 * ImageList.cs: Dispose ImageAttributes objects.
6372 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6374 * ImageList.cs: Use attribute constructors with less arguments where
6377 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6379 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
6380 Use typeof instead of strings when assembly is referenced. Added
6383 2005-10-21 Jackson Harper <jackson@ximian.com>
6385 * ListView.cs: Raise a double click event. Also tried to somewhat
6386 fix when the selectedindexchanged event is raised. Its still
6389 2005-10-21 Jackson Harper <jackson@ximian.com>
6391 * TreeView.cs: New method to invalidate the plus minus area of a
6392 node without invalidating the whole node (maybe this can be used
6393 in some more places).
6394 * TreeNodeCollection.cs: When adding to an empty node we need to
6395 invalidate its plus minus area so the little block shows up.
6397 2005-10-21 Jackson Harper <jackson@ximian.com>
6399 * TreeView.cs: Make sure that when we invalidate a node the bounds
6400 are big enough to cover the selected box and the focus
6401 rectangle. Use a different colour for the lines connecting nodes
6402 so they show up with all themes.
6404 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6406 * NativeWindow.cs: Don't call anything that could call into the driver,
6407 we might be on a different thread.
6409 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6411 * Control.cs(Dispose): Since Dispose might run on a different thread,
6412 make sure that we call methods that could call into the driver via
6413 invoke, to avoid thread issues
6415 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6417 * XplatUI.cs: Removed finalizer
6418 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
6419 not allowing to be called on the finalizer thread.
6421 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
6424 - Reverted r51889 and r51891.
6425 - Added ImageListItem class that stores unmodified image items and image
6426 properties required to create list images until handle is created.
6427 - Added AddItem and moved image creation logic to AddItemInternal.
6428 - Added CreateHandle method that creates images based on unmodified items.
6429 - Added DestroyHandle that changes state to store unmodified items.
6430 - Add and AddStrip methods no more create handle.
6431 - ReduceColorDepth has no return value.
6432 - Dispose destroys handle.
6433 - Modified other methods to reflect the above changes.
6434 - Implemented key support.
6435 - Added profile 2.0 members and attributes.
6436 - Added private Reset and ShouldSerialize methods that provide the same
6437 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
6438 them as they are private.
6439 - Added some more comments about implementation details.
6441 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6443 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
6445 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6447 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
6449 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6451 * DataGridDrawingLogic.cs: Fixes column hit calcultation
6452 * DataGridColumnStyle.cs: Remove debug message
6454 2005-10-20 Jackson Harper <jackson@ximian.com>
6456 * TreeView.cs: We can always get input keys regardless of whether
6457 or not editing is enabled. They are used for navigation.
6459 2005-10-20 Jackson Harper <jackson@ximian.com>
6461 * TreeNode.cs: Use the viewport rect for determining if a node
6462 needs to be moved for visibility. Don't use Begin/End edit. This
6463 calls a full refresh when its done.
6464 * TreeView.cs: New SetBottom works correctly. Make the viewport
6465 rect property internal so the treenodes can see it. When clicking
6466 on a node we need to ensure that its visible because it might just
6467 be partly visible when clicked.
6469 2005-10-20 Jackson Harper <jackson@ximian.com>
6471 * TreeNodeCollection.cs: Remove debug code.
6473 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6475 * Datagrid.cs: Implements column sorting in Datagrid
6476 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
6478 2005-10-20 Jackson Harper <jackson@ximian.com>
6480 * TreeNodeCollection.cs: Remove items properly. Update the correct
6481 area after removing them.
6483 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6485 * Datagrid.cs: Should not call base.OnPaintBackground
6487 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6489 * XplatUIX11.cs (GetMessage):
6490 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
6491 window instead of client window
6492 - Now properly calculates NC_xBUTTONUP message coordinates
6493 - ScreenToMenu now properly calculates it's coordinates of whole
6494 window, since menus are in the whole window, not in the client
6496 - Added WholeToScreen coordinate translation method
6498 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6500 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
6501 want to return a message, loop back to the beginning of the function
6502 and grab the next real message to process instead.
6504 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6506 * Splitter.cs: Properly set limits if no filler control is used
6508 2005-10-19 Jackson Harper <jackson@ximian.com>
6510 * ColorDialog.cs: Don't show the help button if it is not enabled
6511 instead of disabling it (this is what MS does). Don't create the
6512 panel until the dialog is run, otherwise the vars (such as
6513 ShowHelp) are not set yet.
6515 2005-10-19 Jackson Harper <jackson@ximian.com>
6517 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
6518 are reduced when adding nodes.
6520 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
6523 2005-10-19 Jackson Harper <jackson@ximian.com>
6525 * FolderBrowserDialog.cs: End editing our treeview so the window
6526 actually gets refreshed.
6528 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6530 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
6531 Obsoleted handling of WM_ERASEBKGND, now always draws our background
6534 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6536 * MenuAPI.cs: Returns after Hidding window
6537 * XplatUIX11.cs: Added TODO found while debugging menu issues
6539 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6541 * XplatUIX11.cs: Do not re-map the whole window when it's size
6542 becomes non-zero unless it's supposed to be actually visible
6544 2005-10-18 Jackson Harper <jackson@ximian.com>
6546 * TreeView.cs: We don't need to keep a count anymore.
6547 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
6548 use the Grow method.
6550 2005-10-18 Jackson Harper <jackson@ximian.com>
6552 * TreeNodeCollection.cs: Insert is not supported on arrays, so
6553 implement it manually here.
6555 2005-10-18 Jackson Harper <jackson@ximian.com>
6557 * ImageList.cs: Dont kill the list when the colour depth is
6558 changed, just change the colour depth of all the images.
6559 - Same goes for setting the image size. Just resize them all
6560 instead of killing the list softly.
6562 2005-10-18 Jackson Harper <jackson@ximian.com>
6564 * Control.cs: Don't invalidate empty rectangles.
6566 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6569 - Adds checked item to the Checked/Item lists (where empty before)
6570 - Do not add items to the Selected lists if they are already present
6572 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
6573 - When deleting items make sure that we delete them for the Selected
6574 and Checked list also.
6576 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6578 * Label.cs: Dispose objects no longer used
6579 * ThemeWin32Classic.cs: Dispose objects no longer used
6581 2005-10-18 Jackson Harper <jackson@ximian.com>
6583 * TabControl.cs: Don't refresh the whole control when the tabs are
6584 scrolled, we just need to refresh the tab area.
6586 2005-10-17 Jackson Harper <jackson@ximian.com>
6588 * XplatUIX11.cs: Compress code a little bit. Only calculate the
6589 after handle when we need it.
6591 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6593 * Control.cs: When the parent size changes, recalculate anchor
6594 positions. Partial fix for #76462
6596 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6598 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
6601 2005-10-17 Jackson Harper <jackson@ximian.com>
6603 * MonthCalendar.cs: Don't create the numeric up down until our
6604 handle is created. Otherwise our handle is created in the
6605 constructor and we don't know if we are a WS_CHILD or WS_POPUP
6608 2005-10-17 Jackson Harper <jackson@ximian.com>
6610 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
6613 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6614 * TreeNode.cs : small logical fix (was using local var instead of field)
6616 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6618 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
6620 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6622 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
6624 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
6627 - Re-implemented anchoring code. My first version was really broken.
6628 This fixes bug #76033. Unlike the previous implementation we will
6629 no longer have round errors since all numbers are calculated from
6630 scratch every time. Removed various anchor-related obsolete vars.
6631 - InitLayout no longer causes layout event firing and layout to be
6634 2005-10-16 Jackson Harper <jackson@ximian.com>
6636 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
6639 2005-10-16 Jackson Harper <jackson@ximian.com>
6641 * TabControl.cs: Remove debug code.
6643 2005-10-16 Jackson Harper <jackson@ximian.com>
6645 * XEventQueue.cs: Increase the default queue size (very simple
6646 apps needed to grow the queue).
6647 * Hwnd.cs: No finalizer so we don't need to suppress
6648 finalization. Compute the invalid area manually so a new rectangle
6649 does not newto be created.
6650 * ScrollableControl.cs: Don't set any params (otherwise visibility
6651 isn't set correctly).
6652 * MdiChildContext.cs: New constructor takes the mdi parent so it
6653 doesn't have to be computed and avoids a crash on windows. Draw
6654 the window icon properly, and allow the text to be seen.
6655 * Form.cs: Use new MdiChildContext constructor. Make sure the
6656 child context isn't null in wndproc.
6657 * TabControl.cs: Don't set focus, this is muddling keyboard
6658 behavoir. Expand the tab rows when a window size increase will
6659 allow extra tabs to be seen. Don't allow tabs smaller than the
6660 width of a window to be scrolled out of view.
6662 * TreeView.cs: Use measure string to calculate a nodes width, the
6663 width is cached and only updated when the text or the font is
6664 changed. Don't check for expand/collapse clicks on the first level
6665 nodes if root lines are disabled.
6667 2005-10-16 Ritvik Mayank <mritvik@novell.com>
6669 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
6671 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6673 * DataGridBoolColumn.cs: fixes warning
6675 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6677 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
6678 to match more to match more precisely the MS Net behavior
6680 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6682 * Hwnd.cs: Added field to track if window is mapped
6684 - Unmap windows if they become 0-size, re-map when
6685 they are >0 again; fixes #76035
6686 - Re-set our error handler after initializing X11Desktop
6687 to override any error handlers Gtk or whatever was called
6690 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6692 * CheckedListBox.cs: Removed unused vars
6693 * ListView.cs: Fixed signatures
6694 * RichTextBox.cs: Removed unused vars
6695 * TextBoxBase.cs: Removed unused vars
6696 * XplatUIWin32.cs: Removed unused vars
6697 * XplatUIX11.cs: Removed unused vars
6698 * XplatUI.cs: Updated version and date to latest published
6700 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6702 * Cursor.cs: Added private .ctor to work around a bug in
6703 resourceset (Thanks to Geoff Norton for the help on this)
6704 * SplitterEventArgs.cs: Made fields accessible so we don't
6705 waste boatloads of objects and can reuse the same one
6707 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
6708 any captions and borders when generating screen coordinates
6709 * Splitter.cs: Reimplemented control, now fully complete, uses
6710 rubberband drawing, supports and obeys all properties, has
6713 2005-10-13 Miguel de Icaza <miguel@novell.com>
6715 * Form.cs (Form): Setup default values for autoscale and
6716 autoscale_base_size; Make these instance variables, not static
6719 (OnLoad): on the first load, adjust the size of the form.
6721 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6723 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
6724 width argument to DrawReversibleRectangle()
6725 * XplatUIWin32.cs, XplatUIX11.cs:
6726 - Implemented width for DrawReversibleRectangle()
6727 - Added logic to DrawReversibleRectangle that recognizes a zero
6728 width or height and only draws a line in that situation
6730 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6732 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
6733 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
6734 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
6735 method (it uses our FosterParent window to get a graphics context)
6737 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6739 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
6740 and SetWindowBackground methods
6742 - Setting proper ControlStyles
6743 - We no longer call XplatUI.SetWindowBackground and XplatUI.
6744 EraseWindowBackground, instead we draw the window background
6745 ourselves in PaintControlBackground. This behaviour is
6746 required to match MS, where, when OnPaintBackground is not
6747 called, the background is not drawn.
6748 - Removed unneeded Refresh() in set_Text
6749 * Hwnd.cs: Dropped the ErasePending support. No longer needed
6751 - Created DeriveStyles method to translate from CreateParams to
6752 FormBorderStyle and TitleStyle, also handles BorderStyle (which
6753 matches FormBorderStyle enum values)
6754 - Consolidated SetHwndStyles and CalculateWindowRect border/title
6755 style calculations into single DeriveStyles method
6756 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
6757 from redrawing the whole window on any resize or expose.
6758 - Fixed CreateWindow usage of SetWindowValuemask. Before not
6759 all styles were applied to our whole/client window appropriately
6760 - Removed EraseWindowBackground() and SetWindowBackground() methods
6761 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
6762 no longer clear/redraw the background through X
6763 - Removed handling of erase_pending bit, we have no use for it (or
6766 - Removed generation and handling of WM_ERASEBKGND message
6767 - Removed EraseWindowBackground() and SetWindowBackground() methods
6768 - Removed handling of hwnd.ErasePending flag
6770 - Removed EraseWindowBackground() and SetWindowBackground() methods
6771 - We no longer call EraseWindowBackground on PaintEventStart, we
6772 ignore the fErase flag, erasing is handled in Control in the
6774 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
6775 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
6776 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
6777 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
6778 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
6779 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
6780 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
6782 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
6784 * PropertyGrids.cs: Get sub properties
6785 * PropertyGridView.cs: Fix drawing code
6787 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6789 * ListBox.cs: Fixes 76383
6791 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6793 * DataGridTextBoxColumn.cs: Sets location and size before attachment
6794 * ThemeWin32Classic.cs: Fixes border drawing and calculations
6795 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
6798 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6800 * ComboBox.cs: Fixes border drawing
6802 2005-10-10 Miguel de Icaza <miguel@novell.com>
6804 * MimeIcon.cs: Ignore errors if the file can not be read.
6806 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6808 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
6809 - Fixed border calculations
6810 - Fixed horizontal scrolling in single column listboxes
6811 - Fixed drawing issues
6813 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
6815 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
6816 FormBorderStyle enum
6817 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
6818 code to determine FormBorderStyles from CreateParams
6820 - Fixed bug where we'd set the wrong window styles if we were
6821 not creating an MDI window
6822 - Added call to XplatUI.SetBorderStyle when form borders are set
6823 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
6825 - Removed obsolete edge style
6826 - Switched from BorderStyle to FormBorderStyle
6828 2005-10-10 Jackson Harper <jackson@ximian.com>
6830 * Form.cs: Use the property to get the window handle instead of
6831 accessing it directly. Prevents a null reference exception.
6833 2005-10-10 Jackson Harper <jackson@ximian.com>
6835 * TreeView.cs: Don't adjust the rect given to DrawString now that
6836 our libgdiplus draws correctly.
6838 2005-10-08 Jackson Harper <jackson@ximian.com>
6840 * TreeView.cs: Don't try to find the clicked on node if there are
6841 no nodes in the tree.
6843 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6849 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6851 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6852 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6854 Use ResPool for brushes and dispose System.Drawing objects that
6855 are not used anymore.
6857 2005-10-07 Jackson Harper <jackson@ximian.com>
6859 * MdiChildContext.cs: Use the new borders instead of drawing them
6862 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6864 * Calling UpdateBounds after changing the window's BorderStyle
6865 since the style can change the ClientSize
6867 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6869 * Control.cs: Made PaintControlBackground virtual
6870 * Panel.cs: Overriding PaintControlBackground instead of using paint
6871 event; paint event method was interfering with 'real' users of the
6874 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6876 * ThemeWin32Classic.cs: remove border drawing since it is handled
6877 by the base control class now and was causing double border drawing.
6879 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6881 * Panel.cs: Redraw our background on paint. Not a pretty solution,
6882 but it does seem to match MS behaviour. This fixes bug #75324
6884 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6886 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
6887 somewhat hackish looking
6889 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6892 - We now accept Enter even if AcceptEnter is false, if the containing
6893 form does not have an AcceptButton configured (fixes bug #76355)
6894 - Calculations are now fixed to no longer use Width/Height, but
6895 ClientSize.Width/Height, since we now support borders (this was
6896 a result of fixing borders and therefore bug #76166)
6897 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6898 true (fixes bug #76354)
6900 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6903 - Defaulting BorderStyle and setting it in XplatUI when our window
6905 - Added enum check to InternalBorderStyle setter
6907 - Added drawing of window borders
6908 - Now properly calculates WM decorations offset for toplevel
6909 windows (fixes bug #74763)
6911 - Implemented BorderStyles for windows (we're letting win32 draw
6913 - Fixed the signature for SetWindowLong
6914 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6915 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6917 * UpDownBase.cs: Remove drawing of borders, this is handled by
6918 the driver, outside the client area
6919 * ListView.cs: Removed bogus border calculations. The control should
6920 be oblivious to borders, since those are not part of the client
6922 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6923 * ThemeWin32Classic.cs: Removed border calculations from ListView
6926 2005-10-06 Jackson Harper <jackson@ximian.com>
6928 * MdiChildContext.cs: Clear out the old virtual position remove
6929 all the unneeded calls to CreateGraphics.
6931 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6933 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6935 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6938 - Added loading and setting of our new default icon
6939 - Only set icon if window is already created
6941 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6944 - Do not explicitly set the foreground and background colors, to
6945 allow inheriting from parents (fixes #76302)
6946 - Use Control's InternalBorderStyle property to deal with borders
6948 2005-10-06 Jackson Harper <jackson@ximian.com>
6950 * MdiChildContext.cs: Use the new xplatui function to draw a
6953 2005-10-06 Jackson Harper <jackson@ximian.com>
6955 * Form.cs: Add the parent before creating the child context cause
6956 we need the parent when setting up the child.
6958 2005-10-06 Jackson Harper <jackson@ximian.com>
6960 * FolderBrowserDialog.cs: redo the tree population code so a
6961 second thread isn't used. Should be a lot faster and more stable
6964 2005-10-05 Jackson Harper <jackson@ximian.com>
6966 * TreeView.cs: There are no expand/collapse boxes if the node has
6969 2005-10-05 Jackson Harper <jackson@ximian.com>
6971 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6973 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6975 * FileDialog.cs: Fix InitialDirectory
6977 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6980 - Fixes changing between styles
6982 - Fixes last item crashing when navigating with keyboard
6984 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6986 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6988 2005-10-05 Jackson Harper <jackson@ximian.com>
6990 * TreeView.cs: If updating the root node do a full refresh.
6991 * TreeNode.cs: The root node should be expanded by default. Also
6992 added a utility prop to tell if we are the root node.
6993 * TreeNodeCollection.cs: Only refresh if the node we are being
6994 added to is expanded. Also added a comment on a potential
6997 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6999 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
7000 in dispose method. Fixes #76330
7002 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
7004 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
7006 - Implements vertical and horizontal scrolling using XplatUI
7007 - Fixes keyboard navagation
7008 - Fixes EnsureVisible
7010 - Handles and draws focus properly
7013 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
7015 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
7016 Create handle. NET_2_0: Destroy handle when value is null.
7018 2005-10-03 Jackson Harper <jackson@ximian.com>
7020 * ScrollBar.cs: My last scrollbar patch was broken. This is a
7021 revert and a new patch to prevent the thumb from refreshing so
7024 2005-10-02 Jackson Harper <jackson@ximian.com>
7026 * ScrollBar.cs: Don't update position if it hasn't actually
7027 changed. This occurs when you hold down the increment/decrement
7028 buttons and the thumb gets to the max/min.
7030 2005-10-01 Jackson Harper <jackson@ximian.com>
7033 * MdiChildContext.cs:
7034 * MdiClient.cs: Implement ActiveMdiChild in Form.
7036 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
7038 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
7040 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
7042 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
7045 2005-09-30 Jackson Harper <jackson@ximian.com>
7047 * ListBox.cs: Don't do a full refresh unless some data has
7050 2005-09-30 Jackson Harper <jackson@ximian.com>
7052 * TreeView.cs: Make sure that the checkboxes size is factored in
7053 even when not visible.
7055 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7057 * FileDialog.cs: Fix Jordi's build break
7059 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7062 - Use standard the Windows colours for the combobox as espected
7063 - Dispose objects that use resouces when no longer need them
7065 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7067 * X11DesktopColors.cs: Initial incomplete implementation
7068 * XplatUIX11.cs: Added call to initialize X11DesktopColors
7070 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7073 - Switched Theme color names to match the names defined in
7074 System.Drawing.KnownColors. Life's hard enough, no need to make
7076 - Added setters to all theme color properties so themes can set
7077 their color schemes. The setters also propagate the color changes
7078 to System.Drawing.KnownColors via reflection
7079 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
7080 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
7081 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
7082 use the new, more logical theme color names
7083 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
7085 * ThemeWin32Classic.cs:
7086 - Removed code to set the old classic Windows colors. Instead it
7087 now relies on the colors returned by System.Drawing.KnownColors
7088 which will be either modern static colors (Unix) or colors
7089 read from the user's configuration (Win32)
7090 - Updated to use the new, more logical theme color names
7091 - Switched DataGrid drawing code to use only Theme colors instead of
7092 a mix of System.Drawing.KnownColors and Theme colors
7093 - DrawFrameControl(): Removed code that fills the button area, the
7094 fill would overwrite any previous fill done by a control. This
7096 - Added DrawReversibleRectangle() stub
7097 * ScrollableControl.cs: Set visible state to false when scrollbars
7098 are removed (pdn fix)
7099 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
7100 DrawReversibleRectangle() method to allow drawing primitive
7102 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
7104 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7106 * ImageList.cs: Add(Icon): Create handle.
7108 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7111 * ThemeWin32Classic.cs:
7114 - Issues with drawing
7116 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7118 * ImageList.cs: Moved RecreateHandle back to ImageList as event
7119 source has to be the ImageList.
7121 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7123 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
7125 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7127 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
7129 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7131 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
7133 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
7134 * GridItem.cs: Fixed TODOs
7135 * GridItemCollection.cs: Added ICollection interface
7137 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7139 * ImageList.cs: Resize icons when needed.
7141 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
7144 - Fixes GetBounds and returns on screen rects
7146 - Fixes vertical and horzintal scrolling of items
7147 * ThemeWin32Classic.cs:
7150 2005-09-29 Raja R Harinath <harinath@gmail.com>
7152 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
7154 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
7156 * ImageList.cs: Added comments about handle creation. Moved Handle,
7157 HandleCreated and OnRecreateHandle implementations to ImageCollection.
7158 Handle is created in Add methods.
7160 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7162 * DataGridDrawingLogic.cs:
7163 - Takes rows into account on Colum calculations
7164 - Returns the column when clickig
7166 - Fixes default HitTestInfo values
7167 - Fixes HitTestInfo.ToString
7168 - Fixes ResetBackColor
7170 2005-09-28 Jackson Harper <jackson@ximian.com>
7172 * MdiChildContext.cs: Obey rules for fixed sized windows (no
7173 sizing or cursor changes). Also added some temp code to draw the
7174 titlebars text (Makes dev a little easier).
7176 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7178 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
7180 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7182 * ListBox.cs: Fixes bug 76253
7184 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7186 * ImageList.cs: Added comments about the current implementation. Added
7187 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
7188 Format32bppArgb to preserve transparency and can use Graphics.FromImage
7189 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
7190 with Bitmap.LockBits for better performance. Revised the whole file to
7191 match MS.NET behaviour and provide better performance. Non-public
7192 interface members are calling public members even when they throw
7193 NotSupportedException for better maintainability. Moved ColorDepth,
7194 ImageSize, ImageStream and TransparentColor implementations to
7195 ImageCollection for better performance as these properties are not used
7197 * ImageListStreamer.cs: Added a new internal constructor that takes an
7198 ImageList.ImageCollection and serializes Images based on
7199 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
7200 match ImageList property name.
7202 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
7204 * ListBox.cs: Fixes IndexFromPoint for last item
7206 2005-09-27 Jackson Harper <jackson@ximian.com>
7208 * Form.cs: Set the position of new mdi children correctly.
7210 2005-09-27 Jackson Harper <jackson@ximian.com>
7212 * MdiClient.cs: New mdi children need to be added to the back of
7213 the controls collection so the zorder is set correctly. Also add a
7214 count of all the child windows that have been created.
7216 2005-09-27 Jackson Harper <jackson@ximian.com>
7218 * Form.cs (CreateParams): Setup MDI forms correctly.
7220 2005-09-27 Jackson Harper <jackson@ximian.com>
7222 * MdiChildContext.cs:
7229 * ScrollableControl.cs:
7230 * ComboBox.cs: Add implicit controls using the new implict control
7231 functionality in ControlCollection. Also try to block multiple
7232 control add in a suspend/resume layout to save some cycles.
7234 2005-09-27 Jackson Harper <jackson@ximian.com>
7236 * Control.cs: Add functionality to the controls collection to add
7237 'implicit controls' these are controls that are created by the
7238 containing control but should not be exposed to the user. Such as
7239 scrollbars in the treeview.
7240 * Form.cs: The list var of the ControlsCollection is no longer
7241 available because of the potential of implicit controls getting
7242 ignored by someone accessing the list directly.
7244 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
7246 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
7247 loose it's parent. (Fixed bug introduced in r49103 when we added
7248 setting the child parent to null on Remove)
7250 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
7252 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
7253 * Splitter.cs: Added missing attributes for BorderStyle property.
7254 * TextBoxBase.cs: Marked Calculate* methods internal.
7255 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
7258 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
7260 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
7262 2005-09-25 Jackson Harper <jackson@ximian.com>
7264 * TreeView.cs: Update the node bounds correctly regardless of
7265 whether the node is visible.
7267 2005-09-25 Jackson Harper <jackson@ximian.com>
7269 * ImageList.cs: Don't dispose the image after it is added to the
7270 image list. Only reformat images that need to be resized.
7272 2005-09-25 Jackson Harper <jackson@ximian.com>
7274 * ImageList.cs: Don't set the format when changing the image.
7276 2005-09-25 Jackson Harper <jackson@ximian.com>
7278 * TreeView.cs: We can't just assume the node has a font. Use the
7279 treeviews font if no node font is available.
7281 2005-09-25 Jackson Harper <jackson@ximian.com>
7283 * TreeView.cs: Allow the scrollbars to be reset with negative
7285 - Don't add scrollbars to negative sized windows.
7287 2005-09-23 Jackson Harper <jackson@ximian.com>
7289 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
7290 old Mono.Posix. Also remove some stray code that shouldn't have
7293 2005-09-23 Jackson Harper <jackson@ximian.com>
7295 * TreeView.cs: Attempt at proper sizing of the horizontal
7296 scrollbar. Also don't resize the scrollbars unless they are
7299 2005-09-23 Jackson Harper <jackson@ximian.com>
7301 * TreeView.cs: We don't need to expand the invalid area when the
7302 selection changes, as this is all drawn in the node's bounding
7303 box. The area needs to be expanded (previous typo was contracting
7304 it) when the focus rect moves.
7306 2005-09-23 Jackson Harper <jackson@ximian.com>
7308 * TreeView.cs: Display the selection box under the correct
7309 circumstances. We were rendering white text with no selection box
7312 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
7314 * TextControl.cs(Split): Now updates selection start/end if it points
7315 into a line that's being split. Fixes a FIXME and bug #75258
7317 2005-09-23 Jackson Harper <jackson@ximian.com>
7320 * ListControl.cs: Don't use the path when retrieving binding
7321 managers from the binding context. My bat sense tells me that the
7322 path is only used on insertion.
7324 2005-09-22 Jackson Harper <jackson@ximian.com>
7326 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
7328 2005-09-22 Jackson Harper <jackson@ximian.com>
7330 * Splitter.cs: There are special cursors used for splitting.
7331 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
7333 2005-09-22 Jackson Harper <jackson@ximian.com>
7335 * Splitter.cs: Change the cursor appropriately when the splitter
7336 is moused over, so the user actually knows there is a splitter
7339 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7341 * Label.cs : Fix ToString method to give same output as MS.NET
7343 2005-09-22 Jackson Harper <jackson@ximian.com>
7345 * TreeView.cs: Create the scrollbars when the handle is created
7346 and add them right away, just make them invisble. Also account for
7347 the window being shrunk vertically to the point that the vert
7348 scrollbar needs to be added.
7349 - Remove some 0.5 adjustments to get around anti aliasing issues.
7351 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
7353 * MainMenu.cs: Fixes default value
7354 * MenuItem.cs: Fixes default value
7356 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
7358 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
7360 2005-09-21 Jackson Harper <jackson@ximian.com>
7362 * Control.cs: Don't try to set the border style on the window if
7363 it hasn't been created. When the window is created the border
7366 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7368 * Control.cs (Update): Don't call XplatUI if we don't have a
7371 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7373 * ContainerControl.cs: Instead of throwing an exception, print
7374 a one-time warning about Validate not being implemented
7375 * XplatUIWin32.cs: Removed debug output
7377 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7379 * Control.cs: Only set XplatUI background if we expect the windowing
7380 system to handle the background. This stops controls that draw their
7381 own background from flickering
7383 * XplatUIX11.cs: Support custom visuals and colormaps for window
7384 creation. This allows, amongst other things, using MWF X11 windows
7387 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7389 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
7390 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
7391 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
7392 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
7393 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
7394 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
7395 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
7396 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
7397 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
7398 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
7399 GridColumnStylesCollection.cs,
7400 IDataGridColumnStyleEditingNotificationService.cs,
7401 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
7402 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
7403 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
7404 TreeNodeCollection.cs, AmbientProperties.cs,
7405 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7406 DataObject.cs, ErrorProvider.cs, Splitter.cs,
7407 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
7408 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
7409 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
7410 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
7411 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
7412 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
7413 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
7414 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
7415 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
7416 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
7417 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
7418 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
7419 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
7420 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
7421 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
7422 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
7423 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
7424 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
7425 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
7426 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
7427 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
7428 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
7429 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
7430 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
7431 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
7432 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
7433 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
7434 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
7435 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
7436 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
7437 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
7438 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
7439 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
7440 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
7441 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
7443 2005-09-21 Jackson Harper <jackson@ximian.com>
7445 * TreeNode.cs: Call Before/After Expand not Collapse when
7448 2005-09-20 Jackson Harper <jackson@ximian.com>
7450 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
7452 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7456 - Fixes proper storing of subitems
7457 - Fixes not updated items
7459 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7461 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
7462 things if our window handle isn't created yet. Also disabled
7463 debug for TextBoxBase
7465 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7467 * MenuAPI.cs: Remove filtering of events to allow menu usage
7469 2005-09-20 Miguel de Icaza <miguel@novell.com>
7471 * Cursor.cs: Allow null to be passed to Cursor.Current.
7473 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
7475 * ThemeWin32Classic.cs:
7476 - Change some private methods/fields to protected virtual so that
7477 they can be accessed and overriden in derived classes
7478 - First refactoring of some methods. Derived themes now don't
7479 need to duplicate the complete code from ThemeWin32Classic
7481 - Added nice StatusBar
7482 - Derive from ThemeWin32Classic and not Theme
7483 - Removed duplicate ThemeWin32Classic code
7485 2005-09-20 Miguel de Icaza <miguel@novell.com>
7487 * Control.cs (ControlCollection.Add): If the value null is passed
7488 the control is ignored.
7492 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7494 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
7495 PostQuitMessage state.
7496 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
7498 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7500 * Application.cs: Our constructor will never get called, move
7501 initialization to fields; fixes bug #75933
7503 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7506 - Allow files to be selected properly using file name
7508 - Add ability to change diretory (absolute / relative)
7509 using file name combo box.
7511 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7514 - Fixes Multicolumn listboxes item wrong calculations
7515 - Allows to click when only one item is in the listbox
7516 - Fixes crash when no items using keyboard navigation
7518 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
7520 * ComboBox.cs: Reverted almost everything from the latest patch which
7523 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
7526 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
7528 - When DropDownStyle is Simple, it does not show scrollbar
7529 to the last item of the list.
7530 - When DropDownStyle is Simple, it crashed when the list was
7531 scrolled down with the down cursor key.
7532 - Fixed a bug that when DropDownStyle is DropDownList, the
7533 selected item was not shown.
7534 - The position of the selected item was not preserved when
7535 the next dropdown happened.
7536 * ThemeWin32Classic.cs:
7537 - Items were wrapped at the right end.
7538 * CheckedListBox.cs:
7541 - Items should be fully shown.
7542 - When resizing and vertical scrollbar disappeared, the item
7543 of index 0 should be on the top of the list.
7544 - GetItemRectangle should consider the size of ver. scrollbar
7546 - SizingGrip area should not be allocated when it is not
7548 - Now it reflects MinWidth of the containing panel and
7549 fixed a crash that happens when its width becomes so small.
7551 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7553 * CheckedListBox.cs: Fixes bug 76028
7554 * ListBox.cs: Fixes bug 76028
7556 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7558 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
7559 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
7561 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
7563 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
7565 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7567 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
7569 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7571 * IRootGridEntry.cs: Added
7572 * PropertyGridCommands.cs: Added
7573 * PropertiesTab.cs: Added missing methods and property
7574 * PropertyGridView.cs: Made class internal
7575 * PropertyGridTextBox.cs: Made class internal
7577 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7579 * MimeIcon.cs: Try to check some other environment variables
7580 if "DESKTOP_SESSION" returns "default"
7582 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7584 * ThemeNice.cs: Corrected background colors (e.g. menus)
7585 * ColorDialog.cs: Use correct background colors for controls
7587 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7589 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
7591 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
7593 * RichTextBox.cs: Added initial implementation
7594 * lang.cs: Removed. Was accidentally checked in long time ago
7595 * TODO: Removed. Contents were obsolete
7597 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7599 * PropertiesTab.cs : Added
7601 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7603 * PropertyGrid.cs : Update
7604 * PropertyGridView.cs : Update
7605 * System.Windows.Forms.resx : Added images and strings
7607 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7609 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
7611 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7613 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
7614 a busy loop right after the Ungrab the X11 display is otherwise
7617 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
7619 * ThemeWin32Classic.cs: Optimise the use of clipping
7621 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
7623 * DataGrid.cs: fixes recursion bug
7625 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
7628 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
7631 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
7633 * ThemeNice.cs: Draw nice ProgressBars
7635 2005-09-01 Miguel de Icaza <miguel@novell.com>
7637 * VScrollBar.cs: Another buglet found by Aaron's tool.
7639 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
7642 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
7645 - Added nicer menu drawing
7649 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7651 * CreateParams.cs (ToString): Made output match MS
7652 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
7653 handle is already created (to avoid forcing window creation)
7654 * XplatUIX11.cs: Set window text to caption after creating window,
7655 in case Text was set before window was created
7656 * Form.cs: Use this.Text instead of a static string as caption
7658 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7660 * NotifyIcon.cs: Don't set the window to visible; this screws
7661 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
7662 OnPaint without a bitmap)
7663 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
7664 happen very often anyway; we could add the check to the WM_PAINT
7665 event generation code
7667 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7669 * NotifyIcon.cs: Fill the icon area with a background color, to
7670 avoid 'residue' when transparent icons are drawn
7672 - Handle whole_window == client_window when destroying windows
7673 - SystrayAdd(): Set client_window to whole_window value to
7674 get mouse and other events passed to NotifyIcon
7676 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7678 * Form.cs: Set proper default for Opacity property
7680 - ShowSystray(): Don't bother creating telling the OS
7681 about the systray item if no icon is provided
7682 - Now handles WM_NCPAINT message to deal with whole/client window
7684 - Create window as visible to not get caught by Expose optimization
7685 * Hwnd.cs: Removed debug message
7686 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
7687 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
7688 PaintEventStart/End to use new client argument
7690 - Commented out debug messages
7691 - Switched PaintEventStart/End to use new client argument
7692 * XplatUI.cs: Added client window bool to PaintEventStart()/
7693 PaintEventEnd() calls, to support drawing in non-client areas
7695 - Added client window bool to PaintEventStart()/PaintEventEnd()
7696 calls, to support drawing in non-client areas
7697 - Added conditional compile to allow using MWF BeginInvoke
7700 - Added some conditional debug output
7701 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
7702 whole/client window split
7703 - Implemented handling of client argument to PaintEventStart()/End()
7705 - Throw exception if BeginInvoke() is called and the window handle
7706 or one of the window's parent handles is not created
7707 - Added conditional compile to allow using MWF BeginInvoke on
7709 - get_Parent(): Only sets parent if handle is created. This avoids
7710 forcing window handle creation when parent is set.
7711 - Now fires Layout and Parent changed events in proper order
7712 - Switched to use Handle instead of window.Handle for Z-Order setting,
7713 the get_Parent() patch above causes us to possibly get null for 'window'
7714 - Implemented handling of client argument to PaintEventStart()/End()
7715 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
7717 - Now sends a Refresh() to all child windows when Refresh() is called
7719 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
7721 * Form.cs: Added (non-functional) Opacity property
7722 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
7724 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
7725 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
7726 use export MONO_THEME=nice to activate it.
7727 Currently supported controls:
7731 - TabControl (TabAlignment.Top only, other will follow)
7732 * ThemeEngine.cs: Add theme nice
7733 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
7736 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
7738 * Splitter.cs: Resize docked control and its neighbor.
7740 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7741 -- Making Windows with Menus layout correctly --
7742 * Form.cs : The first leg of the fix
7743 Menu setter - adjust Client Size as needed to make space for the menu
7744 SetClientSizeCore - doesn't call base version to be able to pass the
7745 menu handle to XplatUI.CalculateWindowRect
7746 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
7747 * XplatUIX11.cs: The critical second leg of the fix
7748 GetWindowPos needs to use a recalculated client_rect
7749 so that resizing the window doesn't break layout of child controls.
7750 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
7753 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
7755 * Label.cs: Now properly recalculates width and height on Font and Text
7756 changes if AutoSize is set
7758 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7759 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
7761 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
7763 * ImageList.cs: Makes ToString method compatible with MS
7765 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
7767 * MenuAPI.cs: fixes bug 75716
7769 2005-08-11 Umadevi S <sumadevi@novell.com>
7770 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
7772 2005-08-11 Umadevi S <sumadevi@novell.com>
7773 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
7775 2005-08-10 Umadevi S <sumadevi@novell.com>
7776 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
7778 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
7780 * Menu.cs: fixes bug 75700
7781 * MenuAPI.cs: fixes navigation issues
7783 2005-08-09 Umadevi S <sumadevi@novell.com>
7784 * CheckedListBox.cs - simple fix for GetItemChecked.
7786 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
7788 * ComboBox.cs: Serveral fixes
7789 * ListBox.cs: Serveral fixes
7791 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7793 * ComboBox.cs: Fixes FindString methods and GetItemHeight
7794 * ListBox.cs: Fixes FindString methods
7796 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7798 * DataGrid.cs: fixes bugs exposed by new tests
7800 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
7802 * Mime.cs: Compile Mono assembly references only if compiling
7803 with Mono (Allows to build with VS.Net again)
7805 2005-07-28 Marek Safar <marek.safar@seznam.cz>
7807 * Control.cs (PaintControlBackground): Draw background image
7809 (CheckForIllegalCrossThreadCalls): Stubbed.
7811 * Form.cs (OnCreateControl): Center when should be centered.
7813 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
7815 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
7817 * Binding.cs: Binding to properties should be case unsensitive
7819 2005-07-18 vlindos@nucleusys.com
7821 * DataGrid.cs: fixes setmember order
7823 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
7825 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
7826 * FileDialog.cs: FileDialog is now resizable and uses the new
7829 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
7831 * DataGridTextBoxColumn.cs: default value
7832 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
7833 * GridTableStylesCollection.cs: fixes checking MappingName
7834 * DataGridDrawingLogic.cs: fixes drawing logic issues
7835 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7836 * DataGrid.cs: fixes
7838 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7840 * MimeGenerated.cs: Use case sensitive comparer for
7841 NameValueCollections
7843 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7845 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7846 * ThemeWin32Classic.cs: bug fixes, code refactoring
7847 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7848 * DataGrid.cs: bug fixes, code refactoring
7849 * DataGridTextBox.cs: bug fixes, code refactoring
7850 * DataGridColumnStyle.cs: bug fixes, code refactoring
7851 * Theme.cs: bug fixes, code refactoring
7853 2005-07-01 Peter Bartok <pbartok@novell.com>
7855 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7856 and other text box usage
7858 2005-07-01 Jackson Harper <jackson@ximian.com>
7860 * TabControl.cs: Make sure the bottom of the tab covers the pages
7863 2005-06-30 Peter Bartok <pbartok@novell.com>
7865 * Form.cs (ShowDialog): Assign owner of the dialog
7866 * TextBoxBase.cs: Always refresh caret size when deleting, caret
7867 might have been moved to a tag with different height
7869 2005-06-30 Jackson Harper <jackson@ximian.com>
7871 * Form.cs: Don't create an infinite loop when setting focus
7872 * MenuItem.cs: Don't dirty the parents if we don't have any
7874 2005-06-29 Ben Maurer <bmaurer@ximian.com>
7876 * LibSupport.cs: Rename
7878 2005-06-29 Peter Bartok <pbartok@novell.com>
7880 * TextBoxBase.cs: Re-align caret after deleting a character
7882 - DeleteChars(): Ensure that tag covers the provided position
7883 - StreamLine(): Drop reference for dropped tag
7885 2005-06-29 Peter Bartok <pbartok@novell.com>
7888 - Selections now work properly, anchoring at the initial location
7889 and properly extending in either direction (SetSelectionToCaret(),
7890 SetSelectionStart() and SetSelectionEnd())
7891 - No longer redraws the whole control on selection change, now
7892 calculates delta between previous and new selection and only
7893 invalidates/redraws that area
7894 - Fixed FindPos() math off-by-one errors
7895 - Changed DeleteChars() to verify the provided tag covers the
7896 provided position, selections may have a tag that doesn't cover
7897 the position if the selection is at a tag border
7898 - Fixed off-by-one errors in DeleteChars()
7899 - Added missing streamlining check in DeleteChars() to remove
7901 - Implemented Invalidate() method, now properly calculates exposures
7902 between two given lines/positions
7903 - Implemented SetSelection()
7904 - Obsoleted and removed FixupSelection()
7905 - Improved RecalculateDocument() logic, removing code duplication
7907 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7909 * LibSupport.cs: changes to match different input/output arguments.
7911 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7913 * LibSupport.cs: added libsupport.so init routine.
7915 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7917 * ControlBindingsCollection.cs
7918 - Throws an exception on null datasource when adding
7919 - Checks for duplicated bindings when adding
7921 2005-06-28 Jackson Harper <jackson@ximian.com>
7923 * TreeView.cs (OnKeyDown): Support left and right properly
7924 (navigates as well as expanding and collapsing.
7925 - Add support for Multiply, this expands all the selected nodes
7929 2005-06-28 Jackson Harper <jackson@ximian.com>
7931 * TreeView.cs: Implement keyboard navigation, currently supports,
7932 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7933 support for toggling checkboxes with the space bar.
7935 2005-06-28 Jackson Harper <jackson@ximian.com>
7937 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7940 2005-06-28 Jackson Harper <jackson@ximian.com>
7942 * TreeView.cs: Add missing event.
7944 2005-06-27 Peter Bartok <pbartok@novell.com>
7947 - Made line ending size configurable (now allows for counting
7948 lineendings as \n or \r\n)
7949 - Added margin to viewport to keep caret visible on right side
7950 - Fixed translation routines for line/pos to documentpos to consider
7951 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7952 - Fixed some line-endings to be unix style
7953 - Fixed Document.FormatText to perform it's calculations 1-based
7954 - Added descriptions for a few methods that might otherwise get
7956 - Added NOTE section with some basic conventions to remember at
7958 - Major fixup for RichTextBox selection drawing:
7959 * Fixed crashes when multiple tags on a single line were selected
7960 * fixed selection box drawing not overlaying text
7961 * fixed bogus offset calculation for tags not starting at index 1
7962 * Switched behaviour from using multiple Substrings of a
7963 StringBuilder.ToString() to using multiple
7964 StringBuilder.ToString(start, length) statements, hoping this is
7965 faster (kept original version commented out in the code, in case
7966 original version was faster)
7967 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7969 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7972 2005-06-27 Jackson Harper <jackson@ximian.com>
7974 * TabControl.cs: Move to the left and right with the arrow
7975 keys. These keys don't cycle beyond first and last like
7976 tab. Refresh all the tabs when scrolling them to the left or
7979 2005-06-27 Jackson Harper <jackson@ximian.com>
7982 - ToString: Added method
7983 - CreateParams: Remove TODO and comment
7984 - OnKeyDown: Cycle through bounds properly.
7985 - SelectedIndex: Scroll to the right or left if we need to
7986 display the newly selected tab.
7988 2005-06-23 Jackson Harper <jackson@ximian.com>
7990 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7993 2005-06-23 Jackson Harper <jackson@ximian.com>
7995 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7996 CTRL-SHIFT-TAB, and HOME, END are there any others?
7998 2005-06-23 Jackson Harper <jackson@ximian.com>
8000 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
8002 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8004 * DataGridTextBoxColumn.cs: fixes and enhancements
8005 * ThemeWin32Classic.cs: fixes and enhancements
8006 * DataGridBoolColumn.cs: fixes and enhancements
8007 * DataGridDrawingLogic.cs: fixes and enhancements
8008 * CurrencyManager.cs: fixes and enhancements
8009 * DataGrid.cs: fixes and enhancements
8010 * DataGridColumnStyle.cs: fixes and enhancements
8012 2005-06-22 Jackson Harper <jackson@ximian.com>
8014 * TabControl.cs: Add some missing methods that just call into the
8015 base. Make the TabPageCollection's IList interface behave in the
8016 same manner as the MS implementation.
8018 2005-06-22 Peter Bartok <pbartok@novell.com>
8020 * TextControl.cs: Added sanity check
8022 - Fixed wrapping behaviour, don't set wrap on single line controls
8023 (this fixes the breakage of colordialog introduced in an earlier
8025 - Added rudimentary support for autoscrolling right-aligned controls
8026 (still needs fixing, also, center alignment scroll is missing)
8028 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8030 * ScrollBar.cs: Fixes thumbpos on Maximum values
8032 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
8034 * PropertyGridView.cs: Pass context information to UITypeEditors
8036 2005-06-21 Peter Bartok <pbartok@novell.com>
8039 - Now calling PositionCaret with absolute space coordinates
8040 - Enabled vertical scrolling
8041 - Better tracking of scrollbar changes, tied into WidthChange
8043 - Improved cursor tracking
8044 - Removed debug output
8046 - PositionCaret coordinates are now works in absolute space, not
8048 - Improved tracking of document size
8049 - Added events for width and height changes
8051 2005-06-21 Peter Bartok <pbartok@novell.com>
8053 * Form.cs: Set focus to active control when form is activated
8055 - Added word-wrap functionality to RecalculateLine()
8056 - Added some short function descriptions for VS.Net to aid in
8057 writing dependent controls
8058 - Added Caret property, returning the current coords of the caret
8059 - Added ViewPortWidth and ViewPortHeight properties
8060 - Added Wrap property
8061 - Added CaretMoved event
8062 - Removed some old debug code
8063 - Split() can now create soft splits
8064 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
8065 - Added method to format existing text
8066 - Fixed size/alignment calculations to use viewport
8067 - RecalculateDocument now can handle changing line-numbers while
8071 - Added some wrap logic, we don't wrap if alignment is not left
8072 - Added casts for scrollbar var, base class switched types to
8073 also support RichTextBoxA
8074 - Implemented handling of scrollbar visibility flags
8077 - Switched scrollbars type to RichTextBoxScrollBars to support
8079 - Added tracking of canvas width/height
8080 - Switched scrollbars to be not selectable (to keep focus on text)
8081 - Added central CalculateDocument() method to handle all redraw
8083 - Added ReadOnly support
8084 - Added WordWrap support
8085 - Fixed handling of Enter key (we now treat it as a DialogKey)
8086 - Fixed caret positioning when h or v scroll is not zero
8087 - Fixed placing/generation of vertical scrollbar
8088 - Added CalculateScrollBars() method to allow updating scrollbar
8089 limits and visibility
8090 - Fixed handling of horizontal scroll
8091 - Added handling of vertical scroll
8092 - Implemented auto-'jump' when caret moves to close to a left or
8093 right border and there is text to be scrolled into view (currently
8094 there's the potential for a stack overflow, until a bug in
8097 2005-06-21 Geoff Norton <gnorton@customerdna.com>
8099 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
8101 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
8105 - return application/x-zerosize for files with size zero
8106 (if no extension pattern matches).
8107 - check matches collection for strings too.
8108 - return only the first mime type if the name value
8109 collection has more than one mime type.
8111 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
8113 * PropertyGrid.cs: Cleaned up some TODOs
8114 * PropertyGridView.cs: Added support for UITypeEditors
8116 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8118 * DataGrid.cs: clears cached value
8120 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8122 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
8123 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
8124 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
8125 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
8127 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
8129 * ThemeWin32Classic.cs: fixes colour
8131 2005-06-15 Peter Bartok <pbartok@novell.com>
8133 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
8134 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
8135 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
8136 * Control.cs: Added some MWFCategory and MWFDescription attributes
8137 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
8139 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
8141 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
8144 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
8146 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
8147 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
8148 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
8149 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
8150 * DataGrid.cs: default datagrid settings for Default Styles, fixes
8151 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
8153 2005-06-13 Jackson Harper <jackson@ximian.com>
8155 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
8156 isn't printed when the user enables dropping. (X11 does accept
8159 2005-06-13 Jackson Harper <jackson@ximian.com>
8161 * TreeView.cs: Remove some TODOS.
8163 2005-06-13 Jackson Harper <jackson@ximian.com>
8165 * Form.cs: Hook into the mdi framework.
8166 * MdiClient.cs: Use the base control collections add method so
8167 parents get setup correctly. Set the default back colour and dock
8169 * MdiChildContext.cs: New class, this bad actor handles an
8170 instance of an MDI window. Right now there is only basic
8171 support. You can drag, close, and resize windows. Minimize and
8172 Maximize are partially implemented.
8174 2005-06-13 Jackson Harper <jackson@ximian.com>
8176 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
8177 freaky when both vals are negative. NOTE: There are probably other
8178 places in XplatUIX11 that this needs to be done.
8180 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
8182 * DataGrid.cs: implement missing methods, move KeyboardNavigation
8183 * DataGridColumnStyle.cs: fixes signature
8185 2005-06-12 Jackson Harper <jackson@ximian.com>
8187 * XplatUIX11.cs: Use sizing cursors similar to the ones on
8190 2005-06-11 Jackson Harper <jackson@ximian.com>
8192 * StatusBarPanel.cs: Signature cleanups. Implement
8195 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
8197 * DataGridTextBoxColumn.cs: Honors aligment
8198 * GridColumnStylesCollection.cs: Contains is case unsensitive
8199 * GridTableStylesCollection.cs: several fixes
8200 * DataGridTableStyle.cs: default column creation
8201 * DataGridDrawingLogic.cs: fixes
8202 * CurrencyManager.cs: ListName property
8203 * DataGrid.cs: multiple styles support
8204 * DataGridColumnStyle.cs: fixes
8207 2005-06-10 Peter Bartok <pbartok@novell.com>
8209 * Control.cs(Select): Moved SetFocus call to avoid potential
8210 loops if controls change the active control when getting focus
8211 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
8214 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
8216 * ImageListConverter.cs: Implemented
8218 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8220 * MonthCalendar.cs: Wired in NumericUpDown control for year
8222 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8224 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
8225 DoubleClick events, since they are not meant to be fired.
8227 2005-06-09 Peter Bartok <pbartok@novell.com>
8229 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
8230 Jonathan's standalone controls into MWF, implemented missing
8231 events, attributes and methods; added xxxAccessible classes
8232 * AccessibleObject.cs: Made fields internal so other classes
8233 can change them if needed
8235 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
8237 * UpDownBase.cs: Complete implementation
8238 * NumericUpDown.cs: Complete implementation
8239 * DomainUpDown.cs: Complete implementation
8241 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
8243 * DataGridTextBoxColumn.cs: drawing fixes
8244 * DataGridCell.cs: fixes ToString method to match MSNet
8245 * DataGridTableStyle.cs: fixes
8246 * DataGridBoolColumn.cs: fixes, drawing
8247 * DataGridDrawingLogic.cs: fixes, new methods
8248 * DataGridTextBox.cs: Keyboard and fixes
8250 - Keyboard navigation
8252 - Row selection (single, multiple, deletion, etc)
8255 2005-06-07 Jackson Harper <jackson@ximian.com>
8257 * ThemeWin32Classic.cs: Clear the background area when drawing
8260 2005-06-06 Peter Bartok <pbartok@novell.com>
8262 * ImageListStreamer.cs: Fixed signature for GetData
8263 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
8265 - Added missing ChildAccessibleObject class
8266 - Added missing OnXXXFocus overrides, switched to using those
8267 instead of the event handler
8269 - Added Parent property for ControlAccessibleObject
8272 - Added ResetBindings()
8273 * ListBindingConverter.cs: Implemented some methods
8274 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
8275 * ImageList.cs: Implemented basic handle scheme, removed TODOs
8276 * ContainerControl.cs: Fixed signature, now subscribing to the
8277 ControlRemoved event instead of overriding the handler, LAMESPEC
8278 * CurrencyManager.cs: Added missing attribute
8279 * MonthCalendar.cs: Added missing properties
8281 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8283 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
8285 2005-06-06 Gaurav Vaish and Ankit Jain
8287 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
8288 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
8290 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8292 * Control.cs: fixes CreateParams Width / Height.
8294 2005-06-05 Peter Bartok <pbartok@novell.com>
8296 * Win32DnD.cs: Removed compilation warnings
8298 2005-06-05 Peter Bartok <pbartok@novell.com>
8300 * Control.cs (CreateParams): Since we don't know if one of the
8301 properties we use is overridden, lets make sure if we fail accessing
8302 we continue with a backup plan
8304 2005-06-05 Peter Bartok <pbartok@novell.com>
8307 - Removed debug output
8308 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
8310 - Plugged resource leak
8311 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
8314 2005-06-05 Peter Bartok <pbartok@novell.com>
8316 * XplatUIWin32.cs: Removed DnD code
8317 * Win32DnD.cs: Implemented drop source and drop target functionality
8319 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8321 * UpDownBase.cs: remove duplicate addition of event, enable some code
8322 that was commented out.
8323 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
8324 Validate input when a key is pressed. It works fine now for every
8325 combination of Hexadecimal. Only missing some drawing love when sharing
8326 space with other controls.
8328 2005-06-04 Peter Bartok <pbartok@novell.com>
8331 - We need to pass a window for DragDrop, so enable callback events
8332 - Added DnD callback events when being a DragSource
8333 * XplatUI.cs (StartDrag): Added window handle argument
8334 * XplatUIDriver.cs (StartDrag): Added window handle argument
8335 * QueryContinueDragEventArgs: Made fields internally accessible so
8336 drivers can set them
8337 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
8340 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
8342 * DataGridTextBoxColumn.cs: column text editing
8343 * DataGridTableStyle.cs: Respect columns styles created by the user
8344 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
8345 * DataGridBoolColumn.cs: bool column editing
8346 * DataGrid.cs: fixes to scrolling, properties, etc
8347 * DataGridTextBox.cs: handle keyboard
8348 * DataGridColumnStyle.cs: fixes
8350 2005-06-02 Jackson Harper <jackson@ximian.com>
8352 * ImageListStreamer.cs: Somewhat broken implementation of
8353 GetObjectData. The RLE needs some work to match MS properly.
8355 2005-06-02 Jackson Harper <jackson@ximian.com>
8357 * X11Dnd.cs: Attempting to keep at least one file in MWF
8360 2005-06-02 Peter Bartok <pbartok@novell.com>
8362 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
8365 2005-06-02 Peter Bartok <pbartok@novell.com>
8367 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
8368 * XplatUI.cs: Added DoDragDrop() method
8369 * XplatUIDriver.cs: Added DoDragDrop() method
8371 2005-06-02 Jackson Harper <jackson@ximian.com>
8373 * Splitter.cs: Implement BorderStyle.
8375 2005-06-02 Jackson Harper <jackson@ximian.com>
8377 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
8378 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
8381 2005-06-02 Peter Bartok <pbartok@novell.com>
8385 - Fixed broken insertion code for SetData, now also
8386 overwrites any existing entry of the same format name
8387 * Hwnd.cs: Added list of pointers that automatically gets
8388 freed when the window is disposed
8389 * XplatUI.cs: Call driver initialization method when loading
8392 - OnDragLeave takes EventArgs, not DragEventArgs
8393 - Added setting of WS_EX_ACCEPTFILES style when dropping is
8395 - Forces style update when drop state changes
8396 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
8397 not perfect since we cannot (yet) call the IDataObject.GetData()
8398 method, we keep getting 0x80004005 error, dunno why)
8400 2005-06-02 Peter Bartok <pbartok@novell.com>
8402 * DragEventArgs.cs: Make fields internal so we can cache the
8403 object and re-set the fields from XplatUI
8405 2005-06-02 Jackson Harper <jackson@ximian.com>
8407 * Control.cs: Add some internal methods so the DnD subsystem can
8408 raise DnD events. Also call into the driver when AllowDrop is set.
8410 * XplatUIDriver.cs: New method for setting whether or not a window
8411 is allowed to accept drag and drop messages.
8413 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
8415 * ScrollBar.cs: Make sure that values sent in Scroll events
8416 are always between Maximum and Minimum.
8418 2005-06-01 Marek Safar <marek.safar@seznam.cz>
8420 * Menu.cs: Call MenuChanged when menuitem visibility has been
8422 * MenuItem.cs: Rebuild menu when item is (not) visible.
8423 * MainMenu.cs: MainMenu has special MenuChanged.
8424 * Theme.cs: Caption and FrameBorderSize are not fixed.
8425 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
8426 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
8428 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
8429 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
8431 2005-05-30 Jackson Harper <jackson@ximian.com>
8433 * DataFormat.cs: We can't statically initialize this stuff because
8434 it calls into the xplatui and could create a loop. So we lazy init
8437 2005-05-28 Jackson Harper <jackson@ximian.com>
8439 * Control.cs: Proper implementation of Product(Name/Version).
8441 2005-05-27 Jackson Harper <jackson@ximian.com>
8443 * DataObject.cs: Dont crash if no data is found.
8445 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
8446 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
8447 as per status page, guessing it should be set to true
8449 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
8451 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
8452 * DataGridTableStyle.cs: set proper formatting text, def header text
8453 * ThemeWin32Classic.cs: new themable paramaters
8454 * DataGridBoolColumn.cs: paint check box, get data, fixes
8455 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
8456 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
8457 * DataGridColumnStyle.cs: fixes
8458 * Theme.cs: new themable paramaters
8460 2005-05-26 Peter Bartok <pbartok@novell.com>
8462 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
8464 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8465 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
8467 2005-05-24 Peter Bartok <pbartok@novell.com>
8469 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
8470 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
8471 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
8472 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
8473 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
8474 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
8475 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
8476 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
8477 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
8478 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
8479 missing attributes, etc
8480 * DataGridPreferredColumnWidthTypeConverter.cs: Added
8482 2005-05-24 Peter Bartok <pbartok@novell.com>
8484 * Help.cs: Added, implemented trivial functions, throws up MessageBox
8485 when user tries to get help
8486 * DataObject.cs, DataFormats.cs, LinkArea.cs,
8487 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
8488 to suppress warnings
8489 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
8490 avoid unreachable code warning
8492 2005-05-20 Peter Bartok <pbartok@novell.com>
8494 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
8496 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8498 * DataGridTextBoxColumn.cs: Basic painting methods
8499 * DataGridTableStyle.cs: Set table style in the column
8500 * ThemeWin32Classic.cs: Use Theme for colors
8501 * DataGridDrawingLogic.cs: Implement more drawing
8502 * DataGrid.cs: drawing, theming, enhacements, fixes
8503 * DataGridColumnStyle.cs: fixes, drawing
8504 * Theme.cs: theming for Datagrid
8506 2005-05-20 Peter Bartok <pbartok@novell.com>
8508 * Cursor.cs: Implemented GetObjectData() method
8510 2005-05-20 Peter Bartok <pbartok@novell.com>
8512 * Cursors.cs: Added setting of cursor name
8514 - Implemented constructors
8515 - Implemented Draw and DrawStretched
8516 - Implemented Current property
8517 - Implemented == and != operators
8518 - Implemented Dispose()
8519 - Implemented ToString
8520 - Added missing attributes
8522 - Added missing reset for OverrideCursor when DoEvents is called
8523 - Fixed creation of cursor, logic was wrong
8525 - Added missing reset for OverrideCursor when DoEvents is called
8526 - Fixed creation of cursor, bit arrays were swapped
8527 * Clipboard.cs: Removed obsolete MonoTODO attribute
8529 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8531 * ComboBox.cs: fixes OnSelectedItemChanged
8532 * ControlBindingsCollection.cs: fixes item range check
8534 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8537 - Calc preferred height properly
8538 - Implement missing properties
8540 * NumericUpDown.cs: Implement missing events
8542 2005-05-19 Jackson Harper <jackson@ximian.com>
8544 * TabControl.cs: New method that resizes the tab pages before
8545 redrawing them. This as needed as the control is double buffered
8546 and sizing will not be recalculated unless ResizeTabPages is
8548 * TabPage.cs: Set base.Text instead of Text in the constructor so
8549 that UpdateOwner does not get called. Use the new Redraw method of
8550 TabControl instead of Refresh so the sizing is recalculated.
8551 * ThemeWin32Classic.cs: Draw the text for button tabs.
8553 2005-05-19 Jackson Harper <jackson@ximian.com>
8555 * Control.cs: Paint control background images. Fix typo where
8556 PaintControlBackground was not getting called correctly.
8558 2005-05-19 Peter Bartok <pbartok@novell.com>
8560 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
8561 I can investigate, apparently I broke FileDialog
8563 2005-05-19 Marek Safar <marek.safar@seznam.cz>
8565 * AxHost.cs: Some simple properties.
8566 * Control.cs: window must be accessible after ctor.
8567 * Form.cs: Added TransparencyKey property.
8568 * TextBoxBase.cs: Implemented Clear. Text property can be null.
8569 * XplatUIWin32.cs: SetBorderStyle implemented.
8571 2005-05-18 Peter Bartok <pbartok@novell.com>
8573 * DataObject.cs: Entries are not global but particular to the
8574 DataObject, now it behaves that way
8575 * XplatUIWin32.cs: Implemented Clipboard methods
8576 * Clipboard.cs: Implemented
8577 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
8578 * XplatUIOSX.cs: Updated to final clipboard prototypes
8579 * XplatUIX11.cs: Implemented Clipboard methods
8580 * XplatUIDriver.cs: Updated to final clipboard prototypes
8581 * XplatUIStructs.cs:
8582 - Added BITMAPINFOHEADER struct
8583 - Added ClipboardFormats enum
8585 - Added ClipboardStruct
8586 - Added Atom enum items for clipboard types
8587 - Fixed atom types for Selection event structures
8589 - Added internal properties and methods for drivers to enumerate
8591 - Switched initialization method to allow drivers to assign their
8592 own IDs even for the MS predefined clipboard IDs
8593 * XplatUI.cs: Updated to final clipboard interface
8595 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8596 * PropertyGridView.cs: Fixed compiler warnings.
8598 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8599 * PropertyGrid.cs: Added some event calls
8600 * PropertyGridView.cs: Change drawing code to use double buffering
8601 * PropertyGridTextBox.cs: Changed Text property name
8602 * GridItem.cs: Added Bounds property.
8603 * GridEntry.cs: Added Bounds property.
8605 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
8607 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
8608 since GetType() may not return the correct type if the object is
8611 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
8613 * TreeNodeCollection.cs: fixes get/set item ranges
8615 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8617 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
8619 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8621 * ComboBox.cs: Fix item range comparation
8622 * ListView.cs: Fix item range comparation
8624 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8627 - Clear example panel when OnPaint is called
8628 - Better solution for displaying the example panel text
8629 - Select default indexes in the ListBoxes
8631 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8633 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
8635 2005-05-11 Peter Bartok <pbartok@novell.com>
8637 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
8638 * SelectionRangeConverter.cs: Implemented
8639 * PropertyGrid.cs: Fixed attribute value
8641 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
8642 - Added Sebastien Pouliot's CAS Stack Propagation fixes
8643 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
8644 that's common to all drivers. First methods to go there are
8645 Sebastien Pouliot's CAS Stack Propagation helper methods
8646 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
8647 Sebastien Pouliot for CAS Stack Propagation
8649 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8652 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
8654 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
8656 * DataGridTextBoxColumn.cs: fixed some members
8657 * GridColumnStylesCollection.cs: indexed column is case insensitive
8658 * DataGridTableStyle.cs: fixes
8659 * ThemeWin32Classic.cs: add new theme parameter
8660 * Theme.cs: add new theme parameter
8661 * DataGridDrawingLogic.cs: Datagrid's drawing logic
8662 * DataGrid.cs: fixes, new internal properties, etc.
8663 * DataGridColumnStyle.cs: allows to set grid value
8666 2005-05-10 Peter Bartok <pbartok@novell.com>
8668 * AccessibleObject.cs:
8669 - Removed MonoTODO attribute on help, method is correct
8670 - Fixed Bounds property
8671 * AxHost.cs: Moved MonoTODO
8672 * ButtonBase.cs: Now setting AccessibleObject properties
8673 * RadioButton.cs: Setting proper AccessibleObject role
8674 * CheckBox.cs: Setting proper AccessibleObject role
8675 * ControlBindingsCollection.cs: Added properties, methods and attributes
8676 * DataFormats.cs: Fixed awkward internal API, and changed to enable
8677 userdefined DataFormats.Format items as well
8678 * ListControl.cs: Removed data_member from the public eye
8679 * OpenFileDialog.cs:
8681 - Added missing attributes
8682 * SaveFileDialog.cs: Added missing attributes
8683 * ImageListStreamer.cs: Fixed code that caused warnings
8684 * LinkLabel.cs: Removed unreachable code
8685 * TreeView.cs: Fixed code that caused warnings
8686 * PropertyGridView.cs: Fixed code that caused warnings
8687 * GridColumnStylesCollection.cs: Added missing attributes
8688 * GridTableStylesCollection: Added missing attribute
8689 * PropertyManager: Added .ctor
8690 * SecurityIDType: Added
8691 * DataObject.cs: Implemented class
8692 * LinkArea.cs: Added missing attribute
8694 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
8696 * RadioButton.cs: call base method to allow to fire OnClick event
8697 * UpDownBase.cs: OnMouseUp call base method
8698 * CheckedListBox.cs: call base method before returning
8699 * TrackBar.cs: call base method before returning
8702 2005-05-10 Peter Bartok <pbartok@novell.com>
8704 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
8707 2005-05-10 Peter Bartok <pbartok@novell.com>
8709 * DataFormats.cs: Implemented
8710 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
8711 XplatUIX11.cs: Added Clipboard APIs
8712 * XplatUIWin32.cs: Implemented Clipboard APIs
8713 * FolderBrowserDialog.cs: Added missing event, attributes
8715 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
8717 * CheckBox.cs: call base method to allow to fire OnClick event
8719 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
8721 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
8723 2005-05-06 Peter Bartok <pbartok@novell.com>
8725 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
8726 * Screen.cs: Implemented
8727 * HelpNavigator.cs: Added
8728 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
8730 * HelpProvider.cs: Implemented all we can do until we have a CHM
8731 help library (which means that "What's This" does work now)
8733 2005-05-06 Jackson Harper <jackson@ximian.com>
8735 * XplatUIX11.cs: Fix waking up the main loop.
8737 2005-05-05 Peter Bartok <pbartok@novell.com>
8739 * XplatUI.cs: Updated revision
8740 * Form.cs: Removed enless loop
8741 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
8742 * Label.cs (OnPaint): Added call to base.OnPaint()
8743 * ToolTip.cs: Made ToolTipWindow reusable for other controls
8744 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
8745 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
8747 * ButtonBase.cs: Moved base.OnPaint() call to end of method
8748 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
8749 to ToolTip.ToolTipWindow for drawing and size methods; this allows
8750 reuse of ToolTipWindow by other controls
8751 * SizeGrip.cs: Moved base.OnPaint() call to end of method
8752 * XplatUIX11.cs: Now clipping drawing area (experimental)
8753 * PictureBox.cs: Moved base.OnPaint() call to end of method
8754 * Theme.cs: Fixed ToolTip abstracts to match new format
8755 * ErrorProvider.cs: Implemented
8757 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
8759 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
8763 - Implements LinkBehavior
8766 2005-05-03 Jackson Harper <jackson@ximian.com>
8768 * ListView.cs: Calculate the scrollbar positioning on resize and
8769 paint, so they get put in the correct place.
8771 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8773 * ColorDialogs.cs: The small color panels are now handled by
8774 SmallColorControl. This fixes drawing of the focus rectangle
8775 and adds a 3D border.
8777 2005-05-03 Peter Bartok <pbartok@novell.com>
8779 * Control.cs: Modified version of Jonathan Chamber's fix for
8782 2005-05-03 Jackson Harper <jackson@ximian.com>
8784 * ListView.cs: Remove redraw variable. Control now handles whether
8785 or not a redraw needs to be done, and will only raise the paint
8786 event if redrawing is needed.
8788 2005-05-03 Jackson Harper <jackson@ximian.com>
8790 * Splitter.cs: No decorations for the splitter form. Cache the
8793 2005-05-03 Jackson Harper <jackson@ximian.com>
8795 * TreeView.cs: Use dashed lines to connect nodes. Use the
8796 ControlPaint method for drawing the focus rect instead of doing
8799 2005-05-02 Peter Bartok <pbartok@novell.com>
8801 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
8803 2005-04-29 Jackson Harper <jackson@ximian.com>
8805 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
8806 entire image buffer. Just clear the clipping rectangle.
8808 2005-04-29 Jackson Harper <jackson@ximian.com>
8810 * ThemeWin32Classic.cs: Don't draw list view items that are
8811 outside the clipping rectangle.
8813 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
8815 * ListBox.cs: added horizontal item scroll
8817 2005-04-29 Jackson Harper <jackson@ximian.com>
8819 * ThemeWin32Classic.cs: Remove some old debug code that was
8820 causing flicker with the new double buffering code.
8822 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
8824 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
8825 behave like combobox and comboboxlist (still not sure if this is
8828 2005-04-28 Jackson Harper <jackson@ximian.com>
8830 * ThemeWin32Classic.cs: Don't fill the middle of progress
8831 bars. This fills areas outside of the clip bounds that don't need
8834 2005-04-28 Jackson Harper <jackson@ximian.com>
8836 * Control.cs: Don't expose functionality to touch the image buffers.
8838 * ListView.cs: We do not need to (and no longer can) manipulate
8839 the image buffers directly. All of this is handled by Control.
8841 2005-04-28 Peter Bartok <pbartok@novell.com>
8843 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8844 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8845 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8847 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8850 - Adjust control's height for non-simple comboboxes (bug fix)
8852 * MenuAPI.cs: remove unused var
8853 * ScrollBar.cs: remove unsed var
8855 * ListBox.cs: unselect items when clearing
8857 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8859 * ListControl.cs: honors OnPositionChanged and default Selected Item
8860 * ListBox.cs: unselect items when clearing
8862 2005-04-27 Jackson Harper <jackson@ximian.com>
8864 * X11Keyboard.cs: Initialize a default keyboard and give a warning
8865 if a "correct" keyboard is not found. This will make us not crash,
8866 but might give some users bad keyboard layouts...seems to be the
8867 same thing rewind does.
8869 2005-04-27 Jackson Harper <jackson@ximian.com>
8871 * BindingManagerBase.cs: Attach the current/position changed
8872 handlers to their respective events.
8874 2005-04-27 Jackson Harper <jackson@ximian.com>
8876 * Control.cs: Make sure that the first WM_PAINT does a full draw,
8878 * ThemeWin32Classic.cs: Don't fill the background for picture
8879 boxes. This could overright user drawing.
8880 * ComboBox.cs: Just fill the clipping rect not the entire client
8881 rect when drawing the background. This prevents pieces of the
8882 image buffer from getting overwritten and is theoretically faster.
8884 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
8886 * ComboBox.cs: Databinding support fixes, fire missing events
8887 * ListControl.cs: implement missing methods and properties, fixes
8888 * ThemeWin32Classic.cs: Databiding support on Drawing
8889 * CheckedListBox.cs: Databinding support fixes, fire missing events
8890 * ListBox.cs: Databinding support fixes, fire missing events
8892 2005-04-25 Peter Bartok <pbartok@novell.com>
8894 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8896 2005-04-25 Jackson Harper <jackson@ximian.com>
8898 * TreeView.cs: Use the horizontal scrollbars height not width when
8899 determining how much of the client area is available.
8901 2005-04-25 Jackson Harper <jackson@ximian.com>
8903 * Control.cs: Double buffering is handled differently now. As per
8904 the spec, the extra buffer is created in the WM_PAINT message and
8905 passed down to the control's drawing code.
8913 * PropertyGridView.cs:
8925 * DateTimePicker.cs:
8927 * TreeView.cs: Update to new double buffering system.
8928 * MonthCalendar.cs: Uncomment block, as Capture is now
8929 working. Update to new double buffering
8930 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8931 * PaintEventArgs.cs: New internal method allows us to set the
8932 graphics object. This is used for double buffering.
8933 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8934 rectangle. The internal paint_area var has been removed from
8935 StatusBar. The clipping rect should be used instead.
8936 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8937 * TabPage.cs: The RefreshTabs method was removed, so just call the
8938 tab controls Refresh method now.
8939 * TabControl.cs: Update to new double buffering. Make sure the
8940 handle is created before sizing the tab pages, otherwise we will
8941 get stuck in a loop.
8943 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8945 * LinkLabel.cs: Fix typo, bug #74719; patch
8946 from Borja Sanchez Zamorano
8948 2005-04-22 Jackson Harper <jackson@ximian.com>
8950 * TreeNode.cs: Implement Handle stuff.
8951 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8953 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8955 * DataGridTextBoxColumn.cs: call base constructors, fixes
8956 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8957 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8958 * DataGridTableStyle.cs: implements create default column styles
8959 * DataGridBoolColumn.cs: which types can handle
8960 * DataGrid.cs: missing methods, fixes, new functionality
8961 * DataGridColumnStyle.cs: fixes
8963 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8964 * FolderBrowserDialog.cs:
8965 - Use a thread to fill the TreeView
8966 - Adjusted some sizes
8968 2005-04-19 Peter Bartok <pbartok@novell.com>
8970 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8971 property. Fixes #74360.
8973 2005-04-19 Jackson Harper <jackson@ximian.com>
8975 * XEventQueue.cs: Lock when getting the lockqueue size.
8976 * PictureBox.cs: Call base OnPaint
8978 2005-04-19 Peter Bartok <pbartok@novell.com>
8980 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8981 messages were no longer being processed (this broke BeginInvoke)
8984 2005-04-18 Jackson Harper <jackson@ximian.com>
8986 * TreeView.cs: buglet that caused node images to get drawn
8987 regardless of whether or not they were in the clipping rectangle.
8989 2005-04-18 Jackson Harper <jackson@ximian.com>
8991 * CurrencyManager.cs: There are four rules for GetItemProperties:
8992 - If the type is an array use the element type of the array
8993 - If the type is a typed list, use the type
8994 - If the list contains an Item property that is not an object, use
8996 - use the first element of the list if there are any elements in
8999 2005-04-17 Jackson Harper <jackson@ximian.oom>
9001 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
9002 click. This handles offsets for scrolling properly and reduces
9003 memory. Also fixed GetNode to not offset now that TopNode works
9005 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
9007 2005-04-17 Jackson Harper <jackson@ximian.com>
9009 * CursorConverter.cs: Initial implementation.
9011 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9013 * ListControl.cs: work towards complex data binding support on ListControl
9014 * CurrencyManager.cs: work towards complex data binding support on ListControl
9015 * ListBox.cs: work towards complex data binding support on ListControl
9018 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9020 * GridTableStylesCollection.cs: fixes name and constructor
9021 * DataGridTableStyle.cs: fixes
9022 * DataGridBoolColumn.cs: fixes names and constructors
9023 * DataGrid.cs: define methods and properties. Some init implementations
9024 * DataGridCell.cs: define methods and properties. Some init implementations
9025 * GridTablesFactory.cs: Define methods and properties
9027 2005-04-15 Geoff Norton <gnorton@customerdna.com>
9029 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
9030 graphics port changes. We still want the coordinates in global screen
9033 2005-04-14 Jackson Harper <jackson@ximian.com>
9035 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
9036 check plus minus or checkbox clicks unless those features are enabled.
9038 2005-04-14 Jackson Harper <jackson@ximian.com>
9040 * TreeView.cs: Add methods for setting the top and bottom visible
9041 nodes. TreeNode::EnsureVisible uses these methods.
9042 * TreeNode.cs: Implement EnsureVisible
9044 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
9046 * Form.cs: Pospone menu assignation if the window has not been created yet
9047 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
9050 2005-04-12 Jackson Harper <jackson@ximian.com>
9052 * TreeView.cs: Set the TopNode properly when scrolling
9053 occurs. This has the added benifit of reducing the amount of
9054 walking that needs to be done when drawing. Also removed an old
9056 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
9058 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
9060 * Timer.cs: fixes interval setting when the timer is already enabled
9062 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
9064 * FolderBrowserDialog.cs: First approach
9066 2005-04-09 Peter Bartok <pbartok@novell.com>
9068 * FolderBrowserDialog: Added
9070 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
9072 * LinkLabel.cs: move drawing code into the theme
9073 * ThemeWin32Classic.cs: drawing code and painting background bugfix
9074 * Theme.cs: define DrawLinkLabel method
9076 2005-04-05 Jackson Harper <jackson@ximian.com>
9078 * BindingContext.cs: Use weak references so these bad actors don't
9079 stay alive longer then they need to.
9081 2005-04-05 Jackson Harper <jackson@ximian.com>
9083 * ListControl.cs: Basic implementation of complex databinding.
9085 * ListBox.cs: Add calls to ListControl databinding methods.
9087 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
9090 - Don't change PopupButtonState to Normal when the
9091 PopupButton gets pressed several times.
9092 - Renamed ButtonPanel to PopupButtonPanel
9094 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
9096 * ColorDialog.cs: Use cached objects instead of creating them
9097 * LinkLabel.cs: Use cached objects instead of creating them
9098 * Splitter.cs: Use cached objects instead of creating them
9099 * FontDialog.cs: Use cached objects instead of creating them
9100 * PropertyGridView.cs: Use cached objects instead of creating them
9101 * MessageBox.cs: Use cached objects instead of creating them
9102 * FileDialog.cs: Use cached objects instead of creating them
9103 * ThemeWin32Classic.cs: Use cached objects instead of creating them
9104 * TreeView.cs: Use cached objects instead of creating them
9106 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
9108 * Control.cs: use Equals to compare the font since no == op
9109 * ScrollBar.cs: use Equals to compare the font since no == op
9111 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
9113 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
9115 2005-04-01 Jackson Harper <jackson@ximian.com>
9117 * Binding.cs: Implement IsBinding.
9118 * BindingManagerBase.cs:
9119 * PropertyManager.cs:
9120 * CurrencyManager.cs: Add IsSuspended property.
9122 2005-04-01 Jackson Harper <jackson@ximian.com>
9124 * Binding.cs: Had some IsAssignableFrom calls backwards.
9126 2005-04-01 Jackson Harper <jackson@ximian.com>
9128 * Binding.cs: Handle null data members when pulling data.
9129 * PropertyManager.cs: Handle the data member being a property that
9132 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9134 * DataGridTextBoxColumn.cs: fixes signature
9135 * DataGrid.cs: calls right constructor
9137 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9139 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
9140 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
9141 * GridTableStylesCollection.cs: implements GridTableStylesCollection
9142 * DataGridTableStyle.cs: implements DataGridTableStyle
9143 * DataGridBoolColumn.cs: implements DataGridBoolColumn
9144 * DataGridTextBox.cs: implements DataGridTextBox
9145 * DataGridColumnStyle.cs: implements DataGridColumnStyle
9147 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
9149 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
9151 2005-03-29 Peter Bartok <pbartok@novell.com>
9154 - Properly implemented CompanyName property
9155 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
9156 returns a path that includes CompanyName, ProductName and
9157 Version (fixes bug #70330)
9159 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
9161 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
9164 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9166 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
9168 - Added ReadOnly CheckBox
9169 - Further refactoring: moved some code from Open-/SaveFileDialog
9172 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9174 * OpenFileDialog.cs: Fixed CheckFileExists
9176 Moved FileView and DirComboBox outside FileDialog class.
9177 They can now be used outside FileDialog
9179 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9181 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
9182 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
9184 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9186 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9187 - Added missing CreatePrompt property in SaveDialog
9188 - Overall SaveDialog handling should be better now
9189 - Added non standard ShowHiddenFiles property
9190 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
9191 - Added InitialDirectory and RestoreDirectory support
9193 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
9195 * FileDialog.cs: Made dirComboBox usable
9197 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
9199 * FileDialog.cs: Added Filter support (case sensitiv)
9201 2005-03-24 Jackson Harper <jackson@ximian.com>
9203 * TabControl.cs: Need a couple more pixels for the lines.
9205 2005-03-23 Jackson Harper <jackson@ximian.com>
9207 * TabControl.cs: Give the tab page focus when it is selected.
9209 2005-03-23 Jackson Harper <jackson@ximian.com>
9211 * TabControl.cs: Account for the drawing of tabs borders when
9212 invalidating. If the slider was clicked dont do click detection on
9215 2005-03-23 Jackson Harper <jackson@ximian.com>
9217 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
9219 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
9221 * CategoryGridEntry.cs: Added
9222 * GridItem.cs: Added helper properties
9223 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
9224 * GridEntry.cs: Updated code for collection
9225 * PropertyGrid.cs: Cleaned up some formatting
9226 * PropertyGridView.cs: Added drop down functionality for enums.
9227 * GridItemCollection.cs: Added enumerator logic
9228 * PropertyGridEntry.cs: Added
9230 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9233 - Removed unnecessary commented code
9234 - Fixed handling for entering the filename manually in the combobox
9236 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9238 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
9240 2005-03-18 Peter Bartok <pbartok@novell.com>
9242 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
9243 them being touching the border
9245 2005-03-18 Peter Bartok <pbartok@novell.com>
9247 * TextControl.cs: Quick hack to center text better
9249 2005-03-18 Peter Bartok <pbartok@novell.com>
9252 - Don't throw NotImplemented exceptions, just print a notice once
9253 instead (requested by Miguel). This makes running existing SWF
9256 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
9257 - Added context menu trigger on right click
9258 * Panel.cs: Trigger invalidate on resize
9260 - Removed old double-buffer drawing
9261 - Added ResizeRedraw style to force proper update of statusbar
9263 - Removed debug output
9264 * ThemeWin32Classic.cs:
9265 - Fixed drawing of status bar, now draws Text property if there
9266 are no defined panels
9268 2005-03-18 Jackson Harper <jackson@ximian.com>
9270 * ImageList.cs: When the image stream is set pull all the images
9272 * ImageListStreamer.cs: Implement reading image list streams.
9274 2005-03-18 Peter Bartok <pbartok@novell.com>
9276 * ThemeWin32Classic.cs (DrawPictureBox):
9277 - Fixed calculations for centered drawing
9278 - Fixed drawing for normal mode, not scaling the image on normal
9280 2005-03-18 Peter Bartok <pbartok@novell.com>
9282 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
9285 - Made Open/Save button the accept button for FileDialog
9286 - Tied the cancel button to the IButtonControl cancel button
9287 - Save/Open now properly builds the pathname
9288 - Now handles user-entered text
9289 - Preventing crash on right-click if no item is selected
9290 - Fixed Text property, now uses contents of textbox
9291 - Fixed SelectedText property, now just returns the text part that
9292 is selected in the text box
9294 2005-03-18 Jackson Harper <jackson@ximian.com>
9296 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
9297 rect, make sure to de-adjust the interior rect after drawing the
9300 2005-03-18 Peter Bartok <pbartok@novell.com>
9302 * MenuAPI.cs: Remove menu *before* executing selected action to
9303 prevent the menu from 'hanging around'
9305 2005-03-17 Geoff Norton <gnorton@customerdna.com>
9307 * XplatUIOSX.cs: Implemented WorkingArea property
9309 2005-03-17 Peter Bartok <pbartok@novell.com>
9311 * XplatUIX11.cs: Fixed menu coord calculations
9312 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
9313 for calculating offsets
9315 2005-03-17 Peter Bartok <pbartok@novell.com>
9317 * Hwnd.cs: Do not consider menu presence for default client
9318 rectangle location/size
9319 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
9320 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
9321 translation functions
9322 * FileDialog.cs: Fixed (what I presume is a) typo
9324 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
9326 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
9327 X access (avoids X-Async errors)
9329 2005-03-16 Jackson Harper <jackson@ximian.com>
9331 * TabControl.cs: Raise the SelectedIndexChanged event.
9333 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
9335 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9336 - Removed vertical ToolBar and replaced it with a custom panel
9337 (desktop and home button already work)
9338 - Added Help button (some controls get resized or relocated then)
9339 - Draw correct text depending on Open or Save.
9340 - Fixed some typos...
9342 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
9345 - Only change Maximum and Minimum when need it (bug fix)
9347 2005-03-15 Peter Bartok <pbartok@novell.com>
9349 * Form.cs: Use Handle for icon, to trigger creation if
9350 the window does not yet exist
9352 - CanSelect: Slight performance improvement
9353 - Focus(): Preventing possible recursion
9354 - Invalidate(): Removed ControlStyle based clear flag setting
9355 - WM_PAINT: fixed logic for calling OnPaintBackground
9356 - WM_ERASEBKGND: Fixed logic, added call to new driver method
9357 EraseWindowBackground if the control doesn't paint background
9359 - Moved EraseWindowBackground() method to internal methods
9360 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
9361 is sent via SendMessage on BeginPaint call on Win32
9363 - Added EraseWindowBackground() method
9364 - No longer sends WM_ERASEBKGND on .Expose, but on call to
9365 PaintEventStart, which more closely matches Win32 behaviour
9366 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
9367 - Fixed SetFocus() to properly deal with client and whole windows
9368 * Hwnd.cs: Added ErasePending property
9369 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
9370 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
9372 2005-03-12 Geoff Norton <gnorton@customerdna.com>
9375 - Fix hard loop when timers exist.
9376 - Fix bugs with middle and right click for 3 button mice.
9378 2005-03-11 Peter Bartok <pbartok@novell.com>
9381 - get_WorkingArea: Need to call X directly, GetWindowPos only
9382 returns cached data now
9383 - Added sanity check to GetWindowPos hwnd usage
9385 2005-03-11 Jackson Harper <jackson@ximian.com>
9387 * BindingManagerBase.cs: This method isn't used anymore as
9388 PullData now updates the data in the control.
9390 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
9392 * Form.cs: fixes menu drawing on X11
9393 * MenuAPI.cs: fixes menu drawing on X11
9395 2005-03-11 Peter Bartok <pbartok@novell.com>
9397 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
9398 from Jonathan Gilbert; should fix bug #73606
9399 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
9400 in Screen coordinates. Thanks, Jordi.
9401 * Form.cs: Added missing attribute
9403 2005-03-11 Peter Bartok <pbartok@novell.com>
9406 - Rudimentary Mdi support
9407 - Removed outdated FormParent code
9408 - Implemented lots of missing properties and methods, still missing
9409 transparency support
9410 - Added missing attributes
9411 - Implemented support for MaximumBounds
9412 - Added firing of various events
9413 * XplatUI.cs: Added SetIcon() method
9414 * XplatUIDriver.cs: Added SetIcon() abstract
9415 * XplatUIOSX.cs: Stubbed out SetIcon() method
9417 - Implemented SetIcon() support
9418 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
9419 - Switched to unix line endings
9421 - Made POINT internal so for can access it as part of MINMAX
9422 - Implemented SetIcon() support
9423 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
9424 native Mdi support again, might have to go managed)
9425 * Control.cs: Now fires the StyleChanged event
9426 * MdiClient.cs: Added; still mostly empty
9428 2005-03-10 Peter Bartok <pbartok@novell.com>
9430 * SaveFileDialog.cs: Added emtpy file
9432 2005-03-08 Peter Bartok <pbartok@novell.com>
9434 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
9435 in turn triggers OnCreateContro) when creating a handle for the
9437 * TextControl.cs: Fixed endless loop in certain cases when
9438 replacing the current selection
9440 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
9443 - Honors NewValue changes in Scroll events allowing apps to change it
9444 - Adds First and Last Scroll events
9445 - Fixes Thumb events
9447 2005-03-07 Peter Bartok <pbartok@novell.com>
9449 * Hwnd.cs: Added DefaultClientRectangle property
9450 * XplatUI.cs: Now using the X11 driver Where() method, which provides
9451 more detailed debug information
9453 - Fixed size-change feedback loop, where we would pull an old size
9454 off the queue and mistakenly change our window's size to an
9456 - Now compressing ConfigureNotify events, to reduce looping and
9458 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
9461 2005-03-07 Jackson Harper <jackson@ximian.com>
9463 * Binding.cs: Push data pushes from data -> property. Check if the
9464 property is readonly when attempting to set it.
9466 2005-03-07 Jackson Harper <jackson@ximian.com>
9468 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
9469 instead of IsSubclassOf. Pulling data now sets the value on the
9471 * PropertyManager.cs:
9472 * CurrencyManager.cs: Just need to pull data when updating now,
9473 because PullData will set the value on the control.
9475 2005-03-04 Jackson Harper <jackson@ximian.com>
9477 * Binding.cs: Implement data type parsing and converting on pulled
9478 data. TODO: Are there more ways the data can be converted?
9480 2005-03-04 Jackson Harper <jackson@ximian.com>
9482 * Binding.cs: Support <Property>IsNull checks. Also bind to the
9483 controls Validating method so we can repull the data when the
9484 control loses focus.
9486 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
9489 - Fixes null string format
9492 - Adds enum type checks
9493 - Fixes redrawing and recalc need after changing some properties
9494 - Fixes on focus_item set after the event
9495 - Fixes adding columns after the control has been created
9497 * ThemeWin32Classic.cs:
9498 - Fixes CheckBox focus rectangle
9499 - Fixes ColumnHeader drawing
9502 2005-03-03 Jackson Harper <jackson@ximian.com>
9504 * Binding.cs: Bind to <Property>Changed events so we can detect
9505 when properties are changed and update the data.
9507 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
9510 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
9511 - Fixes ImageList constructor with ImageList container
9512 - Fixes image scaling (wrong parameters at DrawImage)
9514 2005-02-02 Jackson Harper <jackson@ximian.com>
9516 * Binding.cs: Make property searches case-insensitive. Eliminate
9517 some duplicated code.
9519 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
9522 - Handle focus event
9523 - Fix scrollbar events
9524 - Discard highlighted item if remove it
9525 - Fixes SelectedItem with strings
9527 2005-03-01 Peter Bartok <pbartok@novell.com>
9530 - Fixed Visible property, now follows (once again) parent chain
9531 to return false if any control in the chain is visible=false
9532 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
9533 - Fixed several places where is_visible instead of Visible was used
9534 - Implemented FIXME related to focus selection when setting focused
9535 control to be invisible
9537 * XplatUIWin32.cs: Now using proper method to find out if window is
9538 visible. Thanks to Jordi for pointing it out
9540 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
9542 * ComboBox.cs: show/hide scrollbar instead of creating it
9544 2005-02-27 Jackson Harper <jackson@ximian.com>
9546 * CurrencyManager.cs: Add PositionChanged stuff.
9548 2005-02-27 Peter Bartok <pbartok@novell.com>
9550 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
9551 * XplatUIOSX.cs: Added GetMenuOrigin() stub
9552 * XplatUIWin32.cs: Implemented GetMenuOrigin()
9554 - Implemented GetMenuDC()
9555 - Implemented GetMenuOrigin()
9556 - Implemented ReleaseMenuDC()
9557 - Implemented generation of WM_NCPAINT message
9558 - Implemented generation and handling of WM_NCCALCSIZE message
9559 * Form.cs: Added debug helper message for Jordi's menu work
9561 - Modified ClientRect property; added setter, fixed getter to handle
9562 setting of ClientRect
9563 - Added MenuOrigin property
9565 2005-02-26 Peter Bartok <pbartok@novell.com>
9568 - Destroys the caret if a window that's being destroyed contains it
9569 - Ignores expose events coming from the X11 queue for windows that
9570 already are destroyed
9571 - Now uses the proper variable for handling DestroyNotify, before we
9572 marked the wrong window as destroyed
9573 - Improved/added some debug output
9575 2005-02-26 Peter Bartok <pbartok@novell.com>
9577 * X11Keyboard.cs: Fixes to work on 64bit systems
9579 2005-02-26 Peter Bartok <pbartok@novell.com>
9582 - Now calling OnHandleDestroyed from DestroyHandle()
9583 instead of Dispose()
9584 - Removed bogus call to controls.Remove() from DestroyHandle()
9586 2005-02-26 Peter Bartok <pbartok@novell.com>
9588 * Control.cs: Properly destroy child windows when our handle is
9591 2005-02-25 Peter Bartok <pbartok@novell.com>
9594 - Added 'DriverDebug' define to allow tracing XplatUI API calls
9595 - Alphabetized Static Methods and Subclasses
9598 - Added XException class to allow custom handling of X11 exceptions
9599 - Created custom X11 error handler, tied into XException class
9600 - Added support for MONO_XEXCEPTIONS env var to allow the user
9601 to either throw an exception on X errors or continue running
9602 after displaying the error
9603 - Added handling of DestroyNotify message
9604 - Added handler for CreateNotify message (still disabled)
9605 - Improved (tried to at least) Where method to provide file and lineno
9607 - Added XErrorHandler delegate
9608 - Added XRequest enumeration (to suppor translation of errors)
9610 2005-02-25 Jackson Harper <jackson@ximian.com>
9612 * PropertyManager.cs: Implement editing features
9613 * CurrencyManager.cs:
9614 * Binding.cs: First attempt at UpdateIsBinding
9615 * BindingManagerBase.cs: Call UpdateIsBinding before
9616 pushing/pulling data.
9618 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
9620 * MenuAPI.cs: Respect disabled items
9621 * ThemeWin32Classic.cs
9622 - Caches ImageAttributes creation for DrawImageDisabled
9623 - Fixes vertical menu line drawing
9624 - Draws disabled arrows in disable menu items
9626 2005-02-24 Peter Bartok <pbartok@novell.com>
9629 - Added UserData property to allow associating arbitrary objects
9631 - Fixed leak; now removing Hwnd references from static windows array
9633 - Fixed Graphics leak in PaintEventEnd
9634 - Removed usage of HandleData, switched over to Hwnd class
9635 * HandleData.cs: Removed, obsoleted by Hwnd.cs
9637 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9639 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
9640 * ScrollBar.cs: Fixes bug
9641 * TrackBar.cs: removes death code, clipping, mimize refreshes,
9642 keyboard navigation enhancements
9644 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9646 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
9647 * GroupBox.cs: Add control styles
9648 * Label.cs: Add control styles
9649 * UpDownBase.cs: Add control styles
9650 * ListBox.cs: Add control styles
9651 * XplatUIWin32.cs: Fixes wrong parameter order
9654 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
9656 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
9658 2005-02-23 Jackson Harper <jackson@ximian.com>
9660 * PropertyManager.cs: Implement property binding. This doesn't
9661 seem to work yet though as (I think) there are some bugs in
9662 System.ComponentModel.PropertyDescriptor.
9663 * BindingContext.cs: Use new PropertyManager constructor.
9665 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
9667 * ProgressBar.cs: use clip region in ProgressBar
9668 * ThemeWin32Classic.cs: use clip region in ProgressBar
9670 2004-02-22 Jackson Harper <jackson@ximian.com>
9672 * BindingsCollection.cs: Remove some debug code.
9674 2005-02-22 Jackson Harper <jackson@ximian.com>
9676 * BindingContext.cs:
9677 * ControlBindingsCollection.cs:
9678 * CurrencyManager.cs:
9680 * BindingManagerBase.cs: Initial implementation
9681 * BindingsCollection.cs: Add an internal contains method that the
9682 BindingManagerBase uses to ensure bindings aren't added twice to
9684 * PropertyManager.cs: Stubbed out.
9686 * ContainerControl.cs: Hook up databinding
9688 2005-02-22 Geoff Norton <gnorton@customerdna.com>
9691 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
9692 Fixed Invalidate/Update chain.
9693 Fixed tons of other minor bugs (this is almost a complete rewrite).
9695 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
9697 * ComboBox.cs: do subcontrol creation when the control is created
9699 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9701 * Label.cs: fixes image drawing (image and imagelist)
9702 * ThemeWin32Classic.cs: cache brushes
9704 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9706 * Form.cs: Move menu drawing code to Theme class
9707 * ComboBox.cs: Move ComboBox drawing code to Theme class
9708 * MenuItem.cs: Move menu drawing code to Theme class
9709 * MenuAPI.cs: Move menu drawing code to Theme class
9710 * ThemeWin32Classic.cs: New methods
9711 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
9712 * ListBox.cs: Move Listbox drawing code to Theme class
9713 * Theme.cs: New methods
9715 2005-02-20 Peter Bartok <pbartok@novell.com>
9718 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
9719 only process mnemonics on those)
9720 - Fixed event sequence for key handling; first calling
9721 ProcessKeyEventArgs now
9723 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
9724 for processing non-character keys
9725 - Fixed WM_CHAR to generate proper event sequence before processing
9726 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
9729 2005-02-19 Peter Bartok <pbartok@novell.com>
9731 * UserControl.cs: Added TextChanged event; added attributes
9732 * SizeGrip.cs: Implemented resizing and optional display of grip
9733 * Form.cs: Fixed attribute
9734 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9735 Changed meaning of ScrollWindow bool argument; instead of the
9736 clear attribute (which will be true usually anyway), it gives the
9737 option of moving child controls as well.
9739 - Changed to match new ScrollWindow argument
9740 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
9741 now handles the implicit parent window a WM puts around us
9742 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
9744 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
9745 * TreeView.cs: Adjusted to new ScrollWindow arguments
9747 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9749 * Form.cs: Menu integration with non-client area
9750 * MenuItem.cs: Menu integration with non-client area
9751 * MenuAPI.cs: Menu integration with non-client area
9753 2005-02-18 Peter Bartok <pbartok@novell.com>
9755 * MethodInvoker.cs: Added
9756 * MdiLayout.cs: Added
9757 * SendKeys.cs: Started implementation
9758 * ErrorIconAlignment.cs: Added
9760 2005-02-18 Peter Bartok <pbartok@novell.com>
9762 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
9763 * Form.cs: Added handling for Menu-related Non-client messages
9765 2005-02-17 Peter Bartok <pbartok@novell.com>
9767 * UpDownBase.cs: Fixed typo, compilation errors
9768 * DomainUpDown.cs: Fixed attribute value
9770 2005-02-16 Miguel de Icaza <miguel@novell.com>
9772 * UpDownBase.cs: Attach entry events.
9774 Add ForeColor property, Focused, InterceptArrowKeys (interception
9777 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
9780 - Redraw non client are on Setmenu
9781 - Calc proper menu starting point
9783 2005-02-17 Peter Bartok <pbartok@novell.com>
9785 * Application.cs: Fixed message_filter check
9787 2005-02-17 Peter Bartok <pbartok@novell.com>
9789 * Application.cs: Now calls registered message filters
9790 * DockStyle.cs: Fixed attribute
9791 * Form.cs: Fixed attribute
9792 * Menu.cs: Fixed attribute
9793 * ToolTip.cs: Fixed attribute
9794 * TreeNode.cs: Added missing attributes and arranged in regions
9795 * PropertyGrid.cs: Fixed signatures
9796 * TreeNodeCollection.cs: Added attributes
9797 * Splitter.cs: Added missing attributes; arranged into regions
9798 * TabPage.cs: Added missing attributes; arranged into regions
9799 * TextBoxBase.cs: Added missing attributes
9800 * TextBox.cs: Added missing attributes
9801 * ArrangeDirection.cs: Added missing attributes
9802 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
9803 * ToolBarButton.cs: Fixed attributes
9804 * AnchorStyles.cs: Fixed attribute
9805 * TrackBar.cs: Fixed attributes
9806 * TabControl.cs: Added missing attributes and arranged into regions
9807 * ToolBar.cs: Fixed attribute
9808 * StatusBar.cs: Fixed signature, organized into regions and added
9810 * StatusBarPanel.cs: Fixed attributes
9811 * ContentsResizedEventArgs.cs: Implemented
9812 * ContentsResizedEventHandler.cs: Implemented
9813 * DateBoldEventArgs.cs: Implemented
9814 * DateBoldEventHandler.cs: Implemented
9815 * UpDownEventArgs.cs: Implemented
9816 * UpDownEventHandler.cs: Implemented
9818 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
9820 * Form.cs: first Menu NC refactoring
9821 * MenuAPI.cs: first Menu NC refactoring
9823 2005-02-16 Peter Bartok <pbartok@novell.com>
9825 * ImeMode.cs: Added missing attributes
9826 * Menu.cs: Fixed attribute
9827 * GroupBox.cs: Fixed attribute
9828 * Label.cs: Fixed attribute
9829 * ColorDialog.cs (RunDialog): Removed TODO attribute
9830 * ComboBox.cs: Fixed attributes
9831 * ListControl.cs: Added missing attributes
9832 * PropertyGrid.cs: Fixed attributes
9833 * Control.cs: Fixed attributes
9834 * ListViewItem.cs: Added TypeConverter attribute
9835 * NotifyIcon.cs: Fixed attributes
9836 * ListView.cs: Fixed attributes
9837 * ButtonBase.cs: Fixed attribute
9838 * ImageList.cs: Added missing attributes
9839 * ContainerControl.cs: Fixed signature
9840 * CheckedListBox.cs: Fixed attribute; added missing attributes
9841 * Panel.cs: Fixed attributes
9842 * PropertyTabChangedEventArgs.cs: Added missing attribute
9843 * PropertyValueChangedEventArgs.cs: Added missing attribute
9844 * Binding.cs: Fixed attribute
9845 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9846 * ListBox.cs: Fixed attribute; added missing attributes;
9847 * ScrollableControl.cs: Added missing attributes
9848 * PictureBox.cs: Added missing attributes; implemented missing property
9849 * DateTimePicker.cs: Added missing attributes
9850 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9851 * MonthCalendar.cs: Fixed attributes
9852 * StatusBarPanel.cs: Added missing attributes
9853 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9855 2005-02-16 Peter Bartok <pbartok@novell.com>
9857 * TextBoxBase.cs: The previous method to enforce height yet remember
9858 the requested high was less than ideal, this is an attempt to do
9860 * Control.cs: Added comment about possible problem
9861 * Copyright: Updated format
9862 * GridItemType.cs: Fixed swapped values
9864 2005-02-15 Jackson Harper <jackson@ximian.com>
9866 * BaseCollection.cs: Use property so we never access an
9867 uninitialized list. Also initialize the list in the property.
9869 2005-02-15 Peter Bartok <pbartok@novell.com>
9871 * GroupBox.cs (ProcessMnemonic): Implemented
9872 * Label.cs (ProcessMnemonic): Implemented
9873 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
9876 2005-02-15 Peter Bartok <pbartok@novell.com>
9878 * RadioButton.cs (ProcessMnemonic): Implemented
9879 * CheckBox.cs (ProcessMnemonic): Implemented
9881 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
9883 - Added internal method to allow calling ProcessMnemonic from other
9885 * ContainerControl.cs:
9886 - Started support for handling validation chain handling
9887 - Implemented ProcessMnemonic support
9888 - Added Select() call to Active, to make sure the active control
9890 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9892 * ThemeWin32Classic.cs:
9893 - DrawCheckBox(): Fixed stringformat to show hotkeys
9894 - DrawRadioButton(): Fixed stringformat to show hotkeys
9895 * CommonDialog.cs: Removed WndProc override, not needed
9897 2005-02-14 Peter Bartok <pbartok@novell.com>
9899 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9900 missed those in the rewrite
9902 2005-02-14 Miguel de Icaza <miguel@novell.com>
9904 * NumericUpDown.cs (Increment, ToString): Add.
9905 (DecimalPlaces): implement.
9909 * UpDownBase.cs: Add the designer attributes.
9911 2005-02-13 Peter Bartok <pbartok@novell.com>
9913 * Panel.cs: Removed border_style, now in Control
9914 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9915 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9917 2005-02-13 Peter Bartok <pbartok@novell.com>
9919 * MouseButtons.cs: Added missing attributes
9920 * XplatUIStructs.cs: Added enumeration for title styles
9921 * LeftRightAlignment.cs: Added missing attributes
9922 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9923 it compatible with Graphics.FromHwnd()
9924 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9925 * Keys.cs: Added missing attributes
9926 * SelectionRange.cs: Added missing attributes
9927 * SelectionRangeConverter.cs: Added
9929 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9930 ReleaseMenuDC methods
9931 - Renamed ReleaseWindow to UngrabWindow
9932 - Added proper startup notice to allow version identification
9934 - Added missing attributes
9935 - Removed FormParent concept
9936 * Label.cs: Removed border_style field, now in Control
9937 * RadioButton.cs: Now properly selects RadioButton when focus is
9939 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9941 - Added missing attributes
9942 - Added borderstyle handling
9943 - Removed FormParent concept support
9944 - Fixed calls to XplatUI to match changed APIs
9945 - Fixed bug that would case us to use disposed Graphics objects
9946 - Removed unneeded internal methods
9947 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9948 - SelectNextControl(): Fixed to properly check common parents
9949 * TextBoxBase.cs: Removed border_style field (now in Control)
9951 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9952 fixed calculations for form size
9953 - Added support for localized strings and icons
9954 - Improved form size calculations, added border
9955 * ListView.cs: Removed border_style field (now in Control)
9956 * X11Structs.cs: Moved several structs from X11 driver here
9957 * X11Keyboard.cs: Changed debug message
9958 * Application.cs: Removed FormParent concept support
9960 - Resetting end_modal flag
9961 - Removed FormParent concept support
9962 * NativeWindow.cs: Removed FormParent concept support
9963 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9964 Client area and Non-Client whole window to allow support for WM_NC
9966 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9967 prevent using it until it supports Hwnd as per Geoff Norton's request
9968 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9969 * PictureBox.cs: Removed border_style field, now in Control
9970 * XplatUIWin32.cs: Added new driver methods
9972 2005-02-12 Peter Bartok <pbartok@novell.com>
9974 * OpacityConverter.cs: Implemented
9975 * Hwnd.cs: Internal class to support drivers that need to emulate
9976 client area/non-client area window behaviour
9978 2005-02-11 Peter Bartok <pbartok@novell.com>
9980 * KeysConverter.cs: Implemented
9982 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9984 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9985 * LinkLabel: Added missing attributes
9986 * MainMenu.cs: fixes ToString
9987 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9988 * ListBox.cs: fixes event position
9989 * TrackBar.cs: adds missing attributes and events
9991 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9993 * MenuItem.cs: Use SystemInformation and bug fixes
9994 * MenuAPI.cs: Use SystemInformation and bug fixes
9996 2005-02-09 Jackson Harper <jackson@ximian.com>
9998 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9999 their keystate otherwise things like VK_MENU get stuck "on".
10001 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
10003 * ListBox.cs: Fixes AddRange bug
10005 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
10008 - Add missing attributes
10009 - Add missing method
10011 * CheckedListBox.cs: Added missing attributes
10012 - Add missing attributes
10013 - Remove extra method
10015 * ComboBox.cs: Added missing attributes
10016 * VScrollBar.cs: Added missing attributes
10017 * ScrollBar.cs: Added missing attributes
10018 * ListBox.cs: Fixes signature, add missing consts
10019 * LinkArea.cs: Added missing attributes
10022 2005-02-08 Peter Bartok <pbartok@novell.com>
10024 * Menu.cs: Added missing attributes
10025 * MainMenu.cs: Added missing attributes
10026 * GroupBox.cs: Added missing attributes
10027 * Label.cs: Added missing attributes
10028 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
10030 - Added Instance and Options properties
10031 - Added missing attributes
10032 * Cursor.cs: Made Serializable
10033 * NotifyIcon: Added missing attributes
10034 * MenuItem.cs: Added missing attributes
10035 * TextBoxBase.cs: Implemented AppendText() and Select() methods
10036 * Panel.cs: Added Missing attributes
10037 * MonthCalendar.cs: Fixed CreateParams
10039 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10043 - Fixes issues with links
10044 - Adds the class attributes
10046 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10049 - Fixes button when no items available in dropdown
10050 - Fixes repainting problems
10051 - Adds the class attributes
10053 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10055 * XplatUIOSX.cs: Detect the menu bar and title bar height from
10056 the current theme. Cache these on startup.
10058 2005-02-07 Jackson Harper <jackson@ximian.com>
10060 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
10061 the scrollbar buttons when they are depressed.
10063 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10065 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
10066 Get the display size from the main displayid. We currently dont
10067 support multiple display configurations.
10069 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10071 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
10073 2005-02-07 Miguel de Icaza <miguel@novell.com>
10075 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
10077 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
10079 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
10081 2005-02-04 Jackson Harper <jackson@ximian.com>
10083 * ThemeWin32Classic.cs: Respect the clipping rect when
10084 drawing. Only fill the intersection of clips and rects so there
10085 isn't a lot of large fills.
10086 * ScrollBar.cs: Pass the correct clipping rect to the theme
10087 engine. Remove some debug code.
10089 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
10091 * DateTimePicker.cs:
10092 - Fixed crash on DateTime.Parse, use Constructor instead
10094 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10098 - Owner draw support (MeasureItem and DrawItem)
10100 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10103 - Implements FindMergePosition and MergeMenu functions (very poor documented)
10104 - Fixes MenuItems.Add range
10106 - MergeMenu and Clone and CloneMenu functions
10108 2005-02-03 Jackson Harper <jackson@ximian.com>
10110 * ScrollBar.cs: Make abstract
10111 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
10114 2005-02-03 Jackson Harper <jackson@ximian.com>
10116 * ScrollBar.cs: First part of my scrollbar fixups. This removes
10117 all the unneeded refreshes and uses invalidates with properly
10120 2005-02-03 Peter Bartok <pbartok@novell.com>
10122 * ComponentModel.cs: Added
10123 * IDataGridEditingService.cs: Added
10124 * Timer.cs: Added missing attributes
10125 * ToolTip.cs: Added missing attributes
10127 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
10129 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
10131 2005-02-03 Peter Bartok <pbartok@novell.com>
10133 * ListBox.cs: Added missing attributes
10135 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
10138 - Fixes font height after font change
10139 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
10141 2005-02-02 Peter Bartok <pbartok@novell.com>
10143 * HandleData.cs: Introduced static methods to allow class
10144 to be more self-contained and track it's own HandleData objects
10145 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
10146 HandleData to use new static methods
10148 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
10151 - Fixes default size and PreferredHeight
10153 - ObjectCollection.Insert implementation
10159 - ObjectCollection.Insert implementation
10160 - No selection after clean
10163 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10165 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
10167 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
10170 - Caches ItemHeight calculation for OwnerDrawVariable
10171 - Handles dropdown properly
10172 - Fixes several minor bugs
10174 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10177 - Fixes 71946 and 71950
10178 - Fixes changing Multicolumn on the fly
10179 - Fixes keyboard navigation on Multicolumn listboxes
10181 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10183 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
10184 crash reporter log.
10186 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10188 * XplatUIOSX.cs: Allow applications to actually exit.
10190 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10192 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
10193 their parent at creation time rather than lazily later. Fixes a major
10194 regression we were experiencing.
10196 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10198 * ThemeWin32Classic.cs: more date time picker painting fixes
10199 * DateTimePicker.cs: more monthcalendar drop down fixes
10200 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
10202 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10205 - When moving the thumb going outside the control should stop the moving
10206 - Adds the firing of missing events
10207 - Fixes no button show if Size is not specified
10208 - End / Home keys for keyboard navigation
10210 2005-01-30 Peter Bartok <pbartok@novell.com>
10212 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
10213 sanity check to prevent theoretical loop
10214 * XplatUIWin32.cs (SetVisible): Removed debug output
10215 * XplatUIX11.cs (SystrayChange): Added sanity check
10216 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
10217 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
10218 behaviour, valid until the X11 client window rewrite is done
10219 * TextBox.cs (ctor): Setting proper default foreground and background
10222 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
10224 * Theme: Added DrawDateTimePicker to interface
10225 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
10226 * DateTimePicker.cs: Created (still needs keys and painting code)
10227 * DateTimePickerFormat.cs: added
10228 * MonthCalendar.cs: fixed CreateParams for popup window mode
10230 2005-01-29 Peter Bartok <pbartok@novell.com>
10232 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
10233 this should also the calculations for ligher/darker
10234 * Theme.cs: Fixed defaults for ScrollBar widths/heights
10236 2005-01-29 Peter Bartok <pbartok@novell.com>
10238 * ArrangeDirection.cs: Added
10239 * ArrangeStartingPositon.cs: Added
10240 * SystemInformation.cs: Implemented
10241 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10242 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
10243 used by SystemInformation class
10244 * X11Strucs.cs: Added XSizeHints structure
10246 - Fixed CreateParams to make sure the menu window is always visible
10247 - TrackPopupMenu: Added check to make sure we don't draw the
10250 2005-01-29 Peter Bartok <pbartok@novell.com>
10252 * HandleData.cs: Added method for altering invalid area
10253 * TextBoxBase.cs: Implemented TextLength
10255 2005-01-28 Peter Bartok <pbartok@novell.com>
10257 * XplatUIX11.cs: Improvement over last patch, not sending
10258 the WM_PAINT directly anymore, instead we scroll any pending
10259 exposed areas and let the system pick out the WM_PAINT later
10261 2005-01-28 Peter Bartok <pbartok@novell.com>
10263 * SWF.csproj: Deleted, no longer used. Instead,
10264 Managed.Windows.Forms/SWF.csproj should be used
10265 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
10266 directly, to avoid a potential race condition with the next
10269 2005-01-28 Peter Bartok <pbartok@novell.com>
10271 * XplatUI.cs: Made class internal
10273 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
10275 * CheckedListBox.cs:
10278 - Missing methods and events
10280 2005-01-27 Peter Bartok <pbartok@novell.com>
10282 * Application.cs (Run): Don't use form if we don't have one
10284 2005-01-27 Peter Bartok <pbartok@novell.com>
10286 * TextBoxBase.cs (get_Lines): Fixed index off by one error
10288 2005-01-27 Peter Bartok <pbartok@novell.com>
10290 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
10291 * GridItem.cs: Added; Patch by Jonathan S. Chambers
10292 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
10293 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
10294 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
10295 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
10296 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10297 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10298 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10299 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10300 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10301 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10303 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10306 - Draw focus on Simple Combobox
10307 - Fixes drawing issues
10310 2005-01-27 Peter Bartok <pbartok@novell.com>
10313 - Place window in default location, instead of hardcoded 0/0
10314 - Send initial LocationChanged event
10316 - UpdateBounds after creation to find out where the WM placed us
10317 - Make sure that if the ParentForm changes location the Form
10319 * XplatUIX11.cs: XGetGeometry will not return the coords relative
10320 to the root, but to whatever the WM placed around us.
10321 Translate to root coordinates before returning toplevel
10323 * XplatUIWin32.cs: Removed debug output
10324 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
10325 flag to GetWindowPos, to allow translation of coordinates on X11
10327 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10329 * ListBox.cs: connect LostFocus Event
10331 2005-01-27 Peter Bartok <pbartok@novell.com>
10333 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10334 XplatUIX11.cs: Extended the Systray API
10335 * Form.cs: Removed debug output
10336 * Application.cs: Fixed focus assignment, always need to call
10337 XplatUI.Activate() since Form.Activate() has rules that may
10339 * NotifyIcon.cs: Should be complete now
10340 * ToolTip.cs: Worked around possible timer bug
10342 2005-01-27 Jackson Harper <jackson@ximian.com>
10345 - Only invalidate the effected tabs when the
10346 selected index changes. This reduces drawing and gets rid of some
10348 - Only refresh if the tabs need to be shifted, otherwise only
10349 invalidate the slider button.
10350 - On windows the tabs are not filled to right if the slider is
10353 2005-01-27 Jackson Harper <jackson@ximian.com>
10355 * TabControl.cs: Only refresh on mouseup if we are showing the
10356 slider. Also only invalidate the button whose state has changed.
10358 2005-01-26 Peter Bartok <pbartok@novell.com>
10360 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
10361 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
10362 and SystrayRemove() methods
10363 * XplatUIOSX.cs: Stubbed Systray methods
10365 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
10367 - Fixed broken XChangeProperty calls (marshalling messed up things)
10368 * X11Structs.cs: Added enums and structs required for Size hinting
10369 * NotifyIcon.cs: Added & implemented
10371 2005-01-26 Jackson Harper <jackson@ximian.com>
10373 * TabControl.cs: Space vertically layed out tabs properly.
10375 2005-01-26 Peter Bartok <pbartok@novell.com>
10377 * Form.cs (CreateClientParams): Always set the location to 0,0
10378 since we're a child window.
10380 * Control.cs (SetVisibleCore): Always explicitly setting the location
10381 of a toplevel window, apparently X11 doesn't like to move windows
10382 while they're not mapped.
10384 2005-01-26 Jackson Harper <jackson@ximian.com>
10386 * TabControl.cs: Implement FillToRight size mode with vertically
10389 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10391 * ControlPaint.cs, ThemeWin32Classic.cs
10392 - Fixes DrawFocusRectangle
10394 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10397 - MenuBar tracking only starts when item is first clicked
10398 - Fixes menu hidding for multiple subitems
10399 - Unselect item in MenuBar when item Executed
10402 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
10405 - IsInputKey for ListBox
10408 - Shift and Control item selection
10409 - Implement SelectionMode.MultiExtended
10410 - Fixes RightToLeft
10412 - IsInputKey implemented
10413 - Do not generate OnTextChangedEdit on internal txt changes
10415 2005-01-23 Peter Bartok <pbartok@novell.com>
10417 * AccessibleObject.cs: Partially implemented Select()
10418 * MonthCalendar.cs: Added missing attributes and events
10419 * Form.cs: Fixed CreateParams behaviour, now controls derived from
10420 form can properly override CreateParams.
10421 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10422 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
10423 Control performs Invalidate & Update
10424 * NativeWindow (CreateHandle): Added special handling for Form
10425 and Form.FormParent classes to allow overriding of From.CreateParams
10427 - ControlNativeWindow: Renamed 'control' variable to more intuitive
10429 - ControlNativeWindow: Added Owner property
10430 - Removed usage of Refresh() on property changes, changed into
10431 Invalidate(), we need to wait until the queue is processed for
10432 updates, direct calls might cause problems if not all vars for
10433 Paint are initialized
10434 - Added call to UpdateStyles() when creating the window, to set any
10435 styles that CreateWindow might have ignored.
10436 - Added support for Form CreateParent overrides to UpdateStyles()
10437 * MessageBox.cs: Removed no longer needed FormParent override stuff,
10438 CreateParams are now properly overridable
10439 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
10440 CreateParams are now properly overridable
10442 2005-01-23 Miguel de Icaza <miguel@ximian.com>
10444 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
10447 Capture LostFocus and OnTextBoxChanged. The later introduces a
10448 recursive invocation that I have not figured out yet.
10450 Reset the timer when not using (it was accumulating).
10453 (OnTextBoxChanged): Set UserEdit to true here to track whether the
10454 user has made changes that require validation.
10456 Reset changing to avoid loops.
10458 2005-01-22 Miguel de Icaza <miguel@ximian.com>
10460 * NumericUpDown.cs: Display value at startup.
10462 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
10465 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
10466 filled in. Added some basic parsing of text.
10468 Still missing the OnXXX method overrides, and figuring out the
10469 events that must be emitted.
10471 * UpDownBase.cs: Handle UserEdit on the Text property.
10473 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
10476 - Fixes IntegralHeight
10479 2005-01-21 Jackson Harper <jackson@ximian.com>
10481 * TabControl.cs: Set the SelectedIndex property when SelectedTab
10482 is set so that the page visibility is updated and the tabs are
10485 2005-01-21 Jackson Harper <jackson@ximian.com>
10487 * TabControl.cs: Use cliping rectangle for blitting. Give the
10488 theme the clipping rect so we can do clipping while
10489 drawing. Remove some debug code.
10491 2005-01-21 Jackson Harper <jackson@ximian.com>
10493 * TabPage.cs: Add a new method so tab pages can force the tab
10494 control to recalculate the tab page sizes.
10495 * TabControl.cs: UpdateOwner needs to make the tab control recalc
10498 2005-01-20 Jackson Harper <jackson@ximian.com>
10500 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
10502 2005-01-20 Jackson Harper <jackson@ximian.com>
10504 * TreeView.cs: Set the bounds for nodes properly. They were
10505 getting screwed up when checkboxes were not enabled, but images
10508 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
10511 - Owner draw support
10514 2005-01-20 Jackson Harper <jackson@ximian.com>
10516 * XplatUIStructs.cs: More misc keys
10517 * X11Keyboard.cs: Ignore some control keys.
10519 2005-01-20 Jackson Harper <jackson@ximian.com>
10521 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
10522 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
10524 2005-01-19 Peter Bartok <pbartok@novell.com>
10526 * Control.cs: Un-selecting the control when it is loosing focus
10528 2005-01-19 Jackson Harper <jackson@ximian.com>
10530 * TreeView.cs: Hook up to the text controls leave event so we can
10531 end editing when the users clicks outside the text box.
10533 2005-01-19 Jackson Harper <jackson@ximian.com>
10535 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
10536 get set in the conversion array.
10538 2005-01-19 Peter Bartok <pbartok@novell.com>
10540 * Application.cs (ModalRun): Added a call to CreateControl to ensure
10541 focus is properly set
10543 - Added missing attributes
10544 - removed styles, those are already set in the base class
10546 - Added missing attributes
10547 - Added clip window styles
10548 * CheckBox.cs: Added missing attributes
10550 - FormParentWindow.CreateParams: Added required clip styles
10551 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
10552 also filters modifier keys
10554 - Added assignment of Accept and Cancel button to enable Enter
10555 and Esc keys in MessageBox dialogs
10556 - FormParentWindow.CreateParams: Added required clip styles
10557 * RadioButton.cs: Added missing attributes
10558 * TextControl.cs: No longer draws selection if control does not
10561 - Now draws simple rectangle around test area to make it obvious
10562 there's a control. This is a hack until we properly support borders
10563 - A few simple fixes to support selections better, now erases selected
10564 text when typing, and resets selection when using movement keys
10566 2005-01-19 Miguel de Icaza <miguel@ximian.com>
10568 * UpDownBase.cs: Added some new properties.
10570 * DomainUpDown.cs: Implement a lot to get my test working.
10572 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10574 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
10576 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10578 * OSXStructs (WindowAttributes): Fixed csc complaints
10580 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10583 OSXStructs.cs: Initial refactor to move enums and consts into
10584 OSXStructs and use them in the driver for greater readability.
10586 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10588 * XplatUIOSX.cs: Initial support for Standard Cursors.
10589 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
10591 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
10593 * ComboBox.cs: ability to change style when the ctrl is already
10594 created, missing methods and events, bug fixes, signature fixes
10596 2005-01-19 Peter Bartok <pbartok@novell.com>
10598 * Cursors.cs (ctor): Added ctor to fix signature
10600 2005-01-18 Peter Bartok <pbartok@novell.com>
10602 * Button.cs: Implemented DoubleClick event
10604 - Fixed keyboard handling to behave like MS, where the press of
10605 Spacebar is equivalent to a mousedown, and the key release is
10606 equivalent to mouseup. Now a spacebar push will give the same
10607 visual feedback like a mouse click.
10608 - Added missing attributes
10609 - Added ImeModeChanged event
10610 - Added support for generating DoubleClick event for derived classes
10612 - Implemented DoubleClick event
10613 - Added missing attributes
10614 * CommonDialog.cs: Added missing attribute
10615 * ContextMenu.cs: Added missing attributes
10617 - AutoChecked buttons do not allow to be unselected when clicked
10618 (otherwise we might end up with no selected buttons in a group)
10619 - Added missing attributes
10620 - Implemented DoubleClickEvent
10621 * ThreadExceptionDialog.cs: Enabled TextBox code
10623 2005-01-18 Peter Bartok <pbartok@novell.com>
10625 * Form.cs: Removed debug output
10626 * Button.cs: Added support for DoubleClick method
10628 2005-01-18 Peter Bartok <pbartok@novell.com>
10631 - Added method to parent window that allows triggering size
10632 calculations when a menu is added/removed
10633 - set_Menu: Cleaned up mess from early days of Form and Control,
10634 now properly triggers a recalc when a menu is added/removed
10635 - Added case to select form itself as focused form if no child
10637 - Added PerformLayout call when showing dialog, to ensure properly
10640 - Select(): Made internal so Form can access it
10641 - Focus(): Only call Xplat layer if required (avoids loop), and sets
10643 * Application.cs (Run): Removed hack and calls PerformLayout instead
10644 to trigger calculation when Form becomes visible
10646 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
10648 * ComboBox.cs: fixes for ownerdraw
10650 2005-01-18 Peter Bartok <pbartok@novell.com>
10653 - Sentinel is no longer static, each Document gets it's own, this
10654 avoids locking or alternatively overwrite problems when more
10655 than one text control is used simultaneously.
10656 - Switched to use Hilight and HilightText brushes for text selection
10658 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
10660 2005-01-18 Peter Bartok <pbartok@novell.com>
10663 - Hooked up the following events:
10671 o SystemColorsChanged
10672 o ParentFontChanged
10674 - Removed debug output
10675 - Added a call to the current theme's ResetDefaults when a color change
10677 * Form.cs: Now setting the proper ImeMode
10678 * Theme.cs: Defined a method to force recreation of cached resources
10679 and rereading of system defaults (ResetDefaults())
10680 * ThemeWin32Classic.cs: Added ResetDefaults() stub
10682 2005-01-17 Peter Bartok <pbartok@novell.com>
10684 * Control.cs: Added missing attributes
10686 2005-01-17 Jackson Harper <jackson@ximian.com>
10688 * TreeNode.cs: Implement editing. Add missing properties selected
10690 * TreeView.cs: Implement node editing. Also some fixes to use
10691 Invalidate (invalid area) instead of Refresh when selecting.
10693 2005-01-17 Peter Bartok <pbartok@novell.com>
10696 - Implemented InvokeGotFocus() method
10697 - Implemented InvokeLostFocus() method
10698 - Implemented InvokePaint() method
10699 - Implemented InvokePaintBackground() method
10700 - Implemented InvokeClick() method
10701 - Implemented FindForm() method
10702 - Implemented RectangleToClient() method
10703 - Implemented ClientToRectangle() method
10704 - Implemented ResetBackColor() method
10705 - Implemented ResetCursor() method
10706 - Implemented ResetFont() method
10707 - Implemented ResteForeColor() method
10708 - Implemented ResetImeMode() method
10709 - Implemented ResetLeftToRight() method
10710 - Implemented ResetText() method
10711 - Implemented Scale() methods
10712 - Implemented ScaleCore() method
10713 - Implemented Update() method
10714 - Removed unused variables
10715 - Stubbed AccessibilityNotifyClients and
10716 ControlAccessibleObject.NotifyClients() methods (dunno what to do
10718 - Now setting proper default for RightToLeft property
10719 - Fixed bug in SetClientSizeCore that would cause windows to get
10721 - Now sending Click/DoubleClick events
10722 - Now selecting controls when left mouse button is clicked on
10724 * AccessibleEvents.cs: Added
10725 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
10726 * XplatUIOSX.cs: Stubbed UpdateWindow() method
10727 * XplatUIWin32.cs: Implemented UpdateWindow() method
10728 * XplatUIX11.cs: Implemented UpdateWindow() method
10729 * Form.cs: Removed stray semicolon causing CS0162 warning
10730 * ThemeWin32Classic.cs: Fixed unused variable warnings
10731 * ScrollableControl.cs: Now calls base method for ScaleCore
10732 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
10733 style to avoid interference with internal click handler (which is
10734 different than standard Control click handling)
10736 - Now unchecks all sibling radio buttons when control is
10737 selected (Fixes #68756)
10738 - Removed internal tabstop variable, using the one inherited from
10741 2005-01-17 Jackson Harper <jackson@ximian.com>
10743 * NavigateEventArgs.cs: Fix base type.
10744 * LinkLabel.cs: Sig fix
10746 2005-01-17 Jackson Harper <jackson@ximian.com>
10748 * TreeView.cs: Only invalidate the effected nodes bounds when
10751 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10753 * XplatUIWin32.cs: fixes Win32 marshaling
10754 * XplatUIX11.cs: fixes method signature
10756 2005-01-17 Peter Bartok <pbartok@novell.com>
10758 * XplatUIX11.cs: Clean up resources when we no longer need them
10760 2005-01-17 Peter Bartok <pbartok@novell.com>
10762 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
10763 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
10764 and DestroyCursor() methods.
10765 * Cursor.cs: Partially implemented, now supports standard cursors;
10766 still contains some debug code
10767 * Cursors.cs: Implemented class
10769 - WndProc(): Added handling of WM_SETCURSOR message, setting the
10771 - Implemented Cursor property
10772 - Replaced break; with return; more straightforwar and possibly
10774 - Now properly setting the result for WM_HELP
10775 * X11Structs.cs: Added CursorFontShape enum
10776 * XplatUIStructs.cs:
10777 - Added StdCursor enum (to support DefineStdCursor() method)
10778 - Added HitTest enum (to support sending WM_SETCURSOR message)
10780 - Now sends the WM_SETCURSOR message
10781 - Implemented new cursor methods
10782 * XplatUIOSX.cs: Stubbed new cursor methods
10784 - Implemented new cursor methods
10785 - Added GetSystemMetrics function and associated enumeration
10787 2005-01-15 Peter Bartok <pbartok@novell.com>
10790 - WndProc(): Now handles EnableNotifyMessage
10791 - SelectNextControl(): Fixed bug where if no child or sibling
10792 controls exist we looped endlessly
10794 2005-01-14 Jackson Harper <jackson@ximian.com>
10796 * TreeView.cs: Recalculate the tab pages when a new one is added
10797 so that the proper bounding rects are created.
10799 2005-01-14 Jackson Harper <jackson@ximian.com>
10801 * TreeView.cs: Draw a gray box instead of a grip in the lower
10802 right hand corner when there are both horizontal and vertical
10805 2005-01-14 Jackson Harper <jackson@ximian.com>
10807 * Control.cs: When erasing backgrounds use FromHwnd instead of
10808 FromHdc when there is a NULL wparam. This occurs on the X driver.
10809 * XplatUIX11.cs: Set the wparam to NULL.
10811 2005-01-13 Jackson Harper <jackson@ximian.com>
10813 * PictureBox.cs: Implement missing methods (except ToString, need
10814 to test that on windows) and events. When visibility is changed we
10815 need to redraw the image because the buffers are killed. When size
10816 is changed refresh if the sizemode needs it.
10818 2005-01-13 Peter Bartok <pbartok@novell.com>
10820 * Control.cs (SelectNextControl): Was using wrong method to select
10823 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10825 * ComboBox.cs: fixes dropstyle
10827 2005-01-13 Peter Bartok <pbartok@novell.com>
10830 - Implemented Select() override
10831 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
10832 - Now sets keyboard focus on startup
10833 * Control.cs (SelectNextControl): Now properly handles directed=true
10835 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10836 - Added (really bad) focus rectangle (mostly for testing)
10837 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10838 to enforce redraw on focus changes
10839 * ContainerControl.cs:
10840 - Fixed detection of Shift-Tab key presses
10841 - Fixed traversal with arrow keys
10842 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10843 gonna keep this or if it's complete yet
10845 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10847 * ComboBox.cs: missing properties, fixes
10849 2005-01-13 Peter Bartok <pbartok@novell.com>
10851 * Panel.cs (ctor): Setting Selectable window style to off
10852 * Splitter.cs (ctor): Setting Selectable window style to off
10853 * GroupBox.cs (ctor): Setting Selectable window style to off
10854 * Label.cs (ctor): Setting Selectable window style to off
10856 2005-01-12 Miguel de Icaza <miguel@ximian.com>
10858 * UpDownBase.cs (InitTimer): If the timer has been already
10859 created, enable it.
10861 Use a TextBox instead of a Label.
10863 2005-01-12 Jackson Harper <jackson@ximian.com>
10865 * TreeView.cs: Refresh the tree after sorting the nodes. Always
10866 draw the connecting node lines (when ShowLines is true).
10867 * TreeNode.cs: The nodes index can now be updated. This is used
10868 when a node collection is sorted.
10869 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
10870 insert or an existing unsorted node collection can be sorted.
10872 2005-01-12 Peter Bartok <pbartok@novell.com>
10874 * ContainerControl.cs: Implemented ProcessDialogKeys()
10876 2005-01-12 Peter Bartok <pbartok@novell.com>
10879 - Implemented SelectNextControl() method
10880 - Several focus related bug fixes
10881 - Fixed Docking calculations to match MS documentation and
10884 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
10886 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10889 2005-01-12 Peter Bartok <pbartok@novell.com>
10892 - Fixed broken Contains() method
10893 - Implemented GetNextControl() method. Finally. This is the pre-
10894 requisite for focus handling.
10896 2005-01-12 Peter Bartok <pbartok@novell.com>
10898 * OSXStrucs.cs: Added
10900 2005-01-12 Peter Bartok <pbartok@novell.com>
10903 - Removed PeekMessageFlags
10904 - Implemented SetWindowStyle() method
10905 * XplatUIStructs.cs: Added PeekMessageFlags
10906 * X11Structs: Added missing border_width field to XWindowChanges struct
10908 - PeekMessage: Now throws exception if flags which are not yet
10909 supported are passed
10910 - Implemented SetWindowStyle() method
10911 - Fixed SetZOrder to handle AfterHwnd properly
10912 * XplatUI.cs: Added SetWindowStyle() method
10913 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10915 - Implemented UpdateStyles() method
10916 - Implemented UpdateZOrder() method
10917 * XplatUIOSX.cs: Added SetWindowStyle() stub
10919 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10921 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10925 2005-01-11 Jackson Harper <jackson@ximian.com>
10927 * TreeView.cs: Still need to draw lines to siblings even if out of
10928 the current node is out of the clip.
10930 2005-01-11 Jackson Harper <jackson@ximian.com>
10932 * TreeView.cs: When setting the hbar/vbar/grip position use
10933 SetBounds so that perform layout is only called once. Also suspend
10934 and resume layout so layout is only done once for all controls.
10935 - Removed some debug fluff
10936 * SizeGrip.cs: Call base implmentation in overriding methods.
10937 - When visibility is changed the drawing buffers are killed so we
10940 2005-01-11 Jackson Harper <jackson@ximian.com>
10942 * TreeView.cs: Calculate the open node count while drawing. This
10943 saves us an entire tree traversal for every paint operation. Use
10944 a member var for the open node count so less vars are passed around.
10946 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10948 * MonthCalendar.cs:
10949 - fixed selection to use mousemove, not mouse polling on timer
10950 * ThemeWin32Classic.cs
10951 - removed redundant unused variable "no_more_content"
10953 2005-01-11 Peter Bartok <pbartok@novell.com>
10955 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10956 are pending, so it now calls PeekMessage instead of GetMessage;
10957 implemented a incomplete version of PeekMessage
10959 2005-01-11 Peter Bartok <pbartok@novell.com>
10961 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10963 * TextBoxBase.cs: Added sending of TextChanged event
10965 2005-01-10 Jackson Harper <jackson@ximian.com>
10967 * TreeView.cs: Try not to draw outside the clipping rectangle on
10970 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10972 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10974 2005-01-10 Jackson Harper <jackson@ximian.com>
10977 - Implement fast scrolling. Now only the newly
10978 exposed nodes are drawn and the old image is moved using the
10979 XplatUI::ScrollWindow method.
10980 - Factor in height of nodes when calculating whether or not the
10981 node is in the clipping rect.
10983 2005-01-10 Jackson Harper <jackson@ximian.com>
10985 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10987 2005-01-10 Peter Bartok <pbartok@novell.com>
10989 * Application.cs: Added temporary hack to resolve all our resize
10990 required issues on startup. This will get fixed properly at
10991 some point in the future
10993 2005-01-10 Jackson Harper <jackson@ximian.com>
10995 * SizeGrip.cs: New internal class that is used as a sizing
10996 grip control...hence the name.
10998 2005-01-10 Peter Bartok <pbartok@novell.com>
11000 * Control.cs: Implemented proper TabIndex handling, now assigning
11001 a tabindex when a control is added to a container
11002 * GroupBox.cs (ctor): Now sets the Container style bit, required
11003 for Control.GetNextControl()
11005 2005-01-09 Jackson Harper <jackson@ximian.com>
11007 * TextBoxBase.cs: Clear window when scrolling (fixes build).
11009 2005-01-09 Peter Bartok <pbartok@novell.com>
11011 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
11012 XplatUIX11.cs: Added ability to control ScrollWindow expose and
11013 an overload for ScrollWindow to allow only scrolling a rectangle
11015 2005-01-09 Peter Bartok <pbartok@novell.com>
11018 - Implemented SetDesktopBounds method
11019 - Implemented SetDesktopLocation method
11021 2005-01-08 Jackson Harper <jackson@ximian.com>
11023 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
11024 the node count has changed, this removes to VScroll::Refresh calls
11027 2005-01-08 Geoff Norton <gnorton@customerdna.com>
11029 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
11031 2005-01-07 Jackson Harper <jackson@ximian.com>
11033 * TreeNode.cs: Just update the single node when it is
11034 checked. Don't refresh after toggling, the Expand/Collapse already
11036 * TreeView.cs: Respect clipping a little more when drawing. Try
11037 not to redraw things that don't need to be redrawn. Just hide the
11038 scrollbars when they are no longer needed instead of removing
11039 them, so they don't have to be created again and again.
11041 2005-01-07 Geoff Norton <gnorton@customerdna.com>
11043 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
11044 coordinates to window space to place the caret properly, FIXED.
11045 Implement GetWindowState & SetWindowState
11047 2005-01-06 Peter Bartok <pbartok@novell.com>
11050 - Implemented ClientSize property
11051 - Implemented DesktopBounds property
11052 - Implemented DesktopLocation property
11053 - Implemented IsRestrictedWindow property
11054 - Implemented Size property
11055 - Implemented TopLevel property
11056 - Implemented FormWindowState property
11058 - Implemented GetTopLevel() method
11059 - Implemented SetTopLevel() method
11060 * X11Structs.cs (Atom):
11061 - Added AnyPropertyType definition
11062 - Added MapState definiton and updated XWindowAttribute struct
11063 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
11064 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
11065 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
11067 - Implemented GetWindowState() and SetWindowState() methods
11068 - Fixed Win32GetWindowLong return type
11070 - Introduced central function for sending NET_WM messages
11071 - Implemented GetWindowState() and SetWindowState() methods
11072 * TextBoxBase.cs (set_Lines):
11073 - Now uses Foreground color for text added via Text property (Duh!)
11074 - Added code to remember programmatically requested size (fixes
11075 behaviour when Multiline is set after Size)
11076 - Added AutoSize logic
11078 2005-01-06 Jackson Harper <jackson@ximian.com>
11080 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
11082 2005-01-06 Jackson Harper <jackson@ximian.com>
11084 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
11085 set to less then 0.
11087 2005-01-06 Jackson Harper <jackson@ximian.com>
11089 * ScrollableControl.cs: Lazy init the scrollbars.
11091 2005-01-06 Jackson Harper <jackson@ximian.com>
11093 * Theme.cs: Speed up getting pens and solid brushes, by using
11094 their ARGB as a hash instead of tostring and not calling Contains.
11096 2005-01-06 Peter Bartok <pbartok@novell.com>
11099 - Implemented OnActivated and OnDeactivate event trigger
11100 - Implemented Activate() method
11101 - Fixed ShowDialog() to activate the form that was active before
11102 the dialog was shown
11104 - Added global active_window var that tracks the currently active
11106 - Now always grabs Property changes from the root window to always
11107 catch changes on the active window property
11108 - Added code to PropertyNotify handler to send Active/Inactive
11109 messages when state changes. This puts X11 and Win32 en par on
11110 WM_ACTIVATE notifications (except for double notifications when
11111 the user clicks away from our modal window to another one of our
11114 2005-01-05 Jackson Harper <jackson@ximian.com>
11116 * ImageList.cs: Implment ctor
11118 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11120 * XplatUIOSX.cs: Implement Activate/SetTopmost
11122 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11124 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
11126 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11128 * XplatUIOSX.cs: Implement GetActive/SetFocus.
11130 2005-01-05 Peter Bartok <pbartok@novell.com>
11132 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
11133 XplatUIOSX.cs: Added GetActive method to return the currently
11134 active window for the application (or null, if none is active)
11136 - Implemented ActiveForm
11137 - Commented out owner assignment for modal dialogs (causes problems
11138 on Win32, since the owner will be disabled)
11139 - Reworked some Active/Focus handling (still incomplete)
11140 * CommonDialog.cs: Commented out owner assignment for modal dialogs
11141 (causes problems on Win32, since the owner will be disabled)
11142 * IWin32Window: Added ComVisible attribute
11144 2005-01-05 Peter Bartok <pbartok@novell.com>
11146 * ToolTip.cs (WndProc): Enable setting focus now that we have the
11147 required XplatUI functions.
11149 2005-01-05 Peter Bartok <pbartok@novell.com>
11151 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
11152 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
11153 to implement focus and activation handling; still incomplete and
11156 2005-01-04 Peter Bartok <pbartok@novell.com>
11158 * TextBoxBase.cs: Changed access level for Document property to
11159 match switch to internal for TextControl
11161 2005-01-04 Peter Bartok <pbartok@novell.com>
11163 * AccessibleObject: Added ComVisible attribute
11165 2005-01-04 Jackson Harper <jackson@ximian.com>
11167 * X11Keyboard.cs: Remove unneeded var.
11169 2005-01-04 Jackson Harper <jackson@ximian.com>
11171 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
11173 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
11174 ClientMessage. This makes apps exit cleanly (more often).
11176 2005-01-04 Jackson Harper <jackson@ximian.com>
11178 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
11179 handling focus, return correct colors and fonts,
11180 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
11181 handle selection, horizontal scrolling, and mouse interaction.
11183 2005-01-04 Peter Bartok <pbartok@novell.com>
11185 * ICommandExecutor.cs: Added
11186 * IDataGridColumnStyleEditingNotificationService.cs: Added
11187 * IFeatureSupport.cs: Added
11188 * IFileReaderService.cs: Added
11189 * IDataObject.cs: Added ComVisible attribute
11190 * AmbientProperties.cs: Added
11191 * BaseCollection.cs: Added missing attributes
11192 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
11193 * BaseCollection.cs: Added missing attributes
11194 * Binding.cs: Added TypeConverter attribute
11195 * BindingContext.cs: Added DefaultEvent attribute
11196 * BindingsCollection.cs: Added DefaultEvent attribute
11197 * Button.cs: Added DefaultValue attribute
11198 * DragEventArgs.cs: Added ComVisible attribute
11199 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
11200 * KeyEventArgs.cs: Added ComVisible attribute
11201 * KeyPressEventArgs.cs: Added ComVisible attribute
11202 * MouseEventArgs.cs: Added ComVisible attribute
11203 * NavigateEventArgs.cs: Added
11204 * NavigateEventHandler.cs: Added
11205 * FeatureSupport.cs: Added
11206 * OSFeature.cs: Added
11207 * Theme.cs: Added abstract Version property to support OSFeature
11208 * ThemeWin32Classic.cs: Added Version property to
11209 support OSFeature.Themes
11210 * ProgressBar.cs: Removed OnPaintBackground override, not required since
11211 the proper styles to avoid background drawing are set, also doesn't
11213 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
11214 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
11215 * ScrollEventArgs.cs: Added ComVisible attribute
11216 * SplitterEventArgs.cs: Added ComVisible attribute
11217 * AccessibleSelection.cs: Added Flags attribute
11218 * Appearance.cs: Added ComVisible attribute
11219 * Border3DSide.cs: Added ComVisible attribute
11220 * Border3DStyle.cs: Added ComVisible attribute
11221 * BorderStyle.cs: Added ComVisible attribute
11222 * DragAction.cs: Added ComVisible attribute
11223 * ErrorBlinkStyle.cs: Added
11224 * ScrollEventType.cs: Added ComVisible attribute
11225 * AnchorStyles.cs: Added Editor attribute
11226 * DockStyle.cs: Added Editor attribute
11227 * HorizontalAlignment.cs: Added ComVisible attribute
11228 * HelpEventArgs.cs: Added ComVisible attribute
11229 * PaintEventArgs.cs: Added IDisposable
11231 2005-01-04 Peter Bartok <pbartok@novell.com>
11233 * TextControl.cs: Switched Line, LineTag and Document classes to
11236 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11238 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
11239 Simple mode, fixes, IntegralHeight, etc.
11241 2005-01-04 Peter Bartok <pbartok@novell.com>
11243 * TextBoxBase.cs: Using proper font variable now
11245 2005-01-04 Peter Bartok <pbartok@novell.com>
11247 * Form.cs (ShowDialog): Set parent to owner, if provided
11248 * GroupBox.cs: Removed unused vars
11250 - Added GetHashCode() for Document and LineTag classes
11251 - Removed unused variables
11252 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
11253 to allow translation between continuous char position and line/pos
11254 * CheckBox.cs: Removed vars that are provided by base class
11255 * RadioButton.cs: Removed vars that are provided by base class, added
11256 new keyword where required
11257 * LinkLabel.cs: Added new keyword where required
11258 * Control.cs (WndProc): Removed unused variable
11260 - Finished SelectionLength property
11261 - Implemented SelectionStart property
11262 - Implemented Text property
11263 - Removed unused vars
11264 * MessageBox.cs: Added new keyword where required
11265 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
11267 * MenuAPI.cs: Added new keyword where required
11268 * ButtonBase.cs: Removed vars that are provided by base class, added
11269 new keyword where required
11270 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
11271 argument to double, to allow compiling with csc 2.0 (Atsushi ran
11273 * Application.cs (Run): Now triggers the ThreadExit event
11274 * CommonDialog.cs: Added new keyword where required; now properly sets
11275 parent (owner) for dialog
11276 * XplatUIX11.cs: Commented out unused vars
11277 * StatusBar.cs: Fixed signature for Text property
11278 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
11280 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11282 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
11283 TrackBar.cs, MonthCalendar.cs: remove unused vars
11285 2005-01-03 Jackson Harper <jackson@ximian.com>
11287 * ThemeWin32Classic.cs:
11288 * X11Keyboard.cs: Remove unused vars.
11290 2005-01-03 Peter Bartok <pbartok@novell.com>
11293 - set_Text: Tied into TextControl
11294 - set_TextAlignment: Tied into TextControl
11296 - Added alignment properties and implemented alignment handling
11297 and drawing (still has a bug, not generating proper expose events)
11298 - Added new Line() constructor to allow passing the line alignment
11299 - Fixed selection setting, properly handling end<start now
11300 - Added aligment considerations to RecalculateDocument()
11302 - Now properly enforces control height for single line controls
11303 - Added support for CharacterCasing
11304 - Added IsInputKey override
11305 - Fixed Keys.Enter logic
11306 - Added SetBoundsCore override
11307 - Fixed mouse selection handling
11309 2005-01-03 Jackson Harper <jackson@ximian.com>
11312 - Collapse and uncheck all nodes when CheckBoxes is disabled.
11313 - Checkboxes are always aligned to the bottom of the node,
11314 regardless of item height.
11315 - Use the node bounds to draw the text so we can center it when
11316 the item height is greater then the font height.
11317 - Node::Bounds are only the text part of the node.
11318 * TreeNode.cs: New method to combine collapsing and unchecking all
11321 2005-01-02 Jackson Harper <jackson@ximian.com>
11323 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
11324 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
11325 tree when a check is changed. TODO: Only refresh the checked node.
11327 2004-12-30 Jackson Harper <jackson@ximian.com>
11329 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
11330 * TreeNode.cs: When collapsing make sure to never collapse the
11333 2004-12-29 Jackson Harper <jackson@ximian.com>
11335 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
11337 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
11339 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
11341 2004-12-28 Peter Bartok <pbartok@novell.com>
11343 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
11346 2004-12-28 Peter Bartok <pbartok@novell.com>
11348 * Control.cs (WndProc): Added WM_HELP handler, now generates
11349 HelpRequested event
11350 * Form.cs: Added HelpButton property and required support code
11351 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
11353 2004-12-28 Peter Bartok <pbartok@novell.com>
11356 - Made DialogForm.owner variable internal
11357 - Added check to ensure owner form is set before setting
11358 owner properties in CreateParams
11360 2004-12-28 Geoff Norton <gnorton@customerdna.com>
11362 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
11363 swizzling. Implement ClientToScreen and ScreenToClient. Implement
11364 GetCursorPos. Fix major visibility issues. Rework the windowing
11365 system to support borderless/titleless windows (implements menus).
11366 Fix GetWindowPos. Implement initial background color support for
11369 2004-12-28 Peter Bartok <pbartok@novell.com>
11371 * Form.cs (get_CreateParams): Make sure we have an owner before using
11372 the owner variable. Implement proper default if no owner exists
11374 2004-12-28 Peter Bartok <pbartok@novell.com>
11376 * In preparation for making Managed.Windows.Forms the default build target
11377 for System.Windows.Forms, the following stubbed files were added.
11378 Dialogs are currently being implemented by contributors and are only
11379 short-term place holders.
11380 * ColorDialog.cs: Initial check-in (minmal stub)
11381 * DataGrid.cs: Initial check-in (minimal stub)
11382 * DataGridLineStyle.cs: Initial check-in (minimal stub)
11383 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
11384 * DataGridTableStyle.cs: Initial check-in (minimal stub)
11385 * FontDialog.cs: Initial check-in (minimal stub)
11386 * FileDialog.cs: Initial check-in (minimal stub)
11387 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
11388 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
11389 * OpenFileDialog: Initial check-in (minimal stub)
11390 * IComponentEditorPageSite.cs: Initial check-in
11391 * Splitter.cs: Initial check-in (for Jackson)
11392 * SplitterEventArgs.cs: Initial check-in (for Jackson)
11393 * SplitterEventHandler.cs: Initial check-in (for Jackson)
11394 * TextBox.cs: Initial check-in; still needs some wiring to
11395 TextControl backend
11396 * Form.cs: Implemented ControlBox property
11397 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
11398 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
11399 * TextControl.cs: Added selection functionality; added todo header
11401 - Implemented Lines property
11402 - Implemented TextHeight property
11403 - Implemented SelectedText property
11404 - Implemented SelectionLength property
11405 - Implemented SelectAll method
11406 - Implemented ToString method
11407 - Removed and cleaned up some debug code
11408 - Implemented (still buggy) mouse text selection
11410 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
11412 * ComboBox.cs: Complete DropDownList implementation, fixes.
11414 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
11416 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
11417 * ComboBoxStyle.cs: ComboBoxStyle enum
11418 * ComboBox.cs: Initial work on ComboBox control
11420 2004-12-21 Peter Bartok <pbartok@novell.com>
11422 * Control.cs (ctor, CreateParams): Moved setting of is_visible
11423 forward so that anything that creates a window gets the default,
11424 also no longer uses Visible property in CreateParams to avoid
11425 walking up the parent chain and possibly get the wrong visible
11426 status. Fixed IsVisible to no longer walk up to the parent.
11428 2004-12-21 Peter Bartok <pbartok@novell.com>
11430 * Form.cs (ShowDialog): Unset modality for the proper window
11432 2004-12-20 Peter Bartok <pbartok@novell.com>
11434 * CommonDialog.cs: Initial check-in
11436 2004-12-20 Peter Bartok <pbartok@novell.com>
11438 * Control.cs (Visible): Now uses the parent window instead of the
11439 client area window for the property
11442 - ShowDialog(): Now uses the proper window for modality
11443 - The default visibility state for the form parent is now false. This
11444 will prevent the user from seeing all the changes to the form and
11445 its controls before the application hits Application.Run()
11446 - Removed some stale commented out code
11449 - Added FindWindow() method to have a method to check for existence
11451 - Added ability to override default exception handling (for example
11452 when debugging with VS.Net; to do this the ExternalExceptionHandler
11454 - Removed some useless debug output
11457 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
11458 not working as expected
11459 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
11460 property to allow switching back to the modal window if focus is
11461 given to another one of our windows (Application Modal)
11462 - Now only sets override_redirect if we create a window
11464 - Moved EventMask selection before mapping of newly created window
11465 so we can catch the map event as well
11466 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
11467 - Added various Atom related DllImports
11468 - Implemented Exit() method
11469 - .ctor() : No longer shows window if WS_VISIBLE is not defined
11470 in the CreateParams
11472 * MessageBox.cs: Now properly deals with the FormParent window by
11473 providing an override the FormParent CreateParams property to
11474 set as POPUP instead of OVERLAPPED window.
11476 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11478 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
11479 Minor code cleanup.
11481 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11483 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
11485 2004-12-18 Peter Bartok <pbartok@novell.com>
11487 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
11488 implementing SetModal() method
11490 2004-12-18 Peter Bartok <pbartok@novell.com>
11492 * X11Structs.cs (XGCValues): Fixed type of function element
11493 * XplatUI.cs: Added ScrollWindow() method
11494 * XplatUIDriver.cs: Added ScrollWindow() abstract
11495 * XplatUIWin32.cs: Implemented ScrollWindow() method
11496 * XplatUIX11.cs: Implemented ScrollWindow() method
11497 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
11499 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11501 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
11502 Some more keyboard support (INCOMPLETE)
11504 2004-12-17 Peter Bartok <pbartok@novell.com>
11507 - Added color attribute to line tags.
11508 - Added color argument to all functions dealing with tags
11509 - Added color argument support to various functions
11510 - Fixed miss-calculation of baseline/shift in certain circumstances
11512 * TextBoxBase.cs: Added new color option to test code
11514 2004-12-17 Jackson Harper <jackson@ximian.com>
11517 * MonthCalendar.cs: Signature fixes
11519 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11521 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
11522 keyboard event moved it. Create a new graphics context for each paint resolves this
11524 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11526 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
11527 Make caret exist and go blink blink. Initial keyboard support.
11528 Fix exception handler, Add Invalidate support. Change way RefreshWindow
11531 2004-12-17 Jackson Harper <jackson@ximian.com>
11533 * XplatUIStructs.cs: Updated set of virtual keycodes.
11534 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
11536 2004-12-17 Jackson Harper <jackson@ximian.com>
11538 * XplatUIX11.cs: Prune old keyboard code.
11540 2004-12-17 Jackson Harper <jackson@ximian.com>
11542 * XplatUIX11.cs: When generating mouse wparams get the modifier
11543 keys from the ModifierKeys property.
11545 2004-12-17 Jackson Harper <jackson@ximian.com>
11547 * X11Keyboard.cs: Send up/down input when generating
11548 messages. Remove some unused vars.
11550 2004-12-17 Jackson Harper <jackson@ximian.com>
11553 * TreeView.cs: get rid of warnings.
11555 2004-12-17 Jackson Harper <jackson@ximian.com>
11557 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
11559 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
11561 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
11562 CheckedListBox.cs: Implementation
11564 2004-12-17 Peter Bartok <pbartok@novell.com>
11566 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
11568 2004-12-16 Peter Bartok <pbartok@novell.com>
11571 - InsertCharAtCaret(): Fixed start pos fixup
11572 - CaretLine_get: No longer derives the line from the tag, the tag
11573 could be stale if lines in the document have been added or deleted
11574 - RebalanceAfterDelete(): Fixed bug in balancing code
11575 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
11576 - Line.Streamline(): Now can also elminate leading empty tags
11577 - DumpTree(): Added a few more tests and prevented exception on
11579 - Added Debug section for Combining lines
11580 - Delete(): Now copies all remaining properties of a line
11583 - Left mousebutton now sets the caret (and middle button still acts
11584 as formatting tester, which must go away soon)
11585 - Added Debug section for Deleting/Combining lines
11586 - Fixed calculations for UpdateView after Combining lines
11588 2004-12-16 Peter Bartok <pbartok@novell.com>
11590 * TextControl.cs: Now properly aligns text on a baseline, using the
11591 new XplatUI.GetFontMetrics() method. Simplified several calculations
11592 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
11595 2004-12-16 Peter Bartok <pbartok@novell.com>
11597 * XplatUI.cs: Added GetFontMetrics() method
11598 * XplatUIDriver.cs: Added GetFontMetrics() abstract
11599 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
11600 into libgdiplus, our private GetFontMetrics function
11601 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
11602 * XplatUIWin32.cs: Implemented GetFontMetrics() method
11604 2004-12-16 Jackson Harper <jackson@ximain.com>
11606 * XplatUIStruct.cs: Add enum for dead keys
11607 * X11Keyboard.cs: Map and unmap dead keys.
11609 2004-12-16 Jackson Harper <jackson@ximian.com>
11611 * X11Keyboard.cs: Detect and use the num lock mask.
11613 2004-12-16 Peter Bartok <pbartok@novell.com>
11615 * Control.cs (CreateGraphics): Added check to make sure the
11616 handle of the window exists before calling Graphics.FromHwnd()
11618 2004-12-16 Peter Bartok <pbartok@novell.com>
11620 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
11621 contains a lot of code that's not supposed to be there for the
11622 real thing, but required for developing/testing the textbox
11625 2004-12-16 Peter Bartok <pbartok@novell.com>
11628 - Fixed Streamline method
11629 - Added FindTag method to Line
11630 - Added DumpTree method for debugging
11631 - Added DecrementLines() method for deleting lines
11632 - Fixed UpdateView to update the cursor to end-of-line on single-line
11634 - Added PositionCaret() method
11635 - Fixed MoveCaret(LineDown) to move into the last line, too
11636 - Added InsertChar overload
11637 - Fixed InsertChar tag offset calculations
11638 - Added DeleteChar() method
11639 - Added Combine() method for folding lines
11640 - Fixed Delete() method, no longer allocates wasted Line object and
11641 now copies all properties when swapping nodes
11642 - Delete() method now updates document line counter
11644 2004-12-15 Jackson Harper <jackson@ximian.com>
11646 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
11647 * X11Keyboard.cs: Expose the currently selected modifier keys
11648 through a property.
11650 2004-12-15 Peter Bartok <pbartok@novell.com>
11652 * TextControl.cs: Initial check-in. Still incomplete
11654 2004-12-15 Jackson Harper <jackson@ximian.com>
11657 * TreeView.cs: Fix build on csc (second time today ;-))
11659 2004-12-15 Jackson Harper <jackson@ximian.com>
11661 * TreeView.cs: Store the treenodes plus/minus box bounds when it
11662 is calculated and use this for click testing.
11663 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
11665 2004-12-15 Jackson Harper <jackson@ximian.com>
11667 * TreeView.cs: Pass the nodes image index to the image list when
11668 drawing that image.
11670 2004-12-15 Jackson Harper <jackson@ximian.com>
11672 * X11Keyboard.cs: Set messages hwnd.
11673 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
11674 post_message calls.
11676 2004-12-15 Jackson Harper <jackson@ximian.com>
11678 * X11Keyboard.cs: Fix to compile with csc.
11680 2004-12-15 Jackson Harper <jackson@ximian.com>
11682 * X11Structs.cs: Add key mask values
11683 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
11684 * X11Keyboard.cs: New file - Extrapolates and interpolates key
11685 down/up foo into WM_CHAR foo
11686 * KeyboardLayouts.cs: Common keyboard layouts
11687 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
11688 post messages into the main queue.
11690 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
11692 * Button.cs: implement ProcessMnemonic
11693 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
11695 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
11696 * ButtonBase.cs: Show HotkeyPrefix (not the &)
11698 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
11700 * MonthCalendar.cs: Implemented click-hold for next/previous month
11703 2004-12-11 Peter Bartok <pbartok@novell.com>
11706 - Added XKeyboardState (moved from XplatUIX11.cs)
11707 - Added XCreateGC related enums and structures
11708 - Added GXFunction for XSetFunction
11710 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
11712 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
11713 CaretVisible() calls
11715 * ToolTip.cs: Added code to prevent stealing focus from app windows
11717 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
11718 DestroyCaret, SetCaretPos and CaretVisible)
11721 - Added implementation for caret functions
11722 - Moved hover variables into a struct, to make it a bit easier
11723 on the eyes and to debug
11724 - Removed XKeyboardState (moved to XplatUIX11.cs)
11725 - Moved Keyboard properties into the properties region
11727 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
11728 call to get a graphics context for our control
11730 * XplatUIOSX.cs: Added empty overrides for the new caret functions
11732 * TreeView.cs: Fixed bug. No matter what color was set it would always
11733 return SystemColors.Window
11735 * XplatUIWin32.cs: Implemented caret overrides
11737 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
11739 * ListBox.cs: fire events, implement missing methods and properties,
11742 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
11744 * MonthCalendar.cs: invalidation bug fixing
11745 * ThemeWin32Classic.cs: paint fixing
11747 2004-12-09 Geoff Norton <gnorton@customerdna.com>
11749 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
11750 prepare the CGContextRef there now.
11752 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
11754 * MonthCalendar.cs:
11755 - optimisationL only invalidate areas that have changed
11756 * ThemeWin32Classic.cs:
11757 - only paint parts that intersect with clip_area
11759 2004-12-09 Peter Bartok <pbartok@novell.com>
11761 * Application.cs: Undid changes from r37004 which cause problems
11764 2004-12-09 Ravindra <rkumar@novell.com>
11766 * ToolBar.cs: Added support for displaying ContextMenu
11767 attached to a button on ToolBar.
11768 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
11771 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11773 * Label.cs: autosize works in text change and removes unnecessary
11776 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11778 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
11781 2004-12-08 Geoff Norton <gnorton@customerdna.com>
11783 * XplatUIOSX.cs: Added mouse move/click/grab support
11784 Remove some debugging WriteLines not needed anymore.
11785 Add window resizing/positioning.
11786 Fix visibility on reparenting.
11788 2004-12-08 Peter Bartok <pbartok@novell.com>
11790 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
11792 2004-12-07 Geoff Norton <gnorton@customerdna.com>
11794 * XplatUIOSX.cs: Initial checkin
11795 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
11797 2004-12-03 Ravindra <rkumar@novell.com>
11799 * ListView.cs: Added some keybindings and fixed scrolling.
11800 ScrollBars listen to ValueChanged event instead of Scroll
11801 Event. This would let us take care of all changes being
11802 done in the scrollbars' values programmatically or manually.
11803 * ListView.cs (CanMultiselect): Added a check for shift key.
11804 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
11805 * ListViewItem.cs (Clone): Fixed. We need to make a copy
11806 of ListViewSubItemCollection as well.
11808 2004-12-06 Peter Bartok <pbartok@novell.com>
11810 * Control.cs (Parent): Added check and exception to prevent
11813 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
11815 * ListBox.cs: implemented clipping, selection single and multiple,
11818 2004-12-03 Ravindra <rkumar@novell.com>
11820 * ListView.cs (ListView_KeyDown):
11821 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
11822 when CTRL key is pressed.
11823 * ListViewItem.cs (Selected): Fixed setting the property.
11825 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11827 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
11829 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
11830 MinimizeBox, ShowInTaskbar, TopMost properties.
11832 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
11833 will be implemented).
11835 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11837 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11839 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11842 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11844 * TreeView.cs: BackColor is Colors.Window.
11846 2004-12-01 Jackson Harper <jackson@ximian.com>
11848 * TreeView.cs: When resizing the tree if the user is making it
11849 smaller we don't get expose events, so we need to handle adding
11850 the horizontal scrollbar in the size changed handler as well as
11851 the expose handler.
11853 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11855 * DrawItemState.cs: fixes wrong enum values
11857 2004-12-01 Jackson Harper <jackson@ximian.com>
11859 * TreeView.cs: Resize the hbar as well as the vbar on resize.
11861 2004-12-01 Jackson Harper <jackson@ximian.com>
11863 * NodeLabelEditEventArgs.cs:
11864 * NodeLabelEditEventHandler.cs:
11865 * OpenTreeNodeEnumerator.cs:
11867 * TreeNodeCollection.cs:
11869 * TreeViewAction.cs:
11870 * TreeViewCancelEventArgs.cs:
11871 * TreeViewCancelEventHandler.cs:
11872 * TreeViewEventArgs.cs:
11873 * TreeViewEventHandler.cs: Initial implementation.
11875 2004-12-01 Ravindra <rkumar@novell.com>
11877 * ListView.cs (CalculateListView): Fixed scrolling related
11878 calculations. Also, removed some debug statements from other
11880 * ListViewItem.cs: Changed access to 'selected' instance variable
11881 from private to internal.
11882 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
11884 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
11886 * ThemeWin32Classic.cs: remove cache of brush and pens for
11887 specific controls and use the global system, fixes scrollbutton
11888 bugs (for small sizes, disabled, etc)
11890 * ScrollBar.cs: does not show the thumb for very small controls
11891 (as MS) and allow smaller buttons that the regular size
11893 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11895 * UpDownBase.cs: Add abstract methods for the interface.
11896 Add new virtual methods (need to be hooked up to TextEntry when it
11898 Add override methods for most features.
11899 Computes the size, forces the height of the text entry.
11901 * NumericUpDown.cs: Put here the current testing code.
11903 * Set eol-style property on all files that do not have mixed line
11904 endings, to minimize the future problems. There are still a few
11905 files with mixed endings, and someone should choose whether they
11906 want to move it or not.
11908 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11910 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11913 2004-11-30 Ravindra <rkumar@novell.com>
11915 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11916 drawing and replaced use of SystemColors by theme colors.
11917 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11918 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11919 same ListViewItem is being added more than once.
11921 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11923 * MonthCalendar.cs:
11924 - ControlStyles love to make the control not flicker
11926 2004-11-30 Peter Bartok <pbartok@novell.com>
11928 * CharacterCasing.cs: Added
11930 2004-11-29 Peter Bartok <pbartok@novell.com>
11932 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11933 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11934 I am removing these files as they conflict with already completed
11935 work. While it is fantastic to get contributions to MWF, I
11936 respectfully ask that everyone please coordinate their contributions
11937 through mono-winforms-list or #mono-winforms at this time. We're
11938 explicitly avoiding stubbing and don't want controls that don't have
11939 their basic functionality implemented in svn. Please also see
11940 http://www.mono-project.com/contributing/winforms.html
11943 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11945 * Application.cs (ModalRun): Don't hang after exit.
11947 * Theme.cs: New TreeViewDefaultSize property.
11949 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11950 with less hardcoded SystemColors constant.
11951 Implemented TreeViewDefaultSize.
11953 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11954 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11957 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11959 * MonthCalendar.cs:
11960 - Fix NextMonthDate and PrevMonthDate click moving calendar
11962 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11964 * MonthCalendar.cs:
11965 - Fix usage of ScrollChange Property when scrolling months
11967 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11969 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11970 - Fixes menu destroying
11971 - Support adding and removing items on already created menus
11973 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11975 * MonthCalendar.cs:
11976 - Re-worked all bolded dates handling to match win32
11977 * ThemeWin32Classic.cs:
11978 - Fixed rendering with bolded dates
11980 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11982 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11983 - Horizontal scroolbar
11988 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11990 * MonthCalendar.cs:
11991 - Fix Usage of MaxSelectionCount from SelectionRange
11992 - Fixed Shift + Cursor Selection
11993 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11994 - Fixed normal cursor selection to be compat with win32
11995 - Fixed Shift + Mouse Click selection
11997 2004-11-24 Peter Bartok <pbartok@novell.com>
11999 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
12000 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
12002 - CreatedKeyBoardMsg now updates keystate with Alt key
12003 - Added workaround for timer crash to CheckTimers, Jackson will
12004 develop a proper fix and check in later
12005 - Implemented DispatchMessage
12006 - Removed calling the native window proc from GetMessage (call
12007 now moved to DispatchMessage)
12009 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
12010 the keydata (Fixes bug #69831)
12013 - (DispatchMessage): Switched to return IntPtr
12014 - Added DllImport for SetFocus
12016 2004-11-24 Ravindra <rkumar@novell.com>
12018 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
12019 background drawing.
12020 * ListViewItem.cs: Fixed various properties, calculations
12021 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
12022 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
12023 and some internal properties. Fixed MouseDown handler and Paint
12026 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12028 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
12030 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12032 * ContainerControl.cs: correct accidental check in of local changes
12034 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12036 * ThemeWin32Classic.cs:
12037 - Fixed Drawing Last month in grid (sometimes not showing)
12038 * MonthCalendar.cs:
12039 - Fixed title width calculation bug (makeing title small)
12041 2004-11-23 Peter Bartok <pbartok@novell.com>
12044 - Added generation of WM_MOUSEHOVER event
12045 - Added missing assignment of async_method atom
12046 - Fixed WM_ERASEBKGND; now only redraws the exposed area
12048 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12050 * ThemeWin32Classic.cs:
12051 - Fixed Drawing of today circle when showtodaycircle not set
12052 - fixed drawing of first and last month in the grid (gay dates)
12053 * MonthCalendar.cs:
12054 - Fixed Drawing of today circle
12055 - Fixed drawing of grady dates
12056 - Fixed HitTest for today link when ShowToday set to false
12057 - Fixed DefaultSize to obey ShowToday
12059 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12061 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
12062 * System.Windows.Forms/Theme.cs
12063 * MonthCalendar.cs: added for MonthCalendar
12064 * SelectionRange.cs: added for MonthCalendar
12065 * Day.cs: added for MonthCalendar: added for MonthCalendar
12066 * DateRangeEventArgs.cs: added for MonthCalendar
12067 * DateRangeEventHandler.cs: added for MonthCalendar
12069 2004-11-22 Ravindra <rkumar@novell.com>
12071 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
12074 2004-11-22 Miguel de Icaza <miguel@ximian.com>
12076 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
12079 * NumericUpDown.cs: Added new implementation.
12080 * UpDownBase.cs: Added new implementation.
12082 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
12085 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
12088 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
12091 2004-11-21 Miguel de Icaza <miguel@ximian.com>
12093 * Timer.cs (Dispose): Should call the base dispose when
12096 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12098 * ScrollBar.cs: updates thumb position when max, min or increment
12101 2004-11-21 Ravindra <rkumar@novell.com>
12103 * ListView.cs: Implemented item selection, activation and
12104 column header style. Fixed properties to do a redraw, if
12105 required. Added support for MouseHover, DoubleClick, KeyDown
12106 and KeyUp event handling and some minor fixes.
12107 * ListViewItem.cs: Fixed constructor.
12108 * ThemeWin32Classic.cs: Improved drawing for ListView.
12110 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12112 * ThemeWin32Classic.cs: initial listbox drawing code
12113 * DrawMode.cs: new enumerator
12114 * ListControl.cs: stubbed class
12115 * ListBox.cs: initial implementation
12116 * Theme.cs: new methods definitions
12117 * SelectionMode.cs: new enumerator
12119 2004-11-17 Peter Bartok <pbartok@novell.com>
12121 * XplatUIWin32.cs: Added double-click events to the class style
12122 * Control.cs (WndProc):
12123 - Added handling of click-count to MouseDown/ MouseUp events.
12124 - Added handling of middle and right mouse buttons
12125 - Removed old debug code
12127 2004-11-17 Jackson Harper <jackson@ximian.com>
12129 * XplatUIX11.cs: Use the new Mono.Unix namespace.
12131 2004-11-17 Ravindra <rkumar@novell.com>
12133 * ListView.cs: Added event handling for MouseMove/Up/Down.
12134 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
12135 * ThemeWin32Classic.cs: We need to clear the graphics context and
12136 draw column header in a proper state.
12139 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
12141 * Menu.cs: fixes signature
12143 2004-11-16 Peter Bartok <pbartok@novell.com>
12145 * XplatUIX11.cs (GetMessage): Implemented generation of
12146 double click mouse messages
12148 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
12150 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
12153 2004-11-11 Peter Bartok <pbartok@novell.com>
12155 * HandleData.cs: Added Visible property
12156 * XplatUIX11.cs (IsVisible): Now uses Visible property from
12158 * XplatUIX11.cs: Removed old debug leftovers
12159 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
12160 * Control.cs (WndProc): Removed old debug leftovers,
12161 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
12162 needed WM_SIZE handling
12164 2004-11-11 Jackson Harper <jackson@ximian.com>
12166 * OwnerDrawPropertyBag.cs:
12167 * TreeViewImageIndexConverter.cs: Initial implementation
12169 2004-11-10 Jackson Harper <jackson@ximian.com>
12171 * ThemeWin32Classic.cs:
12172 * TabControl.cs: instead of moving tabs by the slider pos just
12173 start drawing at the tab that is offset by the slider. This way
12174 scrolling always moves by exactly one tab.
12176 2004-11-10 Jackson Harper <jackson@ximian.com>
12178 * TabControl.cs: You can only scroll left when the slider has
12179 already ben moved right.
12181 2004-11-10 Jackson Harper <jackson@ximian.com>
12183 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
12186 2004-11-10 Jackson Harper <jackson@ximian.com>
12188 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
12191 2004-11-09 Jackson Harper <jackson@ximian.com>
12193 * TabControl.cs (CalcXPos): New helper method so we can determine
12194 the proper place to start drawing vertical tabs.
12195 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
12197 2004-11-09 Jackson Harper <jackson@ximian.com>
12199 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
12200 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
12201 and Bottom, left and right are illegal values for this and
12202 multiline is enabled when the alignment is set to left or right.
12203 (DrawTab): Each alignment block should draw the text itself now
12204 because Left requires special love. Also add rendering for Left
12207 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
12209 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
12210 does not destroy the windows, removes debugging messages
12212 2004-11-09 jba <jba-mono@optusnet.com.au>
12214 * ThemeWin32Classic.cs
12215 (DrawButtonBase): Fix verticle text rect clipping in windows
12216 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12217 rendering and incorrect text rect clipping
12218 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12219 rendering and incorrect text rect clipping
12221 2004-11-08 Jackson Harper <jackson@ximian.com>
12223 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
12224 bottom when they are bottom aligned so the bottoms of the tabs get
12226 * TabControl.cs (DropRow): Move rows up instead of down when the
12227 tab control is bottom aligned.
12229 2004-11-08 13:59 pbartok
12232 - Added handling for various window styles
12233 - Added handling for popup windows
12234 - Added SetTopmost handling
12236 2004-11-08 13:55 pbartok
12239 - Added argument to SetTopmost method
12240 - Fixed broken ClientToScreen function
12242 2004-11-08 13:53 pbartok
12244 * XplatUIStructs.cs:
12245 - Added missing WS_EX styles
12247 2004-11-08 13:53 pbartok
12249 * XplatUI.cs, XplatUIDriver.cs:
12250 - Added argument to SetTopmost
12252 2004-11-08 13:52 pbartok
12255 - Added XSetWindowAttributes structure
12256 - Improved XWindowAttributes structure
12257 - Added SetWindowValuemask enum
12258 - Added window creation arguments enum
12259 - Added gravity enum
12260 - Added Motif hints structure
12261 - Added various Motif flags and enums
12262 - Added PropertyMode enum for property functions
12264 2004-11-08 13:50 pbartok
12267 - Fixed arguments for updated SetTopmost method
12269 2004-11-08 13:49 pbartok
12272 - Fixed arguments for updated SetTopmost function
12273 - Fixed usage of PointToClient
12275 2004-11-08 13:44 pbartok
12278 - Added Clipping of children and siblings
12280 2004-11-08 13:41 pbartok
12283 - Removed SetMenuBarWindow call. We do this in Form.cs
12285 2004-11-08 13:40 jackson
12287 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
12288 scrolling jimmi in the correct location with bottom aligned tabs
12290 2004-11-08 13:36 pbartok
12292 * ContainerControl.cs:
12293 - Implemented BindingContext
12294 - Implemented ParentForm
12296 2004-11-08 12:46 jackson
12298 * TabControl.cs: Put bottom rendered tabs in the right location
12300 2004-11-08 07:15 jordi
12302 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
12305 2004-11-05 17:30 jackson
12307 * TabControl.cs: When selected tabs are expanded make sure they
12308 don't go beyond the edges of the tab control
12310 2004-11-05 14:57 jackson
12312 * TabControl.cs: Reset show_slider so if the control is resized to
12313 a size where it is no longer needed it's not displayed anymore
12315 2004-11-05 13:16 jackson
12317 * TabControl.cs: Make tab pages non visible when added to the
12320 2004-11-05 12:42 jackson
12322 * TabControl.cs: Implement SizeMode.FillToRight
12324 2004-11-05 12:16 jackson
12326 * Control.cs: Do not call CreateHandle if the handle is already
12329 2004-11-05 11:46 jackson
12331 * TabControl.cs: Remove superflous call to CalcTabRows
12333 2004-11-05 09:07 jackson
12335 * XplatUIX11.cs: Update for Mono.Posix changes
12337 2004-11-05 07:00 ravindra
12339 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
12342 2004-11-04 22:47 jba
12344 * ThemeWin32Classic.cs:
12345 - Fix Button rendering for FlatStyle = Flat or Popup
12346 - Fix RadioButton and CheckBox rendering when Appearance = Button
12347 (normal and flatstyle).
12348 - Correct outer rectangle color when drawing focus rectangle
12349 - Adjust button bounds to be 1 px smaller when focused
12350 - Make button not draw sunken 3d border when pushed (windows compat)
12351 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
12352 - Offset the text in RadioButton and Checkbox when being rendered as
12354 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
12356 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
12357 - Fixed disabled text rendering for normally rendered radiobuttons
12359 2004-11-04 10:26 jackson
12361 * TabControl.cs: Recalculate tab rows when resizing
12363 2004-11-04 07:47 jordi
12365 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
12366 collection completion, drawing issues, missing features
12368 2004-11-04 05:03 ravindra
12371 - We need to recalculate the Thumb area when
12372 LargeChange/maximum/minimum values are changed.
12373 - We set the 'pos' in UpdatePos() method to minimum, if it's less
12374 than minimum. This is required to handle the case if large_change is
12375 more than max, and use LargeChange property instead of large_change
12377 - We return max+1 when large_change is more than max, like MS does.
12379 2004-11-04 04:29 ravindra
12381 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
12382 - Changed default value signatures (prefixed all with ListView).
12383 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
12385 - Fixed calculations for ListViewItem and implemented Clone()
12388 2004-11-04 04:26 ravindra
12390 * Theme.cs, ThemeWin32Classic.cs:
12391 - Changed default ListView values signatures (prefixed all with
12393 - Fixed default size values for VScrollBar and HScrollBar.
12394 - Fixed DrawListViewItem method.
12396 2004-11-04 04:05 ravindra
12398 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
12400 2004-11-04 04:04 ravindra
12402 * ImageList.cs: Implemented the missing overload for Draw method.
12404 2004-11-03 19:29 jackson
12406 * TabControl.cs: Handle dropping rows on selection properly
12408 2004-11-03 11:59 jackson
12410 * TabControl.cs: remove debug code
12412 2004-11-03 11:52 jackson
12414 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
12415 the scrolly widgerywoo
12417 2004-11-02 13:52 jackson
12419 * TabControl.cs: Resize the tab pages and tabs when the tab control
12422 2004-11-02 13:40 jackson
12424 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
12425 selected tab to the bottom
12427 2004-11-02 13:39 jackson
12429 * TabPage.cs: Store the tab pages row
12431 2004-11-02 12:33 jordi
12433 * MenuItem.cs: fixes handle creation
12435 2004-11-02 11:42 jackson
12437 * TabControl.cs: signature fix
12439 2004-11-02 08:56 jackson
12441 * TabControl.cs: Calculate whether the tab is on an edge properly.
12442 Remove top secret debugging code
12444 2004-11-01 19:57 jackson
12446 * TabControl.cs: Add click handling, and proper sizing
12448 2004-11-01 19:47 jackson
12450 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
12453 2004-11-01 19:39 jackson
12455 * TabPage.cs: add internal property to store the bounds of a tab
12458 2004-10-30 04:23 ravindra
12460 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
12463 2004-10-30 04:21 ravindra
12465 * ListView.cs, ListViewItem.cs: Added support for scrolling and
12466 fixed calculations.
12468 2004-10-30 03:06 pbartok
12471 - Removed extension of DllImported libs
12473 2004-10-29 09:55 jordi
12475 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
12476 navigation, itemcollection completion, menu fixes
12478 2004-10-27 22:58 pbartok
12481 - Now throws a nice error message when no X display could be opened
12483 2004-10-26 13:51 jordi
12485 * ListView.cs: removes warning
12487 2004-10-26 03:55 ravindra
12489 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
12490 ThemeWin32Classic.cs: Some formatting for my last checkins.
12492 2004-10-26 03:36 ravindra
12494 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
12495 control and default values.
12497 2004-10-26 03:35 ravindra
12499 * Theme.cs: Added some default values for ListView control.
12501 2004-10-26 03:33 ravindra
12503 * ToolBar.cs: ToolBar should use the user specified button size, if
12504 there is any. Added a size_specified flag for the same.
12506 2004-10-26 03:33 ravindra
12508 * ColumnHeader.cs: Added some internal members and calculations for
12511 2004-10-26 03:32 ravindra
12513 * ListViewItem.cs: Calculations for ListViewItem.
12515 2004-10-26 03:31 ravindra
12517 * ListView.cs: Added some internal members and calculations for
12520 2004-10-22 13:31 jordi
12522 * MenuAPI.cs: speedup menus drawing
12524 2004-10-22 13:16 jackson
12526 * XplatUIX11.cs: Make sure to update exposed regions when adding an
12529 2004-10-22 11:49 jackson
12533 2004-10-22 11:41 jackson
12535 * Control.cs: Check to see if the window should have its background
12536 repainted by X when drawing.
12538 2004-10-22 11:31 jackson
12540 * XplatUIX11.cs: When invalidating areas only use XClearArea if
12541 clear is true, this way we do not get flicker from X repainting the
12544 2004-10-22 11:28 jackson
12546 * XEventQueue.cs: Queue properly
12548 2004-10-21 09:38 jackson
12550 * XEventQueue.cs: Fix access modifier
12552 2004-10-21 09:36 jackson
12554 * XEventQueue.cs: Don't loose messages
12556 2004-10-21 09:22 jackson
12558 * XEventQueue.cs: Don't loose messages
12560 2004-10-20 04:15 jordi
12562 * BootMode.cs: enum need it by SystemInfo
12564 2004-10-19 21:58 pbartok
12567 - Small sanity check
12569 2004-10-19 21:56 pbartok
12572 - Added private FormParentWindow class which acts as the container
12573 for our form and as the non-client area where menus are drawn
12574 - Added/Moved required tie-ins to Jordi's menus
12575 - Fixed/Implemented the FormStartPosition functionality
12577 2004-10-19 21:52 pbartok
12580 - Removed unneeded locals
12581 - Added code to all size and location properties to understand and
12582 deal with the parent container of Form
12584 2004-10-19 21:33 pbartok
12587 - Fixed to deal with new Form subclasses for menus
12589 2004-10-19 17:48 jackson
12591 * XEventQueue.cs: commit correct version of file
12593 2004-10-19 16:50 jackson
12595 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
12597 2004-10-19 16:15 jordi
12599 * MenuAPI.cs: MenuBarCalcSize returns the height
12601 2004-10-19 08:31 pbartok
12604 - Added missing call to PreProcessMessage before calling OnXXXKey
12607 2004-10-19 00:04 ravindra
12609 * ToolTip.cs: Fixed constructor.
12611 2004-10-18 09:31 jordi
12613 * MenuAPI.cs: menuitems in menubars do not have shortcuts
12615 2004-10-18 09:26 jordi
12617 * MenuItem.cs: fixes MenuItem class signature
12619 2004-10-18 08:56 jordi
12621 * MenuAPI.cs: prevents windows from showing in the taskbar
12623 2004-10-18 00:28 ravindra
12625 * ToolTip.cs: Suppressed a warning message.
12627 2004-10-18 00:27 ravindra
12629 * Control.cs: Default value of visible property must be true.
12631 2004-10-17 23:19 pbartok
12634 - Complete implementation
12636 2004-10-17 23:19 pbartok
12639 - Added EnableWindow method
12640 - Added SetModal stub
12641 - Added generation of WM_ACTIVATE message (still needs testing)
12642 - Added SetTopMost stub
12643 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
12645 2004-10-17 23:17 pbartok
12648 - Removed VirtualKeys to XplatUIStructs
12649 - Implemented SetTopMost method
12650 - Implemented EnableWindow method
12651 - Bugfix in ScreenToClient()
12652 - Bugfixes in ClientToScreen()
12654 2004-10-17 22:51 pbartok
12656 * XplatUIStructs.cs:
12657 - Added WS_EX styles to WindowStyles enumeration
12659 2004-10-17 22:50 pbartok
12661 * XplatUI.cs, XplatUIDriver.cs:
12662 - Added method for enabling/disabling windows
12663 - Added method for setting window modality
12664 - Added method for setting topmost window
12666 2004-10-17 22:49 pbartok
12668 * ThemeWin32Classic.cs:
12669 - Added ToolTip drawing code
12671 2004-10-17 22:49 pbartok
12674 - Added ToolTip abstracts
12676 2004-10-17 22:47 pbartok
12679 - Fixed Form.ControlCollection to handle owner relations
12680 - Added Owner/OwnedForms handling
12681 - Implemented Z-Ordering for owned forms
12682 - Removed unneeded private overload of ShowDialog
12683 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
12685 - Fixed Close(), had wrong default
12686 - Added firing of OnLoad event
12687 - Added some commented out debug code for Ownership handling
12689 2004-10-17 22:16 pbartok
12692 - Fixed/implemented flat list of controls
12694 2004-10-17 22:14 pbartok
12697 - Added code to simulate modal dialogs on Win32
12699 2004-10-17 16:11 jordi
12701 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
12704 2004-10-17 13:39 jordi
12706 * MenuAPI.cs: menu drawing fixes
12708 2004-10-15 09:10 ravindra
12710 * StructFormat.cs: General Enum.
12712 2004-10-15 09:09 ravindra
12714 * SizeGripStyle.cs: Enum for Form.
12716 2004-10-15 09:08 ravindra
12718 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
12719 in Theme for ListView.
12721 2004-10-15 09:06 ravindra
12723 * ColumnHeader.cs: Flushing some formatting changes.
12725 2004-10-15 09:05 ravindra
12727 * ListViewItem.cs: Implemented GetBounds method and fixed coding
12730 2004-10-15 09:03 ravindra
12732 * ListView.cs: Implemented Paint method and fixed coding style.
12734 2004-10-15 07:34 jordi
12736 * MenuAPI.cs: fix for X11
12738 2004-10-15 07:32 ravindra
12740 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
12741 - Renamed Paint() method to Draw() for clarity. Also, moved
12742 DrawImage() to OnPaint().
12744 2004-10-15 07:25 ravindra
12746 * CheckBox.cs, RadioButton.cs:
12747 - Removed Redraw (), we get it from ButtonBase.
12748 - Implemented Paint (), to do class specific painting.
12750 2004-10-15 07:16 ravindra
12753 - Redraw () is not virtual now.
12754 - Added an internal virtual method Paint (), so that
12755 derived classes can do their painting on their own.
12756 - Modified OnPaint () to call Paint ().
12758 2004-10-15 06:43 jordi
12760 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
12761 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
12763 2004-10-15 00:30 ravindra
12766 - MessageBox on windows does not have min/max buttons.
12767 This change in CreateParams fixes this on Windows. We
12768 still need to implement this windowstyle behavior in
12771 2004-10-14 05:14 ravindra
12774 - Changed Redraw () to do a Refresh () always.
12775 - Fixed the MouseMove event handling when mouse is pressed,
12776 ie drag event handling.
12777 - Replaced the usage of ToolBarButton.Pressed property to
12778 ToolBarButton.pressed internal variable.
12780 2004-10-14 05:10 ravindra
12782 * ToolBarButton.cs:
12783 - Added an internal member 'inside' to handle mouse move
12784 with mouse pressed ie mouse drag event.
12785 - Changed 'Pressed' property to return true only when
12786 'inside' and 'pressed' are both true.
12787 - Some coding style love.
12789 2004-10-14 00:17 ravindra
12791 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
12794 2004-10-14 00:15 ravindra
12796 * ButtonBase.cs: Redraw () related improvements.
12798 2004-10-14 00:14 ravindra
12800 * MessageBox.cs: Moved InitFormSize () out of Paint method and
12801 removed unnecessary calls to Button.Show () method.
12803 2004-10-13 17:50 pbartok
12807 - Removed destroying of window until we solve the problem of X
12808 destroying the window before us on shutdown
12810 2004-10-13 16:32 pbartok
12813 - Now Redraws on MouseUp for FlatStyle Flat and Popup
12815 2004-10-13 14:18 pbartok
12818 - Added code to destroy the X window
12820 2004-10-13 14:18 pbartok
12823 - Added code to destroy a window
12825 2004-10-13 14:12 pbartok
12828 - Added the Redraw on Resize that got dropped in the last rev
12830 2004-10-13 09:06 pbartok
12832 * ThemeWin32Classic.cs:
12833 - Path from John BouAntoun:
12834 * Fix check rendering (centre correctly for normal style, offset
12835 correctly for FlatStyle).
12836 * Fix border color usage (use backcolor) for FlatStyle.Popup
12837 * Use checkbox.Capture instead of checkbox.is_pressed when
12838 rendering flatstyle states.
12840 2004-10-12 21:48 pbartok
12842 * ThemeWin32Classic.cs:
12843 - Removed all occurences of SystemColors and replaced them with the
12844 matching theme color
12846 2004-10-12 21:41 pbartok
12848 * ThemeWin32Classic.cs:
12849 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12850 him using the function for flatstyle drawing
12851 - Changed functions to use the new version of CPDrawBorder3D
12853 2004-10-12 21:15 pbartok
12856 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12857 match MS documentation. They need to return defined colors if the
12858 passed color matches the configured control color. Thanks to John
12859 BouAntoun for pointing this out.
12861 2004-10-12 20:57 pbartok
12864 - Fix from John BouAntoun: Raise ForeColorChanged event when text
12867 2004-10-12 20:46 pbartok
12870 - Fix from John BouAntoun: Now properly sets the Appearance property
12872 2004-10-12 20:45 pbartok
12874 * ThemeWin32Classic.cs:
12875 - Fixes from John BouAntoun: now handles forecolors and backcolors
12876 for flatstyle rendered controls much better; It also fixes normal
12877 checkbox rendering when pushed or disabled.
12879 2004-10-08 02:50 jordi
12881 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
12884 2004-10-07 08:56 jordi
12886 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12888 2004-10-06 03:59 jordi
12890 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12891 XplatUIWin32.cs: removes warnings from compilation
12893 2004-10-05 12:23 jackson
12895 * RadioButton.cs: Fix ctor
12897 2004-10-05 11:10 pbartok
12900 - Partial implementation by Benjamin Dasnois
12902 2004-10-05 10:15 jackson
12904 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12907 2004-10-05 03:07 ravindra
12910 - Removed a private method, Draw ().
12911 - Fixed the ButtonDropDown event handling.
12912 - Fixed MouseMove event handling.
12914 2004-10-05 03:04 ravindra
12916 * ThemeWin32Classic.cs:
12917 - Added DrawListView method and ListViewDefaultSize property.
12918 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12919 - Changed DOS style CRLF to Unix format (dos2unix).
12921 2004-10-05 03:03 ravindra
12924 - Added DrawListView method and ListViewDefaultSize property.
12926 2004-10-05 02:42 ravindra
12928 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12929 clicks on DropDown arrow.
12931 2004-10-04 22:56 jackson
12933 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12934 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12935 Control handle the buffers, derived classes should not have to
12936 CreateBuffers themselves.
12938 2004-10-04 21:20 jackson
12940 * StatusBar.cs: The control handles resizing the buffers now.
12942 2004-10-04 21:18 jackson
12944 * Control.cs: When resizing the buffers should be invalidated. This
12945 should be handled in Control not in derived classes.
12947 2004-10-04 14:45 jackson
12951 2004-10-04 02:14 pbartok
12953 * LeftRightAlignment.cs:
12956 2004-10-04 01:09 jordi
12958 * ThemeWin32Classic.cs: fixes right button position causing right
12959 button not showing on horizontal scrollbars
12961 2004-10-02 13:12 pbartok
12964 - Simplified the Invalidate method by using an X call instead of
12965 generating the expose ourselves
12966 - Added an expose when the window background is changed
12967 - Implemented ClientToScreen method
12969 2004-10-02 13:08 pbartok
12972 - Added Win32EnableWindow method (test for implementing modal
12974 - Added ClientToScreen method and imports
12976 2004-10-02 13:07 pbartok
12978 * XplatUI.cs, XplatUIDriver.cs:
12979 - Added ClientToScreen coordinate translation method
12981 2004-10-02 13:06 pbartok
12983 * KeyPressEventArgs.cs:
12984 - Fixed access level for constructor
12986 2004-10-02 13:06 pbartok
12989 - Changed access level for the window_collection hash table
12991 2004-10-02 13:05 pbartok
12994 - Added KeyPreview property
12995 - Added Menu property (still incomplete, pending Jordi's menu work)
12996 - Implemented ProcessCmdKey
12997 - Implemented ProcessDialogKey
12998 - Implemented ProcessKeyPreview
13000 2004-10-02 13:02 pbartok
13003 - Added private method to get the Control object from the window
13005 - Implemented ContextMenu property
13006 - Implemented PointToScreen
13007 - Implemented PreProcessMessage
13008 - Implemented IsInputChar
13009 - Implemented IsInputKey
13010 - Implemented ProcessCmdKey
13011 - Completed ProcessKeyEventArgs
13012 - Fixed message loop to call the proper chain of functions on key
13014 - Implemented ProcessDialogChar
13015 - Implemented ProcessDialogKey
13016 - Implemented ProcessKeyMessage
13017 - Implemented ProcessKeyPreview
13018 - Added RaiseDragEvent stub (MS internal method)
13019 - Added RaiseKeyEvent stub (MS internal method)
13020 - Added RaiseMouseEvent stub (MS Internal method)
13021 - Added RaisePaintEvent stub (MS Internal method)
13022 - Added ResetMouseEventArgs stub (MS Internal method)
13023 - Implemented RtlTranslateAlignment
13024 - Implemented RtlTranslateContent
13025 - Implemented RtlTranslateHorizontal
13026 - Implemented RtlTranslateLeftRight
13027 - Added generation of KeyPress event
13029 2004-10-02 05:57 ravindra
13031 * ListViewItem.cs: Added attributes.
13033 2004-10-02 05:32 ravindra
13035 * ListView.cs: Added attributes.
13037 2004-10-01 11:53 jackson
13039 * Form.cs: Implement the Close method so work on MessageBox can
13042 2004-09-30 14:06 pbartok
13047 2004-09-30 11:34 jackson
13049 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
13051 2004-09-30 07:26 ravindra
13053 * ListViewItemConverter.cs: Converter for ListViewItem.
13055 2004-09-30 07:26 ravindra
13057 * SortOrder.cs: Enum for ListView control.
13059 2004-09-30 07:25 ravindra
13061 * ColumnHeader.cs: Supporting class for ListView control.
13063 2004-09-30 07:24 ravindra
13065 * ListView.cs, ListViewItem.cs: Initial implementation.
13067 2004-09-30 07:20 ravindra
13069 * ItemActivation.cs: Enum for ListView Control.
13071 2004-09-29 20:29 pbartok
13074 - Added lookup of pixel value for background color; tries to get a
13075 color 'close' to the requested color, it avoids having to create a
13076 colormap. Depending on the display this could mean the used color
13077 is slightly off the desired color. Might have to change it to a more
13078 resource intensive colormap approach, but it will work as a
13079 workaround to avoid red screens.
13081 2004-09-29 14:27 jackson
13083 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
13085 2004-09-28 12:44 pbartok
13087 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
13088 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
13089 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
13090 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
13091 TrackBar.cs, VScrollBar.cs:
13092 - Streamlined Theme interfaces:
13093 * Each DrawXXX method for a control now is passed the object for
13094 the control to be drawn in order to allow accessing any state the
13095 theme might require
13097 * ControlPaint methods for the theme now have a CP prefix to avoid
13098 name clashes with the Draw methods for controls
13100 * Every control now retrieves it's DefaultSize from the current
13103 2004-09-28 12:17 jackson
13105 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
13108 2004-09-24 14:57 jackson
13110 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
13111 Gives us a nice little performance boost.
13113 2004-09-24 12:02 jackson
13115 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
13116 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
13117 Control and supporting classes. Initial checkin
13119 2004-09-23 13:08 jackson
13121 * Form.cs: Temp build fixage
13123 2004-09-23 01:39 ravindra
13125 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
13126 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
13127 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
13128 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
13129 EventHandlers needed by ListView Control.
13131 2004-09-22 14:12 pbartok
13133 * ScrollableControl.cs:
13134 - Implemented DockPadding property
13135 - Implemented AutoScroll property
13136 - Implemented AutoScrollMargin property
13137 - Implemented AutoScrollMinSize property
13138 - Implemented AutoScrollPosition property
13139 - Implemented DisplayRectangle property (still incomplete)
13140 - Implemented CreateParams property
13141 - Implemented HScroll property
13142 - Implemented VScroll property
13143 - Implemented OnVisibleChanged property
13145 2004-09-22 14:09 pbartok
13148 - Added Form.ControllCollection class
13149 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
13150 RemoveOwnedForm (still incomplete, missing on-top and common
13151 minimize/maximize behaviour)
13152 - Added StartPosition property (still incomplete, does not use when
13154 - Added ShowDialog() methods (still incomplete, missing forcing the
13157 2004-09-22 14:05 pbartok
13160 - Added message loop for modal dialogs
13162 2004-09-22 14:02 pbartok
13165 - Fixed wrong types for events
13167 2004-09-22 14:00 pbartok
13169 * Shortcut.cs, FormWindowState.cs:
13170 - Fixed wrong values
13172 2004-09-22 12:01 jackson
13174 * Control.cs: Text is never null
13176 2004-09-20 22:14 pbartok
13179 - Fixed accessibility level for Idle handler
13181 2004-09-20 18:54 jackson
13183 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13184 XplatUIX11.cs: New message loop that uses poll so we don't get a
13187 2004-09-17 10:43 pbartok
13190 - Fixed behaviour of arrow buttons. Now properly behaves like
13191 Buttons (and like Microsoft's scrollbar arrow buttons)
13193 2004-09-17 10:14 pbartok
13196 - Added missing release of keyboard/mouse capture
13198 2004-09-17 06:18 jordi
13200 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
13201 Theme.cs: Very early menu support
13203 2004-09-16 17:45 pbartok
13206 - Fixed sending a window to the front
13207 - Added overload for SetWindowPos to avoid casting
13209 2004-09-16 17:44 pbartok
13212 - Added SendToBack and BringToFront methods
13214 2004-09-16 07:00 ravindra
13216 * Copyright: Added Novell URL.
13218 2004-09-16 07:00 ravindra
13220 * ToolBar.cs: Invalidate should be done before redrawing.
13222 2004-09-15 21:19 ravindra
13224 * ColumnHeaderStyle.cs: Enum for ListView Control.
13226 2004-09-15 21:18 ravindra
13228 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
13231 2004-09-13 18:26 jackson
13233 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
13236 2004-09-13 18:13 jackson
13238 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
13239 a second thread and post messages into the main threads message
13240 queue. This makes timing much more consistent. Both win2K and XP
13241 have a minimum timer value of 15 milliseconds, so we now do this
13244 2004-09-13 15:18 pbartok
13246 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13248 - Added Z-Ordering methods
13250 2004-09-13 10:56 pbartok
13253 - Fixed #region names
13254 - Moved properties and methods into their proper #regions
13256 2004-09-13 10:51 pbartok
13259 - Added Accept and CancelButton properties
13260 - Added ProcessDialogKey() method
13262 2004-09-13 08:18 pbartok
13264 * IWindowTarget.cs:
13267 2004-09-10 21:50 pbartok
13270 - Added DoDragDrop() [incomplete]
13271 - Properly implemented 'Visible' handling
13272 - Added SetVisibleCore()
13273 - Implemented FindChildAtPoint()
13274 - Implemented GetContainerControl()
13275 - Implemented Hide()
13277 2004-09-10 19:28 pbartok
13280 - Moved methods into their appropriate #regions
13281 - Reordered methods within regions alphabetically
13283 2004-09-10 18:57 pbartok
13285 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13286 - Added method to retrieve text from window
13288 2004-09-10 18:56 pbartok
13291 - Moved some internal functions into the internal region
13292 - Implemented FontHeight
13293 - Implemented RenderRightToLeft
13294 - Implemented ResizeRedraw
13295 - Implemented ShowFocusCues
13296 - Implemented ShowKeyboardCues
13297 - Implemented FromChildHandle
13298 - Implemented FromHandle
13299 - Implemented IsMnemonic
13300 - Implemented ReflectMessage
13301 - All public and protected Static Methods are now complete
13303 2004-09-10 16:54 pbartok
13306 - Implemented remaining missing public instance properties
13307 - Alphabetized some out of order properties
13309 2004-09-10 05:51 ravindra
13311 * PictureBox.cs: Added a check for null image.
13313 2004-09-10 00:59 jordi
13315 * GroupBox.cs: remove cvs tag
13317 2004-09-09 05:25 ravindra
13319 * ToolBar.cs: Make redraw accessible from ToolBarButton.
13321 2004-09-09 05:23 ravindra
13323 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
13326 2004-09-09 02:28 pbartok
13328 * ThemeWin32Classic.cs:
13329 - Improve disabled string look
13331 2004-09-09 01:15 jordi
13333 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
13336 2004-09-08 23:56 ravindra
13338 * ItemBoundsPortion.cs: It's enum, not a class!
13340 2004-09-08 23:47 ravindra
13342 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
13345 2004-09-08 21:13 ravindra
13347 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
13350 2004-09-08 21:03 ravindra
13352 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
13355 2004-09-08 21:01 ravindra
13357 * ScrollableControl.cs: Removed unreachable code.
13359 2004-09-08 06:45 jordi
13361 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
13363 2004-09-08 01:00 jackson
13365 * XplatUIX11.cs: Only run the timers when updating the message
13366 queue. This effectively gives X messages a higher priority then
13367 timer messages. Timers still need love though
13369 2004-09-07 14:01 jackson
13371 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
13372 this for us and the handle is no longer valid.
13374 2004-09-07 13:59 jackson
13376 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
13377 loop that manages to not crash. TODO: Add poll and cleanup timers
13379 2004-09-07 11:12 jordi
13381 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
13383 2004-09-07 03:40 jordi
13385 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
13386 fixes, methods, multiple links
13388 2004-09-06 06:55 jordi
13390 * Control.cs: Caches ClientRectangle rectangle value
13392 2004-09-05 02:03 jordi
13394 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
13397 2004-09-04 11:10 jordi
13399 * Label.cs: Refresh when font changed
13401 2004-09-02 16:24 pbartok
13404 - Added sanity check to creation of double buffer bitmap
13406 2004-09-02 16:24 pbartok
13409 - Fixed selection of text color
13410 - Fixed handling of resize event; now properly recreates double
13412 - Added missing assignment of TextAlignment
13413 - Added proper default for TextAlignment
13415 2004-09-02 14:26 pbartok
13418 - Added missing RadioButton.RadioButtonAccessibleObject class
13420 2004-09-02 14:26 pbartok
13423 - Added missing Control.ControlAccessibleObject class
13424 - Started to implement Select()ion mechanisms, still very incomplete
13426 2004-09-02 14:25 pbartok
13428 * AccessibleObject.cs:
13429 - Added missing methods
13431 2004-09-02 14:23 pbartok
13433 * AccessibleNavigation.cs, AccessibleSelection.cs:
13436 2004-09-02 10:32 jordi
13438 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
13439 pool for pens, brushes, and hatchbruses
13441 2004-09-01 15:30 jackson
13443 * StatusBar.cs: Fix typo
13445 2004-09-01 14:44 pbartok
13450 2004-09-01 14:39 pbartok
13452 * Button.cs, RadioButton.cs:
13453 - Functional initial check-in
13455 2004-09-01 14:01 pbartok
13458 - Added missing default
13459 - Added missing region mark
13461 2004-09-01 09:10 jordi
13463 * Label.cs: fixes method signatures, new methods, events, fixes
13466 2004-09-01 07:19 jordi
13468 * Control.cs: Init string variables with an empty object
13470 2004-09-01 04:20 jordi
13472 * Control.cs: fires OnFontChanged event
13474 2004-08-31 20:07 pbartok
13477 - Enabled display of strings
13479 2004-08-31 20:05 pbartok
13482 - Added (partial) implementation of DialogResult; rest needs to be
13483 implemented when the modal loop code is done
13485 2004-08-31 19:55 pbartok
13488 - Fixed to match the removal of the needs_redraw concept
13490 2004-08-31 19:55 pbartok
13493 - Removed the rather odd split between 'needs redraw' and redrawing
13494 - Now handles the events that require regeneration (ambient
13495 properties and size)
13497 2004-08-31 19:41 pbartok
13500 - Added firing of BackColorChanged event
13501 - Added TopLevelControl property
13502 - Fixed handling of WM_ERASEBKGRND message
13504 2004-08-31 12:49 pbartok
13510 2004-08-31 12:48 pbartok
13513 - Finished (famous last words)
13515 2004-08-31 04:35 jordi
13517 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
13518 scrolling bugs, adds new methods
13520 2004-08-30 14:42 pbartok
13523 - Implemented CheckBox drawing code
13525 2004-08-30 14:42 pbartok
13528 - Made Redraw() and CheckRedraw() virtual
13529 - Improved mouse up/down/move logic to properly track buttons
13531 2004-08-30 09:44 pbartok
13534 - Updated to fix broken build. Not complete yet.
13536 2004-08-30 09:28 pbartok
13541 2004-08-30 09:17 pbartok
13546 2004-08-27 16:12 ravindra
13548 * ToolBarButton.cs: Added TypeConverter attribute.
13550 2004-08-27 16:07 ravindra
13552 * ImageIndexConverter.cs: Implemented.
13554 2004-08-27 14:17 pbartok
13557 - Removed unneeded stack vars
13558 - First attempt to fix sizing issues when layout is suspended
13560 2004-08-25 15:35 jordi
13562 * ScrollBar.cs: more fixes to scrollbar
13564 2004-08-25 14:04 ravindra
13566 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
13567 Added the missing divider code and grip for ToolBar Control.
13569 2004-08-25 13:20 pbartok
13572 - Control now properly passes the ambient background color to child
13575 2004-08-25 13:20 jordi
13577 * ScrollBar.cs: small bug fix regarding bar position
13579 2004-08-25 12:33 pbartok
13582 - Now only calls SetTimer or KillTimer if the enabled state has
13585 2004-08-25 12:33 pbartok
13588 - Fixed timer handling, now seems to work
13589 - Improved error message for window creation
13591 2004-08-25 12:32 pbartok
13594 - Fixed generation of MouseUp message
13596 2004-08-25 12:29 jordi
13598 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
13599 and fixes for progressbar
13601 2004-08-24 18:43 ravindra
13603 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
13604 in ToolBar control.
13606 2004-08-24 17:15 pbartok
13610 - Added missing events
13613 2004-08-24 17:14 pbartok
13615 * StatusBar.cs, PictureBox.cs:
13616 - Now uses Control's CreateParams
13618 2004-08-24 16:36 pbartok
13621 - Fixed background color handling
13622 - Fixed sending of enter/leave events on a grab
13624 2004-08-24 16:35 pbartok
13627 - Refined definitions for CrossingEvent
13629 2004-08-24 12:37 jordi
13631 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
13632 formmating, methods signature, and adds missing events
13634 2004-08-24 12:24 jordi
13636 * Control.cs: fire OnEnabledChanged event
13638 2004-08-24 11:17 pbartok
13641 - Implemented SetTimer() and KillTimer()
13643 2004-08-24 11:16 pbartok
13646 - Now uses Remove instead of Add to kill the timer
13648 2004-08-24 10:16 jackson
13650 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
13651 picture boxes in the theme now. Draw picture box borders and obey
13654 2004-08-24 05:49 jackson
13656 * Timer.cs: Remove top secret debugging code
13658 2004-08-24 05:34 jackson
13660 * PictureBox.cs: Temp hack to make picture boxes draw their full
13663 2004-08-24 05:29 jackson
13665 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13666 XplatUIX11.cs: Move timers to the driver level. On X they are
13667 queued by the driver and checked on idle.
13669 2004-08-24 01:07 jackson
13671 * XplatUIX11.cs: Use a queue for async messages instead of passing
13672 them as ClientMessages since that was totally broken. Also simply
13673 check for events and return an idle message if none are found. This
13674 gives us an idle handler, and prevents deadlocking when no messages
13677 2004-08-23 18:19 ravindra
13679 * XplatUIWin32.cs: Removed the unwanted destructor.
13681 2004-08-23 17:27 pbartok
13684 - Finishing touches. Works now, just needs some optimizations.
13686 2004-08-23 16:53 jordi
13688 * ScrollBar.cs: small fix
13690 2004-08-23 16:45 pbartok
13693 - Removed debug output
13696 2004-08-23 16:43 jordi
13698 * ScrollBar.cs: [no log message]
13700 2004-08-23 16:10 pbartok
13703 - Fixed handling of WM_CLOSE message
13704 - Removed debug output
13706 2004-08-23 16:09 pbartok
13709 - Added handling of Idle event
13710 - Added handling of form closing
13711 - Fixed reporting of MessageLoop property
13712 - Removed some unneeded code, should provide a bit of a speedup
13714 2004-08-23 15:22 pbartok
13717 - Added InitLayout() method
13718 - Added code to properly perform layout when Anchor or Dock property
13720 - Changed 'interpretation' of ResumeLayout. MS seems to have a
13721 LAMESPEC, tried to do it in a way that makes sense
13723 2004-08-23 14:10 jordi
13725 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
13726 properties and methods
13728 2004-08-23 13:55 pbartok
13731 - Properly fixed Jordi's last fix
13732 - Now uses Cursor's Position property instead of calling XplatUI
13735 2004-08-23 13:44 jordi
13737 * PaintEventHandler.cs: Adding missing attribute
13739 2004-08-23 13:39 pbartok
13742 - Implemented Position property
13744 2004-08-23 13:39 pbartok
13746 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13747 - Added method to move mouse cursor
13749 2004-08-23 13:39 pbartok
13752 - Fixed setting of background color
13753 - Added method to move mouse cursor
13755 2004-08-23 13:16 jordi
13757 * Control.cs: avoids null exception
13759 2004-08-22 17:46 jackson
13761 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
13764 2004-08-22 17:40 jackson
13766 * XplatUIX11.cs: Add some missing locks
13768 2004-08-22 15:10 pbartok
13770 * Control.cs, Form.cs:
13771 - Removed OverlappedWindow style from Control, instead it's default
13773 - Made form windows OverlappedWindow by default
13775 2004-08-22 13:34 jackson
13777 * ScrollBar.cs: Update the position through the Value property so
13778 the OnValueChanged event is raised.
13780 2004-08-22 12:04 pbartok
13783 - Added Cursor.cs and UserControl.cs
13785 2004-08-22 12:03 pbartok
13788 - Started implementation, not usable yet
13790 2004-08-22 12:00 pbartok
13793 - Implemented UserControl (complete)
13795 2004-08-21 19:20 ravindra
13797 * ToolBar.cs: Correcting the formatting mess of VS.NET.
13799 2004-08-21 18:49 ravindra
13801 * ToolBar.cs: Probably this completes the missing attributes in
13804 2004-08-21 18:03 ravindra
13806 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
13807 Fixed toolbar control signatures.
13809 2004-08-21 16:32 pbartok
13814 2004-08-21 16:30 pbartok
13819 2004-08-21 16:19 pbartok
13821 * Control.cs, Label.cs:
13824 2004-08-21 15:57 pbartok
13827 - Added loads of debug output for development
13828 - Fixed typo in method name
13830 2004-08-21 15:52 pbartok
13832 * ToolBarButtonClickEventArgs.cs:
13833 - Added missing base class
13835 2004-08-21 14:53 pbartok
13838 - Updated to match new GrabWindow signature
13840 2004-08-21 14:51 pbartok
13842 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13843 - Added method to get default display size
13845 2004-08-21 14:23 pbartok
13847 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13848 - Added method to query current grab state
13849 - Added argument to allow confining a grab to a window
13851 2004-08-21 14:22 pbartok
13854 - Added [Flags] attribute so that modifiers can be used in bitwise
13857 2004-08-21 14:21 pbartok
13859 * TrackBar.cs, ScrollBar.cs:
13860 - Replaced direct XplatUI calls with their Control counterpart
13862 2004-08-21 13:32 pbartok
13865 - Implemented Created property
13867 2004-08-21 13:28 pbartok
13870 - Implemented ContainsFocus
13872 2004-08-21 13:26 pbartok
13875 - Implemented CausesValidation
13877 2004-08-21 13:21 pbartok
13880 - Implemented CanFocus
13881 - Implemented CanSelect
13882 - Implemented Capture
13884 2004-08-21 12:35 pbartok
13887 - Fixed bug with Async message handling
13888 - Implemented getting the ModifierKeys
13890 2004-08-21 12:32 jackson
13892 * AsyncMethodResult.cs: Make sure we have the mutex before we
13893 release it. Fixes BeginInvoke on windows
13895 2004-08-21 11:31 pbartok
13897 * XplatUIWin32.cs, XplatUIX11.cs:
13898 - Drivers now return proper mouse state
13900 2004-08-21 10:54 jackson
13902 * Control.cs: Implement EndInvoke
13904 2004-08-21 10:48 jackson
13906 * Timer.cs: Remove unneeded finalizer
13908 2004-08-20 19:52 ravindra
13910 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13911 in mouse event handling in the ToolBar control.
13913 2004-08-20 19:50 ravindra
13915 * ImageList.cs: Changed draw method to use the arguments passed in
13918 2004-08-20 18:58 pbartok
13920 * XplatUIStructs.cs:
13921 - Added private message for async communication
13923 2004-08-20 17:38 ravindra
13925 * Control.cs: Made RightToLeft property virtual and removed a
13928 2004-08-20 14:39 jordi
13930 * ThemeGtk.cs: use style_attach
13932 2004-08-20 14:39 pbartok
13935 - Added jackson's Async code from X11 to Win32
13937 2004-08-20 14:09 pbartok
13940 - Added all new files
13942 2004-08-20 14:09 pbartok
13945 - Added call to set window background color
13947 2004-08-20 14:03 pbartok
13949 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13950 - Added method for setting the window background
13952 2004-08-20 14:02 pbartok
13955 - Added method for setting the background color
13956 - Added handling for erasing the window background
13958 2004-08-20 13:45 jordi
13960 * TrackBar.cs: fixes timer, new properties and methods
13962 2004-08-20 13:34 jackson
13964 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13967 2004-08-20 13:22 jackson
13969 * Timer.cs: Timer Tick events are now handed through Controls Async
13970 mechanism so the callbacks are executed in the same thread as X
13972 2004-08-20 13:19 jackson
13974 * XplatUIDriver.cs: Expose functionality to send async messages
13977 2004-08-20 13:18 jackson
13979 * Control.cs: Implement Begininvoke
13981 2004-08-20 13:14 jackson
13983 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13984 messages through the driver
13986 2004-08-20 13:12 jackson
13988 * XplatUIX11.cs: Lock before all X operations. Also added Async
13989 method functionality through XSendEvent
13991 2004-08-20 13:11 jackson
13993 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13994 This will screw up on 64 bit systems)
13996 2004-08-20 13:10 jackson
13998 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13999 Async messages through X/Win32
14001 2004-08-19 19:39 pbartok
14004 - Updated code to match new HandleData.DeviceContext type
14006 2004-08-19 19:38 pbartok
14009 - Made DeviceContext a generic object to allow usage from various
14011 - Added support for queueing Windows messages
14013 2004-08-19 19:37 pbartok
14016 - Added generation of MouseEnter, MouseLeave and MouseHover events
14017 - Added cleanup on EndPaint
14019 2004-08-19 19:17 pbartok
14022 - Added handling of WM_MOUSEHOVER
14023 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
14026 2004-08-19 18:55 jordi
14028 * ThemeGtk.cs: fixes button order
14030 2004-08-19 18:12 jordi
14032 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
14034 2004-08-19 17:09 pbartok
14037 - Added Right property
14038 - Added RightToLeft property
14040 2004-08-19 16:27 jordi
14042 * ThemeGtk.cs: experimental GTK theme support
14044 2004-08-19 16:26 jordi
14046 * ITheme.cs, Theme.cs: move themes from an interface to a class
14048 2004-08-19 16:25 jordi
14050 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
14053 2004-08-19 16:04 pbartok
14056 - Added colormap basics
14057 - Added a way to re-initialize with a different display handle
14058 - Fixed setting of the window background color
14059 - Added various X11 imports related to colors and colormaps
14061 2004-08-19 15:51 pbartok
14064 - Removed packing hints (Paolo suggested this a while back)
14065 - fixed colormap type
14066 - Added default Atom types
14067 - Added Screen and color structs and enums
14069 2004-08-19 15:39 pbartok
14072 - Added missing Draw() method
14073 - Added missing RecreateHandle event
14075 2004-08-19 15:30 pbartok
14078 - Added handling of WM_CLOSE
14080 2004-08-18 13:16 jordi
14082 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
14085 2004-08-18 09:56 jordi
14087 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
14089 2004-08-17 15:31 ravindra
14091 * SWF.csproj: Updated project.
14093 2004-08-17 15:25 pbartok
14096 - Drawing improvement; don't call UpdateBounds if we are not visible
14097 (or have been minimized)
14099 2004-08-17 15:24 pbartok
14102 - Finished IsVisible
14103 - Added Win32GetWindowPlacement
14105 2004-08-17 15:08 jackson
14107 * Panel.cs: Initial checkin of the Panel
14109 2004-08-17 14:25 pbartok
14112 - Fixed broken handling of default window sizes
14114 2004-08-17 13:29 jackson
14116 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
14117 has a large startup time.
14119 2004-08-17 10:25 jackson
14121 * HandleData.cs: union areas properly
14123 2004-08-17 10:12 jackson
14125 * HandleData.cs: union areas properly
14127 2004-08-16 20:00 ravindra
14129 * ToolBar.cs, ToolBarButton.cs: Added attributes.
14131 2004-08-16 18:48 ravindra
14133 * ToolBar.cs: Added attributes.
14135 2004-08-16 17:17 ravindra
14137 * SWF.csproj: Updated project.
14139 2004-08-16 17:16 jackson
14141 * XplatUIX11.cs: Check for more expose events before sending a
14142 WM_PAINT so they can all be grouped together. This makes dragging a
14143 window across another window redraw in a sane way.
14145 2004-08-16 15:47 pbartok
14148 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
14149 support OnMouseEnter/Leave()
14150 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
14153 2004-08-16 15:46 pbartok
14155 * XplatUIStructs.cs, XplatUIX11.cs:
14156 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
14157 OnMouseEnter/Leave()
14159 2004-08-16 15:34 jackson
14161 * XplatUIX11.cs: Group multiple expose events in HandleData, make
14162 sure messages get the message field set to WM_NULL if they are not
14165 2004-08-16 15:24 jackson
14167 * HandleData.cs: HandleData is used for storing message information
14170 2004-08-15 17:23 ravindra
14172 * ColorDepth.cs: Added attribute.
14174 2004-08-15 17:23 ravindra
14176 * SWF.csproj: Updated project for ToolBar Control.
14178 2004-08-15 17:20 ravindra
14180 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
14181 control and also dos2unix format.
14183 2004-08-15 17:13 ravindra
14185 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
14186 ToolBarButtonClickEventArgs.cs,
14187 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
14188 ToolBarTextAlign.cs: First Implementation of ToolBar control.
14190 2004-08-15 15:31 pbartok
14193 - First (mostly) working version
14195 2004-08-13 16:15 pbartok
14198 - Fixed Anchor default
14200 2004-08-13 15:43 pbartok
14203 - Changed GetCursorPos signature
14205 2004-08-13 15:42 pbartok
14207 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
14208 - Changed signature for GetCursorPos
14210 2004-08-13 15:25 pbartok
14214 - Fixed resizing/exposure handling
14216 2004-08-13 15:22 jordi
14218 * ThemeWin32Classic.cs: removes redundant code and fixes issues
14221 2004-08-13 14:55 jordi
14223 * TrackBar.cs: change from wndproc to events
14225 2004-08-13 13:00 jordi
14227 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14228 XplatUIX11.cs: implements PointToClient (ScreenToClient)
14230 2004-08-13 12:53 pbartok
14233 - Changed GetWindowPos to also provide client area size
14234 - Fixed broken prototypes for several win32 functions
14236 2004-08-13 12:53 pbartok
14238 * XplatUI.cs, XplatUIDriver.cs:
14239 - Changed GetWindowPos to also provide client area size
14241 2004-08-13 12:52 pbartok
14244 - Added generation of WM_POSCHANGED
14245 - Changed GetWindowPos to also provide client area size
14247 2004-08-13 12:52 pbartok
14250 - Added Dispose() and destructor
14251 - Fixed resizing and bounds calculation
14253 - Added memory savings for invisible windows
14255 2004-08-13 12:46 jordi
14257 * TrackBar.cs: adds timer and grap window
14259 2004-08-13 10:25 jackson
14261 * Timer.cs: SWF Timer
14263 2004-08-12 16:59 pbartok
14265 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14266 - Implemented method to get current mouse position
14268 2004-08-12 14:29 jordi
14270 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
14271 enhancement, fix mouse problems, highli thumb, etc
14273 2004-08-12 13:31 pbartok
14276 - Fixed Anchoring bugs
14278 2004-08-12 13:01 jackson
14280 * StatusBar.cs: Don't forget things
14282 2004-08-12 12:54 jackson
14284 * ThemeWin32Classic.cs: Handle owner draw status bars
14286 2004-08-12 12:54 jackson
14288 * StatusBar.cs: Implement missing properties, events, and methods.
14289 Handle mouse clicking
14291 2004-08-12 10:19 jackson
14293 * StatusBarPanelClickEventArgs.cs,
14294 StatusBarPanelClickEventHandler.cs: Classes for handling status
14295 bar panel click events
14297 2004-08-12 10:10 jackson
14299 * Control.cs: Add missing properties
14301 2004-08-12 09:46 pbartok
14303 * BindingsManagerBase.cs:
14304 - Name changed to BindingManagerBase.cs
14306 2004-08-12 09:25 jordi
14308 * ScrollableControl.cs: calls ctrlbase instead of exeception
14310 2004-08-11 16:28 pbartok
14312 * InputLanguageChangingEventArgs.cs:
14313 - Never check in before compiling. Fixes the last check-in
14315 2004-08-11 16:26 pbartok
14317 * InputLanguageChangingEventArgs.cs:
14318 - More signature fixes
14320 2004-08-11 16:20 pbartok
14322 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
14323 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
14324 ImageListStreamer.cs, InputLanguage.cs,
14325 InputLanguageChangedEventArgs.cs,
14326 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
14327 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
14328 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
14329 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14332 2004-08-11 16:16 pbartok
14336 - Added .Net 1.1 method
14338 2004-08-11 15:25 pbartok
14341 - Fixed BindingManagerBase.cs filename
14343 2004-08-11 15:22 pbartok
14345 * BindingManagerBase.cs:
14346 - Was checked in with wrong filename
14348 2004-08-11 14:50 pbartok
14353 2004-08-11 13:41 jordi
14355 * XplatUIWin32.cs: Fixes ClientRect
14357 2004-08-11 13:19 pbartok
14359 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14361 - We had SetWindowPos and MoveWindow to set window positions and
14362 size, removed MoveWindow. We have GetWindowPos, so it made sense to
14363 keep SetWindowPos as matching counterpart
14364 - Added some X11 sanity checking
14366 2004-08-11 12:59 pbartok
14369 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
14370 (It seems that SetBounds is just a front for SetBoundsCore and
14371 SetBoundsCore updates the underlying window system and
14372 UpdateBounds is responsible for updating the variables associated
14373 with the Control and sending the events)
14374 - Major cleanup of Size handling; we now have two sizes, client_size
14375 and bounds. Bounds defines the window with decorations, client_size
14378 2004-08-11 12:55 pbartok
14380 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14381 - Added method to calculate difference between decorated window and
14384 2004-08-11 12:54 pbartok
14387 - Forcing redraw on resize
14389 2004-08-11 11:43 pbartok
14392 - Removed disposing of the actual images when the list is disposed
14394 2004-08-11 09:13 pbartok
14397 - Now properly reparents windows
14399 2004-08-11 08:37 pbartok
14404 2004-08-11 07:47 pbartok
14407 - Rewrote the collection stuff. Might not be as fast now, not
14408 keeping the number of children around and accessible directly, but
14409 it's more straightforward
14411 2004-08-11 07:44 pbartok
14413 * AccessibleObject.cs:
14414 - Fixed to match ControlCollection rewrite
14416 2004-08-11 07:43 pbartok
14419 - Added missing creation of the collection list
14421 2004-08-10 20:08 jackson
14423 * StatusBar.cs: Get the paint message from WndProc
14425 2004-08-10 19:31 jackson
14427 * ThemeWin32Classic.cs: Create Brushes as little as possible
14429 2004-08-10 19:20 jackson
14431 * UICues.cs: Add Flags attribute
14433 2004-08-10 19:19 jackson
14435 * StatusBarPanel.cs: Signature cleanup
14437 2004-08-10 19:10 jackson
14439 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
14440 Initial implementation of status bar item drawing
14442 2004-08-10 17:27 jordi
14444 * TrackBar.cs: add missing methods, properties, and restructure to
14447 2004-08-10 16:24 jackson
14449 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
14450 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
14453 2004-08-10 13:21 jordi
14455 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
14456 enhancements and standarize on win colors defaults
14458 2004-08-10 12:52 jackson
14460 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
14461 ThemeWin32Classic.cs: Implement DrawItem functionality
14463 2004-08-10 12:47 jordi
14465 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
14467 2004-08-10 12:32 jordi
14469 * Control.cs: throw ontextchange event
14471 2004-08-10 11:43 pbartok
14474 - Added more to the still unfinished Dock/Anchor layout code
14476 2004-08-10 11:39 pbartok
14478 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
14479 - Added GetWindowPos method
14481 2004-08-10 11:36 pbartok
14484 - Implemented several methods
14486 2004-08-10 09:47 jackson
14488 * TrackBar.cs: Allow control to handle buffering
14490 2004-08-10 09:41 jackson
14492 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
14494 2004-08-10 09:24 jackson
14496 * Label.cs, LinkLabel.cs: Let Control handle buffering.
14498 2004-08-10 09:09 jackson
14500 * StatusBar.cs: Let Control handle all the buffering.
14502 2004-08-10 09:08 jackson
14504 * Control.cs: Control will now handle the buffering code, so each
14505 control does not have to implement this.
14507 2004-08-10 08:34 jackson
14509 * XplatUIDriver.cs: Use default colors from the theme
14511 2004-08-09 17:12 pbartok
14514 - Fixed several bugs Ravindra pointed out
14516 2004-08-09 16:11 pbartok
14519 - Added incomplete dock layout code
14520 - Added support for mouse wheel
14522 2004-08-09 16:09 pbartok
14525 - Added handling for middle and right mousebutton
14526 - Added handling for mouse wheel
14527 - Added handling for key state and mouse state and position
14528 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
14531 2004-08-09 15:40 jackson
14533 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
14534 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
14537 2004-08-09 15:37 jackson
14539 * StatusBar.cs: Initial implementation of StatusBar
14541 2004-08-09 15:36 jackson
14543 * ITheme.cs: Add support for drawing status bar and getting status
14546 2004-08-09 15:35 pbartok
14551 2004-08-09 15:34 jackson
14553 * ThemeWin32Classic.cs: Add support for drawing status bar and get
14554 status bar item sizes
14556 2004-08-09 15:21 jackson
14558 * ThemeWin32Classic.cs: Use known colors for default control
14561 2004-08-09 15:12 jackson
14563 * ThemeWin32Classic.cs: Make the default font static, it is static
14564 in control so this doesn't change functionality and creating fonts
14567 2004-08-09 14:56 pbartok
14570 - Added GrabMode enum
14572 2004-08-09 14:55 pbartok
14574 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14575 - Removed Run method, was only required for initial development
14577 2004-08-09 14:51 pbartok
14579 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14580 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
14583 2004-08-09 13:48 pbartok
14586 - Fixed default sizing for child windows
14588 2004-08-09 12:56 pbartok
14591 - Added generation of WM_DESTROY message
14592 - Added handling of window manager induced shutdown
14594 2004-08-09 11:31 jackson
14596 * ThemeWin32Classic.cs: New names for control properties
14598 2004-08-09 11:25 jackson
14600 * Control.cs: Use new color names
14602 2004-08-09 11:02 jackson
14604 * XplatUI.cs: Get default window properties from the theme
14606 2004-08-09 11:01 jackson
14608 * ITheme.cs: The theme engine now controls default window
14611 2004-08-09 11:00 jackson
14613 * ThemeWin32Classic.cs: Add default window color properties
14615 2004-08-09 10:17 jackson
14617 * ThemeWin32Classic.cs: Use correct default back color
14619 2004-08-09 10:05 jackson
14621 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
14624 2004-08-09 09:56 jackson
14626 * XplatUI.cs: Remove defaults, these are handled by the theme now.
14628 2004-08-09 09:54 jackson
14630 * Control.cs: Get default properties from the theme.
14632 2004-08-09 09:53 jackson
14634 * ITheme.cs: Themes now handle default control properties
14636 2004-08-09 09:53 jackson
14638 * ThemeWin32Classic.cs: Themes now handle default control
14639 properties so coloring will be consistent
14641 2004-08-08 16:54 jordi
14643 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
14645 2004-08-08 15:08 jordi
14647 * XplatUIX11.cs: fixes keyboard crash
14649 2004-08-08 13:47 jordi
14651 * Label.cs: add cvs header info
14653 2004-08-08 12:09 jackson
14655 * ThemeWin32Classic.cs: Add pen_buttonface
14657 2004-08-08 11:52 jordi
14659 * Label.cs, LinkLabel.cs: [no log message]
14661 2004-08-08 11:34 jordi
14663 * ThemeWin32Classic.cs: Use Windows Standard Colours
14665 2004-08-07 17:32 jordi
14667 * TrackBar.cs: throw exceptions of invalid enums values
14669 2004-08-07 17:31 jordi
14671 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
14674 2004-08-07 16:56 jackson
14676 * HorizontalAlignment.cs: Initial checkin
14678 2004-08-07 13:16 jordi
14680 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
14683 2004-08-07 13:05 jordi
14685 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
14686 GetSysColor defines
14688 2004-08-06 18:01 pbartok
14690 * ThemeWin32Classic.cs:
14691 - Fixed some rounding issues with float/int
14693 2004-08-06 18:00 jackson
14695 * DockStyle.cs, AnchorStyles.cs:
14697 Add flags and serializable attributes.
14699 2004-08-06 17:46 pbartok
14702 - Implemented GetParent
14704 2004-08-06 17:18 pbartok
14707 - Fixed some rounding issues with float/int
14709 2004-08-06 17:17 pbartok
14711 * X11Structs.cs, XplatUIX11.cs:
14712 - Fixed Refresh and Invalidate
14714 2004-08-06 15:30 pbartok
14716 * Control.cs, X11Structs.cs, XplatUIX11.cs:
14717 - Fixed recursive loop when resizing
14718 - Improved/fixed redrawing on expose messages
14720 2004-08-06 09:53 jordi
14722 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
14723 keyboard navigation
14725 2004-08-06 08:02 pbartok
14727 * X11Structs.cs, XplatUIX11.cs:
14728 - Fixed reparenting
14729 - Fixed window border creation
14731 2004-08-05 15:38 pbartok
14734 - Attempted fix for reparenting problems
14736 2004-08-04 15:14 pbartok
14739 - Fixed Invalidation bug (calculated wrong client area)
14740 - Added ClientSize setter
14742 2004-08-04 15:13 pbartok
14745 - Added AutoScale properties
14747 2004-08-04 15:13 pbartok
14750 - Added latest files
14752 2004-08-04 14:11 pbartok
14754 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14756 - Added Invalidate handling
14758 2004-08-03 17:09 jordi
14760 * XplatUIDriver.cs: fixes spelling mistake
14762 2004-07-27 09:53 jordi
14764 * TrackBar.cs: fixes trackbar events, def classname, methods
14767 2004-07-27 09:29 jordi
14769 * ScrollBar.cs: fixes scrollbar events
14771 2004-07-27 04:38 jordi
14773 * Control.cs: changes to be able to run winforms samples
14775 2004-07-26 11:42 jordi
14777 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
14778 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
14780 2004-07-26 05:41 jordi
14782 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
14783 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
14786 2004-07-22 09:22 jordi
14788 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
14789 check link overlapping, implement events, and fixes
14791 2004-07-21 10:28 jordi
14793 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
14795 2004-07-21 10:19 jordi
14797 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
14798 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
14799 LinkLabelLinkClickedEventArgs.cs,
14800 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
14801 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
14804 2004-07-19 13:09 jordi
14806 * Control.cs, Label.cs: label control re-written: added missing
14807 functionlity, events, and properties
14809 2004-07-19 10:49 jordi
14811 * Control.cs: fixes SetBounds logic
14813 2004-07-19 01:29 jordi
14815 * Control.cs: Call RefreshWindow only if the window has created
14817 2004-07-15 14:05 pbartok
14819 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
14820 - Implemented ImageList and ImageList.ImageCollection classes
14821 - Added ColorDepth enumeration
14822 - Updated SWF VS.Net project
14824 2004-07-15 11:06 jordi
14826 * XplatUIStructs.cs: added MsgButons enum
14828 2004-07-15 11:03 jordi
14830 * Control.cs: added basic mouse handeling events
14832 2004-07-15 03:38 jordi
14834 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14835 Vertical TrackBar control implementation
14837 2004-07-13 09:33 jordi
14839 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14841 2004-07-13 09:31 jordi
14843 * Control.cs, Form.cs: commit: new properties and fixes form size
14846 2004-07-09 14:13 miguel
14848 * ProgressBar.cs: Spelling
14850 2004-07-09 11:25 pbartok
14853 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14856 2004-07-09 11:17 miguel
14858 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
14860 * ProgressBar.cs: Fixed spelling for `block'
14862 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
14865 Avoid using the += on rect.X, that exposed a bug in the compiler.
14867 2004-07-08 23:21 pbartok
14869 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
14870 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
14871 BaseCollection.cs, Binding.cs, BindingContext.cs,
14872 BindingMemberInfo.cs, BindingsCollection.cs,
14873 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
14874 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
14875 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
14876 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
14877 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
14878 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
14879 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
14880 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
14881 FrameStyle.cs, GiveFeedbackEventArgs.cs,
14882 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
14883 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
14884 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
14885 InputLanguageChangedEventArgs.cs,
14886 InputLanguageChangedEventHandler.cs,
14887 InputLanguageChangingEventArgs.cs,
14888 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14889 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14890 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14891 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14892 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14893 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14894 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14895 QueryAccessibilityHelpEventArgs.cs,
14896 QueryAccessibilityHelpEventHandler.cs,
14897 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14898 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14899 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14900 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14901 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14902 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14903 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14904 XplatUIX11.cs, lang.cs: