1 2006-07-06 Chris Toshok <toshok@ximian.com>
3 * LinkLabel.cs (.ctor): SetStyle Selectable to true.
4 (OnEnableChanged): s/Refresh/Invalidate
5 (OnGotFocus): if we have a focused index already, refocus it (so
6 if we mouse out/in to the window it'll focus the right link).
7 (OnKeyDown): move the tab handling out of here.
8 (OnLostFocus): don't set focused_index to -1, so we can refocus it
10 (OnMouseDown): don't Capture here - Control handles it. Also,
11 focus the active link.
12 (OnMouseUp): don't deal with Capture.
13 (OnPaintBackgroundInternal): remove.
14 (OnTextAlignChanged): CreateLinkPieces before calling the
16 (OnTextChanged): call CreateLinkPieces before calling superclass's
18 (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
20 (Select): implement this, moving the selection between different
21 links, and call parent.SelectNextControl if we don't have another
22 link to focus in the given direction.
23 (CreateLinkPieces): call Invalidate instead of Refresh.
25 2006-07-06 Chris Toshok <toshok@ximian.com>
27 * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
28 new LinkLabel internals.
30 * LinkLabel.cs: fairly major rewrite. get rid of all the loops
31 over pieces looking for active/focused/etc links. also, deal with
32 runs of text (and links) with embedded \n's in them, and use
33 MeasureCharacterRanges instead of MeasureString to figure out the
34 regions text occupies. Lastly, do the usual s/Refresh/Invalidate
37 2006-07-04 Jackson Harper <jackson@ximian.com>
39 * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
40 XKB or key auto repeat, do it manually. Without key auto repeat,
41 when a key is held down we get key press, key release, key press,
42 key release, ... with auto repeat we get key press, key press, key
43 press ..., and then a release when the key is actually released.
45 2006-07-03 Jackson Harper <jackson@ximian.com>
48 * ThemeWin32Classic.cs: Tabs do not obey normal background color
49 rules, they are always control color regardless of the background
52 2006-07-02 Alexander Olk <alex.olk@googlemail.com>
54 * FileDialog.cs: Added internal class MWFConfig.
55 Removed Registry support and replaced it with support for the new
56 MWFConfig class. See MWFConfig comments for more information.
58 2006-06-30 Alexander Olk <alex.olk@googlemail.com>
60 * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
61 rectangle. Added some patches from eno from bug #78490 and fixed
62 the arrow position for small up and down CPDrawScrollButtons.
64 2006-06-30 Jackson Harper <jackson@ximian.com>
66 * InternalWindowManager.cs: Remove some debug code.
67 * Form.cs: When an MdiParent is set to null, the window is
68 "detatched" and becomes a normal window.
69 * MdiClient.cs: Don't bring the new child form to the front until
70 it is activated (setting it as active does this), this makes the
71 previously active forms titlebar get redrawn as inactive.
73 2006-06-29 Peter Dennis Bartok <pbartok@novell.com>
75 * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
78 2006-06-29 Mike Kestner <mkestner@novell.com>
80 * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
81 arrow in keynav state. Fixes #78682.
83 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
85 * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
88 2006-06-28 Jonathan Pobst <monkey@ipobst.com>
90 * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
91 ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
92 ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
93 FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
94 GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
95 ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
96 PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
97 Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
98 TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
99 ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
100 enumerations (FlagsAttribute, SerializableAttribute, added/removed
103 2006-06-28 Mike Kestner <mkestner@novell.com>
105 * ComboBox.cs: implement scroll wheel support. Fixes #78360.
107 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
110 PropertyGridTextBox.cs : explicitly set BackColor to differentiate
111 item lines from other area (It also makes BackColor consistent and
112 compatible with .NET). Fixed bug #78564.
114 2006-06-28 Jonathan Chambers <jonathan.chambers@ansys.com>
116 * PropertyGrid.cs: refresh toolbar when PropertySort is set.
117 Patch from Eno for #78555.
119 2006-06-27 Chris Toshok <toshok@ximian.com>
121 * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
123 * DataGridColumnStyle.cs: same.
125 * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
127 * DataGridDrawingLogic.cs: nuke.
129 2006-06-27 Chris Toshok <toshok@ximian.com>
131 * DataGridTableStyle.cs: clean up the constructors, and build the
132 list of child relations for this table. I have no idea if this is
133 where we should be doing it (it probably isn't), but since we're
134 already iterating over the properties..
136 * DataGrid.cs: add row resizing. for now we add a DataGridRow
137 struct and array for keeping track of row information, similar to
138 what's shown in a hack on
139 http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
141 * Theme.cs: be consistent about the naming of DataGrid methods,
142 prefering ColumnWidths and RowHeights over columnsWidths and
145 * ThemeWin32Classic.cs: same, and also add support for variable
146 sized rows (and the +/- expansion icons for related rows).
148 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
150 * TextBoxBase.cs: Applied Eno's patch from #78660
152 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
154 * Form.cs (ScaleCore): We don't want to scale our form if it's
155 state is minimized or maximized, but we still need to scale our
156 child windows. Also, added try/finally block to ensure layout
157 gets reset (Fixes #78697)
159 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
161 * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
163 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
165 * Form.cs: Fixed c+p error and added check to resize form if minimum
166 size is bigger than current size (Fixes #78709)
168 2006-06-26 Peter Dennis Bartok <pbartok@novell.com>
170 * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
172 2006-06-26 Mike Kestner <mkestner@novell.com>
174 * ComboBox.cs: only do Keypress handling in the combo when there
175 are items in the collection. Fixes #78710.
177 2006-06-26 Chris Toshok <toshok@ximian.com>
179 * Binding.cs: make this work bi-directionally. also, clear up
180 other mixups between Push/Pull Data (e.g. we're supposed to pull
181 data when validating).
183 * BindingManagerBase.cs: trim some fully qualified collection
186 * PropertyManager.cs (get_IsSuspended): oops, fix this check.
188 2006-06-23 Chris Toshok <toshok@ximian.com>
190 * PropertyManager.cs: It appears (according to the unit tests)
191 that PropertyManager doesn't use
192 PropertyDescriptor.AddValueChanged to track propery value changes
193 in its datasource, but uses the same scheme as Binding, where it
194 looks for a <Property>Changed event and binds to it.
196 Also, according to the docs, IsSuspended always returns false for
197 a property manager with a non-null datasource.
199 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
201 * Form.cs: (ShowDialog): If we're returning a forced cancel we still
202 need to update the actual DialogResult. (Fixes #78613)
204 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
206 * Form.cs (ShowDialog): Release any captures before running the
207 new message pump (fixes #78680)
209 2006-06-22 Mike Kestner <mkestner@novell.com>
211 * ListView.cs: Layout column widths properly in details mode even
212 if HeaderStyle.None is set. Fixes #78691.
214 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
216 * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
218 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
220 * Control.cs (ContainsFocus): Using new driver method to get focused
221 window, instead of trying to use internal tracking var, which can
222 recursion issues (Fixes #78685)
223 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
224 XplatUIWin32.cs: Added GetFocus method to return focused window
226 2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
228 * ColorDialog.cs: when the mouse button is pressed inside the color
229 matrix, don't let the cursor move out of it until the button is
230 released, which is the behavior on windows. Changed 'colours' by
231 'colors' to use the same word consistently.
233 2006-06-21 Chris Toshok <toshok@ximian.com>
235 * DataGrid.cs: add in some basic navigation stuff (navigating to a
236 child relation and back, using a stack). Also, remove
237 GetDataSource and the code that calls it - it's not needed. Also,
238 track CurrencyManager.ListName's removal.
240 2006-06-21 Chris Toshok <toshok@ximian.com>
242 * CurrencyManager.cs: push some of the original type checking from
243 BindingContext.CreateBindingManager to here, and remove some of
244 the finalType stuff. Need more tests to make sure I've got the
245 ListName part right, and we might need more in SetDataSource.
247 * PropertyManager.cs: add a ctor that takes just the datasource,
248 and no property name. Make SetDataSource work with a null
249 property_name, and make Current return the data_source if the
250 property descriptor is null. this makes 'string foo = "hi";
251 BindingContext[foo].Current' return "hi" as it should.
253 * RelatedCurrencyManager.cs: make this code more generic - there's
254 no reason the parent manager has to be CurrencyManager, and
255 there's no reason to pass the DataRelation. It suffices to use a
256 BindingManagerBase and PropetyDescriptor.
258 * RelatedPropertyManager.cs: make a similar change here.
260 * BindingContext.cs: make CreateBindingManager the beautiful, tiny
261 flower I knew it could be.
263 2006-06-20 Chris Toshok <toshok@ximian.com>
265 * PropertyManager.cs: the PropertyChangedHandler is invoked when
266 data in the source has changed and we need to update the control,
267 so s/PullData/PushData.
269 * CurrencyManager.cs: Refresh is meant to update the control from
270 data in the datasource. So, s/PullData/PushData.
272 * BindingContext.cs: add more ugliness (we weren't handling the
273 case where data_source = DataTable and data_member = column_name).
275 * Binding.cs: fix PushData/PullData mixup. Both are interpreted
276 from the perspective of the datasource. PullData pulls from the
277 control, PushData pushes to the control.
279 2006-06-20 Chris Toshok <toshok@ximian.com>
281 * BindingContext.cs: rewrite the CreateBindingManager code to
282 handle navigation paths more or less properly. This could
283 definitely stand some more work, in particular to push the
284 recursion up to the toplevel. But that relies on fixes in other
285 places (System.Data comes to mind).
287 Also, move to a flat hashtable (and encode the twolevel nature of
288 the dictionary into the hash key). This lets us implement the
289 IEnumerable.GetEnumerator method.
291 * RelatedCurrencyManager.cs: new class. Update our view based on
292 our relation and our parent CurrencyManager's position.
294 * CurrencyManager.cs: split out some logic from the ctor into
295 SetView, so it can be called from the new RelatedCurrencyManager
298 * RelatedPropertyManager.cs: new class. Update our datasource
299 based on the position of our parent CurrencyManager.
301 * PropertyManager.cs: split out some logic from the ctor into
302 SetDataSource, so it can be called from the new RelatedDataSource
303 subclass. Also, make the Current getter return the value
304 of the PropertyDescriptor, not the data_source.
306 * Binding.cs: no need to duplicate the string splitting code here.
308 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
311 - set_Enabled: OnEnabledChanged is not called if the inherited state
312 of the control is not altered, even though we might be changing the
313 internal state of the control (#78458)
314 - set_Enabled: (Re)Moved the enabling/disabling of the window to
315 OnEnabledChanged, to allow easy altering of any child window state
316 - OnEnabledChanged: Added code to enable/disable driver window state
317 - OnParentEnabledChanged: Instead of firing the event, call
318 OnEnabledChanged, which will fire the event and also a) set driver
319 window state and pass the enabled state to any grandchildren (#78458)
321 2006-06-19 Jackson Harper <jackson@ximian.com>
323 * InternalWindowManager.cs: We don't set the cursor explicitly
324 thats done via the response to NCHITTESTs.
325 - Don't need to adjust for titlebar heights anymore, the
326 coordinates are coming in the correct coordinates now (see peters
330 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
332 * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
333 being translated relative to whole window, instead of client window.
334 That caused broken offsets on mouseclick (and caused gas for our
335 InternalWindowManager)
337 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
340 - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
341 - Undo(): Added replay of cursor move on DeleteChars action; added
342 calling Undo() again if a recorded cursor move is invalid (to
343 ensure that some action is performed on Undo)
344 * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
346 2006-06-16 Jackson Harper <jackson@ximian.com>
348 * MdiClient.cs: Instead of just sizing maximized windows when
349 there is a resize we also have to adjust the Y of minimized
350 windows, so they stay pinned to the bottom of the mdi container.
351 - Eliminate separate tracking of the active control, we can just
352 get this from the controls collection.
353 - Paint the decorations for the newly activated titlebar so we get
355 * InternalWindowManager.cs:
356 * ThemeWin32Classic.cs: Minimized windows get all three buttons
357 even if they are a tool window.
359 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
361 * TextControl.cs (Undo): Handle non-existent cursor locations in the
362 undo buffer, these can happen when text was deleted and the cursor
363 was recorded first. Since we will also have a recorded cursor
364 after the delete this is not an issue. (Fixes #78651)
366 2006-06-14 Peter Dennis Bartok <pbartok@novell.com>
368 * AccessibleObject.cs: Remove dependence on Control.is_selected;
369 instead properly track control states internally (allows us to
370 remove is_selected from Control)
372 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * ImageListStreamer.cs: correctly generate the 1bpp mask for images
375 whose width is not a multiple of 8.
377 2006-06-13 Jackson Harper <jackson@ximian.com>
379 * MdiClient.cs: Only maximize the next child if the current one
382 2006-06-13 Chris Toshok <toshok@ximian.com>
384 * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
385 modified. Also, guard against grid or grid_drawing being null in
388 * DataGrid.cs: Reformat tons of getters/setters. In the
389 DataMember setter, just call SetNewDataSource instead of
390 duplicating some of its functionality. In SetNewDataSource, don't
391 check ListManager for null, since the property getter creates the
394 * DataGridTableStyle.cs: don't set TableStyle or call
395 SetDataGridInternal on the column here, it's done in
396 GridColumnStylesCollection.Add.
398 * GridColumnStylesCollection.cs: fix all the explicit interface
399 implementations to just call our methods. Nuke AddInternal() and
400 move the body of it to Add(). Also, add a call to
401 column.SetDataGridInternal to Add().
403 * DataGridTextBoxColumn.cs (.ctors): call this() instead of
404 base()+duplicate code. Also, use the Format property instead of
405 format to generate an Invalidate ala MS. Lastly, create the
406 textbox here, unconditionally.
407 (set_Format): call Invalidate.
408 (get_TextBox): no need to call EnsureTextBox.
409 (Commit): remove the message box.
410 (Edit) remove the call to EnsureTextBox.
411 (EndEdit): call HideEditBox instead of ReleaseHostedControl.
412 (EnterNullValue): no need to check textbox for null.
413 (HideEditBox): no need to check textbox for null.
414 (SetDataGridInColumn): add the textbox to the grid's controls.
415 (EnsureTextBox): nuke.
417 2006-06-13 Jackson Harper <jackson@ximian.com>
419 * MdiWindowManager.cs: Hook up to the maximized menus paint event
420 and redraw the buttons when needed. Unhook when the window is
422 * MainMenu.cs: Add an internal Paint event, the mdi window manager
423 needs this so that it can redraw its buttons when the menu is
425 * InternalWindowManager.cs:
426 * Form.cs: The method order has changed for DrawMaximizedButtons,
427 so that it can be a PaintEventHandler.
429 2006-06-13 Jackson Harper <jackson@ximian.com>
431 * MdiClient.cs: When we close a maximized mdi window, the next mdi
432 window is activated and maximized, even if it wasn't before.
433 - When a new window is activated repaint the decorations of the
434 old one, so that it no longer has the Active "look" (the blue
436 * InternalWindowManager.cs: Open up CreateButtons to base classes
437 so they can recreate the buttons on state changes.
438 - If a window is maximized give it all three buttons
439 * MdiWindowManager.cs: Create the titlebar buttons when the state
440 is changed, this is needed because a toolwindow will not have all
441 three buttons until it is maximized.
443 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
445 * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
448 2006-06-12 Jackson Harper <jackson@ximian.com>
450 * KeysConverter.cs: Make sure we handle the Ctrl special case
453 2006-06-12 Jackson Harper <jackson@ximian.com>
455 * Theme.cs: Add a method to get the size of a managed window
457 * InternalWindowManager.cs: Remove the ButtonSize property, this
458 should be retrieved from the theme.
459 * MdiWindowManager.cs: Get the button size from the theme
460 * ThemeWin32Classic.cs: Make the method to get the managed window
461 titlebar button size public.
462 - Handle the different button sizes of maximized toolwindows
463 (should match any maximized window).
464 - Get the titlebar height from the theme, not the WM (which gets
467 2006-06-12 Jackson Harper <jackson@ximian.com>
469 * InternalWindowManager.cs: Handle NC Double Clicks, passing the
470 event down to the mdi window manager.
471 - Expose some extra stuff to base classes
472 - Make sure to end the Capture on an NC Mouse up, so that we can
473 get double clicks properly, and the sizing doens't stick.
474 - When doing PointToClient contain it in the workable desktop
475 area, this prevents windows from changing size when the cursor is
476 pulled outside of the working area while sizing.
477 * MdiWindowManager.cs: When we get a double click maximize the
479 - Reset the cursor after handling mode changes.
481 2006-06-12 Peter Dennis Bartok <pbartok@novell.com>
483 * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
484 current desktop, instead of just assuming a 0, 0 origin. This
485 is needed for our internal window manager, to know the top
486 margin of the desktop
488 2006-06-12 Chris Toshok <toshok@ximian.com>
490 * DataGrid.cs (set_CurrentCell): concede focus as we move around.
491 we need this to get rid of the selected background in the bool
493 (CancelEditing): move the ConcedeFocus call to above the Abort
494 call. Also, set is_changing to false and invalidate the row
495 header if we were changing before.
496 (ProcessKeyPreviewInternal): remove, since noone outside this
497 class calls it anymore. Roll the code into ProcessKeyPreview.
498 (EndEdit): remove the internal version.
499 (InvalidateCurrentRowHeader): make private.
501 * DataGridBoolColumn.cs: simplify this class a bunch. remove the
502 Keys.Escape handling (and with it the last call to
503 DataGrid.EndEdit from outside the class.)
506 2006-06-12 Chris Toshok <toshok@ximian.com>
508 * DataGridTextBox.cs (.ctor): isedit defaults to false.
509 (OnKeyPress): set isedit to true.
510 (ProcessKeyMessage): remove Keys.Enter handling from here. it's
511 already handled by the grid.
513 * DataGrid.cs (set_CurrentCell): more work here. it's still not
515 (set_DataSource): SetDataSource always returns true, so stop
516 putting it in an if statement.
517 (EndEdit): get rid of some {}'s
518 (ProcessGridKey): return true in case Keys.Escape.
519 (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
520 (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
521 PositionChanged, stopped connecting to CurrentChanged.
522 (GetDataSource): simplify this a bunch.
523 (SetDataSource): change return type from bool to void.
524 (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
525 to this, and make sure we don't set ListManager.Position inside
527 (OnListManagerItemChanged): if we're passed an actual index,
530 * CurrencyManager.cs (set_Position): don't call PullData here.
532 2006-06-09 Jackson Harper <jackson@ximian.com>
534 * TreeNode.cs: Recalculate the visible order before doing the
535 Expand/Collapse Below calls, because those calls generate an
537 - Reduce calls to the TreeView property, which is mildly expensive
538 by using a local var.
539 * Form.cs: Layout the MDI child windows when creating the parent
541 - Don't use the internal constructor anymore
542 * MdiClient.cs: use the parent form width/height (if available)
543 when laying out the child windows, we do this because the
544 mdiclient isn't docked yet when the initial layout is done.
545 - Don't need an internal constructor anymore.
547 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
549 * FileDialog.cs: handle access errors when trying to create a folder
550 or changing to a directory. No need to initialize out parameters.
552 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
554 * FileDialog.cs: Append a number when creating a new folder if the
555 folder already exists (use parenthesis instead of square brackets)
557 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
560 - Disabled registry support for windows and added better registry
561 error checking for other systems (need to investigate why it
562 works perfectly on my system)
563 - If a folder already exist show an error MessageBox instead of
564 trying to create an indexed name.
565 - Fixed a non intentional typo.
567 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
569 * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
571 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
573 * FileDialog.cs: When creating a new folder don't crash if the
574 folder already exists.
576 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
578 * FileDialog.cs: Allmost a complete rewrite.
579 - added a "virtual" file system that handles the differences
580 between unix and windows file systems (especially the directory
581 structure). Moved most of the directory and file handling code
583 Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
584 UnixFileSystem and FSEntry.
585 - Recently used folder/directory, size, location and used file names
586 (file name ComboBox) are now stored in the registry and get read
587 before the dialog shows up (fixes part 6 of bug #78446).
588 - Creation of new folders/directories is now possible (context menu
589 or ToolBar). Added TextEntryDialog for this that fills in the gap
590 until ListView.LabelEdit works.
591 - Fixed cursor handling (bug #78527) and focus handling for
593 - Various "Search in" ComboBox enhancements. The content of the
594 dropdown listbox now almost matches ms.
595 - Changed the behaviour when the user switches to SpecialFolder
596 Recent to show the ListView in View.Details.
597 - Beside using the ToolBar to change the View property of the
598 file ListView it is now possible to use the context menu too.
600 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
602 * ComboBox.cs: Don't create a new ObjectCollection when an item
603 gets inserted. Just insert the item in the existing object_items
606 2006-06-08 Jackson Harper <jackson@ximian.com>
608 * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
609 that the treeview and root node checks are done also, this fixes a
610 regression i caused in the unit tests.
612 2006-06-07 Wade Berrier <wberrier@novell.com>
614 * RichTextBox.cs: More ISO8859-1 -> unicode
616 2006-06-07 Mike Kestner <mkestner@novell.com>
618 * ComboBox.cs : use items to hold highlight/selection so that
619 collection insertions don't require synchronization.
621 2006-06-07 Jackson Harper <jackson@ximian.com>
623 * InternalWindowManager.cs: Simplify (and FIX) the window sizing
624 routine. We now always keep the sized edge at the cursor instead
625 of computing movement and adjusting rects. There is one buglet
626 with this method though when the cursor is moved over area that
627 the window can not expand too (such as the toolbars on the desktop).
629 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631 * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
632 here. Fixes crash on startup in AlbumSurfer.
634 2006-06-07 Peter Dennis Bartok <pbartok@novell.com>
636 * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
639 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
641 * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
642 statement to avoid calling XNextEvent which will block if another thread
643 took the event that we were expecting. Fixes bug #78605.
645 2006-06-07 Mike Kestner <mkestner@novell.com>
647 * ListView.cs : isolated checkbox clicking from the selection logic.
648 Toggle check state on item doubleclicks. Really fixes #78454 part2.
650 2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
652 * Form.cs: Check that the value passed to Form.DialogResult
653 is a valid enum value.
655 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
657 * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
658 Computer'. Clicking it in the network view goes to 'My Computer'.
659 Added CIFS filesystem type. Display the mount point of filesystems.
660 Avoid duplicate mount points (happens for me with CIFS);
662 2006-06-06 Jackson Harper <jackson@ximian.com>
664 * InternalWindowManager.cs: Draw the maximized windows buttons
667 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
669 * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
670 all other dialogs. Fixes bug #78585.
672 2006-06-06 Mike Kestner <mkestner@novell.com>
674 * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
675 Only invalidate checkbox on checkstate changes to avoid flicker.
676 * ListBox.cs : avoid unselect/select when clicking selected item.
677 avoid reselection flicker for already multiselected items.
680 2006-06-06 Jackson Harper <jackson@ximian.com>
682 * MdiWindowManager.cs: When the window is closed do an NCRecalc on
683 the parent form so that the menu is removed if needed.
685 2006-06-06 Mike Kestner <mkestner@novell.com>
687 * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
688 Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
690 2006-06-06 Mike Kestner <mkestner@novell.com>
692 * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
695 2006-06-06 Jackson Harper <jackson@ximian.com>
697 * Control.cs: Use the property (instead of the field) to get the
698 default cursor so it is instantiated correctly.
699 * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
700 resizes so we need to manually repaint the window decorations here.
701 - Set the titlebar button locations as soon as they are created,
702 otherwise they are not set correctly on win32.
704 2006-06-06 Chris Toshok <toshok@ximian.com>
706 * CurrencyManager.cs (set_Position): call PullData before
708 (AddNew): after calling IBindingList.AddNew, update our
709 listposition, and call OnCurrentChanged/OnPositionChanged (without
711 (OnCurrentChanged): remove the call to PullData from here.
712 (OnItemChanged): remove the call to PushData from here.
713 (OnPositionChanged): change the test from == null to != null to
714 match the other methods.
715 (ListChangedHandler): the grossest part of the patch. Implement
716 this such that it passes the unit tests in CurrencyManagerTest and
717 the output more or less matches that of MS's implementation.
719 2006-06-06 Mike Kestner <mkestner@novell.com>
721 * ListView.cs : only update check state on single click.
722 * ThemeWin32Classic.cs : fix focus drawing for details view without
723 fullrowselect. Fixes #78454.
724 * XplatUIX11.cs : fix for double click emission.
726 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
728 * PropertyGridView.cs : Applied Atsushi's patch to fix
729 font dialog bug (#78197).
731 2006-06-05 Jackson Harper <jackson@ximian.com>
733 * TreeNode.cs: Compute the next node for expanding/collapsing
734 correctly. We now factor in nodes without a NextNode
735 correctly. (Fixes somes cases in nunit-gui).
736 * InternalWindowManager.cs: Set the bounds when updating the
737 virtual position of a tool window.
739 2006-06-05 Chris Toshok <toshok@ximian.com>
741 * DataGrid.cs: rename cached_currencymgr to list_manager.
742 (set_CurrentCell): move SetCurrentCell code here, and clean it up
744 (CurrentRow, CurrentColumn): single accessors so we can make the
745 cursor movement code a lot easier to understand.
746 (CurrentRowIndex): implement this in terms of CurrentRow.
747 (BeginEdit): clean this up a bit.
748 (CancelEditing): sort out the is_editing/is_changing/is_adding
750 (EndEdit): minor changes.
751 (OnKeyDown): add a comment about a (most likely) unnecessary
753 (OnMouseDown): cancel editing when we click on a row header. And
754 use the CurrentRow setter, not CurrentCell.
755 (ProcessDialogKey): directly call ProcessGridKey.
756 (UpdateSelectionAfterCursorMove): factor out this common block of
757 code (it's used everywhere that we move the cursor by updating row
759 (ProcessGridKey): pretty substantial overhaul. Use the
760 CurrentRow/CurrentColumn properties to make the code a lot more
761 readable. Only use the CurrentCell property when we have to
762 modify both row and column at once. Tab behavior is still broken,
763 and Delete is untested.
764 (Select): if we have no selected rows, set selection_start to
766 (EditCurrentCell): rename EditCell this. It was only ever invoked
767 with CurrentCell as the arg, so drop the arg and rename it.
769 * DataGridColumnStyle.cs: clean up the constructors a little, and
770 drop CommonConstructor().
772 * DataGridTextBox.cs (.ctor): set accepts_return to true so we
773 actually get notified when the user hits it.
774 (ProcessKeyMessage): *substantially* simplify this method.
775 There's no reason (that I can see) for the textbox to be making
776 calls into the datagrid at all. Remove all of them but the ones
777 for Enter handling. those will take some more work.
779 * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
781 (HideEditBox): if we have an active textbox, render it invisible
782 without causing a re-layout of the datagrid.
784 2006-06-05 Mike Kestner <mkestner@novell.com>
786 * ListView.cs : fix NRE crasher when focuseditem is cleared by
787 collection changes by resetting it to Items[0]. Fixes #78587.
789 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
791 * MessageBox.cs: if the height of the text is larger than the icon_size,
792 use that. Fixes bug #78575.
794 2006-06-05 Jackson Harper <jackson@ximian.com>
796 * TreeView.cs: Fix line drawing when scrolling. To do this each
797 node is basically responsible for drawing its entire horizontal
798 area. When drawing a node it draws its parent node lines if
800 - Adjust the clip area to the viewport rectangle
801 - Fix Left/Right key handling to match MS. (It expand/collapses
802 and moves to parents/first child but does not move selection to
804 - Fix SetTop to work with new bound calculation code
805 - When scrollbars are no longer needed we need to reset scrolling
806 vars and recalculate the visible order so the redraw is correct
807 * TreeNode.cs: We can't expand/collapse nodes with no children.
809 2006-06-03 John Luke <john.luke@gmail.com>
811 * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
812 so the colors work without dev packages
814 2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
817 - Select: Implemented to just use activate. Seems to match MS
818 behaviour closest. Documented to only do actual control walking
819 based on it's parameters if in a container control so I moved
821 - Removed selection check logic from our internal Select() method
822 * ContainerControl.cs:
823 - Select: Moved selection logic from Control here, since MS documents
824 that containers obey the bool arguments. No longer calling base
826 2006-06-02 Jackson Harper <jackson@ximian.com>
828 * TreeView.cs: If the selected node isn't changed when we get
829 focus update the previously selected node so that we see the
832 2006-06-02 Mike Kestner <mkestner@novell.com>
834 * ComboBox.cs: restructure grab and general mouse event handling.
835 Make the composite control raise mouse events like it was a single
836 control for leaves/enters/motion/up/down events. fix dropdown list
837 coordinate mangling and refactor it into the scrollbar subclass to
838 reduce code duplication. Fixes #78282 #78361 and #78457.
840 2006-06-02 Mike Kestner <mkestner@novell.com>
842 * ScrollBar.cs: remove Capture setting/clearing, as it happens
843 automatically in the Control.WndProc.
845 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
847 * FileDialog.cs: fix crash when running SharpChess, which sets the
848 FilterIndex to 2 with only one Filter.
850 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
852 * ToolBar.cs: add SizeSpecified property.
853 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
854 try to figure out our real size, otherwise fallback to what the
857 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
859 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
860 * Control.cs (WndProc): MS always calls the DefWndProc to pass
863 2006-06-01 Mike Kestner <mkestner@novell.com>
865 * ListView.cs: revamp the focus management in ListView. It still
866 causes churn of LostFocus/GotFocus emissions on clicks, but it's
867 better than not handling focus at all. Will revisit when pdb feels
868 the general focus handling is solid. Fixes #78526.
870 2006-06-01 Jackson Harper <jackson@ximian.com>
872 * TreeView.cs: Set the default border style in the constructor.
873 - Move painting to use OnPaintInternal instead of capturing
874 WM_PAINT, this is the correct way of doing things
875 - UpdateBelow shouldn't invalidate the scrollbar area
876 - Cap the top on update below in case the node was above the top
877 of the viewport rectangle.
878 - ExpandBelow and Collapse below need to obey Begin/End Update.
879 * TreeNode.cs: Make is_expanded internal so the treenode
880 collection can change it without firing the whole event chain.
881 * TreeNodeCollection.cs: When clearing all the child nodes make
882 sure to recalc the visible order.
883 - Improve algo for remove the top node
885 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
887 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
888 SendMessage directly calling window procedures, which in turn might
891 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
893 * Control.cs: Don't handle WM_SETFOCUS if the same window already
894 has focus (works around X11 sending a FocusIn after our SetFocus)
895 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
897 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
899 * Mime.cs: Fix for the NET_2_0 build.
900 NameValueCollection needs StringComparer now.
902 2006-05-31 Chris Toshok <toshok@ximian.com>
904 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
905 return (via an out parameter) the starting X of the column.
906 (UpdateVisibleColumn): track change to FromPixelToColumn.
907 (HitTest): add a ColumnResize case here.
908 (DrawResizeLine): new function, probably poorly named.
910 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
911 only need to keep one reference.
912 (set_ListManager): same.
913 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
914 Also, add support for HitTestType.ColumnResize.
915 (OnMouseMove): add column resize behavior here, and change the
916 cursor to the correct one as we move around the datagrid.
917 (OnMouseUp): terminate the column resize if we're resizing.
918 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
919 for the current cell.
920 (ConnectListManagerEvents): use cached_currencymgr.
921 (DisconnectListManagerEvents): fill this in, using
923 (SetCurrentCell): remove cached_currencymgr_events handling.
924 (SetDataMember): only call DisconnectListManagerEvents if
925 cached_currencymgr is != null.
926 (SetDataSource): same.
927 (OnListManagerCurrentChanged): cached_currencymgr_events ->
930 2006-05-31 Jackson Harper <jackson@ximian.com>
932 * BindingManagerBase.cs: Remove somedebug code that creeped into
934 * TreeNode.cs: We get the indent level dynamically right now, so
935 don't track it as a member.
936 * TreeNodeCollection.cs: Make sure all nodes added to the list
937 have parents, treeviews/topnodes setup properly.
938 - Don't attempt to track indent level.
940 2006-05-30 Jackson Harper <jackson@ximian.com>
942 * BindingContext.cs: Create the currency manager tables here.
943 This allows us to more easily create null tables (when bad data
944 members are used), and more easily create related currency
946 * CurrencyManager.cs: All the table creation stuff is done by the
948 - Current should throw an exception if listposition is -1.
949 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
952 2006-05-30 Mike Kestner <mkestner@novell.com>
954 * ListView.cs: allow reexpansion of zero-width column headers.
957 2006-05-28 Chris Toshok <toshok@ximian.com>
959 * CurrencyManager.cs (get_Current): after the late binding
960 listposition = -1 fix, we need to guard against it here and return
961 null, otherwise we raise an exception (which is swallowed
962 elsewhere, and breaks datagrid databinding.)
964 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
966 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
967 than WM_SYSKEY, don't throw if get something unexpected (#78507)
969 2006-05-26 Jackson Harper <jackson@ximian.com>
972 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
973 values, it's faster and it's all we care about (we don't care if
974 the names aren't equal).
975 * KeyboardLayouts.cs: Eliminate some dead code.
977 * X11Keyboard.cs: Lazy init keyboard detection.
978 - Cleanup access modifiers a little.
980 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
982 * XplatUIX11.cs: Once again, attempting to get layout just right.
984 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
986 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
987 the sizes of each link section, that will result in sizes that
988 match DrawString's layout (Fixes #78391)
990 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
992 * FileDialog.cs: If AddExtension property is true autocomplete the
993 extensions in SaveFileDialog correctly. Fixes bug #78453.
994 Set MyNetwork and MyComputer to "C:\" for windows. This should
995 fix part 8 of bug #78446 for now.
997 2006-05-26 Chris Toshok <toshok@ximian.com>
999 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
1000 invalidate the current row header if we need to, but presumably
1001 we'll invalidate the row corrsponding to the bounds or
1003 (GridHScrolled): switch back to this method, as it's part of the
1005 (GridVScrolled): same.
1006 (OnMouseWheel): hack up something that more or less works. Call
1007 GridHScrolled/GridVScrolled directly, instead of duplicating much
1009 (EnsureCellVisibility): reinstate a bunch of this code, since we
1010 can't just set the scrollbar Value and expect to do all the work
1011 in the ValueChanged handler. Also, Call Update() after scrolling
1012 in one direction so the other XplatX11.ScrollWindow call has the
1013 proper stuff in the proper places.
1014 (EditCell): set is_editing to true before calling .Edit.
1016 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
1017 don't bother comparing first.
1018 (OnKeyPress): call grid.ColumnStartedEditing before calling
1019 base.OnKeyPress. this will set is_changing and invalidate the row
1020 header if necessary.
1021 (ProcessKeyMessage): for WM_CHAR messages, call
1022 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
1025 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
1026 it's done in the DataGrid.
1027 (NextState): call grid.ColumnStartedEditing, which takes care of
1028 invalidating the row header (and setting is_changing).
1030 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
1031 here. it's done in the DataGrid.
1033 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 * Control.cs: allow changing the cursor when the mouse position is
1036 out of bounds but Capture is set.
1037 * LinkLabel.cs: handle the case when the mouse button is pressed on the
1038 linklabel but released somewhere else.
1040 2006-05-25 Jackson Harper <jackson@ximian.com>
1042 * TreeView.cs: When we get focus if there is no selected node make
1044 - Remove some uneeded setup code from Draw.
1045 * TreeNodeCollection.cs: If the tree doesn't have a top node when
1046 a new node is inserted make the new node the top.
1048 * Timer.cs: Use Utc time so that no local time zone stuff needs to
1049 be used (should be faster).
1051 2006-05-25 Chris Toshok <toshok@ximian.com>
1053 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
1054 problem with the last commit.
1056 2006-05-25 Chris Toshok <toshok@ximian.com>
1058 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
1059 need the invalidate call here, while scrolling right-to-left via
1060 the left arrow key (i.e. moving the editing cell while scrolling).
1062 * DataGrid.cs (.ctor): remove the initialization of
1063 ctrl_pressed/shift_pressed. We no longer track them using key
1064 up/down handlers, but by using Control.ModifierKeys. Also, switch
1065 to using ValueChanged handlers on the scrollbars instead of
1066 Scrolled event handlers. This simplifies a bunch of the scrolling
1068 (GridHValueChanged): rename from GridHScrolled, and change it to
1069 work with the new event args.
1070 (GridVValueChanged): same.
1071 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
1072 (OnMouseWheel): actually scroll the datagrid. Don't change the
1074 (ProcessGridKey): correct all the keyboard navigation stuff I
1075 could find. Ctrl up/down/left/right/home/end work now.
1076 (EnsureCellVisibility): correct method name spelling. Also,
1077 simplify this a touch by not explicitly calling the
1078 ScrollToRow/ScrollToColumnInPixels methods. We just set the
1080 (OnKeyUpDG): no need for this method now.
1082 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1084 * LinkLabel.cs: display the OverrideCursor when hovering the label.
1087 2006-05-25 Chris Toshok <toshok@ximian.com>
1089 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
1092 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1094 * Application.cs: Moved setting of is_modal and closing to before
1095 we create the control, to allow the event handlers called as a
1096 result of creation affect closing. Also removed Gonzalo's previous
1097 change to setting DialogResult, the behaviour has been moved to
1100 - ShowDialog(): Removed explicit creation of the form, let RunLoop
1102 - ShowDialog(): If no dialog result is set, we need to return Cancel
1103 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
1104 the close is cancelled
1106 2006-05-25 Jackson Harper <jackson@ximian.com>
1108 * StatusBar.cs: We only need to update the sizes of the other
1109 panels when we have auto size contents. Also we are only updating
1110 the contents of the panel, not the borders, so compensate for the
1111 border width (TODO: get this width from the theme somehow).
1112 * TreeView.cs: Scrollable is true by default
1113 - Use invalidate instead of refresh where needed
1114 - Factor the scrollable value into scrollbar updating
1115 - Update the scrollbars if the Scrollable property is altered
1116 - Update the selected node if its ImageIndex is changed
1117 - Handle null nodes in UpdateNode (mainly so we don't have to
1118 check if selected is null when updating it
1119 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
1120 are factored into the visible count
1121 - Use VisibleCount for clarity in the code
1122 - When the font is changed we need to recurse through all the
1123 nodes and invalidate their sizes
1125 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * Application.cs: set the DialogResult to fixed when the main form is
1128 hidden or destroyed while being modal.
1130 2006-05-25 Miguel de Icaza <miguel@novell.com>
1132 * Theme.cs: Use Tangoified messagebox icons.
1134 (GetSizedResourceImage): Also cope with width = 0 and do not
1135 trigger a warning in that case (0 means "give me your icon from
1136 the resouce, no special size needed).
1138 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1140 * Application.cs: Leave runloop if the the main modal form is
1141 hidden (fixes #78484)
1143 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
1145 * BindingContext.cs : reject null datasource in Contains() and
1147 * CurrencyManager.cs : check data_member validity when data_source
1148 is dataset. When it is late binding, the initial position is -1.
1150 2006-05-24 Jackson Harper <jackson@ximian.com>
1152 * TreeNodeCollection.cs: Dont't recalculate the visible order on
1153 inserted nodes that aren't visible. This changes the
1154 max_visible_order which confuses scrollbar settings.
1155 - Use the enumerator to get the prev node instead of duplicating
1157 * TreeView.cs: Use new method for setting scrollbar values
1158 - Don't set the bounds every time the scrollbar is updated
1159 - When updating below the root node use an invalidate instead of a
1160 refresh to prevent the child controls (scrollbars) from being
1161 refreshed. (UpdateBelow still needs to be reworked anyways).
1162 - Reenable SetBottom now that visible orders are set correctly,
1163 added some debug code incase we ever get bad values there again.
1164 - Set the scrollbar max to 2 less then the max value, this
1165 compensates for the max value being one above the node count, and
1166 for scrollbars adding one extra "notch".
1167 - When drawing image nodes if there is an imagelist we draw the
1168 first image in the list if the supplied image index is out of the
1169 image list's bounds.
1171 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1173 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
1174 we receive a size change from the WM (Fixes #78503)
1176 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1178 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
1179 rectangle (Fixes #78501)
1181 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1184 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
1186 - Fixed MouseMove to no longer switch pressed state unless the left
1187 mouse button is pressed. Atsushi provided the original patch (#78485)
1189 2006-05-24 Jackson Harper <jackson@ximian.com>
1191 * ScrollBar.cs: New internal methods that allow us to change a
1192 couple values on the scrollbar (the most common case is maximum
1193 and large change) without getting multiple invalidates.
1195 2006-05-24 Chris Toshok <toshok@ximian.com>
1197 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
1198 (Edit): save off the original state in oldState, and set
1199 grid.is_editing to true.
1200 (OnKeyDown): abort editing if escape is pressed. also, call
1201 NextState if space is pressed.
1202 (OnMouseDown): call NextState.
1203 (NextState): factor out shared code from OnKeyDown and OnMouseDown
1204 here. Also, only invalidate the row header once (on the initial
1205 is_changing switch) to save on redraws.
1207 2006-05-24 Chris Toshok <toshok@ximian.com>
1209 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
1210 if the value in the cell is different than it was before. This
1211 keeps us from triggering a layout when we move around a datarid
1212 with a highlighted cell.
1213 (Edit): suspend layout when creating/positining the text box, and
1214 resume passing false so we don't ever actually re-layout.
1215 (ReleaseHostedControl): same.
1216 (EnsureTextBox): reformat slightly, and set WordWrap to false.
1218 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
1219 control-key sequences should go to the datagrid - remove that
1220 lock. Also, modify the conditions under which we move between
1221 cells when moving the cursor within a cell, and remove the "this"
1222 and "base" from field accesses. We weren't even consistent, given
1223 they all were in the base class.
1225 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
1227 * Binding.cs : (.ctor)
1228 An obvious NRE fix for BindingTest.CtorNullTest().
1230 2006-05-23 Chris Toshok <toshok@ximian.com>
1232 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
1233 them between lines. This fixes some quirks editing cells in the
1236 2006-05-23 Jackson Harper <jackson@ximian.com>
1238 * TreeView.cs: Use begin/end update when doing expand/collapse all
1239 so that we don't get flicker on the scrollbar.
1241 2006-05-23 Jackson Harper <jackson@ximian.com>
1243 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
1244 treenode calculations to be independant of the painting code. To
1245 do this nodes track a visible order which is calculated by the
1247 - Call new methods for expanding/collapsing nodes. These methods
1248 use scrollwindow so we don't have to update everything below the
1250 * TreeView.cs: Refactored drawing and scrolling code. We don't
1251 need to update nodes when drawing anymore or calculate scrollbar
1253 - Added new methods for expanding/collapsing nodes. These methods
1254 use ScrollWindow so as to not have to redraw all the nodes below.
1255 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
1256 we add/remove nodes or sort.
1257 - Handle removing the selected and the top node properly.
1259 2006-05-23 Chris Toshok <toshok@ximian.com>
1261 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
1262 maybe this should actually happen in the datagrid code?
1263 (EndEdit): no need to invalidate anything, given that
1264 ReleaseHostedControl causes the datagrid to relayout, which
1265 invalidates everything anyway.
1267 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
1269 (set_SelectionBackColor): call InvalidateSelection instead of
1271 (set_SelectionForeColor): same.
1272 (BeginEdit): Flesh this out a bit.
1273 (CancelEditing): only do any of this if we're editing/adding.
1275 (OnMouseDown): there's no need to cancel editing here, it's done
1277 (SetCurrentCell): only invalidate the current row header if it's a
1278 different row than the new one.
1279 (ShiftSelection): fix this to work like MS does.
1280 (ResetSelection): factor out the invalidation of selected_rows to
1281 InvalidateSelection.
1282 (SetDataSource): cancel any editing that's going on.
1284 * DataGridColumnStyle.cs
1285 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
1286 call the non-interface version.
1288 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
1289 header rectangle with the clip rectangle so we don't redraw the
1290 entire header for just a small area. Gets rid of the last flicker
1291 when horizontally scrolling.
1292 (DataGridPaintRow): same.
1294 2006-05-23 Mike Kestner <mkestner@novell.com>
1296 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
1297 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
1298 poorly placed checkbox on the MS control. Fixes Alex's unfiled
1299 Critical bug report.
1301 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1303 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
1304 and this fixes #78493
1306 2006-05-23 Miguel de Icaza <miguel@novell.com>
1308 * Theme.cs (GetSizedResourceImage): Scale images if the proper
1311 * FileDialog.cs: Do not change the background for the side bar as
1312 it wont work nicely with the theme, and also reduces the artifacts
1313 in rendering the icons (which I want to fix too).
1315 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
1316 resources, not resgen resources.
1318 (PlatformDefaultHandler): Pull images using the new API.
1320 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1322 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
1323 a reference to the hwnd and will not remove it unless there are
1324 no pending exposures (fixes #78341)
1325 * XplatUI.cs: Improved debug
1327 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
1329 * MenuAPI.cs : don't handle OnClick event when it was not the left
1330 button. Fixed bug #78487.
1332 2006-05-23 Mike Kestner <mkestner@novell.com>
1334 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
1335 prefer submenus to the top menu for item lookup, to avoid popping down
1338 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
1340 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
1341 Graphics.FillRectangle as the visual results are really bad (even
1342 on win). We now draw perfect arrows (and perfect shadows when the
1343 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
1344 Pen.DashPattern to draw the dots of each line.
1346 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
1348 * FileDialog.cs: Update the filename combobox when navigating through
1349 the ListView with the cursor keys. Fixes part 7 of bug #78446.
1351 2006-05-22 Mike Kestner <mkestner@novell.com>
1353 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
1356 2006-05-22 Mike Kestner <mkestner@novell.com>
1358 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
1359 requests. Fix a misspelled parameter and a copy paste exception error
1362 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
1364 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
1365 to get the same width/height (5/13) on X11 as the default font has on
1366 win32. This means that our DefaultFont emSize is smaller than the
1367 the MS SWF equivalent (even thought the width/height stays the same)
1369 2006-05-20 Jackson Harper <jackson@ximian.com>
1372 * MdiWindowManager.cs:
1373 * InternalWindowManager.cs: Make sure to use the border width from
1376 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
1378 * PrintDialog.cs: Implements printer details
1380 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
1382 * FileDialog.cs: Added focus handling for PopupButtonPanel.
1383 Fixes part 1 and 2 of bug #78446
1385 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
1387 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
1388 instead of sticking to the first ever calculated value
1390 2006-05-19 Mike Kestner <mkestner@novell.com>
1392 * ComboBox.cs: fix mouse motion selection to use MousePosition and
1393 PointToClient, since Capture is set. Fixes #78344.
1395 2006-05-19 Mike Kestner <mkestner@novell.com>
1397 * ListView.cs: match MS behavior in Details view where items are not
1398 drawn if Columns.Count == 0.
1399 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
1400 Use a separate pen to draw the check, since changing the width affects
1401 the box as well. Fixes #78454.
1403 2006-05-18 Miguel de Icaza <miguel@novell.com>
1405 * ListView.cs: ArgumentOutOfRangeException, single versions of the
1406 exception should throw the name of the invalid argument.
1408 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
1409 there are no files listed.
1411 2006-05-18 Jackson Harper <jackson@ximian.com>
1413 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
1416 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1418 * Control.cs: Brought back our old UpdateZOrder method as a private
1419 function and switched our calls from UpdateZOrder to the new one.
1420 This fixes the Paint.Net canvas disappearing bug.
1422 2006-05-18 Jackson Harper <jackson@ximian.com>
1425 * ThemeWin32Classic.cs:
1426 * InternalWindowManager.cs: Move the drawing into the theme,
1427 expose everything the theme should need from the window manager.
1429 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1431 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
1432 from the call to NativeWindow to avoid walking up the parent chain
1433 further than needed (speeds up setting cursors and avoids setting
1434 the wrong cursor if a parent has another cursor defined)
1435 * Cursor.cs: When loading an icon as cursor, MS uses the center of
1436 the icon as hotspot, not what's contained as hotspot in the icon
1437 file. This fixes the perceived drawing offset seen with Paint.Net
1439 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1442 - Store the calculated rectangle in Hwnd object and use it when
1443 setting the client size
1444 - Force Toolwindows to always be type Dock, to ensure they're on top
1446 2006-05-18 Mike Kestner <mkestner@novell.com>
1448 * ComboBox.cs: first pass at ComboBox rework. Layout is more
1449 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
1450 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
1451 Substantial refactoring to remove confusing nested classes. Coding
1452 standard and Get+Set->property refactorings. Shift to index based
1453 highlighting in ComboListBox instead of constantly using IndexOf and
1454 Items[]. Add invalidations on resize for DropDownList to fix ugliness
1455 in FileDialog growth. Draw borders manually since Simple mode needs
1456 to look like two independent controls. Make listbox border
1457 conditional to DropDownStyle. Improved OwnerDraw support.
1459 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
1461 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
1462 Don't set the disposed graphics to null, so we can throw the "right"
1463 exception if the graphics is reused later (added a flag to avoid
1464 double disposing). Some behaviours are different under 2.0 and are
1465 filled under bug #78448.
1467 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1469 * Control.cs: When double-buffering is enabled, we need to reset
1470 our graphics context between paint calls. Otherwise, any
1471 transformations and other alterations on the context will
1472 become cumulative (#77734)
1474 2006-05-18 Mike Kestner <mkestner@novell.com>
1476 * ListView.cs: do focused item selection like MS on clicks.
1477 Rework focus handling for ItemControl so LostFocus invalidates as
1479 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
1480 the ListView ItemControl has focus.
1482 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
1484 * XplatUIX11.cs: If client_window ends up being width or height zero
1485 due to border settings, move it off window inside whole_window (#78433)
1487 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1489 * Mime.cs: Shrink the mime file cache correctly.
1491 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1493 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
1495 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1497 * XplatUIX11.cs (AddExpose): More sanity checks
1499 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1502 - AddExpose: Don't add expose ranges outside the size of our
1504 - Cast opacity values to Int32 to avoid crashes with certain
1506 - Added disabled code paths that protect against illegal cross-
1507 thread painting (Developers.exe)
1509 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1511 * ProgressBar.cs: Invalidate the control when it's resized
1512 since block size is based on control size. (#78388)
1514 2006-05-16 Miguel de Icaza <miguel@novell.com>
1516 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
1517 of setting the incoming argument to the "reset" value, we set the
1518 this.datamember to string.empty (before we were invalidating the
1523 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1525 * Form.cs: Only apply transparency settings after the form
1526 is created. (Fixes #77800)
1528 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1530 * ApplicationContext.cs: Grab the HandleDestroyed event so
1531 we know when to fire OnMainFormClosed
1533 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1535 * Application.cs: Introduced sub-class to allow tracking of
1536 threads and centralized triggering of the event mess for
1537 ThreadExit, AppExit, etc.. (#76156)
1539 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
1542 - Do not return a null icon index value for a mime subclass.
1543 Instead try the main mime type class too.
1544 - Seems that some newer distributions don't have a link to some
1545 gnome default icons anymore. So check the default gnome dir too.
1548 2006-05-16 Jackson Harper <jackson@ximian.com>
1550 * MdiClient.cs: Don't paint the parent background image if we have
1551 our own background image.
1553 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1556 - PerformLayout: Do not shrink space filled by DockStyle.Fill
1557 controls, all filled controls are supposed to overlap (#78080)
1558 - UpdateZOrder is supposed to update the control's z-order in the
1559 parent's z-order chain. Fixed to behave like that
1560 - BringToFront: Removed obsolete code
1561 - SendToBack: Simplyfied
1562 - SetChildIndex: Trigger layout calculations when Z-order changes
1563 since layout is done by z-order
1565 2006-05-16 Chris Toshok <toshok@ximian.com>
1567 [ fixes bug #78410 ]
1568 * DataGrid.cs (set_AlternatingBackColor): use
1569 grid_drawing.InvalidateCells instead of Refresh().
1570 (set_BackColor): call grid_drawing.InvalidateCells.
1571 (set_BackgroundColor): use Invalidate instead of Refresh.
1573 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
1574 invalidate the cell area.
1576 2006-05-15 Chris Toshok <toshok@ximian.com>
1578 [ fixes bug #78011 ]
1579 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
1580 on to DataGridPaintRow.
1581 (DataGridPaintRow): take a clip argument, and only draw the cells
1582 which intersect it. same with the not_usedarea.
1584 * Theme.cs (DataGridPaintRow) add @clip parameter.
1586 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
1587 XplatUI.ScrollWindow.
1588 (ScrollToRow): same.
1590 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
1591 with last column which was causing a gray swath to appear with the
1592 XplatUI.ScrollWindow code.
1594 2006-05-15 Chris Toshok <toshok@ximian.com>
1596 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
1597 use XplatUI.ScrollWindow.
1598 (VerticalScrollEvent): use XplatUI.ScrollWindow.
1600 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1602 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
1604 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1606 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
1607 file since there are no equivalent X11 cursors
1609 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1611 * MonthCalendar.cs : DateTimePicker should reflect selected date
1612 on mouse*up*, not mouse*down*. Fixed originally reported part of
1615 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1617 * TabControl.cs : When argument index is equal or more than tab
1618 count, just ignore. Fixed bug #78395.
1620 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1622 * Control.cs: Dispose all child controls when control is diposed (#78394)
1624 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1626 * ColorDialog.cs: Finally it is possible to select the color with
1629 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1631 * PrintDialog.cs: Fix typo
1633 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1635 * PrintDialog.cs: PrintDialog is not resizable
1636 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
1637 color. Made some ToolBar drawing methods protected virtual.
1639 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
1641 * PrintDialog.cs: Implementation of the PrintDialog
1643 2006-05-12 Chris Toshok <toshok@ximian.com>
1645 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
1646 thumb, instead use MoveThumb. This has the side effect of making
1647 most of the other thumb moving machinery use MoveThumb as well.
1648 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
1649 need to actually invalidate the rectangle where the new thumb will
1651 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
1652 We force an Update() after, so it's not as fast as it could be,
1653 but at least there's zero flicker and no droppings.
1654 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
1655 (UpdateThumbPos): add another argument (dirty), which says whether
1656 or not to calculate/add dirty regions which we later invalidate.
1657 For cases where we know we're going to use MoveThumb, we pass
1658 false for this. Otherwise, pass true.
1660 2006-05-12 Jackson Harper <jackson@ximian.com>
1662 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
1665 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
1667 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
1668 and GetClipRegion methods and UserClipWontExposeParent property.
1669 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
1670 overriding UserClipWontExposeParent property, setting to false, since
1671 Win32 handles the required expose messages to draw our clipped parent
1673 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
1674 PaintEventStart to set the user clip region if set.
1676 - Now internally tracking the Region for the control since we need to
1677 store it if the handle is not yet created and only set it when it
1678 becomes created. Before setting the region forced handle creation
1679 - Added code to draw the parents underneath a user-clipped region
1680 * Hwnd.cs: Added UserClip property
1682 2006-05-12 Chris Toshok <toshok@ximian.com>
1684 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
1685 (set_Maximum): same.
1686 (set_Minimum): same.
1687 (set_SmallChange): same.
1688 (OnMouseUpSB): remove the call to refresh when releasing the
1689 thumb. We shouldn't need it.
1691 2006-05-12 Miguel de Icaza <miguel@novell.com>
1693 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
1694 AutoSize set to None, we do not need to relayout everything, we
1695 just need to invalidate the current region.
1697 (Draw): Do not draw the entire ClientArea, just redraw the
1698 clip area being passed.
1700 * MdiClient.cs: Make MdiClient constructor with the Form argument
1703 2006-05-12 Jackson Harper <jackson@ximian.com>
1705 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
1706 parents background image, but strangely not their own.
1707 - (DrawStatusBarPanel): Take into account horizontal alignment
1708 when drawing the strings and icons.
1710 2006-05-12 Mike Kestner <mkestner@novell.com>
1712 * ListBox.cs: avoid invalidations for focus when the collection is
1715 2006-05-12 Chris Toshok <toshok@ximian.com>
1717 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
1718 invalidate the entire thumb area. Call InvalidateDirty which
1719 limits the redraw to the thumb itself and surrounding pixels.
1721 * XplatUIX11.cs (ScrollWindow): optimize copying.
1723 2006-05-12 Chris Toshok <toshok@ximian.com>
1725 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
1726 Figure out the positioning/layout in a single pass instead of
1727 multiple recursive invocations. Speeds up the initial display of
1728 the data grid. Also, make many things private that were
1729 originally public but unused outside this class.
1731 2006-05-11 Jackson Harper <jackson@ximian.com>
1733 * MdiClient.cs: Improved layout code.
1735 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
1737 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
1740 2006-05-11 Chris Toshok <toshok@ximian.com>
1742 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
1743 union of that will always be {0,0,width,height}.
1745 2006-05-11 Jackson Harper <jackson@ximian.com>
1747 * Form.cs: Match MS's DefaultSize for forms (they must have
1748 changed the size in sp2).
1750 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1752 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
1754 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1756 * TextControl.cs : Fixed bug #78109. This incorrect position
1757 comparison caused crash on automatic line split.
1758 * TextBoxBase.cs : reduce duplicate code.
1760 2006-05-10 Jackson Harper <jackson@ximian.com>
1762 * MdiClient.cs: Active form is only sent to the back when using
1763 the Next form functionality, when a form is clicked the current
1764 active shouldn't be sent to the back.
1765 - Layout the mdi windows when the container is first made visible.
1766 * Form.cs: Give the MdiClient a ref to the containing form when we
1769 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1771 * LinkLabel.cs : link_font could be uninitialized, so populate one
1772 before actual use. Fixed bug #78340.
1774 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1776 * XplatUIX11.cs : clipboard format native value is IntPtr.
1779 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1782 - Instead of showing context menus directly we send WM_CONTEXTMENU,
1783 which is passed up the parent chain by DefWndProc
1784 - We now handle WM_CONTEXTMENU to display any menu, or pass it
1785 to DefWndProc (#77956)
1786 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
1788 2006-05-10 Jackson Harper <jackson@ximian.com>
1790 * MdiClient.cs: We need to remove the controls from the mdi
1791 collection, when we close the window.
1792 * MdiWindowManager.cs: Special handling of closing mdi windows.
1793 * InternalWindowManager.cs: Make the close method virtual so the
1794 mdi window manager can handle it specially.
1796 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
1799 - Recalculate grid when the data source has changed
1800 - Matches styles provided by user from all data sources types
1801 * DataGridTableStyle.cs: For columns that provided by the user set the
1802 with the preferred value is there was unassigned.
1803 * CurrencyManager.cs: throw OnItemChanged event
1805 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1807 * PictureBox.cs: Don't animate until handle is created. Start animation
1808 when handle is created.
1810 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1812 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
1814 * XEventQueue.cs: We don't need to provide the extra info
1816 2006-05-10 Jackson Harper <jackson@ximian.com>
1818 * MdiClient.cs: If the mdi clients parent form has a background
1819 image set, we draw that background image for the mdi area's
1822 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1824 * TextBoxBase.cs: Set IBeam cursor (#78347)
1826 2006-05-10 Mike Kestner <mkestner@novell.com>
1828 * ToolBar.cs: fix some text padding issues with ButtonSize
1829 calculation. Update the default size to match MS documentation.
1830 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1831 button size. Fixes #78296.
1833 2006-05-10 Mike Kestner <mkestner@novell.com>
1835 * ListBox.cs: use is_visible for scrollbar positioning in case the
1836 control isn't on screen yet. Fix off by one with Right vs Width
1837 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1839 2006-05-10 Jackson Harper <jackson@ximian.com>
1841 * X11Dnd.cs: Drop to a control with another control on top of it.
1842 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1843 be modified in click handlers. TODO: Look for similar problems in
1846 2006-05-09 Jackson Harper <jackson@ximian.com>
1848 * Form.cs: Window managers need the old window state when setting
1850 * InternalWindowManager.cs: Allow the base mdi window manager to
1851 handle more of the MDI only stuff (like maximize buttons).
1852 * MdiWindowManager.cs: Fix some snafus in changing the window
1853 state. Add all the menu functionality, for both popup and
1855 * MdiClient.cs: When a new form is selected the currently
1856 activated form is sent to the back, this matches MS.
1857 - Implement a new method to activate the next mdi child window.
1859 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1862 - Added new InternalCapture method to allow controls to prevent
1863 the capture behaviour on the click handlers
1864 - Switched to use InternalCapture
1866 - Using InternalCapture to prevent mouse captures from being released
1867 on mouse button release (Fixes #78100)
1868 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
1869 returns Form borders if a caption is present. (Fixes #78310)
1871 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1873 * TreeNode.cs: Changed serialization .ctor to not require every field
1874 to be present. (#78265)
1875 * OwnerDrawPropertyBag.cs: Added serialization .ctor
1877 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
1879 * MimeIcon.cs: for is faster than foreach for strings.
1881 2006-05-05 Mike Kestner <mkestner@novell.com>
1883 * CheckedListBox.cs: update check handling code to not use selected.
1884 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1885 behavior for visual feedback, motion response, shift/ctrl handling,
1886 and properly deal with all 4 selection modes. Updates to bounds
1887 handling logic. Add scroll wheel support. [Fixes #77842]
1889 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1892 - Moved adding of Implicit controls into .ctor. That way, subsequent
1893 creation of the controls will not cause them to think they are
1894 toplevel windows (fixes #78200 header problem)
1895 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1896 - Switched visibility setting of header control to use internal field
1897 to avoid triggering handle creation
1898 - Now checking if handle is created before causing a refresh when items
1899 are added (This makes us now match handle creation time with MS)
1900 * Splitter.cs: Removed loading of private splitter cursor, switched to
1901 Cursors version now that that is loading the right ones
1902 * Cursors.cs: Load proper splitter cursors from resources
1903 * Cursor.cs: Added second method of loading resource cursors for the
1904 VS.Net users amongst us
1906 2006-05-05 Mike Kestner <mkestner@novell.com>
1908 * ListView.cs: give header_control a minimum size based on the
1911 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1913 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1914 window seems to do that with metacity, so set that type. (#78120)
1916 2006-05-05 Mike Kestner <mkestner@novell.com>
1918 * ListViewItem.cs: fix Details mode checkbox layout bug.
1919 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1920 at the end of the header, if it exists. [Fixes for #78200]
1922 2006-05-04 Jackson Harper <jackson@ximian.com>
1924 * MdiClient.cs: Add a helper property to get the container form.
1925 * MdiWindowManager.cs: We have to make sure to use the menu origin
1926 when drawing the icons and buttons, this fixes maximized window
1927 icons/buttons on win32.
1928 * InternalWindowManager.cs: Reset the restore captions when a
1929 window goes from Maximized to Minimized and vice versa. Move the
1930 DrawMaximizedButtons into the MdiWindowManager source, tool
1931 windows can't be maximized. NOTE: This could use a little
1932 refactoring if time ever permits.
1934 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1936 * TextBox.cs: Add MWFCategoryAttributes
1937 * TextBoxBase.cs: Add MWFCategoryAttributes
1938 * Form.cs: Add MWFCategoryAttributes
1940 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1942 * Control.cs: Add MWFCategoryAttributes
1943 * ScrollableControl.cs: Add MWFCategoryAttributes
1945 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1947 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1948 Divider is true. Fix a little glitch in PropertyToolBar
1951 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1954 - Dispose: Call base.Dispose, this causes the disposed event
1955 to be fired (and probably other, more important stuff)
1956 - SetVisibleCore: Set is_visible to true after creating the
1957 window so that the window still gets created invisible (if
1958 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1959 to generate a WM_ACTIVE message
1960 * Form.cs: Call Dispose when we want to destroy the window, instead of
1961 just destroying the handle (Dispose will do that for us)
1963 - RootWindow also needs a queue, so we can properly process the
1964 property change events from RootWindow (like Activate)
1965 - Generatic synthetic WM_ACTIVE message when the active window is
1968 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1970 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1973 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1975 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1976 for determining width and height (image might not be assigned if
1977 we're drawing an imagelist)
1979 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1981 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1982 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1984 * Theme.cs: No longer returns hardcoded menu height, instead calls
1986 * Form.cs (OnLoad): Scaling happens before triggering Load events
1989 2006-05-01 Mike Kestner <mkestner@novell.com>
1991 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1993 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1995 * TextBoxBase.cs: Removed Fixme
1996 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1998 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
2001 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
2002 the rectangle relative to the parent, considering borders. We
2003 don't really want that.
2004 - ScrollWindow: Fixed warning to be more understandable
2005 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
2006 scrollbars and scroll only the visible area
2007 * RichTextBox.cs: Removed debug output
2009 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2011 * NumericUpDown.cs (Text): Just use base
2012 * UpDownBase.cs: Ensure txtView is created before using it
2014 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2016 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
2017 casting to IntPtr to avoid 64bit overflow errors
2019 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2022 - AllowDrop: Don't force handle creation.
2023 - CreateHandle: Added call to tell driver if we're allowed to drop
2025 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2027 * FileDialog.cs: Remember the last directory not only for the
2028 current instance but also for new FileDialog instances.
2030 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2032 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
2033 broke sending async messages
2035 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2038 - ScrollWindow: Fixed method. We finally generate expose events again
2039 for scrolled areas. This was causing 'garbage' when scrolling
2040 textbox and other controls that used ScrollWindow
2041 - Switched from using the regular queue for paint events to the MS
2042 model of 'generating' paint events when the queue is empty.
2043 We use the new XQueueEvent.Paint subclass to store which windows
2045 - AddExpose now takes the x/y/width/height of the exposed area
2046 and inserts the window into the paint queue if not already there
2047 - InvalidateWholeWindow: Switched to use new AddExpose method
2048 - UpdateMessageQueue: Added which queue to monitor for paint events
2049 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
2050 the unlikely case nothing above handles it. We reset the expose
2051 pending states to get them off the queue.
2052 - GetMessage: Now pulls a paint event if no other events are in the
2054 - Invalidate: Switched to new AddExpose method
2055 - PeekMessage: Updated to understand pending paint events
2056 - UpdateWindow: Fixed logic bug. We were only updating if the window
2057 didn't need updating. Also switched to sending WM_PAINT directly,
2059 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
2060 and random access Remove(). The random access is needed to handle
2061 UpdateWindow() where a WM_PAINT is sent directly without accessing
2063 * ScrollBar.cs: Added Update() calls to cause immediate updates to
2064 allow for better feedback when scrolling. Scrollbars are small and
2065 the immediate update should make it 'feel' more responsive without
2066 slowing things down. ScrollBar still needs it's invaliate logic
2067 updated to not always invalidate the whole bar on certain changes.
2069 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2072 (BackColor): if the control does not support a transparent background,
2073 return the default backcolor when the parent backcolor is transparent.
2075 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
2077 * Application.cs: Updated to new StartLoop/GetMessage API
2078 * RichTextBox.cs: Provide some output on RTF parsing errors
2079 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
2080 new queue_id argument to GetMessage and PeekMessage to allow faster
2081 handling of per-thread queues in drivers.
2082 * Hwnd.cs: Added Queue tracking and property
2083 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
2084 * XEventQueue.cs: Added thread trackingA
2085 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
2087 - Implemented new per-thread queue
2088 - GetMessage: Fixed return/break behaviour on several cases. We were
2089 returning stale messages in some cases, instead of just processing
2092 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2094 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
2096 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
2098 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
2099 fixed off-by-one comparisons between Width/Height and Right/Bottom.
2101 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2103 * PropertyGridView.cs: Fix drop down width.
2105 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2107 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
2108 a mess in DrawToolBar, so I removed one of them.
2110 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2112 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
2113 needed (clip). Otherwise we get artifacts.
2115 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2117 * FixedSizeTextBox.cs: Added constructor to allow specifying which
2119 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
2120 and switched FixedSizeTextBox to only be fixed vertical (#78116)
2121 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
2122 if it matches the scale base font (avoids unneeded scaling)
2124 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2126 * X11DesktopColors.cs: One gtk_init_check should be enough
2128 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2130 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
2133 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2136 - Generate OnTextChanged for Backspace even if we're only deleting
2137 the current selection
2138 - When setting the Text property, only select all text if the
2139 control does not have focus when it is being set. Otherwise
2140 just place the cursor at the beginning of the control
2142 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2144 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
2145 Added a little helper to draw PropertyGrid ToolBar with a different
2146 border and a different BackColor.
2147 * PropertyGrid.cs: Some background parts didn't get painted with the
2148 correct background color. Added a class that helps us to draw the
2149 correct border for PropertyGridView and a class that helps us to
2150 draw ToolBars with a different backcolor
2151 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
2153 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
2155 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
2156 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
2158 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2160 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
2161 into the palette entries. Also, since we're working on a copy
2162 we needed to copy the palette back onto the bitmap.
2163 * Cursor.cs: Same fix as XplatUIWin32.cs.
2165 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2167 * ImageListStreamer.cs: Need to read the var (or we're off)
2169 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2171 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
2172 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
2173 TextBoxBase.cs: Unused var fixes
2174 * AxHost.cs: Small 2.0 fix
2175 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
2176 as it seems that is what at least Metacity expects. This will make
2177 icons show up on 64bit platforms. We still have some 64bit size
2178 issues, though, since the startup app window size still won't match.
2180 2006-04-25 Mike Kestner <mkestner@novell.com>
2182 * *.cs: cleanup newly reported exception var unused warnings.
2184 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2186 * ThemeWin32Classic.cs: Button image alignment now matches exactly
2189 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2191 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
2192 image. The image position is always the same, no matter if the
2193 button is pressed or not.
2195 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2197 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
2198 selection and set the correct filename for SaveFileDialog.
2199 Patch by Emery Conrad.
2201 2006-04-24 Mike Kestner <mkestner@novell.com>
2203 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
2204 check for item.X outside the ClientRect instead of item.Y. Fixes
2207 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2209 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
2210 trust that value blindly and do some sanity check. Fixes bug #77814.
2212 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2214 * ImageListStreamer.cs: save the mask as a 1bpp image.
2216 2006-04-21 Mike Kestner <mkestner@novell.com>
2218 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
2219 pass Checked and Indeterminate to the Theme Engine. Improve
2220 encapsulation with ListBox.
2221 * ListBox.cs: Keep a StringFormat instead of calculating it every item
2222 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
2223 nested types. Move all CheckState functionality to CheckedListBox.
2224 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
2225 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
2226 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
2227 single base list. Fix scrollbar sizing and placement to mirror MS.
2228 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
2230 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
2231 for CheckedListBox by using new DrawItemState info. Center the
2232 checkboxes on the items. Use new StringFormat property.
2234 2006-04-18 Jackson Harper <jackson@ximian.com>
2236 * Form.cs: MdiChildren don't do default locations the same way as
2237 regular forms. This prevents a crash when trying to position the
2240 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
2242 * PropertyGridTextBox.cs: Formatting, copyright
2243 * PropertiesTab.cs: Formatting
2244 * PropertyGrid.cs: Formatting
2245 * PropertyGridView.cs: Formatting, fix drop down, enabled double
2246 click toggling of values
2248 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
2250 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
2251 * Control.cs (.ctor): verify_thread_handle is static, don't reset
2252 every time a control is created
2253 * Application.cs: Removed obsolete EnableRTLMirroring method
2255 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
2257 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
2258 SelectedIndex to -1. Fixes bug #78121.
2260 2006-04-17 Jackson Harper <jackson@ximian.com>
2262 * Binding.cs: Handle null values for Current and BindingContext.
2263 This occurs when binding is a little delayed.
2264 * CurrencyManager.cs: return null for Current when there are no
2266 - Hookup to the listchanged event on the DataView and update
2267 bindings when the list is changed. This fixes late binding of
2270 2006-04-17 Jackson Harper <jackson@ximian.com>
2273 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
2276 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
2278 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
2280 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
2281 with the correct ButtonState
2283 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
2285 * XplatUIX11.cs: Improved distinguishing between window types to
2286 tell the WM a type closer to what the app wants (Fixes #78107)
2288 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2290 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
2293 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2295 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
2296 drawing code to reflect the size grip changes
2298 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2300 * ImageListStreamer.cs: fix handling of the mask that follows the main
2301 bitmap when deserializing and serialize it properly. The generated mask
2302 should better be a 1bpp image, but I'll do that later.
2304 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2306 * FileDialog.cs: Show something in the DirComboBox on *nix if the
2307 path doesn't fit into some of our Current.Places
2309 2006-04-13 Jackson Harper <jackson@ximian.com>
2311 * ComboBox.cs: Use borders instead of drawing our own decorations,
2312 try to obey correct rules for heights.
2315 * ThemeClearLooks.cs:
2316 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
2317 this is now handled by borders.
2318 - Remove unused DrawListBoxDecorationSize method.
2320 2006-04-13 Mike Kestner <mkestner@novell.com>
2322 * MenuAPI.cs: null guarding for the disbled click check fixes crash
2325 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2327 * ThemeWin32Classic.cs:
2328 - Fixed CPDrawStringDisabled
2329 - Corrected drawing of disabled menu items
2330 - Fixed drawing of disabled radio buttons (bug #78095)
2331 - Draw check in a disabled CheckBox with color ControlDark
2333 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2335 * Form.cs: Use the provided width when calculating the menu size;
2336 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
2337 and ClientSize.Width won't be updated yet
2338 * Application.cs: Use Visible instead of Show() to make form visible,
2339 this way we create the handle later and menusize is considered
2341 2006-04-12 Mike Kestner <mkestner@novell.com>
2343 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
2346 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2348 * TextBox.cs: Implemented context menu
2350 2006-04-12 Mike Kestner <mkestner@novell.com>
2352 * ListView.cs: implement box selection. fixes #77838.
2353 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
2355 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2357 * XplatUIX11.cs: Added setting of window type when transient window
2358 is created (metacity would move it otherwise)
2359 * X11Structs.cs: Added WINDOW_TYPE atoms
2360 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
2361 background (the control is Opaque but still wants transparent
2364 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2366 * Control.cs: Added OnPaintBackgroundInternal to allow controls
2367 that set Opaque but don't mean it (like all ButtonBase-derived
2368 controls) to still draw their background
2369 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
2372 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2374 * Control.cs (PaintControlBackground): Set the graphics object
2375 on our PaintEvent to null to prevent it from being disposed
2376 when the PaintEvent gets disposed
2378 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
2380 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
2381 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
2383 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2386 - Added transparency check to BackColor property. Transparent
2387 backgrounds are only allowed if the control styles permit it
2388 - Added recursive painting of parent control background and
2389 foreground if a control with a transparent backcolor is drawn
2390 (Thanks to Tim Ringenback for providing his 'hack' as a base
2391 for this patch) Fixes #77985 and #78026.
2392 - Added Opaque style check before calling OnPaintBackground, no
2393 need to draw the background if the control is opaque
2394 - Removed ControlAccessibleObject owner variable (inherited from
2395 base, no need to define again)
2396 - Added some documentation links explaining the drawing events
2399 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2401 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
2402 that the affected control is the located at the left border of our
2403 parent (Fixes #77936)
2405 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2407 * TextBoxBase.cs: When rendering disabled or readonly controls,
2408 draw the background with 'Control' instead of 'Window' color as
2409 long as the user hasn't specifically set a color
2411 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2413 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
2414 since that won't be updated if the user types text (only if it's
2415 programatically set)
2417 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2419 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
2420 layout changes do to app-triggered resizes will have the proper
2421 display rectangle for layout
2423 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
2425 * ThemeWin32Classic.cs:
2426 - Make use of the SystemBrushes and SystemPens wherever possible
2427 - Corrected some highlight colors
2428 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
2430 * Theme.cs: Added Empty field to CPColor struct
2432 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2434 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
2435 is displayed when calculating the display rectangle. Thanks to Mike
2436 for teaching me the err of my ways.
2438 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
2440 * ScrollableControl.cs:
2441 - Rewrote DisplayRectangle code, now returning the proper x/y coords
2442 (instead of 0,0) and we now return the real width/height instead of
2443 just the clientrectangle, adjusted for padding. The rectangle is
2444 now cached and created by the new CalculateDisplayRectangle method.
2445 - Created new CalculateDisplayRectange method, which basically does
2446 what get_DisplayRectangle() did originally, but now using the
2447 right edge instead of DisplayRectangle to determine the size of
2449 - get_Canvas(): Fixed it to properly calculate canvas for
2450 right/bottom controls which seem to be placed to the right/bottom
2451 of any controls that have a fixed location
2452 - Removed TODO that's taken care of
2453 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
2454 and SetDisplayRectLocation according to new MSDN2 docs
2455 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
2456 event when that is called, this is added for compatibility
2457 - ScrollControlIntoView(): Implemented.
2458 - Switched scrollbars to be implicit, they shouldn't be selectable
2459 * ContainerControl: Now that ScrollControlIntoView is implemented, we
2460 call it when the active control is set/changed
2461 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
2462 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
2463 implicit_control variable (used for native Win32 message generation)
2464 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
2465 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
2466 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
2467 * XplatUIStructs.cs: Added ScrollBarCommands enum
2469 2006-04-10 Jackson Harper <jackson@ximian.com>
2472 * CheckedListBox.cs:
2479 * PrintPreviewControl.cs:
2485 * UpDownBase.cs: Fixup base event overrides.
2487 2006-04-06 Mike Kestner <mkestner@novell.com>
2489 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
2490 all user-initiated value changes to min <= value <= max-thumbsz+1.
2491 (set_Value): check for vert/horiz when calculating new thumb position.
2492 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
2494 (OnMouseMoveSB): refactor the thumb dragging code and refine
2495 invalidation logic to reduce flicker.
2496 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
2497 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
2498 (UpdateThumbPosition): small code readability cleanup
2500 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
2502 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
2505 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2507 * ThemeNice.cs: Use a better graphics effect when a button is pressed
2509 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2511 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
2512 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
2513 This dramatically reduces the number of Pen.Dispose calls.
2514 Where possible call ResPool methods only once instead of calling it
2515 over and over again (for example for the same color).
2517 2006-04-06 Mike Kestner <mkestner@novell.com>
2519 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
2520 Also remove an unused private field on the collection. Fixes #77972.
2522 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2524 * ThemeNice.cs: Added ToolBar drawing code
2526 2006-04-06 Mike Kestner <mkestner@novell.com>
2528 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
2529 I'm assuming that means we need to look up the toplevel for the
2530 provided control. Fixes the crash trace in #77911 but exposes another
2531 crash in some strange reflection usage in NDocGui.
2533 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2535 * ThemeNice.cs: Gave it a little silver touch and added Images
2537 * FontDialog.cs: FontDialog is not resizable
2538 * FileDialg.cs: Added SizeGripStyle.Show
2540 2006-04-05 Jackson Harper <jackson@ximian.com>
2542 * KeyboardLayouts.cs: Remove warning.
2544 2006-04-05 Jackson Harper <jackson@ximian.com>
2546 * Control.cs: Enable OnPaintInternal so we can use it for drawing
2547 all of our controls instead of Paint +=.
2562 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
2563 use OnPaintInternal. Remove Width/Height and Visible checks in
2564 paint handler, this is done at a higher level now.
2565 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
2566 * PaintEventArgs.cs: Add a handled flag so controls that don't
2567 want anymore painting after OnPaintInternal can make sure OnPaint
2570 2006-04-05 Mike Kestner <mkestner@novell.com>
2572 * Form.cs: fix the menu WndProc hacks to respect the native enabled
2573 state of the form, so that we don't process events when Modal dialogs
2574 are up. Fixes #77922.
2576 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
2578 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
2581 2006-04-05 Mike Kestner <mkestner@novell.com>
2583 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
2585 2006-04-05 Mike Kestner <mkestner@novell.com>
2587 * ListView.cs (HeaderMouseMove): null guarding for the over column
2588 when setting up the drag_to_index. Fixes #78015.
2590 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2592 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
2593 in the taskbar. Transient windows seem to accomplish that.
2595 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2598 - Re-enabled CreateParams.X/Y code for FormStartPosition
2599 - Added code for manual placement when creating the Control
2600 - Incomplete patch to treat MDI forms differently when
2601 setting the ClientSizeCore. (Still need to figure out handling
2604 - When we're explicitly setting the X/Y position of a non-Child
2605 window, let the WM know. Metacity really wants this.
2607 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2609 * ThemeNice.cs: Added CPDrawButton
2611 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2613 * ThemeNice.cs: Changed the color for focused buttons and activated
2614 the arrows for small scroll buttons.
2616 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2618 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
2619 anymore. Changed some method modifiers to protected (virtual)
2620 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
2622 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
2623 Updated drawing of menus, buttons and progressbars; added
2626 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2628 * ImageListStreamer.cs: implemented serialization/deserialization
2631 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
2633 * ThemeWin32Classic.cs:
2634 - Removed all the DrawFrameControl stuff; CPDrawButton,
2635 CPDrawCheckBox and CPDrawRadioButton are now handled directly
2637 - Updated and corrected the drawing code of CPDrawButton,
2638 CPDrawCheckBox and CPDrawRadioButton to better match ms
2639 - Updated theme checkbox and radiobutton code to use the CP*
2642 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2644 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
2647 2006-03-31 Jackson Harper <jackson@ximian.com>
2649 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
2651 * UpDownBase.cs: Don't CreateGraphics manually, use a
2652 Refresh. Ideally we would invalidate the correct areas here.
2654 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2657 - We now track the mapping state of windows. If a window (or
2658 one of it's parents) is not mapped we no longer permit
2659 WM_PAINT messages to be generated since we'd otherwise get
2660 lots of BadMatch X errors. Jackson did all the work figuring
2662 - Destroying the caret if the window it's contained in is
2663 destroyed. Can't use regular DestroyCaret method since it
2664 might fall into a drawing function (trying to remove the
2665 caret) and with that generate new BadMatch errors. Again,
2666 Jackson tracked this down.
2667 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
2668 make sure we send the messages to all windows. (The old code
2669 would send the WM_DESTROY to the window, and then all child
2670 windows would be 'gone' because the WM_DESTROY handle lookup
2671 would no longer find the destroyed window)
2672 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
2673 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
2675 2006-03-31 Jackson Harper <jackson@ximian.com>
2677 * ScrollableControl.cs: Dont recalc if we are not visible.
2679 2006-03-31 Mike Kestner <mkestner@novell.com>
2681 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
2682 the visibility branch.
2684 2006-03-31 Jackson Harper <jackson@ximian.com>
2686 * ScrollBar.cs: Cap values when incrementing/decrementing.
2688 2006-03-31 Mike Kestner <mkestner@novell.com>
2690 * MenuAPI.cs: setup menu.tracker for popup/context menus.
2691 * ToolTip.cs: guard against timer expirations with no active control.
2692 Not sure why it happened.
2694 2006-03-31 Mike Kestner <mkestner@novell.com>
2696 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
2698 * ToolTip.cs: Position the tooltip based on where the cursor is at
2699 popup time, not at MouseEnter time. Add a Down state so that we don't
2700 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
2701 positioning offset. Lookup DisplaySize at positioning time, since it
2702 can theoretically change during invocation.
2703 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
2704 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
2706 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2708 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
2709 Fixes behaviour when the Text property of the box is String.Empty
2711 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2713 * XplatUIX11.cs: Only send mouseleave for our client windows, not
2714 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
2717 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2719 * FileDialog.cs: Visual enhancement for the popup buttons in
2722 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2724 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
2727 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
2729 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
2730 highlighted menu items to match ms
2732 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
2734 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
2736 2006-03-30 Mike Kestner <mkestner@novell.com>
2738 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
2739 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
2740 go active to account for HotLight to Selected transition.
2741 * MenuItem.cs: add internal Selected prop. Fill out the Status
2742 property by calculating it from item info. Add HotLight,
2743 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
2745 2006-03-30 Mike Kestner <mkestner@novell.com>
2747 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
2749 2006-03-29 Jackson Harper <jackson@ximian.com>
2751 * Form.cs: Implement TODO.
2753 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2755 * PrintPreviewDialog.cs: Implemented missing methods and events; still
2756 missing proper dialog setup in the constructor
2758 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2760 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
2762 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
2763 - Fixed ResetBindings and removed TODO
2764 - Added check for cross-thread calls to get_Handle()
2765 - Added Marshaller attribute for set_Font to satisfy class status
2766 * FontDialog.cs: Removed TODOs that seemed implemented
2767 * UpDownBase.cs: Removed unneeded TODO and Fixme
2768 * MessageBox.cs: Implemented support for Default button and removed TODO
2769 * FileDialog.cs: Removed obsolete TODO
2770 * DomainUpDown.cs: Removed obsolete TODO
2771 * ButtonBase.cs: Removed obsolete TODO
2772 * XplatUIWin32.cs: Removed obsolete TODO
2774 - Removed obsolete TODO
2775 - Calling CheckAcceptButton when the acceptbutton is changed to allow
2776 internal status updates
2777 - Making sure the active control is selected when the control is created
2778 * CurrencyManager.cs: Removed obsolete TODO
2780 2006-03-29 Mike Kestner <mkestner@novell.com>
2782 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
2783 of PrintPreviewDialog and RichTextBox.
2785 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2787 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
2788 DarkDark, Light and LightLight colors for a specific color
2789 * ThemeWin32Classic.cs:
2790 - Use Button drawing code to draw RadioButtons and CheckBoxes with
2792 - Make use of the new ResPool helper CPColor
2793 - Draw ProgressBar and StatusBar with correct 3D borders
2795 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2797 * ColorDialog.cs: Return selected color. Fixes bug #77940.
2799 2006-03-28 Mike Kestner <mkestner@novell.com>
2801 * ListView.cs: fix Icon layout to plan for scrollbar widths when
2802 calculating col/row counts.
2804 2006-03-28 Mike Kestner <mkestner@novell.com>
2810 switch to explicit interface method implementation for some methods
2811 corcompare identifies as inconsistent with MS.
2813 2006-03-28 Mike Kestner <mkestner@novell.com>
2817 add a few missing methods from the class status output.
2819 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
2821 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
2824 2006-03-28 Mike Kestner <mkestner@novell.com>
2826 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
2828 2006-03-27 Mike Kestner <mkestner@novell.com>
2830 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2831 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2833 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2835 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2837 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2839 * ThemeWin32Classic.cs:
2840 - GroupBox: Inserted a little gap between the text and the lines
2842 - Made the code in CPDrawBorder3D more readable
2843 - Corrected the drawing location of the up and down arrows in
2846 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2848 * ControlPaint.cs: Corrected line widths in DrawBorder for
2849 ButtonBorderStyle Inset and Outset
2851 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2853 * ThemeWin32Classic.cs:
2854 - Rewrote the totally broken CPDrawBorder3D method. That was
2855 one of the main problems for the terrific ThemeWin32Classic
2857 - Updated and corrected Button drawing
2858 - Correct the dimensions of the SizeGrip to match ms ones
2859 - Removed a small drawing glitch in DrawComboBoxEditDecorations
2860 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
2861 Border3DStyle.Sunken to match ms.
2863 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2865 * ThemeWin32Classic.cs: First small part of the "de-uglify
2866 ThemeWin32Classic" effort, SizeGrip
2868 2006-03-24 Jackson Harper <jackson@ximian.com>
2870 * XplatUIX11.cs: Give a max idle time of one second, this matches
2871 MS and forces an Idle event every second when there are no other
2872 events in the queue.
2874 2006-03-24 Mike Kestner <mkestner@novell.com>
2876 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
2877 * ListView.Item.cs: fix layout issues with null image lists and images
2878 smaller than checkbox size.
2879 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
2880 mode like MS does. It's weird, but consistent. ;-)
2883 2006-03-24 Mike Kestner <mkestner@novell.com>
2885 * ListView.cs: Scroll wheel support for the item control. Fixes
2888 2006-03-23 Jackson Harper <jackson@ximian.com>
2890 * ScrollableControl.cs: Special case negative sized areas, not
2892 * MonthCalendar.cs: Save the rect of the clicked date so we can
2893 use it for invalidation.
2894 - Try to cut down on the number of invalidates
2895 - Invalidate the rect the mouse is over and was over when moving
2896 the mouse, so we get the focus box following the cursor.
2898 2006-03-23 Mike Kestner <mkestner@novell.com>
2900 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2901 focus rectangle drawing. Fixes #77835.
2903 2006-03-23 Mike Kestner <mkestner@novell.com>
2905 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2906 the if and else if and reverting back to the original == check on the
2909 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2911 * FontDialog.cs: Update the example panel if the selected index of
2912 the fontListBox changes.
2914 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2916 * FileDialog.cs: Make FileDialog remember which directory it was in
2917 last in the same execution.
2919 2006-03-22 Mike Kestner <mkestner@novell.com>
2921 * FileDialog.cs: make the DropDownMenu on the toolbar display
2922 RadioChecks since they are mutually exclusive and that's what MS does.
2924 2006-03-22 Mike Kestner <mkestner@novell.com>
2926 * Theme.cs: add Color param to CPDrawMenuGlyph.
2927 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2928 checks and radio marks and arrows are visible on highlighted items.
2929 * ControlPaint.cs: update to use new Theme signature.
2931 2006-03-22 Mike Kestner <mkestner@novell.com>
2933 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2934 is active. Fixes #77870.
2936 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2938 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2939 to be focused/selected after startup
2941 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2944 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2945 CustomColors and ShowHelp properties
2946 - Some internal rewrites to get better results when using the
2949 2006-03-22 Mike Kestner <mkestner@novell.com>
2951 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2952 HoverSelection. Fixes #77836.
2954 2006-03-22 Mike Kestner <mkestner@novell.com>
2956 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2957 ToggleButtons. (De)Sensitize the Back button around a stack count of
2958 1, not 0. Update ButtonSize based on a pixel count of the win32
2959 control. Adjust the toolbar size/location for new button size.
2961 2006-03-22 Jackson Harper <jackson@ximian.com>
2963 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2965 * ScrollBar.cs: When doing increments and decrements we need to
2966 set the Value property so that ValueChanged gets raised. A
2967 possible optimization here would be to make an internal SetValue
2968 that doesn't invalidate immediately.
2969 * ToolTip.cs: Tooltips get added to their container (when
2970 supplied) so they get disposed when the container is disposed.
2971 - Don't create tooltips for String.Empty. This prevents all these
2972 little 2-3 pixel windows from showing up when running nunit-gui
2974 * Form.cs: Don't set topmost when setting the owner if the handles
2975 haven't been created yet. The topmost set will happen when the
2976 handles are created.
2978 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2981 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2982 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2983 visible (to allow them to recalculate their sizes)
2985 2006-03-21 Mike Kestner <mkestner@novell.com>
2987 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2988 methods. Removed a ton of redundant code. Still not really happy with
2989 the border rendering, but I think that's mainly because of the
2990 ControlDarkDark being black instead of a dark grey. Depending on how
2991 close we want to be, we might want to revisit those color choices.
2992 Among the new features added during the refactor were DropDownArrow
2993 pressed rendering, Disabled image rendering. Proper flat appearance
2994 boundary rendering. Removed the Divider and Wrapping dividers since I
2995 can't figure out any combination of themes and conditions to make the
2996 MS control draw a horizontal line on a toolbar despite what the
2997 Divider property docs indicate.
2998 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2999 conditions and incorrect layout. Updated to coding standard.
3000 * ToolBarButton.cs: refactored layout and positioning code from
3001 ToolBar to here. Invalidate wherever possible instead of forcing
3002 redraws of the whole toolbar.
3003 (Known remaining issues: explicit ButtonSize smaller than provided
3006 2006-03-21 Mike Kestner <mkestner@novell.com>
3008 * ContextMenu.cs (Show): use the position parameter instead of just
3009 showing at the MousePosition.
3011 2006-03-21 Jackson Harper <jackson@ximian.com>
3013 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
3014 control handle this.
3015 * TreeNodeCollection.cs: If we are clearing the root node we need
3016 to reset top_node so calcs can still happen.
3017 * ThemeWin32Classic.cs: This is a Flags so we need to check
3020 2006-03-21 Jackson Harper <jackson@ximian.com>
3022 * DataGrid.cs: Create columns when the binding context has been
3024 * X11Structs.cs: Keysyms are uints.
3025 - Add size to fix build.
3027 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
3029 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3031 - Added ResetMouseHover method to allow controls to retrigger
3032 hovering if they need it more than once
3033 - Implemented MouseHoverTime and MouseHoverSize properties
3034 * Timer.cs: Start() must reset the interval
3035 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
3038 2006-03-21 Jackson Harper <jackson@ximian.com>
3040 * X11Keyboard.cs: improved layout detection. Move the nonchar
3041 tables into this file.
3042 * KeyboardLayouts.cs: Move the tables into resource files.
3044 2006-03-21 Mike Kestner <mkestner@novell.com>
3046 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
3048 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
3050 * Mime.cs: Various speed optimizations. Looking up mime types
3051 is now 2 times faster than before
3053 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3055 * CreateParams.cs: Added internal menu field
3057 - Switched call order for UpdateBounds; now we always call
3058 the one that also takes ClientSize, and we're calculating the
3059 client size via driver method in the others. The previous
3060 method of tracking client size by difference wasn't working
3061 for forms where even the starting client size wouldn't match
3062 the overall form size (due to borders) (Part of fix for #77729)
3063 - CreateParams(): Do not use parent.Handle unless the handle is
3064 already created. Causes havoc with Nexxia and throws off our
3065 creation of controls
3067 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
3068 - Switched handling of ConfigureNotify over to new PerformNCCalc
3069 method (consolidates code)
3070 - Changed RequestNCRecalc to use new PerformNCCalc method
3071 - Added calls to RequestNCRecalc when menus and borders are changed
3072 to allow app to set NC size. (Part of fix for #77729) This matches
3073 when MS send a WM_NCRECALC on Win32 windows.
3074 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
3075 (Part of fix for #77729). This matches what MS does, they also
3076 send that message when the form is made visible.
3077 - XException.GetMessage: Improved usability of X errors by including
3078 a translation of the window into Hwnd and Control class
3079 - Improved debug info for window creation, reparenting and destruction
3080 - Created helper method WindowIsMapped() [Currently not used]
3081 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
3083 - CreateParams: Now setting our menu on the new internal menu field
3084 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
3085 avoid calculating the same property twice
3087 - Improved usability of ToString() for debugging purposes
3088 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
3089 determine the height of the menu, instead of just the font. This
3090 required to also create a graphics context and to keep a bmp
3091 around (for performance reasons)
3093 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3095 * MenuAPI.cs: Added OnMouseUp method
3097 - Now remembering the requested client size, avoids size errors
3098 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
3099 instead of base if the menu is active. This is required due to
3100 control now capturing and releasing on down/up and it would
3101 prematurely release our menu capture
3103 2006-03-17 Jackson Harper <jackson@ximian.com>
3105 * KeyboardLayouts.cs: Add the czech layouts.
3107 2006-03-16 Jackson Harper <jackson@ximian.com>
3109 * Control.cs: Use the viewport space when sizing not the controls
3110 client size, so things like ScrollableControl that effect the
3111 viewport size (when scrollbars are added) are computed correctly.
3112 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
3114 - Handle creating BindingManagers for null data sources.
3115 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
3116 source, otherwise when rows are added they are added to the 'fake'
3117 datasource and we will crash when trying to set the position in
3119 - Use Implicit scrollbars on the datagrid so they arent
3122 2006-03-16 Jackson Harper <jackson@ximian.com>
3125 * InternalWindowManager.cs:
3126 * MdiWindowManager.cs:
3127 * X11Keyboard.cs: I really want Mike to love me again (fix
3130 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3133 - OnMouseDown: Switch to editing mode when clicking on the cell
3134 even if we're clicking on the cell that's currently
3136 - ProcessGridKey: Left/Right now wrap like MS.Net does
3137 - ProcessGridKey: Tab now knows to add a new row when tab is
3138 pressed in the cell of the last column of the
3140 - ProcessGridKey: Enter now adds another row if pressed in the last
3141 row and selectes the new row, same column cell
3142 - ProcessGridKey: Home/End navigate columns, not rows, like
3143 originally implemented
3144 - Broke ProcessKeyPreview code out into an extra Internal method
3145 so it can be called from the edit code
3146 * DataGridTextBox.cs (ProcessKeyMessage):
3147 - Switched to accept Tab keypresses
3148 - Added F2 handling to allow jumping to the end of the edited cell
3149 - Added logic to allow moving caret left/right inside edited cell
3150 and making the edited cell jump when the caret hits cell borders
3151 - Tab and Enter are now passed to the datagrid after being handled
3153 - Removed capture code now that Control handles it
3154 - set_SelectionStart now ensures caret is visible
3156 2006-03-16 Jackson Harper <jackson@ximian.com>
3158 * TrackBar.cs: Debackwards the increment/decrement for handling
3159 mouse clicks on the bar with vertical trackbars.
3160 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
3163 2006-03-16 Mike Kestner <mkestner@novell.com>
3165 * ListView.cs: make shift/ctrl keyboard and mouse selection
3166 consistent with the MS control. Fix a bug in
3167 SelectedListViewItemCollection.Clear that was pissing me off for the
3168 better part of a day because the collection was being altered
3169 underneath us as we walked the list.
3171 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3173 * Control.cs: Not sure how we could miss this so long, but it seems
3174 that MS.Net has Capture set all the way from before calling
3175 OnMouseDown through sending the mouse events until after
3176 OnMouseUp. This will fix DataGrid's selection being set to end
3177 at the location of the MouseUp.
3179 2006-03-15 Jackson Harper <jackson@ximian.com>
3181 * BindingContext.cs: Check the binding after its added so that it
3182 can initialize the binding managers and hookup to events.
3183 * Binding.cs: Data members seem to sometimes include rows/cols in
3184 the format Row.Column we now take this into account.
3185 - Hookup to the position changed event so we can update the
3186 control when the position has changed in the data set.
3187 * CurrencyManager.cs: Take into account the row/col naming
3188 convention when creating dataset tables.
3189 * BindingContext.cs: Using a newer better way of storing
3190 datasource/datamember pairs. Hopefully this better matches MS for
3191 looking up binding managers.
3194 2006-03-15 Jackson Harper <jackson@ximian.com>
3196 * BindingContext.cs: The currency manager needs the data member
3197 name, if the member is a data set we use the name to find the
3199 * CurrencyManager.cs: When creating the list prefer an IList over
3201 - Attempt to create a DataTable from a DataSet (TODO: might need
3202 some better error checking here, although MS doesn't seem to have much)
3203 - If we have a DataTable create a view and use it as our list.
3205 2006-03-15 Mike Kestner <mkestner@novell.com>
3207 * ListView.cs: keep a matrix of the icon mode layout to facilitate
3208 keyboard navigation. Support Up/Down/Left/Right selection correctly
3209 for all 4 View modes.
3210 * ListViewItem.cs: add internal row/col fields for icon layouts.
3212 2006-03-15 Jackson Harper <jackson@ximian.com>
3214 * TabControl.cs: Redraw the tabs when we resize so their newly
3215 calculated sizes are drawn on screen.
3216 * X11Keyboard.cs: Begginnings of XIM support. We also now support
3217 composite characters.
3218 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
3219 - filter events so that composite characters can be created
3221 * X11Structs.cs: Add XIMProperties enum.
3223 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3225 * Control.cs (BringToFront, SendToBack): Don't use window or handle
3228 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3230 * Control.cs (PerformLayout): We don't need to consider visiblity
3231 for anchoring, only for docking. This fixes 'whacky' alignment
3232 in listbox and other controls that use implicit scrollbars after
3233 the previous PerformLayout patch
3234 * ListBox.cs: Switched to use implicit scrollbars
3236 2006-03-14 Mike Kestner <mkestner@novell.com>
3240 - chain up the "new event" overrides to base and use
3241 OnEvent to raise them. Part of fix for bug #76509.
3243 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
3245 * FileDialog.cs: Do not select an item in the parent directory
3248 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3250 * Control.cs (PerformLayout): It would seem that we considered
3251 invisible windows for our layout. Not quite the right thing
3252 to do. Now we don't any longer, thereby fixing bug #76889.
3254 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3256 * Control.cs (CanFocus): I goofed. A control can have focus
3257 even though it's not selectable. Made it match MS docs.
3259 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3261 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
3262 center by default (fixes #76895)
3263 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
3264 all uses of Border3DSides.All with the explicit ORd together
3265 Left|Right|Top|Bottom because I assume that nobody was aware
3266 that All also implies a center fill. Most places I checked had
3268 * ProgressBarStyle.cs: Added
3270 2006-03-13 Mike Kestner <mkestner@novell.com>
3272 * ListView.cs: fix breakage in drag shadow header positioning
3273 from Peter's csc compilation fix.
3275 2006-03-13 Mike Kestner <mkestner@novell.com>
3277 * ListView.cs: fix NRE produced by backspacing twice in a focused
3280 2006-03-13 Mike Kestner <mkestner@novell.com>
3282 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
3284 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3286 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
3288 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
3289 the allowed size before making programmatic size changes
3291 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3293 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
3294 set, metacity is broken and will still use the emty sizes in
3295 the struct. (Fix for #77089)
3297 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3299 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
3300 WindowExStyles and marked both enums as Flags
3301 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
3302 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
3303 to match WindowStyles split
3305 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
3306 - Updated to match WindowStyles split
3308 - Fixed FosterParent creation, was using ExStyle on the Style field
3309 (This should help with Popup focus issues)
3310 - Updated to match WindowStyles split
3312 2006-03-13 Jackson Harper <jackson@ximian.com>
3314 * MdiWindowManager.cs: Use the system menu height. Fixes some
3315 strange sizing issues.
3317 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3319 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
3321 - Scroll to caret after inserting text (#77672)
3322 - Make scroll range one pixel higher, fixes off-by-one error (and
3323 makes underlines visible on the last line)
3325 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3327 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
3328 the keyboard state from being stuck with keys in 'pressed' state when
3329 focus is switched away via keyboard
3330 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
3331 reset the keyboard if no X11 KeyUp events are expected to come
3332 * X11Structs.cs: Switched type of Visible to bool to match driver
3334 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3337 - Switched caret to be just 1 pixel wide, matches MS and looks less
3339 - Moved caret display 1 pixel down from the top of the control
3341 - InsertCharAtCharet: Update the selection start if moving the caret
3342 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
3343 - No longer always creating the caret when the caret methods are
3344 called. Only the actual ShowCaret/HideCaret will do that now
3345 - Only setting caret visible if the owner control has focus
3346 - UpdateView: Added invalidation-shortcut logic for center and right
3347 aligned text. Previously we'd update all according to the left
3348 logic which caused drawing errors. Also fixed height of invalidated
3349 areas, now properly invalidating the whole area (was off-by-one)
3350 - owner_HandleCreated: Always generate the document when the
3351 handle is created; this ensures that
3353 - Fixed situation where caret would disappear under the right
3354 window border, also improved scrolling behaviour on left-
3356 - Fixed right-aligned textboxes to have a border to the
3357 right instead of the caret being under the right border
3359 - Switched from 'nested' to simple visible/not visible tracking
3360 for caret (part of fix for #77671)
3361 - No longer passing through translated FocusIn/FocusOut messages
3362 since we were notifying too often and the wrong windows. Instead
3363 we just notify our focussed window of receiving or loosing focus
3364 * XplatUIWin32.cs: Switched from 'nested' show/hide
3365 counting for caret to simple visible yes/no behaviour (part of
3368 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3370 * Mime.cs: Remove debug code...
3372 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3374 * MimeGenerated.cs: Removed
3375 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
3376 and subclasses) from /usr/(local/)share/mime and
3377 $HOME/.local/share/mime.
3379 2006-03-10 Jackson Harper <jackson@ximian.com>
3381 * MdiWindowManager.cs: Recalc the NC area when a window is
3382 maximized/restored so that the menu area is drawn on forms that
3385 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3387 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
3388 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
3389 us to force a WM_NCCALCRESIZE message being sent. This is needed
3392 2006-03-10 Jackson Harper <jackson@ximian.com>
3394 * Form.cs: We need to use the ActiveMenu when calculating menu
3396 - Fix nullref when the window manager hasn't been created yet.
3397 * Control.cs: Fix nullref when we try to bring a control to the
3398 front that has no parent.
3399 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
3401 - Add a dummy item to the maximized menu so it always has the
3402 correct height. Otherwise when there are no menus we don't get our
3406 2006-03-10 Jackson Harper <jackson@ximian.com>
3408 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
3410 * Form.cs: Make the window_state internal so the window managers
3412 - When an MDI child is maximized let its window manager create the
3413 main menu (so it can add its icon).
3414 - Notify the window managers of state changes
3415 - Let the window manager paint its buttons and handle button
3416 clicks on the menu when it is maximized.
3417 * InternalWindowManager.cs: Move the prev_bounds into the mdi
3418 window manager, since tool windows don't use it, only mdi windows.
3419 - Tell the main form that we don't want it to handle NCPAINT
3420 itself to avoid extra painting.
3421 - Handle clicks on a maximized windows menu.
3422 - Handle window state changes
3423 - Handle minimize/maximize clicks correctly by setting the window state.
3424 * MdiWindowManager.cs: Add an icon menu that (the menu you get
3425 when clicking on the forms icon).
3426 - New method to create a forms maximized menu. This is its normal
3428 - Handle window state changes.
3429 - Handle sizing of maximized windows. Maximized windows are just
3430 drawn bigger then the parent visible area. All controls are still
3431 there, they are just outside the visible area (this matches windows).
3432 * MdiClient.cs: No scrollbars when a child window is maximized.
3433 - Let the children windows figure out how big they should be when
3434 sizing maximized windows.
3435 - Implement a version of ArrangeIconicWindows somewhat similar to
3436 Windows version. There are some little differences, but I don't
3437 think any app will rely on the layout of minimized mdi windows.
3439 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3441 * Padding.cs: Several fixes to allow compiling with csc 2.0
3443 2006-03-09 Jackson Harper <jackson@ximian.com>
3446 * MenuItem.cs: Cheap hack so we can add items to the list without
3447 the events being raised. This allows adding mdi items during
3448 drawing. TODO: Should probably find a better time to add the items.
3450 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3452 * ThemeWin32Classic.cs:
3453 - CheckBox_DrawText: Added logic to not wrap if not enough space
3454 is available (Fix for bug #77727)
3455 - RadioButton_DrawText: Added logic not to wrap if not enough
3456 space is available (Fix for bug #77727). Also removed some
3457 duplicate code, DrawString always drawing the regular text
3458 before hitting the if statement.
3460 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3462 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
3464 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3466 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
3467 * ContainerControl.cs: Partial implementation of some 2.0 scaling
3468 methods. Moved the new 2.0 properties into alphabetical order with
3469 other properties and added MonoTODO tags
3471 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3473 * AutoScaleMode.cs: Added. Fix build.
3475 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3477 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3478 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
3479 and was requiring premature handle creation for calls from above
3480 * Form.cs, Control.cs: Removed handle arguments from calls to
3481 CalculateClientRect()
3483 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3485 * ListView.cs (HeaderMouseMove): Fix csc compilation.
3486 drag_column.column_rect is MarshalByRef and can't be used that way
3488 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3490 * AxHost.cs: Added deserialization constructor for
3491 AxHost+State (fixes 77743)
3493 2006-03-09 Mike Kestner <mkestner@novell.com>
3496 - Added column drag reordering for details view.
3497 - fixed behavior when mouse is dragged off column and
3498 AllowColumnReorder is false.
3499 * ColumnHeader.cs: clone the format too in Clone.
3500 * Theme.cs: add DrawListViewHeaderDragDetails method.
3501 * ThemeWin32Classic.cs:
3502 - impl new method for drawing drag column shadows and targets.
3503 - support column offset for details mode in DrawListViewItem.
3505 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3507 * TextControl.cs: Reset the char_count when the document is cleared
3508 (Fixes bug reported on mono-winforms mailing list)
3510 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3512 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
3513 of calling base we simply process the key ourselves, since both
3514 DefWindowProc and the handled method would set m.Result.
3517 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3519 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
3520 method also moves the window; instead implemented a copy of
3521 Control.ScaleCore (Part of fix for #77456)
3523 - Created new CreateGraphicsInternal method to allow providing
3524 a graphics context when no handle is created without triggering
3525 handle creation. (Part of fix for #77456)
3526 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3528 - Switched Constructor to require TextBoxBase instead of Control (to
3529 allow uncast access to CreateGraphicsInternal)
3530 - Safeguarded use of owner.Handle property. No longer accessing it
3531 unless the handle is already created.
3532 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3533 - Now triggering a recalc when owning control becomes visible
3534 * TextBox.cs, RichTextBox.cs: Switched to use new internal
3535 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
3536 premature handle creation (Part of fix for #77456)
3538 - We now only destroy our double-buffering buffers when the
3539 control is resized or disposed, but not when visibility
3540 changes. (The code even re-created them twice every time)
3541 - Now requiring a redraw of the buffer on visibility changes
3542 (fixes bug 77654 part 2)
3543 - Not passing OnParentVisibleChanged up unless the control
3545 - CanFocus: Fixed to match MS documentation
3546 - Focus: Fixed to return actual focus state and to check if
3547 setting focus is legal before setting it
3549 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
3551 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
3552 when to draw focus rectangle by looking at parent focus and
3553 selected state instead. This fixes TabPages on Linux sometimes
3554 having none or multiple focus rectangles.
3555 * XplatUIX11.cs (SetFocus):
3556 - Don't set the focus if the same window already has focus
3557 - Use SendMessage instead of PostMessage (like it's Win32
3558 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
3559 to match MS behaviour
3560 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
3563 2006-03-07 Jackson Harper <jackson@ximian.com>
3565 * PictureBox.cs: Revert line I accidently committed last week.
3567 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
3570 - Added new IsRecreating and ParentIsRecreating properties to
3571 allow testing if RecreateHandle has been called on ourselves
3572 or one of our parents
3573 - WndProc(WM_DESTROY): If our control handle is being recreated
3574 we immediately need to create the handle when receiving the
3575 destroy, that way our child windows find a valid parent handle
3576 when they themselves are being recreated upon WM_DESTROY receipt
3577 (fix for bug #77654 part 1)
3579 - DestroyWindow: WM_DESTROY must be sent to our own window before
3580 notifying any child windows. MS documents that child windows
3581 are still valid when WM_DESTROY is received. (Control now relies on
3583 - Added some fine-grain debug options
3585 2006-03-06 Jackson Harper <jackson@ximian.com>
3587 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
3588 box and base calculations off this.
3589 * MdiChildContext.cs:
3590 * MdiWindowManager.cs: Don't need to ensure scrollbars here
3593 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
3595 * Splitter.cs: In situations where the affected control is added
3596 to the parent's control list after the splitter, we would not
3597 populate affected. Now we try populating it on mousedown, if
3598 it's not already set, and force it to be re-set whenever our
3601 2006-03-03 Matt Hargett <matt@use.net>
3603 * Control.cs: implement Control.Padding
3604 * Padding.cs: -Padding.All returns -1 when constructing with the
3605 implicit default ctor
3606 -Padding.ToString() matches MS.NET
3607 * ContainerControl.cs: implement
3608 ContainerControl.AutoScaleDimensions
3609 * ListControl.cs: implement ListControl.FormattingEnabled
3610 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
3612 * TabPage.cs: Implement UseVisualStyleBackColor.
3613 * PictureBox.cs: Implement PictureBox.InitialImage.
3615 2006-03-03 Mike Kestner <mkestner@novell.com>
3617 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
3618 event declarations to proxy to base event.
3619 * ListViewItem.cs: update to use ItemControl.
3620 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
3621 * ThemeWin32Classic.cs: update to new ListView theme API and fix
3622 column header label rendering for 0 width columns.
3624 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
3626 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
3627 that causes the control to be created. Fixes #77476.
3629 2006-03-02 Jackson Harper <jackson@ximian.com>
3631 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
3634 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
3636 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
3637 passed in for the EventArgs (fixes #77690)
3639 2006-03-01 Jackson Harper <jackson@ximian.com>
3641 * ScrollBar.cs: Refresh afterbeing resized.
3643 2006-02-28 Mike Kestner <mkestner@novell.com>
3645 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
3646 Clean up a tracker compile warning.
3647 * MenuItem.cs: add internal PerformPopup method.
3650 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3652 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
3653 implicit expose) when the text is set to null
3655 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3657 * RichTextBox.cs (FlushText): When newline is true, we always
3658 need to split the line, even if no text is on it and we may
3659 never eat newlines. (Fixes #77669)
3661 2006-02-28 Mike Kestner <mkestner@novell.com>
3663 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
3664 and set Selected instead.
3665 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
3668 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3670 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
3672 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
3675 - Got rid of the panel. All controls are now directly added to
3677 - It is now possible to set a font with the Font property
3678 - MinSize and MaxSize property do now what they should
3679 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
3680 - Searching and selecting a font with the font textbox works now,
3681 the same applies to the style and size textbox
3682 - Draw the correct 3D border in the example panel
3683 - Fixed a little mem leak (unused fonts didn't get disposed)
3684 - Many other internal updates/rewrites...
3687 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3690 - InsertRTFFromStream: Added 'number of characters inserted' argument
3691 - set_SelectedRTF: Now using the number of characters to calculate
3692 the new location for the selection and cursor (x/y cannot be used
3693 due to potentially already wrapped text)
3695 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3697 * TextControl.cs: Added property and implemented means to allow
3698 disabling recalculation of a document (can be used to speed up
3699 multiple inserts and is needed to make RTF inserts predictable, see
3701 * RichTextBox.cs: Using the new NoRecalc property of Document to
3702 keep x/y insert locations predictable. Also makes it faster inserting
3705 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3707 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
3708 it's easier for a child control to handle the other messages without
3709 having to duplicate the special functionality
3711 - WndProc: Removed calling base handler for WM_KEYDOWN and added
3712 code to handle processing the key ourselves, in order to get
3713 access to the result of KeyEventArgs.Handled. We now only call
3714 ProcessKey if they key hasn't been handled already. Fixes #77526.
3715 - set_Text: If null or empty string is given, just clear the
3716 document. Fixes part of #77526
3718 2006-02-27 Jackson Harper <jackson@ximian.com>
3720 * SizeGrip.cs: Paint the background color before painting the grip
3721 so things look right.
3722 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
3724 2006-02-27 Mike Kestner <mkestner@novell.com>
3727 - Restructure layout and invalidation model to remove a ton of
3728 flicker from the control and speed up performance in general.
3729 - Add manual column resize, flickers like crazy, but I already have
3730 some ideas on how I'll fix that. (#76822)
3731 - Merge the three Icon-based views into a single layout method.
3732 - Move item selection interaction logic from the item since
3733 interaction with the collections is more appropriate to the view.
3734 - Deselection on non-item clicks.
3736 - Encapsulate most of the layout. Add some internal props to trigger
3737 layout. Move to a model where Items invalidate themselves instead
3738 of just invalidating the whole control every time something changes.
3739 - Invalidate on Text/Caption changes.
3740 - switch to an offset based layout model to avoid having to absolute
3741 position every element on item moves.
3742 - correct checkbox layout to conform to MS layout.
3743 * ThemeWin32Classic.cs:
3744 - refactor some column header drawing code.
3745 - fix string justification for column headers (#76821)
3746 - make SmallIcon labels top justified for compat with MS impl.
3747 * ThemeClearlooks.cs:
3748 - adjust to new ListViewItem internal checkbox bounds api.
3750 2006-02-27 Jackson Harper <jackson@ximian.com>
3752 * Control.cs: Change where implicit controls fall in the zorder.
3753 They are now on top of all children.
3754 - Synced AddImplicit code with Add
3755 - Removed unused enumerator.
3756 * SizeGrip.cs: Remove the TODO as its been TODONE.
3758 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3760 * TextControl.cs(Insert): Combine the last lines unless the insertion
3761 string ends with \n\n, otherwise we leave one line too many (Fixes
3762 something I noticed with the testapp for #77526; the bug itself was
3763 already fixed in the previous checkin)
3765 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3768 - SelectionColor and SelectionFont methods no longer set absolute
3769 styles. Instead, the keep font or color respectively (This
3770 resolves a long-standing FIXME in the code)
3771 - When flushing RTF text, the insert code now considers text trailing
3772 behind the insertion point (Fixes the bug where when replacing
3773 the selected text via SelectedRTF the remainder of the line behind
3774 the selection would stay on the first insertion line)
3776 - AppendText now updates the selection points after inserting text
3777 - AppendText now ensures that the last tag (sometimes 0-length) of
3778 the document is used for the style information (Fixes part of
3781 - Created new FontDefiniton class to allow describing partial style
3783 - StreamLine() now takes a lines argument, to allow it to decide
3784 whether an encountered zero-length tag is the last in the document
3785 (which must be kept to not loose the font/color contained in it,
3787 - Created Combine() and Split() methods for Marker structs, to
3788 support marker updates due to reformatted documents (soft line
3790 - Implemented Document.CaretTag setter
3791 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
3792 of the last line (Not the cause, but also exposed by bug #77220)
3793 - Added LineTag argument to InsertString method, to allow callers
3794 to force a certain tag to be used (required to force use of the
3795 trailing zero-length tag of a document)
3796 - Now updating markers in Combine(), to avoid stale tag markers
3797 - Added some method descriptions to aid maintenance
3798 - Implemented new FormatText concept, allowing additive/subtractive
3799 formatting by only specifying the components that are to be
3800 changed. This was needed for resolving the RTB.SelectedColor/
3801 RTB.SelectedFont fixmes
3802 - Added Break() support method to allow breaking up linetags (used
3803 for partial formatting)
3804 - Added GenerateTextFormat() method. It is used for partial
3805 formatting and allows to generate a full font/color from given
3806 attributes and an existing tag.
3808 2006-02-26 Jackson Harper <jackson@ximian.com>
3810 * XplatUIX11.cs: Use the correct caption height.
3811 - Translate hittest coordinates to screen coords to match MS.
3812 * XplatUIWin32.cs: When we create MDI windows we need to reset
3813 some of the style flags, so we get a nice blank window, and can
3814 draw all the decorations ourselves.
3815 - Set a clipping rectangle on the non client paint event, the
3816 window manager drawing code needs one.
3817 * Form.cs: The window manager needs to know when the window state
3819 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
3820 don't need to factor in border and title sizes in these
3821 methods. TODO: Remove the args and fix the call points.
3822 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
3824 - Let the driver set the cursors.
3825 - Improve active window handling
3826 - Correct sizes for title bars and buttons.
3827 - Match MS drawing better
3828 * MdiWindowManager.cs: We don't need to handle border style
3829 updates specially anymore.
3830 - Check for scrollbars when windows are done moving
3831 - Handle Active properly.
3832 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3833 correctly. I am spewing the exception though, so we don't hide the
3836 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3838 * DataGridViewRowPostPaintEventArgs.cs,
3839 DataGridViewCellPaintingEventArgs.cs,
3840 DataGridViewRowCollection.cs,
3841 DataGridViewRowPrePaintEventArgs.cs,
3842 DataGridViewCell.cs: Clear a few warnings and implement a few
3843 exceptions that should be thrown.
3845 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3847 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3848 'inheriting' our parent's (non-default) cursor. (Part of
3851 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3853 * XplatUIX11.cs: Fixed cast to make csc happy
3855 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3857 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
3858 it's for the client area (part of fix for #77479 and needed
3859 for MDI window cursor handling)
3861 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
3862 the appropriate default cursors and also passing the message
3864 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
3865 for non-client areas
3867 2006-02-15 Jackson Harper <jackson@ximian.com>
3869 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
3870 is a real MDI window
3872 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
3874 * X11DesktopColors.cs: Instead of checking the desktop session
3875 string for "KDE" check if it starts with "KDE"
3877 2006-02-10 Jackson Harper <jackson@ximian.com>
3879 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
3882 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3884 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3887 - Got rid of the panel. All controls are now directly added to
3889 - Changed to mono coding style
3891 2006-02-10 Jackson Harper <jackson@ximian.com>
3893 * InternalWindowManager.cs: We don't need the set visibility to
3894 false hack anymore now that peter has written beautiful shutdown
3897 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3899 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3900 where already explicitly destroyed
3902 2006-02-10 Jackson Harper <jackson@ximian.com>
3904 * MdiClient.cs: Handle the case where windows are too high or to
3905 the left and we need scrollbars.
3907 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3909 * MimeIcon.cs: Added some icons
3912 - Got rid of the panel. All controls are now directly added to
3914 - Changed to mono coding style
3915 - On Linux "My Computer" and "My Network" will now show some
3916 more usefull information. A new class, MasterMount, gathers
3917 this information from /proc/mount. Updated MWFFileView to make
3918 use of this information
3919 - Fixed a bug that caused FileDialog to crash when
3920 ".recently_used" file had a zero size
3921 - FilterIndex does now what it should
3923 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3926 2006-02-09 Jackson Harper <jackson@ximian.com>
3928 * ComboBox.cs: Don't touch if null.
3930 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3932 * Cursor.cs: 64bit safeness fix
3933 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3935 2006-02-09 Jackson Harper <jackson@ximian.com>
3937 * Form.cs: If a form is made into an MDI form update the styles so
3938 all the props can get set correctly.
3939 - Kill the mdi_container when we dont need it anymore.
3940 * InternalWindowManager.cs: Add missing NOT
3942 2006-02-08 Jackson Harper <jackson@ximian.com>
3944 * InternalWindowManager.cs: Respek clipping when drawing MDi
3947 2006-02-08 Jackson Harper <jackson@ximian.com>
3949 * Hwnd.cs: Add bits to track non client expose events.
3950 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3951 gives us a proper invalid rect and will allow for some nice
3952 optimizations with NC client drawing
3953 - MDI windows are children windows, so move their style handling
3954 into the child window block.
3955 * InternalWindowManager.cs: Remove a state reset that was
3956 getting invoked at the wrong time. Fixes managed windows getting
3957 into a 'stuck' captured state.
3959 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3961 * TextControl.cs (Document.ctor): Now initializing
3962 selection_anchor. Fixes #77493
3964 2006-02-07 Jackson Harper <jackson@ximian.com>
3966 * TrackBar.cs: The increment/decrements were backwards.
3968 2006-02-07 Mike Kestner <mkestner@novell.com>
3970 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3971 to the instance itself.
3973 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3975 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3976 on ulongs and pointers, the size differs between 32bit and 64bit
3979 2006-02-07 Mike Kestner <mkestner@novell.com>
3981 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3982 for 64 bit platforms to work around a metacity bug.
3984 2006-02-07 Jackson Harper <jackson@ximian.com>
3986 * TrackBar.cs: Process the input keys we need, and hookup to
3987 KeyDown instead of using WndProc, so we get key messages.
3989 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3991 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3993 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3994 we need to translate the XdndVersion atoms array before sending it
3996 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3999 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
4000 number of bits for the property, not the number of bytes. The
4001 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
4002 but would not crash since it specified 8 bits instead of 4 bits)
4003 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
4004 defined as XID -> long in the C headers)
4005 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
4006 references since those are now IntPtr to begin with
4007 - Switched all Atom.XXX 'int' casts to IntPtr casts
4008 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
4009 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
4010 - Added XChangeActivePointerGrab DllImport (for X11DnD)
4012 - Changed 'int' type for Atoms in XEvent structures to IntPtr
4013 - Changed atom in HoverStruct to be IntPtr
4015 - Removed local DllImports, switched code to use those from XplatUIX11
4016 - Removed/fixed casts related to the switch of Atom to be a IntPtr
4018 2006-02-06 Mike Kestner <mkestner@novell.com>
4020 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
4021 method signatures in the import region. There may still be some
4022 lingering struct marshaling issues, as I didn't drill down into those.
4025 2006-02-06 Jackson Harper <jackson@ximian.com>
4027 * ComboBox.cs: Dont manually set the top_item, this is computed
4028 when the scrollbar position is set.
4030 2006-02-06 Mike Kestner <mkestner@novell.com>
4032 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
4033 startup crashes on amd64. There's other fixes needed. All pinvoke
4034 usage of Atom needs to be mapped to IntPtr for example. And there are
4035 likely other int/long issues to be addressed.
4037 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
4039 * FileDialog.cs: One more...
4041 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4043 * FileDialog.cs: Next try
4045 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4047 * FileDialog.cs: First part of fix for #77464
4049 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4051 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
4052 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
4053 AcceptButton border drawing.
4055 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4057 * Form.cs: Moved positioning of form after auto scaling is applied,
4058 otherwise it would possibly use wrong form size.
4060 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4062 * Control.cs (RecreateHandle): No need to re-create any child
4063 controls, the child windows will get destroyed automatically by
4064 the windowing system or driver, and re-created when the handle
4065 is being accessed the first time. Fixes #77456
4066 * Form.cs: No longer setting the form to closing if the handle is
4067 being recreated. This seems like the right thing to do, don't
4068 have a bug or testcase for this, though.
4070 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4072 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
4073 controls to avoid unwanted side effects
4075 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4078 - ScaleCore needs to scale the bounds, not the ClientSize of the
4079 control. Fixes #77416.
4080 - DefaultSize is 0,0 for control
4082 - DefaultSize is 100, 20
4083 - SetBoundsCore: Now enforcing the height, no matter if the provided
4084 height is more or less than the preferred one, as long as AutoSize
4086 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
4088 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4091 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
4092 call unless both performLayout is true *and* we have a pending
4094 - ResumeLayout: MS does not completely nest Suspend and Resume,
4095 they bottom out at 0, fixed our code to match that.
4096 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
4097 SetBoundsCore, we were updating even when we shouldn't. This fixes
4098 swf-anchors mis-anchoring when resizing the app fast and lots.
4099 - UpdateDistances: Now only setting the left and top distance if
4100 we have a parent and are not suspended, this is based on
4101 a suggestion by Don Edvaldson in bug #77355.
4102 - OnVisibleChanged: Fixed logic when to create the control. We may
4103 not create the control if we have no parent or if it's not visible;
4104 switched to using Visible property instead of is_visible field
4105 since the property also considers parent states. This fixes a bug
4106 when starting Paint.Net
4108 2006-02-02 Jackson Harper <jackson@ximian.com>
4110 * Form.cs: If the forms handle hasn't been created yet don't call
4111 into xplatui to make it top most, just set the topmost flag on the
4112 form in CreateParams
4113 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
4115 2006-02-01 Jackson Harper <jackson@ximian.com>
4117 * ScrollableControl.cs: Refactored the Recalculate method a
4118 little, this wasn't handling all the variants of bottom and right
4119 bars needed to be added and added/removed based on their
4120 counterparts being added/removed (which changes the drawable
4121 size). Also we special case client widths and heights of 0 and
4122 don't add the scrollbar for those.
4124 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
4127 - Added method to get AbsoluteGeometry(); currently unused, but might
4128 be used in the future, if we try again to figure out toplevel
4129 coordinates with some more crappy window managers
4130 - Added FrameExtents() method to retrieve the WM set decoration size
4131 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
4132 to deal with at least KDE, FVWM and metacity (Fixes #77092)
4134 - Added whacky_wm tracking var for metacity
4135 - Added logic to have default menu height if the actual menu height
4136 has not yet been calculated (part of fix for #77426)
4137 * Form.cs: Keep track whether client size has been set and re-set
4138 it if a menu is added/removed afterwards (Fixes #77426)
4140 2006-01-31 Jackson Harper <jackson@ximian.com>
4142 * Control.cs: When a new Site is set on the component attempt to
4143 pull the AmbientProperties from it.
4145 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
4147 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
4148 in the background of the owning form. Fixes #77332
4150 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4152 * MimeIcon.cs: Fix for #77409
4154 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4156 * XplatUIX11GTK.cs: Initial import
4158 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
4160 * FixedSizeTextBox: fixes class signature
4162 2006-01-30 Jackson Harper <jackson@ximian.com>
4164 * FixedSizeTextBox.cs: New internal class that represents a
4165 textBox that will not be scaled.
4168 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
4171 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4173 * XplatUIX11.cs: Retrieve default screen number instead of
4174 assuming 0. Attempted fix for #77318
4176 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4179 - GetWindowPos: When a window is parented by FosterParent, use
4180 the desktop instead of FosterParent as the base to get coordinates
4181 - CreateWindow: Don't make FosterParent the parent window for Popups
4182 if we don't want a taskbar entry, Popups automatically don't get one
4183 * Hwnd.cs: Need to call remove to actually remove the key from the
4186 2006-01-30 Mike Kestner <mkestner@novell.com>
4188 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
4190 2006-01-30 Jackson Harper <jackson@ximian.com>
4193 * TreeNode.cs: Raise events no matter how the treenode is
4194 checked. Patch by Don Edvalson.
4196 2006-01-30 Jackson Harper <jackson@ximian.com>
4198 * TreeNode.cs: Signature fix.
4200 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
4202 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
4204 2006-01-20 Mike Kestner <mkestner@novell.com>
4206 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
4207 event forwarding when menus are active.
4208 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
4209 Most of the patch is pdb's with a little rework.
4211 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4213 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
4214 Removed GetMenuDC and ReleaseMenuDC methods; replaced
4215 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
4216 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
4217 * InternalWindowManager.cs: Added use of PaintEventStart/End to
4218 handling of WM_NCPAINT message, now passing the PaintEventArgs to
4219 the PaintWindowDecorations method
4220 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
4221 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
4222 * MenuAPI.cs: Made tracker window invisible
4224 - Removed GetMenuDC and ReleaseMenuDC methods
4225 - Implemented the client=false path for PaintEventStart and
4228 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4230 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
4231 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
4234 - MaximizeBox, MinimizeBox: Recreate the handle when setting
4236 - CreateParams: Reworked the styles to match MS look'n'feel,
4237 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
4238 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
4240 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4242 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
4243 window is not mapped, since otherwise every form that's being
4244 created is considered minimized, which is wrong.
4245 * Form.cs: Catching the exception and returning our internal value
4248 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4250 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
4251 SetWindowMinMax() to have means to tell the driver about the minimum,
4252 maximum and maximized state window sizes. (Part of the fix for #76485)
4254 - Implemented tracking of minimum and maximum window size, now calling
4255 new SetWindowMinMax() driver method to tell the driver (Part of the
4257 - Finished handling of WM_GETMINMAXINFO method, now setting all values
4258 (Completes fix for #76485)
4259 - Calling new SetWindowMinMax driver method when the handle for a
4260 form is created, to make sure the driver knows about it even if
4261 the values have been set before the window was created
4262 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
4263 to avoid messing up our anchoring calculations (partial fix
4265 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
4267 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
4268 - Improved GetWindowState() to detect 'Minimized' state on Metacity
4269 (and presumably other freedesktop.org compliant WMs). Left the
4270 assumption unmapped=minimized, needed for SetVisible to work.
4271 - Now setting the window state when creating windows
4272 - Fixed SetVisible to consider/set the window state when mapping
4273 a Form. We cannot set the state before it's mapped, and we cannot
4274 use Form.WindowState once it's mapped (since it would ask the
4275 driver and get 'normal'. Therefore, we grab the state before
4276 mapping, map, and then set state.
4277 - Implmemented SetWindowMinMax method; Metacity does not seem to
4278 honor the ZoomHints, though.
4280 - Removed MINMAXINFO (moved to XplatUIStructs)
4281 - Added SetWindowMinMax stub (on Win32 the only way to set that
4282 information is in response to the WM_GETMINMAXINFO message, which
4283 is handled in Form.cs)
4284 - Added logic to SetVisible to set the proper window state when a
4285 form is made visible (fixes #75720)
4287 2006-01-26 Jackson Harper <jackson@ximian.com>
4289 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
4290 same way we handle them with Invoke.
4292 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
4295 - Added tracking of window state so CreateParams can return
4296 the appropriate style
4297 - Moved setting of WS_CAPTION style in CreateParams to allow
4298 styles without caption
4299 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
4300 control if the TextBox property is accessed. Fixes #77345
4302 - get_Created: now uses is_disposed and is_created to determine
4303 return value (suggested by Jackson)
4304 - CreateHandle: No longer exits if the handle is being recreated
4305 - RecreateHandle: If the handle is not yet created call the
4306 appropriate method to create either control or handle. If the
4307 control is already created CreateHandle will simply exit instead
4308 of just creating the handle
4309 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
4310 now SendMessage WM_DESTROY directly to the control when DestroyWindow
4313 - When DestroyWindow is called, instead of waiting for the
4314 DestroyNotification from X11, we directly post it to the WndProc
4315 and immediately dispose the hwnd object.
4316 Same applies to DestroyChildWindows, and this obsoletes the
4317 expose_pending tracking. Contrary to Win32 behaviour we destroy our
4318 child windows before our own, to avoid X11 errors.
4319 - Removed the direct sending of WM_PAINT on UpdateWindow
4321 - Reworked DoEvents and GetMessage to allow access to internal queue
4322 even when trying non-blocking access to the queue. Fixes #77335.
4323 Based on a patch suggestion by Don Edvalson. The new private
4324 GetMessage can now also be used as a backend for a PeekMessage
4326 * XplatUI.cs: Improved debug output for CreateWindow
4328 2006-01-25 Jackson Harper <jackson@ximian.com>
4330 * Help.cs: Allow param to be null. Patch by Don Edvalson.
4332 2006-01-24 Jackson Harper <jackson@ximian.com>
4334 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
4335 when we have a MaxDropItems lower then the selected index.
4337 2006-01-24 Jackson Harper <jackson@ximian.com>
4339 * Control.cs: Don't allow selection of non visible controls, allow
4340 selection of controls without parents.
4342 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4344 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
4345 * DataGridDrawingLogic.cs: Add editing row only when is necessary
4347 2006-01-23 Jackson Harper <jackson@ximian.com>
4349 * UpDownBase.cs: Make the textbox handle all the selection and
4350 tabbing. This fixes tabing to updown controls.
4352 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4354 * TextBoxBase.cs: fixes exception thown the object was null
4356 2006-01-23 Jackson Harper <jackson@ximian.com>
4358 * ButtonBase.cs: Just use the base CreateParams. They set
4359 visibility and enabled correctly.
4362 * MonthCalendar.cs: Lets let the base set as much of the
4363 createparams as possible so we don't have duplicate code all over
4366 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
4368 * ThemeGtk.cs: Added TrackBar and some experimental code to
4369 get double buffering back
4371 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
4373 * DataGrid.cs: Allows row number set internally higher than the last
4374 when creating a new row. Restores the editing functionality.
4376 2006-01-20 Mike Kestner <mkestner@novell.com>
4378 * MimeIcon.cs: delay Image creation until the icons are accessed
4379 instead of creating 190 scaled images on GnomeHandler startup.
4381 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4383 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
4384 first call base before processing the event. Fixes #77279
4386 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4388 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
4389 that the stride for the GDI bitmap would match the stride of
4392 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
4394 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
4396 2006-01-19 Jackson Harper <jackson@ximian.com>
4398 * ComboBox.cs: Hookup the text controls keydown event so we get
4399 those when the text control has the focus.
4401 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4403 * Label.cs: Now using the base events instead of defining new ones;
4404 this allows us to just call the base properties without having to
4405 duplicate all base property logic
4407 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4409 * Label.cs: A label by default is not a tabstop (Fixes one of our
4410 failing nunit tests)
4412 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4414 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
4415 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
4417 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4419 * Cursor.cs: Reimplemented creating cursor bitmaps without using
4420 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
4423 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
4424 constructor creates images that can't be saved. Part of the fix
4426 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
4427 - SetWindowState: Switched ShowWindow flags (part of an upcoming
4428 bug fix for handling window state in forms properly)
4430 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4432 * ThemeGtk.cs: Simplify ScrollBar drawing
4434 2006-01-18 Jackson Harper <jackson@ximian.com>
4436 * Splitter.cs: Set the default dock style for the splitter control
4439 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4441 * ThemeGtk.cs: Corrected StateType and ShadowType for
4444 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4446 * Control.cs: Make use of Theme.DoubleBufferingSupported
4448 - Added drawing for flat style buttons
4449 - Added ScrollBar drawing
4451 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4453 * ThemeClearlooks.cs: Removed some unneeded code.
4454 * ThemeGtk.cs: First part of ThemeGtk enhancements.
4456 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4458 * LinkLabel.cs: We need to update the hover drawing when
4459 leaving the control as well.
4461 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
4463 * DataGrid.cs: Clicking on non empty areas in the columns
4464 area was giving an exception
4466 2006-01-17 Jackson Harper <jackson@ximian.com>
4468 * ThemeWin32Classic.cs:
4469 * ListView.cs: Do not draw/clip the headers when the header style
4472 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4474 * DataGrid.cs: Fixes 77260
4476 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4478 * DataGrid.cs: Clicking on a column on a empty grid was giving
4481 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4483 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
4484 or any keypress will crash the grid.
4486 2006-01-17 Mike Kestner <mkestner@novell.com>
4488 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
4489 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
4490 invisible/previously-visible items.
4493 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
4495 * ThemeClearlooks.cs:
4496 - Added CL_Draw_Button method; now other theme controls that are
4497 not derived from button or do not have a button can draw buttons
4499 - Updated ComboBox drawing
4500 - Beautified RadioButton drawing
4501 - Corrected drawing of bottom and left tabs
4502 - Beautified DateTimePicker and MonthCalendar
4503 - Added CPDrawButton and CPDrawRadioButton
4505 2006-01-16 Jackson Harper <jackson@ximian.com>
4507 * ComboBox.cs: Set the initial value of the scrollbar to the
4508 current index. Reduce the numbers of refreshs and IndexOfs called.
4510 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
4512 * FileDialog.cs: When the file listview is focused hitting the
4513 backspace key moves the fileview to the parent directory
4515 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4518 - Added RecreateHandle call when changing taskbar visibility to
4519 trigger reparenting in Win32 driver (Fixes #75719)
4520 - If a window has minimize or maximize buttons, it cannot have
4523 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
4524 the toplevel form with FosterParent (A toolwindow not on the
4525 taskbar) (Fixes #75719)
4526 - Made FosterParent a toolwindow
4528 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4530 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
4532 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4534 * ToolTip.cs: If SetToolTip is called from a control and the mouse
4535 is currently over that control, make sure that tooltip_window.Text
4538 2006-01-13 Mike Kestner <mkestner@novell.com>
4540 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
4542 2006-01-13 Jackson Harper <jackson@ximian.com>
4544 * TreeView.cs: On MS GetNodeAt never actually factors in the X
4545 value passed. Also redraw the selected node when we recieve
4546 focus, so tabbing between trees works correctly.
4548 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4550 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
4551 ~/.gconf/%gconf-tree.xml, so use
4552 .gconf/desktop/gnome/interface/%gconf.xml
4554 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4556 * TextControl.cs: Draw text in gray if control is disabled
4558 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4560 * TreeView.cs: Draw the focus rectangle outside the highlight, to
4561 make sure it's always visible. Fixes #76680.
4563 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4565 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
4567 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
4569 * PageSetupDialog.cs: Added.
4570 * PrintDialog.cs: Attributes.
4571 * PrintPreviewControl.cs: Updates.
4572 * PrintPreviewDialog.cs: Updates.
4574 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4576 * Control.cs: Undid my selection check fix, since it's not needed
4578 - Now considering the presence of hscroll/vscroll when sizing
4579 vscroll/hscroll respectively. Fixed bug #77077
4580 - Added Left/Up/Down/Right to IsInputKey list to prevent
4581 ContainerControl from stealing them. This fixes what I broke
4582 with my last checkin.
4584 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4586 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
4587 I finally understand how the property can be set without a setter :-)
4589 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4592 - Switched RunLoop to use static Message.Create to create a
4594 - Added PreProcessMessage call in runloop for keyboard events; this
4595 is part of the fix for #77219, I overlooked this originally in the
4596 MSDN doc for PreProcessMessage
4598 - Removed call to PreProcessMessage from handling of keyboard
4599 messages; it's supposed to be done in the message pump
4600 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
4601 per MSDN documentation.
4602 - IsInputChar: All chars are input chars by default; removed the
4603 parent calling chain, MS does not document that
4604 - PreProcessMessage: If IsInputChar is true, we want to return false
4605 to allow dispatching of the message
4606 - When selecting the next control, now also check that we're not
4607 selecting ourselves again and therefore return a false positive.
4609 - Tried to match return values for IsInputKey and ProcessDialogKey
4610 to what MS returns; moved processing of our special keys outside
4611 ProcessDialogKey since MS does not seem to return true on those.
4612 - Moved code that previously was in ProcessDialogKey into new private
4613 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
4614 - Reworked handling of WM_CHAR to not have to duplicate code from
4615 Control.cs anymore, instead we simply call down to base.
4617 2006-01-12 Jackson Harper <jackson@ximian.com>
4619 * ComboBox.cs: We always need to refresh the text area when
4620 EndUpdate is called. Fixes the combobox in the file dialog.
4621 * Control.cs: Don't create the creator_thread until the controls
4622 handle is created. Also in InvokeRequired we check if the
4623 creator_thread is null. This gives the effect of InvokeRequired
4624 returning true if the controls handle is not created yet, and
4627 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4630 - Added StartLoop() driver method. This is used to allow drivers to
4631 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
4632 loop for a particular thread
4633 - Added EndLoop() driver method. This is called once the message
4634 pump for the thread is shut down
4635 - Added SupportsTransparency method to allow the driver to indicate
4636 opacity support for windows
4638 - Removed TODO attribute, completed AllowTransparency property
4639 - Added documented logic to Opacity
4640 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
4641 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
4642 versions of CompatibleTextRendering
4643 * X11Structs.cs: Added opacity atom to our atom enumeration
4644 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
4645 of a form might be set before it's reparented by the WM, and we need
4646 the opacity value without calling up to Form)
4647 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
4648 SupportsTransparency() driver methods
4649 * Application.cs: Now calling StartLoop and EndLoop driver methods
4651 - Added opacity atom registration
4652 - Added StartLoop()/EndLoop() methods. They're empty right now but
4653 will need to get implemented when we switch to a per-thread queue
4654 - Implemented SupportsTransparency() method
4655 - Implemented SetWindowTransparency() method
4656 - Added support for setting the opacity value when a window is
4657 reparented (since the opacity needs to be set on the WM frame)
4658 * XplatUIOSX.cs, XplatUIWin32.cs:
4659 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
4661 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4663 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
4665 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4667 * FileDialog.cs: Added ToolTip for MWFFileView
4668 * MimeIcon.cs: Rewrote GnomeHandler.
4669 - Get currently used gnome icon theme from
4670 ($HOME)/.gconf/%gconf-tree.xml
4671 - Make use of inherited icon themes
4672 - Support SVG icon themes like Tango via librsvg
4674 2006-01-12 Miguel de Icaza <miguel@novell.com>
4676 Revert's Jackson's revert which broke 2.0 builds. Fix both
4679 * Application.cs: Move the use_compatible_text_rendering outside
4680 the NET_2_0 define. If we ever need to use the
4681 use_compatible_text_rendering on the individual controls they will
4682 access the variable from the common shared code paths.
4684 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4687 - Added more granular debug options
4688 - Added method to print both window text and id
4689 - Switched debug output to use new Window() debug method
4690 - Added IsEnabled() driver method
4691 - Added EnableWindow() driver method
4693 - Removed end_modal; no longer needed, new loop handles termination
4694 via 'closing' variable
4695 - If form is modal, setting DialogResult will now initiate loop
4696 termination via 'closing' variable
4697 - Added support for is_enabled/WS_DISABLED to CreateParams
4698 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
4700 - Removed code that's now in RunLoop from ShowDialog()
4701 - Added various documented sanity checks to ShowDialog()
4702 - Added handling of WM_DESTROY message; we set 'closing' on getting
4703 the message to indicate the message pump to terminate
4704 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
4705 send by the Application.ExitThread method. (We send the message
4706 to destroy the window after all other events have been
4707 processed through the queue, instead of destroying the handle
4709 - Moved code from Close() method to WM_CLOSE handler; added logic
4710 to only send close-related events if the form is not displayed
4712 * Splitter.cs (..ctor): Fixed typo in resource name
4714 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
4716 - set_Cursor: Now only setting calling into XplatUI if the handle for
4717 the control is already created; this avoids implict handle creation
4718 or crashes if it's not created
4719 - set_Enabled: Now setting the enabled state via the new driver method
4720 instead of just tracking it
4721 - CreateParams: Added logic to set WS_DISABLED based on enabled state
4722 - CreateControl: Reordered event firing and method calls to more
4723 closely fire events in the order MS does. Now setting the
4724 enabled state in the driver when creating the control.
4725 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
4727 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
4728 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
4729 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
4731 - Added tracking of window enabled state (get_Enabled/set_Enabled)
4732 - Added EnabledHwnd property to easily allow a driver to find the
4733 handle of the first enabled window in the parent chain (this is
4734 used by drivers to pass up input events of disabled windows)
4735 * XplatUIDriver.cs: Added IsEnabled() method
4737 - Removed crude and obsolete exiting tracking variable
4738 - Removed internal ModalRun(); replaced by RunLoop()
4739 - Implemented private CloseForms() method to allow closing all
4740 windows owned by a particular (or all) threads
4741 - Exit() now properly closes all windows without forcing the message
4743 - Removed obsolete InternalExit() method
4744 - Changed Run() methods to use new RunLoop() message pump
4745 - Implemented new RunLoop() method for both modal and non-modal forms
4747 - get_CreateParams: Added setting of WS_DISABLED
4748 - Simplified ShowDialog(); now all the work is done in RunLoop(),
4749 invoked via Form.ShowDialog()
4750 * NativeWindow.cs: We don't remove the window from the collection when
4751 the handle is destroyed; there might still be messages for it in the
4752 queue (mainly the resulting WM_DESTROY); instead it will be removed
4753 when Control calls InvalidateHandle in the WM_DESTROY handler
4755 - CreateWindow: Added logic to handle the WS_DISABLED window style
4756 - EnableWindow: Implemented based on Hwnd.Enabled
4757 - GetMessage: Reset PostQuitState so the method can be called again
4758 - Implemented support for disabled windows (passing messages to the
4759 first enabled parent) in handling all input messages
4760 - Added optimizations for handling Expose events
4761 - Implemeted new driver method IsEnabled()
4762 - Now always resetting paint pending tracking vars when we start paint
4763 - Re-implemented UpdateWindow via just sending a WM_PAINT message
4764 * XplatUIOSX.cs: Added IsEnabled method stub
4765 * XplatUIWin32.cs: Implemented new IsEnabled() method
4767 2006-01-11 Jackson Harper <jackson@ximian.com>
4769 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4770 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
4772 * ColorDialog.cs: Clear out the old form before adding the new
4775 2006-01-11 Jackson Harper <jackson@ximian.com>
4777 * X11Dnd.cs: Make sure to add all the text formats when adding
4778 strings to the data object.
4779 * TreeNodeCollection.cs: When adding to a sorted tree we need to
4780 do some redrawing too. Also change the UpdateNode to an
4781 UpdateBelow so the newly added node gets painted.
4783 2006-01-11 Miguel de Icaza <miguel@novell.com>
4785 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4786 LinkLabel.cs, PropertyGrid.cs: Implement the
4787 UseCompatibleTextRendering property for 2.x
4789 * Application.cs (SetCompatibleTextRenderingDefault): Add.
4791 2006-01-11 Jackson Harper <jackson@ximian.com>
4793 * TreeView.cs: Use the property for setting the selected node so
4794 the correct events get raised.
4795 * TreeNode.cs: Update the tree when the fore/back colours of a
4798 2006-01-10 Jackson Harper <jackson@ximian.com>
4800 * TreeView.cs: Allow setting SelectedNode to null.
4802 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4804 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
4806 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4808 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
4810 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4812 * PrintDialog.cs: Added attributes and set default property values.
4814 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4816 * PrintControllerWithStatusDialog.cs:
4817 Added PrintControllerWithStatusDialog.
4819 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4821 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
4822 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
4824 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4826 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
4828 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4830 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4831 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4833 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4835 * MimeIcon.cs: Added internal class SVGUtil.
4837 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4839 * FileDialog.cs: Don't crash if there are two files with the
4840 same name but different locations.
4842 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4844 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4845 dates across multiple month grids. Used to not highlight entire
4846 month, but does now.
4848 2006-01-06 Jackson Harper <jackson@ximian.com>
4850 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4851 message loop. Change timer intervals to numbers that seem more
4854 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
4856 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
4857 object for location info since screen object is now implemented.
4859 2006-01-05 Jackson Harper <jackson@ximian.com>
4861 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
4862 * AsyncMethodResult.cs: We no longer use a WeakReference for the
4863 AsyncMethodResult, this is because we ALWAYS want the
4864 ManualResetEvent to get set.
4865 * Control.cs: When disposing use an async invoke to call shutdown
4866 code, so that thigns don't block on the finalizer thread. Also
4867 check if we even have a message loop before trying to send
4868 messages, if we don't then don't bother sending messages.
4869 - No more weak references for async methods
4870 * XplatUIDriver.cs: No more weak references for async methods.
4872 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4874 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
4875 returns two FontFamily with the same name
4877 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4879 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
4880 drawing disabled text. Instead using the ColorGrayText color
4882 2006-01-04 Jackson Harper <jackson@ximian.com>
4884 * TreeNode.cs: redraw the node when its image index is changed.
4886 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4888 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4889 time I checked there are no others like it.
4891 2006-01-04 Jackson Harper <jackson@ximian.com>
4893 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4894 this gives the behavoir I was looking for.
4895 * Control.cs: Special case Invoking EventHandlers, this matches MS
4896 and fixes part of bug #76326.
4898 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4900 * ThemeClearlooks.cs, FileDialog.cs:
4901 - Reflect the latest Theme class changes
4902 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4905 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4907 * Theme.cs: Cache UI resource images and resize them if needed
4909 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4911 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4912 is called. This fixes the crash in Nexxia when setting the font
4913 attributes in the chat. [However, RTF needs a look-over to make sure
4914 that all SelectionXXX methods handle the special case that selection
4915 is empty and therefore the change must be applied to all text starting
4916 at the cursor/selection start]
4918 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4920 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4921 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4922 * X11Keyboard.cs: Switched to new way of calling PostMessage
4924 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4926 * Theme.cs: Added theme interface for images to allow the theme to
4927 control what images are used for things like FileDialog, MessageBox
4929 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4931 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4934 - Removed some dead code
4935 - Opening a recently used file does work now
4936 - Small UI enhancements
4939 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4941 * FileDialog.cs: Forgot too add __MonoCS__
4943 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4945 * FileDialog.cs: We are able to read recently used files now let's
4946 go on and write them.
4948 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4950 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4952 * MimeIcon.cs: Do a check for the top level media type also
4954 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4956 * ThemeClearlooks.cs:
4957 - Added CPDrawStringDisabled
4958 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4959 some chars if the text doesn't fit into text_rect
4960 - DrawListViewItem: If View = View.LargeIcon center the image;
4961 rewrote the drawing of ListViewItem.Text if View =
4964 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4966 * MimeIcon.cs: Use default KDE icon theme if there is no
4967 "48x48" directory for the current icon theme, fixes #77114
4968 * Mime.cs: Disable not working and actually not used code.
4969 * ThemeWin32Classic.cs:
4970 - Replace "new SolidBrush" in GetControlBackBrush and
4971 GetControlForeBrush with ResPool.GetSolidBrush
4972 - Changed DrawListViewItem from private to protected virtual
4974 - Added form.MaximizeBox = true
4975 - Don't throw an exception if there is a broken symbolic link
4977 2005-12-23 Jackson Harper <jackson@ximian.com>
4979 * TabControl.cs: Give the panels focus, keyboard navigation is
4980 fixed so this works correctly now.
4981 - We need these key events also.
4982 * ToolBar.cs: Remove some of the poor mans double buffering.
4984 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4986 * ComboBox.cs: The internal TextBox now returns the focus.
4988 2005-12-23 Jackson Harper <jackson@ximian.com>
4990 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4992 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4994 * Control.cs: Removed debug code
4995 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4998 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5000 * Control.cs: When creating the control, update the Z-order after
5001 all it's children are created, too. (Fixes nexxia not showing
5004 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5006 * Control.cs: Do not update the anchoring distances if layout is
5007 suspended, instead do it once layout is resumed
5009 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5012 - After many hours of debugging, for both Jackson and
5013 myself, it turns out that it helps to set the parent of a control
5014 if you want to actually see it onscreen. In the spirit of that
5015 discovery, we're now setting the parent of the control and
5016 it's children when the control's handle is created. This fix
5017 will make Lutz Roeder's Reflector run happily.
5018 - now just creating the handle instead of the whole control when
5019 getting a graphics context for the control.
5021 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5023 * ScrollableControl.cs: When calculating the canvas, don't consider
5024 the scrollbar widths. Instead, predict if horizontal scrollbar
5025 will affect canvas when deciding on vertical display and vice versa.
5027 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5029 * RichTextBox.cs: Set default RTF font for documents that don't
5030 have a font table (Fixes #77076)
5032 2005-12-22 Jackson Harper <jackson@ximian.com>
5034 * TextBoxBase.cs: It's difficult to do, but you can have an empty
5035 clipboard. This prevents a NullRef in that case.
5036 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
5037 clipboard. PRIMARY is for the currently selected text only. (We
5038 should implement PRIMARY at some point.
5040 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5042 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
5043 a Unicode function with a structure that was defined in Ansi way.
5046 2005-12-21 Jackson Harper <jackson@ximian.com>
5048 * StatusBar.cs: Statusbar handles its fore/back colours on it's
5049 on. Because thats how it rolls. (and this avoids it using ambient
5051 * ThemeWin32Classic.cs: Use the proper back color for filling.
5052 * Menu.cs: Use the system menu bar color for drawing menu
5053 bars. Using the window back color will bring ambient colours into
5056 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
5058 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
5059 Bitmaps were created and not disposed.
5061 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5063 * Control.cs (CreateControl): Don't do anything if the control is
5064 already created, otherwise we'd fire the OnCreated event more than
5067 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5069 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
5070 will always match. Instead return -1. Fixes #76464.
5072 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5074 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
5075 neither the beginning nor the end of the line (Fixes bug #76479)
5077 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5080 - ControlNativeWindow.ControlFromHandle(): Now handling situation
5081 where handle is invalid
5082 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
5083 instead of slower linear search
5084 * NativeWindow.cs: Don't remove the window from the hashtable until
5085 after the driver has destroyed it (since the driver might use
5086 Control.FromHandle to lookup the control object
5087 * Hwnd.cs: Added DestroyPending property to track if a window is
5088 already destroyed as far as the driver is concerned and only hasn't
5089 yet notified the control
5091 - Activate(): Check if the window is still valid before using the
5093 - Implemented DestroyChildWindow() method to mark child windows as
5094 destroyed when a window is destroyed. This prevents situations
5095 where we might call an X method based on queued events for a
5096 window that already has been destroyed but we haven't yet pulled
5097 the destroy method from the queue.
5098 - Added a call to the new DestroyChildWindow() method to the drivers
5099 DestroyWindow code. Also now marking the destroyed window itself
5102 2005-12-20 Jackson Harper <jackson@ximian.com>
5105 * StatusBarPanel.cs: Don't calculate panel sizes on draw
5106 anymore. Just do them when needed, also track the rects of panels
5107 so that we can optimize refreshing more in the future.
5109 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
5111 * ColorDialog.cs: Fixed focus drawing in small color controls
5113 2005-12-19 Jackson Harper <jackson@ximian.com>
5115 * InternalWindowManager.cs:
5116 * MdiWindowManager.cs: Cleanup some coordinate system changes so
5117 moving windows works properly.
5119 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
5122 - Removed call to InitLayout() from SetBoundsCore(); doc says
5123 it's only called when a control is added to a container
5124 - Split InitLayout logic, moved to separate UpdateDistances() method
5125 since we need to perform those calculations more often than just
5126 when adding the control to a container. (Needed to fix #77022)
5127 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
5128 - Reduced the OnBindingContextChanged events count, don't send them
5129 unless the control is created, we still aren't totally matching
5130 MS, but I can't quite figure out some of their rules
5132 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5134 * ThemeClearlooks.cs: Corrected distance between ProgressBar
5137 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5139 * ThemeClearlooks.cs:
5140 - Updated ProgressBar drawing
5141 - Corrected drawing of ScrollBars and scroll buttons
5142 - Some temporary fixes for minor pixel artefacts
5144 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
5147 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
5148 cause events to be sent in the same order as MS does.
5149 - Added ChangeParent() method to trigger various OnXXXChanged events
5150 that need to be fired when a parent changes (This is a reworking
5151 of the patch from r54254, with the X11 errors fixed)
5152 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
5153 since on MS we get OnLayoutChanged events when calling Clear()
5154 - Changed Enabled property to consider parent state as well, if a
5155 parent is not enabled, the control will not be either
5156 - Changed Parent property to simply call Controls.Add() since that
5157 now does all the work required, this way we avoid code duplication
5158 - Threw in a few OnBindingsContextChanged calls to try and match
5159 when MS sends them. We seem to send a few too many, though.
5160 - Added call to CreateControl when adding the control to a parent.
5161 We were never calling CreateControl. Still needs some work, in
5162 some places we treat HandleCreated and ControlCreated as equal,
5164 - Removed obsolete commented out code from UpdateZOrder()
5166 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5168 * ThemeClearlooks.cs: Updated TrackBar drawing.
5170 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5172 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
5174 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5176 * FileDialog.cs: Add the Help button and the open readonly
5177 checkbox only if needed
5179 2005-12-16 Jackson Harper <jackson@ximian.com>
5181 * Control.cs: Make sure we have an active menu before trying to
5182 process commands on it. Prevents menu-less forms from crashing
5183 when Alt is pressed.
5184 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
5186 * RichTextBox.cs: Expand statement to help out gmcs and fix the
5189 2005-12-16 Jackson Harper <jackson@ximian.com>
5191 * InternalWindowManager.cs: Don't translate tool windows screen
5192 coordinates. This fixes windows 'bouncing' around when being moved.
5194 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5197 - MaxLength now treats 2^31-1 equal to unlimited length (this is
5198 not quite MS compatible, MS uses that number only for single line
5199 and 2^32-1 for multi-line, but I figure it won't hurt keeping
5201 - Now enforcing the MaxLength limit when entering characters
5202 - Added argument to internal Paste() method to track if it's called
5203 from programatically or via keyboard, since keyboard driven pastes
5204 need to enforce max-length
5205 - Added logic to Paste to only paste as many chars as MaxLength
5207 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
5209 - Added Length property to return number of characters in document
5210 - Added private CharCount property which only tracks actual chars
5211 in the document (no linefeeds) and fires event when CharCount
5213 - Added tracking of character count to all methods that alter it
5214 - Added LengthChanged event to allow applications to subscribe
5215 to any changes to the document
5217 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5220 - Removed local password_char field (moved to TextBoxBase)
5221 - Now setting the document's password var when password is
5224 - Added password_char field (needed here so MultiLine can
5226 - Added logic to MultiLine property setter to set the document's
5227 variable when password display is allowed
5228 - Removed debug code and made some debug code conditional
5230 - Added RecalculatePasswordLine() method to handle special password
5232 - Added PasswordChar property, also added related tracking vars
5233 - Draw() method now uses local text var for grabbing text to draw,
5234 this var is set to line.text unless we're doing password display,
5235 then it is set to the pre-generated all-password-chars line
5236 - Added calling RecalculatePasswordLine() method for password lines
5238 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5241 - Added Reparented property to allow tracking of Window Manager
5242 reparenting actions (which affect X/Y calculations of toplevel
5244 - Made ToString() print window handles in hex
5246 - AddConfigureNotify(): Now uses reparented state off Hwnd to
5247 determine if X/Y needs offsetting
5248 - AddConfigureNotify(): Fixed offset calculations
5249 - Now adds ReparentNotify messages into the queue
5250 - Now processes ReparentNotify messages and causes a
5251 WM_WINDOWPOSCHANGED message to be sent upstream if a window
5252 is reparented (as most likely it's X/Y coordinates are changed
5255 2005-12-14 Jackson Harper <jackson@ximian.com>
5257 * XplatUIX11.cs: Tool windows still need to respek focus.
5259 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5261 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
5262 have a working release
5264 2005-12-13 Jackson Harper <jackson@ximian.com>
5266 * Form.cs: Update styles after setting the border style regardless
5267 of whether or not the window is using a window manager.
5269 2005-12-13 Jackson Harper <jackson@ximian.com>
5271 * Form.cs: We now hook into an internal window manager instead of just an
5272 MDI subsystem, this is so we can have properly behaving tool windows.
5273 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
5274 * InternalWindowManager.cs: New internal class that acts as a
5275 window manager for tool windows and as a base for mdi windows.
5276 * MdiWindowManager.cs: New class that acts as a window manager for
5279 2005-12-12 Jackson Harper <jackson@ximian.com>
5281 * Control.cs: Updates so we match behavoir for for implicit
5282 controls. Fixes explosions in MDI.
5284 2005-12-12 Jackson Harper <jackson@ximian.com>
5286 * Control.cs: Implement Invalidate (Region).
5288 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
5291 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
5292 the same events as MS does. MS fires events for each property
5293 except, for unknown reasons, Cursor, when the control is reparented.
5294 I can't seem to totally match add/remove since MS also fires some
5295 VisibleChanged events, which makes no sense. Consolidated the
5296 parenting code into a separate method so it can be called from
5297 both Add and Remove. set_Parent no longer needs any special logic
5298 as it calls the parent's add method which implicitly fires
5300 - Removed some obsolete code and debug output
5301 - Enabled state is inherited from parents, if this is enabled
5303 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5305 * Form.cs: Removed commented out code
5307 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5310 - Added internal version of Invoke, with additional argument
5311 indicating if we're calling it from a Dispose() handler. That
5312 way we can avoid BeginInvoke throwing an exception if we're
5313 calling for an already destroyed window.
5314 - Added a dispose argument to BeginInvokeInternal, and made the
5315 check if a valid window handle chain exists conditional on
5316 it not being a dispose call
5317 - Removed code in DestroyHandle to destroy our children. Since we
5318 now handle the WM_DESTROY message we will catch all our children
5320 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
5322 - Added a field to track the application context of the form.
5323 - No need to set closing variable as response to WM_CLOSE, instead
5324 we destroy the window. We also call PostQuitMessage if the form
5325 has an application context (which makes it the main app form,
5326 which, when closed terminates the app)
5328 - Dropped Exit() method, it's naming was confusing
5329 - Added PostQuitMessage() which causes GetMessage to return false
5330 once the message queue is empty
5331 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
5333 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
5334 no longer a valid XplatUI method, but left it in since it's used
5335 internally. Added empty PostQuitMessage() method.
5336 * MenuAPI.cs: Replaced call to Exit() with call to
5337 PostQuitMessage, even though this is probably no longer needed.
5338 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
5339 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
5341 - Replaced call to XplatUI.Exit() with PostQuitMessage()
5342 - Removed old debug code that would call XplatUI for exception
5343 display, enabled standard exception handling (Still not enabled
5344 though, until NativeWindow's ExternalExceptionHandler define
5347 - Added internal method to allow control to update NativeWindow
5348 after a window has been destroyed
5349 - Added handling of already destroyed windows when calling i
5351 - Added removal of handle from list on ReleaseHandle
5353 - Dropped GetMessageResult var and related code
5354 - Added PostQuitState to field to track if PostQuitMessage has been
5356 - Dropped Exit() method
5357 - Added PostQuitMessage() method
5358 - GetMessage now will return false if PostQuitState is set and no
5359 more messages are in the queue.
5360 - Expose handler will no longer generate WM_PAINT messages if we are
5361 in PostQuitState since it's very likely any windows have already
5362 been destroyed, and since Hwnd won't get updated until we have
5363 processed the DestroyNotify we'd be causing X errors.
5365 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5367 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
5368 Thanks to Mike for pointing out the err of my ways.
5370 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5372 * Control.cs(PreProcessMessage): Moved menu handling back, but
5373 after all other key handling, to match MS (who handles Menu in
5375 * Menu.cs (WndProc): Removed my brainfart
5377 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5379 * Control.cs(PreProcessMessage): Removed special menu handling
5380 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
5382 2005-12-07 Mike Kestner <mkestner@novell.com>
5384 * Control.cs : special case SYSKEYUP so that we can adjust keynav
5385 state according in tracker.
5386 * Menu.cs : promote tracker field to base class and provide a tracker
5387 lookup capability. Add/Remove shortcuts dynamically if the top menu
5388 has a tracker. Unparent items that are removed from the collection.
5389 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
5390 * Theme*.cs: add always_show_hotkeys field to support configurability
5391 of mnemonic display. win32 doesn't show mnemonics until Alt is
5394 2005-12-07 Jackson Harper <jackson@ximian.com>
5396 * MdiChildContext.cs: Use Control.ResetCursor.
5397 * Control.cs: ResetCursor needs to set the property so that the
5398 correct XplatUI call gets made.
5400 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5402 * Control.cs: More fixes to make our key events match MS. We
5403 were not setting the modifier state on KeyData, and we were
5404 not generating any events when Alt was pressed with a key
5405 since handling of WM_SYSxxx was missing for the OnKey methods.
5407 2005-12-07 Jackson Harper <jackson@ximian.com>
5409 * MdiChildContext.cs: reenable the sizing code.
5410 - When the mouse leaves a window reset its cursor.
5412 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5414 * ThemeClearlooks.cs: Reflect latest Hwnd changes
5416 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5418 * Hwnd.cs: Now using the theme 3d bordersize to calculate
5419 widths of Fixed3D borders
5421 2005-12-07 Jackson Harper <jackson@ximian.com>
5423 * MdiClient.cs: Fix warnings. Earn Mike's love.
5425 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5427 * ThemeClearlooks.cs:
5428 - Adjusted mouse over button color
5429 - Added first parts of CheckBox drawing
5430 - Added correct color for selected text background
5431 - Fixed ComboBox drawing
5432 - Added CPDrawBorder3D and CPDrawBorder
5434 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5436 * XplatUIX11.cs: Added call to XBell for AudibleAlert
5438 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5440 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
5441 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
5442 alert users via sound. We could add an enum arg with different
5443 types of alerts in the future
5445 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5447 * Control.cs: Fix behaviour problems pointed out by Mike
5449 2005-12-05 Mike Kestner <mkestner@novell.com>
5451 * StatusBarPanel.cs: add Invalidate method and hook it into all the
5452 prop setters. Calls parent.Refresh for now, but could be maybe be
5453 optimized with an internal method on StatusBar at some point.
5456 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
5458 * RichTextBox.cs: Implemented get_SelectionColor
5460 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
5462 * ThemeClearlooks.cs:
5464 - Draw black button border only if button is Form.AcceptButton
5465 - Draw correct button color for pressed RadioButton if the mouse
5466 has entered the button
5467 - Updated ProgressBar drawing!
5468 - Updated CPDrawSizeGrip drawing
5469 - Updated StatusBarPanel drawing
5471 2005-12-05 Mike Kestner <mkestner@novell.com>
5473 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
5474 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
5476 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
5478 * ThemeClearlooks.cs: Initial check-in, activate with
5479 export MONO_THEME=clearlooks
5480 * ThemeEngine.cs: Added ThemeClearlooks
5482 2005-12-03 Mike Kestner <mkestner@novell.com>
5484 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
5487 2005-12-02 Jackson Harper <jackson@ximian.com>
5489 * Form.cs: If the child form has no menu the default main menu is
5490 used as the active menu.
5492 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5494 * ListBox.cs: Check if any items exist before trying to resolve
5495 coordinates into items
5497 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5499 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
5500 as the second color for the background hatch
5502 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5504 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
5505 * RichTextBox.cs: FormatText position arguments are 1-based, now making
5506 sure that what we pass to FormatText is always 1-based. Fixes #76885
5508 2005-11-29 Miguel de Icaza <miguel@novell.com>
5510 * NumericUpDown.cs (EndInit): When we are done initializing,
5511 reflect any updates on the UI.
5513 2005-12-02 Jackson Harper <jackson@ximian.com>
5515 * ImplicitHScrollBar.cs:
5516 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
5517 their container controls.
5518 * TreeView.cs: Use the new implicit scrollbars.
5520 2005-12-02 Jackson Harper <jackson@ximian.com>
5522 * TreeView.cs: Make top_node internal so the TreeNodeCollections
5524 * TreeNodeCollection.cs: If we remove the topnode we need to
5525 update topnode to the next node in line.
5526 - When clearing nodes go through the same process as removing
5527 them, so they get depareneted and checked if they are top node.
5529 2005-12-01 Jackson Harper <jackson@ximian.com>
5531 * TreeView.cs: When imagelists are used the image area is
5532 selectable as well as the text.
5533 - If there are no selected nodes select the first one.
5534 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
5535 so don't do it more then we need to.
5537 2005-12-01 Jackson Harper <jackson@ximian.com>
5539 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
5540 that arrows can be scaled.
5542 2005-12-01 Jackson Harper <jackson@ximian.com>
5544 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
5545 fail. Patch by Dieter Bremes
5547 2005-11-30 Jackson Harper <jackson@ximian.com>
5549 * Form.cs: Property is 2.0 only
5550 * PrintDialog.cs: Signature fix.
5552 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5555 - No longer artificially moves text 2 pixels down (now that we have
5556 borders this is no longer needed)
5557 - Added calcs for left, hanging and right indent
5559 2005-11-23 Mike Kestner <mkestner@novell.com>
5561 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
5563 2005-11-30 Jackson Harper <jackson@ximian.com>
5565 * MdiChildContext.cs: Set the cloned menus forms, as these don't
5566 get cloned as part of CloneMenu ().
5567 * Menu.cs: Make sure the parent of the items get set correctly
5568 when they are added. And the owners are notified of the changes.
5569 * Form.cs: Create an ActiveMenu property, so that when MDI is used
5570 we can change the menu being displayed/handled by the form without
5571 changing the menu assosciated with the form.
5572 - Don't let Mdi children draw/handle menus.
5574 2005-11-30 Jackson Harper <jackson@ximian.com>
5576 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
5577 a MenuChanged event. Just to make the API a little more
5580 * MenuItem.cs: Use the new OnMenuChanged
5581 * MdiChildContext.cs: Handle menu merging.
5582 * Form.cs: Implement MergedMenu.
5584 2005-11-30 Jackson Harper <jackson@ximian.com>
5586 * Menu.cs: We were misusing Add. Add goes behind the specified
5587 index according to the docs, and does not replace the specified
5588 index. So I added an Insert method.
5590 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5592 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
5593 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
5595 * RichTextBox.cs: Added calls to base for DnD events
5597 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
5600 - Fixed drag-selection related crash; style fixes
5601 - Implemented undo class
5602 o Implemented method to capture document state for specified
5603 range in document tree
5604 o Implemented method to restore captured document state
5605 o Implemented cursor tracking
5606 o Implemented basic undo stack
5607 - Added undo cursor tracking to methods altering cursor location
5608 - Added undo tracking to selection deletion (still missing
5609 other text-altering hookups)
5611 - Added SelectionLength property
5612 - Implemented CanPaste()
5613 - Implemented Paste()
5614 - Added missing protected methods
5615 - Fixed RTF->Document conversion; now uses font index 0 and color
5616 index 0 as the default font for the parsed text
5617 - Fixed RTF<->Document font size translation
5618 - Fixed RTF generation, now properly handles cross-tag boundaries
5619 for single line selection
5620 - No longer always appends blank line to generated RTF
5622 - Added missing attributes
5623 - Hooked up undo-related methods
5625 - Implemented Copy()
5626 - Implemented Paste()
5628 - Fixed caret mis-behaviour on backspace across line-boundaries
5630 2005-11-29 Jackson Harper <jackson@ximian.com>
5632 * MdiClient.cs: Add a method for activating mdi children. Very
5633 basic right now. I imagine someday it might need more girth.
5634 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
5635 children windows names are added to the menu item.
5636 * ThemeWin32Classic.cs: Draw the arrow if the item is an
5637 mdilist. This happens regardless of whether or not there are any
5638 mdi windows to see in the list, and according to my tests happens
5639 before the items are even added. Also happens if there isn't even
5640 an mdi client to get windows from.
5642 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
5644 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
5645 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
5647 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
5649 * DataGridTableStyle.cs:
5650 - Create always the styles for the missing columns even if they are
5651 provided by the user (not default table style)
5654 - Fixes SetDataBinding (always re-attach source)
5655 - Fixes SetNewDataSource (only clear styles if they are not for
5657 - Expands OnTableStylesCollectionChanged to handle style refresh
5660 2005-11-29 Jackson Harper <jackson@ximian.com>
5662 * FileDialog.cs: Implement missing bits, remove some dead
5664 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
5665 creation of the panel so that the options set on the dialog are
5666 seen when the panel is created.
5667 * TreeView.cs: raise a click when items are clicked.
5669 2005-11-29 Jackson Harper <jackson@ximian.com>
5671 * MdiClient.cs: Pass some signature methods through to base.
5673 2005-11-28 Jackson Harper <jackson@ximian.com>
5675 * ListView.cs: Raise the click event when items are clicked.
5677 2005-11-28 Jackson Harper <jackson@ximian.com>
5679 * MdiClient.cs: Make this algorithm even more beautiful. And fix
5682 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
5684 * ThemeNice.cs: - Removed 1 pixel bitmaps
5685 - Use SmoothingMode.AntiAlias where it makes sense
5686 (ScrollButton arrow for example)
5687 - Enhanced Button focus drawing
5688 - Fixed ComboBox drawing (no artefacts anymore, focus
5689 rectangle is back again, reduced size of ComboButton, etc.)
5690 - Fixed RadioButton focus drawing for Appearence.Button
5691 - Slight ScrollButton redesign
5692 - Some LinearGradientBrush size fixes
5693 - GroupBoxes have now rounded edges
5694 - Fixed StatusBar drawing
5696 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
5698 * ThemeNice.cs: - Remove dead code
5699 - use correct background colors for menus, etc.
5700 - Fake pixel drawing with 1 pixel bitmaps
5702 2005-11-24 Jackson Harper <jackson@ximian.com>
5704 * MdiClient.cs: Size the scrollbars when resizing the window.
5705 - Resize the maximized windows when the client is resized
5706 * Form.cs: Make the child context available
5708 2005-11-23 Jackson Harper <jackson@ximian.com>
5710 * MdiChildContext.cs: Don't size windows if they are maximized.
5712 2005-11-23 Mike Kestner <mkestner@novell.com>
5714 * ContextMenu.cs: use MenuTracker.
5715 * Control.cs: remove menu handle usage.
5716 * Form.cs: remove menu handle usage.
5717 * Hwnd.cs: remove menu handle usage.
5718 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
5719 motion and clicks to the new Tracker handlers.
5720 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
5722 * MenuAPI.cs: refactored to combine popup and menubar event handling.
5723 Killed the MENU and MENUITEM data types and associated collections
5724 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
5725 MenuTracker class that exposes the leftovers from the old MenuAPI
5726 static methods. Restructured Capture handling so that only one grab is
5727 done for the entire menu hierarchy instead of handing off grabs to
5728 submenus. Tracker now has an invisible control to Capture when active.
5729 * MenuItem.cs: add sizing accessors, kill Create
5731 * Theme.cs: remove menu handle and MENU(ITEM) usage.
5732 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
5733 MENU(ITEM). remove menu handle usage, use Menu directly.
5734 * XplatUIDriver.cs: remove menu handle usage.
5735 * XplatUIOSX.cs: remove menu handle usage.
5736 * XplatUIWin32.cs: remove menu handle usage.
5737 * XplatUIX11.cs: remove menu handle usage.
5739 2005-11-22 Jackson Harper <jackson@ximian.com>
5741 * Hwnd.cs: Don't compute the menu size for
5742 DefaultClientRectangle.
5743 - Reenable menu sizes being computed for GetClienRectangle.
5744 * Form.cs: Remove comment of trechery
5746 2005-11-22 Jackson Harper <jackson@ximian.com>
5748 * Hwnd.cs: The adjustments for the menu bar are made when it is
5749 attached to the form.
5751 2005-11-19 Jackson Harper <jackson@ximian.com>
5753 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
5754 (just like on windows).
5756 2005-11-19 Jackson Harper <jackson@ximian.com>
5758 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
5759 use real buttons anymore because they are in non client area. The
5760 one TODO here is that I need to somehow invalidate a section of
5761 the non client area.
5763 2005-11-18 Jackson Harper <jackson@ximian.com>
5765 * Control.cs: Put the enum check back in now that MDI doesnt have
5766 to use this to set border styles.
5767 * Form.cs: Only set mdi child windows borders if the handle has
5769 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
5770 this directly on to the driver.
5771 - Get the move start position before adjusting for the titlebar
5772 height, this fixes the windows "skipping" when they are first
5775 2005-11-18 Jackson Harper <jackson@ximian.com>
5777 * XplatUIX11.cs: Just compute the mdi borders separately as they
5778 don't totally match up with normal form borders.
5780 2005-11-18 Jackson Harper <jackson@ximian.com>
5782 * Control.cs: Set WS_ styles for borders, so that the driver does
5783 not have to retrieve the control instance to figure out what kind
5784 of borders it should have.
5785 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
5786 driver can know its an mdi child easily.
5787 * XplatUIX11.cs: Get the border styles and whether the window is
5788 MDI from the Styles and ExStyles params instead of having to get a
5789 control. This prevents a chicken and egg problem.
5791 2005-11-18 Jackson Harper <jackson@ximian.com>
5793 * MdiClient.cs: Fix typo so scrollbars show up correctly.
5795 2005-11-18 Jackson Harper <jackson@ximian.com>
5797 * MdiClient.cs: Calculate when to add and remove scrollbars
5799 * MdiChildContext.cs: Adjust the y position to take the titlebar
5801 - No height for FormBorderStyle.None
5803 2005-11-18 Jackson Harper <jackson@ximian.com>
5805 * Control.cs: Allow non enum values to be used for
5806 InternalBorderStyle. MDI does this to set a special border style.
5807 - New utility methods for converting points to/from client coords
5808 - Add the newly created control to the Controls collection before
5809 updating its style. This way UpdateStyle can walk the control
5810 heirarchy to find the control if needed.
5811 so I don't need to create a new Point object all the time.
5812 * Form.cs: Let MDI windows handle their border styles.
5813 - Set styles on MDI windows so the correct title style is derived.
5814 * MdiChildContext.cs: Move all the painting and window handling
5815 into the non client area.
5816 - Use correct sizing and put correct buttons on frames based on
5817 the FormBorderStyle.
5818 - Notify the mdi client about scrolling
5819 - Need to handle the buttons ourselves now, because they are all
5820 in non client areas and we can't add controls there.
5821 * MdiClient.cs: Halfway to scrolling, this implementation is
5822 somewhat broken though, we need to check to make sure other
5823 windows aren't causing scrolling before removing the bars. Also
5824 the bars need to be drawn on top, maybe I can switch implicit
5825 controls to be on top.
5826 * Hwnd.cs: caption_height and tool_caption_height are now
5827 properties of an hwnd, this way they can be set by the driver
5828 based on the type of window they are. In X11 the window manager
5829 handles the decorations so caption_height is zero unless its an
5831 - Add 3 pixel borders for MDI windows (0xFFFF).
5832 - Get rid of some code duplication, have DefaultClientRectanle
5833 just call GetClientRectangle.
5834 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5836 - Set border styles differently for mdi windows.
5837 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5840 2005-11-15 Mike Kestner <mkestner@novell.com>
5842 * Menu.cs: when adding an item to the collection, if item is already
5843 parented, remove it from the parent.
5845 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5847 * X11DesktopColors.cs: Added KDE support
5849 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5852 - Clipboard methods now can translate Rtf format
5853 - No longer removes clipboard contents whenever a new format is added
5854 to allow placing multiple formats on the clipboard
5855 * Clipboard.cs: Clipboard now supports getting a IDataObject and
5856 will place all formats contained in it onto the clipboard. Also
5857 now cleans the clipboard before placing a new object onto it
5859 - Implemented set_Rtf
5860 - Implemented set_SelectedRtf
5861 - Created InsertRTFFromStream() method to allow single code base
5862 for all properties and methods that insert RTF into document
5863 - Removed debug output
5865 - Fixed Delete(int) to fix up line numbers
5866 - Fixed ReplaceSelection to combine start and end line
5867 - Fixed serious DeleteChars bug that would leave the document tree
5869 - Improved DumpTree with several logic checks to detect broken
5871 - Removed debug lines
5872 - Fixed Caret.WordForward/WordBack moving code, now always also
5873 updates caret.tag (fixes crash when word-selecting across tag
5874 boundaries via keyboard)
5875 - Added Insert() method for inserting multiline text into documents
5876 - Fixed DeleteChars() calculation errors that would cause a broken
5877 tag chain with multiple tag lines
5878 - DeleteChars() no longer crashes on multi-tag lines if not all tags
5879 - Split() no longer moves caret if split is at caret location
5880 - ReplaceSelection() now updates the cursor and re-displays it
5881 - ReplaceSelection() now uses new Insert() method to avoid code
5883 - FormatText() can now handle formatting partial lines
5885 - Append now uses new TextControl.Insert() method (this avoids
5887 - Implemented Ctrl-X (Cut) (
5888 - Implemented Ctrl-C (Copy)
5889 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5890 regeneration when pasting text; roundtripping Copy&Paste within
5891 edit control still fails due to some calculation bugs in GenerateRTF)
5892 - The Delete key will now remove the current selection if it is visible
5893 * TextBox.cs: Removed debug lines
5894 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5895 driver to be initialized and can't therefore be done via a static ctor)
5897 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5899 * TextControl.cs: Added backend code for finding char arrays and strings
5901 - Added mouse wheel scroll support
5902 - Added support for VScroll and HScroll events
5904 - Implemented all seven Find() variants
5905 - Implemented GetCharFromPosition()
5906 - Implemented GetCharIndexFromPosition()
5907 - Implemented GetLineFromIndex()
5908 - Implemented GetPositionFromCharIndex();
5909 - Implemented SaveFile for PlainText and UnicodeText
5910 - Fixed set_Font, now setting a new font applies that font to
5912 - Implemented generic Document to RTF converter
5913 - Implemented SaveFile for RichText format (still missing unicode
5914 conversion for non-ansi chars)
5915 - Implemented get_Rtf
5916 - Implemented get_SelectedRtf
5918 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5920 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5921 to allow any captures to be released before triggering OnClick. This
5922 way a click handler may capture the mouse without interference.
5923 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5924 This way we send them even though X may not allow a grab (if the window
5925 isn't visible, for example)
5927 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5929 * DataGridViewRowEventArgs.cs: DataGridView implementation
5930 * DataGridViewElement.cs: DataGridView implementation
5931 * DataGridViewComboBoxCell.cs: DataGridView implementation
5932 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5933 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5934 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5935 * ImageLayout.cs: DataGridView implementation
5936 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5937 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5938 * DataGridViewSelectionMode.cs: DataGridView implementation
5939 * IDataGridViewEditingControl.cs: DataGridView implementation
5940 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5941 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5942 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5943 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5944 * DataGridViewColumnSortMode.cs: DataGridView implementation
5945 * DataGridView.cs: DataGridView implementation
5946 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5947 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5948 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5949 * Padding.cs: DataGridView implementation
5950 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5951 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5952 * DataGridViewRowEventHandler.cs: DataGridView implementation
5953 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5954 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5955 * DataGridViewButtonCell.cs: DataGridView implementation
5956 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5957 * DataGridViewEditMode.cs: DataGridView implementation
5958 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5959 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5960 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5961 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5962 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5963 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5964 * DataGridViewCellEventHandler.cs: DataGridView implementation
5965 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5966 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5967 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5968 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5969 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5970 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5971 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5972 * QuestionEventArgs.cs: DataGridView implementation
5973 * IDataGridViewEditingCell.cs: DataGridView implementation
5974 * DataGridViewTriState.cs: DataGridView implementation
5975 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5976 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5977 * DataGridViewColumnCollection.cs: DataGridView implementation
5978 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5979 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5980 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5981 * DataGridViewColumn.cs: DataGridView implementation
5982 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5983 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5984 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5985 * DataGridViewRow.cs: DataGridView implementation
5986 * DataGridViewImageCellLayout.cs: DataGridView implementation
5987 * DataGridViewImageCell.cs: DataGridView implementation
5988 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5989 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5990 * DataGridViewHeaderCell.cs: DataGridView implementation
5991 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5992 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5993 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5994 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5995 * QuestionEventHandler.cs: DataGridView implementation
5996 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5997 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5998 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5999 * DataGridViewCell.cs: DataGridView implementation
6000 * DataGridViewCellEventArgs.cs: DataGridView implementation
6001 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
6002 * DataGridViewCellStyle.cs: DataGridView implementation
6003 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
6004 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
6005 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
6006 * TextFormatFlags.cs: DataGridView implementation
6007 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
6008 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
6009 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
6010 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
6011 * DataGridViewButtonColumn.cs: DataGridView implementation
6012 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
6013 * HandledMouseEventArgs.cs: DataGridView implementation
6014 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
6015 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
6016 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
6017 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
6018 * DataGridViewRowCollection.cs: DataGridView implementation
6019 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
6020 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
6021 * DataGridViewHitTestType.cs: DataGridView implementation
6022 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
6023 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
6024 * DataGridViewColumnEventHandler.cs: DataGridView implementation
6025 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
6026 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
6027 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
6028 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
6029 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
6030 * DataGridViewContentAlignment.cs: DataGridView implementation
6031 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
6032 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
6033 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
6034 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
6035 * DataGridViewPaintParts.cs: DataGridView implementation
6036 * DataGridViewCellCollection.cs: DataGridView implementation
6037 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
6038 * DataGridViewImageColumn.cs: DataGridView implementation
6039 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
6040 * DataGridViewElementStates.cs: DataGridView implementation
6041 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
6042 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
6043 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
6044 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
6045 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
6046 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
6047 * DataGridViewRowHeaderCell.cs: DataGridView implementation
6048 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
6049 * DataGridViewTextBoxCell.cs: DataGridView implementation
6050 * DataGridViewBand.cs: DataGridView implementation
6051 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
6052 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
6053 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
6054 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
6055 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
6056 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
6057 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
6058 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
6059 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
6060 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
6061 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
6063 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
6065 * ThemeWin32Classic.cs:
6066 - Draw the outside focus rectangle around buttons
6067 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
6068 doesn't use end caps for every dash of a line anymore. This
6069 workaround ignores the forecolor.
6071 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
6073 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
6076 2005-11-07 Jackson Harper <jackson@ximian.com>
6078 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
6080 2005-11-07 Jackson Harper <jackson@ximian.com>
6082 * ScrollableControl.cs: Calculate the maximum and change vars
6083 (more) correctly so that scrollbars appear as a sensible size.
6085 2005-11-04 Jackson Harper <jackson@ximian.com>
6087 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
6089 * TreeView.cs: When the tree is sorted null out the top_node so
6090 that it is recalculated.
6091 - Use dotted lines instead of dashed lines to match MS better.
6093 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
6096 - Implements key search for items. Useful when browsing files with FileDialog
6097 - When changing view mode or when clear the items reset scrollbar positions
6099 2005-11-04 Jackson Harper <jackson@ximian.com>
6101 * CurrencyManager.cs: Implement the MetaDataChanged event, the
6102 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
6103 as to what the method may do as there is no real way of creating a
6104 derived CurrencyManager and calling the method.
6106 2005-11-03 Jackson Harper <jackson@ximian.com>
6108 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
6109 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
6110 method which seems to just be used internally to refresh the tabs.
6112 2005-11-03 Jackson Harper <jackson@ximian.com>
6114 * TabControl.cs: Implement the remove method. Fix some broken
6117 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6119 * DateTimePicker.cs:
6120 - Added missing DateTimePickerAccessibleObject class
6121 - Added missing events
6122 - Added OnFontChanged method
6123 * Form.cs: Added missing attributes
6124 * TreeView.cs: Added missing attributes
6126 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6128 * GridItemCollection.cs: Fix signatures
6130 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6132 * XplatUI.cs: Updated build rev/date
6133 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
6134 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
6135 * Application.cs: Trigger context-specific ExitThread events
6137 2005-11-03 Jackson Harper <jackson@ximian.com>
6141 * GridTableStylesCollection.cs:
6146 * MonthCalendar.cs: Signature fixes
6148 2005-11-03 Jackson Harper <jackson@ximian.com>
6150 * TreeNodeCollection.cs: Remove should not be virtual.
6151 * TreeView.cs: Implement the last of the missing methods.
6153 2005-11-03 Jackson Harper <jackson@ximian.com>
6155 * TreeNodeConverter.cs: Implement to get off my class-status back.
6157 2005-11-03 Jackson Harper <jackson@ximian.com>
6159 * TreeView.cs: Hookup the bits for drag and drop.
6160 * TreeNode.cs: Don't cache the tree_view or index anymore, now
6161 that nodes can be moved from tree to tree easily this just causes
6162 all sorts of problems.
6163 * TreeNodeCollection: Don't need to give treenodes an index and
6164 treeview anymore when they are added, these are computed on the
6165 fly. Also make sure to remove a node before its added.
6167 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6170 - Added CaretSelection enum
6171 - Added comparison methods to Marker struct, makes selection code
6173 - Added SelectionStart and SelectionEnd as 'moveable' location for
6174 the CaretDirection enum and handler
6175 - Added selection_prev variable to track optimized invalidation for
6176 word and line selection
6177 - Added SelectionVisible property (returns true if there is a valid
6179 - Switched CaretHasFocus to only display the caret if there is no
6181 - Avoiding StringBuilder.ToString to retrieve a single char, instead
6182 using the direct character index; should be much faster
6183 - Added various conditional debug statements
6184 - Fixed invalidation calculation for selection ranges
6185 - Added ExpandSelection() method to support word and line selection
6186 - Switched SetSelectionToCaret to use new Marker compare overloads
6187 - Added central IsWordSeparator() method to determine word
6188 separators/whitespace and FindWordSeparator() to streamline common
6189 usage of IsWordSeparator()
6191 - Removed unneeded grabbed variable, it was just mirroring
6193 - No longer firing OnTextChanged event when Text setter is called,
6194 since the base will fire the event for us
6195 - Added handling of Ctrl-Up/Down selection
6196 - Added handling of Shift-Cursorkey selection
6197 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
6199 - Added handling of Shift and Ctrl-Shift-Home/End selection
6200 - Removed some debug output
6201 - Added handling for single/double/tripple-click to place caret/
6202 select word/select line respectively (Fixes bug #76031)
6203 - Added support for drag expansion of word/line selection
6204 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
6207 2005-11-02 Jackson Harper <jackson@ximian.com>
6209 * X11Dnd.cs: If the drag is going to and from a MWF window just
6210 copy the data instead of sending it out through the X Selection
6213 2005-11-02 Jackson Harper <jackson@ximian.com>
6216 * XplatUIX11.cs: When in a drag we don't want motion notify
6217 messages to get passed on to the other controls. This prevents
6218 mouse move messages from showing up in the drag source.
6220 2005-11-02 Jackson Harper <jackson@ximian.com>
6222 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
6223 the correct button is release to end a drag.
6224 * XplatUIX11.cs: Make the button state internal so the drag system
6225 can access it. Dragging needs to know about all button releases,
6226 not just left button.
6228 2005-11-02 Miguel de Icaza <miguel@novell.com>
6230 * Form.cs (Icon): If the icon is null, reset the icon to the
6233 * Cursor.cs: When writing the AND-mask bitmap do not include the
6234 number of colors, but hardcode those to two (black and white),
6235 fixes the loading of color cursors (Paint Dot Net).
6237 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
6238 turn off autoscaling.
6240 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
6242 2005-11-02 Jackson Harper <jackson@ximian.com>
6244 * X11Dnd.cs: Make sure to send a status message if the pointer
6245 enters a control that can not accept a drop, otherwise the cursor
6246 isn't updated correctly. Also tried to compress the lines of code
6249 2005-11-02 Jackson Harper <jackson@ximian.com>
6251 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
6252 set actions correctly. This isn't perfect as XDND and win32 have
6253 some differences on how you allow actions. I'll clear this up by
6254 adding a path for drag from MWF to MWF windows.
6255 * XplatUIX11.cs: Hook into the dnd system.
6257 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
6259 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
6260 previously shown but they are no longer need it. Very obvious when
6261 browsing files with FileDialog.
6263 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
6265 * Control.cs: We always need to call OnPaintBackground. We pretty much
6266 ignore AllPaintingInWmPaint and always do the painting there, whether
6267 it's set or not, since we always ignore the WM_ERASEBKGND message
6268 (which we don't generate on X11). This fixes #76616.
6269 * Panel.cs: Removed unneeded background painting. This happens properly
6270 in Control.cs already
6272 2005-10-31 Mike Kestner <mkestner@novell.com>
6274 * Menu.cs: Add items to collection before setting their index.
6275 * MenuItem.cs : add range checking with ArgumentException like MS.
6278 2005-10-31 Jackson Harper <jackson@ximian.com>
6280 * ListBox.cs: Invalidate if the area is visible at all not just
6281 contained in the visible rect. Fixes unselection of semi visible
6284 2005-10-31 Jackson Harper <jackson@ximian.com>
6286 * Control.cs: Consistently name the dnd methods. Make them
6287 internal so we can override them to match some MS behavoir
6289 * Win32DnD.cs: Use the new consistent names.
6291 2005-10-31 Jackson Harper <jackson@ximian.com>
6293 * TreeView.cs: Don't draw the selected node when we lose focus.
6295 2005-10-31 Jackson Harper <jackson@ximian.com>
6297 * X11Dnd.cs: We still need to reset the state even though a full
6298 reset isn't being done, otherwise status's still get sent all over
6301 2005-10-31 Jackson Harper <jackson@ximian.com>
6303 * Control.cs: Make the dnd_aware flag internal so the dnd
6304 subsystem can check it. Catch exceptions thrown in dnd handlers to
6306 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
6307 * X11Dnd.cs: Handle null data in the converters. Set the XDND
6308 version when sending a XdndEnter. Use the control/hwnd dnd_aware
6309 flags to reduce the number of dnd enters/status's sent.
6311 2005-10-31 Jackson Harper <jackson@ximian.com>
6313 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
6315 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
6317 * PictureBox.cs: Fixes 76512
6319 2005-10-28 Jackson Harper <jackson@ximian.com>
6321 * X11Dnd.cs: Early implementation to support winforms being a drag
6322 source for data on X11. Also restructured the converters so they
6323 can go both ways now.
6324 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
6326 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
6328 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
6331 2005-10-27 Jackson Harper <jackson@ximian.com>
6333 * TreeNode.cs: Implement serialization so my DnD examples will work.
6335 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
6337 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
6338 TreeView.cs: Don't dispose objects that are not owned.
6340 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
6342 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
6343 should retrieve the current cursor and report that, but XplatUI
6344 doesn't (yet) have an interface for that (and I'm not sure I even
6346 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
6347 until any message loop processing is done (and the WM_SETCURSOR
6348 replaces the cursor to the proper one)
6350 - Fixed override behaviour, we can't set the cursor globally on X11,
6351 just for our windows.
6352 - Invalidating the System.Drawing X11 display handle when we are
6354 * Control.cs: Fix to make csc happy
6356 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
6359 - get_Text: Add last line (without trailing newline) to returned
6361 - get_TextLength: Count last line in returned length
6362 - ToString: Call Text property instead of duplicating code
6364 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
6366 * ImageList.cs: Dispose ImageAttributes objects.
6368 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6370 * ImageList.cs: Use attribute constructors with less arguments where
6373 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6375 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
6376 Use typeof instead of strings when assembly is referenced. Added
6379 2005-10-21 Jackson Harper <jackson@ximian.com>
6381 * ListView.cs: Raise a double click event. Also tried to somewhat
6382 fix when the selectedindexchanged event is raised. Its still
6385 2005-10-21 Jackson Harper <jackson@ximian.com>
6387 * TreeView.cs: New method to invalidate the plus minus area of a
6388 node without invalidating the whole node (maybe this can be used
6389 in some more places).
6390 * TreeNodeCollection.cs: When adding to an empty node we need to
6391 invalidate its plus minus area so the little block shows up.
6393 2005-10-21 Jackson Harper <jackson@ximian.com>
6395 * TreeView.cs: Make sure that when we invalidate a node the bounds
6396 are big enough to cover the selected box and the focus
6397 rectangle. Use a different colour for the lines connecting nodes
6398 so they show up with all themes.
6400 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6402 * NativeWindow.cs: Don't call anything that could call into the driver,
6403 we might be on a different thread.
6405 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6407 * Control.cs(Dispose): Since Dispose might run on a different thread,
6408 make sure that we call methods that could call into the driver via
6409 invoke, to avoid thread issues
6411 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6413 * XplatUI.cs: Removed finalizer
6414 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
6415 not allowing to be called on the finalizer thread.
6417 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
6420 - Reverted r51889 and r51891.
6421 - Added ImageListItem class that stores unmodified image items and image
6422 properties required to create list images until handle is created.
6423 - Added AddItem and moved image creation logic to AddItemInternal.
6424 - Added CreateHandle method that creates images based on unmodified items.
6425 - Added DestroyHandle that changes state to store unmodified items.
6426 - Add and AddStrip methods no more create handle.
6427 - ReduceColorDepth has no return value.
6428 - Dispose destroys handle.
6429 - Modified other methods to reflect the above changes.
6430 - Implemented key support.
6431 - Added profile 2.0 members and attributes.
6432 - Added private Reset and ShouldSerialize methods that provide the same
6433 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
6434 them as they are private.
6435 - Added some more comments about implementation details.
6437 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6439 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
6441 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6443 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
6445 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6447 * DataGridDrawingLogic.cs: Fixes column hit calcultation
6448 * DataGridColumnStyle.cs: Remove debug message
6450 2005-10-20 Jackson Harper <jackson@ximian.com>
6452 * TreeView.cs: We can always get input keys regardless of whether
6453 or not editing is enabled. They are used for navigation.
6455 2005-10-20 Jackson Harper <jackson@ximian.com>
6457 * TreeNode.cs: Use the viewport rect for determining if a node
6458 needs to be moved for visibility. Don't use Begin/End edit. This
6459 calls a full refresh when its done.
6460 * TreeView.cs: New SetBottom works correctly. Make the viewport
6461 rect property internal so the treenodes can see it. When clicking
6462 on a node we need to ensure that its visible because it might just
6463 be partly visible when clicked.
6465 2005-10-20 Jackson Harper <jackson@ximian.com>
6467 * TreeNodeCollection.cs: Remove debug code.
6469 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6471 * Datagrid.cs: Implements column sorting in Datagrid
6472 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
6474 2005-10-20 Jackson Harper <jackson@ximian.com>
6476 * TreeNodeCollection.cs: Remove items properly. Update the correct
6477 area after removing them.
6479 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6481 * Datagrid.cs: Should not call base.OnPaintBackground
6483 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6485 * XplatUIX11.cs (GetMessage):
6486 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
6487 window instead of client window
6488 - Now properly calculates NC_xBUTTONUP message coordinates
6489 - ScreenToMenu now properly calculates it's coordinates of whole
6490 window, since menus are in the whole window, not in the client
6492 - Added WholeToScreen coordinate translation method
6494 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6496 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
6497 want to return a message, loop back to the beginning of the function
6498 and grab the next real message to process instead.
6500 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6502 * Splitter.cs: Properly set limits if no filler control is used
6504 2005-10-19 Jackson Harper <jackson@ximian.com>
6506 * ColorDialog.cs: Don't show the help button if it is not enabled
6507 instead of disabling it (this is what MS does). Don't create the
6508 panel until the dialog is run, otherwise the vars (such as
6509 ShowHelp) are not set yet.
6511 2005-10-19 Jackson Harper <jackson@ximian.com>
6513 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
6514 are reduced when adding nodes.
6516 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
6519 2005-10-19 Jackson Harper <jackson@ximian.com>
6521 * FolderBrowserDialog.cs: End editing our treeview so the window
6522 actually gets refreshed.
6524 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6526 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
6527 Obsoleted handling of WM_ERASEBKGND, now always draws our background
6530 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6532 * MenuAPI.cs: Returns after Hidding window
6533 * XplatUIX11.cs: Added TODO found while debugging menu issues
6535 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6537 * XplatUIX11.cs: Do not re-map the whole window when it's size
6538 becomes non-zero unless it's supposed to be actually visible
6540 2005-10-18 Jackson Harper <jackson@ximian.com>
6542 * TreeView.cs: We don't need to keep a count anymore.
6543 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
6544 use the Grow method.
6546 2005-10-18 Jackson Harper <jackson@ximian.com>
6548 * TreeNodeCollection.cs: Insert is not supported on arrays, so
6549 implement it manually here.
6551 2005-10-18 Jackson Harper <jackson@ximian.com>
6553 * ImageList.cs: Dont kill the list when the colour depth is
6554 changed, just change the colour depth of all the images.
6555 - Same goes for setting the image size. Just resize them all
6556 instead of killing the list softly.
6558 2005-10-18 Jackson Harper <jackson@ximian.com>
6560 * Control.cs: Don't invalidate empty rectangles.
6562 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6565 - Adds checked item to the Checked/Item lists (where empty before)
6566 - Do not add items to the Selected lists if they are already present
6568 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
6569 - When deleting items make sure that we delete them for the Selected
6570 and Checked list also.
6572 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6574 * Label.cs: Dispose objects no longer used
6575 * ThemeWin32Classic.cs: Dispose objects no longer used
6577 2005-10-18 Jackson Harper <jackson@ximian.com>
6579 * TabControl.cs: Don't refresh the whole control when the tabs are
6580 scrolled, we just need to refresh the tab area.
6582 2005-10-17 Jackson Harper <jackson@ximian.com>
6584 * XplatUIX11.cs: Compress code a little bit. Only calculate the
6585 after handle when we need it.
6587 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6589 * Control.cs: When the parent size changes, recalculate anchor
6590 positions. Partial fix for #76462
6592 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6594 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
6597 2005-10-17 Jackson Harper <jackson@ximian.com>
6599 * MonthCalendar.cs: Don't create the numeric up down until our
6600 handle is created. Otherwise our handle is created in the
6601 constructor and we don't know if we are a WS_CHILD or WS_POPUP
6604 2005-10-17 Jackson Harper <jackson@ximian.com>
6606 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
6609 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6610 * TreeNode.cs : small logical fix (was using local var instead of field)
6612 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6614 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
6616 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6618 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
6620 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
6623 - Re-implemented anchoring code. My first version was really broken.
6624 This fixes bug #76033. Unlike the previous implementation we will
6625 no longer have round errors since all numbers are calculated from
6626 scratch every time. Removed various anchor-related obsolete vars.
6627 - InitLayout no longer causes layout event firing and layout to be
6630 2005-10-16 Jackson Harper <jackson@ximian.com>
6632 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
6635 2005-10-16 Jackson Harper <jackson@ximian.com>
6637 * TabControl.cs: Remove debug code.
6639 2005-10-16 Jackson Harper <jackson@ximian.com>
6641 * XEventQueue.cs: Increase the default queue size (very simple
6642 apps needed to grow the queue).
6643 * Hwnd.cs: No finalizer so we don't need to suppress
6644 finalization. Compute the invalid area manually so a new rectangle
6645 does not newto be created.
6646 * ScrollableControl.cs: Don't set any params (otherwise visibility
6647 isn't set correctly).
6648 * MdiChildContext.cs: New constructor takes the mdi parent so it
6649 doesn't have to be computed and avoids a crash on windows. Draw
6650 the window icon properly, and allow the text to be seen.
6651 * Form.cs: Use new MdiChildContext constructor. Make sure the
6652 child context isn't null in wndproc.
6653 * TabControl.cs: Don't set focus, this is muddling keyboard
6654 behavoir. Expand the tab rows when a window size increase will
6655 allow extra tabs to be seen. Don't allow tabs smaller than the
6656 width of a window to be scrolled out of view.
6658 * TreeView.cs: Use measure string to calculate a nodes width, the
6659 width is cached and only updated when the text or the font is
6660 changed. Don't check for expand/collapse clicks on the first level
6661 nodes if root lines are disabled.
6663 2005-10-16 Ritvik Mayank <mritvik@novell.com>
6665 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
6667 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6669 * DataGridBoolColumn.cs: fixes warning
6671 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6673 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
6674 to match more to match more precisely the MS Net behavior
6676 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6678 * Hwnd.cs: Added field to track if window is mapped
6680 - Unmap windows if they become 0-size, re-map when
6681 they are >0 again; fixes #76035
6682 - Re-set our error handler after initializing X11Desktop
6683 to override any error handlers Gtk or whatever was called
6686 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6688 * CheckedListBox.cs: Removed unused vars
6689 * ListView.cs: Fixed signatures
6690 * RichTextBox.cs: Removed unused vars
6691 * TextBoxBase.cs: Removed unused vars
6692 * XplatUIWin32.cs: Removed unused vars
6693 * XplatUIX11.cs: Removed unused vars
6694 * XplatUI.cs: Updated version and date to latest published
6696 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6698 * Cursor.cs: Added private .ctor to work around a bug in
6699 resourceset (Thanks to Geoff Norton for the help on this)
6700 * SplitterEventArgs.cs: Made fields accessible so we don't
6701 waste boatloads of objects and can reuse the same one
6703 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
6704 any captions and borders when generating screen coordinates
6705 * Splitter.cs: Reimplemented control, now fully complete, uses
6706 rubberband drawing, supports and obeys all properties, has
6709 2005-10-13 Miguel de Icaza <miguel@novell.com>
6711 * Form.cs (Form): Setup default values for autoscale and
6712 autoscale_base_size; Make these instance variables, not static
6715 (OnLoad): on the first load, adjust the size of the form.
6717 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6719 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
6720 width argument to DrawReversibleRectangle()
6721 * XplatUIWin32.cs, XplatUIX11.cs:
6722 - Implemented width for DrawReversibleRectangle()
6723 - Added logic to DrawReversibleRectangle that recognizes a zero
6724 width or height and only draws a line in that situation
6726 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6728 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
6729 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
6730 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
6731 method (it uses our FosterParent window to get a graphics context)
6733 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6735 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
6736 and SetWindowBackground methods
6738 - Setting proper ControlStyles
6739 - We no longer call XplatUI.SetWindowBackground and XplatUI.
6740 EraseWindowBackground, instead we draw the window background
6741 ourselves in PaintControlBackground. This behaviour is
6742 required to match MS, where, when OnPaintBackground is not
6743 called, the background is not drawn.
6744 - Removed unneeded Refresh() in set_Text
6745 * Hwnd.cs: Dropped the ErasePending support. No longer needed
6747 - Created DeriveStyles method to translate from CreateParams to
6748 FormBorderStyle and TitleStyle, also handles BorderStyle (which
6749 matches FormBorderStyle enum values)
6750 - Consolidated SetHwndStyles and CalculateWindowRect border/title
6751 style calculations into single DeriveStyles method
6752 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
6753 from redrawing the whole window on any resize or expose.
6754 - Fixed CreateWindow usage of SetWindowValuemask. Before not
6755 all styles were applied to our whole/client window appropriately
6756 - Removed EraseWindowBackground() and SetWindowBackground() methods
6757 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
6758 no longer clear/redraw the background through X
6759 - Removed handling of erase_pending bit, we have no use for it (or
6762 - Removed generation and handling of WM_ERASEBKGND message
6763 - Removed EraseWindowBackground() and SetWindowBackground() methods
6764 - Removed handling of hwnd.ErasePending flag
6766 - Removed EraseWindowBackground() and SetWindowBackground() methods
6767 - We no longer call EraseWindowBackground on PaintEventStart, we
6768 ignore the fErase flag, erasing is handled in Control in the
6770 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
6771 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
6772 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
6773 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
6774 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
6775 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
6776 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
6778 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
6780 * PropertyGrids.cs: Get sub properties
6781 * PropertyGridView.cs: Fix drawing code
6783 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6785 * ListBox.cs: Fixes 76383
6787 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6789 * DataGridTextBoxColumn.cs: Sets location and size before attachment
6790 * ThemeWin32Classic.cs: Fixes border drawing and calculations
6791 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
6794 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6796 * ComboBox.cs: Fixes border drawing
6798 2005-10-10 Miguel de Icaza <miguel@novell.com>
6800 * MimeIcon.cs: Ignore errors if the file can not be read.
6802 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6804 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
6805 - Fixed border calculations
6806 - Fixed horizontal scrolling in single column listboxes
6807 - Fixed drawing issues
6809 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
6811 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
6812 FormBorderStyle enum
6813 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
6814 code to determine FormBorderStyles from CreateParams
6816 - Fixed bug where we'd set the wrong window styles if we were
6817 not creating an MDI window
6818 - Added call to XplatUI.SetBorderStyle when form borders are set
6819 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
6821 - Removed obsolete edge style
6822 - Switched from BorderStyle to FormBorderStyle
6824 2005-10-10 Jackson Harper <jackson@ximian.com>
6826 * Form.cs: Use the property to get the window handle instead of
6827 accessing it directly. Prevents a null reference exception.
6829 2005-10-10 Jackson Harper <jackson@ximian.com>
6831 * TreeView.cs: Don't adjust the rect given to DrawString now that
6832 our libgdiplus draws correctly.
6834 2005-10-08 Jackson Harper <jackson@ximian.com>
6836 * TreeView.cs: Don't try to find the clicked on node if there are
6837 no nodes in the tree.
6839 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6845 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6847 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6848 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6850 Use ResPool for brushes and dispose System.Drawing objects that
6851 are not used anymore.
6853 2005-10-07 Jackson Harper <jackson@ximian.com>
6855 * MdiChildContext.cs: Use the new borders instead of drawing them
6858 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6860 * Calling UpdateBounds after changing the window's BorderStyle
6861 since the style can change the ClientSize
6863 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6865 * Control.cs: Made PaintControlBackground virtual
6866 * Panel.cs: Overriding PaintControlBackground instead of using paint
6867 event; paint event method was interfering with 'real' users of the
6870 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6872 * ThemeWin32Classic.cs: remove border drawing since it is handled
6873 by the base control class now and was causing double border drawing.
6875 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6877 * Panel.cs: Redraw our background on paint. Not a pretty solution,
6878 but it does seem to match MS behaviour. This fixes bug #75324
6880 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6882 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
6883 somewhat hackish looking
6885 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6888 - We now accept Enter even if AcceptEnter is false, if the containing
6889 form does not have an AcceptButton configured (fixes bug #76355)
6890 - Calculations are now fixed to no longer use Width/Height, but
6891 ClientSize.Width/Height, since we now support borders (this was
6892 a result of fixing borders and therefore bug #76166)
6893 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6894 true (fixes bug #76354)
6896 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6899 - Defaulting BorderStyle and setting it in XplatUI when our window
6901 - Added enum check to InternalBorderStyle setter
6903 - Added drawing of window borders
6904 - Now properly calculates WM decorations offset for toplevel
6905 windows (fixes bug #74763)
6907 - Implemented BorderStyles for windows (we're letting win32 draw
6909 - Fixed the signature for SetWindowLong
6910 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6911 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6913 * UpDownBase.cs: Remove drawing of borders, this is handled by
6914 the driver, outside the client area
6915 * ListView.cs: Removed bogus border calculations. The control should
6916 be oblivious to borders, since those are not part of the client
6918 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6919 * ThemeWin32Classic.cs: Removed border calculations from ListView
6922 2005-10-06 Jackson Harper <jackson@ximian.com>
6924 * MdiChildContext.cs: Clear out the old virtual position remove
6925 all the unneeded calls to CreateGraphics.
6927 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6929 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6931 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6934 - Added loading and setting of our new default icon
6935 - Only set icon if window is already created
6937 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6940 - Do not explicitly set the foreground and background colors, to
6941 allow inheriting from parents (fixes #76302)
6942 - Use Control's InternalBorderStyle property to deal with borders
6944 2005-10-06 Jackson Harper <jackson@ximian.com>
6946 * MdiChildContext.cs: Use the new xplatui function to draw a
6949 2005-10-06 Jackson Harper <jackson@ximian.com>
6951 * Form.cs: Add the parent before creating the child context cause
6952 we need the parent when setting up the child.
6954 2005-10-06 Jackson Harper <jackson@ximian.com>
6956 * FolderBrowserDialog.cs: redo the tree population code so a
6957 second thread isn't used. Should be a lot faster and more stable
6960 2005-10-05 Jackson Harper <jackson@ximian.com>
6962 * TreeView.cs: There are no expand/collapse boxes if the node has
6965 2005-10-05 Jackson Harper <jackson@ximian.com>
6967 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6969 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6971 * FileDialog.cs: Fix InitialDirectory
6973 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6976 - Fixes changing between styles
6978 - Fixes last item crashing when navigating with keyboard
6980 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6982 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6984 2005-10-05 Jackson Harper <jackson@ximian.com>
6986 * TreeView.cs: If updating the root node do a full refresh.
6987 * TreeNode.cs: The root node should be expanded by default. Also
6988 added a utility prop to tell if we are the root node.
6989 * TreeNodeCollection.cs: Only refresh if the node we are being
6990 added to is expanded. Also added a comment on a potential
6993 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6995 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6996 in dispose method. Fixes #76330
6998 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
7000 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
7002 - Implements vertical and horizontal scrolling using XplatUI
7003 - Fixes keyboard navagation
7004 - Fixes EnsureVisible
7006 - Handles and draws focus properly
7009 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
7011 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
7012 Create handle. NET_2_0: Destroy handle when value is null.
7014 2005-10-03 Jackson Harper <jackson@ximian.com>
7016 * ScrollBar.cs: My last scrollbar patch was broken. This is a
7017 revert and a new patch to prevent the thumb from refreshing so
7020 2005-10-02 Jackson Harper <jackson@ximian.com>
7022 * ScrollBar.cs: Don't update position if it hasn't actually
7023 changed. This occurs when you hold down the increment/decrement
7024 buttons and the thumb gets to the max/min.
7026 2005-10-01 Jackson Harper <jackson@ximian.com>
7029 * MdiChildContext.cs:
7030 * MdiClient.cs: Implement ActiveMdiChild in Form.
7032 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
7034 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
7036 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
7038 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
7041 2005-09-30 Jackson Harper <jackson@ximian.com>
7043 * ListBox.cs: Don't do a full refresh unless some data has
7046 2005-09-30 Jackson Harper <jackson@ximian.com>
7048 * TreeView.cs: Make sure that the checkboxes size is factored in
7049 even when not visible.
7051 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7053 * FileDialog.cs: Fix Jordi's build break
7055 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7058 - Use standard the Windows colours for the combobox as espected
7059 - Dispose objects that use resouces when no longer need them
7061 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7063 * X11DesktopColors.cs: Initial incomplete implementation
7064 * XplatUIX11.cs: Added call to initialize X11DesktopColors
7066 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7069 - Switched Theme color names to match the names defined in
7070 System.Drawing.KnownColors. Life's hard enough, no need to make
7072 - Added setters to all theme color properties so themes can set
7073 their color schemes. The setters also propagate the color changes
7074 to System.Drawing.KnownColors via reflection
7075 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
7076 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
7077 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
7078 use the new, more logical theme color names
7079 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
7081 * ThemeWin32Classic.cs:
7082 - Removed code to set the old classic Windows colors. Instead it
7083 now relies on the colors returned by System.Drawing.KnownColors
7084 which will be either modern static colors (Unix) or colors
7085 read from the user's configuration (Win32)
7086 - Updated to use the new, more logical theme color names
7087 - Switched DataGrid drawing code to use only Theme colors instead of
7088 a mix of System.Drawing.KnownColors and Theme colors
7089 - DrawFrameControl(): Removed code that fills the button area, the
7090 fill would overwrite any previous fill done by a control. This
7092 - Added DrawReversibleRectangle() stub
7093 * ScrollableControl.cs: Set visible state to false when scrollbars
7094 are removed (pdn fix)
7095 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
7096 DrawReversibleRectangle() method to allow drawing primitive
7098 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
7100 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7102 * ImageList.cs: Add(Icon): Create handle.
7104 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7107 * ThemeWin32Classic.cs:
7110 - Issues with drawing
7112 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7114 * ImageList.cs: Moved RecreateHandle back to ImageList as event
7115 source has to be the ImageList.
7117 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7119 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
7121 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7123 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
7125 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7127 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
7129 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
7130 * GridItem.cs: Fixed TODOs
7131 * GridItemCollection.cs: Added ICollection interface
7133 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7135 * ImageList.cs: Resize icons when needed.
7137 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
7140 - Fixes GetBounds and returns on screen rects
7142 - Fixes vertical and horzintal scrolling of items
7143 * ThemeWin32Classic.cs:
7146 2005-09-29 Raja R Harinath <harinath@gmail.com>
7148 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
7150 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
7152 * ImageList.cs: Added comments about handle creation. Moved Handle,
7153 HandleCreated and OnRecreateHandle implementations to ImageCollection.
7154 Handle is created in Add methods.
7156 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7158 * DataGridDrawingLogic.cs:
7159 - Takes rows into account on Colum calculations
7160 - Returns the column when clickig
7162 - Fixes default HitTestInfo values
7163 - Fixes HitTestInfo.ToString
7164 - Fixes ResetBackColor
7166 2005-09-28 Jackson Harper <jackson@ximian.com>
7168 * MdiChildContext.cs: Obey rules for fixed sized windows (no
7169 sizing or cursor changes). Also added some temp code to draw the
7170 titlebars text (Makes dev a little easier).
7172 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7174 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
7176 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7178 * ListBox.cs: Fixes bug 76253
7180 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7182 * ImageList.cs: Added comments about the current implementation. Added
7183 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
7184 Format32bppArgb to preserve transparency and can use Graphics.FromImage
7185 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
7186 with Bitmap.LockBits for better performance. Revised the whole file to
7187 match MS.NET behaviour and provide better performance. Non-public
7188 interface members are calling public members even when they throw
7189 NotSupportedException for better maintainability. Moved ColorDepth,
7190 ImageSize, ImageStream and TransparentColor implementations to
7191 ImageCollection for better performance as these properties are not used
7193 * ImageListStreamer.cs: Added a new internal constructor that takes an
7194 ImageList.ImageCollection and serializes Images based on
7195 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
7196 match ImageList property name.
7198 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
7200 * ListBox.cs: Fixes IndexFromPoint for last item
7202 2005-09-27 Jackson Harper <jackson@ximian.com>
7204 * Form.cs: Set the position of new mdi children correctly.
7206 2005-09-27 Jackson Harper <jackson@ximian.com>
7208 * MdiClient.cs: New mdi children need to be added to the back of
7209 the controls collection so the zorder is set correctly. Also add a
7210 count of all the child windows that have been created.
7212 2005-09-27 Jackson Harper <jackson@ximian.com>
7214 * Form.cs (CreateParams): Setup MDI forms correctly.
7216 2005-09-27 Jackson Harper <jackson@ximian.com>
7218 * MdiChildContext.cs:
7225 * ScrollableControl.cs:
7226 * ComboBox.cs: Add implicit controls using the new implict control
7227 functionality in ControlCollection. Also try to block multiple
7228 control add in a suspend/resume layout to save some cycles.
7230 2005-09-27 Jackson Harper <jackson@ximian.com>
7232 * Control.cs: Add functionality to the controls collection to add
7233 'implicit controls' these are controls that are created by the
7234 containing control but should not be exposed to the user. Such as
7235 scrollbars in the treeview.
7236 * Form.cs: The list var of the ControlsCollection is no longer
7237 available because of the potential of implicit controls getting
7238 ignored by someone accessing the list directly.
7240 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
7242 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
7243 loose it's parent. (Fixed bug introduced in r49103 when we added
7244 setting the child parent to null on Remove)
7246 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
7248 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
7249 * Splitter.cs: Added missing attributes for BorderStyle property.
7250 * TextBoxBase.cs: Marked Calculate* methods internal.
7251 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
7254 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
7256 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
7258 2005-09-25 Jackson Harper <jackson@ximian.com>
7260 * TreeView.cs: Update the node bounds correctly regardless of
7261 whether the node is visible.
7263 2005-09-25 Jackson Harper <jackson@ximian.com>
7265 * ImageList.cs: Don't dispose the image after it is added to the
7266 image list. Only reformat images that need to be resized.
7268 2005-09-25 Jackson Harper <jackson@ximian.com>
7270 * ImageList.cs: Don't set the format when changing the image.
7272 2005-09-25 Jackson Harper <jackson@ximian.com>
7274 * TreeView.cs: We can't just assume the node has a font. Use the
7275 treeviews font if no node font is available.
7277 2005-09-25 Jackson Harper <jackson@ximian.com>
7279 * TreeView.cs: Allow the scrollbars to be reset with negative
7281 - Don't add scrollbars to negative sized windows.
7283 2005-09-23 Jackson Harper <jackson@ximian.com>
7285 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
7286 old Mono.Posix. Also remove some stray code that shouldn't have
7289 2005-09-23 Jackson Harper <jackson@ximian.com>
7291 * TreeView.cs: Attempt at proper sizing of the horizontal
7292 scrollbar. Also don't resize the scrollbars unless they are
7295 2005-09-23 Jackson Harper <jackson@ximian.com>
7297 * TreeView.cs: We don't need to expand the invalid area when the
7298 selection changes, as this is all drawn in the node's bounding
7299 box. The area needs to be expanded (previous typo was contracting
7300 it) when the focus rect moves.
7302 2005-09-23 Jackson Harper <jackson@ximian.com>
7304 * TreeView.cs: Display the selection box under the correct
7305 circumstances. We were rendering white text with no selection box
7308 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
7310 * TextControl.cs(Split): Now updates selection start/end if it points
7311 into a line that's being split. Fixes a FIXME and bug #75258
7313 2005-09-23 Jackson Harper <jackson@ximian.com>
7316 * ListControl.cs: Don't use the path when retrieving binding
7317 managers from the binding context. My bat sense tells me that the
7318 path is only used on insertion.
7320 2005-09-22 Jackson Harper <jackson@ximian.com>
7322 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
7324 2005-09-22 Jackson Harper <jackson@ximian.com>
7326 * Splitter.cs: There are special cursors used for splitting.
7327 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
7329 2005-09-22 Jackson Harper <jackson@ximian.com>
7331 * Splitter.cs: Change the cursor appropriately when the splitter
7332 is moused over, so the user actually knows there is a splitter
7335 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7337 * Label.cs : Fix ToString method to give same output as MS.NET
7339 2005-09-22 Jackson Harper <jackson@ximian.com>
7341 * TreeView.cs: Create the scrollbars when the handle is created
7342 and add them right away, just make them invisble. Also account for
7343 the window being shrunk vertically to the point that the vert
7344 scrollbar needs to be added.
7345 - Remove some 0.5 adjustments to get around anti aliasing issues.
7347 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
7349 * MainMenu.cs: Fixes default value
7350 * MenuItem.cs: Fixes default value
7352 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
7354 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
7356 2005-09-21 Jackson Harper <jackson@ximian.com>
7358 * Control.cs: Don't try to set the border style on the window if
7359 it hasn't been created. When the window is created the border
7362 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7364 * Control.cs (Update): Don't call XplatUI if we don't have a
7367 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7369 * ContainerControl.cs: Instead of throwing an exception, print
7370 a one-time warning about Validate not being implemented
7371 * XplatUIWin32.cs: Removed debug output
7373 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7375 * Control.cs: Only set XplatUI background if we expect the windowing
7376 system to handle the background. This stops controls that draw their
7377 own background from flickering
7379 * XplatUIX11.cs: Support custom visuals and colormaps for window
7380 creation. This allows, amongst other things, using MWF X11 windows
7383 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7385 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
7386 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
7387 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
7388 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
7389 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
7390 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
7391 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
7392 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
7393 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
7394 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
7395 GridColumnStylesCollection.cs,
7396 IDataGridColumnStyleEditingNotificationService.cs,
7397 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
7398 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
7399 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
7400 TreeNodeCollection.cs, AmbientProperties.cs,
7401 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7402 DataObject.cs, ErrorProvider.cs, Splitter.cs,
7403 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
7404 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
7405 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
7406 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
7407 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
7408 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
7409 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
7410 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
7411 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
7412 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
7413 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
7414 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
7415 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
7416 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
7417 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
7418 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
7419 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
7420 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
7421 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
7422 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
7423 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
7424 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
7425 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
7426 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
7427 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
7428 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
7429 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
7430 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
7431 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
7432 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
7433 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
7434 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
7435 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
7436 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
7437 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
7439 2005-09-21 Jackson Harper <jackson@ximian.com>
7441 * TreeNode.cs: Call Before/After Expand not Collapse when
7444 2005-09-20 Jackson Harper <jackson@ximian.com>
7446 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
7448 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7452 - Fixes proper storing of subitems
7453 - Fixes not updated items
7455 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7457 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
7458 things if our window handle isn't created yet. Also disabled
7459 debug for TextBoxBase
7461 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7463 * MenuAPI.cs: Remove filtering of events to allow menu usage
7465 2005-09-20 Miguel de Icaza <miguel@novell.com>
7467 * Cursor.cs: Allow null to be passed to Cursor.Current.
7469 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
7471 * ThemeWin32Classic.cs:
7472 - Change some private methods/fields to protected virtual so that
7473 they can be accessed and overriden in derived classes
7474 - First refactoring of some methods. Derived themes now don't
7475 need to duplicate the complete code from ThemeWin32Classic
7477 - Added nice StatusBar
7478 - Derive from ThemeWin32Classic and not Theme
7479 - Removed duplicate ThemeWin32Classic code
7481 2005-09-20 Miguel de Icaza <miguel@novell.com>
7483 * Control.cs (ControlCollection.Add): If the value null is passed
7484 the control is ignored.
7488 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7490 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
7491 PostQuitMessage state.
7492 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
7494 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7496 * Application.cs: Our constructor will never get called, move
7497 initialization to fields; fixes bug #75933
7499 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7502 - Allow files to be selected properly using file name
7504 - Add ability to change diretory (absolute / relative)
7505 using file name combo box.
7507 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7510 - Fixes Multicolumn listboxes item wrong calculations
7511 - Allows to click when only one item is in the listbox
7512 - Fixes crash when no items using keyboard navigation
7514 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
7516 * ComboBox.cs: Reverted almost everything from the latest patch which
7519 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
7522 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
7524 - When DropDownStyle is Simple, it does not show scrollbar
7525 to the last item of the list.
7526 - When DropDownStyle is Simple, it crashed when the list was
7527 scrolled down with the down cursor key.
7528 - Fixed a bug that when DropDownStyle is DropDownList, the
7529 selected item was not shown.
7530 - The position of the selected item was not preserved when
7531 the next dropdown happened.
7532 * ThemeWin32Classic.cs:
7533 - Items were wrapped at the right end.
7534 * CheckedListBox.cs:
7537 - Items should be fully shown.
7538 - When resizing and vertical scrollbar disappeared, the item
7539 of index 0 should be on the top of the list.
7540 - GetItemRectangle should consider the size of ver. scrollbar
7542 - SizingGrip area should not be allocated when it is not
7544 - Now it reflects MinWidth of the containing panel and
7545 fixed a crash that happens when its width becomes so small.
7547 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7549 * CheckedListBox.cs: Fixes bug 76028
7550 * ListBox.cs: Fixes bug 76028
7552 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7554 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
7555 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
7557 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
7559 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
7561 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7563 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
7565 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7567 * IRootGridEntry.cs: Added
7568 * PropertyGridCommands.cs: Added
7569 * PropertiesTab.cs: Added missing methods and property
7570 * PropertyGridView.cs: Made class internal
7571 * PropertyGridTextBox.cs: Made class internal
7573 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7575 * MimeIcon.cs: Try to check some other environment variables
7576 if "DESKTOP_SESSION" returns "default"
7578 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7580 * ThemeNice.cs: Corrected background colors (e.g. menus)
7581 * ColorDialog.cs: Use correct background colors for controls
7583 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7585 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
7587 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
7589 * RichTextBox.cs: Added initial implementation
7590 * lang.cs: Removed. Was accidentally checked in long time ago
7591 * TODO: Removed. Contents were obsolete
7593 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7595 * PropertiesTab.cs : Added
7597 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7599 * PropertyGrid.cs : Update
7600 * PropertyGridView.cs : Update
7601 * System.Windows.Forms.resx : Added images and strings
7603 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7605 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
7607 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7609 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
7610 a busy loop right after the Ungrab the X11 display is otherwise
7613 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
7615 * ThemeWin32Classic.cs: Optimise the use of clipping
7617 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
7619 * DataGrid.cs: fixes recursion bug
7621 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
7624 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
7627 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
7629 * ThemeNice.cs: Draw nice ProgressBars
7631 2005-09-01 Miguel de Icaza <miguel@novell.com>
7633 * VScrollBar.cs: Another buglet found by Aaron's tool.
7635 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
7638 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
7641 - Added nicer menu drawing
7645 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7647 * CreateParams.cs (ToString): Made output match MS
7648 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
7649 handle is already created (to avoid forcing window creation)
7650 * XplatUIX11.cs: Set window text to caption after creating window,
7651 in case Text was set before window was created
7652 * Form.cs: Use this.Text instead of a static string as caption
7654 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7656 * NotifyIcon.cs: Don't set the window to visible; this screws
7657 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
7658 OnPaint without a bitmap)
7659 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
7660 happen very often anyway; we could add the check to the WM_PAINT
7661 event generation code
7663 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7665 * NotifyIcon.cs: Fill the icon area with a background color, to
7666 avoid 'residue' when transparent icons are drawn
7668 - Handle whole_window == client_window when destroying windows
7669 - SystrayAdd(): Set client_window to whole_window value to
7670 get mouse and other events passed to NotifyIcon
7672 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7674 * Form.cs: Set proper default for Opacity property
7676 - ShowSystray(): Don't bother creating telling the OS
7677 about the systray item if no icon is provided
7678 - Now handles WM_NCPAINT message to deal with whole/client window
7680 - Create window as visible to not get caught by Expose optimization
7681 * Hwnd.cs: Removed debug message
7682 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
7683 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
7684 PaintEventStart/End to use new client argument
7686 - Commented out debug messages
7687 - Switched PaintEventStart/End to use new client argument
7688 * XplatUI.cs: Added client window bool to PaintEventStart()/
7689 PaintEventEnd() calls, to support drawing in non-client areas
7691 - Added client window bool to PaintEventStart()/PaintEventEnd()
7692 calls, to support drawing in non-client areas
7693 - Added conditional compile to allow using MWF BeginInvoke
7696 - Added some conditional debug output
7697 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
7698 whole/client window split
7699 - Implemented handling of client argument to PaintEventStart()/End()
7701 - Throw exception if BeginInvoke() is called and the window handle
7702 or one of the window's parent handles is not created
7703 - Added conditional compile to allow using MWF BeginInvoke on
7705 - get_Parent(): Only sets parent if handle is created. This avoids
7706 forcing window handle creation when parent is set.
7707 - Now fires Layout and Parent changed events in proper order
7708 - Switched to use Handle instead of window.Handle for Z-Order setting,
7709 the get_Parent() patch above causes us to possibly get null for 'window'
7710 - Implemented handling of client argument to PaintEventStart()/End()
7711 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
7713 - Now sends a Refresh() to all child windows when Refresh() is called
7715 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
7717 * Form.cs: Added (non-functional) Opacity property
7718 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
7720 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
7721 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
7722 use export MONO_THEME=nice to activate it.
7723 Currently supported controls:
7727 - TabControl (TabAlignment.Top only, other will follow)
7728 * ThemeEngine.cs: Add theme nice
7729 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
7732 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
7734 * Splitter.cs: Resize docked control and its neighbor.
7736 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7737 -- Making Windows with Menus layout correctly --
7738 * Form.cs : The first leg of the fix
7739 Menu setter - adjust Client Size as needed to make space for the menu
7740 SetClientSizeCore - doesn't call base version to be able to pass the
7741 menu handle to XplatUI.CalculateWindowRect
7742 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
7743 * XplatUIX11.cs: The critical second leg of the fix
7744 GetWindowPos needs to use a recalculated client_rect
7745 so that resizing the window doesn't break layout of child controls.
7746 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
7749 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
7751 * Label.cs: Now properly recalculates width and height on Font and Text
7752 changes if AutoSize is set
7754 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7755 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
7757 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
7759 * ImageList.cs: Makes ToString method compatible with MS
7761 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
7763 * MenuAPI.cs: fixes bug 75716
7765 2005-08-11 Umadevi S <sumadevi@novell.com>
7766 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
7768 2005-08-11 Umadevi S <sumadevi@novell.com>
7769 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
7771 2005-08-10 Umadevi S <sumadevi@novell.com>
7772 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
7774 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
7776 * Menu.cs: fixes bug 75700
7777 * MenuAPI.cs: fixes navigation issues
7779 2005-08-09 Umadevi S <sumadevi@novell.com>
7780 * CheckedListBox.cs - simple fix for GetItemChecked.
7782 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
7784 * ComboBox.cs: Serveral fixes
7785 * ListBox.cs: Serveral fixes
7787 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7789 * ComboBox.cs: Fixes FindString methods and GetItemHeight
7790 * ListBox.cs: Fixes FindString methods
7792 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7794 * DataGrid.cs: fixes bugs exposed by new tests
7796 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
7798 * Mime.cs: Compile Mono assembly references only if compiling
7799 with Mono (Allows to build with VS.Net again)
7801 2005-07-28 Marek Safar <marek.safar@seznam.cz>
7803 * Control.cs (PaintControlBackground): Draw background image
7805 (CheckForIllegalCrossThreadCalls): Stubbed.
7807 * Form.cs (OnCreateControl): Center when should be centered.
7809 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
7811 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
7813 * Binding.cs: Binding to properties should be case unsensitive
7815 2005-07-18 vlindos@nucleusys.com
7817 * DataGrid.cs: fixes setmember order
7819 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
7821 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
7822 * FileDialog.cs: FileDialog is now resizable and uses the new
7825 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
7827 * DataGridTextBoxColumn.cs: default value
7828 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
7829 * GridTableStylesCollection.cs: fixes checking MappingName
7830 * DataGridDrawingLogic.cs: fixes drawing logic issues
7831 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7832 * DataGrid.cs: fixes
7834 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7836 * MimeGenerated.cs: Use case sensitive comparer for
7837 NameValueCollections
7839 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7841 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7842 * ThemeWin32Classic.cs: bug fixes, code refactoring
7843 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7844 * DataGrid.cs: bug fixes, code refactoring
7845 * DataGridTextBox.cs: bug fixes, code refactoring
7846 * DataGridColumnStyle.cs: bug fixes, code refactoring
7847 * Theme.cs: bug fixes, code refactoring
7849 2005-07-01 Peter Bartok <pbartok@novell.com>
7851 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7852 and other text box usage
7854 2005-07-01 Jackson Harper <jackson@ximian.com>
7856 * TabControl.cs: Make sure the bottom of the tab covers the pages
7859 2005-06-30 Peter Bartok <pbartok@novell.com>
7861 * Form.cs (ShowDialog): Assign owner of the dialog
7862 * TextBoxBase.cs: Always refresh caret size when deleting, caret
7863 might have been moved to a tag with different height
7865 2005-06-30 Jackson Harper <jackson@ximian.com>
7867 * Form.cs: Don't create an infinite loop when setting focus
7868 * MenuItem.cs: Don't dirty the parents if we don't have any
7870 2005-06-29 Ben Maurer <bmaurer@ximian.com>
7872 * LibSupport.cs: Rename
7874 2005-06-29 Peter Bartok <pbartok@novell.com>
7876 * TextBoxBase.cs: Re-align caret after deleting a character
7878 - DeleteChars(): Ensure that tag covers the provided position
7879 - StreamLine(): Drop reference for dropped tag
7881 2005-06-29 Peter Bartok <pbartok@novell.com>
7884 - Selections now work properly, anchoring at the initial location
7885 and properly extending in either direction (SetSelectionToCaret(),
7886 SetSelectionStart() and SetSelectionEnd())
7887 - No longer redraws the whole control on selection change, now
7888 calculates delta between previous and new selection and only
7889 invalidates/redraws that area
7890 - Fixed FindPos() math off-by-one errors
7891 - Changed DeleteChars() to verify the provided tag covers the
7892 provided position, selections may have a tag that doesn't cover
7893 the position if the selection is at a tag border
7894 - Fixed off-by-one errors in DeleteChars()
7895 - Added missing streamlining check in DeleteChars() to remove
7897 - Implemented Invalidate() method, now properly calculates exposures
7898 between two given lines/positions
7899 - Implemented SetSelection()
7900 - Obsoleted and removed FixupSelection()
7901 - Improved RecalculateDocument() logic, removing code duplication
7903 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7905 * LibSupport.cs: changes to match different input/output arguments.
7907 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7909 * LibSupport.cs: added libsupport.so init routine.
7911 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7913 * ControlBindingsCollection.cs
7914 - Throws an exception on null datasource when adding
7915 - Checks for duplicated bindings when adding
7917 2005-06-28 Jackson Harper <jackson@ximian.com>
7919 * TreeView.cs (OnKeyDown): Support left and right properly
7920 (navigates as well as expanding and collapsing.
7921 - Add support for Multiply, this expands all the selected nodes
7925 2005-06-28 Jackson Harper <jackson@ximian.com>
7927 * TreeView.cs: Implement keyboard navigation, currently supports,
7928 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7929 support for toggling checkboxes with the space bar.
7931 2005-06-28 Jackson Harper <jackson@ximian.com>
7933 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7936 2005-06-28 Jackson Harper <jackson@ximian.com>
7938 * TreeView.cs: Add missing event.
7940 2005-06-27 Peter Bartok <pbartok@novell.com>
7943 - Made line ending size configurable (now allows for counting
7944 lineendings as \n or \r\n)
7945 - Added margin to viewport to keep caret visible on right side
7946 - Fixed translation routines for line/pos to documentpos to consider
7947 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7948 - Fixed some line-endings to be unix style
7949 - Fixed Document.FormatText to perform it's calculations 1-based
7950 - Added descriptions for a few methods that might otherwise get
7952 - Added NOTE section with some basic conventions to remember at
7954 - Major fixup for RichTextBox selection drawing:
7955 * Fixed crashes when multiple tags on a single line were selected
7956 * fixed selection box drawing not overlaying text
7957 * fixed bogus offset calculation for tags not starting at index 1
7958 * Switched behaviour from using multiple Substrings of a
7959 StringBuilder.ToString() to using multiple
7960 StringBuilder.ToString(start, length) statements, hoping this is
7961 faster (kept original version commented out in the code, in case
7962 original version was faster)
7963 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7965 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7968 2005-06-27 Jackson Harper <jackson@ximian.com>
7970 * TabControl.cs: Move to the left and right with the arrow
7971 keys. These keys don't cycle beyond first and last like
7972 tab. Refresh all the tabs when scrolling them to the left or
7975 2005-06-27 Jackson Harper <jackson@ximian.com>
7978 - ToString: Added method
7979 - CreateParams: Remove TODO and comment
7980 - OnKeyDown: Cycle through bounds properly.
7981 - SelectedIndex: Scroll to the right or left if we need to
7982 display the newly selected tab.
7984 2005-06-23 Jackson Harper <jackson@ximian.com>
7986 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7989 2005-06-23 Jackson Harper <jackson@ximian.com>
7991 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7992 CTRL-SHIFT-TAB, and HOME, END are there any others?
7994 2005-06-23 Jackson Harper <jackson@ximian.com>
7996 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7998 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8000 * DataGridTextBoxColumn.cs: fixes and enhancements
8001 * ThemeWin32Classic.cs: fixes and enhancements
8002 * DataGridBoolColumn.cs: fixes and enhancements
8003 * DataGridDrawingLogic.cs: fixes and enhancements
8004 * CurrencyManager.cs: fixes and enhancements
8005 * DataGrid.cs: fixes and enhancements
8006 * DataGridColumnStyle.cs: fixes and enhancements
8008 2005-06-22 Jackson Harper <jackson@ximian.com>
8010 * TabControl.cs: Add some missing methods that just call into the
8011 base. Make the TabPageCollection's IList interface behave in the
8012 same manner as the MS implementation.
8014 2005-06-22 Peter Bartok <pbartok@novell.com>
8016 * TextControl.cs: Added sanity check
8018 - Fixed wrapping behaviour, don't set wrap on single line controls
8019 (this fixes the breakage of colordialog introduced in an earlier
8021 - Added rudimentary support for autoscrolling right-aligned controls
8022 (still needs fixing, also, center alignment scroll is missing)
8024 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8026 * ScrollBar.cs: Fixes thumbpos on Maximum values
8028 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
8030 * PropertyGridView.cs: Pass context information to UITypeEditors
8032 2005-06-21 Peter Bartok <pbartok@novell.com>
8035 - Now calling PositionCaret with absolute space coordinates
8036 - Enabled vertical scrolling
8037 - Better tracking of scrollbar changes, tied into WidthChange
8039 - Improved cursor tracking
8040 - Removed debug output
8042 - PositionCaret coordinates are now works in absolute space, not
8044 - Improved tracking of document size
8045 - Added events for width and height changes
8047 2005-06-21 Peter Bartok <pbartok@novell.com>
8049 * Form.cs: Set focus to active control when form is activated
8051 - Added word-wrap functionality to RecalculateLine()
8052 - Added some short function descriptions for VS.Net to aid in
8053 writing dependent controls
8054 - Added Caret property, returning the current coords of the caret
8055 - Added ViewPortWidth and ViewPortHeight properties
8056 - Added Wrap property
8057 - Added CaretMoved event
8058 - Removed some old debug code
8059 - Split() can now create soft splits
8060 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
8061 - Added method to format existing text
8062 - Fixed size/alignment calculations to use viewport
8063 - RecalculateDocument now can handle changing line-numbers while
8067 - Added some wrap logic, we don't wrap if alignment is not left
8068 - Added casts for scrollbar var, base class switched types to
8069 also support RichTextBoxA
8070 - Implemented handling of scrollbar visibility flags
8073 - Switched scrollbars type to RichTextBoxScrollBars to support
8075 - Added tracking of canvas width/height
8076 - Switched scrollbars to be not selectable (to keep focus on text)
8077 - Added central CalculateDocument() method to handle all redraw
8079 - Added ReadOnly support
8080 - Added WordWrap support
8081 - Fixed handling of Enter key (we now treat it as a DialogKey)
8082 - Fixed caret positioning when h or v scroll is not zero
8083 - Fixed placing/generation of vertical scrollbar
8084 - Added CalculateScrollBars() method to allow updating scrollbar
8085 limits and visibility
8086 - Fixed handling of horizontal scroll
8087 - Added handling of vertical scroll
8088 - Implemented auto-'jump' when caret moves to close to a left or
8089 right border and there is text to be scrolled into view (currently
8090 there's the potential for a stack overflow, until a bug in
8093 2005-06-21 Geoff Norton <gnorton@customerdna.com>
8095 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
8097 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
8101 - return application/x-zerosize for files with size zero
8102 (if no extension pattern matches).
8103 - check matches collection for strings too.
8104 - return only the first mime type if the name value
8105 collection has more than one mime type.
8107 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
8109 * PropertyGrid.cs: Cleaned up some TODOs
8110 * PropertyGridView.cs: Added support for UITypeEditors
8112 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8114 * DataGrid.cs: clears cached value
8116 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8118 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
8119 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
8120 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
8121 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
8123 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
8125 * ThemeWin32Classic.cs: fixes colour
8127 2005-06-15 Peter Bartok <pbartok@novell.com>
8129 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
8130 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
8131 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
8132 * Control.cs: Added some MWFCategory and MWFDescription attributes
8133 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
8135 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
8137 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
8140 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
8142 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
8143 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
8144 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
8145 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
8146 * DataGrid.cs: default datagrid settings for Default Styles, fixes
8147 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
8149 2005-06-13 Jackson Harper <jackson@ximian.com>
8151 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
8152 isn't printed when the user enables dropping. (X11 does accept
8155 2005-06-13 Jackson Harper <jackson@ximian.com>
8157 * TreeView.cs: Remove some TODOS.
8159 2005-06-13 Jackson Harper <jackson@ximian.com>
8161 * Form.cs: Hook into the mdi framework.
8162 * MdiClient.cs: Use the base control collections add method so
8163 parents get setup correctly. Set the default back colour and dock
8165 * MdiChildContext.cs: New class, this bad actor handles an
8166 instance of an MDI window. Right now there is only basic
8167 support. You can drag, close, and resize windows. Minimize and
8168 Maximize are partially implemented.
8170 2005-06-13 Jackson Harper <jackson@ximian.com>
8172 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
8173 freaky when both vals are negative. NOTE: There are probably other
8174 places in XplatUIX11 that this needs to be done.
8176 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
8178 * DataGrid.cs: implement missing methods, move KeyboardNavigation
8179 * DataGridColumnStyle.cs: fixes signature
8181 2005-06-12 Jackson Harper <jackson@ximian.com>
8183 * XplatUIX11.cs: Use sizing cursors similar to the ones on
8186 2005-06-11 Jackson Harper <jackson@ximian.com>
8188 * StatusBarPanel.cs: Signature cleanups. Implement
8191 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
8193 * DataGridTextBoxColumn.cs: Honors aligment
8194 * GridColumnStylesCollection.cs: Contains is case unsensitive
8195 * GridTableStylesCollection.cs: several fixes
8196 * DataGridTableStyle.cs: default column creation
8197 * DataGridDrawingLogic.cs: fixes
8198 * CurrencyManager.cs: ListName property
8199 * DataGrid.cs: multiple styles support
8200 * DataGridColumnStyle.cs: fixes
8203 2005-06-10 Peter Bartok <pbartok@novell.com>
8205 * Control.cs(Select): Moved SetFocus call to avoid potential
8206 loops if controls change the active control when getting focus
8207 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
8210 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
8212 * ImageListConverter.cs: Implemented
8214 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8216 * MonthCalendar.cs: Wired in NumericUpDown control for year
8218 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8220 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
8221 DoubleClick events, since they are not meant to be fired.
8223 2005-06-09 Peter Bartok <pbartok@novell.com>
8225 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
8226 Jonathan's standalone controls into MWF, implemented missing
8227 events, attributes and methods; added xxxAccessible classes
8228 * AccessibleObject.cs: Made fields internal so other classes
8229 can change them if needed
8231 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
8233 * UpDownBase.cs: Complete implementation
8234 * NumericUpDown.cs: Complete implementation
8235 * DomainUpDown.cs: Complete implementation
8237 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
8239 * DataGridTextBoxColumn.cs: drawing fixes
8240 * DataGridCell.cs: fixes ToString method to match MSNet
8241 * DataGridTableStyle.cs: fixes
8242 * DataGridBoolColumn.cs: fixes, drawing
8243 * DataGridDrawingLogic.cs: fixes, new methods
8244 * DataGridTextBox.cs: Keyboard and fixes
8246 - Keyboard navigation
8248 - Row selection (single, multiple, deletion, etc)
8251 2005-06-07 Jackson Harper <jackson@ximian.com>
8253 * ThemeWin32Classic.cs: Clear the background area when drawing
8256 2005-06-06 Peter Bartok <pbartok@novell.com>
8258 * ImageListStreamer.cs: Fixed signature for GetData
8259 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
8261 - Added missing ChildAccessibleObject class
8262 - Added missing OnXXXFocus overrides, switched to using those
8263 instead of the event handler
8265 - Added Parent property for ControlAccessibleObject
8268 - Added ResetBindings()
8269 * ListBindingConverter.cs: Implemented some methods
8270 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
8271 * ImageList.cs: Implemented basic handle scheme, removed TODOs
8272 * ContainerControl.cs: Fixed signature, now subscribing to the
8273 ControlRemoved event instead of overriding the handler, LAMESPEC
8274 * CurrencyManager.cs: Added missing attribute
8275 * MonthCalendar.cs: Added missing properties
8277 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8279 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
8281 2005-06-06 Gaurav Vaish and Ankit Jain
8283 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
8284 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
8286 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8288 * Control.cs: fixes CreateParams Width / Height.
8290 2005-06-05 Peter Bartok <pbartok@novell.com>
8292 * Win32DnD.cs: Removed compilation warnings
8294 2005-06-05 Peter Bartok <pbartok@novell.com>
8296 * Control.cs (CreateParams): Since we don't know if one of the
8297 properties we use is overridden, lets make sure if we fail accessing
8298 we continue with a backup plan
8300 2005-06-05 Peter Bartok <pbartok@novell.com>
8303 - Removed debug output
8304 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
8306 - Plugged resource leak
8307 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
8310 2005-06-05 Peter Bartok <pbartok@novell.com>
8312 * XplatUIWin32.cs: Removed DnD code
8313 * Win32DnD.cs: Implemented drop source and drop target functionality
8315 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8317 * UpDownBase.cs: remove duplicate addition of event, enable some code
8318 that was commented out.
8319 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
8320 Validate input when a key is pressed. It works fine now for every
8321 combination of Hexadecimal. Only missing some drawing love when sharing
8322 space with other controls.
8324 2005-06-04 Peter Bartok <pbartok@novell.com>
8327 - We need to pass a window for DragDrop, so enable callback events
8328 - Added DnD callback events when being a DragSource
8329 * XplatUI.cs (StartDrag): Added window handle argument
8330 * XplatUIDriver.cs (StartDrag): Added window handle argument
8331 * QueryContinueDragEventArgs: Made fields internally accessible so
8332 drivers can set them
8333 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
8336 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
8338 * DataGridTextBoxColumn.cs: column text editing
8339 * DataGridTableStyle.cs: Respect columns styles created by the user
8340 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
8341 * DataGridBoolColumn.cs: bool column editing
8342 * DataGrid.cs: fixes to scrolling, properties, etc
8343 * DataGridTextBox.cs: handle keyboard
8344 * DataGridColumnStyle.cs: fixes
8346 2005-06-02 Jackson Harper <jackson@ximian.com>
8348 * ImageListStreamer.cs: Somewhat broken implementation of
8349 GetObjectData. The RLE needs some work to match MS properly.
8351 2005-06-02 Jackson Harper <jackson@ximian.com>
8353 * X11Dnd.cs: Attempting to keep at least one file in MWF
8356 2005-06-02 Peter Bartok <pbartok@novell.com>
8358 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
8361 2005-06-02 Peter Bartok <pbartok@novell.com>
8363 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
8364 * XplatUI.cs: Added DoDragDrop() method
8365 * XplatUIDriver.cs: Added DoDragDrop() method
8367 2005-06-02 Jackson Harper <jackson@ximian.com>
8369 * Splitter.cs: Implement BorderStyle.
8371 2005-06-02 Jackson Harper <jackson@ximian.com>
8373 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
8374 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
8377 2005-06-02 Peter Bartok <pbartok@novell.com>
8381 - Fixed broken insertion code for SetData, now also
8382 overwrites any existing entry of the same format name
8383 * Hwnd.cs: Added list of pointers that automatically gets
8384 freed when the window is disposed
8385 * XplatUI.cs: Call driver initialization method when loading
8388 - OnDragLeave takes EventArgs, not DragEventArgs
8389 - Added setting of WS_EX_ACCEPTFILES style when dropping is
8391 - Forces style update when drop state changes
8392 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
8393 not perfect since we cannot (yet) call the IDataObject.GetData()
8394 method, we keep getting 0x80004005 error, dunno why)
8396 2005-06-02 Peter Bartok <pbartok@novell.com>
8398 * DragEventArgs.cs: Make fields internal so we can cache the
8399 object and re-set the fields from XplatUI
8401 2005-06-02 Jackson Harper <jackson@ximian.com>
8403 * Control.cs: Add some internal methods so the DnD subsystem can
8404 raise DnD events. Also call into the driver when AllowDrop is set.
8406 * XplatUIDriver.cs: New method for setting whether or not a window
8407 is allowed to accept drag and drop messages.
8409 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
8411 * ScrollBar.cs: Make sure that values sent in Scroll events
8412 are always between Maximum and Minimum.
8414 2005-06-01 Marek Safar <marek.safar@seznam.cz>
8416 * Menu.cs: Call MenuChanged when menuitem visibility has been
8418 * MenuItem.cs: Rebuild menu when item is (not) visible.
8419 * MainMenu.cs: MainMenu has special MenuChanged.
8420 * Theme.cs: Caption and FrameBorderSize are not fixed.
8421 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
8422 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
8424 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
8425 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
8427 2005-05-30 Jackson Harper <jackson@ximian.com>
8429 * DataFormat.cs: We can't statically initialize this stuff because
8430 it calls into the xplatui and could create a loop. So we lazy init
8433 2005-05-28 Jackson Harper <jackson@ximian.com>
8435 * Control.cs: Proper implementation of Product(Name/Version).
8437 2005-05-27 Jackson Harper <jackson@ximian.com>
8439 * DataObject.cs: Dont crash if no data is found.
8441 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
8442 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
8443 as per status page, guessing it should be set to true
8445 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
8447 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
8448 * DataGridTableStyle.cs: set proper formatting text, def header text
8449 * ThemeWin32Classic.cs: new themable paramaters
8450 * DataGridBoolColumn.cs: paint check box, get data, fixes
8451 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
8452 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
8453 * DataGridColumnStyle.cs: fixes
8454 * Theme.cs: new themable paramaters
8456 2005-05-26 Peter Bartok <pbartok@novell.com>
8458 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
8460 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8461 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
8463 2005-05-24 Peter Bartok <pbartok@novell.com>
8465 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
8466 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
8467 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
8468 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
8469 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
8470 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
8471 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
8472 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
8473 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
8474 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
8475 missing attributes, etc
8476 * DataGridPreferredColumnWidthTypeConverter.cs: Added
8478 2005-05-24 Peter Bartok <pbartok@novell.com>
8480 * Help.cs: Added, implemented trivial functions, throws up MessageBox
8481 when user tries to get help
8482 * DataObject.cs, DataFormats.cs, LinkArea.cs,
8483 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
8484 to suppress warnings
8485 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
8486 avoid unreachable code warning
8488 2005-05-20 Peter Bartok <pbartok@novell.com>
8490 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
8492 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8494 * DataGridTextBoxColumn.cs: Basic painting methods
8495 * DataGridTableStyle.cs: Set table style in the column
8496 * ThemeWin32Classic.cs: Use Theme for colors
8497 * DataGridDrawingLogic.cs: Implement more drawing
8498 * DataGrid.cs: drawing, theming, enhacements, fixes
8499 * DataGridColumnStyle.cs: fixes, drawing
8500 * Theme.cs: theming for Datagrid
8502 2005-05-20 Peter Bartok <pbartok@novell.com>
8504 * Cursor.cs: Implemented GetObjectData() method
8506 2005-05-20 Peter Bartok <pbartok@novell.com>
8508 * Cursors.cs: Added setting of cursor name
8510 - Implemented constructors
8511 - Implemented Draw and DrawStretched
8512 - Implemented Current property
8513 - Implemented == and != operators
8514 - Implemented Dispose()
8515 - Implemented ToString
8516 - Added missing attributes
8518 - Added missing reset for OverrideCursor when DoEvents is called
8519 - Fixed creation of cursor, logic was wrong
8521 - Added missing reset for OverrideCursor when DoEvents is called
8522 - Fixed creation of cursor, bit arrays were swapped
8523 * Clipboard.cs: Removed obsolete MonoTODO attribute
8525 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8527 * ComboBox.cs: fixes OnSelectedItemChanged
8528 * ControlBindingsCollection.cs: fixes item range check
8530 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8533 - Calc preferred height properly
8534 - Implement missing properties
8536 * NumericUpDown.cs: Implement missing events
8538 2005-05-19 Jackson Harper <jackson@ximian.com>
8540 * TabControl.cs: New method that resizes the tab pages before
8541 redrawing them. This as needed as the control is double buffered
8542 and sizing will not be recalculated unless ResizeTabPages is
8544 * TabPage.cs: Set base.Text instead of Text in the constructor so
8545 that UpdateOwner does not get called. Use the new Redraw method of
8546 TabControl instead of Refresh so the sizing is recalculated.
8547 * ThemeWin32Classic.cs: Draw the text for button tabs.
8549 2005-05-19 Jackson Harper <jackson@ximian.com>
8551 * Control.cs: Paint control background images. Fix typo where
8552 PaintControlBackground was not getting called correctly.
8554 2005-05-19 Peter Bartok <pbartok@novell.com>
8556 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
8557 I can investigate, apparently I broke FileDialog
8559 2005-05-19 Marek Safar <marek.safar@seznam.cz>
8561 * AxHost.cs: Some simple properties.
8562 * Control.cs: window must be accessible after ctor.
8563 * Form.cs: Added TransparencyKey property.
8564 * TextBoxBase.cs: Implemented Clear. Text property can be null.
8565 * XplatUIWin32.cs: SetBorderStyle implemented.
8567 2005-05-18 Peter Bartok <pbartok@novell.com>
8569 * DataObject.cs: Entries are not global but particular to the
8570 DataObject, now it behaves that way
8571 * XplatUIWin32.cs: Implemented Clipboard methods
8572 * Clipboard.cs: Implemented
8573 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
8574 * XplatUIOSX.cs: Updated to final clipboard prototypes
8575 * XplatUIX11.cs: Implemented Clipboard methods
8576 * XplatUIDriver.cs: Updated to final clipboard prototypes
8577 * XplatUIStructs.cs:
8578 - Added BITMAPINFOHEADER struct
8579 - Added ClipboardFormats enum
8581 - Added ClipboardStruct
8582 - Added Atom enum items for clipboard types
8583 - Fixed atom types for Selection event structures
8585 - Added internal properties and methods for drivers to enumerate
8587 - Switched initialization method to allow drivers to assign their
8588 own IDs even for the MS predefined clipboard IDs
8589 * XplatUI.cs: Updated to final clipboard interface
8591 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8592 * PropertyGridView.cs: Fixed compiler warnings.
8594 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8595 * PropertyGrid.cs: Added some event calls
8596 * PropertyGridView.cs: Change drawing code to use double buffering
8597 * PropertyGridTextBox.cs: Changed Text property name
8598 * GridItem.cs: Added Bounds property.
8599 * GridEntry.cs: Added Bounds property.
8601 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
8603 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
8604 since GetType() may not return the correct type if the object is
8607 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
8609 * TreeNodeCollection.cs: fixes get/set item ranges
8611 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8613 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
8615 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8617 * ComboBox.cs: Fix item range comparation
8618 * ListView.cs: Fix item range comparation
8620 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8623 - Clear example panel when OnPaint is called
8624 - Better solution for displaying the example panel text
8625 - Select default indexes in the ListBoxes
8627 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8629 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
8631 2005-05-11 Peter Bartok <pbartok@novell.com>
8633 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
8634 * SelectionRangeConverter.cs: Implemented
8635 * PropertyGrid.cs: Fixed attribute value
8637 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
8638 - Added Sebastien Pouliot's CAS Stack Propagation fixes
8639 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
8640 that's common to all drivers. First methods to go there are
8641 Sebastien Pouliot's CAS Stack Propagation helper methods
8642 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
8643 Sebastien Pouliot for CAS Stack Propagation
8645 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8648 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
8650 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
8652 * DataGridTextBoxColumn.cs: fixed some members
8653 * GridColumnStylesCollection.cs: indexed column is case insensitive
8654 * DataGridTableStyle.cs: fixes
8655 * ThemeWin32Classic.cs: add new theme parameter
8656 * Theme.cs: add new theme parameter
8657 * DataGridDrawingLogic.cs: Datagrid's drawing logic
8658 * DataGrid.cs: fixes, new internal properties, etc.
8659 * DataGridColumnStyle.cs: allows to set grid value
8662 2005-05-10 Peter Bartok <pbartok@novell.com>
8664 * AccessibleObject.cs:
8665 - Removed MonoTODO attribute on help, method is correct
8666 - Fixed Bounds property
8667 * AxHost.cs: Moved MonoTODO
8668 * ButtonBase.cs: Now setting AccessibleObject properties
8669 * RadioButton.cs: Setting proper AccessibleObject role
8670 * CheckBox.cs: Setting proper AccessibleObject role
8671 * ControlBindingsCollection.cs: Added properties, methods and attributes
8672 * DataFormats.cs: Fixed awkward internal API, and changed to enable
8673 userdefined DataFormats.Format items as well
8674 * ListControl.cs: Removed data_member from the public eye
8675 * OpenFileDialog.cs:
8677 - Added missing attributes
8678 * SaveFileDialog.cs: Added missing attributes
8679 * ImageListStreamer.cs: Fixed code that caused warnings
8680 * LinkLabel.cs: Removed unreachable code
8681 * TreeView.cs: Fixed code that caused warnings
8682 * PropertyGridView.cs: Fixed code that caused warnings
8683 * GridColumnStylesCollection.cs: Added missing attributes
8684 * GridTableStylesCollection: Added missing attribute
8685 * PropertyManager: Added .ctor
8686 * SecurityIDType: Added
8687 * DataObject.cs: Implemented class
8688 * LinkArea.cs: Added missing attribute
8690 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
8692 * RadioButton.cs: call base method to allow to fire OnClick event
8693 * UpDownBase.cs: OnMouseUp call base method
8694 * CheckedListBox.cs: call base method before returning
8695 * TrackBar.cs: call base method before returning
8698 2005-05-10 Peter Bartok <pbartok@novell.com>
8700 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
8703 2005-05-10 Peter Bartok <pbartok@novell.com>
8705 * DataFormats.cs: Implemented
8706 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
8707 XplatUIX11.cs: Added Clipboard APIs
8708 * XplatUIWin32.cs: Implemented Clipboard APIs
8709 * FolderBrowserDialog.cs: Added missing event, attributes
8711 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
8713 * CheckBox.cs: call base method to allow to fire OnClick event
8715 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
8717 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
8719 2005-05-06 Peter Bartok <pbartok@novell.com>
8721 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
8722 * Screen.cs: Implemented
8723 * HelpNavigator.cs: Added
8724 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
8726 * HelpProvider.cs: Implemented all we can do until we have a CHM
8727 help library (which means that "What's This" does work now)
8729 2005-05-06 Jackson Harper <jackson@ximian.com>
8731 * XplatUIX11.cs: Fix waking up the main loop.
8733 2005-05-05 Peter Bartok <pbartok@novell.com>
8735 * XplatUI.cs: Updated revision
8736 * Form.cs: Removed enless loop
8737 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
8738 * Label.cs (OnPaint): Added call to base.OnPaint()
8739 * ToolTip.cs: Made ToolTipWindow reusable for other controls
8740 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
8741 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
8743 * ButtonBase.cs: Moved base.OnPaint() call to end of method
8744 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
8745 to ToolTip.ToolTipWindow for drawing and size methods; this allows
8746 reuse of ToolTipWindow by other controls
8747 * SizeGrip.cs: Moved base.OnPaint() call to end of method
8748 * XplatUIX11.cs: Now clipping drawing area (experimental)
8749 * PictureBox.cs: Moved base.OnPaint() call to end of method
8750 * Theme.cs: Fixed ToolTip abstracts to match new format
8751 * ErrorProvider.cs: Implemented
8753 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
8755 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
8759 - Implements LinkBehavior
8762 2005-05-03 Jackson Harper <jackson@ximian.com>
8764 * ListView.cs: Calculate the scrollbar positioning on resize and
8765 paint, so they get put in the correct place.
8767 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8769 * ColorDialogs.cs: The small color panels are now handled by
8770 SmallColorControl. This fixes drawing of the focus rectangle
8771 and adds a 3D border.
8773 2005-05-03 Peter Bartok <pbartok@novell.com>
8775 * Control.cs: Modified version of Jonathan Chamber's fix for
8778 2005-05-03 Jackson Harper <jackson@ximian.com>
8780 * ListView.cs: Remove redraw variable. Control now handles whether
8781 or not a redraw needs to be done, and will only raise the paint
8782 event if redrawing is needed.
8784 2005-05-03 Jackson Harper <jackson@ximian.com>
8786 * Splitter.cs: No decorations for the splitter form. Cache the
8789 2005-05-03 Jackson Harper <jackson@ximian.com>
8791 * TreeView.cs: Use dashed lines to connect nodes. Use the
8792 ControlPaint method for drawing the focus rect instead of doing
8795 2005-05-02 Peter Bartok <pbartok@novell.com>
8797 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
8799 2005-04-29 Jackson Harper <jackson@ximian.com>
8801 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
8802 entire image buffer. Just clear the clipping rectangle.
8804 2005-04-29 Jackson Harper <jackson@ximian.com>
8806 * ThemeWin32Classic.cs: Don't draw list view items that are
8807 outside the clipping rectangle.
8809 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
8811 * ListBox.cs: added horizontal item scroll
8813 2005-04-29 Jackson Harper <jackson@ximian.com>
8815 * ThemeWin32Classic.cs: Remove some old debug code that was
8816 causing flicker with the new double buffering code.
8818 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
8820 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
8821 behave like combobox and comboboxlist (still not sure if this is
8824 2005-04-28 Jackson Harper <jackson@ximian.com>
8826 * ThemeWin32Classic.cs: Don't fill the middle of progress
8827 bars. This fills areas outside of the clip bounds that don't need
8830 2005-04-28 Jackson Harper <jackson@ximian.com>
8832 * Control.cs: Don't expose functionality to touch the image buffers.
8834 * ListView.cs: We do not need to (and no longer can) manipulate
8835 the image buffers directly. All of this is handled by Control.
8837 2005-04-28 Peter Bartok <pbartok@novell.com>
8839 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8840 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8841 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8843 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8846 - Adjust control's height for non-simple comboboxes (bug fix)
8848 * MenuAPI.cs: remove unused var
8849 * ScrollBar.cs: remove unsed var
8851 * ListBox.cs: unselect items when clearing
8853 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8855 * ListControl.cs: honors OnPositionChanged and default Selected Item
8856 * ListBox.cs: unselect items when clearing
8858 2005-04-27 Jackson Harper <jackson@ximian.com>
8860 * X11Keyboard.cs: Initialize a default keyboard and give a warning
8861 if a "correct" keyboard is not found. This will make us not crash,
8862 but might give some users bad keyboard layouts...seems to be the
8863 same thing rewind does.
8865 2005-04-27 Jackson Harper <jackson@ximian.com>
8867 * BindingManagerBase.cs: Attach the current/position changed
8868 handlers to their respective events.
8870 2005-04-27 Jackson Harper <jackson@ximian.com>
8872 * Control.cs: Make sure that the first WM_PAINT does a full draw,
8874 * ThemeWin32Classic.cs: Don't fill the background for picture
8875 boxes. This could overright user drawing.
8876 * ComboBox.cs: Just fill the clipping rect not the entire client
8877 rect when drawing the background. This prevents pieces of the
8878 image buffer from getting overwritten and is theoretically faster.
8880 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
8882 * ComboBox.cs: Databinding support fixes, fire missing events
8883 * ListControl.cs: implement missing methods and properties, fixes
8884 * ThemeWin32Classic.cs: Databiding support on Drawing
8885 * CheckedListBox.cs: Databinding support fixes, fire missing events
8886 * ListBox.cs: Databinding support fixes, fire missing events
8888 2005-04-25 Peter Bartok <pbartok@novell.com>
8890 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8892 2005-04-25 Jackson Harper <jackson@ximian.com>
8894 * TreeView.cs: Use the horizontal scrollbars height not width when
8895 determining how much of the client area is available.
8897 2005-04-25 Jackson Harper <jackson@ximian.com>
8899 * Control.cs: Double buffering is handled differently now. As per
8900 the spec, the extra buffer is created in the WM_PAINT message and
8901 passed down to the control's drawing code.
8909 * PropertyGridView.cs:
8921 * DateTimePicker.cs:
8923 * TreeView.cs: Update to new double buffering system.
8924 * MonthCalendar.cs: Uncomment block, as Capture is now
8925 working. Update to new double buffering
8926 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8927 * PaintEventArgs.cs: New internal method allows us to set the
8928 graphics object. This is used for double buffering.
8929 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8930 rectangle. The internal paint_area var has been removed from
8931 StatusBar. The clipping rect should be used instead.
8932 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8933 * TabPage.cs: The RefreshTabs method was removed, so just call the
8934 tab controls Refresh method now.
8935 * TabControl.cs: Update to new double buffering. Make sure the
8936 handle is created before sizing the tab pages, otherwise we will
8937 get stuck in a loop.
8939 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8941 * LinkLabel.cs: Fix typo, bug #74719; patch
8942 from Borja Sanchez Zamorano
8944 2005-04-22 Jackson Harper <jackson@ximian.com>
8946 * TreeNode.cs: Implement Handle stuff.
8947 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8949 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8951 * DataGridTextBoxColumn.cs: call base constructors, fixes
8952 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8953 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8954 * DataGridTableStyle.cs: implements create default column styles
8955 * DataGridBoolColumn.cs: which types can handle
8956 * DataGrid.cs: missing methods, fixes, new functionality
8957 * DataGridColumnStyle.cs: fixes
8959 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8960 * FolderBrowserDialog.cs:
8961 - Use a thread to fill the TreeView
8962 - Adjusted some sizes
8964 2005-04-19 Peter Bartok <pbartok@novell.com>
8966 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8967 property. Fixes #74360.
8969 2005-04-19 Jackson Harper <jackson@ximian.com>
8971 * XEventQueue.cs: Lock when getting the lockqueue size.
8972 * PictureBox.cs: Call base OnPaint
8974 2005-04-19 Peter Bartok <pbartok@novell.com>
8976 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8977 messages were no longer being processed (this broke BeginInvoke)
8980 2005-04-18 Jackson Harper <jackson@ximian.com>
8982 * TreeView.cs: buglet that caused node images to get drawn
8983 regardless of whether or not they were in the clipping rectangle.
8985 2005-04-18 Jackson Harper <jackson@ximian.com>
8987 * CurrencyManager.cs: There are four rules for GetItemProperties:
8988 - If the type is an array use the element type of the array
8989 - If the type is a typed list, use the type
8990 - If the list contains an Item property that is not an object, use
8992 - use the first element of the list if there are any elements in
8995 2005-04-17 Jackson Harper <jackson@ximian.oom>
8997 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8998 click. This handles offsets for scrolling properly and reduces
8999 memory. Also fixed GetNode to not offset now that TopNode works
9001 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
9003 2005-04-17 Jackson Harper <jackson@ximian.com>
9005 * CursorConverter.cs: Initial implementation.
9007 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9009 * ListControl.cs: work towards complex data binding support on ListControl
9010 * CurrencyManager.cs: work towards complex data binding support on ListControl
9011 * ListBox.cs: work towards complex data binding support on ListControl
9014 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9016 * GridTableStylesCollection.cs: fixes name and constructor
9017 * DataGridTableStyle.cs: fixes
9018 * DataGridBoolColumn.cs: fixes names and constructors
9019 * DataGrid.cs: define methods and properties. Some init implementations
9020 * DataGridCell.cs: define methods and properties. Some init implementations
9021 * GridTablesFactory.cs: Define methods and properties
9023 2005-04-15 Geoff Norton <gnorton@customerdna.com>
9025 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
9026 graphics port changes. We still want the coordinates in global screen
9029 2005-04-14 Jackson Harper <jackson@ximian.com>
9031 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
9032 check plus minus or checkbox clicks unless those features are enabled.
9034 2005-04-14 Jackson Harper <jackson@ximian.com>
9036 * TreeView.cs: Add methods for setting the top and bottom visible
9037 nodes. TreeNode::EnsureVisible uses these methods.
9038 * TreeNode.cs: Implement EnsureVisible
9040 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
9042 * Form.cs: Pospone menu assignation if the window has not been created yet
9043 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
9046 2005-04-12 Jackson Harper <jackson@ximian.com>
9048 * TreeView.cs: Set the TopNode properly when scrolling
9049 occurs. This has the added benifit of reducing the amount of
9050 walking that needs to be done when drawing. Also removed an old
9052 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
9054 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
9056 * Timer.cs: fixes interval setting when the timer is already enabled
9058 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
9060 * FolderBrowserDialog.cs: First approach
9062 2005-04-09 Peter Bartok <pbartok@novell.com>
9064 * FolderBrowserDialog: Added
9066 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
9068 * LinkLabel.cs: move drawing code into the theme
9069 * ThemeWin32Classic.cs: drawing code and painting background bugfix
9070 * Theme.cs: define DrawLinkLabel method
9072 2005-04-05 Jackson Harper <jackson@ximian.com>
9074 * BindingContext.cs: Use weak references so these bad actors don't
9075 stay alive longer then they need to.
9077 2005-04-05 Jackson Harper <jackson@ximian.com>
9079 * ListControl.cs: Basic implementation of complex databinding.
9081 * ListBox.cs: Add calls to ListControl databinding methods.
9083 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
9086 - Don't change PopupButtonState to Normal when the
9087 PopupButton gets pressed several times.
9088 - Renamed ButtonPanel to PopupButtonPanel
9090 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
9092 * ColorDialog.cs: Use cached objects instead of creating them
9093 * LinkLabel.cs: Use cached objects instead of creating them
9094 * Splitter.cs: Use cached objects instead of creating them
9095 * FontDialog.cs: Use cached objects instead of creating them
9096 * PropertyGridView.cs: Use cached objects instead of creating them
9097 * MessageBox.cs: Use cached objects instead of creating them
9098 * FileDialog.cs: Use cached objects instead of creating them
9099 * ThemeWin32Classic.cs: Use cached objects instead of creating them
9100 * TreeView.cs: Use cached objects instead of creating them
9102 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
9104 * Control.cs: use Equals to compare the font since no == op
9105 * ScrollBar.cs: use Equals to compare the font since no == op
9107 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
9109 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
9111 2005-04-01 Jackson Harper <jackson@ximian.com>
9113 * Binding.cs: Implement IsBinding.
9114 * BindingManagerBase.cs:
9115 * PropertyManager.cs:
9116 * CurrencyManager.cs: Add IsSuspended property.
9118 2005-04-01 Jackson Harper <jackson@ximian.com>
9120 * Binding.cs: Had some IsAssignableFrom calls backwards.
9122 2005-04-01 Jackson Harper <jackson@ximian.com>
9124 * Binding.cs: Handle null data members when pulling data.
9125 * PropertyManager.cs: Handle the data member being a property that
9128 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9130 * DataGridTextBoxColumn.cs: fixes signature
9131 * DataGrid.cs: calls right constructor
9133 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9135 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
9136 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
9137 * GridTableStylesCollection.cs: implements GridTableStylesCollection
9138 * DataGridTableStyle.cs: implements DataGridTableStyle
9139 * DataGridBoolColumn.cs: implements DataGridBoolColumn
9140 * DataGridTextBox.cs: implements DataGridTextBox
9141 * DataGridColumnStyle.cs: implements DataGridColumnStyle
9143 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
9145 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
9147 2005-03-29 Peter Bartok <pbartok@novell.com>
9150 - Properly implemented CompanyName property
9151 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
9152 returns a path that includes CompanyName, ProductName and
9153 Version (fixes bug #70330)
9155 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
9157 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
9160 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9162 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
9164 - Added ReadOnly CheckBox
9165 - Further refactoring: moved some code from Open-/SaveFileDialog
9168 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9170 * OpenFileDialog.cs: Fixed CheckFileExists
9172 Moved FileView and DirComboBox outside FileDialog class.
9173 They can now be used outside FileDialog
9175 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9177 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
9178 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
9180 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9182 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9183 - Added missing CreatePrompt property in SaveDialog
9184 - Overall SaveDialog handling should be better now
9185 - Added non standard ShowHiddenFiles property
9186 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
9187 - Added InitialDirectory and RestoreDirectory support
9189 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
9191 * FileDialog.cs: Made dirComboBox usable
9193 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
9195 * FileDialog.cs: Added Filter support (case sensitiv)
9197 2005-03-24 Jackson Harper <jackson@ximian.com>
9199 * TabControl.cs: Need a couple more pixels for the lines.
9201 2005-03-23 Jackson Harper <jackson@ximian.com>
9203 * TabControl.cs: Give the tab page focus when it is selected.
9205 2005-03-23 Jackson Harper <jackson@ximian.com>
9207 * TabControl.cs: Account for the drawing of tabs borders when
9208 invalidating. If the slider was clicked dont do click detection on
9211 2005-03-23 Jackson Harper <jackson@ximian.com>
9213 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
9215 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
9217 * CategoryGridEntry.cs: Added
9218 * GridItem.cs: Added helper properties
9219 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
9220 * GridEntry.cs: Updated code for collection
9221 * PropertyGrid.cs: Cleaned up some formatting
9222 * PropertyGridView.cs: Added drop down functionality for enums.
9223 * GridItemCollection.cs: Added enumerator logic
9224 * PropertyGridEntry.cs: Added
9226 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9229 - Removed unnecessary commented code
9230 - Fixed handling for entering the filename manually in the combobox
9232 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9234 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
9236 2005-03-18 Peter Bartok <pbartok@novell.com>
9238 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
9239 them being touching the border
9241 2005-03-18 Peter Bartok <pbartok@novell.com>
9243 * TextControl.cs: Quick hack to center text better
9245 2005-03-18 Peter Bartok <pbartok@novell.com>
9248 - Don't throw NotImplemented exceptions, just print a notice once
9249 instead (requested by Miguel). This makes running existing SWF
9252 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
9253 - Added context menu trigger on right click
9254 * Panel.cs: Trigger invalidate on resize
9256 - Removed old double-buffer drawing
9257 - Added ResizeRedraw style to force proper update of statusbar
9259 - Removed debug output
9260 * ThemeWin32Classic.cs:
9261 - Fixed drawing of status bar, now draws Text property if there
9262 are no defined panels
9264 2005-03-18 Jackson Harper <jackson@ximian.com>
9266 * ImageList.cs: When the image stream is set pull all the images
9268 * ImageListStreamer.cs: Implement reading image list streams.
9270 2005-03-18 Peter Bartok <pbartok@novell.com>
9272 * ThemeWin32Classic.cs (DrawPictureBox):
9273 - Fixed calculations for centered drawing
9274 - Fixed drawing for normal mode, not scaling the image on normal
9276 2005-03-18 Peter Bartok <pbartok@novell.com>
9278 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
9281 - Made Open/Save button the accept button for FileDialog
9282 - Tied the cancel button to the IButtonControl cancel button
9283 - Save/Open now properly builds the pathname
9284 - Now handles user-entered text
9285 - Preventing crash on right-click if no item is selected
9286 - Fixed Text property, now uses contents of textbox
9287 - Fixed SelectedText property, now just returns the text part that
9288 is selected in the text box
9290 2005-03-18 Jackson Harper <jackson@ximian.com>
9292 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
9293 rect, make sure to de-adjust the interior rect after drawing the
9296 2005-03-18 Peter Bartok <pbartok@novell.com>
9298 * MenuAPI.cs: Remove menu *before* executing selected action to
9299 prevent the menu from 'hanging around'
9301 2005-03-17 Geoff Norton <gnorton@customerdna.com>
9303 * XplatUIOSX.cs: Implemented WorkingArea property
9305 2005-03-17 Peter Bartok <pbartok@novell.com>
9307 * XplatUIX11.cs: Fixed menu coord calculations
9308 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
9309 for calculating offsets
9311 2005-03-17 Peter Bartok <pbartok@novell.com>
9313 * Hwnd.cs: Do not consider menu presence for default client
9314 rectangle location/size
9315 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
9316 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
9317 translation functions
9318 * FileDialog.cs: Fixed (what I presume is a) typo
9320 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
9322 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
9323 X access (avoids X-Async errors)
9325 2005-03-16 Jackson Harper <jackson@ximian.com>
9327 * TabControl.cs: Raise the SelectedIndexChanged event.
9329 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
9331 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9332 - Removed vertical ToolBar and replaced it with a custom panel
9333 (desktop and home button already work)
9334 - Added Help button (some controls get resized or relocated then)
9335 - Draw correct text depending on Open or Save.
9336 - Fixed some typos...
9338 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
9341 - Only change Maximum and Minimum when need it (bug fix)
9343 2005-03-15 Peter Bartok <pbartok@novell.com>
9345 * Form.cs: Use Handle for icon, to trigger creation if
9346 the window does not yet exist
9348 - CanSelect: Slight performance improvement
9349 - Focus(): Preventing possible recursion
9350 - Invalidate(): Removed ControlStyle based clear flag setting
9351 - WM_PAINT: fixed logic for calling OnPaintBackground
9352 - WM_ERASEBKGND: Fixed logic, added call to new driver method
9353 EraseWindowBackground if the control doesn't paint background
9355 - Moved EraseWindowBackground() method to internal methods
9356 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
9357 is sent via SendMessage on BeginPaint call on Win32
9359 - Added EraseWindowBackground() method
9360 - No longer sends WM_ERASEBKGND on .Expose, but on call to
9361 PaintEventStart, which more closely matches Win32 behaviour
9362 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
9363 - Fixed SetFocus() to properly deal with client and whole windows
9364 * Hwnd.cs: Added ErasePending property
9365 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
9366 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
9368 2005-03-12 Geoff Norton <gnorton@customerdna.com>
9371 - Fix hard loop when timers exist.
9372 - Fix bugs with middle and right click for 3 button mice.
9374 2005-03-11 Peter Bartok <pbartok@novell.com>
9377 - get_WorkingArea: Need to call X directly, GetWindowPos only
9378 returns cached data now
9379 - Added sanity check to GetWindowPos hwnd usage
9381 2005-03-11 Jackson Harper <jackson@ximian.com>
9383 * BindingManagerBase.cs: This method isn't used anymore as
9384 PullData now updates the data in the control.
9386 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
9388 * Form.cs: fixes menu drawing on X11
9389 * MenuAPI.cs: fixes menu drawing on X11
9391 2005-03-11 Peter Bartok <pbartok@novell.com>
9393 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
9394 from Jonathan Gilbert; should fix bug #73606
9395 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
9396 in Screen coordinates. Thanks, Jordi.
9397 * Form.cs: Added missing attribute
9399 2005-03-11 Peter Bartok <pbartok@novell.com>
9402 - Rudimentary Mdi support
9403 - Removed outdated FormParent code
9404 - Implemented lots of missing properties and methods, still missing
9405 transparency support
9406 - Added missing attributes
9407 - Implemented support for MaximumBounds
9408 - Added firing of various events
9409 * XplatUI.cs: Added SetIcon() method
9410 * XplatUIDriver.cs: Added SetIcon() abstract
9411 * XplatUIOSX.cs: Stubbed out SetIcon() method
9413 - Implemented SetIcon() support
9414 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
9415 - Switched to unix line endings
9417 - Made POINT internal so for can access it as part of MINMAX
9418 - Implemented SetIcon() support
9419 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
9420 native Mdi support again, might have to go managed)
9421 * Control.cs: Now fires the StyleChanged event
9422 * MdiClient.cs: Added; still mostly empty
9424 2005-03-10 Peter Bartok <pbartok@novell.com>
9426 * SaveFileDialog.cs: Added emtpy file
9428 2005-03-08 Peter Bartok <pbartok@novell.com>
9430 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
9431 in turn triggers OnCreateContro) when creating a handle for the
9433 * TextControl.cs: Fixed endless loop in certain cases when
9434 replacing the current selection
9436 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
9439 - Honors NewValue changes in Scroll events allowing apps to change it
9440 - Adds First and Last Scroll events
9441 - Fixes Thumb events
9443 2005-03-07 Peter Bartok <pbartok@novell.com>
9445 * Hwnd.cs: Added DefaultClientRectangle property
9446 * XplatUI.cs: Now using the X11 driver Where() method, which provides
9447 more detailed debug information
9449 - Fixed size-change feedback loop, where we would pull an old size
9450 off the queue and mistakenly change our window's size to an
9452 - Now compressing ConfigureNotify events, to reduce looping and
9454 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
9457 2005-03-07 Jackson Harper <jackson@ximian.com>
9459 * Binding.cs: Push data pushes from data -> property. Check if the
9460 property is readonly when attempting to set it.
9462 2005-03-07 Jackson Harper <jackson@ximian.com>
9464 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
9465 instead of IsSubclassOf. Pulling data now sets the value on the
9467 * PropertyManager.cs:
9468 * CurrencyManager.cs: Just need to pull data when updating now,
9469 because PullData will set the value on the control.
9471 2005-03-04 Jackson Harper <jackson@ximian.com>
9473 * Binding.cs: Implement data type parsing and converting on pulled
9474 data. TODO: Are there more ways the data can be converted?
9476 2005-03-04 Jackson Harper <jackson@ximian.com>
9478 * Binding.cs: Support <Property>IsNull checks. Also bind to the
9479 controls Validating method so we can repull the data when the
9480 control loses focus.
9482 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
9485 - Fixes null string format
9488 - Adds enum type checks
9489 - Fixes redrawing and recalc need after changing some properties
9490 - Fixes on focus_item set after the event
9491 - Fixes adding columns after the control has been created
9493 * ThemeWin32Classic.cs:
9494 - Fixes CheckBox focus rectangle
9495 - Fixes ColumnHeader drawing
9498 2005-03-03 Jackson Harper <jackson@ximian.com>
9500 * Binding.cs: Bind to <Property>Changed events so we can detect
9501 when properties are changed and update the data.
9503 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
9506 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
9507 - Fixes ImageList constructor with ImageList container
9508 - Fixes image scaling (wrong parameters at DrawImage)
9510 2005-02-02 Jackson Harper <jackson@ximian.com>
9512 * Binding.cs: Make property searches case-insensitive. Eliminate
9513 some duplicated code.
9515 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
9518 - Handle focus event
9519 - Fix scrollbar events
9520 - Discard highlighted item if remove it
9521 - Fixes SelectedItem with strings
9523 2005-03-01 Peter Bartok <pbartok@novell.com>
9526 - Fixed Visible property, now follows (once again) parent chain
9527 to return false if any control in the chain is visible=false
9528 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
9529 - Fixed several places where is_visible instead of Visible was used
9530 - Implemented FIXME related to focus selection when setting focused
9531 control to be invisible
9533 * XplatUIWin32.cs: Now using proper method to find out if window is
9534 visible. Thanks to Jordi for pointing it out
9536 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
9538 * ComboBox.cs: show/hide scrollbar instead of creating it
9540 2005-02-27 Jackson Harper <jackson@ximian.com>
9542 * CurrencyManager.cs: Add PositionChanged stuff.
9544 2005-02-27 Peter Bartok <pbartok@novell.com>
9546 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
9547 * XplatUIOSX.cs: Added GetMenuOrigin() stub
9548 * XplatUIWin32.cs: Implemented GetMenuOrigin()
9550 - Implemented GetMenuDC()
9551 - Implemented GetMenuOrigin()
9552 - Implemented ReleaseMenuDC()
9553 - Implemented generation of WM_NCPAINT message
9554 - Implemented generation and handling of WM_NCCALCSIZE message
9555 * Form.cs: Added debug helper message for Jordi's menu work
9557 - Modified ClientRect property; added setter, fixed getter to handle
9558 setting of ClientRect
9559 - Added MenuOrigin property
9561 2005-02-26 Peter Bartok <pbartok@novell.com>
9564 - Destroys the caret if a window that's being destroyed contains it
9565 - Ignores expose events coming from the X11 queue for windows that
9566 already are destroyed
9567 - Now uses the proper variable for handling DestroyNotify, before we
9568 marked the wrong window as destroyed
9569 - Improved/added some debug output
9571 2005-02-26 Peter Bartok <pbartok@novell.com>
9573 * X11Keyboard.cs: Fixes to work on 64bit systems
9575 2005-02-26 Peter Bartok <pbartok@novell.com>
9578 - Now calling OnHandleDestroyed from DestroyHandle()
9579 instead of Dispose()
9580 - Removed bogus call to controls.Remove() from DestroyHandle()
9582 2005-02-26 Peter Bartok <pbartok@novell.com>
9584 * Control.cs: Properly destroy child windows when our handle is
9587 2005-02-25 Peter Bartok <pbartok@novell.com>
9590 - Added 'DriverDebug' define to allow tracing XplatUI API calls
9591 - Alphabetized Static Methods and Subclasses
9594 - Added XException class to allow custom handling of X11 exceptions
9595 - Created custom X11 error handler, tied into XException class
9596 - Added support for MONO_XEXCEPTIONS env var to allow the user
9597 to either throw an exception on X errors or continue running
9598 after displaying the error
9599 - Added handling of DestroyNotify message
9600 - Added handler for CreateNotify message (still disabled)
9601 - Improved (tried to at least) Where method to provide file and lineno
9603 - Added XErrorHandler delegate
9604 - Added XRequest enumeration (to suppor translation of errors)
9606 2005-02-25 Jackson Harper <jackson@ximian.com>
9608 * PropertyManager.cs: Implement editing features
9609 * CurrencyManager.cs:
9610 * Binding.cs: First attempt at UpdateIsBinding
9611 * BindingManagerBase.cs: Call UpdateIsBinding before
9612 pushing/pulling data.
9614 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
9616 * MenuAPI.cs: Respect disabled items
9617 * ThemeWin32Classic.cs
9618 - Caches ImageAttributes creation for DrawImageDisabled
9619 - Fixes vertical menu line drawing
9620 - Draws disabled arrows in disable menu items
9622 2005-02-24 Peter Bartok <pbartok@novell.com>
9625 - Added UserData property to allow associating arbitrary objects
9627 - Fixed leak; now removing Hwnd references from static windows array
9629 - Fixed Graphics leak in PaintEventEnd
9630 - Removed usage of HandleData, switched over to Hwnd class
9631 * HandleData.cs: Removed, obsoleted by Hwnd.cs
9633 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9635 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
9636 * ScrollBar.cs: Fixes bug
9637 * TrackBar.cs: removes death code, clipping, mimize refreshes,
9638 keyboard navigation enhancements
9640 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9642 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
9643 * GroupBox.cs: Add control styles
9644 * Label.cs: Add control styles
9645 * UpDownBase.cs: Add control styles
9646 * ListBox.cs: Add control styles
9647 * XplatUIWin32.cs: Fixes wrong parameter order
9650 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
9652 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
9654 2005-02-23 Jackson Harper <jackson@ximian.com>
9656 * PropertyManager.cs: Implement property binding. This doesn't
9657 seem to work yet though as (I think) there are some bugs in
9658 System.ComponentModel.PropertyDescriptor.
9659 * BindingContext.cs: Use new PropertyManager constructor.
9661 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
9663 * ProgressBar.cs: use clip region in ProgressBar
9664 * ThemeWin32Classic.cs: use clip region in ProgressBar
9666 2004-02-22 Jackson Harper <jackson@ximian.com>
9668 * BindingsCollection.cs: Remove some debug code.
9670 2005-02-22 Jackson Harper <jackson@ximian.com>
9672 * BindingContext.cs:
9673 * ControlBindingsCollection.cs:
9674 * CurrencyManager.cs:
9676 * BindingManagerBase.cs: Initial implementation
9677 * BindingsCollection.cs: Add an internal contains method that the
9678 BindingManagerBase uses to ensure bindings aren't added twice to
9680 * PropertyManager.cs: Stubbed out.
9682 * ContainerControl.cs: Hook up databinding
9684 2005-02-22 Geoff Norton <gnorton@customerdna.com>
9687 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
9688 Fixed Invalidate/Update chain.
9689 Fixed tons of other minor bugs (this is almost a complete rewrite).
9691 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
9693 * ComboBox.cs: do subcontrol creation when the control is created
9695 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9697 * Label.cs: fixes image drawing (image and imagelist)
9698 * ThemeWin32Classic.cs: cache brushes
9700 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9702 * Form.cs: Move menu drawing code to Theme class
9703 * ComboBox.cs: Move ComboBox drawing code to Theme class
9704 * MenuItem.cs: Move menu drawing code to Theme class
9705 * MenuAPI.cs: Move menu drawing code to Theme class
9706 * ThemeWin32Classic.cs: New methods
9707 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
9708 * ListBox.cs: Move Listbox drawing code to Theme class
9709 * Theme.cs: New methods
9711 2005-02-20 Peter Bartok <pbartok@novell.com>
9714 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
9715 only process mnemonics on those)
9716 - Fixed event sequence for key handling; first calling
9717 ProcessKeyEventArgs now
9719 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
9720 for processing non-character keys
9721 - Fixed WM_CHAR to generate proper event sequence before processing
9722 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
9725 2005-02-19 Peter Bartok <pbartok@novell.com>
9727 * UserControl.cs: Added TextChanged event; added attributes
9728 * SizeGrip.cs: Implemented resizing and optional display of grip
9729 * Form.cs: Fixed attribute
9730 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9731 Changed meaning of ScrollWindow bool argument; instead of the
9732 clear attribute (which will be true usually anyway), it gives the
9733 option of moving child controls as well.
9735 - Changed to match new ScrollWindow argument
9736 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
9737 now handles the implicit parent window a WM puts around us
9738 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
9740 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
9741 * TreeView.cs: Adjusted to new ScrollWindow arguments
9743 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9745 * Form.cs: Menu integration with non-client area
9746 * MenuItem.cs: Menu integration with non-client area
9747 * MenuAPI.cs: Menu integration with non-client area
9749 2005-02-18 Peter Bartok <pbartok@novell.com>
9751 * MethodInvoker.cs: Added
9752 * MdiLayout.cs: Added
9753 * SendKeys.cs: Started implementation
9754 * ErrorIconAlignment.cs: Added
9756 2005-02-18 Peter Bartok <pbartok@novell.com>
9758 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
9759 * Form.cs: Added handling for Menu-related Non-client messages
9761 2005-02-17 Peter Bartok <pbartok@novell.com>
9763 * UpDownBase.cs: Fixed typo, compilation errors
9764 * DomainUpDown.cs: Fixed attribute value
9766 2005-02-16 Miguel de Icaza <miguel@novell.com>
9768 * UpDownBase.cs: Attach entry events.
9770 Add ForeColor property, Focused, InterceptArrowKeys (interception
9773 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
9776 - Redraw non client are on Setmenu
9777 - Calc proper menu starting point
9779 2005-02-17 Peter Bartok <pbartok@novell.com>
9781 * Application.cs: Fixed message_filter check
9783 2005-02-17 Peter Bartok <pbartok@novell.com>
9785 * Application.cs: Now calls registered message filters
9786 * DockStyle.cs: Fixed attribute
9787 * Form.cs: Fixed attribute
9788 * Menu.cs: Fixed attribute
9789 * ToolTip.cs: Fixed attribute
9790 * TreeNode.cs: Added missing attributes and arranged in regions
9791 * PropertyGrid.cs: Fixed signatures
9792 * TreeNodeCollection.cs: Added attributes
9793 * Splitter.cs: Added missing attributes; arranged into regions
9794 * TabPage.cs: Added missing attributes; arranged into regions
9795 * TextBoxBase.cs: Added missing attributes
9796 * TextBox.cs: Added missing attributes
9797 * ArrangeDirection.cs: Added missing attributes
9798 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
9799 * ToolBarButton.cs: Fixed attributes
9800 * AnchorStyles.cs: Fixed attribute
9801 * TrackBar.cs: Fixed attributes
9802 * TabControl.cs: Added missing attributes and arranged into regions
9803 * ToolBar.cs: Fixed attribute
9804 * StatusBar.cs: Fixed signature, organized into regions and added
9806 * StatusBarPanel.cs: Fixed attributes
9807 * ContentsResizedEventArgs.cs: Implemented
9808 * ContentsResizedEventHandler.cs: Implemented
9809 * DateBoldEventArgs.cs: Implemented
9810 * DateBoldEventHandler.cs: Implemented
9811 * UpDownEventArgs.cs: Implemented
9812 * UpDownEventHandler.cs: Implemented
9814 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
9816 * Form.cs: first Menu NC refactoring
9817 * MenuAPI.cs: first Menu NC refactoring
9819 2005-02-16 Peter Bartok <pbartok@novell.com>
9821 * ImeMode.cs: Added missing attributes
9822 * Menu.cs: Fixed attribute
9823 * GroupBox.cs: Fixed attribute
9824 * Label.cs: Fixed attribute
9825 * ColorDialog.cs (RunDialog): Removed TODO attribute
9826 * ComboBox.cs: Fixed attributes
9827 * ListControl.cs: Added missing attributes
9828 * PropertyGrid.cs: Fixed attributes
9829 * Control.cs: Fixed attributes
9830 * ListViewItem.cs: Added TypeConverter attribute
9831 * NotifyIcon.cs: Fixed attributes
9832 * ListView.cs: Fixed attributes
9833 * ButtonBase.cs: Fixed attribute
9834 * ImageList.cs: Added missing attributes
9835 * ContainerControl.cs: Fixed signature
9836 * CheckedListBox.cs: Fixed attribute; added missing attributes
9837 * Panel.cs: Fixed attributes
9838 * PropertyTabChangedEventArgs.cs: Added missing attribute
9839 * PropertyValueChangedEventArgs.cs: Added missing attribute
9840 * Binding.cs: Fixed attribute
9841 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9842 * ListBox.cs: Fixed attribute; added missing attributes;
9843 * ScrollableControl.cs: Added missing attributes
9844 * PictureBox.cs: Added missing attributes; implemented missing property
9845 * DateTimePicker.cs: Added missing attributes
9846 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9847 * MonthCalendar.cs: Fixed attributes
9848 * StatusBarPanel.cs: Added missing attributes
9849 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9851 2005-02-16 Peter Bartok <pbartok@novell.com>
9853 * TextBoxBase.cs: The previous method to enforce height yet remember
9854 the requested high was less than ideal, this is an attempt to do
9856 * Control.cs: Added comment about possible problem
9857 * Copyright: Updated format
9858 * GridItemType.cs: Fixed swapped values
9860 2005-02-15 Jackson Harper <jackson@ximian.com>
9862 * BaseCollection.cs: Use property so we never access an
9863 uninitialized list. Also initialize the list in the property.
9865 2005-02-15 Peter Bartok <pbartok@novell.com>
9867 * GroupBox.cs (ProcessMnemonic): Implemented
9868 * Label.cs (ProcessMnemonic): Implemented
9869 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
9872 2005-02-15 Peter Bartok <pbartok@novell.com>
9874 * RadioButton.cs (ProcessMnemonic): Implemented
9875 * CheckBox.cs (ProcessMnemonic): Implemented
9877 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
9879 - Added internal method to allow calling ProcessMnemonic from other
9881 * ContainerControl.cs:
9882 - Started support for handling validation chain handling
9883 - Implemented ProcessMnemonic support
9884 - Added Select() call to Active, to make sure the active control
9886 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9888 * ThemeWin32Classic.cs:
9889 - DrawCheckBox(): Fixed stringformat to show hotkeys
9890 - DrawRadioButton(): Fixed stringformat to show hotkeys
9891 * CommonDialog.cs: Removed WndProc override, not needed
9893 2005-02-14 Peter Bartok <pbartok@novell.com>
9895 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9896 missed those in the rewrite
9898 2005-02-14 Miguel de Icaza <miguel@novell.com>
9900 * NumericUpDown.cs (Increment, ToString): Add.
9901 (DecimalPlaces): implement.
9905 * UpDownBase.cs: Add the designer attributes.
9907 2005-02-13 Peter Bartok <pbartok@novell.com>
9909 * Panel.cs: Removed border_style, now in Control
9910 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9911 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9913 2005-02-13 Peter Bartok <pbartok@novell.com>
9915 * MouseButtons.cs: Added missing attributes
9916 * XplatUIStructs.cs: Added enumeration for title styles
9917 * LeftRightAlignment.cs: Added missing attributes
9918 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9919 it compatible with Graphics.FromHwnd()
9920 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9921 * Keys.cs: Added missing attributes
9922 * SelectionRange.cs: Added missing attributes
9923 * SelectionRangeConverter.cs: Added
9925 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9926 ReleaseMenuDC methods
9927 - Renamed ReleaseWindow to UngrabWindow
9928 - Added proper startup notice to allow version identification
9930 - Added missing attributes
9931 - Removed FormParent concept
9932 * Label.cs: Removed border_style field, now in Control
9933 * RadioButton.cs: Now properly selects RadioButton when focus is
9935 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9937 - Added missing attributes
9938 - Added borderstyle handling
9939 - Removed FormParent concept support
9940 - Fixed calls to XplatUI to match changed APIs
9941 - Fixed bug that would case us to use disposed Graphics objects
9942 - Removed unneeded internal methods
9943 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9944 - SelectNextControl(): Fixed to properly check common parents
9945 * TextBoxBase.cs: Removed border_style field (now in Control)
9947 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9948 fixed calculations for form size
9949 - Added support for localized strings and icons
9950 - Improved form size calculations, added border
9951 * ListView.cs: Removed border_style field (now in Control)
9952 * X11Structs.cs: Moved several structs from X11 driver here
9953 * X11Keyboard.cs: Changed debug message
9954 * Application.cs: Removed FormParent concept support
9956 - Resetting end_modal flag
9957 - Removed FormParent concept support
9958 * NativeWindow.cs: Removed FormParent concept support
9959 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9960 Client area and Non-Client whole window to allow support for WM_NC
9962 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9963 prevent using it until it supports Hwnd as per Geoff Norton's request
9964 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9965 * PictureBox.cs: Removed border_style field, now in Control
9966 * XplatUIWin32.cs: Added new driver methods
9968 2005-02-12 Peter Bartok <pbartok@novell.com>
9970 * OpacityConverter.cs: Implemented
9971 * Hwnd.cs: Internal class to support drivers that need to emulate
9972 client area/non-client area window behaviour
9974 2005-02-11 Peter Bartok <pbartok@novell.com>
9976 * KeysConverter.cs: Implemented
9978 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9980 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9981 * LinkLabel: Added missing attributes
9982 * MainMenu.cs: fixes ToString
9983 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9984 * ListBox.cs: fixes event position
9985 * TrackBar.cs: adds missing attributes and events
9987 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9989 * MenuItem.cs: Use SystemInformation and bug fixes
9990 * MenuAPI.cs: Use SystemInformation and bug fixes
9992 2005-02-09 Jackson Harper <jackson@ximian.com>
9994 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9995 their keystate otherwise things like VK_MENU get stuck "on".
9997 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9999 * ListBox.cs: Fixes AddRange bug
10001 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
10004 - Add missing attributes
10005 - Add missing method
10007 * CheckedListBox.cs: Added missing attributes
10008 - Add missing attributes
10009 - Remove extra method
10011 * ComboBox.cs: Added missing attributes
10012 * VScrollBar.cs: Added missing attributes
10013 * ScrollBar.cs: Added missing attributes
10014 * ListBox.cs: Fixes signature, add missing consts
10015 * LinkArea.cs: Added missing attributes
10018 2005-02-08 Peter Bartok <pbartok@novell.com>
10020 * Menu.cs: Added missing attributes
10021 * MainMenu.cs: Added missing attributes
10022 * GroupBox.cs: Added missing attributes
10023 * Label.cs: Added missing attributes
10024 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
10026 - Added Instance and Options properties
10027 - Added missing attributes
10028 * Cursor.cs: Made Serializable
10029 * NotifyIcon: Added missing attributes
10030 * MenuItem.cs: Added missing attributes
10031 * TextBoxBase.cs: Implemented AppendText() and Select() methods
10032 * Panel.cs: Added Missing attributes
10033 * MonthCalendar.cs: Fixed CreateParams
10035 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10039 - Fixes issues with links
10040 - Adds the class attributes
10042 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10045 - Fixes button when no items available in dropdown
10046 - Fixes repainting problems
10047 - Adds the class attributes
10049 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10051 * XplatUIOSX.cs: Detect the menu bar and title bar height from
10052 the current theme. Cache these on startup.
10054 2005-02-07 Jackson Harper <jackson@ximian.com>
10056 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
10057 the scrollbar buttons when they are depressed.
10059 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10061 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
10062 Get the display size from the main displayid. We currently dont
10063 support multiple display configurations.
10065 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10067 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
10069 2005-02-07 Miguel de Icaza <miguel@novell.com>
10071 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
10073 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
10075 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
10077 2005-02-04 Jackson Harper <jackson@ximian.com>
10079 * ThemeWin32Classic.cs: Respect the clipping rect when
10080 drawing. Only fill the intersection of clips and rects so there
10081 isn't a lot of large fills.
10082 * ScrollBar.cs: Pass the correct clipping rect to the theme
10083 engine. Remove some debug code.
10085 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
10087 * DateTimePicker.cs:
10088 - Fixed crash on DateTime.Parse, use Constructor instead
10090 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10094 - Owner draw support (MeasureItem and DrawItem)
10096 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10099 - Implements FindMergePosition and MergeMenu functions (very poor documented)
10100 - Fixes MenuItems.Add range
10102 - MergeMenu and Clone and CloneMenu functions
10104 2005-02-03 Jackson Harper <jackson@ximian.com>
10106 * ScrollBar.cs: Make abstract
10107 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
10110 2005-02-03 Jackson Harper <jackson@ximian.com>
10112 * ScrollBar.cs: First part of my scrollbar fixups. This removes
10113 all the unneeded refreshes and uses invalidates with properly
10116 2005-02-03 Peter Bartok <pbartok@novell.com>
10118 * ComponentModel.cs: Added
10119 * IDataGridEditingService.cs: Added
10120 * Timer.cs: Added missing attributes
10121 * ToolTip.cs: Added missing attributes
10123 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
10125 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
10127 2005-02-03 Peter Bartok <pbartok@novell.com>
10129 * ListBox.cs: Added missing attributes
10131 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
10134 - Fixes font height after font change
10135 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
10137 2005-02-02 Peter Bartok <pbartok@novell.com>
10139 * HandleData.cs: Introduced static methods to allow class
10140 to be more self-contained and track it's own HandleData objects
10141 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
10142 HandleData to use new static methods
10144 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
10147 - Fixes default size and PreferredHeight
10149 - ObjectCollection.Insert implementation
10155 - ObjectCollection.Insert implementation
10156 - No selection after clean
10159 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10161 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
10163 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
10166 - Caches ItemHeight calculation for OwnerDrawVariable
10167 - Handles dropdown properly
10168 - Fixes several minor bugs
10170 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10173 - Fixes 71946 and 71950
10174 - Fixes changing Multicolumn on the fly
10175 - Fixes keyboard navigation on Multicolumn listboxes
10177 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10179 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
10180 crash reporter log.
10182 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10184 * XplatUIOSX.cs: Allow applications to actually exit.
10186 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10188 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
10189 their parent at creation time rather than lazily later. Fixes a major
10190 regression we were experiencing.
10192 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10194 * ThemeWin32Classic.cs: more date time picker painting fixes
10195 * DateTimePicker.cs: more monthcalendar drop down fixes
10196 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
10198 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10201 - When moving the thumb going outside the control should stop the moving
10202 - Adds the firing of missing events
10203 - Fixes no button show if Size is not specified
10204 - End / Home keys for keyboard navigation
10206 2005-01-30 Peter Bartok <pbartok@novell.com>
10208 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
10209 sanity check to prevent theoretical loop
10210 * XplatUIWin32.cs (SetVisible): Removed debug output
10211 * XplatUIX11.cs (SystrayChange): Added sanity check
10212 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
10213 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
10214 behaviour, valid until the X11 client window rewrite is done
10215 * TextBox.cs (ctor): Setting proper default foreground and background
10218 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
10220 * Theme: Added DrawDateTimePicker to interface
10221 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
10222 * DateTimePicker.cs: Created (still needs keys and painting code)
10223 * DateTimePickerFormat.cs: added
10224 * MonthCalendar.cs: fixed CreateParams for popup window mode
10226 2005-01-29 Peter Bartok <pbartok@novell.com>
10228 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
10229 this should also the calculations for ligher/darker
10230 * Theme.cs: Fixed defaults for ScrollBar widths/heights
10232 2005-01-29 Peter Bartok <pbartok@novell.com>
10234 * ArrangeDirection.cs: Added
10235 * ArrangeStartingPositon.cs: Added
10236 * SystemInformation.cs: Implemented
10237 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10238 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
10239 used by SystemInformation class
10240 * X11Strucs.cs: Added XSizeHints structure
10242 - Fixed CreateParams to make sure the menu window is always visible
10243 - TrackPopupMenu: Added check to make sure we don't draw the
10246 2005-01-29 Peter Bartok <pbartok@novell.com>
10248 * HandleData.cs: Added method for altering invalid area
10249 * TextBoxBase.cs: Implemented TextLength
10251 2005-01-28 Peter Bartok <pbartok@novell.com>
10253 * XplatUIX11.cs: Improvement over last patch, not sending
10254 the WM_PAINT directly anymore, instead we scroll any pending
10255 exposed areas and let the system pick out the WM_PAINT later
10257 2005-01-28 Peter Bartok <pbartok@novell.com>
10259 * SWF.csproj: Deleted, no longer used. Instead,
10260 Managed.Windows.Forms/SWF.csproj should be used
10261 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
10262 directly, to avoid a potential race condition with the next
10265 2005-01-28 Peter Bartok <pbartok@novell.com>
10267 * XplatUI.cs: Made class internal
10269 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
10271 * CheckedListBox.cs:
10274 - Missing methods and events
10276 2005-01-27 Peter Bartok <pbartok@novell.com>
10278 * Application.cs (Run): Don't use form if we don't have one
10280 2005-01-27 Peter Bartok <pbartok@novell.com>
10282 * TextBoxBase.cs (get_Lines): Fixed index off by one error
10284 2005-01-27 Peter Bartok <pbartok@novell.com>
10286 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
10287 * GridItem.cs: Added; Patch by Jonathan S. Chambers
10288 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
10289 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
10290 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
10291 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
10292 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10293 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10294 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10295 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10296 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10297 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10299 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10302 - Draw focus on Simple Combobox
10303 - Fixes drawing issues
10306 2005-01-27 Peter Bartok <pbartok@novell.com>
10309 - Place window in default location, instead of hardcoded 0/0
10310 - Send initial LocationChanged event
10312 - UpdateBounds after creation to find out where the WM placed us
10313 - Make sure that if the ParentForm changes location the Form
10315 * XplatUIX11.cs: XGetGeometry will not return the coords relative
10316 to the root, but to whatever the WM placed around us.
10317 Translate to root coordinates before returning toplevel
10319 * XplatUIWin32.cs: Removed debug output
10320 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
10321 flag to GetWindowPos, to allow translation of coordinates on X11
10323 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10325 * ListBox.cs: connect LostFocus Event
10327 2005-01-27 Peter Bartok <pbartok@novell.com>
10329 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10330 XplatUIX11.cs: Extended the Systray API
10331 * Form.cs: Removed debug output
10332 * Application.cs: Fixed focus assignment, always need to call
10333 XplatUI.Activate() since Form.Activate() has rules that may
10335 * NotifyIcon.cs: Should be complete now
10336 * ToolTip.cs: Worked around possible timer bug
10338 2005-01-27 Jackson Harper <jackson@ximian.com>
10341 - Only invalidate the effected tabs when the
10342 selected index changes. This reduces drawing and gets rid of some
10344 - Only refresh if the tabs need to be shifted, otherwise only
10345 invalidate the slider button.
10346 - On windows the tabs are not filled to right if the slider is
10349 2005-01-27 Jackson Harper <jackson@ximian.com>
10351 * TabControl.cs: Only refresh on mouseup if we are showing the
10352 slider. Also only invalidate the button whose state has changed.
10354 2005-01-26 Peter Bartok <pbartok@novell.com>
10356 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
10357 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
10358 and SystrayRemove() methods
10359 * XplatUIOSX.cs: Stubbed Systray methods
10361 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
10363 - Fixed broken XChangeProperty calls (marshalling messed up things)
10364 * X11Structs.cs: Added enums and structs required for Size hinting
10365 * NotifyIcon.cs: Added & implemented
10367 2005-01-26 Jackson Harper <jackson@ximian.com>
10369 * TabControl.cs: Space vertically layed out tabs properly.
10371 2005-01-26 Peter Bartok <pbartok@novell.com>
10373 * Form.cs (CreateClientParams): Always set the location to 0,0
10374 since we're a child window.
10376 * Control.cs (SetVisibleCore): Always explicitly setting the location
10377 of a toplevel window, apparently X11 doesn't like to move windows
10378 while they're not mapped.
10380 2005-01-26 Jackson Harper <jackson@ximian.com>
10382 * TabControl.cs: Implement FillToRight size mode with vertically
10385 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10387 * ControlPaint.cs, ThemeWin32Classic.cs
10388 - Fixes DrawFocusRectangle
10390 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10393 - MenuBar tracking only starts when item is first clicked
10394 - Fixes menu hidding for multiple subitems
10395 - Unselect item in MenuBar when item Executed
10398 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
10401 - IsInputKey for ListBox
10404 - Shift and Control item selection
10405 - Implement SelectionMode.MultiExtended
10406 - Fixes RightToLeft
10408 - IsInputKey implemented
10409 - Do not generate OnTextChangedEdit on internal txt changes
10411 2005-01-23 Peter Bartok <pbartok@novell.com>
10413 * AccessibleObject.cs: Partially implemented Select()
10414 * MonthCalendar.cs: Added missing attributes and events
10415 * Form.cs: Fixed CreateParams behaviour, now controls derived from
10416 form can properly override CreateParams.
10417 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10418 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
10419 Control performs Invalidate & Update
10420 * NativeWindow (CreateHandle): Added special handling for Form
10421 and Form.FormParent classes to allow overriding of From.CreateParams
10423 - ControlNativeWindow: Renamed 'control' variable to more intuitive
10425 - ControlNativeWindow: Added Owner property
10426 - Removed usage of Refresh() on property changes, changed into
10427 Invalidate(), we need to wait until the queue is processed for
10428 updates, direct calls might cause problems if not all vars for
10429 Paint are initialized
10430 - Added call to UpdateStyles() when creating the window, to set any
10431 styles that CreateWindow might have ignored.
10432 - Added support for Form CreateParent overrides to UpdateStyles()
10433 * MessageBox.cs: Removed no longer needed FormParent override stuff,
10434 CreateParams are now properly overridable
10435 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
10436 CreateParams are now properly overridable
10438 2005-01-23 Miguel de Icaza <miguel@ximian.com>
10440 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
10443 Capture LostFocus and OnTextBoxChanged. The later introduces a
10444 recursive invocation that I have not figured out yet.
10446 Reset the timer when not using (it was accumulating).
10449 (OnTextBoxChanged): Set UserEdit to true here to track whether the
10450 user has made changes that require validation.
10452 Reset changing to avoid loops.
10454 2005-01-22 Miguel de Icaza <miguel@ximian.com>
10456 * NumericUpDown.cs: Display value at startup.
10458 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
10461 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
10462 filled in. Added some basic parsing of text.
10464 Still missing the OnXXX method overrides, and figuring out the
10465 events that must be emitted.
10467 * UpDownBase.cs: Handle UserEdit on the Text property.
10469 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
10472 - Fixes IntegralHeight
10475 2005-01-21 Jackson Harper <jackson@ximian.com>
10477 * TabControl.cs: Set the SelectedIndex property when SelectedTab
10478 is set so that the page visibility is updated and the tabs are
10481 2005-01-21 Jackson Harper <jackson@ximian.com>
10483 * TabControl.cs: Use cliping rectangle for blitting. Give the
10484 theme the clipping rect so we can do clipping while
10485 drawing. Remove some debug code.
10487 2005-01-21 Jackson Harper <jackson@ximian.com>
10489 * TabPage.cs: Add a new method so tab pages can force the tab
10490 control to recalculate the tab page sizes.
10491 * TabControl.cs: UpdateOwner needs to make the tab control recalc
10494 2005-01-20 Jackson Harper <jackson@ximian.com>
10496 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
10498 2005-01-20 Jackson Harper <jackson@ximian.com>
10500 * TreeView.cs: Set the bounds for nodes properly. They were
10501 getting screwed up when checkboxes were not enabled, but images
10504 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
10507 - Owner draw support
10510 2005-01-20 Jackson Harper <jackson@ximian.com>
10512 * XplatUIStructs.cs: More misc keys
10513 * X11Keyboard.cs: Ignore some control keys.
10515 2005-01-20 Jackson Harper <jackson@ximian.com>
10517 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
10518 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
10520 2005-01-19 Peter Bartok <pbartok@novell.com>
10522 * Control.cs: Un-selecting the control when it is loosing focus
10524 2005-01-19 Jackson Harper <jackson@ximian.com>
10526 * TreeView.cs: Hook up to the text controls leave event so we can
10527 end editing when the users clicks outside the text box.
10529 2005-01-19 Jackson Harper <jackson@ximian.com>
10531 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
10532 get set in the conversion array.
10534 2005-01-19 Peter Bartok <pbartok@novell.com>
10536 * Application.cs (ModalRun): Added a call to CreateControl to ensure
10537 focus is properly set
10539 - Added missing attributes
10540 - removed styles, those are already set in the base class
10542 - Added missing attributes
10543 - Added clip window styles
10544 * CheckBox.cs: Added missing attributes
10546 - FormParentWindow.CreateParams: Added required clip styles
10547 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
10548 also filters modifier keys
10550 - Added assignment of Accept and Cancel button to enable Enter
10551 and Esc keys in MessageBox dialogs
10552 - FormParentWindow.CreateParams: Added required clip styles
10553 * RadioButton.cs: Added missing attributes
10554 * TextControl.cs: No longer draws selection if control does not
10557 - Now draws simple rectangle around test area to make it obvious
10558 there's a control. This is a hack until we properly support borders
10559 - A few simple fixes to support selections better, now erases selected
10560 text when typing, and resets selection when using movement keys
10562 2005-01-19 Miguel de Icaza <miguel@ximian.com>
10564 * UpDownBase.cs: Added some new properties.
10566 * DomainUpDown.cs: Implement a lot to get my test working.
10568 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10570 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
10572 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10574 * OSXStructs (WindowAttributes): Fixed csc complaints
10576 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10579 OSXStructs.cs: Initial refactor to move enums and consts into
10580 OSXStructs and use them in the driver for greater readability.
10582 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10584 * XplatUIOSX.cs: Initial support for Standard Cursors.
10585 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
10587 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
10589 * ComboBox.cs: ability to change style when the ctrl is already
10590 created, missing methods and events, bug fixes, signature fixes
10592 2005-01-19 Peter Bartok <pbartok@novell.com>
10594 * Cursors.cs (ctor): Added ctor to fix signature
10596 2005-01-18 Peter Bartok <pbartok@novell.com>
10598 * Button.cs: Implemented DoubleClick event
10600 - Fixed keyboard handling to behave like MS, where the press of
10601 Spacebar is equivalent to a mousedown, and the key release is
10602 equivalent to mouseup. Now a spacebar push will give the same
10603 visual feedback like a mouse click.
10604 - Added missing attributes
10605 - Added ImeModeChanged event
10606 - Added support for generating DoubleClick event for derived classes
10608 - Implemented DoubleClick event
10609 - Added missing attributes
10610 * CommonDialog.cs: Added missing attribute
10611 * ContextMenu.cs: Added missing attributes
10613 - AutoChecked buttons do not allow to be unselected when clicked
10614 (otherwise we might end up with no selected buttons in a group)
10615 - Added missing attributes
10616 - Implemented DoubleClickEvent
10617 * ThreadExceptionDialog.cs: Enabled TextBox code
10619 2005-01-18 Peter Bartok <pbartok@novell.com>
10621 * Form.cs: Removed debug output
10622 * Button.cs: Added support for DoubleClick method
10624 2005-01-18 Peter Bartok <pbartok@novell.com>
10627 - Added method to parent window that allows triggering size
10628 calculations when a menu is added/removed
10629 - set_Menu: Cleaned up mess from early days of Form and Control,
10630 now properly triggers a recalc when a menu is added/removed
10631 - Added case to select form itself as focused form if no child
10633 - Added PerformLayout call when showing dialog, to ensure properly
10636 - Select(): Made internal so Form can access it
10637 - Focus(): Only call Xplat layer if required (avoids loop), and sets
10639 * Application.cs (Run): Removed hack and calls PerformLayout instead
10640 to trigger calculation when Form becomes visible
10642 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
10644 * ComboBox.cs: fixes for ownerdraw
10646 2005-01-18 Peter Bartok <pbartok@novell.com>
10649 - Sentinel is no longer static, each Document gets it's own, this
10650 avoids locking or alternatively overwrite problems when more
10651 than one text control is used simultaneously.
10652 - Switched to use Hilight and HilightText brushes for text selection
10654 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
10656 2005-01-18 Peter Bartok <pbartok@novell.com>
10659 - Hooked up the following events:
10667 o SystemColorsChanged
10668 o ParentFontChanged
10670 - Removed debug output
10671 - Added a call to the current theme's ResetDefaults when a color change
10673 * Form.cs: Now setting the proper ImeMode
10674 * Theme.cs: Defined a method to force recreation of cached resources
10675 and rereading of system defaults (ResetDefaults())
10676 * ThemeWin32Classic.cs: Added ResetDefaults() stub
10678 2005-01-17 Peter Bartok <pbartok@novell.com>
10680 * Control.cs: Added missing attributes
10682 2005-01-17 Jackson Harper <jackson@ximian.com>
10684 * TreeNode.cs: Implement editing. Add missing properties selected
10686 * TreeView.cs: Implement node editing. Also some fixes to use
10687 Invalidate (invalid area) instead of Refresh when selecting.
10689 2005-01-17 Peter Bartok <pbartok@novell.com>
10692 - Implemented InvokeGotFocus() method
10693 - Implemented InvokeLostFocus() method
10694 - Implemented InvokePaint() method
10695 - Implemented InvokePaintBackground() method
10696 - Implemented InvokeClick() method
10697 - Implemented FindForm() method
10698 - Implemented RectangleToClient() method
10699 - Implemented ClientToRectangle() method
10700 - Implemented ResetBackColor() method
10701 - Implemented ResetCursor() method
10702 - Implemented ResetFont() method
10703 - Implemented ResteForeColor() method
10704 - Implemented ResetImeMode() method
10705 - Implemented ResetLeftToRight() method
10706 - Implemented ResetText() method
10707 - Implemented Scale() methods
10708 - Implemented ScaleCore() method
10709 - Implemented Update() method
10710 - Removed unused variables
10711 - Stubbed AccessibilityNotifyClients and
10712 ControlAccessibleObject.NotifyClients() methods (dunno what to do
10714 - Now setting proper default for RightToLeft property
10715 - Fixed bug in SetClientSizeCore that would cause windows to get
10717 - Now sending Click/DoubleClick events
10718 - Now selecting controls when left mouse button is clicked on
10720 * AccessibleEvents.cs: Added
10721 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
10722 * XplatUIOSX.cs: Stubbed UpdateWindow() method
10723 * XplatUIWin32.cs: Implemented UpdateWindow() method
10724 * XplatUIX11.cs: Implemented UpdateWindow() method
10725 * Form.cs: Removed stray semicolon causing CS0162 warning
10726 * ThemeWin32Classic.cs: Fixed unused variable warnings
10727 * ScrollableControl.cs: Now calls base method for ScaleCore
10728 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
10729 style to avoid interference with internal click handler (which is
10730 different than standard Control click handling)
10732 - Now unchecks all sibling radio buttons when control is
10733 selected (Fixes #68756)
10734 - Removed internal tabstop variable, using the one inherited from
10737 2005-01-17 Jackson Harper <jackson@ximian.com>
10739 * NavigateEventArgs.cs: Fix base type.
10740 * LinkLabel.cs: Sig fix
10742 2005-01-17 Jackson Harper <jackson@ximian.com>
10744 * TreeView.cs: Only invalidate the effected nodes bounds when
10747 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10749 * XplatUIWin32.cs: fixes Win32 marshaling
10750 * XplatUIX11.cs: fixes method signature
10752 2005-01-17 Peter Bartok <pbartok@novell.com>
10754 * XplatUIX11.cs: Clean up resources when we no longer need them
10756 2005-01-17 Peter Bartok <pbartok@novell.com>
10758 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
10759 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
10760 and DestroyCursor() methods.
10761 * Cursor.cs: Partially implemented, now supports standard cursors;
10762 still contains some debug code
10763 * Cursors.cs: Implemented class
10765 - WndProc(): Added handling of WM_SETCURSOR message, setting the
10767 - Implemented Cursor property
10768 - Replaced break; with return; more straightforwar and possibly
10770 - Now properly setting the result for WM_HELP
10771 * X11Structs.cs: Added CursorFontShape enum
10772 * XplatUIStructs.cs:
10773 - Added StdCursor enum (to support DefineStdCursor() method)
10774 - Added HitTest enum (to support sending WM_SETCURSOR message)
10776 - Now sends the WM_SETCURSOR message
10777 - Implemented new cursor methods
10778 * XplatUIOSX.cs: Stubbed new cursor methods
10780 - Implemented new cursor methods
10781 - Added GetSystemMetrics function and associated enumeration
10783 2005-01-15 Peter Bartok <pbartok@novell.com>
10786 - WndProc(): Now handles EnableNotifyMessage
10787 - SelectNextControl(): Fixed bug where if no child or sibling
10788 controls exist we looped endlessly
10790 2005-01-14 Jackson Harper <jackson@ximian.com>
10792 * TreeView.cs: Recalculate the tab pages when a new one is added
10793 so that the proper bounding rects are created.
10795 2005-01-14 Jackson Harper <jackson@ximian.com>
10797 * TreeView.cs: Draw a gray box instead of a grip in the lower
10798 right hand corner when there are both horizontal and vertical
10801 2005-01-14 Jackson Harper <jackson@ximian.com>
10803 * Control.cs: When erasing backgrounds use FromHwnd instead of
10804 FromHdc when there is a NULL wparam. This occurs on the X driver.
10805 * XplatUIX11.cs: Set the wparam to NULL.
10807 2005-01-13 Jackson Harper <jackson@ximian.com>
10809 * PictureBox.cs: Implement missing methods (except ToString, need
10810 to test that on windows) and events. When visibility is changed we
10811 need to redraw the image because the buffers are killed. When size
10812 is changed refresh if the sizemode needs it.
10814 2005-01-13 Peter Bartok <pbartok@novell.com>
10816 * Control.cs (SelectNextControl): Was using wrong method to select
10819 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10821 * ComboBox.cs: fixes dropstyle
10823 2005-01-13 Peter Bartok <pbartok@novell.com>
10826 - Implemented Select() override
10827 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
10828 - Now sets keyboard focus on startup
10829 * Control.cs (SelectNextControl): Now properly handles directed=true
10831 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10832 - Added (really bad) focus rectangle (mostly for testing)
10833 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10834 to enforce redraw on focus changes
10835 * ContainerControl.cs:
10836 - Fixed detection of Shift-Tab key presses
10837 - Fixed traversal with arrow keys
10838 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10839 gonna keep this or if it's complete yet
10841 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10843 * ComboBox.cs: missing properties, fixes
10845 2005-01-13 Peter Bartok <pbartok@novell.com>
10847 * Panel.cs (ctor): Setting Selectable window style to off
10848 * Splitter.cs (ctor): Setting Selectable window style to off
10849 * GroupBox.cs (ctor): Setting Selectable window style to off
10850 * Label.cs (ctor): Setting Selectable window style to off
10852 2005-01-12 Miguel de Icaza <miguel@ximian.com>
10854 * UpDownBase.cs (InitTimer): If the timer has been already
10855 created, enable it.
10857 Use a TextBox instead of a Label.
10859 2005-01-12 Jackson Harper <jackson@ximian.com>
10861 * TreeView.cs: Refresh the tree after sorting the nodes. Always
10862 draw the connecting node lines (when ShowLines is true).
10863 * TreeNode.cs: The nodes index can now be updated. This is used
10864 when a node collection is sorted.
10865 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
10866 insert or an existing unsorted node collection can be sorted.
10868 2005-01-12 Peter Bartok <pbartok@novell.com>
10870 * ContainerControl.cs: Implemented ProcessDialogKeys()
10872 2005-01-12 Peter Bartok <pbartok@novell.com>
10875 - Implemented SelectNextControl() method
10876 - Several focus related bug fixes
10877 - Fixed Docking calculations to match MS documentation and
10880 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
10882 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10885 2005-01-12 Peter Bartok <pbartok@novell.com>
10888 - Fixed broken Contains() method
10889 - Implemented GetNextControl() method. Finally. This is the pre-
10890 requisite for focus handling.
10892 2005-01-12 Peter Bartok <pbartok@novell.com>
10894 * OSXStrucs.cs: Added
10896 2005-01-12 Peter Bartok <pbartok@novell.com>
10899 - Removed PeekMessageFlags
10900 - Implemented SetWindowStyle() method
10901 * XplatUIStructs.cs: Added PeekMessageFlags
10902 * X11Structs: Added missing border_width field to XWindowChanges struct
10904 - PeekMessage: Now throws exception if flags which are not yet
10905 supported are passed
10906 - Implemented SetWindowStyle() method
10907 - Fixed SetZOrder to handle AfterHwnd properly
10908 * XplatUI.cs: Added SetWindowStyle() method
10909 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10911 - Implemented UpdateStyles() method
10912 - Implemented UpdateZOrder() method
10913 * XplatUIOSX.cs: Added SetWindowStyle() stub
10915 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10917 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10921 2005-01-11 Jackson Harper <jackson@ximian.com>
10923 * TreeView.cs: Still need to draw lines to siblings even if out of
10924 the current node is out of the clip.
10926 2005-01-11 Jackson Harper <jackson@ximian.com>
10928 * TreeView.cs: When setting the hbar/vbar/grip position use
10929 SetBounds so that perform layout is only called once. Also suspend
10930 and resume layout so layout is only done once for all controls.
10931 - Removed some debug fluff
10932 * SizeGrip.cs: Call base implmentation in overriding methods.
10933 - When visibility is changed the drawing buffers are killed so we
10936 2005-01-11 Jackson Harper <jackson@ximian.com>
10938 * TreeView.cs: Calculate the open node count while drawing. This
10939 saves us an entire tree traversal for every paint operation. Use
10940 a member var for the open node count so less vars are passed around.
10942 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10944 * MonthCalendar.cs:
10945 - fixed selection to use mousemove, not mouse polling on timer
10946 * ThemeWin32Classic.cs
10947 - removed redundant unused variable "no_more_content"
10949 2005-01-11 Peter Bartok <pbartok@novell.com>
10951 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10952 are pending, so it now calls PeekMessage instead of GetMessage;
10953 implemented a incomplete version of PeekMessage
10955 2005-01-11 Peter Bartok <pbartok@novell.com>
10957 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10959 * TextBoxBase.cs: Added sending of TextChanged event
10961 2005-01-10 Jackson Harper <jackson@ximian.com>
10963 * TreeView.cs: Try not to draw outside the clipping rectangle on
10966 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10968 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10970 2005-01-10 Jackson Harper <jackson@ximian.com>
10973 - Implement fast scrolling. Now only the newly
10974 exposed nodes are drawn and the old image is moved using the
10975 XplatUI::ScrollWindow method.
10976 - Factor in height of nodes when calculating whether or not the
10977 node is in the clipping rect.
10979 2005-01-10 Jackson Harper <jackson@ximian.com>
10981 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10983 2005-01-10 Peter Bartok <pbartok@novell.com>
10985 * Application.cs: Added temporary hack to resolve all our resize
10986 required issues on startup. This will get fixed properly at
10987 some point in the future
10989 2005-01-10 Jackson Harper <jackson@ximian.com>
10991 * SizeGrip.cs: New internal class that is used as a sizing
10992 grip control...hence the name.
10994 2005-01-10 Peter Bartok <pbartok@novell.com>
10996 * Control.cs: Implemented proper TabIndex handling, now assigning
10997 a tabindex when a control is added to a container
10998 * GroupBox.cs (ctor): Now sets the Container style bit, required
10999 for Control.GetNextControl()
11001 2005-01-09 Jackson Harper <jackson@ximian.com>
11003 * TextBoxBase.cs: Clear window when scrolling (fixes build).
11005 2005-01-09 Peter Bartok <pbartok@novell.com>
11007 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
11008 XplatUIX11.cs: Added ability to control ScrollWindow expose and
11009 an overload for ScrollWindow to allow only scrolling a rectangle
11011 2005-01-09 Peter Bartok <pbartok@novell.com>
11014 - Implemented SetDesktopBounds method
11015 - Implemented SetDesktopLocation method
11017 2005-01-08 Jackson Harper <jackson@ximian.com>
11019 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
11020 the node count has changed, this removes to VScroll::Refresh calls
11023 2005-01-08 Geoff Norton <gnorton@customerdna.com>
11025 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
11027 2005-01-07 Jackson Harper <jackson@ximian.com>
11029 * TreeNode.cs: Just update the single node when it is
11030 checked. Don't refresh after toggling, the Expand/Collapse already
11032 * TreeView.cs: Respect clipping a little more when drawing. Try
11033 not to redraw things that don't need to be redrawn. Just hide the
11034 scrollbars when they are no longer needed instead of removing
11035 them, so they don't have to be created again and again.
11037 2005-01-07 Geoff Norton <gnorton@customerdna.com>
11039 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
11040 coordinates to window space to place the caret properly, FIXED.
11041 Implement GetWindowState & SetWindowState
11043 2005-01-06 Peter Bartok <pbartok@novell.com>
11046 - Implemented ClientSize property
11047 - Implemented DesktopBounds property
11048 - Implemented DesktopLocation property
11049 - Implemented IsRestrictedWindow property
11050 - Implemented Size property
11051 - Implemented TopLevel property
11052 - Implemented FormWindowState property
11054 - Implemented GetTopLevel() method
11055 - Implemented SetTopLevel() method
11056 * X11Structs.cs (Atom):
11057 - Added AnyPropertyType definition
11058 - Added MapState definiton and updated XWindowAttribute struct
11059 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
11060 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
11061 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
11063 - Implemented GetWindowState() and SetWindowState() methods
11064 - Fixed Win32GetWindowLong return type
11066 - Introduced central function for sending NET_WM messages
11067 - Implemented GetWindowState() and SetWindowState() methods
11068 * TextBoxBase.cs (set_Lines):
11069 - Now uses Foreground color for text added via Text property (Duh!)
11070 - Added code to remember programmatically requested size (fixes
11071 behaviour when Multiline is set after Size)
11072 - Added AutoSize logic
11074 2005-01-06 Jackson Harper <jackson@ximian.com>
11076 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
11078 2005-01-06 Jackson Harper <jackson@ximian.com>
11080 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
11081 set to less then 0.
11083 2005-01-06 Jackson Harper <jackson@ximian.com>
11085 * ScrollableControl.cs: Lazy init the scrollbars.
11087 2005-01-06 Jackson Harper <jackson@ximian.com>
11089 * Theme.cs: Speed up getting pens and solid brushes, by using
11090 their ARGB as a hash instead of tostring and not calling Contains.
11092 2005-01-06 Peter Bartok <pbartok@novell.com>
11095 - Implemented OnActivated and OnDeactivate event trigger
11096 - Implemented Activate() method
11097 - Fixed ShowDialog() to activate the form that was active before
11098 the dialog was shown
11100 - Added global active_window var that tracks the currently active
11102 - Now always grabs Property changes from the root window to always
11103 catch changes on the active window property
11104 - Added code to PropertyNotify handler to send Active/Inactive
11105 messages when state changes. This puts X11 and Win32 en par on
11106 WM_ACTIVATE notifications (except for double notifications when
11107 the user clicks away from our modal window to another one of our
11110 2005-01-05 Jackson Harper <jackson@ximian.com>
11112 * ImageList.cs: Implment ctor
11114 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11116 * XplatUIOSX.cs: Implement Activate/SetTopmost
11118 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11120 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
11122 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11124 * XplatUIOSX.cs: Implement GetActive/SetFocus.
11126 2005-01-05 Peter Bartok <pbartok@novell.com>
11128 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
11129 XplatUIOSX.cs: Added GetActive method to return the currently
11130 active window for the application (or null, if none is active)
11132 - Implemented ActiveForm
11133 - Commented out owner assignment for modal dialogs (causes problems
11134 on Win32, since the owner will be disabled)
11135 - Reworked some Active/Focus handling (still incomplete)
11136 * CommonDialog.cs: Commented out owner assignment for modal dialogs
11137 (causes problems on Win32, since the owner will be disabled)
11138 * IWin32Window: Added ComVisible attribute
11140 2005-01-05 Peter Bartok <pbartok@novell.com>
11142 * ToolTip.cs (WndProc): Enable setting focus now that we have the
11143 required XplatUI functions.
11145 2005-01-05 Peter Bartok <pbartok@novell.com>
11147 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
11148 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
11149 to implement focus and activation handling; still incomplete and
11152 2005-01-04 Peter Bartok <pbartok@novell.com>
11154 * TextBoxBase.cs: Changed access level for Document property to
11155 match switch to internal for TextControl
11157 2005-01-04 Peter Bartok <pbartok@novell.com>
11159 * AccessibleObject: Added ComVisible attribute
11161 2005-01-04 Jackson Harper <jackson@ximian.com>
11163 * X11Keyboard.cs: Remove unneeded var.
11165 2005-01-04 Jackson Harper <jackson@ximian.com>
11167 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
11169 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
11170 ClientMessage. This makes apps exit cleanly (more often).
11172 2005-01-04 Jackson Harper <jackson@ximian.com>
11174 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
11175 handling focus, return correct colors and fonts,
11176 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
11177 handle selection, horizontal scrolling, and mouse interaction.
11179 2005-01-04 Peter Bartok <pbartok@novell.com>
11181 * ICommandExecutor.cs: Added
11182 * IDataGridColumnStyleEditingNotificationService.cs: Added
11183 * IFeatureSupport.cs: Added
11184 * IFileReaderService.cs: Added
11185 * IDataObject.cs: Added ComVisible attribute
11186 * AmbientProperties.cs: Added
11187 * BaseCollection.cs: Added missing attributes
11188 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
11189 * BaseCollection.cs: Added missing attributes
11190 * Binding.cs: Added TypeConverter attribute
11191 * BindingContext.cs: Added DefaultEvent attribute
11192 * BindingsCollection.cs: Added DefaultEvent attribute
11193 * Button.cs: Added DefaultValue attribute
11194 * DragEventArgs.cs: Added ComVisible attribute
11195 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
11196 * KeyEventArgs.cs: Added ComVisible attribute
11197 * KeyPressEventArgs.cs: Added ComVisible attribute
11198 * MouseEventArgs.cs: Added ComVisible attribute
11199 * NavigateEventArgs.cs: Added
11200 * NavigateEventHandler.cs: Added
11201 * FeatureSupport.cs: Added
11202 * OSFeature.cs: Added
11203 * Theme.cs: Added abstract Version property to support OSFeature
11204 * ThemeWin32Classic.cs: Added Version property to
11205 support OSFeature.Themes
11206 * ProgressBar.cs: Removed OnPaintBackground override, not required since
11207 the proper styles to avoid background drawing are set, also doesn't
11209 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
11210 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
11211 * ScrollEventArgs.cs: Added ComVisible attribute
11212 * SplitterEventArgs.cs: Added ComVisible attribute
11213 * AccessibleSelection.cs: Added Flags attribute
11214 * Appearance.cs: Added ComVisible attribute
11215 * Border3DSide.cs: Added ComVisible attribute
11216 * Border3DStyle.cs: Added ComVisible attribute
11217 * BorderStyle.cs: Added ComVisible attribute
11218 * DragAction.cs: Added ComVisible attribute
11219 * ErrorBlinkStyle.cs: Added
11220 * ScrollEventType.cs: Added ComVisible attribute
11221 * AnchorStyles.cs: Added Editor attribute
11222 * DockStyle.cs: Added Editor attribute
11223 * HorizontalAlignment.cs: Added ComVisible attribute
11224 * HelpEventArgs.cs: Added ComVisible attribute
11225 * PaintEventArgs.cs: Added IDisposable
11227 2005-01-04 Peter Bartok <pbartok@novell.com>
11229 * TextControl.cs: Switched Line, LineTag and Document classes to
11232 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11234 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
11235 Simple mode, fixes, IntegralHeight, etc.
11237 2005-01-04 Peter Bartok <pbartok@novell.com>
11239 * TextBoxBase.cs: Using proper font variable now
11241 2005-01-04 Peter Bartok <pbartok@novell.com>
11243 * Form.cs (ShowDialog): Set parent to owner, if provided
11244 * GroupBox.cs: Removed unused vars
11246 - Added GetHashCode() for Document and LineTag classes
11247 - Removed unused variables
11248 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
11249 to allow translation between continuous char position and line/pos
11250 * CheckBox.cs: Removed vars that are provided by base class
11251 * RadioButton.cs: Removed vars that are provided by base class, added
11252 new keyword where required
11253 * LinkLabel.cs: Added new keyword where required
11254 * Control.cs (WndProc): Removed unused variable
11256 - Finished SelectionLength property
11257 - Implemented SelectionStart property
11258 - Implemented Text property
11259 - Removed unused vars
11260 * MessageBox.cs: Added new keyword where required
11261 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
11263 * MenuAPI.cs: Added new keyword where required
11264 * ButtonBase.cs: Removed vars that are provided by base class, added
11265 new keyword where required
11266 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
11267 argument to double, to allow compiling with csc 2.0 (Atsushi ran
11269 * Application.cs (Run): Now triggers the ThreadExit event
11270 * CommonDialog.cs: Added new keyword where required; now properly sets
11271 parent (owner) for dialog
11272 * XplatUIX11.cs: Commented out unused vars
11273 * StatusBar.cs: Fixed signature for Text property
11274 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
11276 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11278 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
11279 TrackBar.cs, MonthCalendar.cs: remove unused vars
11281 2005-01-03 Jackson Harper <jackson@ximian.com>
11283 * ThemeWin32Classic.cs:
11284 * X11Keyboard.cs: Remove unused vars.
11286 2005-01-03 Peter Bartok <pbartok@novell.com>
11289 - set_Text: Tied into TextControl
11290 - set_TextAlignment: Tied into TextControl
11292 - Added alignment properties and implemented alignment handling
11293 and drawing (still has a bug, not generating proper expose events)
11294 - Added new Line() constructor to allow passing the line alignment
11295 - Fixed selection setting, properly handling end<start now
11296 - Added aligment considerations to RecalculateDocument()
11298 - Now properly enforces control height for single line controls
11299 - Added support for CharacterCasing
11300 - Added IsInputKey override
11301 - Fixed Keys.Enter logic
11302 - Added SetBoundsCore override
11303 - Fixed mouse selection handling
11305 2005-01-03 Jackson Harper <jackson@ximian.com>
11308 - Collapse and uncheck all nodes when CheckBoxes is disabled.
11309 - Checkboxes are always aligned to the bottom of the node,
11310 regardless of item height.
11311 - Use the node bounds to draw the text so we can center it when
11312 the item height is greater then the font height.
11313 - Node::Bounds are only the text part of the node.
11314 * TreeNode.cs: New method to combine collapsing and unchecking all
11317 2005-01-02 Jackson Harper <jackson@ximian.com>
11319 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
11320 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
11321 tree when a check is changed. TODO: Only refresh the checked node.
11323 2004-12-30 Jackson Harper <jackson@ximian.com>
11325 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
11326 * TreeNode.cs: When collapsing make sure to never collapse the
11329 2004-12-29 Jackson Harper <jackson@ximian.com>
11331 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
11333 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
11335 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
11337 2004-12-28 Peter Bartok <pbartok@novell.com>
11339 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
11342 2004-12-28 Peter Bartok <pbartok@novell.com>
11344 * Control.cs (WndProc): Added WM_HELP handler, now generates
11345 HelpRequested event
11346 * Form.cs: Added HelpButton property and required support code
11347 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
11349 2004-12-28 Peter Bartok <pbartok@novell.com>
11352 - Made DialogForm.owner variable internal
11353 - Added check to ensure owner form is set before setting
11354 owner properties in CreateParams
11356 2004-12-28 Geoff Norton <gnorton@customerdna.com>
11358 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
11359 swizzling. Implement ClientToScreen and ScreenToClient. Implement
11360 GetCursorPos. Fix major visibility issues. Rework the windowing
11361 system to support borderless/titleless windows (implements menus).
11362 Fix GetWindowPos. Implement initial background color support for
11365 2004-12-28 Peter Bartok <pbartok@novell.com>
11367 * Form.cs (get_CreateParams): Make sure we have an owner before using
11368 the owner variable. Implement proper default if no owner exists
11370 2004-12-28 Peter Bartok <pbartok@novell.com>
11372 * In preparation for making Managed.Windows.Forms the default build target
11373 for System.Windows.Forms, the following stubbed files were added.
11374 Dialogs are currently being implemented by contributors and are only
11375 short-term place holders.
11376 * ColorDialog.cs: Initial check-in (minmal stub)
11377 * DataGrid.cs: Initial check-in (minimal stub)
11378 * DataGridLineStyle.cs: Initial check-in (minimal stub)
11379 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
11380 * DataGridTableStyle.cs: Initial check-in (minimal stub)
11381 * FontDialog.cs: Initial check-in (minimal stub)
11382 * FileDialog.cs: Initial check-in (minimal stub)
11383 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
11384 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
11385 * OpenFileDialog: Initial check-in (minimal stub)
11386 * IComponentEditorPageSite.cs: Initial check-in
11387 * Splitter.cs: Initial check-in (for Jackson)
11388 * SplitterEventArgs.cs: Initial check-in (for Jackson)
11389 * SplitterEventHandler.cs: Initial check-in (for Jackson)
11390 * TextBox.cs: Initial check-in; still needs some wiring to
11391 TextControl backend
11392 * Form.cs: Implemented ControlBox property
11393 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
11394 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
11395 * TextControl.cs: Added selection functionality; added todo header
11397 - Implemented Lines property
11398 - Implemented TextHeight property
11399 - Implemented SelectedText property
11400 - Implemented SelectionLength property
11401 - Implemented SelectAll method
11402 - Implemented ToString method
11403 - Removed and cleaned up some debug code
11404 - Implemented (still buggy) mouse text selection
11406 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
11408 * ComboBox.cs: Complete DropDownList implementation, fixes.
11410 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
11412 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
11413 * ComboBoxStyle.cs: ComboBoxStyle enum
11414 * ComboBox.cs: Initial work on ComboBox control
11416 2004-12-21 Peter Bartok <pbartok@novell.com>
11418 * Control.cs (ctor, CreateParams): Moved setting of is_visible
11419 forward so that anything that creates a window gets the default,
11420 also no longer uses Visible property in CreateParams to avoid
11421 walking up the parent chain and possibly get the wrong visible
11422 status. Fixed IsVisible to no longer walk up to the parent.
11424 2004-12-21 Peter Bartok <pbartok@novell.com>
11426 * Form.cs (ShowDialog): Unset modality for the proper window
11428 2004-12-20 Peter Bartok <pbartok@novell.com>
11430 * CommonDialog.cs: Initial check-in
11432 2004-12-20 Peter Bartok <pbartok@novell.com>
11434 * Control.cs (Visible): Now uses the parent window instead of the
11435 client area window for the property
11438 - ShowDialog(): Now uses the proper window for modality
11439 - The default visibility state for the form parent is now false. This
11440 will prevent the user from seeing all the changes to the form and
11441 its controls before the application hits Application.Run()
11442 - Removed some stale commented out code
11445 - Added FindWindow() method to have a method to check for existence
11447 - Added ability to override default exception handling (for example
11448 when debugging with VS.Net; to do this the ExternalExceptionHandler
11450 - Removed some useless debug output
11453 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
11454 not working as expected
11455 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
11456 property to allow switching back to the modal window if focus is
11457 given to another one of our windows (Application Modal)
11458 - Now only sets override_redirect if we create a window
11460 - Moved EventMask selection before mapping of newly created window
11461 so we can catch the map event as well
11462 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
11463 - Added various Atom related DllImports
11464 - Implemented Exit() method
11465 - .ctor() : No longer shows window if WS_VISIBLE is not defined
11466 in the CreateParams
11468 * MessageBox.cs: Now properly deals with the FormParent window by
11469 providing an override the FormParent CreateParams property to
11470 set as POPUP instead of OVERLAPPED window.
11472 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11474 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
11475 Minor code cleanup.
11477 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11479 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
11481 2004-12-18 Peter Bartok <pbartok@novell.com>
11483 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
11484 implementing SetModal() method
11486 2004-12-18 Peter Bartok <pbartok@novell.com>
11488 * X11Structs.cs (XGCValues): Fixed type of function element
11489 * XplatUI.cs: Added ScrollWindow() method
11490 * XplatUIDriver.cs: Added ScrollWindow() abstract
11491 * XplatUIWin32.cs: Implemented ScrollWindow() method
11492 * XplatUIX11.cs: Implemented ScrollWindow() method
11493 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
11495 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11497 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
11498 Some more keyboard support (INCOMPLETE)
11500 2004-12-17 Peter Bartok <pbartok@novell.com>
11503 - Added color attribute to line tags.
11504 - Added color argument to all functions dealing with tags
11505 - Added color argument support to various functions
11506 - Fixed miss-calculation of baseline/shift in certain circumstances
11508 * TextBoxBase.cs: Added new color option to test code
11510 2004-12-17 Jackson Harper <jackson@ximian.com>
11513 * MonthCalendar.cs: Signature fixes
11515 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11517 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
11518 keyboard event moved it. Create a new graphics context for each paint resolves this
11520 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11522 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
11523 Make caret exist and go blink blink. Initial keyboard support.
11524 Fix exception handler, Add Invalidate support. Change way RefreshWindow
11527 2004-12-17 Jackson Harper <jackson@ximian.com>
11529 * XplatUIStructs.cs: Updated set of virtual keycodes.
11530 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
11532 2004-12-17 Jackson Harper <jackson@ximian.com>
11534 * XplatUIX11.cs: Prune old keyboard code.
11536 2004-12-17 Jackson Harper <jackson@ximian.com>
11538 * XplatUIX11.cs: When generating mouse wparams get the modifier
11539 keys from the ModifierKeys property.
11541 2004-12-17 Jackson Harper <jackson@ximian.com>
11543 * X11Keyboard.cs: Send up/down input when generating
11544 messages. Remove some unused vars.
11546 2004-12-17 Jackson Harper <jackson@ximian.com>
11549 * TreeView.cs: get rid of warnings.
11551 2004-12-17 Jackson Harper <jackson@ximian.com>
11553 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
11555 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
11557 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
11558 CheckedListBox.cs: Implementation
11560 2004-12-17 Peter Bartok <pbartok@novell.com>
11562 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
11564 2004-12-16 Peter Bartok <pbartok@novell.com>
11567 - InsertCharAtCaret(): Fixed start pos fixup
11568 - CaretLine_get: No longer derives the line from the tag, the tag
11569 could be stale if lines in the document have been added or deleted
11570 - RebalanceAfterDelete(): Fixed bug in balancing code
11571 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
11572 - Line.Streamline(): Now can also elminate leading empty tags
11573 - DumpTree(): Added a few more tests and prevented exception on
11575 - Added Debug section for Combining lines
11576 - Delete(): Now copies all remaining properties of a line
11579 - Left mousebutton now sets the caret (and middle button still acts
11580 as formatting tester, which must go away soon)
11581 - Added Debug section for Deleting/Combining lines
11582 - Fixed calculations for UpdateView after Combining lines
11584 2004-12-16 Peter Bartok <pbartok@novell.com>
11586 * TextControl.cs: Now properly aligns text on a baseline, using the
11587 new XplatUI.GetFontMetrics() method. Simplified several calculations
11588 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
11591 2004-12-16 Peter Bartok <pbartok@novell.com>
11593 * XplatUI.cs: Added GetFontMetrics() method
11594 * XplatUIDriver.cs: Added GetFontMetrics() abstract
11595 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
11596 into libgdiplus, our private GetFontMetrics function
11597 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
11598 * XplatUIWin32.cs: Implemented GetFontMetrics() method
11600 2004-12-16 Jackson Harper <jackson@ximain.com>
11602 * XplatUIStruct.cs: Add enum for dead keys
11603 * X11Keyboard.cs: Map and unmap dead keys.
11605 2004-12-16 Jackson Harper <jackson@ximian.com>
11607 * X11Keyboard.cs: Detect and use the num lock mask.
11609 2004-12-16 Peter Bartok <pbartok@novell.com>
11611 * Control.cs (CreateGraphics): Added check to make sure the
11612 handle of the window exists before calling Graphics.FromHwnd()
11614 2004-12-16 Peter Bartok <pbartok@novell.com>
11616 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
11617 contains a lot of code that's not supposed to be there for the
11618 real thing, but required for developing/testing the textbox
11621 2004-12-16 Peter Bartok <pbartok@novell.com>
11624 - Fixed Streamline method
11625 - Added FindTag method to Line
11626 - Added DumpTree method for debugging
11627 - Added DecrementLines() method for deleting lines
11628 - Fixed UpdateView to update the cursor to end-of-line on single-line
11630 - Added PositionCaret() method
11631 - Fixed MoveCaret(LineDown) to move into the last line, too
11632 - Added InsertChar overload
11633 - Fixed InsertChar tag offset calculations
11634 - Added DeleteChar() method
11635 - Added Combine() method for folding lines
11636 - Fixed Delete() method, no longer allocates wasted Line object and
11637 now copies all properties when swapping nodes
11638 - Delete() method now updates document line counter
11640 2004-12-15 Jackson Harper <jackson@ximian.com>
11642 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
11643 * X11Keyboard.cs: Expose the currently selected modifier keys
11644 through a property.
11646 2004-12-15 Peter Bartok <pbartok@novell.com>
11648 * TextControl.cs: Initial check-in. Still incomplete
11650 2004-12-15 Jackson Harper <jackson@ximian.com>
11653 * TreeView.cs: Fix build on csc (second time today ;-))
11655 2004-12-15 Jackson Harper <jackson@ximian.com>
11657 * TreeView.cs: Store the treenodes plus/minus box bounds when it
11658 is calculated and use this for click testing.
11659 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
11661 2004-12-15 Jackson Harper <jackson@ximian.com>
11663 * TreeView.cs: Pass the nodes image index to the image list when
11664 drawing that image.
11666 2004-12-15 Jackson Harper <jackson@ximian.com>
11668 * X11Keyboard.cs: Set messages hwnd.
11669 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
11670 post_message calls.
11672 2004-12-15 Jackson Harper <jackson@ximian.com>
11674 * X11Keyboard.cs: Fix to compile with csc.
11676 2004-12-15 Jackson Harper <jackson@ximian.com>
11678 * X11Structs.cs: Add key mask values
11679 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
11680 * X11Keyboard.cs: New file - Extrapolates and interpolates key
11681 down/up foo into WM_CHAR foo
11682 * KeyboardLayouts.cs: Common keyboard layouts
11683 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
11684 post messages into the main queue.
11686 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
11688 * Button.cs: implement ProcessMnemonic
11689 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
11691 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
11692 * ButtonBase.cs: Show HotkeyPrefix (not the &)
11694 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
11696 * MonthCalendar.cs: Implemented click-hold for next/previous month
11699 2004-12-11 Peter Bartok <pbartok@novell.com>
11702 - Added XKeyboardState (moved from XplatUIX11.cs)
11703 - Added XCreateGC related enums and structures
11704 - Added GXFunction for XSetFunction
11706 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
11708 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
11709 CaretVisible() calls
11711 * ToolTip.cs: Added code to prevent stealing focus from app windows
11713 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
11714 DestroyCaret, SetCaretPos and CaretVisible)
11717 - Added implementation for caret functions
11718 - Moved hover variables into a struct, to make it a bit easier
11719 on the eyes and to debug
11720 - Removed XKeyboardState (moved to XplatUIX11.cs)
11721 - Moved Keyboard properties into the properties region
11723 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
11724 call to get a graphics context for our control
11726 * XplatUIOSX.cs: Added empty overrides for the new caret functions
11728 * TreeView.cs: Fixed bug. No matter what color was set it would always
11729 return SystemColors.Window
11731 * XplatUIWin32.cs: Implemented caret overrides
11733 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
11735 * ListBox.cs: fire events, implement missing methods and properties,
11738 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
11740 * MonthCalendar.cs: invalidation bug fixing
11741 * ThemeWin32Classic.cs: paint fixing
11743 2004-12-09 Geoff Norton <gnorton@customerdna.com>
11745 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
11746 prepare the CGContextRef there now.
11748 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
11750 * MonthCalendar.cs:
11751 - optimisationL only invalidate areas that have changed
11752 * ThemeWin32Classic.cs:
11753 - only paint parts that intersect with clip_area
11755 2004-12-09 Peter Bartok <pbartok@novell.com>
11757 * Application.cs: Undid changes from r37004 which cause problems
11760 2004-12-09 Ravindra <rkumar@novell.com>
11762 * ToolBar.cs: Added support for displaying ContextMenu
11763 attached to a button on ToolBar.
11764 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
11767 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11769 * Label.cs: autosize works in text change and removes unnecessary
11772 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11774 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
11777 2004-12-08 Geoff Norton <gnorton@customerdna.com>
11779 * XplatUIOSX.cs: Added mouse move/click/grab support
11780 Remove some debugging WriteLines not needed anymore.
11781 Add window resizing/positioning.
11782 Fix visibility on reparenting.
11784 2004-12-08 Peter Bartok <pbartok@novell.com>
11786 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
11788 2004-12-07 Geoff Norton <gnorton@customerdna.com>
11790 * XplatUIOSX.cs: Initial checkin
11791 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
11793 2004-12-03 Ravindra <rkumar@novell.com>
11795 * ListView.cs: Added some keybindings and fixed scrolling.
11796 ScrollBars listen to ValueChanged event instead of Scroll
11797 Event. This would let us take care of all changes being
11798 done in the scrollbars' values programmatically or manually.
11799 * ListView.cs (CanMultiselect): Added a check for shift key.
11800 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
11801 * ListViewItem.cs (Clone): Fixed. We need to make a copy
11802 of ListViewSubItemCollection as well.
11804 2004-12-06 Peter Bartok <pbartok@novell.com>
11806 * Control.cs (Parent): Added check and exception to prevent
11809 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
11811 * ListBox.cs: implemented clipping, selection single and multiple,
11814 2004-12-03 Ravindra <rkumar@novell.com>
11816 * ListView.cs (ListView_KeyDown):
11817 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
11818 when CTRL key is pressed.
11819 * ListViewItem.cs (Selected): Fixed setting the property.
11821 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11823 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
11825 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
11826 MinimizeBox, ShowInTaskbar, TopMost properties.
11828 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
11829 will be implemented).
11831 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11833 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11835 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11838 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11840 * TreeView.cs: BackColor is Colors.Window.
11842 2004-12-01 Jackson Harper <jackson@ximian.com>
11844 * TreeView.cs: When resizing the tree if the user is making it
11845 smaller we don't get expose events, so we need to handle adding
11846 the horizontal scrollbar in the size changed handler as well as
11847 the expose handler.
11849 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11851 * DrawItemState.cs: fixes wrong enum values
11853 2004-12-01 Jackson Harper <jackson@ximian.com>
11855 * TreeView.cs: Resize the hbar as well as the vbar on resize.
11857 2004-12-01 Jackson Harper <jackson@ximian.com>
11859 * NodeLabelEditEventArgs.cs:
11860 * NodeLabelEditEventHandler.cs:
11861 * OpenTreeNodeEnumerator.cs:
11863 * TreeNodeCollection.cs:
11865 * TreeViewAction.cs:
11866 * TreeViewCancelEventArgs.cs:
11867 * TreeViewCancelEventHandler.cs:
11868 * TreeViewEventArgs.cs:
11869 * TreeViewEventHandler.cs: Initial implementation.
11871 2004-12-01 Ravindra <rkumar@novell.com>
11873 * ListView.cs (CalculateListView): Fixed scrolling related
11874 calculations. Also, removed some debug statements from other
11876 * ListViewItem.cs: Changed access to 'selected' instance variable
11877 from private to internal.
11878 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
11880 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
11882 * ThemeWin32Classic.cs: remove cache of brush and pens for
11883 specific controls and use the global system, fixes scrollbutton
11884 bugs (for small sizes, disabled, etc)
11886 * ScrollBar.cs: does not show the thumb for very small controls
11887 (as MS) and allow smaller buttons that the regular size
11889 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11891 * UpDownBase.cs: Add abstract methods for the interface.
11892 Add new virtual methods (need to be hooked up to TextEntry when it
11894 Add override methods for most features.
11895 Computes the size, forces the height of the text entry.
11897 * NumericUpDown.cs: Put here the current testing code.
11899 * Set eol-style property on all files that do not have mixed line
11900 endings, to minimize the future problems. There are still a few
11901 files with mixed endings, and someone should choose whether they
11902 want to move it or not.
11904 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11906 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11909 2004-11-30 Ravindra <rkumar@novell.com>
11911 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11912 drawing and replaced use of SystemColors by theme colors.
11913 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11914 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11915 same ListViewItem is being added more than once.
11917 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11919 * MonthCalendar.cs:
11920 - ControlStyles love to make the control not flicker
11922 2004-11-30 Peter Bartok <pbartok@novell.com>
11924 * CharacterCasing.cs: Added
11926 2004-11-29 Peter Bartok <pbartok@novell.com>
11928 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11929 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11930 I am removing these files as they conflict with already completed
11931 work. While it is fantastic to get contributions to MWF, I
11932 respectfully ask that everyone please coordinate their contributions
11933 through mono-winforms-list or #mono-winforms at this time. We're
11934 explicitly avoiding stubbing and don't want controls that don't have
11935 their basic functionality implemented in svn. Please also see
11936 http://www.mono-project.com/contributing/winforms.html
11939 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11941 * Application.cs (ModalRun): Don't hang after exit.
11943 * Theme.cs: New TreeViewDefaultSize property.
11945 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11946 with less hardcoded SystemColors constant.
11947 Implemented TreeViewDefaultSize.
11949 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11950 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11953 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11955 * MonthCalendar.cs:
11956 - Fix NextMonthDate and PrevMonthDate click moving calendar
11958 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11960 * MonthCalendar.cs:
11961 - Fix usage of ScrollChange Property when scrolling months
11963 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11965 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11966 - Fixes menu destroying
11967 - Support adding and removing items on already created menus
11969 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11971 * MonthCalendar.cs:
11972 - Re-worked all bolded dates handling to match win32
11973 * ThemeWin32Classic.cs:
11974 - Fixed rendering with bolded dates
11976 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11978 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11979 - Horizontal scroolbar
11984 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11986 * MonthCalendar.cs:
11987 - Fix Usage of MaxSelectionCount from SelectionRange
11988 - Fixed Shift + Cursor Selection
11989 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11990 - Fixed normal cursor selection to be compat with win32
11991 - Fixed Shift + Mouse Click selection
11993 2004-11-24 Peter Bartok <pbartok@novell.com>
11995 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11996 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11998 - CreatedKeyBoardMsg now updates keystate with Alt key
11999 - Added workaround for timer crash to CheckTimers, Jackson will
12000 develop a proper fix and check in later
12001 - Implemented DispatchMessage
12002 - Removed calling the native window proc from GetMessage (call
12003 now moved to DispatchMessage)
12005 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
12006 the keydata (Fixes bug #69831)
12009 - (DispatchMessage): Switched to return IntPtr
12010 - Added DllImport for SetFocus
12012 2004-11-24 Ravindra <rkumar@novell.com>
12014 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
12015 background drawing.
12016 * ListViewItem.cs: Fixed various properties, calculations
12017 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
12018 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
12019 and some internal properties. Fixed MouseDown handler and Paint
12022 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12024 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
12026 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12028 * ContainerControl.cs: correct accidental check in of local changes
12030 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12032 * ThemeWin32Classic.cs:
12033 - Fixed Drawing Last month in grid (sometimes not showing)
12034 * MonthCalendar.cs:
12035 - Fixed title width calculation bug (makeing title small)
12037 2004-11-23 Peter Bartok <pbartok@novell.com>
12040 - Added generation of WM_MOUSEHOVER event
12041 - Added missing assignment of async_method atom
12042 - Fixed WM_ERASEBKGND; now only redraws the exposed area
12044 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12046 * ThemeWin32Classic.cs:
12047 - Fixed Drawing of today circle when showtodaycircle not set
12048 - fixed drawing of first and last month in the grid (gay dates)
12049 * MonthCalendar.cs:
12050 - Fixed Drawing of today circle
12051 - Fixed drawing of grady dates
12052 - Fixed HitTest for today link when ShowToday set to false
12053 - Fixed DefaultSize to obey ShowToday
12055 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12057 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
12058 * System.Windows.Forms/Theme.cs
12059 * MonthCalendar.cs: added for MonthCalendar
12060 * SelectionRange.cs: added for MonthCalendar
12061 * Day.cs: added for MonthCalendar: added for MonthCalendar
12062 * DateRangeEventArgs.cs: added for MonthCalendar
12063 * DateRangeEventHandler.cs: added for MonthCalendar
12065 2004-11-22 Ravindra <rkumar@novell.com>
12067 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
12070 2004-11-22 Miguel de Icaza <miguel@ximian.com>
12072 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
12075 * NumericUpDown.cs: Added new implementation.
12076 * UpDownBase.cs: Added new implementation.
12078 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
12081 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
12084 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
12087 2004-11-21 Miguel de Icaza <miguel@ximian.com>
12089 * Timer.cs (Dispose): Should call the base dispose when
12092 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12094 * ScrollBar.cs: updates thumb position when max, min or increment
12097 2004-11-21 Ravindra <rkumar@novell.com>
12099 * ListView.cs: Implemented item selection, activation and
12100 column header style. Fixed properties to do a redraw, if
12101 required. Added support for MouseHover, DoubleClick, KeyDown
12102 and KeyUp event handling and some minor fixes.
12103 * ListViewItem.cs: Fixed constructor.
12104 * ThemeWin32Classic.cs: Improved drawing for ListView.
12106 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12108 * ThemeWin32Classic.cs: initial listbox drawing code
12109 * DrawMode.cs: new enumerator
12110 * ListControl.cs: stubbed class
12111 * ListBox.cs: initial implementation
12112 * Theme.cs: new methods definitions
12113 * SelectionMode.cs: new enumerator
12115 2004-11-17 Peter Bartok <pbartok@novell.com>
12117 * XplatUIWin32.cs: Added double-click events to the class style
12118 * Control.cs (WndProc):
12119 - Added handling of click-count to MouseDown/ MouseUp events.
12120 - Added handling of middle and right mouse buttons
12121 - Removed old debug code
12123 2004-11-17 Jackson Harper <jackson@ximian.com>
12125 * XplatUIX11.cs: Use the new Mono.Unix namespace.
12127 2004-11-17 Ravindra <rkumar@novell.com>
12129 * ListView.cs: Added event handling for MouseMove/Up/Down.
12130 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
12131 * ThemeWin32Classic.cs: We need to clear the graphics context and
12132 draw column header in a proper state.
12135 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
12137 * Menu.cs: fixes signature
12139 2004-11-16 Peter Bartok <pbartok@novell.com>
12141 * XplatUIX11.cs (GetMessage): Implemented generation of
12142 double click mouse messages
12144 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
12146 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
12149 2004-11-11 Peter Bartok <pbartok@novell.com>
12151 * HandleData.cs: Added Visible property
12152 * XplatUIX11.cs (IsVisible): Now uses Visible property from
12154 * XplatUIX11.cs: Removed old debug leftovers
12155 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
12156 * Control.cs (WndProc): Removed old debug leftovers,
12157 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
12158 needed WM_SIZE handling
12160 2004-11-11 Jackson Harper <jackson@ximian.com>
12162 * OwnerDrawPropertyBag.cs:
12163 * TreeViewImageIndexConverter.cs: Initial implementation
12165 2004-11-10 Jackson Harper <jackson@ximian.com>
12167 * ThemeWin32Classic.cs:
12168 * TabControl.cs: instead of moving tabs by the slider pos just
12169 start drawing at the tab that is offset by the slider. This way
12170 scrolling always moves by exactly one tab.
12172 2004-11-10 Jackson Harper <jackson@ximian.com>
12174 * TabControl.cs: You can only scroll left when the slider has
12175 already ben moved right.
12177 2004-11-10 Jackson Harper <jackson@ximian.com>
12179 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
12182 2004-11-10 Jackson Harper <jackson@ximian.com>
12184 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
12187 2004-11-09 Jackson Harper <jackson@ximian.com>
12189 * TabControl.cs (CalcXPos): New helper method so we can determine
12190 the proper place to start drawing vertical tabs.
12191 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
12193 2004-11-09 Jackson Harper <jackson@ximian.com>
12195 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
12196 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
12197 and Bottom, left and right are illegal values for this and
12198 multiline is enabled when the alignment is set to left or right.
12199 (DrawTab): Each alignment block should draw the text itself now
12200 because Left requires special love. Also add rendering for Left
12203 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
12205 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
12206 does not destroy the windows, removes debugging messages
12208 2004-11-09 jba <jba-mono@optusnet.com.au>
12210 * ThemeWin32Classic.cs
12211 (DrawButtonBase): Fix verticle text rect clipping in windows
12212 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12213 rendering and incorrect text rect clipping
12214 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12215 rendering and incorrect text rect clipping
12217 2004-11-08 Jackson Harper <jackson@ximian.com>
12219 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
12220 bottom when they are bottom aligned so the bottoms of the tabs get
12222 * TabControl.cs (DropRow): Move rows up instead of down when the
12223 tab control is bottom aligned.
12225 2004-11-08 13:59 pbartok
12228 - Added handling for various window styles
12229 - Added handling for popup windows
12230 - Added SetTopmost handling
12232 2004-11-08 13:55 pbartok
12235 - Added argument to SetTopmost method
12236 - Fixed broken ClientToScreen function
12238 2004-11-08 13:53 pbartok
12240 * XplatUIStructs.cs:
12241 - Added missing WS_EX styles
12243 2004-11-08 13:53 pbartok
12245 * XplatUI.cs, XplatUIDriver.cs:
12246 - Added argument to SetTopmost
12248 2004-11-08 13:52 pbartok
12251 - Added XSetWindowAttributes structure
12252 - Improved XWindowAttributes structure
12253 - Added SetWindowValuemask enum
12254 - Added window creation arguments enum
12255 - Added gravity enum
12256 - Added Motif hints structure
12257 - Added various Motif flags and enums
12258 - Added PropertyMode enum for property functions
12260 2004-11-08 13:50 pbartok
12263 - Fixed arguments for updated SetTopmost method
12265 2004-11-08 13:49 pbartok
12268 - Fixed arguments for updated SetTopmost function
12269 - Fixed usage of PointToClient
12271 2004-11-08 13:44 pbartok
12274 - Added Clipping of children and siblings
12276 2004-11-08 13:41 pbartok
12279 - Removed SetMenuBarWindow call. We do this in Form.cs
12281 2004-11-08 13:40 jackson
12283 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
12284 scrolling jimmi in the correct location with bottom aligned tabs
12286 2004-11-08 13:36 pbartok
12288 * ContainerControl.cs:
12289 - Implemented BindingContext
12290 - Implemented ParentForm
12292 2004-11-08 12:46 jackson
12294 * TabControl.cs: Put bottom rendered tabs in the right location
12296 2004-11-08 07:15 jordi
12298 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
12301 2004-11-05 17:30 jackson
12303 * TabControl.cs: When selected tabs are expanded make sure they
12304 don't go beyond the edges of the tab control
12306 2004-11-05 14:57 jackson
12308 * TabControl.cs: Reset show_slider so if the control is resized to
12309 a size where it is no longer needed it's not displayed anymore
12311 2004-11-05 13:16 jackson
12313 * TabControl.cs: Make tab pages non visible when added to the
12316 2004-11-05 12:42 jackson
12318 * TabControl.cs: Implement SizeMode.FillToRight
12320 2004-11-05 12:16 jackson
12322 * Control.cs: Do not call CreateHandle if the handle is already
12325 2004-11-05 11:46 jackson
12327 * TabControl.cs: Remove superflous call to CalcTabRows
12329 2004-11-05 09:07 jackson
12331 * XplatUIX11.cs: Update for Mono.Posix changes
12333 2004-11-05 07:00 ravindra
12335 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
12338 2004-11-04 22:47 jba
12340 * ThemeWin32Classic.cs:
12341 - Fix Button rendering for FlatStyle = Flat or Popup
12342 - Fix RadioButton and CheckBox rendering when Appearance = Button
12343 (normal and flatstyle).
12344 - Correct outer rectangle color when drawing focus rectangle
12345 - Adjust button bounds to be 1 px smaller when focused
12346 - Make button not draw sunken 3d border when pushed (windows compat)
12347 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
12348 - Offset the text in RadioButton and Checkbox when being rendered as
12350 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
12352 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
12353 - Fixed disabled text rendering for normally rendered radiobuttons
12355 2004-11-04 10:26 jackson
12357 * TabControl.cs: Recalculate tab rows when resizing
12359 2004-11-04 07:47 jordi
12361 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
12362 collection completion, drawing issues, missing features
12364 2004-11-04 05:03 ravindra
12367 - We need to recalculate the Thumb area when
12368 LargeChange/maximum/minimum values are changed.
12369 - We set the 'pos' in UpdatePos() method to minimum, if it's less
12370 than minimum. This is required to handle the case if large_change is
12371 more than max, and use LargeChange property instead of large_change
12373 - We return max+1 when large_change is more than max, like MS does.
12375 2004-11-04 04:29 ravindra
12377 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
12378 - Changed default value signatures (prefixed all with ListView).
12379 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
12381 - Fixed calculations for ListViewItem and implemented Clone()
12384 2004-11-04 04:26 ravindra
12386 * Theme.cs, ThemeWin32Classic.cs:
12387 - Changed default ListView values signatures (prefixed all with
12389 - Fixed default size values for VScrollBar and HScrollBar.
12390 - Fixed DrawListViewItem method.
12392 2004-11-04 04:05 ravindra
12394 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
12396 2004-11-04 04:04 ravindra
12398 * ImageList.cs: Implemented the missing overload for Draw method.
12400 2004-11-03 19:29 jackson
12402 * TabControl.cs: Handle dropping rows on selection properly
12404 2004-11-03 11:59 jackson
12406 * TabControl.cs: remove debug code
12408 2004-11-03 11:52 jackson
12410 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
12411 the scrolly widgerywoo
12413 2004-11-02 13:52 jackson
12415 * TabControl.cs: Resize the tab pages and tabs when the tab control
12418 2004-11-02 13:40 jackson
12420 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
12421 selected tab to the bottom
12423 2004-11-02 13:39 jackson
12425 * TabPage.cs: Store the tab pages row
12427 2004-11-02 12:33 jordi
12429 * MenuItem.cs: fixes handle creation
12431 2004-11-02 11:42 jackson
12433 * TabControl.cs: signature fix
12435 2004-11-02 08:56 jackson
12437 * TabControl.cs: Calculate whether the tab is on an edge properly.
12438 Remove top secret debugging code
12440 2004-11-01 19:57 jackson
12442 * TabControl.cs: Add click handling, and proper sizing
12444 2004-11-01 19:47 jackson
12446 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
12449 2004-11-01 19:39 jackson
12451 * TabPage.cs: add internal property to store the bounds of a tab
12454 2004-10-30 04:23 ravindra
12456 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
12459 2004-10-30 04:21 ravindra
12461 * ListView.cs, ListViewItem.cs: Added support for scrolling and
12462 fixed calculations.
12464 2004-10-30 03:06 pbartok
12467 - Removed extension of DllImported libs
12469 2004-10-29 09:55 jordi
12471 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
12472 navigation, itemcollection completion, menu fixes
12474 2004-10-27 22:58 pbartok
12477 - Now throws a nice error message when no X display could be opened
12479 2004-10-26 13:51 jordi
12481 * ListView.cs: removes warning
12483 2004-10-26 03:55 ravindra
12485 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
12486 ThemeWin32Classic.cs: Some formatting for my last checkins.
12488 2004-10-26 03:36 ravindra
12490 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
12491 control and default values.
12493 2004-10-26 03:35 ravindra
12495 * Theme.cs: Added some default values for ListView control.
12497 2004-10-26 03:33 ravindra
12499 * ToolBar.cs: ToolBar should use the user specified button size, if
12500 there is any. Added a size_specified flag for the same.
12502 2004-10-26 03:33 ravindra
12504 * ColumnHeader.cs: Added some internal members and calculations for
12507 2004-10-26 03:32 ravindra
12509 * ListViewItem.cs: Calculations for ListViewItem.
12511 2004-10-26 03:31 ravindra
12513 * ListView.cs: Added some internal members and calculations for
12516 2004-10-22 13:31 jordi
12518 * MenuAPI.cs: speedup menus drawing
12520 2004-10-22 13:16 jackson
12522 * XplatUIX11.cs: Make sure to update exposed regions when adding an
12525 2004-10-22 11:49 jackson
12529 2004-10-22 11:41 jackson
12531 * Control.cs: Check to see if the window should have its background
12532 repainted by X when drawing.
12534 2004-10-22 11:31 jackson
12536 * XplatUIX11.cs: When invalidating areas only use XClearArea if
12537 clear is true, this way we do not get flicker from X repainting the
12540 2004-10-22 11:28 jackson
12542 * XEventQueue.cs: Queue properly
12544 2004-10-21 09:38 jackson
12546 * XEventQueue.cs: Fix access modifier
12548 2004-10-21 09:36 jackson
12550 * XEventQueue.cs: Don't loose messages
12552 2004-10-21 09:22 jackson
12554 * XEventQueue.cs: Don't loose messages
12556 2004-10-20 04:15 jordi
12558 * BootMode.cs: enum need it by SystemInfo
12560 2004-10-19 21:58 pbartok
12563 - Small sanity check
12565 2004-10-19 21:56 pbartok
12568 - Added private FormParentWindow class which acts as the container
12569 for our form and as the non-client area where menus are drawn
12570 - Added/Moved required tie-ins to Jordi's menus
12571 - Fixed/Implemented the FormStartPosition functionality
12573 2004-10-19 21:52 pbartok
12576 - Removed unneeded locals
12577 - Added code to all size and location properties to understand and
12578 deal with the parent container of Form
12580 2004-10-19 21:33 pbartok
12583 - Fixed to deal with new Form subclasses for menus
12585 2004-10-19 17:48 jackson
12587 * XEventQueue.cs: commit correct version of file
12589 2004-10-19 16:50 jackson
12591 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
12593 2004-10-19 16:15 jordi
12595 * MenuAPI.cs: MenuBarCalcSize returns the height
12597 2004-10-19 08:31 pbartok
12600 - Added missing call to PreProcessMessage before calling OnXXXKey
12603 2004-10-19 00:04 ravindra
12605 * ToolTip.cs: Fixed constructor.
12607 2004-10-18 09:31 jordi
12609 * MenuAPI.cs: menuitems in menubars do not have shortcuts
12611 2004-10-18 09:26 jordi
12613 * MenuItem.cs: fixes MenuItem class signature
12615 2004-10-18 08:56 jordi
12617 * MenuAPI.cs: prevents windows from showing in the taskbar
12619 2004-10-18 00:28 ravindra
12621 * ToolTip.cs: Suppressed a warning message.
12623 2004-10-18 00:27 ravindra
12625 * Control.cs: Default value of visible property must be true.
12627 2004-10-17 23:19 pbartok
12630 - Complete implementation
12632 2004-10-17 23:19 pbartok
12635 - Added EnableWindow method
12636 - Added SetModal stub
12637 - Added generation of WM_ACTIVATE message (still needs testing)
12638 - Added SetTopMost stub
12639 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
12641 2004-10-17 23:17 pbartok
12644 - Removed VirtualKeys to XplatUIStructs
12645 - Implemented SetTopMost method
12646 - Implemented EnableWindow method
12647 - Bugfix in ScreenToClient()
12648 - Bugfixes in ClientToScreen()
12650 2004-10-17 22:51 pbartok
12652 * XplatUIStructs.cs:
12653 - Added WS_EX styles to WindowStyles enumeration
12655 2004-10-17 22:50 pbartok
12657 * XplatUI.cs, XplatUIDriver.cs:
12658 - Added method for enabling/disabling windows
12659 - Added method for setting window modality
12660 - Added method for setting topmost window
12662 2004-10-17 22:49 pbartok
12664 * ThemeWin32Classic.cs:
12665 - Added ToolTip drawing code
12667 2004-10-17 22:49 pbartok
12670 - Added ToolTip abstracts
12672 2004-10-17 22:47 pbartok
12675 - Fixed Form.ControlCollection to handle owner relations
12676 - Added Owner/OwnedForms handling
12677 - Implemented Z-Ordering for owned forms
12678 - Removed unneeded private overload of ShowDialog
12679 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
12681 - Fixed Close(), had wrong default
12682 - Added firing of OnLoad event
12683 - Added some commented out debug code for Ownership handling
12685 2004-10-17 22:16 pbartok
12688 - Fixed/implemented flat list of controls
12690 2004-10-17 22:14 pbartok
12693 - Added code to simulate modal dialogs on Win32
12695 2004-10-17 16:11 jordi
12697 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
12700 2004-10-17 13:39 jordi
12702 * MenuAPI.cs: menu drawing fixes
12704 2004-10-15 09:10 ravindra
12706 * StructFormat.cs: General Enum.
12708 2004-10-15 09:09 ravindra
12710 * SizeGripStyle.cs: Enum for Form.
12712 2004-10-15 09:08 ravindra
12714 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
12715 in Theme for ListView.
12717 2004-10-15 09:06 ravindra
12719 * ColumnHeader.cs: Flushing some formatting changes.
12721 2004-10-15 09:05 ravindra
12723 * ListViewItem.cs: Implemented GetBounds method and fixed coding
12726 2004-10-15 09:03 ravindra
12728 * ListView.cs: Implemented Paint method and fixed coding style.
12730 2004-10-15 07:34 jordi
12732 * MenuAPI.cs: fix for X11
12734 2004-10-15 07:32 ravindra
12736 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
12737 - Renamed Paint() method to Draw() for clarity. Also, moved
12738 DrawImage() to OnPaint().
12740 2004-10-15 07:25 ravindra
12742 * CheckBox.cs, RadioButton.cs:
12743 - Removed Redraw (), we get it from ButtonBase.
12744 - Implemented Paint (), to do class specific painting.
12746 2004-10-15 07:16 ravindra
12749 - Redraw () is not virtual now.
12750 - Added an internal virtual method Paint (), so that
12751 derived classes can do their painting on their own.
12752 - Modified OnPaint () to call Paint ().
12754 2004-10-15 06:43 jordi
12756 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
12757 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
12759 2004-10-15 00:30 ravindra
12762 - MessageBox on windows does not have min/max buttons.
12763 This change in CreateParams fixes this on Windows. We
12764 still need to implement this windowstyle behavior in
12767 2004-10-14 05:14 ravindra
12770 - Changed Redraw () to do a Refresh () always.
12771 - Fixed the MouseMove event handling when mouse is pressed,
12772 ie drag event handling.
12773 - Replaced the usage of ToolBarButton.Pressed property to
12774 ToolBarButton.pressed internal variable.
12776 2004-10-14 05:10 ravindra
12778 * ToolBarButton.cs:
12779 - Added an internal member 'inside' to handle mouse move
12780 with mouse pressed ie mouse drag event.
12781 - Changed 'Pressed' property to return true only when
12782 'inside' and 'pressed' are both true.
12783 - Some coding style love.
12785 2004-10-14 00:17 ravindra
12787 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
12790 2004-10-14 00:15 ravindra
12792 * ButtonBase.cs: Redraw () related improvements.
12794 2004-10-14 00:14 ravindra
12796 * MessageBox.cs: Moved InitFormSize () out of Paint method and
12797 removed unnecessary calls to Button.Show () method.
12799 2004-10-13 17:50 pbartok
12803 - Removed destroying of window until we solve the problem of X
12804 destroying the window before us on shutdown
12806 2004-10-13 16:32 pbartok
12809 - Now Redraws on MouseUp for FlatStyle Flat and Popup
12811 2004-10-13 14:18 pbartok
12814 - Added code to destroy the X window
12816 2004-10-13 14:18 pbartok
12819 - Added code to destroy a window
12821 2004-10-13 14:12 pbartok
12824 - Added the Redraw on Resize that got dropped in the last rev
12826 2004-10-13 09:06 pbartok
12828 * ThemeWin32Classic.cs:
12829 - Path from John BouAntoun:
12830 * Fix check rendering (centre correctly for normal style, offset
12831 correctly for FlatStyle).
12832 * Fix border color usage (use backcolor) for FlatStyle.Popup
12833 * Use checkbox.Capture instead of checkbox.is_pressed when
12834 rendering flatstyle states.
12836 2004-10-12 21:48 pbartok
12838 * ThemeWin32Classic.cs:
12839 - Removed all occurences of SystemColors and replaced them with the
12840 matching theme color
12842 2004-10-12 21:41 pbartok
12844 * ThemeWin32Classic.cs:
12845 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12846 him using the function for flatstyle drawing
12847 - Changed functions to use the new version of CPDrawBorder3D
12849 2004-10-12 21:15 pbartok
12852 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12853 match MS documentation. They need to return defined colors if the
12854 passed color matches the configured control color. Thanks to John
12855 BouAntoun for pointing this out.
12857 2004-10-12 20:57 pbartok
12860 - Fix from John BouAntoun: Raise ForeColorChanged event when text
12863 2004-10-12 20:46 pbartok
12866 - Fix from John BouAntoun: Now properly sets the Appearance property
12868 2004-10-12 20:45 pbartok
12870 * ThemeWin32Classic.cs:
12871 - Fixes from John BouAntoun: now handles forecolors and backcolors
12872 for flatstyle rendered controls much better; It also fixes normal
12873 checkbox rendering when pushed or disabled.
12875 2004-10-08 02:50 jordi
12877 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
12880 2004-10-07 08:56 jordi
12882 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12884 2004-10-06 03:59 jordi
12886 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12887 XplatUIWin32.cs: removes warnings from compilation
12889 2004-10-05 12:23 jackson
12891 * RadioButton.cs: Fix ctor
12893 2004-10-05 11:10 pbartok
12896 - Partial implementation by Benjamin Dasnois
12898 2004-10-05 10:15 jackson
12900 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12903 2004-10-05 03:07 ravindra
12906 - Removed a private method, Draw ().
12907 - Fixed the ButtonDropDown event handling.
12908 - Fixed MouseMove event handling.
12910 2004-10-05 03:04 ravindra
12912 * ThemeWin32Classic.cs:
12913 - Added DrawListView method and ListViewDefaultSize property.
12914 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12915 - Changed DOS style CRLF to Unix format (dos2unix).
12917 2004-10-05 03:03 ravindra
12920 - Added DrawListView method and ListViewDefaultSize property.
12922 2004-10-05 02:42 ravindra
12924 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12925 clicks on DropDown arrow.
12927 2004-10-04 22:56 jackson
12929 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12930 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12931 Control handle the buffers, derived classes should not have to
12932 CreateBuffers themselves.
12934 2004-10-04 21:20 jackson
12936 * StatusBar.cs: The control handles resizing the buffers now.
12938 2004-10-04 21:18 jackson
12940 * Control.cs: When resizing the buffers should be invalidated. This
12941 should be handled in Control not in derived classes.
12943 2004-10-04 14:45 jackson
12947 2004-10-04 02:14 pbartok
12949 * LeftRightAlignment.cs:
12952 2004-10-04 01:09 jordi
12954 * ThemeWin32Classic.cs: fixes right button position causing right
12955 button not showing on horizontal scrollbars
12957 2004-10-02 13:12 pbartok
12960 - Simplified the Invalidate method by using an X call instead of
12961 generating the expose ourselves
12962 - Added an expose when the window background is changed
12963 - Implemented ClientToScreen method
12965 2004-10-02 13:08 pbartok
12968 - Added Win32EnableWindow method (test for implementing modal
12970 - Added ClientToScreen method and imports
12972 2004-10-02 13:07 pbartok
12974 * XplatUI.cs, XplatUIDriver.cs:
12975 - Added ClientToScreen coordinate translation method
12977 2004-10-02 13:06 pbartok
12979 * KeyPressEventArgs.cs:
12980 - Fixed access level for constructor
12982 2004-10-02 13:06 pbartok
12985 - Changed access level for the window_collection hash table
12987 2004-10-02 13:05 pbartok
12990 - Added KeyPreview property
12991 - Added Menu property (still incomplete, pending Jordi's menu work)
12992 - Implemented ProcessCmdKey
12993 - Implemented ProcessDialogKey
12994 - Implemented ProcessKeyPreview
12996 2004-10-02 13:02 pbartok
12999 - Added private method to get the Control object from the window
13001 - Implemented ContextMenu property
13002 - Implemented PointToScreen
13003 - Implemented PreProcessMessage
13004 - Implemented IsInputChar
13005 - Implemented IsInputKey
13006 - Implemented ProcessCmdKey
13007 - Completed ProcessKeyEventArgs
13008 - Fixed message loop to call the proper chain of functions on key
13010 - Implemented ProcessDialogChar
13011 - Implemented ProcessDialogKey
13012 - Implemented ProcessKeyMessage
13013 - Implemented ProcessKeyPreview
13014 - Added RaiseDragEvent stub (MS internal method)
13015 - Added RaiseKeyEvent stub (MS internal method)
13016 - Added RaiseMouseEvent stub (MS Internal method)
13017 - Added RaisePaintEvent stub (MS Internal method)
13018 - Added ResetMouseEventArgs stub (MS Internal method)
13019 - Implemented RtlTranslateAlignment
13020 - Implemented RtlTranslateContent
13021 - Implemented RtlTranslateHorizontal
13022 - Implemented RtlTranslateLeftRight
13023 - Added generation of KeyPress event
13025 2004-10-02 05:57 ravindra
13027 * ListViewItem.cs: Added attributes.
13029 2004-10-02 05:32 ravindra
13031 * ListView.cs: Added attributes.
13033 2004-10-01 11:53 jackson
13035 * Form.cs: Implement the Close method so work on MessageBox can
13038 2004-09-30 14:06 pbartok
13043 2004-09-30 11:34 jackson
13045 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
13047 2004-09-30 07:26 ravindra
13049 * ListViewItemConverter.cs: Converter for ListViewItem.
13051 2004-09-30 07:26 ravindra
13053 * SortOrder.cs: Enum for ListView control.
13055 2004-09-30 07:25 ravindra
13057 * ColumnHeader.cs: Supporting class for ListView control.
13059 2004-09-30 07:24 ravindra
13061 * ListView.cs, ListViewItem.cs: Initial implementation.
13063 2004-09-30 07:20 ravindra
13065 * ItemActivation.cs: Enum for ListView Control.
13067 2004-09-29 20:29 pbartok
13070 - Added lookup of pixel value for background color; tries to get a
13071 color 'close' to the requested color, it avoids having to create a
13072 colormap. Depending on the display this could mean the used color
13073 is slightly off the desired color. Might have to change it to a more
13074 resource intensive colormap approach, but it will work as a
13075 workaround to avoid red screens.
13077 2004-09-29 14:27 jackson
13079 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
13081 2004-09-28 12:44 pbartok
13083 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
13084 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
13085 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
13086 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
13087 TrackBar.cs, VScrollBar.cs:
13088 - Streamlined Theme interfaces:
13089 * Each DrawXXX method for a control now is passed the object for
13090 the control to be drawn in order to allow accessing any state the
13091 theme might require
13093 * ControlPaint methods for the theme now have a CP prefix to avoid
13094 name clashes with the Draw methods for controls
13096 * Every control now retrieves it's DefaultSize from the current
13099 2004-09-28 12:17 jackson
13101 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
13104 2004-09-24 14:57 jackson
13106 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
13107 Gives us a nice little performance boost.
13109 2004-09-24 12:02 jackson
13111 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
13112 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
13113 Control and supporting classes. Initial checkin
13115 2004-09-23 13:08 jackson
13117 * Form.cs: Temp build fixage
13119 2004-09-23 01:39 ravindra
13121 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
13122 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
13123 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
13124 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
13125 EventHandlers needed by ListView Control.
13127 2004-09-22 14:12 pbartok
13129 * ScrollableControl.cs:
13130 - Implemented DockPadding property
13131 - Implemented AutoScroll property
13132 - Implemented AutoScrollMargin property
13133 - Implemented AutoScrollMinSize property
13134 - Implemented AutoScrollPosition property
13135 - Implemented DisplayRectangle property (still incomplete)
13136 - Implemented CreateParams property
13137 - Implemented HScroll property
13138 - Implemented VScroll property
13139 - Implemented OnVisibleChanged property
13141 2004-09-22 14:09 pbartok
13144 - Added Form.ControllCollection class
13145 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
13146 RemoveOwnedForm (still incomplete, missing on-top and common
13147 minimize/maximize behaviour)
13148 - Added StartPosition property (still incomplete, does not use when
13150 - Added ShowDialog() methods (still incomplete, missing forcing the
13153 2004-09-22 14:05 pbartok
13156 - Added message loop for modal dialogs
13158 2004-09-22 14:02 pbartok
13161 - Fixed wrong types for events
13163 2004-09-22 14:00 pbartok
13165 * Shortcut.cs, FormWindowState.cs:
13166 - Fixed wrong values
13168 2004-09-22 12:01 jackson
13170 * Control.cs: Text is never null
13172 2004-09-20 22:14 pbartok
13175 - Fixed accessibility level for Idle handler
13177 2004-09-20 18:54 jackson
13179 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13180 XplatUIX11.cs: New message loop that uses poll so we don't get a
13183 2004-09-17 10:43 pbartok
13186 - Fixed behaviour of arrow buttons. Now properly behaves like
13187 Buttons (and like Microsoft's scrollbar arrow buttons)
13189 2004-09-17 10:14 pbartok
13192 - Added missing release of keyboard/mouse capture
13194 2004-09-17 06:18 jordi
13196 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
13197 Theme.cs: Very early menu support
13199 2004-09-16 17:45 pbartok
13202 - Fixed sending a window to the front
13203 - Added overload for SetWindowPos to avoid casting
13205 2004-09-16 17:44 pbartok
13208 - Added SendToBack and BringToFront methods
13210 2004-09-16 07:00 ravindra
13212 * Copyright: Added Novell URL.
13214 2004-09-16 07:00 ravindra
13216 * ToolBar.cs: Invalidate should be done before redrawing.
13218 2004-09-15 21:19 ravindra
13220 * ColumnHeaderStyle.cs: Enum for ListView Control.
13222 2004-09-15 21:18 ravindra
13224 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
13227 2004-09-13 18:26 jackson
13229 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
13232 2004-09-13 18:13 jackson
13234 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
13235 a second thread and post messages into the main threads message
13236 queue. This makes timing much more consistent. Both win2K and XP
13237 have a minimum timer value of 15 milliseconds, so we now do this
13240 2004-09-13 15:18 pbartok
13242 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13244 - Added Z-Ordering methods
13246 2004-09-13 10:56 pbartok
13249 - Fixed #region names
13250 - Moved properties and methods into their proper #regions
13252 2004-09-13 10:51 pbartok
13255 - Added Accept and CancelButton properties
13256 - Added ProcessDialogKey() method
13258 2004-09-13 08:18 pbartok
13260 * IWindowTarget.cs:
13263 2004-09-10 21:50 pbartok
13266 - Added DoDragDrop() [incomplete]
13267 - Properly implemented 'Visible' handling
13268 - Added SetVisibleCore()
13269 - Implemented FindChildAtPoint()
13270 - Implemented GetContainerControl()
13271 - Implemented Hide()
13273 2004-09-10 19:28 pbartok
13276 - Moved methods into their appropriate #regions
13277 - Reordered methods within regions alphabetically
13279 2004-09-10 18:57 pbartok
13281 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13282 - Added method to retrieve text from window
13284 2004-09-10 18:56 pbartok
13287 - Moved some internal functions into the internal region
13288 - Implemented FontHeight
13289 - Implemented RenderRightToLeft
13290 - Implemented ResizeRedraw
13291 - Implemented ShowFocusCues
13292 - Implemented ShowKeyboardCues
13293 - Implemented FromChildHandle
13294 - Implemented FromHandle
13295 - Implemented IsMnemonic
13296 - Implemented ReflectMessage
13297 - All public and protected Static Methods are now complete
13299 2004-09-10 16:54 pbartok
13302 - Implemented remaining missing public instance properties
13303 - Alphabetized some out of order properties
13305 2004-09-10 05:51 ravindra
13307 * PictureBox.cs: Added a check for null image.
13309 2004-09-10 00:59 jordi
13311 * GroupBox.cs: remove cvs tag
13313 2004-09-09 05:25 ravindra
13315 * ToolBar.cs: Make redraw accessible from ToolBarButton.
13317 2004-09-09 05:23 ravindra
13319 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
13322 2004-09-09 02:28 pbartok
13324 * ThemeWin32Classic.cs:
13325 - Improve disabled string look
13327 2004-09-09 01:15 jordi
13329 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
13332 2004-09-08 23:56 ravindra
13334 * ItemBoundsPortion.cs: It's enum, not a class!
13336 2004-09-08 23:47 ravindra
13338 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
13341 2004-09-08 21:13 ravindra
13343 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
13346 2004-09-08 21:03 ravindra
13348 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
13351 2004-09-08 21:01 ravindra
13353 * ScrollableControl.cs: Removed unreachable code.
13355 2004-09-08 06:45 jordi
13357 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
13359 2004-09-08 01:00 jackson
13361 * XplatUIX11.cs: Only run the timers when updating the message
13362 queue. This effectively gives X messages a higher priority then
13363 timer messages. Timers still need love though
13365 2004-09-07 14:01 jackson
13367 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
13368 this for us and the handle is no longer valid.
13370 2004-09-07 13:59 jackson
13372 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
13373 loop that manages to not crash. TODO: Add poll and cleanup timers
13375 2004-09-07 11:12 jordi
13377 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
13379 2004-09-07 03:40 jordi
13381 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
13382 fixes, methods, multiple links
13384 2004-09-06 06:55 jordi
13386 * Control.cs: Caches ClientRectangle rectangle value
13388 2004-09-05 02:03 jordi
13390 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
13393 2004-09-04 11:10 jordi
13395 * Label.cs: Refresh when font changed
13397 2004-09-02 16:24 pbartok
13400 - Added sanity check to creation of double buffer bitmap
13402 2004-09-02 16:24 pbartok
13405 - Fixed selection of text color
13406 - Fixed handling of resize event; now properly recreates double
13408 - Added missing assignment of TextAlignment
13409 - Added proper default for TextAlignment
13411 2004-09-02 14:26 pbartok
13414 - Added missing RadioButton.RadioButtonAccessibleObject class
13416 2004-09-02 14:26 pbartok
13419 - Added missing Control.ControlAccessibleObject class
13420 - Started to implement Select()ion mechanisms, still very incomplete
13422 2004-09-02 14:25 pbartok
13424 * AccessibleObject.cs:
13425 - Added missing methods
13427 2004-09-02 14:23 pbartok
13429 * AccessibleNavigation.cs, AccessibleSelection.cs:
13432 2004-09-02 10:32 jordi
13434 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
13435 pool for pens, brushes, and hatchbruses
13437 2004-09-01 15:30 jackson
13439 * StatusBar.cs: Fix typo
13441 2004-09-01 14:44 pbartok
13446 2004-09-01 14:39 pbartok
13448 * Button.cs, RadioButton.cs:
13449 - Functional initial check-in
13451 2004-09-01 14:01 pbartok
13454 - Added missing default
13455 - Added missing region mark
13457 2004-09-01 09:10 jordi
13459 * Label.cs: fixes method signatures, new methods, events, fixes
13462 2004-09-01 07:19 jordi
13464 * Control.cs: Init string variables with an empty object
13466 2004-09-01 04:20 jordi
13468 * Control.cs: fires OnFontChanged event
13470 2004-08-31 20:07 pbartok
13473 - Enabled display of strings
13475 2004-08-31 20:05 pbartok
13478 - Added (partial) implementation of DialogResult; rest needs to be
13479 implemented when the modal loop code is done
13481 2004-08-31 19:55 pbartok
13484 - Fixed to match the removal of the needs_redraw concept
13486 2004-08-31 19:55 pbartok
13489 - Removed the rather odd split between 'needs redraw' and redrawing
13490 - Now handles the events that require regeneration (ambient
13491 properties and size)
13493 2004-08-31 19:41 pbartok
13496 - Added firing of BackColorChanged event
13497 - Added TopLevelControl property
13498 - Fixed handling of WM_ERASEBKGRND message
13500 2004-08-31 12:49 pbartok
13506 2004-08-31 12:48 pbartok
13509 - Finished (famous last words)
13511 2004-08-31 04:35 jordi
13513 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
13514 scrolling bugs, adds new methods
13516 2004-08-30 14:42 pbartok
13519 - Implemented CheckBox drawing code
13521 2004-08-30 14:42 pbartok
13524 - Made Redraw() and CheckRedraw() virtual
13525 - Improved mouse up/down/move logic to properly track buttons
13527 2004-08-30 09:44 pbartok
13530 - Updated to fix broken build. Not complete yet.
13532 2004-08-30 09:28 pbartok
13537 2004-08-30 09:17 pbartok
13542 2004-08-27 16:12 ravindra
13544 * ToolBarButton.cs: Added TypeConverter attribute.
13546 2004-08-27 16:07 ravindra
13548 * ImageIndexConverter.cs: Implemented.
13550 2004-08-27 14:17 pbartok
13553 - Removed unneeded stack vars
13554 - First attempt to fix sizing issues when layout is suspended
13556 2004-08-25 15:35 jordi
13558 * ScrollBar.cs: more fixes to scrollbar
13560 2004-08-25 14:04 ravindra
13562 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
13563 Added the missing divider code and grip for ToolBar Control.
13565 2004-08-25 13:20 pbartok
13568 - Control now properly passes the ambient background color to child
13571 2004-08-25 13:20 jordi
13573 * ScrollBar.cs: small bug fix regarding bar position
13575 2004-08-25 12:33 pbartok
13578 - Now only calls SetTimer or KillTimer if the enabled state has
13581 2004-08-25 12:33 pbartok
13584 - Fixed timer handling, now seems to work
13585 - Improved error message for window creation
13587 2004-08-25 12:32 pbartok
13590 - Fixed generation of MouseUp message
13592 2004-08-25 12:29 jordi
13594 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
13595 and fixes for progressbar
13597 2004-08-24 18:43 ravindra
13599 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
13600 in ToolBar control.
13602 2004-08-24 17:15 pbartok
13606 - Added missing events
13609 2004-08-24 17:14 pbartok
13611 * StatusBar.cs, PictureBox.cs:
13612 - Now uses Control's CreateParams
13614 2004-08-24 16:36 pbartok
13617 - Fixed background color handling
13618 - Fixed sending of enter/leave events on a grab
13620 2004-08-24 16:35 pbartok
13623 - Refined definitions for CrossingEvent
13625 2004-08-24 12:37 jordi
13627 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
13628 formmating, methods signature, and adds missing events
13630 2004-08-24 12:24 jordi
13632 * Control.cs: fire OnEnabledChanged event
13634 2004-08-24 11:17 pbartok
13637 - Implemented SetTimer() and KillTimer()
13639 2004-08-24 11:16 pbartok
13642 - Now uses Remove instead of Add to kill the timer
13644 2004-08-24 10:16 jackson
13646 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
13647 picture boxes in the theme now. Draw picture box borders and obey
13650 2004-08-24 05:49 jackson
13652 * Timer.cs: Remove top secret debugging code
13654 2004-08-24 05:34 jackson
13656 * PictureBox.cs: Temp hack to make picture boxes draw their full
13659 2004-08-24 05:29 jackson
13661 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13662 XplatUIX11.cs: Move timers to the driver level. On X they are
13663 queued by the driver and checked on idle.
13665 2004-08-24 01:07 jackson
13667 * XplatUIX11.cs: Use a queue for async messages instead of passing
13668 them as ClientMessages since that was totally broken. Also simply
13669 check for events and return an idle message if none are found. This
13670 gives us an idle handler, and prevents deadlocking when no messages
13673 2004-08-23 18:19 ravindra
13675 * XplatUIWin32.cs: Removed the unwanted destructor.
13677 2004-08-23 17:27 pbartok
13680 - Finishing touches. Works now, just needs some optimizations.
13682 2004-08-23 16:53 jordi
13684 * ScrollBar.cs: small fix
13686 2004-08-23 16:45 pbartok
13689 - Removed debug output
13692 2004-08-23 16:43 jordi
13694 * ScrollBar.cs: [no log message]
13696 2004-08-23 16:10 pbartok
13699 - Fixed handling of WM_CLOSE message
13700 - Removed debug output
13702 2004-08-23 16:09 pbartok
13705 - Added handling of Idle event
13706 - Added handling of form closing
13707 - Fixed reporting of MessageLoop property
13708 - Removed some unneeded code, should provide a bit of a speedup
13710 2004-08-23 15:22 pbartok
13713 - Added InitLayout() method
13714 - Added code to properly perform layout when Anchor or Dock property
13716 - Changed 'interpretation' of ResumeLayout. MS seems to have a
13717 LAMESPEC, tried to do it in a way that makes sense
13719 2004-08-23 14:10 jordi
13721 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
13722 properties and methods
13724 2004-08-23 13:55 pbartok
13727 - Properly fixed Jordi's last fix
13728 - Now uses Cursor's Position property instead of calling XplatUI
13731 2004-08-23 13:44 jordi
13733 * PaintEventHandler.cs: Adding missing attribute
13735 2004-08-23 13:39 pbartok
13738 - Implemented Position property
13740 2004-08-23 13:39 pbartok
13742 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13743 - Added method to move mouse cursor
13745 2004-08-23 13:39 pbartok
13748 - Fixed setting of background color
13749 - Added method to move mouse cursor
13751 2004-08-23 13:16 jordi
13753 * Control.cs: avoids null exception
13755 2004-08-22 17:46 jackson
13757 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
13760 2004-08-22 17:40 jackson
13762 * XplatUIX11.cs: Add some missing locks
13764 2004-08-22 15:10 pbartok
13766 * Control.cs, Form.cs:
13767 - Removed OverlappedWindow style from Control, instead it's default
13769 - Made form windows OverlappedWindow by default
13771 2004-08-22 13:34 jackson
13773 * ScrollBar.cs: Update the position through the Value property so
13774 the OnValueChanged event is raised.
13776 2004-08-22 12:04 pbartok
13779 - Added Cursor.cs and UserControl.cs
13781 2004-08-22 12:03 pbartok
13784 - Started implementation, not usable yet
13786 2004-08-22 12:00 pbartok
13789 - Implemented UserControl (complete)
13791 2004-08-21 19:20 ravindra
13793 * ToolBar.cs: Correcting the formatting mess of VS.NET.
13795 2004-08-21 18:49 ravindra
13797 * ToolBar.cs: Probably this completes the missing attributes in
13800 2004-08-21 18:03 ravindra
13802 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
13803 Fixed toolbar control signatures.
13805 2004-08-21 16:32 pbartok
13810 2004-08-21 16:30 pbartok
13815 2004-08-21 16:19 pbartok
13817 * Control.cs, Label.cs:
13820 2004-08-21 15:57 pbartok
13823 - Added loads of debug output for development
13824 - Fixed typo in method name
13826 2004-08-21 15:52 pbartok
13828 * ToolBarButtonClickEventArgs.cs:
13829 - Added missing base class
13831 2004-08-21 14:53 pbartok
13834 - Updated to match new GrabWindow signature
13836 2004-08-21 14:51 pbartok
13838 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13839 - Added method to get default display size
13841 2004-08-21 14:23 pbartok
13843 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13844 - Added method to query current grab state
13845 - Added argument to allow confining a grab to a window
13847 2004-08-21 14:22 pbartok
13850 - Added [Flags] attribute so that modifiers can be used in bitwise
13853 2004-08-21 14:21 pbartok
13855 * TrackBar.cs, ScrollBar.cs:
13856 - Replaced direct XplatUI calls with their Control counterpart
13858 2004-08-21 13:32 pbartok
13861 - Implemented Created property
13863 2004-08-21 13:28 pbartok
13866 - Implemented ContainsFocus
13868 2004-08-21 13:26 pbartok
13871 - Implemented CausesValidation
13873 2004-08-21 13:21 pbartok
13876 - Implemented CanFocus
13877 - Implemented CanSelect
13878 - Implemented Capture
13880 2004-08-21 12:35 pbartok
13883 - Fixed bug with Async message handling
13884 - Implemented getting the ModifierKeys
13886 2004-08-21 12:32 jackson
13888 * AsyncMethodResult.cs: Make sure we have the mutex before we
13889 release it. Fixes BeginInvoke on windows
13891 2004-08-21 11:31 pbartok
13893 * XplatUIWin32.cs, XplatUIX11.cs:
13894 - Drivers now return proper mouse state
13896 2004-08-21 10:54 jackson
13898 * Control.cs: Implement EndInvoke
13900 2004-08-21 10:48 jackson
13902 * Timer.cs: Remove unneeded finalizer
13904 2004-08-20 19:52 ravindra
13906 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13907 in mouse event handling in the ToolBar control.
13909 2004-08-20 19:50 ravindra
13911 * ImageList.cs: Changed draw method to use the arguments passed in
13914 2004-08-20 18:58 pbartok
13916 * XplatUIStructs.cs:
13917 - Added private message for async communication
13919 2004-08-20 17:38 ravindra
13921 * Control.cs: Made RightToLeft property virtual and removed a
13924 2004-08-20 14:39 jordi
13926 * ThemeGtk.cs: use style_attach
13928 2004-08-20 14:39 pbartok
13931 - Added jackson's Async code from X11 to Win32
13933 2004-08-20 14:09 pbartok
13936 - Added all new files
13938 2004-08-20 14:09 pbartok
13941 - Added call to set window background color
13943 2004-08-20 14:03 pbartok
13945 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13946 - Added method for setting the window background
13948 2004-08-20 14:02 pbartok
13951 - Added method for setting the background color
13952 - Added handling for erasing the window background
13954 2004-08-20 13:45 jordi
13956 * TrackBar.cs: fixes timer, new properties and methods
13958 2004-08-20 13:34 jackson
13960 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13963 2004-08-20 13:22 jackson
13965 * Timer.cs: Timer Tick events are now handed through Controls Async
13966 mechanism so the callbacks are executed in the same thread as X
13968 2004-08-20 13:19 jackson
13970 * XplatUIDriver.cs: Expose functionality to send async messages
13973 2004-08-20 13:18 jackson
13975 * Control.cs: Implement Begininvoke
13977 2004-08-20 13:14 jackson
13979 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13980 messages through the driver
13982 2004-08-20 13:12 jackson
13984 * XplatUIX11.cs: Lock before all X operations. Also added Async
13985 method functionality through XSendEvent
13987 2004-08-20 13:11 jackson
13989 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13990 This will screw up on 64 bit systems)
13992 2004-08-20 13:10 jackson
13994 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13995 Async messages through X/Win32
13997 2004-08-19 19:39 pbartok
14000 - Updated code to match new HandleData.DeviceContext type
14002 2004-08-19 19:38 pbartok
14005 - Made DeviceContext a generic object to allow usage from various
14007 - Added support for queueing Windows messages
14009 2004-08-19 19:37 pbartok
14012 - Added generation of MouseEnter, MouseLeave and MouseHover events
14013 - Added cleanup on EndPaint
14015 2004-08-19 19:17 pbartok
14018 - Added handling of WM_MOUSEHOVER
14019 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
14022 2004-08-19 18:55 jordi
14024 * ThemeGtk.cs: fixes button order
14026 2004-08-19 18:12 jordi
14028 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
14030 2004-08-19 17:09 pbartok
14033 - Added Right property
14034 - Added RightToLeft property
14036 2004-08-19 16:27 jordi
14038 * ThemeGtk.cs: experimental GTK theme support
14040 2004-08-19 16:26 jordi
14042 * ITheme.cs, Theme.cs: move themes from an interface to a class
14044 2004-08-19 16:25 jordi
14046 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
14049 2004-08-19 16:04 pbartok
14052 - Added colormap basics
14053 - Added a way to re-initialize with a different display handle
14054 - Fixed setting of the window background color
14055 - Added various X11 imports related to colors and colormaps
14057 2004-08-19 15:51 pbartok
14060 - Removed packing hints (Paolo suggested this a while back)
14061 - fixed colormap type
14062 - Added default Atom types
14063 - Added Screen and color structs and enums
14065 2004-08-19 15:39 pbartok
14068 - Added missing Draw() method
14069 - Added missing RecreateHandle event
14071 2004-08-19 15:30 pbartok
14074 - Added handling of WM_CLOSE
14076 2004-08-18 13:16 jordi
14078 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
14081 2004-08-18 09:56 jordi
14083 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
14085 2004-08-17 15:31 ravindra
14087 * SWF.csproj: Updated project.
14089 2004-08-17 15:25 pbartok
14092 - Drawing improvement; don't call UpdateBounds if we are not visible
14093 (or have been minimized)
14095 2004-08-17 15:24 pbartok
14098 - Finished IsVisible
14099 - Added Win32GetWindowPlacement
14101 2004-08-17 15:08 jackson
14103 * Panel.cs: Initial checkin of the Panel
14105 2004-08-17 14:25 pbartok
14108 - Fixed broken handling of default window sizes
14110 2004-08-17 13:29 jackson
14112 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
14113 has a large startup time.
14115 2004-08-17 10:25 jackson
14117 * HandleData.cs: union areas properly
14119 2004-08-17 10:12 jackson
14121 * HandleData.cs: union areas properly
14123 2004-08-16 20:00 ravindra
14125 * ToolBar.cs, ToolBarButton.cs: Added attributes.
14127 2004-08-16 18:48 ravindra
14129 * ToolBar.cs: Added attributes.
14131 2004-08-16 17:17 ravindra
14133 * SWF.csproj: Updated project.
14135 2004-08-16 17:16 jackson
14137 * XplatUIX11.cs: Check for more expose events before sending a
14138 WM_PAINT so they can all be grouped together. This makes dragging a
14139 window across another window redraw in a sane way.
14141 2004-08-16 15:47 pbartok
14144 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
14145 support OnMouseEnter/Leave()
14146 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
14149 2004-08-16 15:46 pbartok
14151 * XplatUIStructs.cs, XplatUIX11.cs:
14152 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
14153 OnMouseEnter/Leave()
14155 2004-08-16 15:34 jackson
14157 * XplatUIX11.cs: Group multiple expose events in HandleData, make
14158 sure messages get the message field set to WM_NULL if they are not
14161 2004-08-16 15:24 jackson
14163 * HandleData.cs: HandleData is used for storing message information
14166 2004-08-15 17:23 ravindra
14168 * ColorDepth.cs: Added attribute.
14170 2004-08-15 17:23 ravindra
14172 * SWF.csproj: Updated project for ToolBar Control.
14174 2004-08-15 17:20 ravindra
14176 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
14177 control and also dos2unix format.
14179 2004-08-15 17:13 ravindra
14181 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
14182 ToolBarButtonClickEventArgs.cs,
14183 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
14184 ToolBarTextAlign.cs: First Implementation of ToolBar control.
14186 2004-08-15 15:31 pbartok
14189 - First (mostly) working version
14191 2004-08-13 16:15 pbartok
14194 - Fixed Anchor default
14196 2004-08-13 15:43 pbartok
14199 - Changed GetCursorPos signature
14201 2004-08-13 15:42 pbartok
14203 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
14204 - Changed signature for GetCursorPos
14206 2004-08-13 15:25 pbartok
14210 - Fixed resizing/exposure handling
14212 2004-08-13 15:22 jordi
14214 * ThemeWin32Classic.cs: removes redundant code and fixes issues
14217 2004-08-13 14:55 jordi
14219 * TrackBar.cs: change from wndproc to events
14221 2004-08-13 13:00 jordi
14223 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14224 XplatUIX11.cs: implements PointToClient (ScreenToClient)
14226 2004-08-13 12:53 pbartok
14229 - Changed GetWindowPos to also provide client area size
14230 - Fixed broken prototypes for several win32 functions
14232 2004-08-13 12:53 pbartok
14234 * XplatUI.cs, XplatUIDriver.cs:
14235 - Changed GetWindowPos to also provide client area size
14237 2004-08-13 12:52 pbartok
14240 - Added generation of WM_POSCHANGED
14241 - Changed GetWindowPos to also provide client area size
14243 2004-08-13 12:52 pbartok
14246 - Added Dispose() and destructor
14247 - Fixed resizing and bounds calculation
14249 - Added memory savings for invisible windows
14251 2004-08-13 12:46 jordi
14253 * TrackBar.cs: adds timer and grap window
14255 2004-08-13 10:25 jackson
14257 * Timer.cs: SWF Timer
14259 2004-08-12 16:59 pbartok
14261 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14262 - Implemented method to get current mouse position
14264 2004-08-12 14:29 jordi
14266 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
14267 enhancement, fix mouse problems, highli thumb, etc
14269 2004-08-12 13:31 pbartok
14272 - Fixed Anchoring bugs
14274 2004-08-12 13:01 jackson
14276 * StatusBar.cs: Don't forget things
14278 2004-08-12 12:54 jackson
14280 * ThemeWin32Classic.cs: Handle owner draw status bars
14282 2004-08-12 12:54 jackson
14284 * StatusBar.cs: Implement missing properties, events, and methods.
14285 Handle mouse clicking
14287 2004-08-12 10:19 jackson
14289 * StatusBarPanelClickEventArgs.cs,
14290 StatusBarPanelClickEventHandler.cs: Classes for handling status
14291 bar panel click events
14293 2004-08-12 10:10 jackson
14295 * Control.cs: Add missing properties
14297 2004-08-12 09:46 pbartok
14299 * BindingsManagerBase.cs:
14300 - Name changed to BindingManagerBase.cs
14302 2004-08-12 09:25 jordi
14304 * ScrollableControl.cs: calls ctrlbase instead of exeception
14306 2004-08-11 16:28 pbartok
14308 * InputLanguageChangingEventArgs.cs:
14309 - Never check in before compiling. Fixes the last check-in
14311 2004-08-11 16:26 pbartok
14313 * InputLanguageChangingEventArgs.cs:
14314 - More signature fixes
14316 2004-08-11 16:20 pbartok
14318 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
14319 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
14320 ImageListStreamer.cs, InputLanguage.cs,
14321 InputLanguageChangedEventArgs.cs,
14322 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
14323 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
14324 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
14325 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14328 2004-08-11 16:16 pbartok
14332 - Added .Net 1.1 method
14334 2004-08-11 15:25 pbartok
14337 - Fixed BindingManagerBase.cs filename
14339 2004-08-11 15:22 pbartok
14341 * BindingManagerBase.cs:
14342 - Was checked in with wrong filename
14344 2004-08-11 14:50 pbartok
14349 2004-08-11 13:41 jordi
14351 * XplatUIWin32.cs: Fixes ClientRect
14353 2004-08-11 13:19 pbartok
14355 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14357 - We had SetWindowPos and MoveWindow to set window positions and
14358 size, removed MoveWindow. We have GetWindowPos, so it made sense to
14359 keep SetWindowPos as matching counterpart
14360 - Added some X11 sanity checking
14362 2004-08-11 12:59 pbartok
14365 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
14366 (It seems that SetBounds is just a front for SetBoundsCore and
14367 SetBoundsCore updates the underlying window system and
14368 UpdateBounds is responsible for updating the variables associated
14369 with the Control and sending the events)
14370 - Major cleanup of Size handling; we now have two sizes, client_size
14371 and bounds. Bounds defines the window with decorations, client_size
14374 2004-08-11 12:55 pbartok
14376 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14377 - Added method to calculate difference between decorated window and
14380 2004-08-11 12:54 pbartok
14383 - Forcing redraw on resize
14385 2004-08-11 11:43 pbartok
14388 - Removed disposing of the actual images when the list is disposed
14390 2004-08-11 09:13 pbartok
14393 - Now properly reparents windows
14395 2004-08-11 08:37 pbartok
14400 2004-08-11 07:47 pbartok
14403 - Rewrote the collection stuff. Might not be as fast now, not
14404 keeping the number of children around and accessible directly, but
14405 it's more straightforward
14407 2004-08-11 07:44 pbartok
14409 * AccessibleObject.cs:
14410 - Fixed to match ControlCollection rewrite
14412 2004-08-11 07:43 pbartok
14415 - Added missing creation of the collection list
14417 2004-08-10 20:08 jackson
14419 * StatusBar.cs: Get the paint message from WndProc
14421 2004-08-10 19:31 jackson
14423 * ThemeWin32Classic.cs: Create Brushes as little as possible
14425 2004-08-10 19:20 jackson
14427 * UICues.cs: Add Flags attribute
14429 2004-08-10 19:19 jackson
14431 * StatusBarPanel.cs: Signature cleanup
14433 2004-08-10 19:10 jackson
14435 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
14436 Initial implementation of status bar item drawing
14438 2004-08-10 17:27 jordi
14440 * TrackBar.cs: add missing methods, properties, and restructure to
14443 2004-08-10 16:24 jackson
14445 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
14446 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
14449 2004-08-10 13:21 jordi
14451 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
14452 enhancements and standarize on win colors defaults
14454 2004-08-10 12:52 jackson
14456 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
14457 ThemeWin32Classic.cs: Implement DrawItem functionality
14459 2004-08-10 12:47 jordi
14461 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
14463 2004-08-10 12:32 jordi
14465 * Control.cs: throw ontextchange event
14467 2004-08-10 11:43 pbartok
14470 - Added more to the still unfinished Dock/Anchor layout code
14472 2004-08-10 11:39 pbartok
14474 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
14475 - Added GetWindowPos method
14477 2004-08-10 11:36 pbartok
14480 - Implemented several methods
14482 2004-08-10 09:47 jackson
14484 * TrackBar.cs: Allow control to handle buffering
14486 2004-08-10 09:41 jackson
14488 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
14490 2004-08-10 09:24 jackson
14492 * Label.cs, LinkLabel.cs: Let Control handle buffering.
14494 2004-08-10 09:09 jackson
14496 * StatusBar.cs: Let Control handle all the buffering.
14498 2004-08-10 09:08 jackson
14500 * Control.cs: Control will now handle the buffering code, so each
14501 control does not have to implement this.
14503 2004-08-10 08:34 jackson
14505 * XplatUIDriver.cs: Use default colors from the theme
14507 2004-08-09 17:12 pbartok
14510 - Fixed several bugs Ravindra pointed out
14512 2004-08-09 16:11 pbartok
14515 - Added incomplete dock layout code
14516 - Added support for mouse wheel
14518 2004-08-09 16:09 pbartok
14521 - Added handling for middle and right mousebutton
14522 - Added handling for mouse wheel
14523 - Added handling for key state and mouse state and position
14524 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
14527 2004-08-09 15:40 jackson
14529 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
14530 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
14533 2004-08-09 15:37 jackson
14535 * StatusBar.cs: Initial implementation of StatusBar
14537 2004-08-09 15:36 jackson
14539 * ITheme.cs: Add support for drawing status bar and getting status
14542 2004-08-09 15:35 pbartok
14547 2004-08-09 15:34 jackson
14549 * ThemeWin32Classic.cs: Add support for drawing status bar and get
14550 status bar item sizes
14552 2004-08-09 15:21 jackson
14554 * ThemeWin32Classic.cs: Use known colors for default control
14557 2004-08-09 15:12 jackson
14559 * ThemeWin32Classic.cs: Make the default font static, it is static
14560 in control so this doesn't change functionality and creating fonts
14563 2004-08-09 14:56 pbartok
14566 - Added GrabMode enum
14568 2004-08-09 14:55 pbartok
14570 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14571 - Removed Run method, was only required for initial development
14573 2004-08-09 14:51 pbartok
14575 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14576 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
14579 2004-08-09 13:48 pbartok
14582 - Fixed default sizing for child windows
14584 2004-08-09 12:56 pbartok
14587 - Added generation of WM_DESTROY message
14588 - Added handling of window manager induced shutdown
14590 2004-08-09 11:31 jackson
14592 * ThemeWin32Classic.cs: New names for control properties
14594 2004-08-09 11:25 jackson
14596 * Control.cs: Use new color names
14598 2004-08-09 11:02 jackson
14600 * XplatUI.cs: Get default window properties from the theme
14602 2004-08-09 11:01 jackson
14604 * ITheme.cs: The theme engine now controls default window
14607 2004-08-09 11:00 jackson
14609 * ThemeWin32Classic.cs: Add default window color properties
14611 2004-08-09 10:17 jackson
14613 * ThemeWin32Classic.cs: Use correct default back color
14615 2004-08-09 10:05 jackson
14617 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
14620 2004-08-09 09:56 jackson
14622 * XplatUI.cs: Remove defaults, these are handled by the theme now.
14624 2004-08-09 09:54 jackson
14626 * Control.cs: Get default properties from the theme.
14628 2004-08-09 09:53 jackson
14630 * ITheme.cs: Themes now handle default control properties
14632 2004-08-09 09:53 jackson
14634 * ThemeWin32Classic.cs: Themes now handle default control
14635 properties so coloring will be consistent
14637 2004-08-08 16:54 jordi
14639 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
14641 2004-08-08 15:08 jordi
14643 * XplatUIX11.cs: fixes keyboard crash
14645 2004-08-08 13:47 jordi
14647 * Label.cs: add cvs header info
14649 2004-08-08 12:09 jackson
14651 * ThemeWin32Classic.cs: Add pen_buttonface
14653 2004-08-08 11:52 jordi
14655 * Label.cs, LinkLabel.cs: [no log message]
14657 2004-08-08 11:34 jordi
14659 * ThemeWin32Classic.cs: Use Windows Standard Colours
14661 2004-08-07 17:32 jordi
14663 * TrackBar.cs: throw exceptions of invalid enums values
14665 2004-08-07 17:31 jordi
14667 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
14670 2004-08-07 16:56 jackson
14672 * HorizontalAlignment.cs: Initial checkin
14674 2004-08-07 13:16 jordi
14676 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
14679 2004-08-07 13:05 jordi
14681 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
14682 GetSysColor defines
14684 2004-08-06 18:01 pbartok
14686 * ThemeWin32Classic.cs:
14687 - Fixed some rounding issues with float/int
14689 2004-08-06 18:00 jackson
14691 * DockStyle.cs, AnchorStyles.cs:
14693 Add flags and serializable attributes.
14695 2004-08-06 17:46 pbartok
14698 - Implemented GetParent
14700 2004-08-06 17:18 pbartok
14703 - Fixed some rounding issues with float/int
14705 2004-08-06 17:17 pbartok
14707 * X11Structs.cs, XplatUIX11.cs:
14708 - Fixed Refresh and Invalidate
14710 2004-08-06 15:30 pbartok
14712 * Control.cs, X11Structs.cs, XplatUIX11.cs:
14713 - Fixed recursive loop when resizing
14714 - Improved/fixed redrawing on expose messages
14716 2004-08-06 09:53 jordi
14718 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
14719 keyboard navigation
14721 2004-08-06 08:02 pbartok
14723 * X11Structs.cs, XplatUIX11.cs:
14724 - Fixed reparenting
14725 - Fixed window border creation
14727 2004-08-05 15:38 pbartok
14730 - Attempted fix for reparenting problems
14732 2004-08-04 15:14 pbartok
14735 - Fixed Invalidation bug (calculated wrong client area)
14736 - Added ClientSize setter
14738 2004-08-04 15:13 pbartok
14741 - Added AutoScale properties
14743 2004-08-04 15:13 pbartok
14746 - Added latest files
14748 2004-08-04 14:11 pbartok
14750 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14752 - Added Invalidate handling
14754 2004-08-03 17:09 jordi
14756 * XplatUIDriver.cs: fixes spelling mistake
14758 2004-07-27 09:53 jordi
14760 * TrackBar.cs: fixes trackbar events, def classname, methods
14763 2004-07-27 09:29 jordi
14765 * ScrollBar.cs: fixes scrollbar events
14767 2004-07-27 04:38 jordi
14769 * Control.cs: changes to be able to run winforms samples
14771 2004-07-26 11:42 jordi
14773 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
14774 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
14776 2004-07-26 05:41 jordi
14778 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
14779 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
14782 2004-07-22 09:22 jordi
14784 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
14785 check link overlapping, implement events, and fixes
14787 2004-07-21 10:28 jordi
14789 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
14791 2004-07-21 10:19 jordi
14793 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
14794 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
14795 LinkLabelLinkClickedEventArgs.cs,
14796 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
14797 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
14800 2004-07-19 13:09 jordi
14802 * Control.cs, Label.cs: label control re-written: added missing
14803 functionlity, events, and properties
14805 2004-07-19 10:49 jordi
14807 * Control.cs: fixes SetBounds logic
14809 2004-07-19 01:29 jordi
14811 * Control.cs: Call RefreshWindow only if the window has created
14813 2004-07-15 14:05 pbartok
14815 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
14816 - Implemented ImageList and ImageList.ImageCollection classes
14817 - Added ColorDepth enumeration
14818 - Updated SWF VS.Net project
14820 2004-07-15 11:06 jordi
14822 * XplatUIStructs.cs: added MsgButons enum
14824 2004-07-15 11:03 jordi
14826 * Control.cs: added basic mouse handeling events
14828 2004-07-15 03:38 jordi
14830 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14831 Vertical TrackBar control implementation
14833 2004-07-13 09:33 jordi
14835 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14837 2004-07-13 09:31 jordi
14839 * Control.cs, Form.cs: commit: new properties and fixes form size
14842 2004-07-09 14:13 miguel
14844 * ProgressBar.cs: Spelling
14846 2004-07-09 11:25 pbartok
14849 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14852 2004-07-09 11:17 miguel
14854 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
14856 * ProgressBar.cs: Fixed spelling for `block'
14858 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
14861 Avoid using the += on rect.X, that exposed a bug in the compiler.
14863 2004-07-08 23:21 pbartok
14865 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
14866 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
14867 BaseCollection.cs, Binding.cs, BindingContext.cs,
14868 BindingMemberInfo.cs, BindingsCollection.cs,
14869 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
14870 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
14871 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
14872 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
14873 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
14874 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
14875 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
14876 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
14877 FrameStyle.cs, GiveFeedbackEventArgs.cs,
14878 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
14879 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
14880 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
14881 InputLanguageChangedEventArgs.cs,
14882 InputLanguageChangedEventHandler.cs,
14883 InputLanguageChangingEventArgs.cs,
14884 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14885 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14886 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14887 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14888 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14889 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14890 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14891 QueryAccessibilityHelpEventArgs.cs,
14892 QueryAccessibilityHelpEventHandler.cs,
14893 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14894 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14895 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14896 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14897 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14898 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14899 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14900 XplatUIX11.cs, lang.cs: