1 2006-07-11 Jackson Harper <jackson@ximian.com>
3 * Control.cs: When hiding a control only select the next control
4 if the current control was focused.
5 - Don't handle enter/leave when setting/killing focus, this is
6 done by the container control.
7 - Remove is_selected, it's not needed anymore.
8 - Add utility methods for selecting a child control, and for
9 firing the Enter/Leave events.
10 * ContainerControl.cs: When a control is activated fire the
12 - Don't wrap when processing the tab key, so that focus can be
13 moved outside of the container.
14 - Use the correct active control
16 2006-07-11 Jackson Harper <jackson@ximian.com>
18 * ComboBox.cs: Remove some debug code that was blinding me.
19 * UpDownBase.cs: These controls actually aren't implicit, they are
22 2006-07-10 Chris Toshok <toshok@ximian.com>
24 * DataGridTableStyle.cs: just check if the property type is bool.
25 if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
26 Don't use CanRenderType.
28 * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
29 if our text == NullText. Remove CanRenderType.
31 * DataGridBoolColumn.cs: nuke CanRenderType.
33 * DataGrid.cs: reenable some code to end the current edit inside
34 of set_CurrentCell. This fixes the other 1.1.16 regression.
35 Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
36 Also, remove the visible_row_count arg from CalcRowHeaders, since
37 we don't need to worry about the actual height of the area.
39 2006-07-10 Chris Toshok <toshok@ximian.com>
41 * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
44 * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
45 the real sense of the IsInEditOrNavigateMode property (true =
46 navigate, false = edit). Also, update OnKeyPress to reflect this.
48 * DataGridTableStyle.cs (CreateColumnsForTable): even if the
49 column style exists, we still need to set its property descriptor
50 to match up with our list manager.
52 2006-07-10 Chris Toshok <toshok@ximian.com>
54 * ThemeWin32Classic.cs: implement the new row/header painting
55 approach. The parent row painting will likely go away and
56 replaced with label controls, but the rest seems to work ok (and
59 * Theme.cs: change the way we draw datagrid rows. we don't draw
60 the row headers as a block now. Instead we draw them in the
61 normal draw-row loop. Add some calls for drawing parent rows and
64 * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
65 a default table style. Set the defaults from ThemeEngine.Current,
66 not SystemColors. Fix lots of misc issues with property setters.
68 * DataGrid.cs: move loads of style information out of this class
69 as it's being duplicated with DataGridTableStyle. keep track of a
70 special DataGridTableStyle for the properties we used to mirror
71 here. Switch all the style properties to access this table style
72 instead of instance fields of this class. Also add a internal
73 class to represent parent rows (more needs to be stored here, like
74 the selection state from the parent table, as well as the
75 expansion state.) Also, for datasources with relations, do the
76 right thing for collapse/expand, and add support for the
77 navigation/parent row buttons.
79 Lastly, fix the crash in the 1.1.16 build.
81 * GridTableStylesCollection.cs: make the explicit interface
82 implementations call the class's methods as opposed to duplicating
85 * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
86 0 so the text doesn't jump around when we move the cursor.
88 2006-07-10 Jackson Harper <jackson@ximian.com>
91 * ListBox.cs: Match MS's ToString (this makes debugging focus
92 stuff infinitely easier).
94 2006-07-10 Jackson Harper <jackson@ximian.com>
96 * Control.cs (SelectNextControl): When checking the control's
97 parent use this instead of ctrl.parent so that null can be passed
98 to SelectNextControl. (I have unit tests for this).
101 2006-07-10 Chris Toshok <toshok@ximian.com>
103 * CurrencyManager.cs: correct one regression, the removal of the
104 finalType field. Also, add a MonoTODO on CanAddRows, implement
105 Refresh() correctly, and fix some event emission in
108 2006-07-07 Alexander Olk <alex.olk@googlemail.com>
110 * FileDialog.cs: Don't use brackets for new folders if they exist
111 under *nix. Instead use -(number of existing folders +1).
113 2006-07-07 Alexander Olk <alex.olk@googlemail.com>
116 - Fixed really nasty bug #78771
117 - Don't block the whole GUI when reading directories with a lot of
118 entries. Use an other thread instead and call BeginInvoke to
119 update the ListView in MWFFileView
121 2006-07-07 Chris Toshok <toshok@ximian.com>
123 * Control.cs (Dispose): release any Capture when disposing.
125 2006-07-07 Chris Toshok <toshok@ximian.com>
127 * LinkLabel.cs (Select): if we chain up to the parent, set
128 focused_index to -1 so we'll search for the first available link
129 the next time the user tabs into us. Also, if the direction is
130 backward and focused_index == -1, start the search from the last
133 2006-07-07 Chris Toshok <toshok@ximian.com>
135 * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
136 is beyond the end of the text, don't do anything.
137 (CreateLinkPieces): set our ControlStyles.Selectable based on
138 whether or not we have any links.
139 (Link.Invalidate): use a loop instead of foreach.
140 (Link.set_Start): null out owner.sorted_links so it'll be
141 recreated by CreateLinkPieces.
143 2006-07-06 Chris Toshok <toshok@ximian.com>
145 * LinkLabel.cs: revert the SetStyle change.
147 2006-07-06 Chris Toshok <toshok@ximian.com>
149 * LinkLabel.cs (.ctor): SetStyle Selectable to true.
150 (OnEnableChanged): s/Refresh/Invalidate
151 (OnGotFocus): if we have a focused index already, refocus it (so
152 if we mouse out/in to the window it'll focus the right link).
153 (OnKeyDown): move the tab handling out of here.
154 (OnLostFocus): don't set focused_index to -1, so we can refocus it
156 (OnMouseDown): don't Capture here - Control handles it. Also,
157 focus the active link.
158 (OnMouseUp): don't deal with Capture.
159 (OnPaintBackgroundInternal): remove.
160 (OnTextAlignChanged): CreateLinkPieces before calling the
162 (OnTextChanged): call CreateLinkPieces before calling superclass's
164 (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
166 (Select): implement this, moving the selection between different
167 links, and call parent.SelectNextControl if we don't have another
168 link to focus in the given direction.
169 (CreateLinkPieces): call Invalidate instead of Refresh.
171 2006-07-06 Chris Toshok <toshok@ximian.com>
173 * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
174 new LinkLabel internals.
176 * LinkLabel.cs: fairly major rewrite. get rid of all the loops
177 over pieces looking for active/focused/etc links. also, deal with
178 runs of text (and links) with embedded \n's in them, and use
179 MeasureCharacterRanges instead of MeasureString to figure out the
180 regions text occupies. Lastly, do the usual s/Refresh/Invalidate
183 2006-07-04 Jackson Harper <jackson@ximian.com>
185 * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
186 XKB or key auto repeat, do it manually. Without key auto repeat,
187 when a key is held down we get key press, key release, key press,
188 key release, ... with auto repeat we get key press, key press, key
189 press ..., and then a release when the key is actually released.
191 2006-07-03 Jackson Harper <jackson@ximian.com>
194 * ThemeWin32Classic.cs: Tabs do not obey normal background color
195 rules, they are always control color regardless of the background
198 2006-07-02 Alexander Olk <alex.olk@googlemail.com>
200 * FileDialog.cs: Added internal class MWFConfig.
201 Removed Registry support and replaced it with support for the new
202 MWFConfig class. See MWFConfig comments for more information.
204 2006-06-30 Alexander Olk <alex.olk@googlemail.com>
206 * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
207 rectangle. Added some patches from eno from bug #78490 and fixed
208 the arrow position for small up and down CPDrawScrollButtons.
210 2006-06-30 Jackson Harper <jackson@ximian.com>
212 * InternalWindowManager.cs: Remove some debug code.
213 * Form.cs: When an MdiParent is set to null, the window is
214 "detatched" and becomes a normal window.
215 * MdiClient.cs: Don't bring the new child form to the front until
216 it is activated (setting it as active does this), this makes the
217 previously active forms titlebar get redrawn as inactive.
219 2006-06-29 Peter Dennis Bartok <pbartok@novell.com>
221 * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
224 2006-06-29 Mike Kestner <mkestner@novell.com>
226 * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
227 arrow in keynav state. Fixes #78682.
229 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
231 * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
234 2006-06-28 Jonathan Pobst <monkey@ipobst.com>
236 * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
237 ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
238 ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
239 FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
240 GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
241 ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
242 PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
243 Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
244 TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
245 ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
246 enumerations (FlagsAttribute, SerializableAttribute, added/removed
249 2006-06-28 Mike Kestner <mkestner@novell.com>
251 * ComboBox.cs: implement scroll wheel support. Fixes #78360.
253 2006-06-28 Atsushi Enomoto <atsushi@ximian.com>
256 PropertyGridTextBox.cs : explicitly set BackColor to differentiate
257 item lines from other area (It also makes BackColor consistent and
258 compatible with .NET). Fixed bug #78564.
260 2006-06-28 Jonathan Chambers <jonathan.chambers@ansys.com>
262 * PropertyGrid.cs: refresh toolbar when PropertySort is set.
263 Patch from Eno for #78555.
265 2006-06-27 Chris Toshok <toshok@ximian.com>
267 * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
269 * DataGridColumnStyle.cs: same.
271 * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
273 * DataGridDrawingLogic.cs: nuke.
275 2006-06-27 Chris Toshok <toshok@ximian.com>
277 * DataGridTableStyle.cs: clean up the constructors, and build the
278 list of child relations for this table. I have no idea if this is
279 where we should be doing it (it probably isn't), but since we're
280 already iterating over the properties..
282 * DataGrid.cs: add row resizing. for now we add a DataGridRow
283 struct and array for keeping track of row information, similar to
284 what's shown in a hack on
285 http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
287 * Theme.cs: be consistent about the naming of DataGrid methods,
288 prefering ColumnWidths and RowHeights over columnsWidths and
291 * ThemeWin32Classic.cs: same, and also add support for variable
292 sized rows (and the +/- expansion icons for related rows).
294 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
296 * TextBoxBase.cs: Applied Eno's patch from #78660
298 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
300 * Form.cs (ScaleCore): We don't want to scale our form if it's
301 state is minimized or maximized, but we still need to scale our
302 child windows. Also, added try/finally block to ensure layout
303 gets reset (Fixes #78697)
305 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
307 * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
309 2006-06-27 Peter Dennis Bartok <pbartok@novell.com>
311 * Form.cs: Fixed c+p error and added check to resize form if minimum
312 size is bigger than current size (Fixes #78709)
314 2006-06-26 Peter Dennis Bartok <pbartok@novell.com>
316 * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
318 2006-06-26 Mike Kestner <mkestner@novell.com>
320 * ComboBox.cs: only do Keypress handling in the combo when there
321 are items in the collection. Fixes #78710.
323 2006-06-26 Chris Toshok <toshok@ximian.com>
325 * Binding.cs: make this work bi-directionally. also, clear up
326 other mixups between Push/Pull Data (e.g. we're supposed to pull
327 data when validating).
329 * BindingManagerBase.cs: trim some fully qualified collection
332 * PropertyManager.cs (get_IsSuspended): oops, fix this check.
334 2006-06-23 Chris Toshok <toshok@ximian.com>
336 * PropertyManager.cs: It appears (according to the unit tests)
337 that PropertyManager doesn't use
338 PropertyDescriptor.AddValueChanged to track propery value changes
339 in its datasource, but uses the same scheme as Binding, where it
340 looks for a <Property>Changed event and binds to it.
342 Also, according to the docs, IsSuspended always returns false for
343 a property manager with a non-null datasource.
345 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
347 * Form.cs: (ShowDialog): If we're returning a forced cancel we still
348 need to update the actual DialogResult. (Fixes #78613)
350 2006-06-22 Peter Dennis Bartok <pbartok@novell.com>
352 * Form.cs (ShowDialog): Release any captures before running the
353 new message pump (fixes #78680)
355 2006-06-22 Mike Kestner <mkestner@novell.com>
357 * ListView.cs: Layout column widths properly in details mode even
358 if HeaderStyle.None is set. Fixes #78691.
360 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
362 * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
364 2006-06-21 Peter Dennis Bartok <pbartok@novell.com>
366 * Control.cs (ContainsFocus): Using new driver method to get focused
367 window, instead of trying to use internal tracking var, which can
368 recursion issues (Fixes #78685)
369 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
370 XplatUIWin32.cs: Added GetFocus method to return focused window
372 2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * ColorDialog.cs: when the mouse button is pressed inside the color
375 matrix, don't let the cursor move out of it until the button is
376 released, which is the behavior on windows. Changed 'colours' by
377 'colors' to use the same word consistently.
379 2006-06-21 Chris Toshok <toshok@ximian.com>
381 * DataGrid.cs: add in some basic navigation stuff (navigating to a
382 child relation and back, using a stack). Also, remove
383 GetDataSource and the code that calls it - it's not needed. Also,
384 track CurrencyManager.ListName's removal.
386 2006-06-21 Chris Toshok <toshok@ximian.com>
388 * CurrencyManager.cs: push some of the original type checking from
389 BindingContext.CreateBindingManager to here, and remove some of
390 the finalType stuff. Need more tests to make sure I've got the
391 ListName part right, and we might need more in SetDataSource.
393 * PropertyManager.cs: add a ctor that takes just the datasource,
394 and no property name. Make SetDataSource work with a null
395 property_name, and make Current return the data_source if the
396 property descriptor is null. this makes 'string foo = "hi";
397 BindingContext[foo].Current' return "hi" as it should.
399 * RelatedCurrencyManager.cs: make this code more generic - there's
400 no reason the parent manager has to be CurrencyManager, and
401 there's no reason to pass the DataRelation. It suffices to use a
402 BindingManagerBase and PropetyDescriptor.
404 * RelatedPropertyManager.cs: make a similar change here.
406 * BindingContext.cs: make CreateBindingManager the beautiful, tiny
407 flower I knew it could be.
409 2006-06-20 Chris Toshok <toshok@ximian.com>
411 * PropertyManager.cs: the PropertyChangedHandler is invoked when
412 data in the source has changed and we need to update the control,
413 so s/PullData/PushData.
415 * CurrencyManager.cs: Refresh is meant to update the control from
416 data in the datasource. So, s/PullData/PushData.
418 * BindingContext.cs: add more ugliness (we weren't handling the
419 case where data_source = DataTable and data_member = column_name).
421 * Binding.cs: fix PushData/PullData mixup. Both are interpreted
422 from the perspective of the datasource. PullData pulls from the
423 control, PushData pushes to the control.
425 2006-06-20 Chris Toshok <toshok@ximian.com>
427 * BindingContext.cs: rewrite the CreateBindingManager code to
428 handle navigation paths more or less properly. This could
429 definitely stand some more work, in particular to push the
430 recursion up to the toplevel. But that relies on fixes in other
431 places (System.Data comes to mind).
433 Also, move to a flat hashtable (and encode the twolevel nature of
434 the dictionary into the hash key). This lets us implement the
435 IEnumerable.GetEnumerator method.
437 * RelatedCurrencyManager.cs: new class. Update our view based on
438 our relation and our parent CurrencyManager's position.
440 * CurrencyManager.cs: split out some logic from the ctor into
441 SetView, so it can be called from the new RelatedCurrencyManager
444 * RelatedPropertyManager.cs: new class. Update our datasource
445 based on the position of our parent CurrencyManager.
447 * PropertyManager.cs: split out some logic from the ctor into
448 SetDataSource, so it can be called from the new RelatedDataSource
449 subclass. Also, make the Current getter return the value
450 of the PropertyDescriptor, not the data_source.
452 * Binding.cs: no need to duplicate the string splitting code here.
454 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
457 - set_Enabled: OnEnabledChanged is not called if the inherited state
458 of the control is not altered, even though we might be changing the
459 internal state of the control (#78458)
460 - set_Enabled: (Re)Moved the enabling/disabling of the window to
461 OnEnabledChanged, to allow easy altering of any child window state
462 - OnEnabledChanged: Added code to enable/disable driver window state
463 - OnParentEnabledChanged: Instead of firing the event, call
464 OnEnabledChanged, which will fire the event and also a) set driver
465 window state and pass the enabled state to any grandchildren (#78458)
467 2006-06-19 Jackson Harper <jackson@ximian.com>
469 * InternalWindowManager.cs: We don't set the cursor explicitly
470 thats done via the response to NCHITTESTs.
471 - Don't need to adjust for titlebar heights anymore, the
472 coordinates are coming in the correct coordinates now (see peters
476 2006-06-19 Peter Dennis Bartok <pbartok@novell.com>
478 * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
479 being translated relative to whole window, instead of client window.
480 That caused broken offsets on mouseclick (and caused gas for our
481 InternalWindowManager)
483 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
486 - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
487 - Undo(): Added replay of cursor move on DeleteChars action; added
488 calling Undo() again if a recorded cursor move is invalid (to
489 ensure that some action is performed on Undo)
490 * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
492 2006-06-16 Jackson Harper <jackson@ximian.com>
494 * MdiClient.cs: Instead of just sizing maximized windows when
495 there is a resize we also have to adjust the Y of minimized
496 windows, so they stay pinned to the bottom of the mdi container.
497 - Eliminate separate tracking of the active control, we can just
498 get this from the controls collection.
499 - Paint the decorations for the newly activated titlebar so we get
501 * InternalWindowManager.cs:
502 * ThemeWin32Classic.cs: Minimized windows get all three buttons
503 even if they are a tool window.
505 2006-06-15 Peter Dennis Bartok <pbartok@novell.com>
507 * TextControl.cs (Undo): Handle non-existent cursor locations in the
508 undo buffer, these can happen when text was deleted and the cursor
509 was recorded first. Since we will also have a recorded cursor
510 after the delete this is not an issue. (Fixes #78651)
512 2006-06-14 Peter Dennis Bartok <pbartok@novell.com>
514 * AccessibleObject.cs: Remove dependence on Control.is_selected;
515 instead properly track control states internally (allows us to
516 remove is_selected from Control)
518 2006-06-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * ImageListStreamer.cs: correctly generate the 1bpp mask for images
521 whose width is not a multiple of 8.
523 2006-06-13 Jackson Harper <jackson@ximian.com>
525 * MdiClient.cs: Only maximize the next child if the current one
528 2006-06-13 Chris Toshok <toshok@ximian.com>
530 * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
531 modified. Also, guard against grid or grid_drawing being null in
534 * DataGrid.cs: Reformat tons of getters/setters. In the
535 DataMember setter, just call SetNewDataSource instead of
536 duplicating some of its functionality. In SetNewDataSource, don't
537 check ListManager for null, since the property getter creates the
540 * DataGridTableStyle.cs: don't set TableStyle or call
541 SetDataGridInternal on the column here, it's done in
542 GridColumnStylesCollection.Add.
544 * GridColumnStylesCollection.cs: fix all the explicit interface
545 implementations to just call our methods. Nuke AddInternal() and
546 move the body of it to Add(). Also, add a call to
547 column.SetDataGridInternal to Add().
549 * DataGridTextBoxColumn.cs (.ctors): call this() instead of
550 base()+duplicate code. Also, use the Format property instead of
551 format to generate an Invalidate ala MS. Lastly, create the
552 textbox here, unconditionally.
553 (set_Format): call Invalidate.
554 (get_TextBox): no need to call EnsureTextBox.
555 (Commit): remove the message box.
556 (Edit) remove the call to EnsureTextBox.
557 (EndEdit): call HideEditBox instead of ReleaseHostedControl.
558 (EnterNullValue): no need to check textbox for null.
559 (HideEditBox): no need to check textbox for null.
560 (SetDataGridInColumn): add the textbox to the grid's controls.
561 (EnsureTextBox): nuke.
563 2006-06-13 Jackson Harper <jackson@ximian.com>
565 * MdiWindowManager.cs: Hook up to the maximized menus paint event
566 and redraw the buttons when needed. Unhook when the window is
568 * MainMenu.cs: Add an internal Paint event, the mdi window manager
569 needs this so that it can redraw its buttons when the menu is
571 * InternalWindowManager.cs:
572 * Form.cs: The method order has changed for DrawMaximizedButtons,
573 so that it can be a PaintEventHandler.
575 2006-06-13 Jackson Harper <jackson@ximian.com>
577 * MdiClient.cs: When we close a maximized mdi window, the next mdi
578 window is activated and maximized, even if it wasn't before.
579 - When a new window is activated repaint the decorations of the
580 old one, so that it no longer has the Active "look" (the blue
582 * InternalWindowManager.cs: Open up CreateButtons to base classes
583 so they can recreate the buttons on state changes.
584 - If a window is maximized give it all three buttons
585 * MdiWindowManager.cs: Create the titlebar buttons when the state
586 is changed, this is needed because a toolwindow will not have all
587 three buttons until it is maximized.
589 2006-06-13 Atsushi Enomoto <atsushi@ximian.com>
591 * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
594 2006-06-12 Jackson Harper <jackson@ximian.com>
596 * KeysConverter.cs: Make sure we handle the Ctrl special case
599 2006-06-12 Jackson Harper <jackson@ximian.com>
601 * Theme.cs: Add a method to get the size of a managed window
603 * InternalWindowManager.cs: Remove the ButtonSize property, this
604 should be retrieved from the theme.
605 * MdiWindowManager.cs: Get the button size from the theme
606 * ThemeWin32Classic.cs: Make the method to get the managed window
607 titlebar button size public.
608 - Handle the different button sizes of maximized toolwindows
609 (should match any maximized window).
610 - Get the titlebar height from the theme, not the WM (which gets
613 2006-06-12 Jackson Harper <jackson@ximian.com>
615 * InternalWindowManager.cs: Handle NC Double Clicks, passing the
616 event down to the mdi window manager.
617 - Expose some extra stuff to base classes
618 - Make sure to end the Capture on an NC Mouse up, so that we can
619 get double clicks properly, and the sizing doens't stick.
620 - When doing PointToClient contain it in the workable desktop
621 area, this prevents windows from changing size when the cursor is
622 pulled outside of the working area while sizing.
623 * MdiWindowManager.cs: When we get a double click maximize the
625 - Reset the cursor after handling mode changes.
627 2006-06-12 Peter Dennis Bartok <pbartok@novell.com>
629 * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
630 current desktop, instead of just assuming a 0, 0 origin. This
631 is needed for our internal window manager, to know the top
632 margin of the desktop
634 2006-06-12 Chris Toshok <toshok@ximian.com>
636 * DataGrid.cs (set_CurrentCell): concede focus as we move around.
637 we need this to get rid of the selected background in the bool
639 (CancelEditing): move the ConcedeFocus call to above the Abort
640 call. Also, set is_changing to false and invalidate the row
641 header if we were changing before.
642 (ProcessKeyPreviewInternal): remove, since noone outside this
643 class calls it anymore. Roll the code into ProcessKeyPreview.
644 (EndEdit): remove the internal version.
645 (InvalidateCurrentRowHeader): make private.
647 * DataGridBoolColumn.cs: simplify this class a bunch. remove the
648 Keys.Escape handling (and with it the last call to
649 DataGrid.EndEdit from outside the class.)
652 2006-06-12 Chris Toshok <toshok@ximian.com>
654 * DataGridTextBox.cs (.ctor): isedit defaults to false.
655 (OnKeyPress): set isedit to true.
656 (ProcessKeyMessage): remove Keys.Enter handling from here. it's
657 already handled by the grid.
659 * DataGrid.cs (set_CurrentCell): more work here. it's still not
661 (set_DataSource): SetDataSource always returns true, so stop
662 putting it in an if statement.
663 (EndEdit): get rid of some {}'s
664 (ProcessGridKey): return true in case Keys.Escape.
665 (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
666 (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
667 PositionChanged, stopped connecting to CurrentChanged.
668 (GetDataSource): simplify this a bunch.
669 (SetDataSource): change return type from bool to void.
670 (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
671 to this, and make sure we don't set ListManager.Position inside
673 (OnListManagerItemChanged): if we're passed an actual index,
676 * CurrencyManager.cs (set_Position): don't call PullData here.
678 2006-06-09 Jackson Harper <jackson@ximian.com>
680 * TreeNode.cs: Recalculate the visible order before doing the
681 Expand/Collapse Below calls, because those calls generate an
683 - Reduce calls to the TreeView property, which is mildly expensive
684 by using a local var.
685 * Form.cs: Layout the MDI child windows when creating the parent
687 - Don't use the internal constructor anymore
688 * MdiClient.cs: use the parent form width/height (if available)
689 when laying out the child windows, we do this because the
690 mdiclient isn't docked yet when the initial layout is done.
691 - Don't need an internal constructor anymore.
693 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
695 * FileDialog.cs: handle access errors when trying to create a folder
696 or changing to a directory. No need to initialize out parameters.
698 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
700 * FileDialog.cs: Append a number when creating a new folder if the
701 folder already exists (use parenthesis instead of square brackets)
703 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
706 - Disabled registry support for windows and added better registry
707 error checking for other systems (need to investigate why it
708 works perfectly on my system)
709 - If a folder already exist show an error MessageBox instead of
710 trying to create an indexed name.
711 - Fixed a non intentional typo.
713 2006-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
715 * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
717 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
719 * FileDialog.cs: When creating a new folder don't crash if the
720 folder already exists.
722 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
724 * FileDialog.cs: Allmost a complete rewrite.
725 - added a "virtual" file system that handles the differences
726 between unix and windows file systems (especially the directory
727 structure). Moved most of the directory and file handling code
729 Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
730 UnixFileSystem and FSEntry.
731 - Recently used folder/directory, size, location and used file names
732 (file name ComboBox) are now stored in the registry and get read
733 before the dialog shows up (fixes part 6 of bug #78446).
734 - Creation of new folders/directories is now possible (context menu
735 or ToolBar). Added TextEntryDialog for this that fills in the gap
736 until ListView.LabelEdit works.
737 - Fixed cursor handling (bug #78527) and focus handling for
739 - Various "Search in" ComboBox enhancements. The content of the
740 dropdown listbox now almost matches ms.
741 - Changed the behaviour when the user switches to SpecialFolder
742 Recent to show the ListView in View.Details.
743 - Beside using the ToolBar to change the View property of the
744 file ListView it is now possible to use the context menu too.
746 2006-06-08 Alexander Olk <alex.olk@googlemail.com>
748 * ComboBox.cs: Don't create a new ObjectCollection when an item
749 gets inserted. Just insert the item in the existing object_items
752 2006-06-08 Jackson Harper <jackson@ximian.com>
754 * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
755 that the treeview and root node checks are done also, this fixes a
756 regression i caused in the unit tests.
758 2006-06-07 Wade Berrier <wberrier@novell.com>
760 * RichTextBox.cs: More ISO8859-1 -> unicode
762 2006-06-07 Mike Kestner <mkestner@novell.com>
764 * ComboBox.cs : use items to hold highlight/selection so that
765 collection insertions don't require synchronization.
767 2006-06-07 Jackson Harper <jackson@ximian.com>
769 * InternalWindowManager.cs: Simplify (and FIX) the window sizing
770 routine. We now always keep the sized edge at the cursor instead
771 of computing movement and adjusting rects. There is one buglet
772 with this method though when the cursor is moved over area that
773 the window can not expand too (such as the toolbars on the desktop).
775 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
777 * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
778 here. Fixes crash on startup in AlbumSurfer.
780 2006-06-07 Peter Dennis Bartok <pbartok@novell.com>
782 * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
785 2006-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
787 * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
788 statement to avoid calling XNextEvent which will block if another thread
789 took the event that we were expecting. Fixes bug #78605.
791 2006-06-07 Mike Kestner <mkestner@novell.com>
793 * ListView.cs : isolated checkbox clicking from the selection logic.
794 Toggle check state on item doubleclicks. Really fixes #78454 part2.
796 2006-06-06 Carlos Alberto Cortez <calberto.cortez@gmail.com>
798 * Form.cs: Check that the value passed to Form.DialogResult
799 is a valid enum value.
801 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
803 * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
804 Computer'. Clicking it in the network view goes to 'My Computer'.
805 Added CIFS filesystem type. Display the mount point of filesystems.
806 Avoid duplicate mount points (happens for me with CIFS);
808 2006-06-06 Jackson Harper <jackson@ximian.com>
810 * InternalWindowManager.cs: Draw the maximized windows buttons
813 2006-06-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
815 * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
816 all other dialogs. Fixes bug #78585.
818 2006-06-06 Mike Kestner <mkestner@novell.com>
820 * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
821 Only invalidate checkbox on checkstate changes to avoid flicker.
822 * ListBox.cs : avoid unselect/select when clicking selected item.
823 avoid reselection flicker for already multiselected items.
826 2006-06-06 Jackson Harper <jackson@ximian.com>
828 * MdiWindowManager.cs: When the window is closed do an NCRecalc on
829 the parent form so that the menu is removed if needed.
831 2006-06-06 Mike Kestner <mkestner@novell.com>
833 * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
834 Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
836 2006-06-06 Mike Kestner <mkestner@novell.com>
838 * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
841 2006-06-06 Jackson Harper <jackson@ximian.com>
843 * Control.cs: Use the property (instead of the field) to get the
844 default cursor so it is instantiated correctly.
845 * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
846 resizes so we need to manually repaint the window decorations here.
847 - Set the titlebar button locations as soon as they are created,
848 otherwise they are not set correctly on win32.
850 2006-06-06 Chris Toshok <toshok@ximian.com>
852 * CurrencyManager.cs (set_Position): call PullData before
854 (AddNew): after calling IBindingList.AddNew, update our
855 listposition, and call OnCurrentChanged/OnPositionChanged (without
857 (OnCurrentChanged): remove the call to PullData from here.
858 (OnItemChanged): remove the call to PushData from here.
859 (OnPositionChanged): change the test from == null to != null to
860 match the other methods.
861 (ListChangedHandler): the grossest part of the patch. Implement
862 this such that it passes the unit tests in CurrencyManagerTest and
863 the output more or less matches that of MS's implementation.
865 2006-06-06 Mike Kestner <mkestner@novell.com>
867 * ListView.cs : only update check state on single click.
868 * ThemeWin32Classic.cs : fix focus drawing for details view without
869 fullrowselect. Fixes #78454.
870 * XplatUIX11.cs : fix for double click emission.
872 2006-06-05 Jonathan Chambers <jonathan.chambers@ansys.com>
874 * PropertyGridView.cs : Applied Atsushi's patch to fix
875 font dialog bug (#78197).
877 2006-06-05 Jackson Harper <jackson@ximian.com>
879 * TreeNode.cs: Compute the next node for expanding/collapsing
880 correctly. We now factor in nodes without a NextNode
881 correctly. (Fixes somes cases in nunit-gui).
882 * InternalWindowManager.cs: Set the bounds when updating the
883 virtual position of a tool window.
885 2006-06-05 Chris Toshok <toshok@ximian.com>
887 * DataGrid.cs: rename cached_currencymgr to list_manager.
888 (set_CurrentCell): move SetCurrentCell code here, and clean it up
890 (CurrentRow, CurrentColumn): single accessors so we can make the
891 cursor movement code a lot easier to understand.
892 (CurrentRowIndex): implement this in terms of CurrentRow.
893 (BeginEdit): clean this up a bit.
894 (CancelEditing): sort out the is_editing/is_changing/is_adding
896 (EndEdit): minor changes.
897 (OnKeyDown): add a comment about a (most likely) unnecessary
899 (OnMouseDown): cancel editing when we click on a row header. And
900 use the CurrentRow setter, not CurrentCell.
901 (ProcessDialogKey): directly call ProcessGridKey.
902 (UpdateSelectionAfterCursorMove): factor out this common block of
903 code (it's used everywhere that we move the cursor by updating row
905 (ProcessGridKey): pretty substantial overhaul. Use the
906 CurrentRow/CurrentColumn properties to make the code a lot more
907 readable. Only use the CurrentCell property when we have to
908 modify both row and column at once. Tab behavior is still broken,
909 and Delete is untested.
910 (Select): if we have no selected rows, set selection_start to
912 (EditCurrentCell): rename EditCell this. It was only ever invoked
913 with CurrentCell as the arg, so drop the arg and rename it.
915 * DataGridColumnStyle.cs: clean up the constructors a little, and
916 drop CommonConstructor().
918 * DataGridTextBox.cs (.ctor): set accepts_return to true so we
919 actually get notified when the user hits it.
920 (ProcessKeyMessage): *substantially* simplify this method.
921 There's no reason (that I can see) for the textbox to be making
922 calls into the datagrid at all. Remove all of them but the ones
923 for Enter handling. those will take some more work.
925 * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
927 (HideEditBox): if we have an active textbox, render it invisible
928 without causing a re-layout of the datagrid.
930 2006-06-05 Mike Kestner <mkestner@novell.com>
932 * ListView.cs : fix NRE crasher when focuseditem is cleared by
933 collection changes by resetting it to Items[0]. Fixes #78587.
935 2006-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
937 * MessageBox.cs: if the height of the text is larger than the icon_size,
938 use that. Fixes bug #78575.
940 2006-06-05 Jackson Harper <jackson@ximian.com>
942 * TreeView.cs: Fix line drawing when scrolling. To do this each
943 node is basically responsible for drawing its entire horizontal
944 area. When drawing a node it draws its parent node lines if
946 - Adjust the clip area to the viewport rectangle
947 - Fix Left/Right key handling to match MS. (It expand/collapses
948 and moves to parents/first child but does not move selection to
950 - Fix SetTop to work with new bound calculation code
951 - When scrollbars are no longer needed we need to reset scrolling
952 vars and recalculate the visible order so the redraw is correct
953 * TreeNode.cs: We can't expand/collapse nodes with no children.
955 2006-06-03 John Luke <john.luke@gmail.com>
957 * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
958 so the colors work without dev packages
960 2006-06-02 Peter Dennis Bartok <pbartok@novell.com>
963 - Select: Implemented to just use activate. Seems to match MS
964 behaviour closest. Documented to only do actual control walking
965 based on it's parameters if in a container control so I moved
967 - Removed selection check logic from our internal Select() method
968 * ContainerControl.cs:
969 - Select: Moved selection logic from Control here, since MS documents
970 that containers obey the bool arguments. No longer calling base
972 2006-06-02 Jackson Harper <jackson@ximian.com>
974 * TreeView.cs: If the selected node isn't changed when we get
975 focus update the previously selected node so that we see the
978 2006-06-02 Mike Kestner <mkestner@novell.com>
980 * ComboBox.cs: restructure grab and general mouse event handling.
981 Make the composite control raise mouse events like it was a single
982 control for leaves/enters/motion/up/down events. fix dropdown list
983 coordinate mangling and refactor it into the scrollbar subclass to
984 reduce code duplication. Fixes #78282 #78361 and #78457.
986 2006-06-02 Mike Kestner <mkestner@novell.com>
988 * ScrollBar.cs: remove Capture setting/clearing, as it happens
989 automatically in the Control.WndProc.
991 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
993 * FileDialog.cs: fix crash when running SharpChess, which sets the
994 FilterIndex to 2 with only one Filter.
996 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
998 * ToolBar.cs: add SizeSpecified property.
999 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
1000 try to figure out our real size, otherwise fallback to what the
1003 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
1005 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
1006 * Control.cs (WndProc): MS always calls the DefWndProc to pass
1009 2006-06-01 Mike Kestner <mkestner@novell.com>
1011 * ListView.cs: revamp the focus management in ListView. It still
1012 causes churn of LostFocus/GotFocus emissions on clicks, but it's
1013 better than not handling focus at all. Will revisit when pdb feels
1014 the general focus handling is solid. Fixes #78526.
1016 2006-06-01 Jackson Harper <jackson@ximian.com>
1018 * TreeView.cs: Set the default border style in the constructor.
1019 - Move painting to use OnPaintInternal instead of capturing
1020 WM_PAINT, this is the correct way of doing things
1021 - UpdateBelow shouldn't invalidate the scrollbar area
1022 - Cap the top on update below in case the node was above the top
1023 of the viewport rectangle.
1024 - ExpandBelow and Collapse below need to obey Begin/End Update.
1025 * TreeNode.cs: Make is_expanded internal so the treenode
1026 collection can change it without firing the whole event chain.
1027 * TreeNodeCollection.cs: When clearing all the child nodes make
1028 sure to recalc the visible order.
1029 - Improve algo for remove the top node
1031 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
1033 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
1034 SendMessage directly calling window procedures, which in turn might
1037 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
1039 * Control.cs: Don't handle WM_SETFOCUS if the same window already
1040 has focus (works around X11 sending a FocusIn after our SetFocus)
1041 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
1043 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
1045 * Mime.cs: Fix for the NET_2_0 build.
1046 NameValueCollection needs StringComparer now.
1048 2006-05-31 Chris Toshok <toshok@ximian.com>
1050 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
1051 return (via an out parameter) the starting X of the column.
1052 (UpdateVisibleColumn): track change to FromPixelToColumn.
1053 (HitTest): add a ColumnResize case here.
1054 (DrawResizeLine): new function, probably poorly named.
1056 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
1057 only need to keep one reference.
1058 (set_ListManager): same.
1059 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
1060 Also, add support for HitTestType.ColumnResize.
1061 (OnMouseMove): add column resize behavior here, and change the
1062 cursor to the correct one as we move around the datagrid.
1063 (OnMouseUp): terminate the column resize if we're resizing.
1064 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
1065 for the current cell.
1066 (ConnectListManagerEvents): use cached_currencymgr.
1067 (DisconnectListManagerEvents): fill this in, using
1069 (SetCurrentCell): remove cached_currencymgr_events handling.
1070 (SetDataMember): only call DisconnectListManagerEvents if
1071 cached_currencymgr is != null.
1072 (SetDataSource): same.
1073 (OnListManagerCurrentChanged): cached_currencymgr_events ->
1076 2006-05-31 Jackson Harper <jackson@ximian.com>
1078 * BindingManagerBase.cs: Remove somedebug code that creeped into
1080 * TreeNode.cs: We get the indent level dynamically right now, so
1081 don't track it as a member.
1082 * TreeNodeCollection.cs: Make sure all nodes added to the list
1083 have parents, treeviews/topnodes setup properly.
1084 - Don't attempt to track indent level.
1086 2006-05-30 Jackson Harper <jackson@ximian.com>
1088 * BindingContext.cs: Create the currency manager tables here.
1089 This allows us to more easily create null tables (when bad data
1090 members are used), and more easily create related currency
1092 * CurrencyManager.cs: All the table creation stuff is done by the
1093 binding context now.
1094 - Current should throw an exception if listposition is -1.
1095 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
1098 2006-05-30 Mike Kestner <mkestner@novell.com>
1100 * ListView.cs: allow reexpansion of zero-width column headers.
1103 2006-05-28 Chris Toshok <toshok@ximian.com>
1105 * CurrencyManager.cs (get_Current): after the late binding
1106 listposition = -1 fix, we need to guard against it here and return
1107 null, otherwise we raise an exception (which is swallowed
1108 elsewhere, and breaks datagrid databinding.)
1110 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
1112 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
1113 than WM_SYSKEY, don't throw if get something unexpected (#78507)
1115 2006-05-26 Jackson Harper <jackson@ximian.com>
1118 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
1119 values, it's faster and it's all we care about (we don't care if
1120 the names aren't equal).
1121 * KeyboardLayouts.cs: Eliminate some dead code.
1123 * X11Keyboard.cs: Lazy init keyboard detection.
1124 - Cleanup access modifiers a little.
1126 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
1128 * XplatUIX11.cs: Once again, attempting to get layout just right.
1130 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
1132 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
1133 the sizes of each link section, that will result in sizes that
1134 match DrawString's layout (Fixes #78391)
1136 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
1138 * FileDialog.cs: If AddExtension property is true autocomplete the
1139 extensions in SaveFileDialog correctly. Fixes bug #78453.
1140 Set MyNetwork and MyComputer to "C:\" for windows. This should
1141 fix part 8 of bug #78446 for now.
1143 2006-05-26 Chris Toshok <toshok@ximian.com>
1145 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
1146 invalidate the current row header if we need to, but presumably
1147 we'll invalidate the row corrsponding to the bounds or
1149 (GridHScrolled): switch back to this method, as it's part of the
1151 (GridVScrolled): same.
1152 (OnMouseWheel): hack up something that more or less works. Call
1153 GridHScrolled/GridVScrolled directly, instead of duplicating much
1155 (EnsureCellVisibility): reinstate a bunch of this code, since we
1156 can't just set the scrollbar Value and expect to do all the work
1157 in the ValueChanged handler. Also, Call Update() after scrolling
1158 in one direction so the other XplatX11.ScrollWindow call has the
1159 proper stuff in the proper places.
1160 (EditCell): set is_editing to true before calling .Edit.
1162 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
1163 don't bother comparing first.
1164 (OnKeyPress): call grid.ColumnStartedEditing before calling
1165 base.OnKeyPress. this will set is_changing and invalidate the row
1166 header if necessary.
1167 (ProcessKeyMessage): for WM_CHAR messages, call
1168 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
1171 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
1172 it's done in the DataGrid.
1173 (NextState): call grid.ColumnStartedEditing, which takes care of
1174 invalidating the row header (and setting is_changing).
1176 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
1177 here. it's done in the DataGrid.
1179 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1181 * Control.cs: allow changing the cursor when the mouse position is
1182 out of bounds but Capture is set.
1183 * LinkLabel.cs: handle the case when the mouse button is pressed on the
1184 linklabel but released somewhere else.
1186 2006-05-25 Jackson Harper <jackson@ximian.com>
1188 * TreeView.cs: When we get focus if there is no selected node make
1190 - Remove some uneeded setup code from Draw.
1191 * TreeNodeCollection.cs: If the tree doesn't have a top node when
1192 a new node is inserted make the new node the top.
1194 * Timer.cs: Use Utc time so that no local time zone stuff needs to
1195 be used (should be faster).
1197 2006-05-25 Chris Toshok <toshok@ximian.com>
1199 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
1200 problem with the last commit.
1202 2006-05-25 Chris Toshok <toshok@ximian.com>
1204 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
1205 need the invalidate call here, while scrolling right-to-left via
1206 the left arrow key (i.e. moving the editing cell while scrolling).
1208 * DataGrid.cs (.ctor): remove the initialization of
1209 ctrl_pressed/shift_pressed. We no longer track them using key
1210 up/down handlers, but by using Control.ModifierKeys. Also, switch
1211 to using ValueChanged handlers on the scrollbars instead of
1212 Scrolled event handlers. This simplifies a bunch of the scrolling
1214 (GridHValueChanged): rename from GridHScrolled, and change it to
1215 work with the new event args.
1216 (GridVValueChanged): same.
1217 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
1218 (OnMouseWheel): actually scroll the datagrid. Don't change the
1220 (ProcessGridKey): correct all the keyboard navigation stuff I
1221 could find. Ctrl up/down/left/right/home/end work now.
1222 (EnsureCellVisibility): correct method name spelling. Also,
1223 simplify this a touch by not explicitly calling the
1224 ScrollToRow/ScrollToColumnInPixels methods. We just set the
1226 (OnKeyUpDG): no need for this method now.
1228 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * LinkLabel.cs: display the OverrideCursor when hovering the label.
1233 2006-05-25 Chris Toshok <toshok@ximian.com>
1235 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
1238 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1240 * Application.cs: Moved setting of is_modal and closing to before
1241 we create the control, to allow the event handlers called as a
1242 result of creation affect closing. Also removed Gonzalo's previous
1243 change to setting DialogResult, the behaviour has been moved to
1246 - ShowDialog(): Removed explicit creation of the form, let RunLoop
1248 - ShowDialog(): If no dialog result is set, we need to return Cancel
1249 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
1250 the close is cancelled
1252 2006-05-25 Jackson Harper <jackson@ximian.com>
1254 * StatusBar.cs: We only need to update the sizes of the other
1255 panels when we have auto size contents. Also we are only updating
1256 the contents of the panel, not the borders, so compensate for the
1257 border width (TODO: get this width from the theme somehow).
1258 * TreeView.cs: Scrollable is true by default
1259 - Use invalidate instead of refresh where needed
1260 - Factor the scrollable value into scrollbar updating
1261 - Update the scrollbars if the Scrollable property is altered
1262 - Update the selected node if its ImageIndex is changed
1263 - Handle null nodes in UpdateNode (mainly so we don't have to
1264 check if selected is null when updating it
1265 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
1266 are factored into the visible count
1267 - Use VisibleCount for clarity in the code
1268 - When the font is changed we need to recurse through all the
1269 nodes and invalidate their sizes
1271 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1273 * Application.cs: set the DialogResult to fixed when the main form is
1274 hidden or destroyed while being modal.
1276 2006-05-25 Miguel de Icaza <miguel@novell.com>
1278 * Theme.cs: Use Tangoified messagebox icons.
1280 (GetSizedResourceImage): Also cope with width = 0 and do not
1281 trigger a warning in that case (0 means "give me your icon from
1282 the resouce, no special size needed).
1284 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
1286 * Application.cs: Leave runloop if the the main modal form is
1287 hidden (fixes #78484)
1289 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
1291 * BindingContext.cs : reject null datasource in Contains() and
1293 * CurrencyManager.cs : check data_member validity when data_source
1294 is dataset. When it is late binding, the initial position is -1.
1296 2006-05-24 Jackson Harper <jackson@ximian.com>
1298 * TreeNodeCollection.cs: Dont't recalculate the visible order on
1299 inserted nodes that aren't visible. This changes the
1300 max_visible_order which confuses scrollbar settings.
1301 - Use the enumerator to get the prev node instead of duplicating
1303 * TreeView.cs: Use new method for setting scrollbar values
1304 - Don't set the bounds every time the scrollbar is updated
1305 - When updating below the root node use an invalidate instead of a
1306 refresh to prevent the child controls (scrollbars) from being
1307 refreshed. (UpdateBelow still needs to be reworked anyways).
1308 - Reenable SetBottom now that visible orders are set correctly,
1309 added some debug code incase we ever get bad values there again.
1310 - Set the scrollbar max to 2 less then the max value, this
1311 compensates for the max value being one above the node count, and
1312 for scrollbars adding one extra "notch".
1313 - When drawing image nodes if there is an imagelist we draw the
1314 first image in the list if the supplied image index is out of the
1315 image list's bounds.
1317 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1319 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
1320 we receive a size change from the WM (Fixes #78503)
1322 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1324 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
1325 rectangle (Fixes #78501)
1327 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
1330 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
1332 - Fixed MouseMove to no longer switch pressed state unless the left
1333 mouse button is pressed. Atsushi provided the original patch (#78485)
1335 2006-05-24 Jackson Harper <jackson@ximian.com>
1337 * ScrollBar.cs: New internal methods that allow us to change a
1338 couple values on the scrollbar (the most common case is maximum
1339 and large change) without getting multiple invalidates.
1341 2006-05-24 Chris Toshok <toshok@ximian.com>
1343 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
1344 (Edit): save off the original state in oldState, and set
1345 grid.is_editing to true.
1346 (OnKeyDown): abort editing if escape is pressed. also, call
1347 NextState if space is pressed.
1348 (OnMouseDown): call NextState.
1349 (NextState): factor out shared code from OnKeyDown and OnMouseDown
1350 here. Also, only invalidate the row header once (on the initial
1351 is_changing switch) to save on redraws.
1353 2006-05-24 Chris Toshok <toshok@ximian.com>
1355 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
1356 if the value in the cell is different than it was before. This
1357 keeps us from triggering a layout when we move around a datarid
1358 with a highlighted cell.
1359 (Edit): suspend layout when creating/positining the text box, and
1360 resume passing false so we don't ever actually re-layout.
1361 (ReleaseHostedControl): same.
1362 (EnsureTextBox): reformat slightly, and set WordWrap to false.
1364 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
1365 control-key sequences should go to the datagrid - remove that
1366 lock. Also, modify the conditions under which we move between
1367 cells when moving the cursor within a cell, and remove the "this"
1368 and "base" from field accesses. We weren't even consistent, given
1369 they all were in the base class.
1371 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
1373 * Binding.cs : (.ctor)
1374 An obvious NRE fix for BindingTest.CtorNullTest().
1376 2006-05-23 Chris Toshok <toshok@ximian.com>
1378 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
1379 them between lines. This fixes some quirks editing cells in the
1382 2006-05-23 Jackson Harper <jackson@ximian.com>
1384 * TreeView.cs: Use begin/end update when doing expand/collapse all
1385 so that we don't get flicker on the scrollbar.
1387 2006-05-23 Jackson Harper <jackson@ximian.com>
1389 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
1390 treenode calculations to be independant of the painting code. To
1391 do this nodes track a visible order which is calculated by the
1393 - Call new methods for expanding/collapsing nodes. These methods
1394 use scrollwindow so we don't have to update everything below the
1396 * TreeView.cs: Refactored drawing and scrolling code. We don't
1397 need to update nodes when drawing anymore or calculate scrollbar
1399 - Added new methods for expanding/collapsing nodes. These methods
1400 use ScrollWindow so as to not have to redraw all the nodes below.
1401 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
1402 we add/remove nodes or sort.
1403 - Handle removing the selected and the top node properly.
1405 2006-05-23 Chris Toshok <toshok@ximian.com>
1407 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
1408 maybe this should actually happen in the datagrid code?
1409 (EndEdit): no need to invalidate anything, given that
1410 ReleaseHostedControl causes the datagrid to relayout, which
1411 invalidates everything anyway.
1413 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
1415 (set_SelectionBackColor): call InvalidateSelection instead of
1417 (set_SelectionForeColor): same.
1418 (BeginEdit): Flesh this out a bit.
1419 (CancelEditing): only do any of this if we're editing/adding.
1421 (OnMouseDown): there's no need to cancel editing here, it's done
1423 (SetCurrentCell): only invalidate the current row header if it's a
1424 different row than the new one.
1425 (ShiftSelection): fix this to work like MS does.
1426 (ResetSelection): factor out the invalidation of selected_rows to
1427 InvalidateSelection.
1428 (SetDataSource): cancel any editing that's going on.
1430 * DataGridColumnStyle.cs
1431 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
1432 call the non-interface version.
1434 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
1435 header rectangle with the clip rectangle so we don't redraw the
1436 entire header for just a small area. Gets rid of the last flicker
1437 when horizontally scrolling.
1438 (DataGridPaintRow): same.
1440 2006-05-23 Mike Kestner <mkestner@novell.com>
1442 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
1443 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
1444 poorly placed checkbox on the MS control. Fixes Alex's unfiled
1445 Critical bug report.
1447 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1449 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
1450 and this fixes #78493
1452 2006-05-23 Miguel de Icaza <miguel@novell.com>
1454 * Theme.cs (GetSizedResourceImage): Scale images if the proper
1457 * FileDialog.cs: Do not change the background for the side bar as
1458 it wont work nicely with the theme, and also reduces the artifacts
1459 in rendering the icons (which I want to fix too).
1461 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
1462 resources, not resgen resources.
1464 (PlatformDefaultHandler): Pull images using the new API.
1466 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
1468 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
1469 a reference to the hwnd and will not remove it unless there are
1470 no pending exposures (fixes #78341)
1471 * XplatUI.cs: Improved debug
1473 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
1475 * MenuAPI.cs : don't handle OnClick event when it was not the left
1476 button. Fixed bug #78487.
1478 2006-05-23 Mike Kestner <mkestner@novell.com>
1480 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
1481 prefer submenus to the top menu for item lookup, to avoid popping down
1484 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
1486 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
1487 Graphics.FillRectangle as the visual results are really bad (even
1488 on win). We now draw perfect arrows (and perfect shadows when the
1489 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
1490 Pen.DashPattern to draw the dots of each line.
1492 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
1494 * FileDialog.cs: Update the filename combobox when navigating through
1495 the ListView with the cursor keys. Fixes part 7 of bug #78446.
1497 2006-05-22 Mike Kestner <mkestner@novell.com>
1499 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
1502 2006-05-22 Mike Kestner <mkestner@novell.com>
1504 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
1505 requests. Fix a misspelled parameter and a copy paste exception error
1508 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
1510 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
1511 to get the same width/height (5/13) on X11 as the default font has on
1512 win32. This means that our DefaultFont emSize is smaller than the
1513 the MS SWF equivalent (even thought the width/height stays the same)
1515 2006-05-20 Jackson Harper <jackson@ximian.com>
1518 * MdiWindowManager.cs:
1519 * InternalWindowManager.cs: Make sure to use the border width from
1522 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
1524 * PrintDialog.cs: Implements printer details
1526 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
1528 * FileDialog.cs: Added focus handling for PopupButtonPanel.
1529 Fixes part 1 and 2 of bug #78446
1531 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
1533 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
1534 instead of sticking to the first ever calculated value
1536 2006-05-19 Mike Kestner <mkestner@novell.com>
1538 * ComboBox.cs: fix mouse motion selection to use MousePosition and
1539 PointToClient, since Capture is set. Fixes #78344.
1541 2006-05-19 Mike Kestner <mkestner@novell.com>
1543 * ListView.cs: match MS behavior in Details view where items are not
1544 drawn if Columns.Count == 0.
1545 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
1546 Use a separate pen to draw the check, since changing the width affects
1547 the box as well. Fixes #78454.
1549 2006-05-18 Miguel de Icaza <miguel@novell.com>
1551 * ListView.cs: ArgumentOutOfRangeException, single versions of the
1552 exception should throw the name of the invalid argument.
1554 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
1555 there are no files listed.
1557 2006-05-18 Jackson Harper <jackson@ximian.com>
1559 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
1562 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1564 * Control.cs: Brought back our old UpdateZOrder method as a private
1565 function and switched our calls from UpdateZOrder to the new one.
1566 This fixes the Paint.Net canvas disappearing bug.
1568 2006-05-18 Jackson Harper <jackson@ximian.com>
1571 * ThemeWin32Classic.cs:
1572 * InternalWindowManager.cs: Move the drawing into the theme,
1573 expose everything the theme should need from the window manager.
1575 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1577 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
1578 from the call to NativeWindow to avoid walking up the parent chain
1579 further than needed (speeds up setting cursors and avoids setting
1580 the wrong cursor if a parent has another cursor defined)
1581 * Cursor.cs: When loading an icon as cursor, MS uses the center of
1582 the icon as hotspot, not what's contained as hotspot in the icon
1583 file. This fixes the perceived drawing offset seen with Paint.Net
1585 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1588 - Store the calculated rectangle in Hwnd object and use it when
1589 setting the client size
1590 - Force Toolwindows to always be type Dock, to ensure they're on top
1592 2006-05-18 Mike Kestner <mkestner@novell.com>
1594 * ComboBox.cs: first pass at ComboBox rework. Layout is more
1595 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
1596 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
1597 Substantial refactoring to remove confusing nested classes. Coding
1598 standard and Get+Set->property refactorings. Shift to index based
1599 highlighting in ComboListBox instead of constantly using IndexOf and
1600 Items[]. Add invalidations on resize for DropDownList to fix ugliness
1601 in FileDialog growth. Draw borders manually since Simple mode needs
1602 to look like two independent controls. Make listbox border
1603 conditional to DropDownStyle. Improved OwnerDraw support.
1605 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
1607 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
1608 Don't set the disposed graphics to null, so we can throw the "right"
1609 exception if the graphics is reused later (added a flag to avoid
1610 double disposing). Some behaviours are different under 2.0 and are
1611 filled under bug #78448.
1613 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
1615 * Control.cs: When double-buffering is enabled, we need to reset
1616 our graphics context between paint calls. Otherwise, any
1617 transformations and other alterations on the context will
1618 become cumulative (#77734)
1620 2006-05-18 Mike Kestner <mkestner@novell.com>
1622 * ListView.cs: do focused item selection like MS on clicks.
1623 Rework focus handling for ItemControl so LostFocus invalidates as
1625 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
1626 the ListView ItemControl has focus.
1628 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
1630 * XplatUIX11.cs: If client_window ends up being width or height zero
1631 due to border settings, move it off window inside whole_window (#78433)
1633 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1635 * Mime.cs: Shrink the mime file cache correctly.
1637 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
1639 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
1641 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1643 * XplatUIX11.cs (AddExpose): More sanity checks
1645 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1648 - AddExpose: Don't add expose ranges outside the size of our
1650 - Cast opacity values to Int32 to avoid crashes with certain
1652 - Added disabled code paths that protect against illegal cross-
1653 thread painting (Developers.exe)
1655 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1657 * ProgressBar.cs: Invalidate the control when it's resized
1658 since block size is based on control size. (#78388)
1660 2006-05-16 Miguel de Icaza <miguel@novell.com>
1662 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
1663 of setting the incoming argument to the "reset" value, we set the
1664 this.datamember to string.empty (before we were invalidating the
1669 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1671 * Form.cs: Only apply transparency settings after the form
1672 is created. (Fixes #77800)
1674 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1676 * ApplicationContext.cs: Grab the HandleDestroyed event so
1677 we know when to fire OnMainFormClosed
1679 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1681 * Application.cs: Introduced sub-class to allow tracking of
1682 threads and centralized triggering of the event mess for
1683 ThreadExit, AppExit, etc.. (#76156)
1685 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
1688 - Do not return a null icon index value for a mime subclass.
1689 Instead try the main mime type class too.
1690 - Seems that some newer distributions don't have a link to some
1691 gnome default icons anymore. So check the default gnome dir too.
1694 2006-05-16 Jackson Harper <jackson@ximian.com>
1696 * MdiClient.cs: Don't paint the parent background image if we have
1697 our own background image.
1699 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
1702 - PerformLayout: Do not shrink space filled by DockStyle.Fill
1703 controls, all filled controls are supposed to overlap (#78080)
1704 - UpdateZOrder is supposed to update the control's z-order in the
1705 parent's z-order chain. Fixed to behave like that
1706 - BringToFront: Removed obsolete code
1707 - SendToBack: Simplyfied
1708 - SetChildIndex: Trigger layout calculations when Z-order changes
1709 since layout is done by z-order
1711 2006-05-16 Chris Toshok <toshok@ximian.com>
1713 [ fixes bug #78410 ]
1714 * DataGrid.cs (set_AlternatingBackColor): use
1715 grid_drawing.InvalidateCells instead of Refresh().
1716 (set_BackColor): call grid_drawing.InvalidateCells.
1717 (set_BackgroundColor): use Invalidate instead of Refresh.
1719 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
1720 invalidate the cell area.
1722 2006-05-15 Chris Toshok <toshok@ximian.com>
1724 [ fixes bug #78011 ]
1725 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
1726 on to DataGridPaintRow.
1727 (DataGridPaintRow): take a clip argument, and only draw the cells
1728 which intersect it. same with the not_usedarea.
1730 * Theme.cs (DataGridPaintRow) add @clip parameter.
1732 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
1733 XplatUI.ScrollWindow.
1734 (ScrollToRow): same.
1736 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
1737 with last column which was causing a gray swath to appear with the
1738 XplatUI.ScrollWindow code.
1740 2006-05-15 Chris Toshok <toshok@ximian.com>
1742 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
1743 use XplatUI.ScrollWindow.
1744 (VerticalScrollEvent): use XplatUI.ScrollWindow.
1746 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1748 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
1750 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1752 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
1753 file since there are no equivalent X11 cursors
1755 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1757 * MonthCalendar.cs : DateTimePicker should reflect selected date
1758 on mouse*up*, not mouse*down*. Fixed originally reported part of
1761 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
1763 * TabControl.cs : When argument index is equal or more than tab
1764 count, just ignore. Fixed bug #78395.
1766 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
1768 * Control.cs: Dispose all child controls when control is diposed (#78394)
1770 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1772 * ColorDialog.cs: Finally it is possible to select the color with
1775 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1777 * PrintDialog.cs: Fix typo
1779 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
1781 * PrintDialog.cs: PrintDialog is not resizable
1782 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
1783 color. Made some ToolBar drawing methods protected virtual.
1785 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
1787 * PrintDialog.cs: Implementation of the PrintDialog
1789 2006-05-12 Chris Toshok <toshok@ximian.com>
1791 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
1792 thumb, instead use MoveThumb. This has the side effect of making
1793 most of the other thumb moving machinery use MoveThumb as well.
1794 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
1795 need to actually invalidate the rectangle where the new thumb will
1797 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
1798 We force an Update() after, so it's not as fast as it could be,
1799 but at least there's zero flicker and no droppings.
1800 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
1801 (UpdateThumbPos): add another argument (dirty), which says whether
1802 or not to calculate/add dirty regions which we later invalidate.
1803 For cases where we know we're going to use MoveThumb, we pass
1804 false for this. Otherwise, pass true.
1806 2006-05-12 Jackson Harper <jackson@ximian.com>
1808 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
1811 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
1813 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
1814 and GetClipRegion methods and UserClipWontExposeParent property.
1815 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
1816 overriding UserClipWontExposeParent property, setting to false, since
1817 Win32 handles the required expose messages to draw our clipped parent
1819 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
1820 PaintEventStart to set the user clip region if set.
1822 - Now internally tracking the Region for the control since we need to
1823 store it if the handle is not yet created and only set it when it
1824 becomes created. Before setting the region forced handle creation
1825 - Added code to draw the parents underneath a user-clipped region
1826 * Hwnd.cs: Added UserClip property
1828 2006-05-12 Chris Toshok <toshok@ximian.com>
1830 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
1831 (set_Maximum): same.
1832 (set_Minimum): same.
1833 (set_SmallChange): same.
1834 (OnMouseUpSB): remove the call to refresh when releasing the
1835 thumb. We shouldn't need it.
1837 2006-05-12 Miguel de Icaza <miguel@novell.com>
1839 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
1840 AutoSize set to None, we do not need to relayout everything, we
1841 just need to invalidate the current region.
1843 (Draw): Do not draw the entire ClientArea, just redraw the
1844 clip area being passed.
1846 * MdiClient.cs: Make MdiClient constructor with the Form argument
1849 2006-05-12 Jackson Harper <jackson@ximian.com>
1851 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
1852 parents background image, but strangely not their own.
1853 - (DrawStatusBarPanel): Take into account horizontal alignment
1854 when drawing the strings and icons.
1856 2006-05-12 Mike Kestner <mkestner@novell.com>
1858 * ListBox.cs: avoid invalidations for focus when the collection is
1861 2006-05-12 Chris Toshok <toshok@ximian.com>
1863 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
1864 invalidate the entire thumb area. Call InvalidateDirty which
1865 limits the redraw to the thumb itself and surrounding pixels.
1867 * XplatUIX11.cs (ScrollWindow): optimize copying.
1869 2006-05-12 Chris Toshok <toshok@ximian.com>
1871 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
1872 Figure out the positioning/layout in a single pass instead of
1873 multiple recursive invocations. Speeds up the initial display of
1874 the data grid. Also, make many things private that were
1875 originally public but unused outside this class.
1877 2006-05-11 Jackson Harper <jackson@ximian.com>
1879 * MdiClient.cs: Improved layout code.
1881 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
1883 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
1886 2006-05-11 Chris Toshok <toshok@ximian.com>
1888 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
1889 union of that will always be {0,0,width,height}.
1891 2006-05-11 Jackson Harper <jackson@ximian.com>
1893 * Form.cs: Match MS's DefaultSize for forms (they must have
1894 changed the size in sp2).
1896 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1898 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
1900 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
1902 * TextControl.cs : Fixed bug #78109. This incorrect position
1903 comparison caused crash on automatic line split.
1904 * TextBoxBase.cs : reduce duplicate code.
1906 2006-05-10 Jackson Harper <jackson@ximian.com>
1908 * MdiClient.cs: Active form is only sent to the back when using
1909 the Next form functionality, when a form is clicked the current
1910 active shouldn't be sent to the back.
1911 - Layout the mdi windows when the container is first made visible.
1912 * Form.cs: Give the MdiClient a ref to the containing form when we
1915 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1917 * LinkLabel.cs : link_font could be uninitialized, so populate one
1918 before actual use. Fixed bug #78340.
1920 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
1922 * XplatUIX11.cs : clipboard format native value is IntPtr.
1925 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1928 - Instead of showing context menus directly we send WM_CONTEXTMENU,
1929 which is passed up the parent chain by DefWndProc
1930 - We now handle WM_CONTEXTMENU to display any menu, or pass it
1931 to DefWndProc (#77956)
1932 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
1934 2006-05-10 Jackson Harper <jackson@ximian.com>
1936 * MdiClient.cs: We need to remove the controls from the mdi
1937 collection, when we close the window.
1938 * MdiWindowManager.cs: Special handling of closing mdi windows.
1939 * InternalWindowManager.cs: Make the close method virtual so the
1940 mdi window manager can handle it specially.
1942 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
1945 - Recalculate grid when the data source has changed
1946 - Matches styles provided by user from all data sources types
1947 * DataGridTableStyle.cs: For columns that provided by the user set the
1948 with the preferred value is there was unassigned.
1949 * CurrencyManager.cs: throw OnItemChanged event
1951 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1953 * PictureBox.cs: Don't animate until handle is created. Start animation
1954 when handle is created.
1956 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1958 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
1960 * XEventQueue.cs: We don't need to provide the extra info
1962 2006-05-10 Jackson Harper <jackson@ximian.com>
1964 * MdiClient.cs: If the mdi clients parent form has a background
1965 image set, we draw that background image for the mdi area's
1968 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
1970 * TextBoxBase.cs: Set IBeam cursor (#78347)
1972 2006-05-10 Mike Kestner <mkestner@novell.com>
1974 * ToolBar.cs: fix some text padding issues with ButtonSize
1975 calculation. Update the default size to match MS documentation.
1976 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1977 button size. Fixes #78296.
1979 2006-05-10 Mike Kestner <mkestner@novell.com>
1981 * ListBox.cs: use is_visible for scrollbar positioning in case the
1982 control isn't on screen yet. Fix off by one with Right vs Width
1983 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1985 2006-05-10 Jackson Harper <jackson@ximian.com>
1987 * X11Dnd.cs: Drop to a control with another control on top of it.
1988 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1989 be modified in click handlers. TODO: Look for similar problems in
1992 2006-05-09 Jackson Harper <jackson@ximian.com>
1994 * Form.cs: Window managers need the old window state when setting
1996 * InternalWindowManager.cs: Allow the base mdi window manager to
1997 handle more of the MDI only stuff (like maximize buttons).
1998 * MdiWindowManager.cs: Fix some snafus in changing the window
1999 state. Add all the menu functionality, for both popup and
2001 * MdiClient.cs: When a new form is selected the currently
2002 activated form is sent to the back, this matches MS.
2003 - Implement a new method to activate the next mdi child window.
2005 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
2008 - Added new InternalCapture method to allow controls to prevent
2009 the capture behaviour on the click handlers
2010 - Switched to use InternalCapture
2012 - Using InternalCapture to prevent mouse captures from being released
2013 on mouse button release (Fixes #78100)
2014 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
2015 returns Form borders if a caption is present. (Fixes #78310)
2017 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
2019 * TreeNode.cs: Changed serialization .ctor to not require every field
2020 to be present. (#78265)
2021 * OwnerDrawPropertyBag.cs: Added serialization .ctor
2023 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
2025 * MimeIcon.cs: for is faster than foreach for strings.
2027 2006-05-05 Mike Kestner <mkestner@novell.com>
2029 * CheckedListBox.cs: update check handling code to not use selected.
2030 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
2031 behavior for visual feedback, motion response, shift/ctrl handling,
2032 and properly deal with all 4 selection modes. Updates to bounds
2033 handling logic. Add scroll wheel support. [Fixes #77842]
2035 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
2038 - Moved adding of Implicit controls into .ctor. That way, subsequent
2039 creation of the controls will not cause them to think they are
2040 toplevel windows (fixes #78200 header problem)
2041 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
2042 - Switched visibility setting of header control to use internal field
2043 to avoid triggering handle creation
2044 - Now checking if handle is created before causing a refresh when items
2045 are added (This makes us now match handle creation time with MS)
2046 * Splitter.cs: Removed loading of private splitter cursor, switched to
2047 Cursors version now that that is loading the right ones
2048 * Cursors.cs: Load proper splitter cursors from resources
2049 * Cursor.cs: Added second method of loading resource cursors for the
2050 VS.Net users amongst us
2052 2006-05-05 Mike Kestner <mkestner@novell.com>
2054 * ListView.cs: give header_control a minimum size based on the
2057 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
2059 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
2060 window seems to do that with metacity, so set that type. (#78120)
2062 2006-05-05 Mike Kestner <mkestner@novell.com>
2064 * ListViewItem.cs: fix Details mode checkbox layout bug.
2065 * ThemeWin32Classic.cs: draw a ListView column header for unused space
2066 at the end of the header, if it exists. [Fixes for #78200]
2068 2006-05-04 Jackson Harper <jackson@ximian.com>
2070 * MdiClient.cs: Add a helper property to get the container form.
2071 * MdiWindowManager.cs: We have to make sure to use the menu origin
2072 when drawing the icons and buttons, this fixes maximized window
2073 icons/buttons on win32.
2074 * InternalWindowManager.cs: Reset the restore captions when a
2075 window goes from Maximized to Minimized and vice versa. Move the
2076 DrawMaximizedButtons into the MdiWindowManager source, tool
2077 windows can't be maximized. NOTE: This could use a little
2078 refactoring if time ever permits.
2080 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
2082 * TextBox.cs: Add MWFCategoryAttributes
2083 * TextBoxBase.cs: Add MWFCategoryAttributes
2084 * Form.cs: Add MWFCategoryAttributes
2086 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
2088 * Control.cs: Add MWFCategoryAttributes
2089 * ScrollableControl.cs: Add MWFCategoryAttributes
2091 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
2093 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
2094 Divider is true. Fix a little glitch in PropertyToolBar
2097 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
2100 - Dispose: Call base.Dispose, this causes the disposed event
2101 to be fired (and probably other, more important stuff)
2102 - SetVisibleCore: Set is_visible to true after creating the
2103 window so that the window still gets created invisible (if
2104 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
2105 to generate a WM_ACTIVE message
2106 * Form.cs: Call Dispose when we want to destroy the window, instead of
2107 just destroying the handle (Dispose will do that for us)
2109 - RootWindow also needs a queue, so we can properly process the
2110 property change events from RootWindow (like Activate)
2111 - Generatic synthetic WM_ACTIVE message when the active window is
2114 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
2116 * LinkLabel.cs: Trigger a recalc of our label dimensions when
2119 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
2121 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
2122 for determining width and height (image might not be assigned if
2123 we're drawing an imagelist)
2125 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
2127 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
2128 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
2130 * Theme.cs: No longer returns hardcoded menu height, instead calls
2132 * Form.cs (OnLoad): Scaling happens before triggering Load events
2135 2006-05-01 Mike Kestner <mkestner@novell.com>
2137 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
2139 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
2141 * TextBoxBase.cs: Removed Fixme
2142 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
2144 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
2147 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
2148 the rectangle relative to the parent, considering borders. We
2149 don't really want that.
2150 - ScrollWindow: Fixed warning to be more understandable
2151 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
2152 scrollbars and scroll only the visible area
2153 * RichTextBox.cs: Removed debug output
2155 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2157 * NumericUpDown.cs (Text): Just use base
2158 * UpDownBase.cs: Ensure txtView is created before using it
2160 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2162 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
2163 casting to IntPtr to avoid 64bit overflow errors
2165 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2168 - AllowDrop: Don't force handle creation.
2169 - CreateHandle: Added call to tell driver if we're allowed to drop
2171 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2173 * FileDialog.cs: Remember the last directory not only for the
2174 current instance but also for new FileDialog instances.
2176 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2178 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
2179 broke sending async messages
2181 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
2184 - ScrollWindow: Fixed method. We finally generate expose events again
2185 for scrolled areas. This was causing 'garbage' when scrolling
2186 textbox and other controls that used ScrollWindow
2187 - Switched from using the regular queue for paint events to the MS
2188 model of 'generating' paint events when the queue is empty.
2189 We use the new XQueueEvent.Paint subclass to store which windows
2191 - AddExpose now takes the x/y/width/height of the exposed area
2192 and inserts the window into the paint queue if not already there
2193 - InvalidateWholeWindow: Switched to use new AddExpose method
2194 - UpdateMessageQueue: Added which queue to monitor for paint events
2195 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
2196 the unlikely case nothing above handles it. We reset the expose
2197 pending states to get them off the queue.
2198 - GetMessage: Now pulls a paint event if no other events are in the
2200 - Invalidate: Switched to new AddExpose method
2201 - PeekMessage: Updated to understand pending paint events
2202 - UpdateWindow: Fixed logic bug. We were only updating if the window
2203 didn't need updating. Also switched to sending WM_PAINT directly,
2205 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
2206 and random access Remove(). The random access is needed to handle
2207 UpdateWindow() where a WM_PAINT is sent directly without accessing
2209 * ScrollBar.cs: Added Update() calls to cause immediate updates to
2210 allow for better feedback when scrolling. Scrollbars are small and
2211 the immediate update should make it 'feel' more responsive without
2212 slowing things down. ScrollBar still needs it's invaliate logic
2213 updated to not always invalidate the whole bar on certain changes.
2215 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2218 (BackColor): if the control does not support a transparent background,
2219 return the default backcolor when the parent backcolor is transparent.
2221 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
2223 * Application.cs: Updated to new StartLoop/GetMessage API
2224 * RichTextBox.cs: Provide some output on RTF parsing errors
2225 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
2226 new queue_id argument to GetMessage and PeekMessage to allow faster
2227 handling of per-thread queues in drivers.
2228 * Hwnd.cs: Added Queue tracking and property
2229 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
2230 * XEventQueue.cs: Added thread trackingA
2231 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
2233 - Implemented new per-thread queue
2234 - GetMessage: Fixed return/break behaviour on several cases. We were
2235 returning stale messages in some cases, instead of just processing
2238 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2240 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
2242 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
2244 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
2245 fixed off-by-one comparisons between Width/Height and Right/Bottom.
2247 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
2249 * PropertyGridView.cs: Fix drop down width.
2251 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2253 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
2254 a mess in DrawToolBar, so I removed one of them.
2256 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
2258 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
2259 needed (clip). Otherwise we get artifacts.
2261 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2263 * FixedSizeTextBox.cs: Added constructor to allow specifying which
2265 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
2266 and switched FixedSizeTextBox to only be fixed vertical (#78116)
2267 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
2268 if it matches the scale base font (avoids unneeded scaling)
2270 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2272 * X11DesktopColors.cs: One gtk_init_check should be enough
2274 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2276 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
2279 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
2282 - Generate OnTextChanged for Backspace even if we're only deleting
2283 the current selection
2284 - When setting the Text property, only select all text if the
2285 control does not have focus when it is being set. Otherwise
2286 just place the cursor at the beginning of the control
2288 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
2290 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
2291 Added a little helper to draw PropertyGrid ToolBar with a different
2292 border and a different BackColor.
2293 * PropertyGrid.cs: Some background parts didn't get painted with the
2294 correct background color. Added a class that helps us to draw the
2295 correct border for PropertyGridView and a class that helps us to
2296 draw ToolBars with a different backcolor
2297 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
2299 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
2301 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
2302 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
2304 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2306 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
2307 into the palette entries. Also, since we're working on a copy
2308 we needed to copy the palette back onto the bitmap.
2309 * Cursor.cs: Same fix as XplatUIWin32.cs.
2311 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2313 * ImageListStreamer.cs: Need to read the var (or we're off)
2315 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
2317 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
2318 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
2319 TextBoxBase.cs: Unused var fixes
2320 * AxHost.cs: Small 2.0 fix
2321 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
2322 as it seems that is what at least Metacity expects. This will make
2323 icons show up on 64bit platforms. We still have some 64bit size
2324 issues, though, since the startup app window size still won't match.
2326 2006-04-25 Mike Kestner <mkestner@novell.com>
2328 * *.cs: cleanup newly reported exception var unused warnings.
2330 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2332 * ThemeWin32Classic.cs: Button image alignment now matches exactly
2335 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2337 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
2338 image. The image position is always the same, no matter if the
2339 button is pressed or not.
2341 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
2343 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
2344 selection and set the correct filename for SaveFileDialog.
2345 Patch by Emery Conrad.
2347 2006-04-24 Mike Kestner <mkestner@novell.com>
2349 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
2350 check for item.X outside the ClientRect instead of item.Y. Fixes
2353 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2355 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
2356 trust that value blindly and do some sanity check. Fixes bug #77814.
2358 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2360 * ImageListStreamer.cs: save the mask as a 1bpp image.
2362 2006-04-21 Mike Kestner <mkestner@novell.com>
2364 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
2365 pass Checked and Indeterminate to the Theme Engine. Improve
2366 encapsulation with ListBox.
2367 * ListBox.cs: Keep a StringFormat instead of calculating it every item
2368 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
2369 nested types. Move all CheckState functionality to CheckedListBox.
2370 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
2371 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
2372 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
2373 single base list. Fix scrollbar sizing and placement to mirror MS.
2374 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
2376 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
2377 for CheckedListBox by using new DrawItemState info. Center the
2378 checkboxes on the items. Use new StringFormat property.
2380 2006-04-18 Jackson Harper <jackson@ximian.com>
2382 * Form.cs: MdiChildren don't do default locations the same way as
2383 regular forms. This prevents a crash when trying to position the
2386 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
2388 * PropertyGridTextBox.cs: Formatting, copyright
2389 * PropertiesTab.cs: Formatting
2390 * PropertyGrid.cs: Formatting
2391 * PropertyGridView.cs: Formatting, fix drop down, enabled double
2392 click toggling of values
2394 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
2396 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
2397 * Control.cs (.ctor): verify_thread_handle is static, don't reset
2398 every time a control is created
2399 * Application.cs: Removed obsolete EnableRTLMirroring method
2401 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
2403 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
2404 SelectedIndex to -1. Fixes bug #78121.
2406 2006-04-17 Jackson Harper <jackson@ximian.com>
2408 * Binding.cs: Handle null values for Current and BindingContext.
2409 This occurs when binding is a little delayed.
2410 * CurrencyManager.cs: return null for Current when there are no
2412 - Hookup to the listchanged event on the DataView and update
2413 bindings when the list is changed. This fixes late binding of
2416 2006-04-17 Jackson Harper <jackson@ximian.com>
2419 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
2422 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
2424 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
2426 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
2427 with the correct ButtonState
2429 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
2431 * XplatUIX11.cs: Improved distinguishing between window types to
2432 tell the WM a type closer to what the app wants (Fixes #78107)
2434 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2436 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
2439 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
2441 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
2442 drawing code to reflect the size grip changes
2444 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2446 * ImageListStreamer.cs: fix handling of the mask that follows the main
2447 bitmap when deserializing and serialize it properly. The generated mask
2448 should better be a 1bpp image, but I'll do that later.
2450 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2452 * FileDialog.cs: Show something in the DirComboBox on *nix if the
2453 path doesn't fit into some of our Current.Places
2455 2006-04-13 Jackson Harper <jackson@ximian.com>
2457 * ComboBox.cs: Use borders instead of drawing our own decorations,
2458 try to obey correct rules for heights.
2461 * ThemeClearLooks.cs:
2462 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
2463 this is now handled by borders.
2464 - Remove unused DrawListBoxDecorationSize method.
2466 2006-04-13 Mike Kestner <mkestner@novell.com>
2468 * MenuAPI.cs: null guarding for the disbled click check fixes crash
2471 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
2473 * ThemeWin32Classic.cs:
2474 - Fixed CPDrawStringDisabled
2475 - Corrected drawing of disabled menu items
2476 - Fixed drawing of disabled radio buttons (bug #78095)
2477 - Draw check in a disabled CheckBox with color ControlDark
2479 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2481 * Form.cs: Use the provided width when calculating the menu size;
2482 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
2483 and ClientSize.Width won't be updated yet
2484 * Application.cs: Use Visible instead of Show() to make form visible,
2485 this way we create the handle later and menusize is considered
2487 2006-04-12 Mike Kestner <mkestner@novell.com>
2489 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
2492 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2494 * TextBox.cs: Implemented context menu
2496 2006-04-12 Mike Kestner <mkestner@novell.com>
2498 * ListView.cs: implement box selection. fixes #77838.
2499 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
2501 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2503 * XplatUIX11.cs: Added setting of window type when transient window
2504 is created (metacity would move it otherwise)
2505 * X11Structs.cs: Added WINDOW_TYPE atoms
2506 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
2507 background (the control is Opaque but still wants transparent
2510 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2512 * Control.cs: Added OnPaintBackgroundInternal to allow controls
2513 that set Opaque but don't mean it (like all ButtonBase-derived
2514 controls) to still draw their background
2515 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
2518 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2520 * Control.cs (PaintControlBackground): Set the graphics object
2521 on our PaintEvent to null to prevent it from being disposed
2522 when the PaintEvent gets disposed
2524 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
2526 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
2527 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
2529 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
2532 - Added transparency check to BackColor property. Transparent
2533 backgrounds are only allowed if the control styles permit it
2534 - Added recursive painting of parent control background and
2535 foreground if a control with a transparent backcolor is drawn
2536 (Thanks to Tim Ringenback for providing his 'hack' as a base
2537 for this patch) Fixes #77985 and #78026.
2538 - Added Opaque style check before calling OnPaintBackground, no
2539 need to draw the background if the control is opaque
2540 - Removed ControlAccessibleObject owner variable (inherited from
2541 base, no need to define again)
2542 - Added some documentation links explaining the drawing events
2545 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2547 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
2548 that the affected control is the located at the left border of our
2549 parent (Fixes #77936)
2551 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2553 * TextBoxBase.cs: When rendering disabled or readonly controls,
2554 draw the background with 'Control' instead of 'Window' color as
2555 long as the user hasn't specifically set a color
2557 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2559 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
2560 since that won't be updated if the user types text (only if it's
2561 programatically set)
2563 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2565 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
2566 layout changes do to app-triggered resizes will have the proper
2567 display rectangle for layout
2569 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
2571 * ThemeWin32Classic.cs:
2572 - Make use of the SystemBrushes and SystemPens wherever possible
2573 - Corrected some highlight colors
2574 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
2576 * Theme.cs: Added Empty field to CPColor struct
2578 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
2580 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
2581 is displayed when calculating the display rectangle. Thanks to Mike
2582 for teaching me the err of my ways.
2584 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
2586 * ScrollableControl.cs:
2587 - Rewrote DisplayRectangle code, now returning the proper x/y coords
2588 (instead of 0,0) and we now return the real width/height instead of
2589 just the clientrectangle, adjusted for padding. The rectangle is
2590 now cached and created by the new CalculateDisplayRectangle method.
2591 - Created new CalculateDisplayRectange method, which basically does
2592 what get_DisplayRectangle() did originally, but now using the
2593 right edge instead of DisplayRectangle to determine the size of
2595 - get_Canvas(): Fixed it to properly calculate canvas for
2596 right/bottom controls which seem to be placed to the right/bottom
2597 of any controls that have a fixed location
2598 - Removed TODO that's taken care of
2599 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
2600 and SetDisplayRectLocation according to new MSDN2 docs
2601 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
2602 event when that is called, this is added for compatibility
2603 - ScrollControlIntoView(): Implemented.
2604 - Switched scrollbars to be implicit, they shouldn't be selectable
2605 * ContainerControl: Now that ScrollControlIntoView is implemented, we
2606 call it when the active control is set/changed
2607 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
2608 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
2609 implicit_control variable (used for native Win32 message generation)
2610 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
2611 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
2612 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
2613 * XplatUIStructs.cs: Added ScrollBarCommands enum
2615 2006-04-10 Jackson Harper <jackson@ximian.com>
2618 * CheckedListBox.cs:
2625 * PrintPreviewControl.cs:
2631 * UpDownBase.cs: Fixup base event overrides.
2633 2006-04-06 Mike Kestner <mkestner@novell.com>
2635 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
2636 all user-initiated value changes to min <= value <= max-thumbsz+1.
2637 (set_Value): check for vert/horiz when calculating new thumb position.
2638 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
2640 (OnMouseMoveSB): refactor the thumb dragging code and refine
2641 invalidation logic to reduce flicker.
2642 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
2643 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
2644 (UpdateThumbPosition): small code readability cleanup
2646 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
2648 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
2651 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2653 * ThemeNice.cs: Use a better graphics effect when a button is pressed
2655 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
2657 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
2658 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
2659 This dramatically reduces the number of Pen.Dispose calls.
2660 Where possible call ResPool methods only once instead of calling it
2661 over and over again (for example for the same color).
2663 2006-04-06 Mike Kestner <mkestner@novell.com>
2665 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
2666 Also remove an unused private field on the collection. Fixes #77972.
2668 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2670 * ThemeNice.cs: Added ToolBar drawing code
2672 2006-04-06 Mike Kestner <mkestner@novell.com>
2674 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
2675 I'm assuming that means we need to look up the toplevel for the
2676 provided control. Fixes the crash trace in #77911 but exposes another
2677 crash in some strange reflection usage in NDocGui.
2679 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
2681 * ThemeNice.cs: Gave it a little silver touch and added Images
2683 * FontDialog.cs: FontDialog is not resizable
2684 * FileDialg.cs: Added SizeGripStyle.Show
2686 2006-04-05 Jackson Harper <jackson@ximian.com>
2688 * KeyboardLayouts.cs: Remove warning.
2690 2006-04-05 Jackson Harper <jackson@ximian.com>
2692 * Control.cs: Enable OnPaintInternal so we can use it for drawing
2693 all of our controls instead of Paint +=.
2708 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
2709 use OnPaintInternal. Remove Width/Height and Visible checks in
2710 paint handler, this is done at a higher level now.
2711 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
2712 * PaintEventArgs.cs: Add a handled flag so controls that don't
2713 want anymore painting after OnPaintInternal can make sure OnPaint
2716 2006-04-05 Mike Kestner <mkestner@novell.com>
2718 * Form.cs: fix the menu WndProc hacks to respect the native enabled
2719 state of the form, so that we don't process events when Modal dialogs
2720 are up. Fixes #77922.
2722 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
2724 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
2727 2006-04-05 Mike Kestner <mkestner@novell.com>
2729 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
2731 2006-04-05 Mike Kestner <mkestner@novell.com>
2733 * ListView.cs (HeaderMouseMove): null guarding for the over column
2734 when setting up the drag_to_index. Fixes #78015.
2736 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2738 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
2739 in the taskbar. Transient windows seem to accomplish that.
2741 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
2744 - Re-enabled CreateParams.X/Y code for FormStartPosition
2745 - Added code for manual placement when creating the Control
2746 - Incomplete patch to treat MDI forms differently when
2747 setting the ClientSizeCore. (Still need to figure out handling
2750 - When we're explicitly setting the X/Y position of a non-Child
2751 window, let the WM know. Metacity really wants this.
2753 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2755 * ThemeNice.cs: Added CPDrawButton
2757 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2759 * ThemeNice.cs: Changed the color for focused buttons and activated
2760 the arrows for small scroll buttons.
2762 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
2764 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
2765 anymore. Changed some method modifiers to protected (virtual)
2766 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
2768 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
2769 Updated drawing of menus, buttons and progressbars; added
2772 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2774 * ImageListStreamer.cs: implemented serialization/deserialization
2777 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
2779 * ThemeWin32Classic.cs:
2780 - Removed all the DrawFrameControl stuff; CPDrawButton,
2781 CPDrawCheckBox and CPDrawRadioButton are now handled directly
2783 - Updated and corrected the drawing code of CPDrawButton,
2784 CPDrawCheckBox and CPDrawRadioButton to better match ms
2785 - Updated theme checkbox and radiobutton code to use the CP*
2788 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2790 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
2793 2006-03-31 Jackson Harper <jackson@ximian.com>
2795 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
2797 * UpDownBase.cs: Don't CreateGraphics manually, use a
2798 Refresh. Ideally we would invalidate the correct areas here.
2800 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2803 - We now track the mapping state of windows. If a window (or
2804 one of it's parents) is not mapped we no longer permit
2805 WM_PAINT messages to be generated since we'd otherwise get
2806 lots of BadMatch X errors. Jackson did all the work figuring
2808 - Destroying the caret if the window it's contained in is
2809 destroyed. Can't use regular DestroyCaret method since it
2810 might fall into a drawing function (trying to remove the
2811 caret) and with that generate new BadMatch errors. Again,
2812 Jackson tracked this down.
2813 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
2814 make sure we send the messages to all windows. (The old code
2815 would send the WM_DESTROY to the window, and then all child
2816 windows would be 'gone' because the WM_DESTROY handle lookup
2817 would no longer find the destroyed window)
2818 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
2819 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
2821 2006-03-31 Jackson Harper <jackson@ximian.com>
2823 * ScrollableControl.cs: Dont recalc if we are not visible.
2825 2006-03-31 Mike Kestner <mkestner@novell.com>
2827 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
2828 the visibility branch.
2830 2006-03-31 Jackson Harper <jackson@ximian.com>
2832 * ScrollBar.cs: Cap values when incrementing/decrementing.
2834 2006-03-31 Mike Kestner <mkestner@novell.com>
2836 * MenuAPI.cs: setup menu.tracker for popup/context menus.
2837 * ToolTip.cs: guard against timer expirations with no active control.
2838 Not sure why it happened.
2840 2006-03-31 Mike Kestner <mkestner@novell.com>
2842 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
2844 * ToolTip.cs: Position the tooltip based on where the cursor is at
2845 popup time, not at MouseEnter time. Add a Down state so that we don't
2846 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
2847 positioning offset. Lookup DisplaySize at positioning time, since it
2848 can theoretically change during invocation.
2849 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
2850 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
2852 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2854 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
2855 Fixes behaviour when the Text property of the box is String.Empty
2857 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
2859 * XplatUIX11.cs: Only send mouseleave for our client windows, not
2860 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
2863 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2865 * FileDialog.cs: Visual enhancement for the popup buttons in
2868 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
2870 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
2873 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
2875 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
2876 highlighted menu items to match ms
2878 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
2880 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
2882 2006-03-30 Mike Kestner <mkestner@novell.com>
2884 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
2885 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
2886 go active to account for HotLight to Selected transition.
2887 * MenuItem.cs: add internal Selected prop. Fill out the Status
2888 property by calculating it from item info. Add HotLight,
2889 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
2891 2006-03-30 Mike Kestner <mkestner@novell.com>
2893 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
2895 2006-03-29 Jackson Harper <jackson@ximian.com>
2897 * Form.cs: Implement TODO.
2899 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2901 * PrintPreviewDialog.cs: Implemented missing methods and events; still
2902 missing proper dialog setup in the constructor
2904 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
2906 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
2908 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
2909 - Fixed ResetBindings and removed TODO
2910 - Added check for cross-thread calls to get_Handle()
2911 - Added Marshaller attribute for set_Font to satisfy class status
2912 * FontDialog.cs: Removed TODOs that seemed implemented
2913 * UpDownBase.cs: Removed unneeded TODO and Fixme
2914 * MessageBox.cs: Implemented support for Default button and removed TODO
2915 * FileDialog.cs: Removed obsolete TODO
2916 * DomainUpDown.cs: Removed obsolete TODO
2917 * ButtonBase.cs: Removed obsolete TODO
2918 * XplatUIWin32.cs: Removed obsolete TODO
2920 - Removed obsolete TODO
2921 - Calling CheckAcceptButton when the acceptbutton is changed to allow
2922 internal status updates
2923 - Making sure the active control is selected when the control is created
2924 * CurrencyManager.cs: Removed obsolete TODO
2926 2006-03-29 Mike Kestner <mkestner@novell.com>
2928 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
2929 of PrintPreviewDialog and RichTextBox.
2931 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2933 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
2934 DarkDark, Light and LightLight colors for a specific color
2935 * ThemeWin32Classic.cs:
2936 - Use Button drawing code to draw RadioButtons and CheckBoxes with
2938 - Make use of the new ResPool helper CPColor
2939 - Draw ProgressBar and StatusBar with correct 3D borders
2941 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
2943 * ColorDialog.cs: Return selected color. Fixes bug #77940.
2945 2006-03-28 Mike Kestner <mkestner@novell.com>
2947 * ListView.cs: fix Icon layout to plan for scrollbar widths when
2948 calculating col/row counts.
2950 2006-03-28 Mike Kestner <mkestner@novell.com>
2956 switch to explicit interface method implementation for some methods
2957 corcompare identifies as inconsistent with MS.
2959 2006-03-28 Mike Kestner <mkestner@novell.com>
2963 add a few missing methods from the class status output.
2965 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
2967 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
2970 2006-03-28 Mike Kestner <mkestner@novell.com>
2972 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
2974 2006-03-27 Mike Kestner <mkestner@novell.com>
2976 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2977 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2979 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2981 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2983 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2985 * ThemeWin32Classic.cs:
2986 - GroupBox: Inserted a little gap between the text and the lines
2988 - Made the code in CPDrawBorder3D more readable
2989 - Corrected the drawing location of the up and down arrows in
2992 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2994 * ControlPaint.cs: Corrected line widths in DrawBorder for
2995 ButtonBorderStyle Inset and Outset
2997 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2999 * ThemeWin32Classic.cs:
3000 - Rewrote the totally broken CPDrawBorder3D method. That was
3001 one of the main problems for the terrific ThemeWin32Classic
3003 - Updated and corrected Button drawing
3004 - Correct the dimensions of the SizeGrip to match ms ones
3005 - Removed a small drawing glitch in DrawComboBoxEditDecorations
3006 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
3007 Border3DStyle.Sunken to match ms.
3009 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
3011 * ThemeWin32Classic.cs: First small part of the "de-uglify
3012 ThemeWin32Classic" effort, SizeGrip
3014 2006-03-24 Jackson Harper <jackson@ximian.com>
3016 * XplatUIX11.cs: Give a max idle time of one second, this matches
3017 MS and forces an Idle event every second when there are no other
3018 events in the queue.
3020 2006-03-24 Mike Kestner <mkestner@novell.com>
3022 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
3023 * ListView.Item.cs: fix layout issues with null image lists and images
3024 smaller than checkbox size.
3025 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
3026 mode like MS does. It's weird, but consistent. ;-)
3029 2006-03-24 Mike Kestner <mkestner@novell.com>
3031 * ListView.cs: Scroll wheel support for the item control. Fixes
3034 2006-03-23 Jackson Harper <jackson@ximian.com>
3036 * ScrollableControl.cs: Special case negative sized areas, not
3038 * MonthCalendar.cs: Save the rect of the clicked date so we can
3039 use it for invalidation.
3040 - Try to cut down on the number of invalidates
3041 - Invalidate the rect the mouse is over and was over when moving
3042 the mouse, so we get the focus box following the cursor.
3044 2006-03-23 Mike Kestner <mkestner@novell.com>
3046 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
3047 focus rectangle drawing. Fixes #77835.
3049 2006-03-23 Mike Kestner <mkestner@novell.com>
3051 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
3052 the if and else if and reverting back to the original == check on the
3055 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
3057 * FontDialog.cs: Update the example panel if the selected index of
3058 the fontListBox changes.
3060 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
3062 * FileDialog.cs: Make FileDialog remember which directory it was in
3063 last in the same execution.
3065 2006-03-22 Mike Kestner <mkestner@novell.com>
3067 * FileDialog.cs: make the DropDownMenu on the toolbar display
3068 RadioChecks since they are mutually exclusive and that's what MS does.
3070 2006-03-22 Mike Kestner <mkestner@novell.com>
3072 * Theme.cs: add Color param to CPDrawMenuGlyph.
3073 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
3074 checks and radio marks and arrows are visible on highlighted items.
3075 * ControlPaint.cs: update to use new Theme signature.
3077 2006-03-22 Mike Kestner <mkestner@novell.com>
3079 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
3080 is active. Fixes #77870.
3082 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
3084 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
3085 to be focused/selected after startup
3087 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
3090 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
3091 CustomColors and ShowHelp properties
3092 - Some internal rewrites to get better results when using the
3095 2006-03-22 Mike Kestner <mkestner@novell.com>
3097 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
3098 HoverSelection. Fixes #77836.
3100 2006-03-22 Mike Kestner <mkestner@novell.com>
3102 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
3103 ToggleButtons. (De)Sensitize the Back button around a stack count of
3104 1, not 0. Update ButtonSize based on a pixel count of the win32
3105 control. Adjust the toolbar size/location for new button size.
3107 2006-03-22 Jackson Harper <jackson@ximian.com>
3109 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
3111 * ScrollBar.cs: When doing increments and decrements we need to
3112 set the Value property so that ValueChanged gets raised. A
3113 possible optimization here would be to make an internal SetValue
3114 that doesn't invalidate immediately.
3115 * ToolTip.cs: Tooltips get added to their container (when
3116 supplied) so they get disposed when the container is disposed.
3117 - Don't create tooltips for String.Empty. This prevents all these
3118 little 2-3 pixel windows from showing up when running nunit-gui
3120 * Form.cs: Don't set topmost when setting the owner if the handles
3121 haven't been created yet. The topmost set will happen when the
3122 handles are created.
3124 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
3127 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
3128 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
3129 visible (to allow them to recalculate their sizes)
3131 2006-03-21 Mike Kestner <mkestner@novell.com>
3133 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
3134 methods. Removed a ton of redundant code. Still not really happy with
3135 the border rendering, but I think that's mainly because of the
3136 ControlDarkDark being black instead of a dark grey. Depending on how
3137 close we want to be, we might want to revisit those color choices.
3138 Among the new features added during the refactor were DropDownArrow
3139 pressed rendering, Disabled image rendering. Proper flat appearance
3140 boundary rendering. Removed the Divider and Wrapping dividers since I
3141 can't figure out any combination of themes and conditions to make the
3142 MS control draw a horizontal line on a toolbar despite what the
3143 Divider property docs indicate.
3144 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
3145 conditions and incorrect layout. Updated to coding standard.
3146 * ToolBarButton.cs: refactored layout and positioning code from
3147 ToolBar to here. Invalidate wherever possible instead of forcing
3148 redraws of the whole toolbar.
3149 (Known remaining issues: explicit ButtonSize smaller than provided
3152 2006-03-21 Mike Kestner <mkestner@novell.com>
3154 * ContextMenu.cs (Show): use the position parameter instead of just
3155 showing at the MousePosition.
3157 2006-03-21 Jackson Harper <jackson@ximian.com>
3159 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
3160 control handle this.
3161 * TreeNodeCollection.cs: If we are clearing the root node we need
3162 to reset top_node so calcs can still happen.
3163 * ThemeWin32Classic.cs: This is a Flags so we need to check
3166 2006-03-21 Jackson Harper <jackson@ximian.com>
3168 * DataGrid.cs: Create columns when the binding context has been
3170 * X11Structs.cs: Keysyms are uints.
3171 - Add size to fix build.
3173 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
3175 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3177 - Added ResetMouseHover method to allow controls to retrigger
3178 hovering if they need it more than once
3179 - Implemented MouseHoverTime and MouseHoverSize properties
3180 * Timer.cs: Start() must reset the interval
3181 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
3184 2006-03-21 Jackson Harper <jackson@ximian.com>
3186 * X11Keyboard.cs: improved layout detection. Move the nonchar
3187 tables into this file.
3188 * KeyboardLayouts.cs: Move the tables into resource files.
3190 2006-03-21 Mike Kestner <mkestner@novell.com>
3192 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
3194 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
3196 * Mime.cs: Various speed optimizations. Looking up mime types
3197 is now 2 times faster than before
3199 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3201 * CreateParams.cs: Added internal menu field
3203 - Switched call order for UpdateBounds; now we always call
3204 the one that also takes ClientSize, and we're calculating the
3205 client size via driver method in the others. The previous
3206 method of tracking client size by difference wasn't working
3207 for forms where even the starting client size wouldn't match
3208 the overall form size (due to borders) (Part of fix for #77729)
3209 - CreateParams(): Do not use parent.Handle unless the handle is
3210 already created. Causes havoc with Nexxia and throws off our
3211 creation of controls
3213 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
3214 - Switched handling of ConfigureNotify over to new PerformNCCalc
3215 method (consolidates code)
3216 - Changed RequestNCRecalc to use new PerformNCCalc method
3217 - Added calls to RequestNCRecalc when menus and borders are changed
3218 to allow app to set NC size. (Part of fix for #77729) This matches
3219 when MS send a WM_NCRECALC on Win32 windows.
3220 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
3221 (Part of fix for #77729). This matches what MS does, they also
3222 send that message when the form is made visible.
3223 - XException.GetMessage: Improved usability of X errors by including
3224 a translation of the window into Hwnd and Control class
3225 - Improved debug info for window creation, reparenting and destruction
3226 - Created helper method WindowIsMapped() [Currently not used]
3227 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
3229 - CreateParams: Now setting our menu on the new internal menu field
3230 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
3231 avoid calculating the same property twice
3233 - Improved usability of ToString() for debugging purposes
3234 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
3235 determine the height of the menu, instead of just the font. This
3236 required to also create a graphics context and to keep a bmp
3237 around (for performance reasons)
3239 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
3241 * MenuAPI.cs: Added OnMouseUp method
3243 - Now remembering the requested client size, avoids size errors
3244 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
3245 instead of base if the menu is active. This is required due to
3246 control now capturing and releasing on down/up and it would
3247 prematurely release our menu capture
3249 2006-03-17 Jackson Harper <jackson@ximian.com>
3251 * KeyboardLayouts.cs: Add the czech layouts.
3253 2006-03-16 Jackson Harper <jackson@ximian.com>
3255 * Control.cs: Use the viewport space when sizing not the controls
3256 client size, so things like ScrollableControl that effect the
3257 viewport size (when scrollbars are added) are computed correctly.
3258 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
3260 - Handle creating BindingManagers for null data sources.
3261 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
3262 source, otherwise when rows are added they are added to the 'fake'
3263 datasource and we will crash when trying to set the position in
3265 - Use Implicit scrollbars on the datagrid so they arent
3268 2006-03-16 Jackson Harper <jackson@ximian.com>
3271 * InternalWindowManager.cs:
3272 * MdiWindowManager.cs:
3273 * X11Keyboard.cs: I really want Mike to love me again (fix
3276 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3279 - OnMouseDown: Switch to editing mode when clicking on the cell
3280 even if we're clicking on the cell that's currently
3282 - ProcessGridKey: Left/Right now wrap like MS.Net does
3283 - ProcessGridKey: Tab now knows to add a new row when tab is
3284 pressed in the cell of the last column of the
3286 - ProcessGridKey: Enter now adds another row if pressed in the last
3287 row and selectes the new row, same column cell
3288 - ProcessGridKey: Home/End navigate columns, not rows, like
3289 originally implemented
3290 - Broke ProcessKeyPreview code out into an extra Internal method
3291 so it can be called from the edit code
3292 * DataGridTextBox.cs (ProcessKeyMessage):
3293 - Switched to accept Tab keypresses
3294 - Added F2 handling to allow jumping to the end of the edited cell
3295 - Added logic to allow moving caret left/right inside edited cell
3296 and making the edited cell jump when the caret hits cell borders
3297 - Tab and Enter are now passed to the datagrid after being handled
3299 - Removed capture code now that Control handles it
3300 - set_SelectionStart now ensures caret is visible
3302 2006-03-16 Jackson Harper <jackson@ximian.com>
3304 * TrackBar.cs: Debackwards the increment/decrement for handling
3305 mouse clicks on the bar with vertical trackbars.
3306 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
3309 2006-03-16 Mike Kestner <mkestner@novell.com>
3311 * ListView.cs: make shift/ctrl keyboard and mouse selection
3312 consistent with the MS control. Fix a bug in
3313 SelectedListViewItemCollection.Clear that was pissing me off for the
3314 better part of a day because the collection was being altered
3315 underneath us as we walked the list.
3317 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
3319 * Control.cs: Not sure how we could miss this so long, but it seems
3320 that MS.Net has Capture set all the way from before calling
3321 OnMouseDown through sending the mouse events until after
3322 OnMouseUp. This will fix DataGrid's selection being set to end
3323 at the location of the MouseUp.
3325 2006-03-15 Jackson Harper <jackson@ximian.com>
3327 * BindingContext.cs: Check the binding after its added so that it
3328 can initialize the binding managers and hookup to events.
3329 * Binding.cs: Data members seem to sometimes include rows/cols in
3330 the format Row.Column we now take this into account.
3331 - Hookup to the position changed event so we can update the
3332 control when the position has changed in the data set.
3333 * CurrencyManager.cs: Take into account the row/col naming
3334 convention when creating dataset tables.
3335 * BindingContext.cs: Using a newer better way of storing
3336 datasource/datamember pairs. Hopefully this better matches MS for
3337 looking up binding managers.
3340 2006-03-15 Jackson Harper <jackson@ximian.com>
3342 * BindingContext.cs: The currency manager needs the data member
3343 name, if the member is a data set we use the name to find the
3345 * CurrencyManager.cs: When creating the list prefer an IList over
3347 - Attempt to create a DataTable from a DataSet (TODO: might need
3348 some better error checking here, although MS doesn't seem to have much)
3349 - If we have a DataTable create a view and use it as our list.
3351 2006-03-15 Mike Kestner <mkestner@novell.com>
3353 * ListView.cs: keep a matrix of the icon mode layout to facilitate
3354 keyboard navigation. Support Up/Down/Left/Right selection correctly
3355 for all 4 View modes.
3356 * ListViewItem.cs: add internal row/col fields for icon layouts.
3358 2006-03-15 Jackson Harper <jackson@ximian.com>
3360 * TabControl.cs: Redraw the tabs when we resize so their newly
3361 calculated sizes are drawn on screen.
3362 * X11Keyboard.cs: Begginnings of XIM support. We also now support
3363 composite characters.
3364 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
3365 - filter events so that composite characters can be created
3367 * X11Structs.cs: Add XIMProperties enum.
3369 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3371 * Control.cs (BringToFront, SendToBack): Don't use window or handle
3374 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3376 * Control.cs (PerformLayout): We don't need to consider visiblity
3377 for anchoring, only for docking. This fixes 'whacky' alignment
3378 in listbox and other controls that use implicit scrollbars after
3379 the previous PerformLayout patch
3380 * ListBox.cs: Switched to use implicit scrollbars
3382 2006-03-14 Mike Kestner <mkestner@novell.com>
3386 - chain up the "new event" overrides to base and use
3387 OnEvent to raise them. Part of fix for bug #76509.
3389 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
3391 * FileDialog.cs: Do not select an item in the parent directory
3394 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3396 * Control.cs (PerformLayout): It would seem that we considered
3397 invisible windows for our layout. Not quite the right thing
3398 to do. Now we don't any longer, thereby fixing bug #76889.
3400 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
3402 * Control.cs (CanFocus): I goofed. A control can have focus
3403 even though it's not selectable. Made it match MS docs.
3405 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3407 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
3408 center by default (fixes #76895)
3409 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
3410 all uses of Border3DSides.All with the explicit ORd together
3411 Left|Right|Top|Bottom because I assume that nobody was aware
3412 that All also implies a center fill. Most places I checked had
3414 * ProgressBarStyle.cs: Added
3416 2006-03-13 Mike Kestner <mkestner@novell.com>
3418 * ListView.cs: fix breakage in drag shadow header positioning
3419 from Peter's csc compilation fix.
3421 2006-03-13 Mike Kestner <mkestner@novell.com>
3423 * ListView.cs: fix NRE produced by backspacing twice in a focused
3426 2006-03-13 Mike Kestner <mkestner@novell.com>
3428 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
3430 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3432 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
3434 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
3435 the allowed size before making programmatic size changes
3437 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3439 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
3440 set, metacity is broken and will still use the emty sizes in
3441 the struct. (Fix for #77089)
3443 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
3445 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
3446 WindowExStyles and marked both enums as Flags
3447 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
3448 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
3449 to match WindowStyles split
3451 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
3452 - Updated to match WindowStyles split
3454 - Fixed FosterParent creation, was using ExStyle on the Style field
3455 (This should help with Popup focus issues)
3456 - Updated to match WindowStyles split
3458 2006-03-13 Jackson Harper <jackson@ximian.com>
3460 * MdiWindowManager.cs: Use the system menu height. Fixes some
3461 strange sizing issues.
3463 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3465 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
3467 - Scroll to caret after inserting text (#77672)
3468 - Make scroll range one pixel higher, fixes off-by-one error (and
3469 makes underlines visible on the last line)
3471 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3473 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
3474 the keyboard state from being stuck with keys in 'pressed' state when
3475 focus is switched away via keyboard
3476 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
3477 reset the keyboard if no X11 KeyUp events are expected to come
3478 * X11Structs.cs: Switched type of Visible to bool to match driver
3480 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
3483 - Switched caret to be just 1 pixel wide, matches MS and looks less
3485 - Moved caret display 1 pixel down from the top of the control
3487 - InsertCharAtCharet: Update the selection start if moving the caret
3488 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
3489 - No longer always creating the caret when the caret methods are
3490 called. Only the actual ShowCaret/HideCaret will do that now
3491 - Only setting caret visible if the owner control has focus
3492 - UpdateView: Added invalidation-shortcut logic for center and right
3493 aligned text. Previously we'd update all according to the left
3494 logic which caused drawing errors. Also fixed height of invalidated
3495 areas, now properly invalidating the whole area (was off-by-one)
3496 - owner_HandleCreated: Always generate the document when the
3497 handle is created; this ensures that
3499 - Fixed situation where caret would disappear under the right
3500 window border, also improved scrolling behaviour on left-
3502 - Fixed right-aligned textboxes to have a border to the
3503 right instead of the caret being under the right border
3505 - Switched from 'nested' to simple visible/not visible tracking
3506 for caret (part of fix for #77671)
3507 - No longer passing through translated FocusIn/FocusOut messages
3508 since we were notifying too often and the wrong windows. Instead
3509 we just notify our focussed window of receiving or loosing focus
3510 * XplatUIWin32.cs: Switched from 'nested' show/hide
3511 counting for caret to simple visible yes/no behaviour (part of
3514 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3516 * Mime.cs: Remove debug code...
3518 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
3520 * MimeGenerated.cs: Removed
3521 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
3522 and subclasses) from /usr/(local/)share/mime and
3523 $HOME/.local/share/mime.
3525 2006-03-10 Jackson Harper <jackson@ximian.com>
3527 * MdiWindowManager.cs: Recalc the NC area when a window is
3528 maximized/restored so that the menu area is drawn on forms that
3531 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3533 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
3534 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
3535 us to force a WM_NCCALCRESIZE message being sent. This is needed
3538 2006-03-10 Jackson Harper <jackson@ximian.com>
3540 * Form.cs: We need to use the ActiveMenu when calculating menu
3542 - Fix nullref when the window manager hasn't been created yet.
3543 * Control.cs: Fix nullref when we try to bring a control to the
3544 front that has no parent.
3545 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
3547 - Add a dummy item to the maximized menu so it always has the
3548 correct height. Otherwise when there are no menus we don't get our
3552 2006-03-10 Jackson Harper <jackson@ximian.com>
3554 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
3556 * Form.cs: Make the window_state internal so the window managers
3558 - When an MDI child is maximized let its window manager create the
3559 main menu (so it can add its icon).
3560 - Notify the window managers of state changes
3561 - Let the window manager paint its buttons and handle button
3562 clicks on the menu when it is maximized.
3563 * InternalWindowManager.cs: Move the prev_bounds into the mdi
3564 window manager, since tool windows don't use it, only mdi windows.
3565 - Tell the main form that we don't want it to handle NCPAINT
3566 itself to avoid extra painting.
3567 - Handle clicks on a maximized windows menu.
3568 - Handle window state changes
3569 - Handle minimize/maximize clicks correctly by setting the window state.
3570 * MdiWindowManager.cs: Add an icon menu that (the menu you get
3571 when clicking on the forms icon).
3572 - New method to create a forms maximized menu. This is its normal
3574 - Handle window state changes.
3575 - Handle sizing of maximized windows. Maximized windows are just
3576 drawn bigger then the parent visible area. All controls are still
3577 there, they are just outside the visible area (this matches windows).
3578 * MdiClient.cs: No scrollbars when a child window is maximized.
3579 - Let the children windows figure out how big they should be when
3580 sizing maximized windows.
3581 - Implement a version of ArrangeIconicWindows somewhat similar to
3582 Windows version. There are some little differences, but I don't
3583 think any app will rely on the layout of minimized mdi windows.
3585 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3587 * Padding.cs: Several fixes to allow compiling with csc 2.0
3589 2006-03-09 Jackson Harper <jackson@ximian.com>
3592 * MenuItem.cs: Cheap hack so we can add items to the list without
3593 the events being raised. This allows adding mdi items during
3594 drawing. TODO: Should probably find a better time to add the items.
3596 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3598 * ThemeWin32Classic.cs:
3599 - CheckBox_DrawText: Added logic to not wrap if not enough space
3600 is available (Fix for bug #77727)
3601 - RadioButton_DrawText: Added logic not to wrap if not enough
3602 space is available (Fix for bug #77727). Also removed some
3603 duplicate code, DrawString always drawing the regular text
3604 before hitting the if statement.
3606 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3608 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
3610 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
3612 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
3613 * ContainerControl.cs: Partial implementation of some 2.0 scaling
3614 methods. Moved the new 2.0 properties into alphabetical order with
3615 other properties and added MonoTODO tags
3617 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3619 * AutoScaleMode.cs: Added. Fix build.
3621 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3623 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3624 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
3625 and was requiring premature handle creation for calls from above
3626 * Form.cs, Control.cs: Removed handle arguments from calls to
3627 CalculateClientRect()
3629 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3631 * ListView.cs (HeaderMouseMove): Fix csc compilation.
3632 drag_column.column_rect is MarshalByRef and can't be used that way
3634 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3636 * AxHost.cs: Added deserialization constructor for
3637 AxHost+State (fixes 77743)
3639 2006-03-09 Mike Kestner <mkestner@novell.com>
3642 - Added column drag reordering for details view.
3643 - fixed behavior when mouse is dragged off column and
3644 AllowColumnReorder is false.
3645 * ColumnHeader.cs: clone the format too in Clone.
3646 * Theme.cs: add DrawListViewHeaderDragDetails method.
3647 * ThemeWin32Classic.cs:
3648 - impl new method for drawing drag column shadows and targets.
3649 - support column offset for details mode in DrawListViewItem.
3651 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3653 * TextControl.cs: Reset the char_count when the document is cleared
3654 (Fixes bug reported on mono-winforms mailing list)
3656 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3658 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
3659 of calling base we simply process the key ourselves, since both
3660 DefWindowProc and the handled method would set m.Result.
3663 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
3665 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
3666 method also moves the window; instead implemented a copy of
3667 Control.ScaleCore (Part of fix for #77456)
3669 - Created new CreateGraphicsInternal method to allow providing
3670 a graphics context when no handle is created without triggering
3671 handle creation. (Part of fix for #77456)
3672 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3674 - Switched Constructor to require TextBoxBase instead of Control (to
3675 allow uncast access to CreateGraphicsInternal)
3676 - Safeguarded use of owner.Handle property. No longer accessing it
3677 unless the handle is already created.
3678 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
3679 - Now triggering a recalc when owning control becomes visible
3680 * TextBox.cs, RichTextBox.cs: Switched to use new internal
3681 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
3682 premature handle creation (Part of fix for #77456)
3684 - We now only destroy our double-buffering buffers when the
3685 control is resized or disposed, but not when visibility
3686 changes. (The code even re-created them twice every time)
3687 - Now requiring a redraw of the buffer on visibility changes
3688 (fixes bug 77654 part 2)
3689 - Not passing OnParentVisibleChanged up unless the control
3691 - CanFocus: Fixed to match MS documentation
3692 - Focus: Fixed to return actual focus state and to check if
3693 setting focus is legal before setting it
3695 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
3697 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
3698 when to draw focus rectangle by looking at parent focus and
3699 selected state instead. This fixes TabPages on Linux sometimes
3700 having none or multiple focus rectangles.
3701 * XplatUIX11.cs (SetFocus):
3702 - Don't set the focus if the same window already has focus
3703 - Use SendMessage instead of PostMessage (like it's Win32
3704 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
3705 to match MS behaviour
3706 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
3709 2006-03-07 Jackson Harper <jackson@ximian.com>
3711 * PictureBox.cs: Revert line I accidently committed last week.
3713 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
3716 - Added new IsRecreating and ParentIsRecreating properties to
3717 allow testing if RecreateHandle has been called on ourselves
3718 or one of our parents
3719 - WndProc(WM_DESTROY): If our control handle is being recreated
3720 we immediately need to create the handle when receiving the
3721 destroy, that way our child windows find a valid parent handle
3722 when they themselves are being recreated upon WM_DESTROY receipt
3723 (fix for bug #77654 part 1)
3725 - DestroyWindow: WM_DESTROY must be sent to our own window before
3726 notifying any child windows. MS documents that child windows
3727 are still valid when WM_DESTROY is received. (Control now relies on
3729 - Added some fine-grain debug options
3731 2006-03-06 Jackson Harper <jackson@ximian.com>
3733 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
3734 box and base calculations off this.
3735 * MdiChildContext.cs:
3736 * MdiWindowManager.cs: Don't need to ensure scrollbars here
3739 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
3741 * Splitter.cs: In situations where the affected control is added
3742 to the parent's control list after the splitter, we would not
3743 populate affected. Now we try populating it on mousedown, if
3744 it's not already set, and force it to be re-set whenever our
3747 2006-03-03 Matt Hargett <matt@use.net>
3749 * Control.cs: implement Control.Padding
3750 * Padding.cs: -Padding.All returns -1 when constructing with the
3751 implicit default ctor
3752 -Padding.ToString() matches MS.NET
3753 * ContainerControl.cs: implement
3754 ContainerControl.AutoScaleDimensions
3755 * ListControl.cs: implement ListControl.FormattingEnabled
3756 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
3758 * TabPage.cs: Implement UseVisualStyleBackColor.
3759 * PictureBox.cs: Implement PictureBox.InitialImage.
3761 2006-03-03 Mike Kestner <mkestner@novell.com>
3763 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
3764 event declarations to proxy to base event.
3765 * ListViewItem.cs: update to use ItemControl.
3766 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
3767 * ThemeWin32Classic.cs: update to new ListView theme API and fix
3768 column header label rendering for 0 width columns.
3770 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
3772 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
3773 that causes the control to be created. Fixes #77476.
3775 2006-03-02 Jackson Harper <jackson@ximian.com>
3777 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
3780 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
3782 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
3783 passed in for the EventArgs (fixes #77690)
3785 2006-03-01 Jackson Harper <jackson@ximian.com>
3787 * ScrollBar.cs: Refresh afterbeing resized.
3789 2006-02-28 Mike Kestner <mkestner@novell.com>
3791 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
3792 Clean up a tracker compile warning.
3793 * MenuItem.cs: add internal PerformPopup method.
3796 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3798 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
3799 implicit expose) when the text is set to null
3801 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3803 * RichTextBox.cs (FlushText): When newline is true, we always
3804 need to split the line, even if no text is on it and we may
3805 never eat newlines. (Fixes #77669)
3807 2006-02-28 Mike Kestner <mkestner@novell.com>
3809 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
3810 and set Selected instead.
3811 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
3814 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
3816 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
3818 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
3821 - Got rid of the panel. All controls are now directly added to
3823 - It is now possible to set a font with the Font property
3824 - MinSize and MaxSize property do now what they should
3825 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
3826 - Searching and selecting a font with the font textbox works now,
3827 the same applies to the style and size textbox
3828 - Draw the correct 3D border in the example panel
3829 - Fixed a little mem leak (unused fonts didn't get disposed)
3830 - Many other internal updates/rewrites...
3833 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3836 - InsertRTFFromStream: Added 'number of characters inserted' argument
3837 - set_SelectedRTF: Now using the number of characters to calculate
3838 the new location for the selection and cursor (x/y cannot be used
3839 due to potentially already wrapped text)
3841 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3843 * TextControl.cs: Added property and implemented means to allow
3844 disabling recalculation of a document (can be used to speed up
3845 multiple inserts and is needed to make RTF inserts predictable, see
3847 * RichTextBox.cs: Using the new NoRecalc property of Document to
3848 keep x/y insert locations predictable. Also makes it faster inserting
3851 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
3853 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
3854 it's easier for a child control to handle the other messages without
3855 having to duplicate the special functionality
3857 - WndProc: Removed calling base handler for WM_KEYDOWN and added
3858 code to handle processing the key ourselves, in order to get
3859 access to the result of KeyEventArgs.Handled. We now only call
3860 ProcessKey if they key hasn't been handled already. Fixes #77526.
3861 - set_Text: If null or empty string is given, just clear the
3862 document. Fixes part of #77526
3864 2006-02-27 Jackson Harper <jackson@ximian.com>
3866 * SizeGrip.cs: Paint the background color before painting the grip
3867 so things look right.
3868 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
3870 2006-02-27 Mike Kestner <mkestner@novell.com>
3873 - Restructure layout and invalidation model to remove a ton of
3874 flicker from the control and speed up performance in general.
3875 - Add manual column resize, flickers like crazy, but I already have
3876 some ideas on how I'll fix that. (#76822)
3877 - Merge the three Icon-based views into a single layout method.
3878 - Move item selection interaction logic from the item since
3879 interaction with the collections is more appropriate to the view.
3880 - Deselection on non-item clicks.
3882 - Encapsulate most of the layout. Add some internal props to trigger
3883 layout. Move to a model where Items invalidate themselves instead
3884 of just invalidating the whole control every time something changes.
3885 - Invalidate on Text/Caption changes.
3886 - switch to an offset based layout model to avoid having to absolute
3887 position every element on item moves.
3888 - correct checkbox layout to conform to MS layout.
3889 * ThemeWin32Classic.cs:
3890 - refactor some column header drawing code.
3891 - fix string justification for column headers (#76821)
3892 - make SmallIcon labels top justified for compat with MS impl.
3893 * ThemeClearlooks.cs:
3894 - adjust to new ListViewItem internal checkbox bounds api.
3896 2006-02-27 Jackson Harper <jackson@ximian.com>
3898 * Control.cs: Change where implicit controls fall in the zorder.
3899 They are now on top of all children.
3900 - Synced AddImplicit code with Add
3901 - Removed unused enumerator.
3902 * SizeGrip.cs: Remove the TODO as its been TODONE.
3904 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3906 * TextControl.cs(Insert): Combine the last lines unless the insertion
3907 string ends with \n\n, otherwise we leave one line too many (Fixes
3908 something I noticed with the testapp for #77526; the bug itself was
3909 already fixed in the previous checkin)
3911 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
3914 - SelectionColor and SelectionFont methods no longer set absolute
3915 styles. Instead, the keep font or color respectively (This
3916 resolves a long-standing FIXME in the code)
3917 - When flushing RTF text, the insert code now considers text trailing
3918 behind the insertion point (Fixes the bug where when replacing
3919 the selected text via SelectedRTF the remainder of the line behind
3920 the selection would stay on the first insertion line)
3922 - AppendText now updates the selection points after inserting text
3923 - AppendText now ensures that the last tag (sometimes 0-length) of
3924 the document is used for the style information (Fixes part of
3927 - Created new FontDefiniton class to allow describing partial style
3929 - StreamLine() now takes a lines argument, to allow it to decide
3930 whether an encountered zero-length tag is the last in the document
3931 (which must be kept to not loose the font/color contained in it,
3933 - Created Combine() and Split() methods for Marker structs, to
3934 support marker updates due to reformatted documents (soft line
3936 - Implemented Document.CaretTag setter
3937 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
3938 of the last line (Not the cause, but also exposed by bug #77220)
3939 - Added LineTag argument to InsertString method, to allow callers
3940 to force a certain tag to be used (required to force use of the
3941 trailing zero-length tag of a document)
3942 - Now updating markers in Combine(), to avoid stale tag markers
3943 - Added some method descriptions to aid maintenance
3944 - Implemented new FormatText concept, allowing additive/subtractive
3945 formatting by only specifying the components that are to be
3946 changed. This was needed for resolving the RTB.SelectedColor/
3947 RTB.SelectedFont fixmes
3948 - Added Break() support method to allow breaking up linetags (used
3949 for partial formatting)
3950 - Added GenerateTextFormat() method. It is used for partial
3951 formatting and allows to generate a full font/color from given
3952 attributes and an existing tag.
3954 2006-02-26 Jackson Harper <jackson@ximian.com>
3956 * XplatUIX11.cs: Use the correct caption height.
3957 - Translate hittest coordinates to screen coords to match MS.
3958 * XplatUIWin32.cs: When we create MDI windows we need to reset
3959 some of the style flags, so we get a nice blank window, and can
3960 draw all the decorations ourselves.
3961 - Set a clipping rectangle on the non client paint event, the
3962 window manager drawing code needs one.
3963 * Form.cs: The window manager needs to know when the window state
3965 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
3966 don't need to factor in border and title sizes in these
3967 methods. TODO: Remove the args and fix the call points.
3968 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
3970 - Let the driver set the cursors.
3971 - Improve active window handling
3972 - Correct sizes for title bars and buttons.
3973 - Match MS drawing better
3974 * MdiWindowManager.cs: We don't need to handle border style
3975 updates specially anymore.
3976 - Check for scrollbars when windows are done moving
3977 - Handle Active properly.
3978 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3979 correctly. I am spewing the exception though, so we don't hide the
3982 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3984 * DataGridViewRowPostPaintEventArgs.cs,
3985 DataGridViewCellPaintingEventArgs.cs,
3986 DataGridViewRowCollection.cs,
3987 DataGridViewRowPrePaintEventArgs.cs,
3988 DataGridViewCell.cs: Clear a few warnings and implement a few
3989 exceptions that should be thrown.
3991 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3993 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3994 'inheriting' our parent's (non-default) cursor. (Part of
3997 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3999 * XplatUIX11.cs: Fixed cast to make csc happy
4001 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
4003 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
4004 it's for the client area (part of fix for #77479 and needed
4005 for MDI window cursor handling)
4007 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
4008 the appropriate default cursors and also passing the message
4010 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
4011 for non-client areas
4013 2006-02-15 Jackson Harper <jackson@ximian.com>
4015 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
4016 is a real MDI window
4018 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
4020 * X11DesktopColors.cs: Instead of checking the desktop session
4021 string for "KDE" check if it starts with "KDE"
4023 2006-02-10 Jackson Harper <jackson@ximian.com>
4025 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
4028 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
4030 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
4033 - Got rid of the panel. All controls are now directly added to
4035 - Changed to mono coding style
4037 2006-02-10 Jackson Harper <jackson@ximian.com>
4039 * InternalWindowManager.cs: We don't need the set visibility to
4040 false hack anymore now that peter has written beautiful shutdown
4043 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
4045 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
4046 where already explicitly destroyed
4048 2006-02-10 Jackson Harper <jackson@ximian.com>
4050 * MdiClient.cs: Handle the case where windows are too high or to
4051 the left and we need scrollbars.
4053 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
4055 * MimeIcon.cs: Added some icons
4058 - Got rid of the panel. All controls are now directly added to
4060 - Changed to mono coding style
4061 - On Linux "My Computer" and "My Network" will now show some
4062 more usefull information. A new class, MasterMount, gathers
4063 this information from /proc/mount. Updated MWFFileView to make
4064 use of this information
4065 - Fixed a bug that caused FileDialog to crash when
4066 ".recently_used" file had a zero size
4067 - FilterIndex does now what it should
4069 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
4072 2006-02-09 Jackson Harper <jackson@ximian.com>
4074 * ComboBox.cs: Don't touch if null.
4076 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
4078 * Cursor.cs: 64bit safeness fix
4079 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
4081 2006-02-09 Jackson Harper <jackson@ximian.com>
4083 * Form.cs: If a form is made into an MDI form update the styles so
4084 all the props can get set correctly.
4085 - Kill the mdi_container when we dont need it anymore.
4086 * InternalWindowManager.cs: Add missing NOT
4088 2006-02-08 Jackson Harper <jackson@ximian.com>
4090 * InternalWindowManager.cs: Respek clipping when drawing MDi
4093 2006-02-08 Jackson Harper <jackson@ximian.com>
4095 * Hwnd.cs: Add bits to track non client expose events.
4096 * XplatUIX11.cs: Track non client expose events on the hwnd. This
4097 gives us a proper invalid rect and will allow for some nice
4098 optimizations with NC client drawing
4099 - MDI windows are children windows, so move their style handling
4100 into the child window block.
4101 * InternalWindowManager.cs: Remove a state reset that was
4102 getting invoked at the wrong time. Fixes managed windows getting
4103 into a 'stuck' captured state.
4105 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
4107 * TextControl.cs (Document.ctor): Now initializing
4108 selection_anchor. Fixes #77493
4110 2006-02-07 Jackson Harper <jackson@ximian.com>
4112 * TrackBar.cs: The increment/decrements were backwards.
4114 2006-02-07 Mike Kestner <mkestner@novell.com>
4116 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
4117 to the instance itself.
4119 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
4121 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
4122 on ulongs and pointers, the size differs between 32bit and 64bit
4125 2006-02-07 Mike Kestner <mkestner@novell.com>
4127 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
4128 for 64 bit platforms to work around a metacity bug.
4130 2006-02-07 Jackson Harper <jackson@ximian.com>
4132 * TrackBar.cs: Process the input keys we need, and hookup to
4133 KeyDown instead of using WndProc, so we get key messages.
4135 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
4137 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
4139 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
4140 we need to translate the XdndVersion atoms array before sending it
4142 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
4145 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
4146 number of bits for the property, not the number of bytes. The
4147 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
4148 but would not crash since it specified 8 bits instead of 4 bits)
4149 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
4150 defined as XID -> long in the C headers)
4151 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
4152 references since those are now IntPtr to begin with
4153 - Switched all Atom.XXX 'int' casts to IntPtr casts
4154 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
4155 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
4156 - Added XChangeActivePointerGrab DllImport (for X11DnD)
4158 - Changed 'int' type for Atoms in XEvent structures to IntPtr
4159 - Changed atom in HoverStruct to be IntPtr
4161 - Removed local DllImports, switched code to use those from XplatUIX11
4162 - Removed/fixed casts related to the switch of Atom to be a IntPtr
4164 2006-02-06 Mike Kestner <mkestner@novell.com>
4166 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
4167 method signatures in the import region. There may still be some
4168 lingering struct marshaling issues, as I didn't drill down into those.
4171 2006-02-06 Jackson Harper <jackson@ximian.com>
4173 * ComboBox.cs: Dont manually set the top_item, this is computed
4174 when the scrollbar position is set.
4176 2006-02-06 Mike Kestner <mkestner@novell.com>
4178 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
4179 startup crashes on amd64. There's other fixes needed. All pinvoke
4180 usage of Atom needs to be mapped to IntPtr for example. And there are
4181 likely other int/long issues to be addressed.
4183 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
4185 * FileDialog.cs: One more...
4187 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4189 * FileDialog.cs: Next try
4191 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4193 * FileDialog.cs: First part of fix for #77464
4195 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
4197 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
4198 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
4199 AcceptButton border drawing.
4201 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4203 * Form.cs: Moved positioning of form after auto scaling is applied,
4204 otherwise it would possibly use wrong form size.
4206 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
4208 * Control.cs (RecreateHandle): No need to re-create any child
4209 controls, the child windows will get destroyed automatically by
4210 the windowing system or driver, and re-created when the handle
4211 is being accessed the first time. Fixes #77456
4212 * Form.cs: No longer setting the form to closing if the handle is
4213 being recreated. This seems like the right thing to do, don't
4214 have a bug or testcase for this, though.
4216 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4218 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
4219 controls to avoid unwanted side effects
4221 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4224 - ScaleCore needs to scale the bounds, not the ClientSize of the
4225 control. Fixes #77416.
4226 - DefaultSize is 0,0 for control
4228 - DefaultSize is 100, 20
4229 - SetBoundsCore: Now enforcing the height, no matter if the provided
4230 height is more or less than the preferred one, as long as AutoSize
4232 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
4234 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
4237 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
4238 call unless both performLayout is true *and* we have a pending
4240 - ResumeLayout: MS does not completely nest Suspend and Resume,
4241 they bottom out at 0, fixed our code to match that.
4242 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
4243 SetBoundsCore, we were updating even when we shouldn't. This fixes
4244 swf-anchors mis-anchoring when resizing the app fast and lots.
4245 - UpdateDistances: Now only setting the left and top distance if
4246 we have a parent and are not suspended, this is based on
4247 a suggestion by Don Edvaldson in bug #77355.
4248 - OnVisibleChanged: Fixed logic when to create the control. We may
4249 not create the control if we have no parent or if it's not visible;
4250 switched to using Visible property instead of is_visible field
4251 since the property also considers parent states. This fixes a bug
4252 when starting Paint.Net
4254 2006-02-02 Jackson Harper <jackson@ximian.com>
4256 * Form.cs: If the forms handle hasn't been created yet don't call
4257 into xplatui to make it top most, just set the topmost flag on the
4258 form in CreateParams
4259 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
4261 2006-02-01 Jackson Harper <jackson@ximian.com>
4263 * ScrollableControl.cs: Refactored the Recalculate method a
4264 little, this wasn't handling all the variants of bottom and right
4265 bars needed to be added and added/removed based on their
4266 counterparts being added/removed (which changes the drawable
4267 size). Also we special case client widths and heights of 0 and
4268 don't add the scrollbar for those.
4270 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
4273 - Added method to get AbsoluteGeometry(); currently unused, but might
4274 be used in the future, if we try again to figure out toplevel
4275 coordinates with some more crappy window managers
4276 - Added FrameExtents() method to retrieve the WM set decoration size
4277 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
4278 to deal with at least KDE, FVWM and metacity (Fixes #77092)
4280 - Added whacky_wm tracking var for metacity
4281 - Added logic to have default menu height if the actual menu height
4282 has not yet been calculated (part of fix for #77426)
4283 * Form.cs: Keep track whether client size has been set and re-set
4284 it if a menu is added/removed afterwards (Fixes #77426)
4286 2006-01-31 Jackson Harper <jackson@ximian.com>
4288 * Control.cs: When a new Site is set on the component attempt to
4289 pull the AmbientProperties from it.
4291 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
4293 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
4294 in the background of the owning form. Fixes #77332
4296 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4298 * MimeIcon.cs: Fix for #77409
4300 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
4302 * XplatUIX11GTK.cs: Initial import
4304 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
4306 * FixedSizeTextBox: fixes class signature
4308 2006-01-30 Jackson Harper <jackson@ximian.com>
4310 * FixedSizeTextBox.cs: New internal class that represents a
4311 textBox that will not be scaled.
4314 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
4317 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4319 * XplatUIX11.cs: Retrieve default screen number instead of
4320 assuming 0. Attempted fix for #77318
4322 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
4325 - GetWindowPos: When a window is parented by FosterParent, use
4326 the desktop instead of FosterParent as the base to get coordinates
4327 - CreateWindow: Don't make FosterParent the parent window for Popups
4328 if we don't want a taskbar entry, Popups automatically don't get one
4329 * Hwnd.cs: Need to call remove to actually remove the key from the
4332 2006-01-30 Mike Kestner <mkestner@novell.com>
4334 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
4336 2006-01-30 Jackson Harper <jackson@ximian.com>
4339 * TreeNode.cs: Raise events no matter how the treenode is
4340 checked. Patch by Don Edvalson.
4342 2006-01-30 Jackson Harper <jackson@ximian.com>
4344 * TreeNode.cs: Signature fix.
4346 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
4348 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
4350 2006-01-20 Mike Kestner <mkestner@novell.com>
4352 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
4353 event forwarding when menus are active.
4354 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
4355 Most of the patch is pdb's with a little rework.
4357 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4359 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
4360 Removed GetMenuDC and ReleaseMenuDC methods; replaced
4361 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
4362 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
4363 * InternalWindowManager.cs: Added use of PaintEventStart/End to
4364 handling of WM_NCPAINT message, now passing the PaintEventArgs to
4365 the PaintWindowDecorations method
4366 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
4367 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
4368 * MenuAPI.cs: Made tracker window invisible
4370 - Removed GetMenuDC and ReleaseMenuDC methods
4371 - Implemented the client=false path for PaintEventStart and
4374 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4376 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
4377 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
4380 - MaximizeBox, MinimizeBox: Recreate the handle when setting
4382 - CreateParams: Reworked the styles to match MS look'n'feel,
4383 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
4384 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
4386 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4388 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
4389 window is not mapped, since otherwise every form that's being
4390 created is considered minimized, which is wrong.
4391 * Form.cs: Catching the exception and returning our internal value
4394 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
4396 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
4397 SetWindowMinMax() to have means to tell the driver about the minimum,
4398 maximum and maximized state window sizes. (Part of the fix for #76485)
4400 - Implemented tracking of minimum and maximum window size, now calling
4401 new SetWindowMinMax() driver method to tell the driver (Part of the
4403 - Finished handling of WM_GETMINMAXINFO method, now setting all values
4404 (Completes fix for #76485)
4405 - Calling new SetWindowMinMax driver method when the handle for a
4406 form is created, to make sure the driver knows about it even if
4407 the values have been set before the window was created
4408 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
4409 to avoid messing up our anchoring calculations (partial fix
4411 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
4413 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
4414 - Improved GetWindowState() to detect 'Minimized' state on Metacity
4415 (and presumably other freedesktop.org compliant WMs). Left the
4416 assumption unmapped=minimized, needed for SetVisible to work.
4417 - Now setting the window state when creating windows
4418 - Fixed SetVisible to consider/set the window state when mapping
4419 a Form. We cannot set the state before it's mapped, and we cannot
4420 use Form.WindowState once it's mapped (since it would ask the
4421 driver and get 'normal'. Therefore, we grab the state before
4422 mapping, map, and then set state.
4423 - Implmemented SetWindowMinMax method; Metacity does not seem to
4424 honor the ZoomHints, though.
4426 - Removed MINMAXINFO (moved to XplatUIStructs)
4427 - Added SetWindowMinMax stub (on Win32 the only way to set that
4428 information is in response to the WM_GETMINMAXINFO message, which
4429 is handled in Form.cs)
4430 - Added logic to SetVisible to set the proper window state when a
4431 form is made visible (fixes #75720)
4433 2006-01-26 Jackson Harper <jackson@ximian.com>
4435 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
4436 same way we handle them with Invoke.
4438 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
4441 - Added tracking of window state so CreateParams can return
4442 the appropriate style
4443 - Moved setting of WS_CAPTION style in CreateParams to allow
4444 styles without caption
4445 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
4446 control if the TextBox property is accessed. Fixes #77345
4448 - get_Created: now uses is_disposed and is_created to determine
4449 return value (suggested by Jackson)
4450 - CreateHandle: No longer exits if the handle is being recreated
4451 - RecreateHandle: If the handle is not yet created call the
4452 appropriate method to create either control or handle. If the
4453 control is already created CreateHandle will simply exit instead
4454 of just creating the handle
4455 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
4456 now SendMessage WM_DESTROY directly to the control when DestroyWindow
4459 - When DestroyWindow is called, instead of waiting for the
4460 DestroyNotification from X11, we directly post it to the WndProc
4461 and immediately dispose the hwnd object.
4462 Same applies to DestroyChildWindows, and this obsoletes the
4463 expose_pending tracking. Contrary to Win32 behaviour we destroy our
4464 child windows before our own, to avoid X11 errors.
4465 - Removed the direct sending of WM_PAINT on UpdateWindow
4467 - Reworked DoEvents and GetMessage to allow access to internal queue
4468 even when trying non-blocking access to the queue. Fixes #77335.
4469 Based on a patch suggestion by Don Edvalson. The new private
4470 GetMessage can now also be used as a backend for a PeekMessage
4472 * XplatUI.cs: Improved debug output for CreateWindow
4474 2006-01-25 Jackson Harper <jackson@ximian.com>
4476 * Help.cs: Allow param to be null. Patch by Don Edvalson.
4478 2006-01-24 Jackson Harper <jackson@ximian.com>
4480 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
4481 when we have a MaxDropItems lower then the selected index.
4483 2006-01-24 Jackson Harper <jackson@ximian.com>
4485 * Control.cs: Don't allow selection of non visible controls, allow
4486 selection of controls without parents.
4488 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4490 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
4491 * DataGridDrawingLogic.cs: Add editing row only when is necessary
4493 2006-01-23 Jackson Harper <jackson@ximian.com>
4495 * UpDownBase.cs: Make the textbox handle all the selection and
4496 tabbing. This fixes tabing to updown controls.
4498 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
4500 * TextBoxBase.cs: fixes exception thown the object was null
4502 2006-01-23 Jackson Harper <jackson@ximian.com>
4504 * ButtonBase.cs: Just use the base CreateParams. They set
4505 visibility and enabled correctly.
4508 * MonthCalendar.cs: Lets let the base set as much of the
4509 createparams as possible so we don't have duplicate code all over
4512 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
4514 * ThemeGtk.cs: Added TrackBar and some experimental code to
4515 get double buffering back
4517 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
4519 * DataGrid.cs: Allows row number set internally higher than the last
4520 when creating a new row. Restores the editing functionality.
4522 2006-01-20 Mike Kestner <mkestner@novell.com>
4524 * MimeIcon.cs: delay Image creation until the icons are accessed
4525 instead of creating 190 scaled images on GnomeHandler startup.
4527 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4529 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
4530 first call base before processing the event. Fixes #77279
4532 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
4534 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
4535 that the stride for the GDI bitmap would match the stride of
4538 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
4540 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
4542 2006-01-19 Jackson Harper <jackson@ximian.com>
4544 * ComboBox.cs: Hookup the text controls keydown event so we get
4545 those when the text control has the focus.
4547 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4549 * Label.cs: Now using the base events instead of defining new ones;
4550 this allows us to just call the base properties without having to
4551 duplicate all base property logic
4553 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4555 * Label.cs: A label by default is not a tabstop (Fixes one of our
4556 failing nunit tests)
4558 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4560 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
4561 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
4563 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
4565 * Cursor.cs: Reimplemented creating cursor bitmaps without using
4566 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
4569 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
4570 constructor creates images that can't be saved. Part of the fix
4572 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
4573 - SetWindowState: Switched ShowWindow flags (part of an upcoming
4574 bug fix for handling window state in forms properly)
4576 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4578 * ThemeGtk.cs: Simplify ScrollBar drawing
4580 2006-01-18 Jackson Harper <jackson@ximian.com>
4582 * Splitter.cs: Set the default dock style for the splitter control
4585 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4587 * ThemeGtk.cs: Corrected StateType and ShadowType for
4590 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4592 * Control.cs: Make use of Theme.DoubleBufferingSupported
4594 - Added drawing for flat style buttons
4595 - Added ScrollBar drawing
4597 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
4599 * ThemeClearlooks.cs: Removed some unneeded code.
4600 * ThemeGtk.cs: First part of ThemeGtk enhancements.
4602 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4604 * LinkLabel.cs: We need to update the hover drawing when
4605 leaving the control as well.
4607 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
4609 * DataGrid.cs: Clicking on non empty areas in the columns
4610 area was giving an exception
4612 2006-01-17 Jackson Harper <jackson@ximian.com>
4614 * ThemeWin32Classic.cs:
4615 * ListView.cs: Do not draw/clip the headers when the header style
4618 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4620 * DataGrid.cs: Fixes 77260
4622 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
4624 * DataGrid.cs: Clicking on a column on a empty grid was giving
4627 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
4629 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
4630 or any keypress will crash the grid.
4632 2006-01-17 Mike Kestner <mkestner@novell.com>
4634 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
4635 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
4636 invisible/previously-visible items.
4639 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
4641 * ThemeClearlooks.cs:
4642 - Added CL_Draw_Button method; now other theme controls that are
4643 not derived from button or do not have a button can draw buttons
4645 - Updated ComboBox drawing
4646 - Beautified RadioButton drawing
4647 - Corrected drawing of bottom and left tabs
4648 - Beautified DateTimePicker and MonthCalendar
4649 - Added CPDrawButton and CPDrawRadioButton
4651 2006-01-16 Jackson Harper <jackson@ximian.com>
4653 * ComboBox.cs: Set the initial value of the scrollbar to the
4654 current index. Reduce the numbers of refreshs and IndexOfs called.
4656 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
4658 * FileDialog.cs: When the file listview is focused hitting the
4659 backspace key moves the fileview to the parent directory
4661 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4664 - Added RecreateHandle call when changing taskbar visibility to
4665 trigger reparenting in Win32 driver (Fixes #75719)
4666 - If a window has minimize or maximize buttons, it cannot have
4669 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
4670 the toplevel form with FosterParent (A toolwindow not on the
4671 taskbar) (Fixes #75719)
4672 - Made FosterParent a toolwindow
4674 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4676 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
4678 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4680 * ToolTip.cs: If SetToolTip is called from a control and the mouse
4681 is currently over that control, make sure that tooltip_window.Text
4684 2006-01-13 Mike Kestner <mkestner@novell.com>
4686 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
4688 2006-01-13 Jackson Harper <jackson@ximian.com>
4690 * TreeView.cs: On MS GetNodeAt never actually factors in the X
4691 value passed. Also redraw the selected node when we recieve
4692 focus, so tabbing between trees works correctly.
4694 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
4696 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
4697 ~/.gconf/%gconf-tree.xml, so use
4698 .gconf/desktop/gnome/interface/%gconf.xml
4700 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4702 * TextControl.cs: Draw text in gray if control is disabled
4704 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4706 * TreeView.cs: Draw the focus rectangle outside the highlight, to
4707 make sure it's always visible. Fixes #76680.
4709 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
4711 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
4713 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
4715 * PageSetupDialog.cs: Added.
4716 * PrintDialog.cs: Attributes.
4717 * PrintPreviewControl.cs: Updates.
4718 * PrintPreviewDialog.cs: Updates.
4720 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4722 * Control.cs: Undid my selection check fix, since it's not needed
4724 - Now considering the presence of hscroll/vscroll when sizing
4725 vscroll/hscroll respectively. Fixed bug #77077
4726 - Added Left/Up/Down/Right to IsInputKey list to prevent
4727 ContainerControl from stealing them. This fixes what I broke
4728 with my last checkin.
4730 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4732 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
4733 I finally understand how the property can be set without a setter :-)
4735 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4738 - Switched RunLoop to use static Message.Create to create a
4740 - Added PreProcessMessage call in runloop for keyboard events; this
4741 is part of the fix for #77219, I overlooked this originally in the
4742 MSDN doc for PreProcessMessage
4744 - Removed call to PreProcessMessage from handling of keyboard
4745 messages; it's supposed to be done in the message pump
4746 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
4747 per MSDN documentation.
4748 - IsInputChar: All chars are input chars by default; removed the
4749 parent calling chain, MS does not document that
4750 - PreProcessMessage: If IsInputChar is true, we want to return false
4751 to allow dispatching of the message
4752 - When selecting the next control, now also check that we're not
4753 selecting ourselves again and therefore return a false positive.
4755 - Tried to match return values for IsInputKey and ProcessDialogKey
4756 to what MS returns; moved processing of our special keys outside
4757 ProcessDialogKey since MS does not seem to return true on those.
4758 - Moved code that previously was in ProcessDialogKey into new private
4759 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
4760 - Reworked handling of WM_CHAR to not have to duplicate code from
4761 Control.cs anymore, instead we simply call down to base.
4763 2006-01-12 Jackson Harper <jackson@ximian.com>
4765 * ComboBox.cs: We always need to refresh the text area when
4766 EndUpdate is called. Fixes the combobox in the file dialog.
4767 * Control.cs: Don't create the creator_thread until the controls
4768 handle is created. Also in InvokeRequired we check if the
4769 creator_thread is null. This gives the effect of InvokeRequired
4770 returning true if the controls handle is not created yet, and
4773 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4776 - Added StartLoop() driver method. This is used to allow drivers to
4777 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
4778 loop for a particular thread
4779 - Added EndLoop() driver method. This is called once the message
4780 pump for the thread is shut down
4781 - Added SupportsTransparency method to allow the driver to indicate
4782 opacity support for windows
4784 - Removed TODO attribute, completed AllowTransparency property
4785 - Added documented logic to Opacity
4786 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
4787 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
4788 versions of CompatibleTextRendering
4789 * X11Structs.cs: Added opacity atom to our atom enumeration
4790 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
4791 of a form might be set before it's reparented by the WM, and we need
4792 the opacity value without calling up to Form)
4793 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
4794 SupportsTransparency() driver methods
4795 * Application.cs: Now calling StartLoop and EndLoop driver methods
4797 - Added opacity atom registration
4798 - Added StartLoop()/EndLoop() methods. They're empty right now but
4799 will need to get implemented when we switch to a per-thread queue
4800 - Implemented SupportsTransparency() method
4801 - Implemented SetWindowTransparency() method
4802 - Added support for setting the opacity value when a window is
4803 reparented (since the opacity needs to be set on the WM frame)
4804 * XplatUIOSX.cs, XplatUIWin32.cs:
4805 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
4807 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4809 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
4811 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
4813 * FileDialog.cs: Added ToolTip for MWFFileView
4814 * MimeIcon.cs: Rewrote GnomeHandler.
4815 - Get currently used gnome icon theme from
4816 ($HOME)/.gconf/%gconf-tree.xml
4817 - Make use of inherited icon themes
4818 - Support SVG icon themes like Tango via librsvg
4820 2006-01-12 Miguel de Icaza <miguel@novell.com>
4822 Revert's Jackson's revert which broke 2.0 builds. Fix both
4825 * Application.cs: Move the use_compatible_text_rendering outside
4826 the NET_2_0 define. If we ever need to use the
4827 use_compatible_text_rendering on the individual controls they will
4828 access the variable from the common shared code paths.
4830 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
4833 - Added more granular debug options
4834 - Added method to print both window text and id
4835 - Switched debug output to use new Window() debug method
4836 - Added IsEnabled() driver method
4837 - Added EnableWindow() driver method
4839 - Removed end_modal; no longer needed, new loop handles termination
4840 via 'closing' variable
4841 - If form is modal, setting DialogResult will now initiate loop
4842 termination via 'closing' variable
4843 - Added support for is_enabled/WS_DISABLED to CreateParams
4844 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
4846 - Removed code that's now in RunLoop from ShowDialog()
4847 - Added various documented sanity checks to ShowDialog()
4848 - Added handling of WM_DESTROY message; we set 'closing' on getting
4849 the message to indicate the message pump to terminate
4850 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
4851 send by the Application.ExitThread method. (We send the message
4852 to destroy the window after all other events have been
4853 processed through the queue, instead of destroying the handle
4855 - Moved code from Close() method to WM_CLOSE handler; added logic
4856 to only send close-related events if the form is not displayed
4858 * Splitter.cs (..ctor): Fixed typo in resource name
4860 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
4862 - set_Cursor: Now only setting calling into XplatUI if the handle for
4863 the control is already created; this avoids implict handle creation
4864 or crashes if it's not created
4865 - set_Enabled: Now setting the enabled state via the new driver method
4866 instead of just tracking it
4867 - CreateParams: Added logic to set WS_DISABLED based on enabled state
4868 - CreateControl: Reordered event firing and method calls to more
4869 closely fire events in the order MS does. Now setting the
4870 enabled state in the driver when creating the control.
4871 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
4873 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
4874 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
4875 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
4877 - Added tracking of window enabled state (get_Enabled/set_Enabled)
4878 - Added EnabledHwnd property to easily allow a driver to find the
4879 handle of the first enabled window in the parent chain (this is
4880 used by drivers to pass up input events of disabled windows)
4881 * XplatUIDriver.cs: Added IsEnabled() method
4883 - Removed crude and obsolete exiting tracking variable
4884 - Removed internal ModalRun(); replaced by RunLoop()
4885 - Implemented private CloseForms() method to allow closing all
4886 windows owned by a particular (or all) threads
4887 - Exit() now properly closes all windows without forcing the message
4889 - Removed obsolete InternalExit() method
4890 - Changed Run() methods to use new RunLoop() message pump
4891 - Implemented new RunLoop() method for both modal and non-modal forms
4893 - get_CreateParams: Added setting of WS_DISABLED
4894 - Simplified ShowDialog(); now all the work is done in RunLoop(),
4895 invoked via Form.ShowDialog()
4896 * NativeWindow.cs: We don't remove the window from the collection when
4897 the handle is destroyed; there might still be messages for it in the
4898 queue (mainly the resulting WM_DESTROY); instead it will be removed
4899 when Control calls InvalidateHandle in the WM_DESTROY handler
4901 - CreateWindow: Added logic to handle the WS_DISABLED window style
4902 - EnableWindow: Implemented based on Hwnd.Enabled
4903 - GetMessage: Reset PostQuitState so the method can be called again
4904 - Implemented support for disabled windows (passing messages to the
4905 first enabled parent) in handling all input messages
4906 - Added optimizations for handling Expose events
4907 - Implemeted new driver method IsEnabled()
4908 - Now always resetting paint pending tracking vars when we start paint
4909 - Re-implemented UpdateWindow via just sending a WM_PAINT message
4910 * XplatUIOSX.cs: Added IsEnabled method stub
4911 * XplatUIWin32.cs: Implemented new IsEnabled() method
4913 2006-01-11 Jackson Harper <jackson@ximian.com>
4915 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4916 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
4918 * ColorDialog.cs: Clear out the old form before adding the new
4921 2006-01-11 Jackson Harper <jackson@ximian.com>
4923 * X11Dnd.cs: Make sure to add all the text formats when adding
4924 strings to the data object.
4925 * TreeNodeCollection.cs: When adding to a sorted tree we need to
4926 do some redrawing too. Also change the UpdateNode to an
4927 UpdateBelow so the newly added node gets painted.
4929 2006-01-11 Miguel de Icaza <miguel@novell.com>
4931 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
4932 LinkLabel.cs, PropertyGrid.cs: Implement the
4933 UseCompatibleTextRendering property for 2.x
4935 * Application.cs (SetCompatibleTextRenderingDefault): Add.
4937 2006-01-11 Jackson Harper <jackson@ximian.com>
4939 * TreeView.cs: Use the property for setting the selected node so
4940 the correct events get raised.
4941 * TreeNode.cs: Update the tree when the fore/back colours of a
4944 2006-01-10 Jackson Harper <jackson@ximian.com>
4946 * TreeView.cs: Allow setting SelectedNode to null.
4948 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4950 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
4952 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4954 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
4956 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4958 * PrintDialog.cs: Added attributes and set default property values.
4960 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4962 * PrintControllerWithStatusDialog.cs:
4963 Added PrintControllerWithStatusDialog.
4965 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4967 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
4968 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
4970 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
4972 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
4974 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
4976 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4977 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4979 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4981 * MimeIcon.cs: Added internal class SVGUtil.
4983 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4985 * FileDialog.cs: Don't crash if there are two files with the
4986 same name but different locations.
4988 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4990 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4991 dates across multiple month grids. Used to not highlight entire
4992 month, but does now.
4994 2006-01-06 Jackson Harper <jackson@ximian.com>
4996 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4997 message loop. Change timer intervals to numbers that seem more
5000 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
5002 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
5003 object for location info since screen object is now implemented.
5005 2006-01-05 Jackson Harper <jackson@ximian.com>
5007 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
5008 * AsyncMethodResult.cs: We no longer use a WeakReference for the
5009 AsyncMethodResult, this is because we ALWAYS want the
5010 ManualResetEvent to get set.
5011 * Control.cs: When disposing use an async invoke to call shutdown
5012 code, so that thigns don't block on the finalizer thread. Also
5013 check if we even have a message loop before trying to send
5014 messages, if we don't then don't bother sending messages.
5015 - No more weak references for async methods
5016 * XplatUIDriver.cs: No more weak references for async methods.
5018 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
5020 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
5021 returns two FontFamily with the same name
5023 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
5025 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
5026 drawing disabled text. Instead using the ColorGrayText color
5028 2006-01-04 Jackson Harper <jackson@ximian.com>
5030 * TreeNode.cs: redraw the node when its image index is changed.
5032 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
5034 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
5035 time I checked there are no others like it.
5037 2006-01-04 Jackson Harper <jackson@ximian.com>
5039 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
5040 this gives the behavoir I was looking for.
5041 * Control.cs: Special case Invoking EventHandlers, this matches MS
5042 and fixes part of bug #76326.
5044 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
5046 * ThemeClearlooks.cs, FileDialog.cs:
5047 - Reflect the latest Theme class changes
5048 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
5051 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
5053 * Theme.cs: Cache UI resource images and resize them if needed
5055 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
5057 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
5058 is called. This fixes the crash in Nexxia when setting the font
5059 attributes in the chat. [However, RTF needs a look-over to make sure
5060 that all SelectionXXX methods handle the special case that selection
5061 is empty and therefore the change must be applied to all text starting
5062 at the cursor/selection start]
5064 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
5066 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
5067 XplatUIOSX.cs: Added SendMessage and PostMessage methods
5068 * X11Keyboard.cs: Switched to new way of calling PostMessage
5070 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
5072 * Theme.cs: Added theme interface for images to allow the theme to
5073 control what images are used for things like FileDialog, MessageBox
5075 * MessageBox.cs: Now uses the new Theme icon/image interfaces
5077 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
5080 - Removed some dead code
5081 - Opening a recently used file does work now
5082 - Small UI enhancements
5085 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
5087 * FileDialog.cs: Forgot too add __MonoCS__
5089 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
5091 * FileDialog.cs: We are able to read recently used files now let's
5092 go on and write them.
5094 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
5096 * FileDialog.cs: Breathe some life into "last open"/"recently used"
5098 * MimeIcon.cs: Do a check for the top level media type also
5100 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
5102 * ThemeClearlooks.cs:
5103 - Added CPDrawStringDisabled
5104 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
5105 some chars if the text doesn't fit into text_rect
5106 - DrawListViewItem: If View = View.LargeIcon center the image;
5107 rewrote the drawing of ListViewItem.Text if View =
5110 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
5112 * MimeIcon.cs: Use default KDE icon theme if there is no
5113 "48x48" directory for the current icon theme, fixes #77114
5114 * Mime.cs: Disable not working and actually not used code.
5115 * ThemeWin32Classic.cs:
5116 - Replace "new SolidBrush" in GetControlBackBrush and
5117 GetControlForeBrush with ResPool.GetSolidBrush
5118 - Changed DrawListViewItem from private to protected virtual
5120 - Added form.MaximizeBox = true
5121 - Don't throw an exception if there is a broken symbolic link
5123 2005-12-23 Jackson Harper <jackson@ximian.com>
5125 * TabControl.cs: Give the panels focus, keyboard navigation is
5126 fixed so this works correctly now.
5127 - We need these key events also.
5128 * ToolBar.cs: Remove some of the poor mans double buffering.
5130 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
5132 * ComboBox.cs: The internal TextBox now returns the focus.
5134 2005-12-23 Jackson Harper <jackson@ximian.com>
5136 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
5138 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5140 * Control.cs: Removed debug code
5141 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
5144 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5146 * Control.cs: When creating the control, update the Z-order after
5147 all it's children are created, too. (Fixes nexxia not showing
5150 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
5152 * Control.cs: Do not update the anchoring distances if layout is
5153 suspended, instead do it once layout is resumed
5155 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5158 - After many hours of debugging, for both Jackson and
5159 myself, it turns out that it helps to set the parent of a control
5160 if you want to actually see it onscreen. In the spirit of that
5161 discovery, we're now setting the parent of the control and
5162 it's children when the control's handle is created. This fix
5163 will make Lutz Roeder's Reflector run happily.
5164 - now just creating the handle instead of the whole control when
5165 getting a graphics context for the control.
5167 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5169 * ScrollableControl.cs: When calculating the canvas, don't consider
5170 the scrollbar widths. Instead, predict if horizontal scrollbar
5171 will affect canvas when deciding on vertical display and vice versa.
5173 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
5175 * RichTextBox.cs: Set default RTF font for documents that don't
5176 have a font table (Fixes #77076)
5178 2005-12-22 Jackson Harper <jackson@ximian.com>
5180 * TextBoxBase.cs: It's difficult to do, but you can have an empty
5181 clipboard. This prevents a NullRef in that case.
5182 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
5183 clipboard. PRIMARY is for the currently selected text only. (We
5184 should implement PRIMARY at some point.
5186 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5188 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
5189 a Unicode function with a structure that was defined in Ansi way.
5192 2005-12-21 Jackson Harper <jackson@ximian.com>
5194 * StatusBar.cs: Statusbar handles its fore/back colours on it's
5195 on. Because thats how it rolls. (and this avoids it using ambient
5197 * ThemeWin32Classic.cs: Use the proper back color for filling.
5198 * Menu.cs: Use the system menu bar color for drawing menu
5199 bars. Using the window back color will bring ambient colours into
5202 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
5204 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
5205 Bitmaps were created and not disposed.
5207 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5209 * Control.cs (CreateControl): Don't do anything if the control is
5210 already created, otherwise we'd fire the OnCreated event more than
5213 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5215 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
5216 will always match. Instead return -1. Fixes #76464.
5218 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5220 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
5221 neither the beginning nor the end of the line (Fixes bug #76479)
5223 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
5226 - ControlNativeWindow.ControlFromHandle(): Now handling situation
5227 where handle is invalid
5228 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
5229 instead of slower linear search
5230 * NativeWindow.cs: Don't remove the window from the hashtable until
5231 after the driver has destroyed it (since the driver might use
5232 Control.FromHandle to lookup the control object
5233 * Hwnd.cs: Added DestroyPending property to track if a window is
5234 already destroyed as far as the driver is concerned and only hasn't
5235 yet notified the control
5237 - Activate(): Check if the window is still valid before using the
5239 - Implemented DestroyChildWindow() method to mark child windows as
5240 destroyed when a window is destroyed. This prevents situations
5241 where we might call an X method based on queued events for a
5242 window that already has been destroyed but we haven't yet pulled
5243 the destroy method from the queue.
5244 - Added a call to the new DestroyChildWindow() method to the drivers
5245 DestroyWindow code. Also now marking the destroyed window itself
5248 2005-12-20 Jackson Harper <jackson@ximian.com>
5251 * StatusBarPanel.cs: Don't calculate panel sizes on draw
5252 anymore. Just do them when needed, also track the rects of panels
5253 so that we can optimize refreshing more in the future.
5255 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
5257 * ColorDialog.cs: Fixed focus drawing in small color controls
5259 2005-12-19 Jackson Harper <jackson@ximian.com>
5261 * InternalWindowManager.cs:
5262 * MdiWindowManager.cs: Cleanup some coordinate system changes so
5263 moving windows works properly.
5265 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
5268 - Removed call to InitLayout() from SetBoundsCore(); doc says
5269 it's only called when a control is added to a container
5270 - Split InitLayout logic, moved to separate UpdateDistances() method
5271 since we need to perform those calculations more often than just
5272 when adding the control to a container. (Needed to fix #77022)
5273 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
5274 - Reduced the OnBindingContextChanged events count, don't send them
5275 unless the control is created, we still aren't totally matching
5276 MS, but I can't quite figure out some of their rules
5278 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5280 * ThemeClearlooks.cs: Corrected distance between ProgressBar
5283 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5285 * ThemeClearlooks.cs:
5286 - Updated ProgressBar drawing
5287 - Corrected drawing of ScrollBars and scroll buttons
5288 - Some temporary fixes for minor pixel artefacts
5290 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
5293 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
5294 cause events to be sent in the same order as MS does.
5295 - Added ChangeParent() method to trigger various OnXXXChanged events
5296 that need to be fired when a parent changes (This is a reworking
5297 of the patch from r54254, with the X11 errors fixed)
5298 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
5299 since on MS we get OnLayoutChanged events when calling Clear()
5300 - Changed Enabled property to consider parent state as well, if a
5301 parent is not enabled, the control will not be either
5302 - Changed Parent property to simply call Controls.Add() since that
5303 now does all the work required, this way we avoid code duplication
5304 - Threw in a few OnBindingsContextChanged calls to try and match
5305 when MS sends them. We seem to send a few too many, though.
5306 - Added call to CreateControl when adding the control to a parent.
5307 We were never calling CreateControl. Still needs some work, in
5308 some places we treat HandleCreated and ControlCreated as equal,
5310 - Removed obsolete commented out code from UpdateZOrder()
5312 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
5314 * ThemeClearlooks.cs: Updated TrackBar drawing.
5316 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5318 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
5320 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
5322 * FileDialog.cs: Add the Help button and the open readonly
5323 checkbox only if needed
5325 2005-12-16 Jackson Harper <jackson@ximian.com>
5327 * Control.cs: Make sure we have an active menu before trying to
5328 process commands on it. Prevents menu-less forms from crashing
5329 when Alt is pressed.
5330 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
5332 * RichTextBox.cs: Expand statement to help out gmcs and fix the
5335 2005-12-16 Jackson Harper <jackson@ximian.com>
5337 * InternalWindowManager.cs: Don't translate tool windows screen
5338 coordinates. This fixes windows 'bouncing' around when being moved.
5340 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5343 - MaxLength now treats 2^31-1 equal to unlimited length (this is
5344 not quite MS compatible, MS uses that number only for single line
5345 and 2^32-1 for multi-line, but I figure it won't hurt keeping
5347 - Now enforcing the MaxLength limit when entering characters
5348 - Added argument to internal Paste() method to track if it's called
5349 from programatically or via keyboard, since keyboard driven pastes
5350 need to enforce max-length
5351 - Added logic to Paste to only paste as many chars as MaxLength
5353 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
5355 - Added Length property to return number of characters in document
5356 - Added private CharCount property which only tracks actual chars
5357 in the document (no linefeeds) and fires event when CharCount
5359 - Added tracking of character count to all methods that alter it
5360 - Added LengthChanged event to allow applications to subscribe
5361 to any changes to the document
5363 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
5366 - Removed local password_char field (moved to TextBoxBase)
5367 - Now setting the document's password var when password is
5370 - Added password_char field (needed here so MultiLine can
5372 - Added logic to MultiLine property setter to set the document's
5373 variable when password display is allowed
5374 - Removed debug code and made some debug code conditional
5376 - Added RecalculatePasswordLine() method to handle special password
5378 - Added PasswordChar property, also added related tracking vars
5379 - Draw() method now uses local text var for grabbing text to draw,
5380 this var is set to line.text unless we're doing password display,
5381 then it is set to the pre-generated all-password-chars line
5382 - Added calling RecalculatePasswordLine() method for password lines
5384 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5387 - Added Reparented property to allow tracking of Window Manager
5388 reparenting actions (which affect X/Y calculations of toplevel
5390 - Made ToString() print window handles in hex
5392 - AddConfigureNotify(): Now uses reparented state off Hwnd to
5393 determine if X/Y needs offsetting
5394 - AddConfigureNotify(): Fixed offset calculations
5395 - Now adds ReparentNotify messages into the queue
5396 - Now processes ReparentNotify messages and causes a
5397 WM_WINDOWPOSCHANGED message to be sent upstream if a window
5398 is reparented (as most likely it's X/Y coordinates are changed
5401 2005-12-14 Jackson Harper <jackson@ximian.com>
5403 * XplatUIX11.cs: Tool windows still need to respek focus.
5405 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
5407 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
5408 have a working release
5410 2005-12-13 Jackson Harper <jackson@ximian.com>
5412 * Form.cs: Update styles after setting the border style regardless
5413 of whether or not the window is using a window manager.
5415 2005-12-13 Jackson Harper <jackson@ximian.com>
5417 * Form.cs: We now hook into an internal window manager instead of just an
5418 MDI subsystem, this is so we can have properly behaving tool windows.
5419 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
5420 * InternalWindowManager.cs: New internal class that acts as a
5421 window manager for tool windows and as a base for mdi windows.
5422 * MdiWindowManager.cs: New class that acts as a window manager for
5425 2005-12-12 Jackson Harper <jackson@ximian.com>
5427 * Control.cs: Updates so we match behavoir for for implicit
5428 controls. Fixes explosions in MDI.
5430 2005-12-12 Jackson Harper <jackson@ximian.com>
5432 * Control.cs: Implement Invalidate (Region).
5434 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
5437 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
5438 the same events as MS does. MS fires events for each property
5439 except, for unknown reasons, Cursor, when the control is reparented.
5440 I can't seem to totally match add/remove since MS also fires some
5441 VisibleChanged events, which makes no sense. Consolidated the
5442 parenting code into a separate method so it can be called from
5443 both Add and Remove. set_Parent no longer needs any special logic
5444 as it calls the parent's add method which implicitly fires
5446 - Removed some obsolete code and debug output
5447 - Enabled state is inherited from parents, if this is enabled
5449 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5451 * Form.cs: Removed commented out code
5453 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
5456 - Added internal version of Invoke, with additional argument
5457 indicating if we're calling it from a Dispose() handler. That
5458 way we can avoid BeginInvoke throwing an exception if we're
5459 calling for an already destroyed window.
5460 - Added a dispose argument to BeginInvokeInternal, and made the
5461 check if a valid window handle chain exists conditional on
5462 it not being a dispose call
5463 - Removed code in DestroyHandle to destroy our children. Since we
5464 now handle the WM_DESTROY message we will catch all our children
5466 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
5468 - Added a field to track the application context of the form.
5469 - No need to set closing variable as response to WM_CLOSE, instead
5470 we destroy the window. We also call PostQuitMessage if the form
5471 has an application context (which makes it the main app form,
5472 which, when closed terminates the app)
5474 - Dropped Exit() method, it's naming was confusing
5475 - Added PostQuitMessage() which causes GetMessage to return false
5476 once the message queue is empty
5477 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
5479 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
5480 no longer a valid XplatUI method, but left it in since it's used
5481 internally. Added empty PostQuitMessage() method.
5482 * MenuAPI.cs: Replaced call to Exit() with call to
5483 PostQuitMessage, even though this is probably no longer needed.
5484 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
5485 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
5487 - Replaced call to XplatUI.Exit() with PostQuitMessage()
5488 - Removed old debug code that would call XplatUI for exception
5489 display, enabled standard exception handling (Still not enabled
5490 though, until NativeWindow's ExternalExceptionHandler define
5493 - Added internal method to allow control to update NativeWindow
5494 after a window has been destroyed
5495 - Added handling of already destroyed windows when calling i
5497 - Added removal of handle from list on ReleaseHandle
5499 - Dropped GetMessageResult var and related code
5500 - Added PostQuitState to field to track if PostQuitMessage has been
5502 - Dropped Exit() method
5503 - Added PostQuitMessage() method
5504 - GetMessage now will return false if PostQuitState is set and no
5505 more messages are in the queue.
5506 - Expose handler will no longer generate WM_PAINT messages if we are
5507 in PostQuitState since it's very likely any windows have already
5508 been destroyed, and since Hwnd won't get updated until we have
5509 processed the DestroyNotify we'd be causing X errors.
5511 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5513 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
5514 Thanks to Mike for pointing out the err of my ways.
5516 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5518 * Control.cs(PreProcessMessage): Moved menu handling back, but
5519 after all other key handling, to match MS (who handles Menu in
5521 * Menu.cs (WndProc): Removed my brainfart
5523 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5525 * Control.cs(PreProcessMessage): Removed special menu handling
5526 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
5528 2005-12-07 Mike Kestner <mkestner@novell.com>
5530 * Control.cs : special case SYSKEYUP so that we can adjust keynav
5531 state according in tracker.
5532 * Menu.cs : promote tracker field to base class and provide a tracker
5533 lookup capability. Add/Remove shortcuts dynamically if the top menu
5534 has a tracker. Unparent items that are removed from the collection.
5535 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
5536 * Theme*.cs: add always_show_hotkeys field to support configurability
5537 of mnemonic display. win32 doesn't show mnemonics until Alt is
5540 2005-12-07 Jackson Harper <jackson@ximian.com>
5542 * MdiChildContext.cs: Use Control.ResetCursor.
5543 * Control.cs: ResetCursor needs to set the property so that the
5544 correct XplatUI call gets made.
5546 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5548 * Control.cs: More fixes to make our key events match MS. We
5549 were not setting the modifier state on KeyData, and we were
5550 not generating any events when Alt was pressed with a key
5551 since handling of WM_SYSxxx was missing for the OnKey methods.
5553 2005-12-07 Jackson Harper <jackson@ximian.com>
5555 * MdiChildContext.cs: reenable the sizing code.
5556 - When the mouse leaves a window reset its cursor.
5558 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5560 * ThemeClearlooks.cs: Reflect latest Hwnd changes
5562 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
5564 * Hwnd.cs: Now using the theme 3d bordersize to calculate
5565 widths of Fixed3D borders
5567 2005-12-07 Jackson Harper <jackson@ximian.com>
5569 * MdiClient.cs: Fix warnings. Earn Mike's love.
5571 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
5573 * ThemeClearlooks.cs:
5574 - Adjusted mouse over button color
5575 - Added first parts of CheckBox drawing
5576 - Added correct color for selected text background
5577 - Fixed ComboBox drawing
5578 - Added CPDrawBorder3D and CPDrawBorder
5580 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5582 * XplatUIX11.cs: Added call to XBell for AudibleAlert
5584 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5586 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
5587 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
5588 alert users via sound. We could add an enum arg with different
5589 types of alerts in the future
5591 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
5593 * Control.cs: Fix behaviour problems pointed out by Mike
5595 2005-12-05 Mike Kestner <mkestner@novell.com>
5597 * StatusBarPanel.cs: add Invalidate method and hook it into all the
5598 prop setters. Calls parent.Refresh for now, but could be maybe be
5599 optimized with an internal method on StatusBar at some point.
5602 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
5604 * RichTextBox.cs: Implemented get_SelectionColor
5606 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
5608 * ThemeClearlooks.cs:
5610 - Draw black button border only if button is Form.AcceptButton
5611 - Draw correct button color for pressed RadioButton if the mouse
5612 has entered the button
5613 - Updated ProgressBar drawing!
5614 - Updated CPDrawSizeGrip drawing
5615 - Updated StatusBarPanel drawing
5617 2005-12-05 Mike Kestner <mkestner@novell.com>
5619 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
5620 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
5622 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
5624 * ThemeClearlooks.cs: Initial check-in, activate with
5625 export MONO_THEME=clearlooks
5626 * ThemeEngine.cs: Added ThemeClearlooks
5628 2005-12-03 Mike Kestner <mkestner@novell.com>
5630 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
5633 2005-12-02 Jackson Harper <jackson@ximian.com>
5635 * Form.cs: If the child form has no menu the default main menu is
5636 used as the active menu.
5638 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5640 * ListBox.cs: Check if any items exist before trying to resolve
5641 coordinates into items
5643 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5645 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
5646 as the second color for the background hatch
5648 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
5650 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
5651 * RichTextBox.cs: FormatText position arguments are 1-based, now making
5652 sure that what we pass to FormatText is always 1-based. Fixes #76885
5654 2005-11-29 Miguel de Icaza <miguel@novell.com>
5656 * NumericUpDown.cs (EndInit): When we are done initializing,
5657 reflect any updates on the UI.
5659 2005-12-02 Jackson Harper <jackson@ximian.com>
5661 * ImplicitHScrollBar.cs:
5662 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
5663 their container controls.
5664 * TreeView.cs: Use the new implicit scrollbars.
5666 2005-12-02 Jackson Harper <jackson@ximian.com>
5668 * TreeView.cs: Make top_node internal so the TreeNodeCollections
5670 * TreeNodeCollection.cs: If we remove the topnode we need to
5671 update topnode to the next node in line.
5672 - When clearing nodes go through the same process as removing
5673 them, so they get depareneted and checked if they are top node.
5675 2005-12-01 Jackson Harper <jackson@ximian.com>
5677 * TreeView.cs: When imagelists are used the image area is
5678 selectable as well as the text.
5679 - If there are no selected nodes select the first one.
5680 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
5681 so don't do it more then we need to.
5683 2005-12-01 Jackson Harper <jackson@ximian.com>
5685 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
5686 that arrows can be scaled.
5688 2005-12-01 Jackson Harper <jackson@ximian.com>
5690 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
5691 fail. Patch by Dieter Bremes
5693 2005-11-30 Jackson Harper <jackson@ximian.com>
5695 * Form.cs: Property is 2.0 only
5696 * PrintDialog.cs: Signature fix.
5698 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5701 - No longer artificially moves text 2 pixels down (now that we have
5702 borders this is no longer needed)
5703 - Added calcs for left, hanging and right indent
5705 2005-11-23 Mike Kestner <mkestner@novell.com>
5707 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
5709 2005-11-30 Jackson Harper <jackson@ximian.com>
5711 * MdiChildContext.cs: Set the cloned menus forms, as these don't
5712 get cloned as part of CloneMenu ().
5713 * Menu.cs: Make sure the parent of the items get set correctly
5714 when they are added. And the owners are notified of the changes.
5715 * Form.cs: Create an ActiveMenu property, so that when MDI is used
5716 we can change the menu being displayed/handled by the form without
5717 changing the menu assosciated with the form.
5718 - Don't let Mdi children draw/handle menus.
5720 2005-11-30 Jackson Harper <jackson@ximian.com>
5722 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
5723 a MenuChanged event. Just to make the API a little more
5726 * MenuItem.cs: Use the new OnMenuChanged
5727 * MdiChildContext.cs: Handle menu merging.
5728 * Form.cs: Implement MergedMenu.
5730 2005-11-30 Jackson Harper <jackson@ximian.com>
5732 * Menu.cs: We were misusing Add. Add goes behind the specified
5733 index according to the docs, and does not replace the specified
5734 index. So I added an Insert method.
5736 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
5738 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
5739 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
5741 * RichTextBox.cs: Added calls to base for DnD events
5743 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
5746 - Fixed drag-selection related crash; style fixes
5747 - Implemented undo class
5748 o Implemented method to capture document state for specified
5749 range in document tree
5750 o Implemented method to restore captured document state
5751 o Implemented cursor tracking
5752 o Implemented basic undo stack
5753 - Added undo cursor tracking to methods altering cursor location
5754 - Added undo tracking to selection deletion (still missing
5755 other text-altering hookups)
5757 - Added SelectionLength property
5758 - Implemented CanPaste()
5759 - Implemented Paste()
5760 - Added missing protected methods
5761 - Fixed RTF->Document conversion; now uses font index 0 and color
5762 index 0 as the default font for the parsed text
5763 - Fixed RTF<->Document font size translation
5764 - Fixed RTF generation, now properly handles cross-tag boundaries
5765 for single line selection
5766 - No longer always appends blank line to generated RTF
5768 - Added missing attributes
5769 - Hooked up undo-related methods
5771 - Implemented Copy()
5772 - Implemented Paste()
5774 - Fixed caret mis-behaviour on backspace across line-boundaries
5776 2005-11-29 Jackson Harper <jackson@ximian.com>
5778 * MdiClient.cs: Add a method for activating mdi children. Very
5779 basic right now. I imagine someday it might need more girth.
5780 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
5781 children windows names are added to the menu item.
5782 * ThemeWin32Classic.cs: Draw the arrow if the item is an
5783 mdilist. This happens regardless of whether or not there are any
5784 mdi windows to see in the list, and according to my tests happens
5785 before the items are even added. Also happens if there isn't even
5786 an mdi client to get windows from.
5788 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
5790 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
5791 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
5793 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
5795 * DataGridTableStyle.cs:
5796 - Create always the styles for the missing columns even if they are
5797 provided by the user (not default table style)
5800 - Fixes SetDataBinding (always re-attach source)
5801 - Fixes SetNewDataSource (only clear styles if they are not for
5803 - Expands OnTableStylesCollectionChanged to handle style refresh
5806 2005-11-29 Jackson Harper <jackson@ximian.com>
5808 * FileDialog.cs: Implement missing bits, remove some dead
5810 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
5811 creation of the panel so that the options set on the dialog are
5812 seen when the panel is created.
5813 * TreeView.cs: raise a click when items are clicked.
5815 2005-11-29 Jackson Harper <jackson@ximian.com>
5817 * MdiClient.cs: Pass some signature methods through to base.
5819 2005-11-28 Jackson Harper <jackson@ximian.com>
5821 * ListView.cs: Raise the click event when items are clicked.
5823 2005-11-28 Jackson Harper <jackson@ximian.com>
5825 * MdiClient.cs: Make this algorithm even more beautiful. And fix
5828 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
5830 * ThemeNice.cs: - Removed 1 pixel bitmaps
5831 - Use SmoothingMode.AntiAlias where it makes sense
5832 (ScrollButton arrow for example)
5833 - Enhanced Button focus drawing
5834 - Fixed ComboBox drawing (no artefacts anymore, focus
5835 rectangle is back again, reduced size of ComboButton, etc.)
5836 - Fixed RadioButton focus drawing for Appearence.Button
5837 - Slight ScrollButton redesign
5838 - Some LinearGradientBrush size fixes
5839 - GroupBoxes have now rounded edges
5840 - Fixed StatusBar drawing
5842 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
5844 * ThemeNice.cs: - Remove dead code
5845 - use correct background colors for menus, etc.
5846 - Fake pixel drawing with 1 pixel bitmaps
5848 2005-11-24 Jackson Harper <jackson@ximian.com>
5850 * MdiClient.cs: Size the scrollbars when resizing the window.
5851 - Resize the maximized windows when the client is resized
5852 * Form.cs: Make the child context available
5854 2005-11-23 Jackson Harper <jackson@ximian.com>
5856 * MdiChildContext.cs: Don't size windows if they are maximized.
5858 2005-11-23 Mike Kestner <mkestner@novell.com>
5860 * ContextMenu.cs: use MenuTracker.
5861 * Control.cs: remove menu handle usage.
5862 * Form.cs: remove menu handle usage.
5863 * Hwnd.cs: remove menu handle usage.
5864 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
5865 motion and clicks to the new Tracker handlers.
5866 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
5868 * MenuAPI.cs: refactored to combine popup and menubar event handling.
5869 Killed the MENU and MENUITEM data types and associated collections
5870 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
5871 MenuTracker class that exposes the leftovers from the old MenuAPI
5872 static methods. Restructured Capture handling so that only one grab is
5873 done for the entire menu hierarchy instead of handing off grabs to
5874 submenus. Tracker now has an invisible control to Capture when active.
5875 * MenuItem.cs: add sizing accessors, kill Create
5877 * Theme.cs: remove menu handle and MENU(ITEM) usage.
5878 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
5879 MENU(ITEM). remove menu handle usage, use Menu directly.
5880 * XplatUIDriver.cs: remove menu handle usage.
5881 * XplatUIOSX.cs: remove menu handle usage.
5882 * XplatUIWin32.cs: remove menu handle usage.
5883 * XplatUIX11.cs: remove menu handle usage.
5885 2005-11-22 Jackson Harper <jackson@ximian.com>
5887 * Hwnd.cs: Don't compute the menu size for
5888 DefaultClientRectangle.
5889 - Reenable menu sizes being computed for GetClienRectangle.
5890 * Form.cs: Remove comment of trechery
5892 2005-11-22 Jackson Harper <jackson@ximian.com>
5894 * Hwnd.cs: The adjustments for the menu bar are made when it is
5895 attached to the form.
5897 2005-11-19 Jackson Harper <jackson@ximian.com>
5899 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
5900 (just like on windows).
5902 2005-11-19 Jackson Harper <jackson@ximian.com>
5904 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
5905 use real buttons anymore because they are in non client area. The
5906 one TODO here is that I need to somehow invalidate a section of
5907 the non client area.
5909 2005-11-18 Jackson Harper <jackson@ximian.com>
5911 * Control.cs: Put the enum check back in now that MDI doesnt have
5912 to use this to set border styles.
5913 * Form.cs: Only set mdi child windows borders if the handle has
5915 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
5916 this directly on to the driver.
5917 - Get the move start position before adjusting for the titlebar
5918 height, this fixes the windows "skipping" when they are first
5921 2005-11-18 Jackson Harper <jackson@ximian.com>
5923 * XplatUIX11.cs: Just compute the mdi borders separately as they
5924 don't totally match up with normal form borders.
5926 2005-11-18 Jackson Harper <jackson@ximian.com>
5928 * Control.cs: Set WS_ styles for borders, so that the driver does
5929 not have to retrieve the control instance to figure out what kind
5930 of borders it should have.
5931 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
5932 driver can know its an mdi child easily.
5933 * XplatUIX11.cs: Get the border styles and whether the window is
5934 MDI from the Styles and ExStyles params instead of having to get a
5935 control. This prevents a chicken and egg problem.
5937 2005-11-18 Jackson Harper <jackson@ximian.com>
5939 * MdiClient.cs: Fix typo so scrollbars show up correctly.
5941 2005-11-18 Jackson Harper <jackson@ximian.com>
5943 * MdiClient.cs: Calculate when to add and remove scrollbars
5945 * MdiChildContext.cs: Adjust the y position to take the titlebar
5947 - No height for FormBorderStyle.None
5949 2005-11-18 Jackson Harper <jackson@ximian.com>
5951 * Control.cs: Allow non enum values to be used for
5952 InternalBorderStyle. MDI does this to set a special border style.
5953 - New utility methods for converting points to/from client coords
5954 - Add the newly created control to the Controls collection before
5955 updating its style. This way UpdateStyle can walk the control
5956 heirarchy to find the control if needed.
5957 so I don't need to create a new Point object all the time.
5958 * Form.cs: Let MDI windows handle their border styles.
5959 - Set styles on MDI windows so the correct title style is derived.
5960 * MdiChildContext.cs: Move all the painting and window handling
5961 into the non client area.
5962 - Use correct sizing and put correct buttons on frames based on
5963 the FormBorderStyle.
5964 - Notify the mdi client about scrolling
5965 - Need to handle the buttons ourselves now, because they are all
5966 in non client areas and we can't add controls there.
5967 * MdiClient.cs: Halfway to scrolling, this implementation is
5968 somewhat broken though, we need to check to make sure other
5969 windows aren't causing scrolling before removing the bars. Also
5970 the bars need to be drawn on top, maybe I can switch implicit
5971 controls to be on top.
5972 * Hwnd.cs: caption_height and tool_caption_height are now
5973 properties of an hwnd, this way they can be set by the driver
5974 based on the type of window they are. In X11 the window manager
5975 handles the decorations so caption_height is zero unless its an
5977 - Add 3 pixel borders for MDI windows (0xFFFF).
5978 - Get rid of some code duplication, have DefaultClientRectanle
5979 just call GetClientRectangle.
5980 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5982 - Set border styles differently for mdi windows.
5983 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5986 2005-11-15 Mike Kestner <mkestner@novell.com>
5988 * Menu.cs: when adding an item to the collection, if item is already
5989 parented, remove it from the parent.
5991 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5993 * X11DesktopColors.cs: Added KDE support
5995 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5998 - Clipboard methods now can translate Rtf format
5999 - No longer removes clipboard contents whenever a new format is added
6000 to allow placing multiple formats on the clipboard
6001 * Clipboard.cs: Clipboard now supports getting a IDataObject and
6002 will place all formats contained in it onto the clipboard. Also
6003 now cleans the clipboard before placing a new object onto it
6005 - Implemented set_Rtf
6006 - Implemented set_SelectedRtf
6007 - Created InsertRTFFromStream() method to allow single code base
6008 for all properties and methods that insert RTF into document
6009 - Removed debug output
6011 - Fixed Delete(int) to fix up line numbers
6012 - Fixed ReplaceSelection to combine start and end line
6013 - Fixed serious DeleteChars bug that would leave the document tree
6015 - Improved DumpTree with several logic checks to detect broken
6017 - Removed debug lines
6018 - Fixed Caret.WordForward/WordBack moving code, now always also
6019 updates caret.tag (fixes crash when word-selecting across tag
6020 boundaries via keyboard)
6021 - Added Insert() method for inserting multiline text into documents
6022 - Fixed DeleteChars() calculation errors that would cause a broken
6023 tag chain with multiple tag lines
6024 - DeleteChars() no longer crashes on multi-tag lines if not all tags
6025 - Split() no longer moves caret if split is at caret location
6026 - ReplaceSelection() now updates the cursor and re-displays it
6027 - ReplaceSelection() now uses new Insert() method to avoid code
6029 - FormatText() can now handle formatting partial lines
6031 - Append now uses new TextControl.Insert() method (this avoids
6033 - Implemented Ctrl-X (Cut) (
6034 - Implemented Ctrl-C (Copy)
6035 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
6036 regeneration when pasting text; roundtripping Copy&Paste within
6037 edit control still fails due to some calculation bugs in GenerateRTF)
6038 - The Delete key will now remove the current selection if it is visible
6039 * TextBox.cs: Removed debug lines
6040 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
6041 driver to be initialized and can't therefore be done via a static ctor)
6043 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
6045 * TextControl.cs: Added backend code for finding char arrays and strings
6047 - Added mouse wheel scroll support
6048 - Added support for VScroll and HScroll events
6050 - Implemented all seven Find() variants
6051 - Implemented GetCharFromPosition()
6052 - Implemented GetCharIndexFromPosition()
6053 - Implemented GetLineFromIndex()
6054 - Implemented GetPositionFromCharIndex();
6055 - Implemented SaveFile for PlainText and UnicodeText
6056 - Fixed set_Font, now setting a new font applies that font to
6058 - Implemented generic Document to RTF converter
6059 - Implemented SaveFile for RichText format (still missing unicode
6060 conversion for non-ansi chars)
6061 - Implemented get_Rtf
6062 - Implemented get_SelectedRtf
6064 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
6066 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
6067 to allow any captures to be released before triggering OnClick. This
6068 way a click handler may capture the mouse without interference.
6069 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
6070 This way we send them even though X may not allow a grab (if the window
6071 isn't visible, for example)
6073 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
6075 * DataGridViewRowEventArgs.cs: DataGridView implementation
6076 * DataGridViewElement.cs: DataGridView implementation
6077 * DataGridViewComboBoxCell.cs: DataGridView implementation
6078 * DataGridViewDataErrorContexts.cs: DataGridView implementation
6079 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
6080 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
6081 * ImageLayout.cs: DataGridView implementation
6082 * DataGridViewComboBoxColumn.cs: DataGridView implementation
6083 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
6084 * DataGridViewSelectionMode.cs: DataGridView implementation
6085 * IDataGridViewEditingControl.cs: DataGridView implementation
6086 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
6087 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
6088 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
6089 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
6090 * DataGridViewColumnSortMode.cs: DataGridView implementation
6091 * DataGridView.cs: DataGridView implementation
6092 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
6093 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
6094 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
6095 * Padding.cs: DataGridView implementation
6096 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
6097 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
6098 * DataGridViewRowEventHandler.cs: DataGridView implementation
6099 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
6100 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
6101 * DataGridViewButtonCell.cs: DataGridView implementation
6102 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
6103 * DataGridViewEditMode.cs: DataGridView implementation
6104 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
6105 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
6106 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
6107 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
6108 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
6109 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
6110 * DataGridViewCellEventHandler.cs: DataGridView implementation
6111 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
6112 * DataGridViewCellStyleConverter.cs: DataGridView implementation
6113 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
6114 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
6115 * DataGridViewColumnEventArgs.cs: DataGridView implementation
6116 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
6117 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
6118 * QuestionEventArgs.cs: DataGridView implementation
6119 * IDataGridViewEditingCell.cs: DataGridView implementation
6120 * DataGridViewTriState.cs: DataGridView implementation
6121 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
6122 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
6123 * DataGridViewColumnCollection.cs: DataGridView implementation
6124 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
6125 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
6126 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
6127 * DataGridViewColumn.cs: DataGridView implementation
6128 * DataGridViewCellBorderStyle.cs: DataGridView implementation
6129 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
6130 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
6131 * DataGridViewRow.cs: DataGridView implementation
6132 * DataGridViewImageCellLayout.cs: DataGridView implementation
6133 * DataGridViewImageCell.cs: DataGridView implementation
6134 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
6135 * DataGridViewCheckBoxCell.cs: DataGridView implementation
6136 * DataGridViewHeaderCell.cs: DataGridView implementation
6137 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
6138 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
6139 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
6140 * DataGridViewTextBoxColumn.cs: DataGridView implementation
6141 * QuestionEventHandler.cs: DataGridView implementation
6142 * DataGridViewCellStyleScopes.cs: DataGridView implementation
6143 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
6144 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
6145 * DataGridViewCell.cs: DataGridView implementation
6146 * DataGridViewCellEventArgs.cs: DataGridView implementation
6147 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
6148 * DataGridViewCellStyle.cs: DataGridView implementation
6149 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
6150 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
6151 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
6152 * TextFormatFlags.cs: DataGridView implementation
6153 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
6154 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
6155 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
6156 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
6157 * DataGridViewButtonColumn.cs: DataGridView implementation
6158 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
6159 * HandledMouseEventArgs.cs: DataGridView implementation
6160 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
6161 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
6162 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
6163 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
6164 * DataGridViewRowCollection.cs: DataGridView implementation
6165 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
6166 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
6167 * DataGridViewHitTestType.cs: DataGridView implementation
6168 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
6169 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
6170 * DataGridViewColumnEventHandler.cs: DataGridView implementation
6171 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
6172 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
6173 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
6174 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
6175 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
6176 * DataGridViewContentAlignment.cs: DataGridView implementation
6177 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
6178 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
6179 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
6180 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
6181 * DataGridViewPaintParts.cs: DataGridView implementation
6182 * DataGridViewCellCollection.cs: DataGridView implementation
6183 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
6184 * DataGridViewImageColumn.cs: DataGridView implementation
6185 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
6186 * DataGridViewElementStates.cs: DataGridView implementation
6187 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
6188 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
6189 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
6190 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
6191 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
6192 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
6193 * DataGridViewRowHeaderCell.cs: DataGridView implementation
6194 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
6195 * DataGridViewTextBoxCell.cs: DataGridView implementation
6196 * DataGridViewBand.cs: DataGridView implementation
6197 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
6198 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
6199 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
6200 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
6201 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
6202 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
6203 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
6204 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
6205 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
6206 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
6207 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
6209 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
6211 * ThemeWin32Classic.cs:
6212 - Draw the outside focus rectangle around buttons
6213 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
6214 doesn't use end caps for every dash of a line anymore. This
6215 workaround ignores the forecolor.
6217 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
6219 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
6222 2005-11-07 Jackson Harper <jackson@ximian.com>
6224 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
6226 2005-11-07 Jackson Harper <jackson@ximian.com>
6228 * ScrollableControl.cs: Calculate the maximum and change vars
6229 (more) correctly so that scrollbars appear as a sensible size.
6231 2005-11-04 Jackson Harper <jackson@ximian.com>
6233 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
6235 * TreeView.cs: When the tree is sorted null out the top_node so
6236 that it is recalculated.
6237 - Use dotted lines instead of dashed lines to match MS better.
6239 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
6242 - Implements key search for items. Useful when browsing files with FileDialog
6243 - When changing view mode or when clear the items reset scrollbar positions
6245 2005-11-04 Jackson Harper <jackson@ximian.com>
6247 * CurrencyManager.cs: Implement the MetaDataChanged event, the
6248 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
6249 as to what the method may do as there is no real way of creating a
6250 derived CurrencyManager and calling the method.
6252 2005-11-03 Jackson Harper <jackson@ximian.com>
6254 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
6255 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
6256 method which seems to just be used internally to refresh the tabs.
6258 2005-11-03 Jackson Harper <jackson@ximian.com>
6260 * TabControl.cs: Implement the remove method. Fix some broken
6263 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6265 * DateTimePicker.cs:
6266 - Added missing DateTimePickerAccessibleObject class
6267 - Added missing events
6268 - Added OnFontChanged method
6269 * Form.cs: Added missing attributes
6270 * TreeView.cs: Added missing attributes
6272 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6274 * GridItemCollection.cs: Fix signatures
6276 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6278 * XplatUI.cs: Updated build rev/date
6279 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
6280 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
6281 * Application.cs: Trigger context-specific ExitThread events
6283 2005-11-03 Jackson Harper <jackson@ximian.com>
6287 * GridTableStylesCollection.cs:
6292 * MonthCalendar.cs: Signature fixes
6294 2005-11-03 Jackson Harper <jackson@ximian.com>
6296 * TreeNodeCollection.cs: Remove should not be virtual.
6297 * TreeView.cs: Implement the last of the missing methods.
6299 2005-11-03 Jackson Harper <jackson@ximian.com>
6301 * TreeNodeConverter.cs: Implement to get off my class-status back.
6303 2005-11-03 Jackson Harper <jackson@ximian.com>
6305 * TreeView.cs: Hookup the bits for drag and drop.
6306 * TreeNode.cs: Don't cache the tree_view or index anymore, now
6307 that nodes can be moved from tree to tree easily this just causes
6308 all sorts of problems.
6309 * TreeNodeCollection: Don't need to give treenodes an index and
6310 treeview anymore when they are added, these are computed on the
6311 fly. Also make sure to remove a node before its added.
6313 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
6316 - Added CaretSelection enum
6317 - Added comparison methods to Marker struct, makes selection code
6319 - Added SelectionStart and SelectionEnd as 'moveable' location for
6320 the CaretDirection enum and handler
6321 - Added selection_prev variable to track optimized invalidation for
6322 word and line selection
6323 - Added SelectionVisible property (returns true if there is a valid
6325 - Switched CaretHasFocus to only display the caret if there is no
6327 - Avoiding StringBuilder.ToString to retrieve a single char, instead
6328 using the direct character index; should be much faster
6329 - Added various conditional debug statements
6330 - Fixed invalidation calculation for selection ranges
6331 - Added ExpandSelection() method to support word and line selection
6332 - Switched SetSelectionToCaret to use new Marker compare overloads
6333 - Added central IsWordSeparator() method to determine word
6334 separators/whitespace and FindWordSeparator() to streamline common
6335 usage of IsWordSeparator()
6337 - Removed unneeded grabbed variable, it was just mirroring
6339 - No longer firing OnTextChanged event when Text setter is called,
6340 since the base will fire the event for us
6341 - Added handling of Ctrl-Up/Down selection
6342 - Added handling of Shift-Cursorkey selection
6343 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
6345 - Added handling of Shift and Ctrl-Shift-Home/End selection
6346 - Removed some debug output
6347 - Added handling for single/double/tripple-click to place caret/
6348 select word/select line respectively (Fixes bug #76031)
6349 - Added support for drag expansion of word/line selection
6350 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
6353 2005-11-02 Jackson Harper <jackson@ximian.com>
6355 * X11Dnd.cs: If the drag is going to and from a MWF window just
6356 copy the data instead of sending it out through the X Selection
6359 2005-11-02 Jackson Harper <jackson@ximian.com>
6362 * XplatUIX11.cs: When in a drag we don't want motion notify
6363 messages to get passed on to the other controls. This prevents
6364 mouse move messages from showing up in the drag source.
6366 2005-11-02 Jackson Harper <jackson@ximian.com>
6368 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
6369 the correct button is release to end a drag.
6370 * XplatUIX11.cs: Make the button state internal so the drag system
6371 can access it. Dragging needs to know about all button releases,
6372 not just left button.
6374 2005-11-02 Miguel de Icaza <miguel@novell.com>
6376 * Form.cs (Icon): If the icon is null, reset the icon to the
6379 * Cursor.cs: When writing the AND-mask bitmap do not include the
6380 number of colors, but hardcode those to two (black and white),
6381 fixes the loading of color cursors (Paint Dot Net).
6383 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
6384 turn off autoscaling.
6386 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
6388 2005-11-02 Jackson Harper <jackson@ximian.com>
6390 * X11Dnd.cs: Make sure to send a status message if the pointer
6391 enters a control that can not accept a drop, otherwise the cursor
6392 isn't updated correctly. Also tried to compress the lines of code
6395 2005-11-02 Jackson Harper <jackson@ximian.com>
6397 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
6398 set actions correctly. This isn't perfect as XDND and win32 have
6399 some differences on how you allow actions. I'll clear this up by
6400 adding a path for drag from MWF to MWF windows.
6401 * XplatUIX11.cs: Hook into the dnd system.
6403 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
6405 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
6406 previously shown but they are no longer need it. Very obvious when
6407 browsing files with FileDialog.
6409 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
6411 * Control.cs: We always need to call OnPaintBackground. We pretty much
6412 ignore AllPaintingInWmPaint and always do the painting there, whether
6413 it's set or not, since we always ignore the WM_ERASEBKGND message
6414 (which we don't generate on X11). This fixes #76616.
6415 * Panel.cs: Removed unneeded background painting. This happens properly
6416 in Control.cs already
6418 2005-10-31 Mike Kestner <mkestner@novell.com>
6420 * Menu.cs: Add items to collection before setting their index.
6421 * MenuItem.cs : add range checking with ArgumentException like MS.
6424 2005-10-31 Jackson Harper <jackson@ximian.com>
6426 * ListBox.cs: Invalidate if the area is visible at all not just
6427 contained in the visible rect. Fixes unselection of semi visible
6430 2005-10-31 Jackson Harper <jackson@ximian.com>
6432 * Control.cs: Consistently name the dnd methods. Make them
6433 internal so we can override them to match some MS behavoir
6435 * Win32DnD.cs: Use the new consistent names.
6437 2005-10-31 Jackson Harper <jackson@ximian.com>
6439 * TreeView.cs: Don't draw the selected node when we lose focus.
6441 2005-10-31 Jackson Harper <jackson@ximian.com>
6443 * X11Dnd.cs: We still need to reset the state even though a full
6444 reset isn't being done, otherwise status's still get sent all over
6447 2005-10-31 Jackson Harper <jackson@ximian.com>
6449 * Control.cs: Make the dnd_aware flag internal so the dnd
6450 subsystem can check it. Catch exceptions thrown in dnd handlers to
6452 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
6453 * X11Dnd.cs: Handle null data in the converters. Set the XDND
6454 version when sending a XdndEnter. Use the control/hwnd dnd_aware
6455 flags to reduce the number of dnd enters/status's sent.
6457 2005-10-31 Jackson Harper <jackson@ximian.com>
6459 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
6461 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
6463 * PictureBox.cs: Fixes 76512
6465 2005-10-28 Jackson Harper <jackson@ximian.com>
6467 * X11Dnd.cs: Early implementation to support winforms being a drag
6468 source for data on X11. Also restructured the converters so they
6469 can go both ways now.
6470 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
6472 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
6474 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
6477 2005-10-27 Jackson Harper <jackson@ximian.com>
6479 * TreeNode.cs: Implement serialization so my DnD examples will work.
6481 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
6483 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
6484 TreeView.cs: Don't dispose objects that are not owned.
6486 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
6488 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
6489 should retrieve the current cursor and report that, but XplatUI
6490 doesn't (yet) have an interface for that (and I'm not sure I even
6492 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
6493 until any message loop processing is done (and the WM_SETCURSOR
6494 replaces the cursor to the proper one)
6496 - Fixed override behaviour, we can't set the cursor globally on X11,
6497 just for our windows.
6498 - Invalidating the System.Drawing X11 display handle when we are
6500 * Control.cs: Fix to make csc happy
6502 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
6505 - get_Text: Add last line (without trailing newline) to returned
6507 - get_TextLength: Count last line in returned length
6508 - ToString: Call Text property instead of duplicating code
6510 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
6512 * ImageList.cs: Dispose ImageAttributes objects.
6514 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6516 * ImageList.cs: Use attribute constructors with less arguments where
6519 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
6521 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
6522 Use typeof instead of strings when assembly is referenced. Added
6525 2005-10-21 Jackson Harper <jackson@ximian.com>
6527 * ListView.cs: Raise a double click event. Also tried to somewhat
6528 fix when the selectedindexchanged event is raised. Its still
6531 2005-10-21 Jackson Harper <jackson@ximian.com>
6533 * TreeView.cs: New method to invalidate the plus minus area of a
6534 node without invalidating the whole node (maybe this can be used
6535 in some more places).
6536 * TreeNodeCollection.cs: When adding to an empty node we need to
6537 invalidate its plus minus area so the little block shows up.
6539 2005-10-21 Jackson Harper <jackson@ximian.com>
6541 * TreeView.cs: Make sure that when we invalidate a node the bounds
6542 are big enough to cover the selected box and the focus
6543 rectangle. Use a different colour for the lines connecting nodes
6544 so they show up with all themes.
6546 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6548 * NativeWindow.cs: Don't call anything that could call into the driver,
6549 we might be on a different thread.
6551 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6553 * Control.cs(Dispose): Since Dispose might run on a different thread,
6554 make sure that we call methods that could call into the driver via
6555 invoke, to avoid thread issues
6557 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
6559 * XplatUI.cs: Removed finalizer
6560 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
6561 not allowing to be called on the finalizer thread.
6563 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
6566 - Reverted r51889 and r51891.
6567 - Added ImageListItem class that stores unmodified image items and image
6568 properties required to create list images until handle is created.
6569 - Added AddItem and moved image creation logic to AddItemInternal.
6570 - Added CreateHandle method that creates images based on unmodified items.
6571 - Added DestroyHandle that changes state to store unmodified items.
6572 - Add and AddStrip methods no more create handle.
6573 - ReduceColorDepth has no return value.
6574 - Dispose destroys handle.
6575 - Modified other methods to reflect the above changes.
6576 - Implemented key support.
6577 - Added profile 2.0 members and attributes.
6578 - Added private Reset and ShouldSerialize methods that provide the same
6579 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
6580 them as they are private.
6581 - Added some more comments about implementation details.
6583 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6585 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
6587 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6589 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
6591 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
6593 * DataGridDrawingLogic.cs: Fixes column hit calcultation
6594 * DataGridColumnStyle.cs: Remove debug message
6596 2005-10-20 Jackson Harper <jackson@ximian.com>
6598 * TreeView.cs: We can always get input keys regardless of whether
6599 or not editing is enabled. They are used for navigation.
6601 2005-10-20 Jackson Harper <jackson@ximian.com>
6603 * TreeNode.cs: Use the viewport rect for determining if a node
6604 needs to be moved for visibility. Don't use Begin/End edit. This
6605 calls a full refresh when its done.
6606 * TreeView.cs: New SetBottom works correctly. Make the viewport
6607 rect property internal so the treenodes can see it. When clicking
6608 on a node we need to ensure that its visible because it might just
6609 be partly visible when clicked.
6611 2005-10-20 Jackson Harper <jackson@ximian.com>
6613 * TreeNodeCollection.cs: Remove debug code.
6615 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6617 * Datagrid.cs: Implements column sorting in Datagrid
6618 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
6620 2005-10-20 Jackson Harper <jackson@ximian.com>
6622 * TreeNodeCollection.cs: Remove items properly. Update the correct
6623 area after removing them.
6625 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
6627 * Datagrid.cs: Should not call base.OnPaintBackground
6629 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6631 * XplatUIX11.cs (GetMessage):
6632 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
6633 window instead of client window
6634 - Now properly calculates NC_xBUTTONUP message coordinates
6635 - ScreenToMenu now properly calculates it's coordinates of whole
6636 window, since menus are in the whole window, not in the client
6638 - Added WholeToScreen coordinate translation method
6640 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6642 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
6643 want to return a message, loop back to the beginning of the function
6644 and grab the next real message to process instead.
6646 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
6648 * Splitter.cs: Properly set limits if no filler control is used
6650 2005-10-19 Jackson Harper <jackson@ximian.com>
6652 * ColorDialog.cs: Don't show the help button if it is not enabled
6653 instead of disabling it (this is what MS does). Don't create the
6654 panel until the dialog is run, otherwise the vars (such as
6655 ShowHelp) are not set yet.
6657 2005-10-19 Jackson Harper <jackson@ximian.com>
6659 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
6660 are reduced when adding nodes.
6662 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
6665 2005-10-19 Jackson Harper <jackson@ximian.com>
6667 * FolderBrowserDialog.cs: End editing our treeview so the window
6668 actually gets refreshed.
6670 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6672 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
6673 Obsoleted handling of WM_ERASEBKGND, now always draws our background
6676 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6678 * MenuAPI.cs: Returns after Hidding window
6679 * XplatUIX11.cs: Added TODO found while debugging menu issues
6681 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
6683 * XplatUIX11.cs: Do not re-map the whole window when it's size
6684 becomes non-zero unless it's supposed to be actually visible
6686 2005-10-18 Jackson Harper <jackson@ximian.com>
6688 * TreeView.cs: We don't need to keep a count anymore.
6689 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
6690 use the Grow method.
6692 2005-10-18 Jackson Harper <jackson@ximian.com>
6694 * TreeNodeCollection.cs: Insert is not supported on arrays, so
6695 implement it manually here.
6697 2005-10-18 Jackson Harper <jackson@ximian.com>
6699 * ImageList.cs: Dont kill the list when the colour depth is
6700 changed, just change the colour depth of all the images.
6701 - Same goes for setting the image size. Just resize them all
6702 instead of killing the list softly.
6704 2005-10-18 Jackson Harper <jackson@ximian.com>
6706 * Control.cs: Don't invalidate empty rectangles.
6708 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6711 - Adds checked item to the Checked/Item lists (where empty before)
6712 - Do not add items to the Selected lists if they are already present
6714 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
6715 - When deleting items make sure that we delete them for the Selected
6716 and Checked list also.
6718 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
6720 * Label.cs: Dispose objects no longer used
6721 * ThemeWin32Classic.cs: Dispose objects no longer used
6723 2005-10-18 Jackson Harper <jackson@ximian.com>
6725 * TabControl.cs: Don't refresh the whole control when the tabs are
6726 scrolled, we just need to refresh the tab area.
6728 2005-10-17 Jackson Harper <jackson@ximian.com>
6730 * XplatUIX11.cs: Compress code a little bit. Only calculate the
6731 after handle when we need it.
6733 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6735 * Control.cs: When the parent size changes, recalculate anchor
6736 positions. Partial fix for #76462
6738 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
6740 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
6743 2005-10-17 Jackson Harper <jackson@ximian.com>
6745 * MonthCalendar.cs: Don't create the numeric up down until our
6746 handle is created. Otherwise our handle is created in the
6747 constructor and we don't know if we are a WS_CHILD or WS_POPUP
6750 2005-10-17 Jackson Harper <jackson@ximian.com>
6752 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
6755 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6756 * TreeNode.cs : small logical fix (was using local var instead of field)
6758 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6760 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
6762 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
6764 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
6766 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
6769 - Re-implemented anchoring code. My first version was really broken.
6770 This fixes bug #76033. Unlike the previous implementation we will
6771 no longer have round errors since all numbers are calculated from
6772 scratch every time. Removed various anchor-related obsolete vars.
6773 - InitLayout no longer causes layout event firing and layout to be
6776 2005-10-16 Jackson Harper <jackson@ximian.com>
6778 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
6781 2005-10-16 Jackson Harper <jackson@ximian.com>
6783 * TabControl.cs: Remove debug code.
6785 2005-10-16 Jackson Harper <jackson@ximian.com>
6787 * XEventQueue.cs: Increase the default queue size (very simple
6788 apps needed to grow the queue).
6789 * Hwnd.cs: No finalizer so we don't need to suppress
6790 finalization. Compute the invalid area manually so a new rectangle
6791 does not newto be created.
6792 * ScrollableControl.cs: Don't set any params (otherwise visibility
6793 isn't set correctly).
6794 * MdiChildContext.cs: New constructor takes the mdi parent so it
6795 doesn't have to be computed and avoids a crash on windows. Draw
6796 the window icon properly, and allow the text to be seen.
6797 * Form.cs: Use new MdiChildContext constructor. Make sure the
6798 child context isn't null in wndproc.
6799 * TabControl.cs: Don't set focus, this is muddling keyboard
6800 behavoir. Expand the tab rows when a window size increase will
6801 allow extra tabs to be seen. Don't allow tabs smaller than the
6802 width of a window to be scrolled out of view.
6804 * TreeView.cs: Use measure string to calculate a nodes width, the
6805 width is cached and only updated when the text or the font is
6806 changed. Don't check for expand/collapse clicks on the first level
6807 nodes if root lines are disabled.
6809 2005-10-16 Ritvik Mayank <mritvik@novell.com>
6811 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
6813 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6815 * DataGridBoolColumn.cs: fixes warning
6817 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
6819 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
6820 to match more to match more precisely the MS Net behavior
6822 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6824 * Hwnd.cs: Added field to track if window is mapped
6826 - Unmap windows if they become 0-size, re-map when
6827 they are >0 again; fixes #76035
6828 - Re-set our error handler after initializing X11Desktop
6829 to override any error handlers Gtk or whatever was called
6832 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6834 * CheckedListBox.cs: Removed unused vars
6835 * ListView.cs: Fixed signatures
6836 * RichTextBox.cs: Removed unused vars
6837 * TextBoxBase.cs: Removed unused vars
6838 * XplatUIWin32.cs: Removed unused vars
6839 * XplatUIX11.cs: Removed unused vars
6840 * XplatUI.cs: Updated version and date to latest published
6842 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6844 * Cursor.cs: Added private .ctor to work around a bug in
6845 resourceset (Thanks to Geoff Norton for the help on this)
6846 * SplitterEventArgs.cs: Made fields accessible so we don't
6847 waste boatloads of objects and can reuse the same one
6849 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
6850 any captions and borders when generating screen coordinates
6851 * Splitter.cs: Reimplemented control, now fully complete, uses
6852 rubberband drawing, supports and obeys all properties, has
6855 2005-10-13 Miguel de Icaza <miguel@novell.com>
6857 * Form.cs (Form): Setup default values for autoscale and
6858 autoscale_base_size; Make these instance variables, not static
6861 (OnLoad): on the first load, adjust the size of the form.
6863 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
6865 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
6866 width argument to DrawReversibleRectangle()
6867 * XplatUIWin32.cs, XplatUIX11.cs:
6868 - Implemented width for DrawReversibleRectangle()
6869 - Added logic to DrawReversibleRectangle that recognizes a zero
6870 width or height and only draws a line in that situation
6872 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6874 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
6875 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
6876 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
6877 method (it uses our FosterParent window to get a graphics context)
6879 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
6881 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
6882 and SetWindowBackground methods
6884 - Setting proper ControlStyles
6885 - We no longer call XplatUI.SetWindowBackground and XplatUI.
6886 EraseWindowBackground, instead we draw the window background
6887 ourselves in PaintControlBackground. This behaviour is
6888 required to match MS, where, when OnPaintBackground is not
6889 called, the background is not drawn.
6890 - Removed unneeded Refresh() in set_Text
6891 * Hwnd.cs: Dropped the ErasePending support. No longer needed
6893 - Created DeriveStyles method to translate from CreateParams to
6894 FormBorderStyle and TitleStyle, also handles BorderStyle (which
6895 matches FormBorderStyle enum values)
6896 - Consolidated SetHwndStyles and CalculateWindowRect border/title
6897 style calculations into single DeriveStyles method
6898 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
6899 from redrawing the whole window on any resize or expose.
6900 - Fixed CreateWindow usage of SetWindowValuemask. Before not
6901 all styles were applied to our whole/client window appropriately
6902 - Removed EraseWindowBackground() and SetWindowBackground() methods
6903 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
6904 no longer clear/redraw the background through X
6905 - Removed handling of erase_pending bit, we have no use for it (or
6908 - Removed generation and handling of WM_ERASEBKGND message
6909 - Removed EraseWindowBackground() and SetWindowBackground() methods
6910 - Removed handling of hwnd.ErasePending flag
6912 - Removed EraseWindowBackground() and SetWindowBackground() methods
6913 - We no longer call EraseWindowBackground on PaintEventStart, we
6914 ignore the fErase flag, erasing is handled in Control in the
6916 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
6917 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
6918 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
6919 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
6920 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
6921 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
6922 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
6924 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
6926 * PropertyGrids.cs: Get sub properties
6927 * PropertyGridView.cs: Fix drawing code
6929 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6931 * ListBox.cs: Fixes 76383
6933 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6935 * DataGridTextBoxColumn.cs: Sets location and size before attachment
6936 * ThemeWin32Classic.cs: Fixes border drawing and calculations
6937 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
6940 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6942 * ComboBox.cs: Fixes border drawing
6944 2005-10-10 Miguel de Icaza <miguel@novell.com>
6946 * MimeIcon.cs: Ignore errors if the file can not be read.
6948 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
6950 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
6951 - Fixed border calculations
6952 - Fixed horizontal scrolling in single column listboxes
6953 - Fixed drawing issues
6955 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
6957 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
6958 FormBorderStyle enum
6959 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
6960 code to determine FormBorderStyles from CreateParams
6962 - Fixed bug where we'd set the wrong window styles if we were
6963 not creating an MDI window
6964 - Added call to XplatUI.SetBorderStyle when form borders are set
6965 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
6967 - Removed obsolete edge style
6968 - Switched from BorderStyle to FormBorderStyle
6970 2005-10-10 Jackson Harper <jackson@ximian.com>
6972 * Form.cs: Use the property to get the window handle instead of
6973 accessing it directly. Prevents a null reference exception.
6975 2005-10-10 Jackson Harper <jackson@ximian.com>
6977 * TreeView.cs: Don't adjust the rect given to DrawString now that
6978 our libgdiplus draws correctly.
6980 2005-10-08 Jackson Harper <jackson@ximian.com>
6982 * TreeView.cs: Don't try to find the clicked on node if there are
6983 no nodes in the tree.
6985 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6991 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6993 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6994 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6996 Use ResPool for brushes and dispose System.Drawing objects that
6997 are not used anymore.
6999 2005-10-07 Jackson Harper <jackson@ximian.com>
7001 * MdiChildContext.cs: Use the new borders instead of drawing them
7004 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
7006 * Calling UpdateBounds after changing the window's BorderStyle
7007 since the style can change the ClientSize
7009 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7011 * Control.cs: Made PaintControlBackground virtual
7012 * Panel.cs: Overriding PaintControlBackground instead of using paint
7013 event; paint event method was interfering with 'real' users of the
7016 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
7018 * ThemeWin32Classic.cs: remove border drawing since it is handled
7019 by the base control class now and was causing double border drawing.
7021 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7023 * Panel.cs: Redraw our background on paint. Not a pretty solution,
7024 but it does seem to match MS behaviour. This fixes bug #75324
7026 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7028 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
7029 somewhat hackish looking
7031 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7034 - We now accept Enter even if AcceptEnter is false, if the containing
7035 form does not have an AcceptButton configured (fixes bug #76355)
7036 - Calculations are now fixed to no longer use Width/Height, but
7037 ClientSize.Width/Height, since we now support borders (this was
7038 a result of fixing borders and therefore bug #76166)
7039 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
7040 true (fixes bug #76354)
7042 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7045 - Defaulting BorderStyle and setting it in XplatUI when our window
7047 - Added enum check to InternalBorderStyle setter
7049 - Added drawing of window borders
7050 - Now properly calculates WM decorations offset for toplevel
7051 windows (fixes bug #74763)
7053 - Implemented BorderStyles for windows (we're letting win32 draw
7055 - Fixed the signature for SetWindowLong
7056 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
7057 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
7059 * UpDownBase.cs: Remove drawing of borders, this is handled by
7060 the driver, outside the client area
7061 * ListView.cs: Removed bogus border calculations. The control should
7062 be oblivious to borders, since those are not part of the client
7064 * X11DesktopColors.cs: Commented out (currently) unneeded variables
7065 * ThemeWin32Classic.cs: Removed border calculations from ListView
7068 2005-10-06 Jackson Harper <jackson@ximian.com>
7070 * MdiChildContext.cs: Clear out the old virtual position remove
7071 all the unneeded calls to CreateGraphics.
7073 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7075 * TextControl.cs: Use proper color for highlighted text; fixes #76350
7077 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7080 - Added loading and setting of our new default icon
7081 - Only set icon if window is already created
7083 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
7086 - Do not explicitly set the foreground and background colors, to
7087 allow inheriting from parents (fixes #76302)
7088 - Use Control's InternalBorderStyle property to deal with borders
7090 2005-10-06 Jackson Harper <jackson@ximian.com>
7092 * MdiChildContext.cs: Use the new xplatui function to draw a
7095 2005-10-06 Jackson Harper <jackson@ximian.com>
7097 * Form.cs: Add the parent before creating the child context cause
7098 we need the parent when setting up the child.
7100 2005-10-06 Jackson Harper <jackson@ximian.com>
7102 * FolderBrowserDialog.cs: redo the tree population code so a
7103 second thread isn't used. Should be a lot faster and more stable
7106 2005-10-05 Jackson Harper <jackson@ximian.com>
7108 * TreeView.cs: There are no expand/collapse boxes if the node has
7111 2005-10-05 Jackson Harper <jackson@ximian.com>
7113 * X11DesktopColors.cs: Get menu colours for the gtk theme.
7115 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
7117 * FileDialog.cs: Fix InitialDirectory
7119 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
7122 - Fixes changing between styles
7124 - Fixes last item crashing when navigating with keyboard
7126 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
7128 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
7130 2005-10-05 Jackson Harper <jackson@ximian.com>
7132 * TreeView.cs: If updating the root node do a full refresh.
7133 * TreeNode.cs: The root node should be expanded by default. Also
7134 added a utility prop to tell if we are the root node.
7135 * TreeNodeCollection.cs: Only refresh if the node we are being
7136 added to is expanded. Also added a comment on a potential
7139 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
7141 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
7142 in dispose method. Fixes #76330
7144 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
7146 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
7148 - Implements vertical and horizontal scrolling using XplatUI
7149 - Fixes keyboard navagation
7150 - Fixes EnsureVisible
7152 - Handles and draws focus properly
7155 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
7157 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
7158 Create handle. NET_2_0: Destroy handle when value is null.
7160 2005-10-03 Jackson Harper <jackson@ximian.com>
7162 * ScrollBar.cs: My last scrollbar patch was broken. This is a
7163 revert and a new patch to prevent the thumb from refreshing so
7166 2005-10-02 Jackson Harper <jackson@ximian.com>
7168 * ScrollBar.cs: Don't update position if it hasn't actually
7169 changed. This occurs when you hold down the increment/decrement
7170 buttons and the thumb gets to the max/min.
7172 2005-10-01 Jackson Harper <jackson@ximian.com>
7175 * MdiChildContext.cs:
7176 * MdiClient.cs: Implement ActiveMdiChild in Form.
7178 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
7180 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
7182 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
7184 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
7187 2005-09-30 Jackson Harper <jackson@ximian.com>
7189 * ListBox.cs: Don't do a full refresh unless some data has
7192 2005-09-30 Jackson Harper <jackson@ximian.com>
7194 * TreeView.cs: Make sure that the checkboxes size is factored in
7195 even when not visible.
7197 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7199 * FileDialog.cs: Fix Jordi's build break
7201 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7204 - Use standard the Windows colours for the combobox as espected
7205 - Dispose objects that use resouces when no longer need them
7207 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7209 * X11DesktopColors.cs: Initial incomplete implementation
7210 * XplatUIX11.cs: Added call to initialize X11DesktopColors
7212 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
7215 - Switched Theme color names to match the names defined in
7216 System.Drawing.KnownColors. Life's hard enough, no need to make
7218 - Added setters to all theme color properties so themes can set
7219 their color schemes. The setters also propagate the color changes
7220 to System.Drawing.KnownColors via reflection
7221 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
7222 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
7223 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
7224 use the new, more logical theme color names
7225 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
7227 * ThemeWin32Classic.cs:
7228 - Removed code to set the old classic Windows colors. Instead it
7229 now relies on the colors returned by System.Drawing.KnownColors
7230 which will be either modern static colors (Unix) or colors
7231 read from the user's configuration (Win32)
7232 - Updated to use the new, more logical theme color names
7233 - Switched DataGrid drawing code to use only Theme colors instead of
7234 a mix of System.Drawing.KnownColors and Theme colors
7235 - DrawFrameControl(): Removed code that fills the button area, the
7236 fill would overwrite any previous fill done by a control. This
7238 - Added DrawReversibleRectangle() stub
7239 * ScrollableControl.cs: Set visible state to false when scrollbars
7240 are removed (pdn fix)
7241 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
7242 DrawReversibleRectangle() method to allow drawing primitive
7244 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
7246 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7248 * ImageList.cs: Add(Icon): Create handle.
7250 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
7253 * ThemeWin32Classic.cs:
7256 - Issues with drawing
7258 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7260 * ImageList.cs: Moved RecreateHandle back to ImageList as event
7261 source has to be the ImageList.
7263 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7265 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
7267 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7269 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
7271 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7273 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
7275 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
7276 * GridItem.cs: Fixed TODOs
7277 * GridItemCollection.cs: Added ICollection interface
7279 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
7281 * ImageList.cs: Resize icons when needed.
7283 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
7286 - Fixes GetBounds and returns on screen rects
7288 - Fixes vertical and horzintal scrolling of items
7289 * ThemeWin32Classic.cs:
7292 2005-09-29 Raja R Harinath <harinath@gmail.com>
7294 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
7296 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
7298 * ImageList.cs: Added comments about handle creation. Moved Handle,
7299 HandleCreated and OnRecreateHandle implementations to ImageCollection.
7300 Handle is created in Add methods.
7302 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7304 * DataGridDrawingLogic.cs:
7305 - Takes rows into account on Colum calculations
7306 - Returns the column when clickig
7308 - Fixes default HitTestInfo values
7309 - Fixes HitTestInfo.ToString
7310 - Fixes ResetBackColor
7312 2005-09-28 Jackson Harper <jackson@ximian.com>
7314 * MdiChildContext.cs: Obey rules for fixed sized windows (no
7315 sizing or cursor changes). Also added some temp code to draw the
7316 titlebars text (Makes dev a little easier).
7318 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7320 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
7322 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
7324 * ListBox.cs: Fixes bug 76253
7326 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
7328 * ImageList.cs: Added comments about the current implementation. Added
7329 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
7330 Format32bppArgb to preserve transparency and can use Graphics.FromImage
7331 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
7332 with Bitmap.LockBits for better performance. Revised the whole file to
7333 match MS.NET behaviour and provide better performance. Non-public
7334 interface members are calling public members even when they throw
7335 NotSupportedException for better maintainability. Moved ColorDepth,
7336 ImageSize, ImageStream and TransparentColor implementations to
7337 ImageCollection for better performance as these properties are not used
7339 * ImageListStreamer.cs: Added a new internal constructor that takes an
7340 ImageList.ImageCollection and serializes Images based on
7341 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
7342 match ImageList property name.
7344 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
7346 * ListBox.cs: Fixes IndexFromPoint for last item
7348 2005-09-27 Jackson Harper <jackson@ximian.com>
7350 * Form.cs: Set the position of new mdi children correctly.
7352 2005-09-27 Jackson Harper <jackson@ximian.com>
7354 * MdiClient.cs: New mdi children need to be added to the back of
7355 the controls collection so the zorder is set correctly. Also add a
7356 count of all the child windows that have been created.
7358 2005-09-27 Jackson Harper <jackson@ximian.com>
7360 * Form.cs (CreateParams): Setup MDI forms correctly.
7362 2005-09-27 Jackson Harper <jackson@ximian.com>
7364 * MdiChildContext.cs:
7371 * ScrollableControl.cs:
7372 * ComboBox.cs: Add implicit controls using the new implict control
7373 functionality in ControlCollection. Also try to block multiple
7374 control add in a suspend/resume layout to save some cycles.
7376 2005-09-27 Jackson Harper <jackson@ximian.com>
7378 * Control.cs: Add functionality to the controls collection to add
7379 'implicit controls' these are controls that are created by the
7380 containing control but should not be exposed to the user. Such as
7381 scrollbars in the treeview.
7382 * Form.cs: The list var of the ControlsCollection is no longer
7383 available because of the potential of implicit controls getting
7384 ignored by someone accessing the list directly.
7386 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
7388 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
7389 loose it's parent. (Fixed bug introduced in r49103 when we added
7390 setting the child parent to null on Remove)
7392 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
7394 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
7395 * Splitter.cs: Added missing attributes for BorderStyle property.
7396 * TextBoxBase.cs: Marked Calculate* methods internal.
7397 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
7400 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
7402 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
7404 2005-09-25 Jackson Harper <jackson@ximian.com>
7406 * TreeView.cs: Update the node bounds correctly regardless of
7407 whether the node is visible.
7409 2005-09-25 Jackson Harper <jackson@ximian.com>
7411 * ImageList.cs: Don't dispose the image after it is added to the
7412 image list. Only reformat images that need to be resized.
7414 2005-09-25 Jackson Harper <jackson@ximian.com>
7416 * ImageList.cs: Don't set the format when changing the image.
7418 2005-09-25 Jackson Harper <jackson@ximian.com>
7420 * TreeView.cs: We can't just assume the node has a font. Use the
7421 treeviews font if no node font is available.
7423 2005-09-25 Jackson Harper <jackson@ximian.com>
7425 * TreeView.cs: Allow the scrollbars to be reset with negative
7427 - Don't add scrollbars to negative sized windows.
7429 2005-09-23 Jackson Harper <jackson@ximian.com>
7431 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
7432 old Mono.Posix. Also remove some stray code that shouldn't have
7435 2005-09-23 Jackson Harper <jackson@ximian.com>
7437 * TreeView.cs: Attempt at proper sizing of the horizontal
7438 scrollbar. Also don't resize the scrollbars unless they are
7441 2005-09-23 Jackson Harper <jackson@ximian.com>
7443 * TreeView.cs: We don't need to expand the invalid area when the
7444 selection changes, as this is all drawn in the node's bounding
7445 box. The area needs to be expanded (previous typo was contracting
7446 it) when the focus rect moves.
7448 2005-09-23 Jackson Harper <jackson@ximian.com>
7450 * TreeView.cs: Display the selection box under the correct
7451 circumstances. We were rendering white text with no selection box
7454 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
7456 * TextControl.cs(Split): Now updates selection start/end if it points
7457 into a line that's being split. Fixes a FIXME and bug #75258
7459 2005-09-23 Jackson Harper <jackson@ximian.com>
7462 * ListControl.cs: Don't use the path when retrieving binding
7463 managers from the binding context. My bat sense tells me that the
7464 path is only used on insertion.
7466 2005-09-22 Jackson Harper <jackson@ximian.com>
7468 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
7470 2005-09-22 Jackson Harper <jackson@ximian.com>
7472 * Splitter.cs: There are special cursors used for splitting.
7473 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
7475 2005-09-22 Jackson Harper <jackson@ximian.com>
7477 * Splitter.cs: Change the cursor appropriately when the splitter
7478 is moused over, so the user actually knows there is a splitter
7481 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7483 * Label.cs : Fix ToString method to give same output as MS.NET
7485 2005-09-22 Jackson Harper <jackson@ximian.com>
7487 * TreeView.cs: Create the scrollbars when the handle is created
7488 and add them right away, just make them invisble. Also account for
7489 the window being shrunk vertically to the point that the vert
7490 scrollbar needs to be added.
7491 - Remove some 0.5 adjustments to get around anti aliasing issues.
7493 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
7495 * MainMenu.cs: Fixes default value
7496 * MenuItem.cs: Fixes default value
7498 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
7500 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
7502 2005-09-21 Jackson Harper <jackson@ximian.com>
7504 * Control.cs: Don't try to set the border style on the window if
7505 it hasn't been created. When the window is created the border
7508 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7510 * Control.cs (Update): Don't call XplatUI if we don't have a
7513 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7515 * ContainerControl.cs: Instead of throwing an exception, print
7516 a one-time warning about Validate not being implemented
7517 * XplatUIWin32.cs: Removed debug output
7519 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7521 * Control.cs: Only set XplatUI background if we expect the windowing
7522 system to handle the background. This stops controls that draw their
7523 own background from flickering
7525 * XplatUIX11.cs: Support custom visuals and colormaps for window
7526 creation. This allows, amongst other things, using MWF X11 windows
7529 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
7531 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
7532 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
7533 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
7534 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
7535 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
7536 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
7537 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
7538 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
7539 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
7540 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
7541 GridColumnStylesCollection.cs,
7542 IDataGridColumnStyleEditingNotificationService.cs,
7543 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
7544 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
7545 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
7546 TreeNodeCollection.cs, AmbientProperties.cs,
7547 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7548 DataObject.cs, ErrorProvider.cs, Splitter.cs,
7549 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
7550 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
7551 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
7552 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
7553 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
7554 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
7555 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
7556 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
7557 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
7558 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
7559 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
7560 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
7561 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
7562 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
7563 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
7564 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
7565 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
7566 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
7567 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
7568 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
7569 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
7570 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
7571 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
7572 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
7573 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
7574 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
7575 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
7576 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
7577 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
7578 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
7579 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
7580 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
7581 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
7582 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
7583 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
7585 2005-09-21 Jackson Harper <jackson@ximian.com>
7587 * TreeNode.cs: Call Before/After Expand not Collapse when
7590 2005-09-20 Jackson Harper <jackson@ximian.com>
7592 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
7594 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7598 - Fixes proper storing of subitems
7599 - Fixes not updated items
7601 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7603 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
7604 things if our window handle isn't created yet. Also disabled
7605 debug for TextBoxBase
7607 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
7609 * MenuAPI.cs: Remove filtering of events to allow menu usage
7611 2005-09-20 Miguel de Icaza <miguel@novell.com>
7613 * Cursor.cs: Allow null to be passed to Cursor.Current.
7615 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
7617 * ThemeWin32Classic.cs:
7618 - Change some private methods/fields to protected virtual so that
7619 they can be accessed and overriden in derived classes
7620 - First refactoring of some methods. Derived themes now don't
7621 need to duplicate the complete code from ThemeWin32Classic
7623 - Added nice StatusBar
7624 - Derive from ThemeWin32Classic and not Theme
7625 - Removed duplicate ThemeWin32Classic code
7627 2005-09-20 Miguel de Icaza <miguel@novell.com>
7629 * Control.cs (ControlCollection.Add): If the value null is passed
7630 the control is ignored.
7634 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7636 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
7637 PostQuitMessage state.
7638 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
7640 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
7642 * Application.cs: Our constructor will never get called, move
7643 initialization to fields; fixes bug #75933
7645 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
7648 - Allow files to be selected properly using file name
7650 - Add ability to change diretory (absolute / relative)
7651 using file name combo box.
7653 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
7656 - Fixes Multicolumn listboxes item wrong calculations
7657 - Allows to click when only one item is in the listbox
7658 - Fixes crash when no items using keyboard navigation
7660 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
7662 * ComboBox.cs: Reverted almost everything from the latest patch which
7665 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
7668 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
7670 - When DropDownStyle is Simple, it does not show scrollbar
7671 to the last item of the list.
7672 - When DropDownStyle is Simple, it crashed when the list was
7673 scrolled down with the down cursor key.
7674 - Fixed a bug that when DropDownStyle is DropDownList, the
7675 selected item was not shown.
7676 - The position of the selected item was not preserved when
7677 the next dropdown happened.
7678 * ThemeWin32Classic.cs:
7679 - Items were wrapped at the right end.
7680 * CheckedListBox.cs:
7683 - Items should be fully shown.
7684 - When resizing and vertical scrollbar disappeared, the item
7685 of index 0 should be on the top of the list.
7686 - GetItemRectangle should consider the size of ver. scrollbar
7688 - SizingGrip area should not be allocated when it is not
7690 - Now it reflects MinWidth of the containing panel and
7691 fixed a crash that happens when its width becomes so small.
7693 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7695 * CheckedListBox.cs: Fixes bug 76028
7696 * ListBox.cs: Fixes bug 76028
7698 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
7700 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
7701 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
7703 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
7705 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
7707 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7709 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
7711 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
7713 * IRootGridEntry.cs: Added
7714 * PropertyGridCommands.cs: Added
7715 * PropertiesTab.cs: Added missing methods and property
7716 * PropertyGridView.cs: Made class internal
7717 * PropertyGridTextBox.cs: Made class internal
7719 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7721 * MimeIcon.cs: Try to check some other environment variables
7722 if "DESKTOP_SESSION" returns "default"
7724 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7726 * ThemeNice.cs: Corrected background colors (e.g. menus)
7727 * ColorDialog.cs: Use correct background colors for controls
7729 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
7731 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
7733 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
7735 * RichTextBox.cs: Added initial implementation
7736 * lang.cs: Removed. Was accidentally checked in long time ago
7737 * TODO: Removed. Contents were obsolete
7739 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7741 * PropertiesTab.cs : Added
7743 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
7745 * PropertyGrid.cs : Update
7746 * PropertyGridView.cs : Update
7747 * System.Windows.Forms.resx : Added images and strings
7749 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7751 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
7753 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
7755 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
7756 a busy loop right after the Ungrab the X11 display is otherwise
7759 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
7761 * ThemeWin32Classic.cs: Optimise the use of clipping
7763 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
7765 * DataGrid.cs: fixes recursion bug
7767 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
7770 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
7773 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
7775 * ThemeNice.cs: Draw nice ProgressBars
7777 2005-09-01 Miguel de Icaza <miguel@novell.com>
7779 * VScrollBar.cs: Another buglet found by Aaron's tool.
7781 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
7784 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
7787 - Added nicer menu drawing
7791 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7793 * CreateParams.cs (ToString): Made output match MS
7794 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
7795 handle is already created (to avoid forcing window creation)
7796 * XplatUIX11.cs: Set window text to caption after creating window,
7797 in case Text was set before window was created
7798 * Form.cs: Use this.Text instead of a static string as caption
7800 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7802 * NotifyIcon.cs: Don't set the window to visible; this screws
7803 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
7804 OnPaint without a bitmap)
7805 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
7806 happen very often anyway; we could add the check to the WM_PAINT
7807 event generation code
7809 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7811 * NotifyIcon.cs: Fill the icon area with a background color, to
7812 avoid 'residue' when transparent icons are drawn
7814 - Handle whole_window == client_window when destroying windows
7815 - SystrayAdd(): Set client_window to whole_window value to
7816 get mouse and other events passed to NotifyIcon
7818 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
7820 * Form.cs: Set proper default for Opacity property
7822 - ShowSystray(): Don't bother creating telling the OS
7823 about the systray item if no icon is provided
7824 - Now handles WM_NCPAINT message to deal with whole/client window
7826 - Create window as visible to not get caught by Expose optimization
7827 * Hwnd.cs: Removed debug message
7828 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
7829 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
7830 PaintEventStart/End to use new client argument
7832 - Commented out debug messages
7833 - Switched PaintEventStart/End to use new client argument
7834 * XplatUI.cs: Added client window bool to PaintEventStart()/
7835 PaintEventEnd() calls, to support drawing in non-client areas
7837 - Added client window bool to PaintEventStart()/PaintEventEnd()
7838 calls, to support drawing in non-client areas
7839 - Added conditional compile to allow using MWF BeginInvoke
7842 - Added some conditional debug output
7843 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
7844 whole/client window split
7845 - Implemented handling of client argument to PaintEventStart()/End()
7847 - Throw exception if BeginInvoke() is called and the window handle
7848 or one of the window's parent handles is not created
7849 - Added conditional compile to allow using MWF BeginInvoke on
7851 - get_Parent(): Only sets parent if handle is created. This avoids
7852 forcing window handle creation when parent is set.
7853 - Now fires Layout and Parent changed events in proper order
7854 - Switched to use Handle instead of window.Handle for Z-Order setting,
7855 the get_Parent() patch above causes us to possibly get null for 'window'
7856 - Implemented handling of client argument to PaintEventStart()/End()
7857 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
7859 - Now sends a Refresh() to all child windows when Refresh() is called
7861 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
7863 * Form.cs: Added (non-functional) Opacity property
7864 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
7866 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
7867 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
7868 use export MONO_THEME=nice to activate it.
7869 Currently supported controls:
7873 - TabControl (TabAlignment.Top only, other will follow)
7874 * ThemeEngine.cs: Add theme nice
7875 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
7878 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
7880 * Splitter.cs: Resize docked control and its neighbor.
7882 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7883 -- Making Windows with Menus layout correctly --
7884 * Form.cs : The first leg of the fix
7885 Menu setter - adjust Client Size as needed to make space for the menu
7886 SetClientSizeCore - doesn't call base version to be able to pass the
7887 menu handle to XplatUI.CalculateWindowRect
7888 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
7889 * XplatUIX11.cs: The critical second leg of the fix
7890 GetWindowPos needs to use a recalculated client_rect
7891 so that resizing the window doesn't break layout of child controls.
7892 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
7895 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
7897 * Label.cs: Now properly recalculates width and height on Font and Text
7898 changes if AutoSize is set
7900 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7901 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
7903 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
7905 * ImageList.cs: Makes ToString method compatible with MS
7907 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
7909 * MenuAPI.cs: fixes bug 75716
7911 2005-08-11 Umadevi S <sumadevi@novell.com>
7912 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
7914 2005-08-11 Umadevi S <sumadevi@novell.com>
7915 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
7917 2005-08-10 Umadevi S <sumadevi@novell.com>
7918 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
7920 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
7922 * Menu.cs: fixes bug 75700
7923 * MenuAPI.cs: fixes navigation issues
7925 2005-08-09 Umadevi S <sumadevi@novell.com>
7926 * CheckedListBox.cs - simple fix for GetItemChecked.
7928 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
7930 * ComboBox.cs: Serveral fixes
7931 * ListBox.cs: Serveral fixes
7933 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7935 * ComboBox.cs: Fixes FindString methods and GetItemHeight
7936 * ListBox.cs: Fixes FindString methods
7938 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
7940 * DataGrid.cs: fixes bugs exposed by new tests
7942 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
7944 * Mime.cs: Compile Mono assembly references only if compiling
7945 with Mono (Allows to build with VS.Net again)
7947 2005-07-28 Marek Safar <marek.safar@seznam.cz>
7949 * Control.cs (PaintControlBackground): Draw background image
7951 (CheckForIllegalCrossThreadCalls): Stubbed.
7953 * Form.cs (OnCreateControl): Center when should be centered.
7955 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
7957 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
7959 * Binding.cs: Binding to properties should be case unsensitive
7961 2005-07-18 vlindos@nucleusys.com
7963 * DataGrid.cs: fixes setmember order
7965 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
7967 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
7968 * FileDialog.cs: FileDialog is now resizable and uses the new
7971 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
7973 * DataGridTextBoxColumn.cs: default value
7974 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
7975 * GridTableStylesCollection.cs: fixes checking MappingName
7976 * DataGridDrawingLogic.cs: fixes drawing logic issues
7977 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7978 * DataGrid.cs: fixes
7980 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7982 * MimeGenerated.cs: Use case sensitive comparer for
7983 NameValueCollections
7985 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7987 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7988 * ThemeWin32Classic.cs: bug fixes, code refactoring
7989 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7990 * DataGrid.cs: bug fixes, code refactoring
7991 * DataGridTextBox.cs: bug fixes, code refactoring
7992 * DataGridColumnStyle.cs: bug fixes, code refactoring
7993 * Theme.cs: bug fixes, code refactoring
7995 2005-07-01 Peter Bartok <pbartok@novell.com>
7997 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7998 and other text box usage
8000 2005-07-01 Jackson Harper <jackson@ximian.com>
8002 * TabControl.cs: Make sure the bottom of the tab covers the pages
8005 2005-06-30 Peter Bartok <pbartok@novell.com>
8007 * Form.cs (ShowDialog): Assign owner of the dialog
8008 * TextBoxBase.cs: Always refresh caret size when deleting, caret
8009 might have been moved to a tag with different height
8011 2005-06-30 Jackson Harper <jackson@ximian.com>
8013 * Form.cs: Don't create an infinite loop when setting focus
8014 * MenuItem.cs: Don't dirty the parents if we don't have any
8016 2005-06-29 Ben Maurer <bmaurer@ximian.com>
8018 * LibSupport.cs: Rename
8020 2005-06-29 Peter Bartok <pbartok@novell.com>
8022 * TextBoxBase.cs: Re-align caret after deleting a character
8024 - DeleteChars(): Ensure that tag covers the provided position
8025 - StreamLine(): Drop reference for dropped tag
8027 2005-06-29 Peter Bartok <pbartok@novell.com>
8030 - Selections now work properly, anchoring at the initial location
8031 and properly extending in either direction (SetSelectionToCaret(),
8032 SetSelectionStart() and SetSelectionEnd())
8033 - No longer redraws the whole control on selection change, now
8034 calculates delta between previous and new selection and only
8035 invalidates/redraws that area
8036 - Fixed FindPos() math off-by-one errors
8037 - Changed DeleteChars() to verify the provided tag covers the
8038 provided position, selections may have a tag that doesn't cover
8039 the position if the selection is at a tag border
8040 - Fixed off-by-one errors in DeleteChars()
8041 - Added missing streamlining check in DeleteChars() to remove
8043 - Implemented Invalidate() method, now properly calculates exposures
8044 between two given lines/positions
8045 - Implemented SetSelection()
8046 - Obsoleted and removed FixupSelection()
8047 - Improved RecalculateDocument() logic, removing code duplication
8049 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8051 * LibSupport.cs: changes to match different input/output arguments.
8053 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8055 * LibSupport.cs: added libsupport.so init routine.
8057 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
8059 * ControlBindingsCollection.cs
8060 - Throws an exception on null datasource when adding
8061 - Checks for duplicated bindings when adding
8063 2005-06-28 Jackson Harper <jackson@ximian.com>
8065 * TreeView.cs (OnKeyDown): Support left and right properly
8066 (navigates as well as expanding and collapsing.
8067 - Add support for Multiply, this expands all the selected nodes
8071 2005-06-28 Jackson Harper <jackson@ximian.com>
8073 * TreeView.cs: Implement keyboard navigation, currently supports,
8074 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
8075 support for toggling checkboxes with the space bar.
8077 2005-06-28 Jackson Harper <jackson@ximian.com>
8079 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
8082 2005-06-28 Jackson Harper <jackson@ximian.com>
8084 * TreeView.cs: Add missing event.
8086 2005-06-27 Peter Bartok <pbartok@novell.com>
8089 - Made line ending size configurable (now allows for counting
8090 lineendings as \n or \r\n)
8091 - Added margin to viewport to keep caret visible on right side
8092 - Fixed translation routines for line/pos to documentpos to consider
8093 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
8094 - Fixed some line-endings to be unix style
8095 - Fixed Document.FormatText to perform it's calculations 1-based
8096 - Added descriptions for a few methods that might otherwise get
8098 - Added NOTE section with some basic conventions to remember at
8100 - Major fixup for RichTextBox selection drawing:
8101 * Fixed crashes when multiple tags on a single line were selected
8102 * fixed selection box drawing not overlaying text
8103 * fixed bogus offset calculation for tags not starting at index 1
8104 * Switched behaviour from using multiple Substrings of a
8105 StringBuilder.ToString() to using multiple
8106 StringBuilder.ToString(start, length) statements, hoping this is
8107 faster (kept original version commented out in the code, in case
8108 original version was faster)
8109 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
8111 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
8114 2005-06-27 Jackson Harper <jackson@ximian.com>
8116 * TabControl.cs: Move to the left and right with the arrow
8117 keys. These keys don't cycle beyond first and last like
8118 tab. Refresh all the tabs when scrolling them to the left or
8121 2005-06-27 Jackson Harper <jackson@ximian.com>
8124 - ToString: Added method
8125 - CreateParams: Remove TODO and comment
8126 - OnKeyDown: Cycle through bounds properly.
8127 - SelectedIndex: Scroll to the right or left if we need to
8128 display the newly selected tab.
8130 2005-06-23 Jackson Harper <jackson@ximian.com>
8132 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
8135 2005-06-23 Jackson Harper <jackson@ximian.com>
8137 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
8138 CTRL-SHIFT-TAB, and HOME, END are there any others?
8140 2005-06-23 Jackson Harper <jackson@ximian.com>
8142 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
8144 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8146 * DataGridTextBoxColumn.cs: fixes and enhancements
8147 * ThemeWin32Classic.cs: fixes and enhancements
8148 * DataGridBoolColumn.cs: fixes and enhancements
8149 * DataGridDrawingLogic.cs: fixes and enhancements
8150 * CurrencyManager.cs: fixes and enhancements
8151 * DataGrid.cs: fixes and enhancements
8152 * DataGridColumnStyle.cs: fixes and enhancements
8154 2005-06-22 Jackson Harper <jackson@ximian.com>
8156 * TabControl.cs: Add some missing methods that just call into the
8157 base. Make the TabPageCollection's IList interface behave in the
8158 same manner as the MS implementation.
8160 2005-06-22 Peter Bartok <pbartok@novell.com>
8162 * TextControl.cs: Added sanity check
8164 - Fixed wrapping behaviour, don't set wrap on single line controls
8165 (this fixes the breakage of colordialog introduced in an earlier
8167 - Added rudimentary support for autoscrolling right-aligned controls
8168 (still needs fixing, also, center alignment scroll is missing)
8170 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
8172 * ScrollBar.cs: Fixes thumbpos on Maximum values
8174 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
8176 * PropertyGridView.cs: Pass context information to UITypeEditors
8178 2005-06-21 Peter Bartok <pbartok@novell.com>
8181 - Now calling PositionCaret with absolute space coordinates
8182 - Enabled vertical scrolling
8183 - Better tracking of scrollbar changes, tied into WidthChange
8185 - Improved cursor tracking
8186 - Removed debug output
8188 - PositionCaret coordinates are now works in absolute space, not
8190 - Improved tracking of document size
8191 - Added events for width and height changes
8193 2005-06-21 Peter Bartok <pbartok@novell.com>
8195 * Form.cs: Set focus to active control when form is activated
8197 - Added word-wrap functionality to RecalculateLine()
8198 - Added some short function descriptions for VS.Net to aid in
8199 writing dependent controls
8200 - Added Caret property, returning the current coords of the caret
8201 - Added ViewPortWidth and ViewPortHeight properties
8202 - Added Wrap property
8203 - Added CaretMoved event
8204 - Removed some old debug code
8205 - Split() can now create soft splits
8206 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
8207 - Added method to format existing text
8208 - Fixed size/alignment calculations to use viewport
8209 - RecalculateDocument now can handle changing line-numbers while
8213 - Added some wrap logic, we don't wrap if alignment is not left
8214 - Added casts for scrollbar var, base class switched types to
8215 also support RichTextBoxA
8216 - Implemented handling of scrollbar visibility flags
8219 - Switched scrollbars type to RichTextBoxScrollBars to support
8221 - Added tracking of canvas width/height
8222 - Switched scrollbars to be not selectable (to keep focus on text)
8223 - Added central CalculateDocument() method to handle all redraw
8225 - Added ReadOnly support
8226 - Added WordWrap support
8227 - Fixed handling of Enter key (we now treat it as a DialogKey)
8228 - Fixed caret positioning when h or v scroll is not zero
8229 - Fixed placing/generation of vertical scrollbar
8230 - Added CalculateScrollBars() method to allow updating scrollbar
8231 limits and visibility
8232 - Fixed handling of horizontal scroll
8233 - Added handling of vertical scroll
8234 - Implemented auto-'jump' when caret moves to close to a left or
8235 right border and there is text to be scrolled into view (currently
8236 there's the potential for a stack overflow, until a bug in
8239 2005-06-21 Geoff Norton <gnorton@customerdna.com>
8241 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
8243 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
8247 - return application/x-zerosize for files with size zero
8248 (if no extension pattern matches).
8249 - check matches collection for strings too.
8250 - return only the first mime type if the name value
8251 collection has more than one mime type.
8253 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
8255 * PropertyGrid.cs: Cleaned up some TODOs
8256 * PropertyGridView.cs: Added support for UITypeEditors
8258 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8260 * DataGrid.cs: clears cached value
8262 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
8264 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
8265 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
8266 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
8267 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
8269 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
8271 * ThemeWin32Classic.cs: fixes colour
8273 2005-06-15 Peter Bartok <pbartok@novell.com>
8275 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
8276 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
8277 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
8278 * Control.cs: Added some MWFCategory and MWFDescription attributes
8279 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
8281 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
8283 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
8286 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
8288 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
8289 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
8290 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
8291 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
8292 * DataGrid.cs: default datagrid settings for Default Styles, fixes
8293 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
8295 2005-06-13 Jackson Harper <jackson@ximian.com>
8297 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
8298 isn't printed when the user enables dropping. (X11 does accept
8301 2005-06-13 Jackson Harper <jackson@ximian.com>
8303 * TreeView.cs: Remove some TODOS.
8305 2005-06-13 Jackson Harper <jackson@ximian.com>
8307 * Form.cs: Hook into the mdi framework.
8308 * MdiClient.cs: Use the base control collections add method so
8309 parents get setup correctly. Set the default back colour and dock
8311 * MdiChildContext.cs: New class, this bad actor handles an
8312 instance of an MDI window. Right now there is only basic
8313 support. You can drag, close, and resize windows. Minimize and
8314 Maximize are partially implemented.
8316 2005-06-13 Jackson Harper <jackson@ximian.com>
8318 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
8319 freaky when both vals are negative. NOTE: There are probably other
8320 places in XplatUIX11 that this needs to be done.
8322 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
8324 * DataGrid.cs: implement missing methods, move KeyboardNavigation
8325 * DataGridColumnStyle.cs: fixes signature
8327 2005-06-12 Jackson Harper <jackson@ximian.com>
8329 * XplatUIX11.cs: Use sizing cursors similar to the ones on
8332 2005-06-11 Jackson Harper <jackson@ximian.com>
8334 * StatusBarPanel.cs: Signature cleanups. Implement
8337 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
8339 * DataGridTextBoxColumn.cs: Honors aligment
8340 * GridColumnStylesCollection.cs: Contains is case unsensitive
8341 * GridTableStylesCollection.cs: several fixes
8342 * DataGridTableStyle.cs: default column creation
8343 * DataGridDrawingLogic.cs: fixes
8344 * CurrencyManager.cs: ListName property
8345 * DataGrid.cs: multiple styles support
8346 * DataGridColumnStyle.cs: fixes
8349 2005-06-10 Peter Bartok <pbartok@novell.com>
8351 * Control.cs(Select): Moved SetFocus call to avoid potential
8352 loops if controls change the active control when getting focus
8353 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
8356 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
8358 * ImageListConverter.cs: Implemented
8360 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8362 * MonthCalendar.cs: Wired in NumericUpDown control for year
8364 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
8366 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
8367 DoubleClick events, since they are not meant to be fired.
8369 2005-06-09 Peter Bartok <pbartok@novell.com>
8371 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
8372 Jonathan's standalone controls into MWF, implemented missing
8373 events, attributes and methods; added xxxAccessible classes
8374 * AccessibleObject.cs: Made fields internal so other classes
8375 can change them if needed
8377 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
8379 * UpDownBase.cs: Complete implementation
8380 * NumericUpDown.cs: Complete implementation
8381 * DomainUpDown.cs: Complete implementation
8383 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
8385 * DataGridTextBoxColumn.cs: drawing fixes
8386 * DataGridCell.cs: fixes ToString method to match MSNet
8387 * DataGridTableStyle.cs: fixes
8388 * DataGridBoolColumn.cs: fixes, drawing
8389 * DataGridDrawingLogic.cs: fixes, new methods
8390 * DataGridTextBox.cs: Keyboard and fixes
8392 - Keyboard navigation
8394 - Row selection (single, multiple, deletion, etc)
8397 2005-06-07 Jackson Harper <jackson@ximian.com>
8399 * ThemeWin32Classic.cs: Clear the background area when drawing
8402 2005-06-06 Peter Bartok <pbartok@novell.com>
8404 * ImageListStreamer.cs: Fixed signature for GetData
8405 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
8407 - Added missing ChildAccessibleObject class
8408 - Added missing OnXXXFocus overrides, switched to using those
8409 instead of the event handler
8411 - Added Parent property for ControlAccessibleObject
8414 - Added ResetBindings()
8415 * ListBindingConverter.cs: Implemented some methods
8416 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
8417 * ImageList.cs: Implemented basic handle scheme, removed TODOs
8418 * ContainerControl.cs: Fixed signature, now subscribing to the
8419 ControlRemoved event instead of overriding the handler, LAMESPEC
8420 * CurrencyManager.cs: Added missing attribute
8421 * MonthCalendar.cs: Added missing properties
8423 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8425 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
8427 2005-06-06 Gaurav Vaish and Ankit Jain
8429 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
8430 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
8432 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
8434 * Control.cs: fixes CreateParams Width / Height.
8436 2005-06-05 Peter Bartok <pbartok@novell.com>
8438 * Win32DnD.cs: Removed compilation warnings
8440 2005-06-05 Peter Bartok <pbartok@novell.com>
8442 * Control.cs (CreateParams): Since we don't know if one of the
8443 properties we use is overridden, lets make sure if we fail accessing
8444 we continue with a backup plan
8446 2005-06-05 Peter Bartok <pbartok@novell.com>
8449 - Removed debug output
8450 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
8452 - Plugged resource leak
8453 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
8456 2005-06-05 Peter Bartok <pbartok@novell.com>
8458 * XplatUIWin32.cs: Removed DnD code
8459 * Win32DnD.cs: Implemented drop source and drop target functionality
8461 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
8463 * UpDownBase.cs: remove duplicate addition of event, enable some code
8464 that was commented out.
8465 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
8466 Validate input when a key is pressed. It works fine now for every
8467 combination of Hexadecimal. Only missing some drawing love when sharing
8468 space with other controls.
8470 2005-06-04 Peter Bartok <pbartok@novell.com>
8473 - We need to pass a window for DragDrop, so enable callback events
8474 - Added DnD callback events when being a DragSource
8475 * XplatUI.cs (StartDrag): Added window handle argument
8476 * XplatUIDriver.cs (StartDrag): Added window handle argument
8477 * QueryContinueDragEventArgs: Made fields internally accessible so
8478 drivers can set them
8479 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
8482 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
8484 * DataGridTextBoxColumn.cs: column text editing
8485 * DataGridTableStyle.cs: Respect columns styles created by the user
8486 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
8487 * DataGridBoolColumn.cs: bool column editing
8488 * DataGrid.cs: fixes to scrolling, properties, etc
8489 * DataGridTextBox.cs: handle keyboard
8490 * DataGridColumnStyle.cs: fixes
8492 2005-06-02 Jackson Harper <jackson@ximian.com>
8494 * ImageListStreamer.cs: Somewhat broken implementation of
8495 GetObjectData. The RLE needs some work to match MS properly.
8497 2005-06-02 Jackson Harper <jackson@ximian.com>
8499 * X11Dnd.cs: Attempting to keep at least one file in MWF
8502 2005-06-02 Peter Bartok <pbartok@novell.com>
8504 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
8507 2005-06-02 Peter Bartok <pbartok@novell.com>
8509 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
8510 * XplatUI.cs: Added DoDragDrop() method
8511 * XplatUIDriver.cs: Added DoDragDrop() method
8513 2005-06-02 Jackson Harper <jackson@ximian.com>
8515 * Splitter.cs: Implement BorderStyle.
8517 2005-06-02 Jackson Harper <jackson@ximian.com>
8519 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
8520 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
8523 2005-06-02 Peter Bartok <pbartok@novell.com>
8527 - Fixed broken insertion code for SetData, now also
8528 overwrites any existing entry of the same format name
8529 * Hwnd.cs: Added list of pointers that automatically gets
8530 freed when the window is disposed
8531 * XplatUI.cs: Call driver initialization method when loading
8534 - OnDragLeave takes EventArgs, not DragEventArgs
8535 - Added setting of WS_EX_ACCEPTFILES style when dropping is
8537 - Forces style update when drop state changes
8538 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
8539 not perfect since we cannot (yet) call the IDataObject.GetData()
8540 method, we keep getting 0x80004005 error, dunno why)
8542 2005-06-02 Peter Bartok <pbartok@novell.com>
8544 * DragEventArgs.cs: Make fields internal so we can cache the
8545 object and re-set the fields from XplatUI
8547 2005-06-02 Jackson Harper <jackson@ximian.com>
8549 * Control.cs: Add some internal methods so the DnD subsystem can
8550 raise DnD events. Also call into the driver when AllowDrop is set.
8552 * XplatUIDriver.cs: New method for setting whether or not a window
8553 is allowed to accept drag and drop messages.
8555 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
8557 * ScrollBar.cs: Make sure that values sent in Scroll events
8558 are always between Maximum and Minimum.
8560 2005-06-01 Marek Safar <marek.safar@seznam.cz>
8562 * Menu.cs: Call MenuChanged when menuitem visibility has been
8564 * MenuItem.cs: Rebuild menu when item is (not) visible.
8565 * MainMenu.cs: MainMenu has special MenuChanged.
8566 * Theme.cs: Caption and FrameBorderSize are not fixed.
8567 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
8568 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
8570 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
8571 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
8573 2005-05-30 Jackson Harper <jackson@ximian.com>
8575 * DataFormat.cs: We can't statically initialize this stuff because
8576 it calls into the xplatui and could create a loop. So we lazy init
8579 2005-05-28 Jackson Harper <jackson@ximian.com>
8581 * Control.cs: Proper implementation of Product(Name/Version).
8583 2005-05-27 Jackson Harper <jackson@ximian.com>
8585 * DataObject.cs: Dont crash if no data is found.
8587 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
8588 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
8589 as per status page, guessing it should be set to true
8591 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
8593 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
8594 * DataGridTableStyle.cs: set proper formatting text, def header text
8595 * ThemeWin32Classic.cs: new themable paramaters
8596 * DataGridBoolColumn.cs: paint check box, get data, fixes
8597 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
8598 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
8599 * DataGridColumnStyle.cs: fixes
8600 * Theme.cs: new themable paramaters
8602 2005-05-26 Peter Bartok <pbartok@novell.com>
8604 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
8606 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8607 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
8609 2005-05-24 Peter Bartok <pbartok@novell.com>
8611 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
8612 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
8613 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
8614 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
8615 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
8616 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
8617 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
8618 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
8619 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
8620 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
8621 missing attributes, etc
8622 * DataGridPreferredColumnWidthTypeConverter.cs: Added
8624 2005-05-24 Peter Bartok <pbartok@novell.com>
8626 * Help.cs: Added, implemented trivial functions, throws up MessageBox
8627 when user tries to get help
8628 * DataObject.cs, DataFormats.cs, LinkArea.cs,
8629 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
8630 to suppress warnings
8631 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
8632 avoid unreachable code warning
8634 2005-05-20 Peter Bartok <pbartok@novell.com>
8636 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
8638 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8640 * DataGridTextBoxColumn.cs: Basic painting methods
8641 * DataGridTableStyle.cs: Set table style in the column
8642 * ThemeWin32Classic.cs: Use Theme for colors
8643 * DataGridDrawingLogic.cs: Implement more drawing
8644 * DataGrid.cs: drawing, theming, enhacements, fixes
8645 * DataGridColumnStyle.cs: fixes, drawing
8646 * Theme.cs: theming for Datagrid
8648 2005-05-20 Peter Bartok <pbartok@novell.com>
8650 * Cursor.cs: Implemented GetObjectData() method
8652 2005-05-20 Peter Bartok <pbartok@novell.com>
8654 * Cursors.cs: Added setting of cursor name
8656 - Implemented constructors
8657 - Implemented Draw and DrawStretched
8658 - Implemented Current property
8659 - Implemented == and != operators
8660 - Implemented Dispose()
8661 - Implemented ToString
8662 - Added missing attributes
8664 - Added missing reset for OverrideCursor when DoEvents is called
8665 - Fixed creation of cursor, logic was wrong
8667 - Added missing reset for OverrideCursor when DoEvents is called
8668 - Fixed creation of cursor, bit arrays were swapped
8669 * Clipboard.cs: Removed obsolete MonoTODO attribute
8671 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8673 * ComboBox.cs: fixes OnSelectedItemChanged
8674 * ControlBindingsCollection.cs: fixes item range check
8676 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
8679 - Calc preferred height properly
8680 - Implement missing properties
8682 * NumericUpDown.cs: Implement missing events
8684 2005-05-19 Jackson Harper <jackson@ximian.com>
8686 * TabControl.cs: New method that resizes the tab pages before
8687 redrawing them. This as needed as the control is double buffered
8688 and sizing will not be recalculated unless ResizeTabPages is
8690 * TabPage.cs: Set base.Text instead of Text in the constructor so
8691 that UpdateOwner does not get called. Use the new Redraw method of
8692 TabControl instead of Refresh so the sizing is recalculated.
8693 * ThemeWin32Classic.cs: Draw the text for button tabs.
8695 2005-05-19 Jackson Harper <jackson@ximian.com>
8697 * Control.cs: Paint control background images. Fix typo where
8698 PaintControlBackground was not getting called correctly.
8700 2005-05-19 Peter Bartok <pbartok@novell.com>
8702 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
8703 I can investigate, apparently I broke FileDialog
8705 2005-05-19 Marek Safar <marek.safar@seznam.cz>
8707 * AxHost.cs: Some simple properties.
8708 * Control.cs: window must be accessible after ctor.
8709 * Form.cs: Added TransparencyKey property.
8710 * TextBoxBase.cs: Implemented Clear. Text property can be null.
8711 * XplatUIWin32.cs: SetBorderStyle implemented.
8713 2005-05-18 Peter Bartok <pbartok@novell.com>
8715 * DataObject.cs: Entries are not global but particular to the
8716 DataObject, now it behaves that way
8717 * XplatUIWin32.cs: Implemented Clipboard methods
8718 * Clipboard.cs: Implemented
8719 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
8720 * XplatUIOSX.cs: Updated to final clipboard prototypes
8721 * XplatUIX11.cs: Implemented Clipboard methods
8722 * XplatUIDriver.cs: Updated to final clipboard prototypes
8723 * XplatUIStructs.cs:
8724 - Added BITMAPINFOHEADER struct
8725 - Added ClipboardFormats enum
8727 - Added ClipboardStruct
8728 - Added Atom enum items for clipboard types
8729 - Fixed atom types for Selection event structures
8731 - Added internal properties and methods for drivers to enumerate
8733 - Switched initialization method to allow drivers to assign their
8734 own IDs even for the MS predefined clipboard IDs
8735 * XplatUI.cs: Updated to final clipboard interface
8737 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8738 * PropertyGridView.cs: Fixed compiler warnings.
8740 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
8741 * PropertyGrid.cs: Added some event calls
8742 * PropertyGridView.cs: Change drawing code to use double buffering
8743 * PropertyGridTextBox.cs: Changed Text property name
8744 * GridItem.cs: Added Bounds property.
8745 * GridEntry.cs: Added Bounds property.
8747 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
8749 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
8750 since GetType() may not return the correct type if the object is
8753 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
8755 * TreeNodeCollection.cs: fixes get/set item ranges
8757 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8759 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
8761 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
8763 * ComboBox.cs: Fix item range comparation
8764 * ListView.cs: Fix item range comparation
8766 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8769 - Clear example panel when OnPaint is called
8770 - Better solution for displaying the example panel text
8771 - Select default indexes in the ListBoxes
8773 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8775 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
8777 2005-05-11 Peter Bartok <pbartok@novell.com>
8779 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
8780 * SelectionRangeConverter.cs: Implemented
8781 * PropertyGrid.cs: Fixed attribute value
8783 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
8784 - Added Sebastien Pouliot's CAS Stack Propagation fixes
8785 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
8786 that's common to all drivers. First methods to go there are
8787 Sebastien Pouliot's CAS Stack Propagation helper methods
8788 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
8789 Sebastien Pouliot for CAS Stack Propagation
8791 2005-05-11 Geoff Norton <gnorton@customerdna.com>
8794 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
8796 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
8798 * DataGridTextBoxColumn.cs: fixed some members
8799 * GridColumnStylesCollection.cs: indexed column is case insensitive
8800 * DataGridTableStyle.cs: fixes
8801 * ThemeWin32Classic.cs: add new theme parameter
8802 * Theme.cs: add new theme parameter
8803 * DataGridDrawingLogic.cs: Datagrid's drawing logic
8804 * DataGrid.cs: fixes, new internal properties, etc.
8805 * DataGridColumnStyle.cs: allows to set grid value
8808 2005-05-10 Peter Bartok <pbartok@novell.com>
8810 * AccessibleObject.cs:
8811 - Removed MonoTODO attribute on help, method is correct
8812 - Fixed Bounds property
8813 * AxHost.cs: Moved MonoTODO
8814 * ButtonBase.cs: Now setting AccessibleObject properties
8815 * RadioButton.cs: Setting proper AccessibleObject role
8816 * CheckBox.cs: Setting proper AccessibleObject role
8817 * ControlBindingsCollection.cs: Added properties, methods and attributes
8818 * DataFormats.cs: Fixed awkward internal API, and changed to enable
8819 userdefined DataFormats.Format items as well
8820 * ListControl.cs: Removed data_member from the public eye
8821 * OpenFileDialog.cs:
8823 - Added missing attributes
8824 * SaveFileDialog.cs: Added missing attributes
8825 * ImageListStreamer.cs: Fixed code that caused warnings
8826 * LinkLabel.cs: Removed unreachable code
8827 * TreeView.cs: Fixed code that caused warnings
8828 * PropertyGridView.cs: Fixed code that caused warnings
8829 * GridColumnStylesCollection.cs: Added missing attributes
8830 * GridTableStylesCollection: Added missing attribute
8831 * PropertyManager: Added .ctor
8832 * SecurityIDType: Added
8833 * DataObject.cs: Implemented class
8834 * LinkArea.cs: Added missing attribute
8836 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
8838 * RadioButton.cs: call base method to allow to fire OnClick event
8839 * UpDownBase.cs: OnMouseUp call base method
8840 * CheckedListBox.cs: call base method before returning
8841 * TrackBar.cs: call base method before returning
8844 2005-05-10 Peter Bartok <pbartok@novell.com>
8846 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
8849 2005-05-10 Peter Bartok <pbartok@novell.com>
8851 * DataFormats.cs: Implemented
8852 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
8853 XplatUIX11.cs: Added Clipboard APIs
8854 * XplatUIWin32.cs: Implemented Clipboard APIs
8855 * FolderBrowserDialog.cs: Added missing event, attributes
8857 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
8859 * CheckBox.cs: call base method to allow to fire OnClick event
8861 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
8863 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
8865 2005-05-06 Peter Bartok <pbartok@novell.com>
8867 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
8868 * Screen.cs: Implemented
8869 * HelpNavigator.cs: Added
8870 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
8872 * HelpProvider.cs: Implemented all we can do until we have a CHM
8873 help library (which means that "What's This" does work now)
8875 2005-05-06 Jackson Harper <jackson@ximian.com>
8877 * XplatUIX11.cs: Fix waking up the main loop.
8879 2005-05-05 Peter Bartok <pbartok@novell.com>
8881 * XplatUI.cs: Updated revision
8882 * Form.cs: Removed enless loop
8883 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
8884 * Label.cs (OnPaint): Added call to base.OnPaint()
8885 * ToolTip.cs: Made ToolTipWindow reusable for other controls
8886 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
8887 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
8889 * ButtonBase.cs: Moved base.OnPaint() call to end of method
8890 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
8891 to ToolTip.ToolTipWindow for drawing and size methods; this allows
8892 reuse of ToolTipWindow by other controls
8893 * SizeGrip.cs: Moved base.OnPaint() call to end of method
8894 * XplatUIX11.cs: Now clipping drawing area (experimental)
8895 * PictureBox.cs: Moved base.OnPaint() call to end of method
8896 * Theme.cs: Fixed ToolTip abstracts to match new format
8897 * ErrorProvider.cs: Implemented
8899 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
8901 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
8905 - Implements LinkBehavior
8908 2005-05-03 Jackson Harper <jackson@ximian.com>
8910 * ListView.cs: Calculate the scrollbar positioning on resize and
8911 paint, so they get put in the correct place.
8913 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
8915 * ColorDialogs.cs: The small color panels are now handled by
8916 SmallColorControl. This fixes drawing of the focus rectangle
8917 and adds a 3D border.
8919 2005-05-03 Peter Bartok <pbartok@novell.com>
8921 * Control.cs: Modified version of Jonathan Chamber's fix for
8924 2005-05-03 Jackson Harper <jackson@ximian.com>
8926 * ListView.cs: Remove redraw variable. Control now handles whether
8927 or not a redraw needs to be done, and will only raise the paint
8928 event if redrawing is needed.
8930 2005-05-03 Jackson Harper <jackson@ximian.com>
8932 * Splitter.cs: No decorations for the splitter form. Cache the
8935 2005-05-03 Jackson Harper <jackson@ximian.com>
8937 * TreeView.cs: Use dashed lines to connect nodes. Use the
8938 ControlPaint method for drawing the focus rect instead of doing
8941 2005-05-02 Peter Bartok <pbartok@novell.com>
8943 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
8945 2005-04-29 Jackson Harper <jackson@ximian.com>
8947 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
8948 entire image buffer. Just clear the clipping rectangle.
8950 2005-04-29 Jackson Harper <jackson@ximian.com>
8952 * ThemeWin32Classic.cs: Don't draw list view items that are
8953 outside the clipping rectangle.
8955 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
8957 * ListBox.cs: added horizontal item scroll
8959 2005-04-29 Jackson Harper <jackson@ximian.com>
8961 * ThemeWin32Classic.cs: Remove some old debug code that was
8962 causing flicker with the new double buffering code.
8964 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
8966 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
8967 behave like combobox and comboboxlist (still not sure if this is
8970 2005-04-28 Jackson Harper <jackson@ximian.com>
8972 * ThemeWin32Classic.cs: Don't fill the middle of progress
8973 bars. This fills areas outside of the clip bounds that don't need
8976 2005-04-28 Jackson Harper <jackson@ximian.com>
8978 * Control.cs: Don't expose functionality to touch the image buffers.
8980 * ListView.cs: We do not need to (and no longer can) manipulate
8981 the image buffers directly. All of this is handled by Control.
8983 2005-04-28 Peter Bartok <pbartok@novell.com>
8985 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8986 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8987 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8989 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8992 - Adjust control's height for non-simple comboboxes (bug fix)
8994 * MenuAPI.cs: remove unused var
8995 * ScrollBar.cs: remove unsed var
8997 * ListBox.cs: unselect items when clearing
8999 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
9001 * ListControl.cs: honors OnPositionChanged and default Selected Item
9002 * ListBox.cs: unselect items when clearing
9004 2005-04-27 Jackson Harper <jackson@ximian.com>
9006 * X11Keyboard.cs: Initialize a default keyboard and give a warning
9007 if a "correct" keyboard is not found. This will make us not crash,
9008 but might give some users bad keyboard layouts...seems to be the
9009 same thing rewind does.
9011 2005-04-27 Jackson Harper <jackson@ximian.com>
9013 * BindingManagerBase.cs: Attach the current/position changed
9014 handlers to their respective events.
9016 2005-04-27 Jackson Harper <jackson@ximian.com>
9018 * Control.cs: Make sure that the first WM_PAINT does a full draw,
9020 * ThemeWin32Classic.cs: Don't fill the background for picture
9021 boxes. This could overright user drawing.
9022 * ComboBox.cs: Just fill the clipping rect not the entire client
9023 rect when drawing the background. This prevents pieces of the
9024 image buffer from getting overwritten and is theoretically faster.
9026 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
9028 * ComboBox.cs: Databinding support fixes, fire missing events
9029 * ListControl.cs: implement missing methods and properties, fixes
9030 * ThemeWin32Classic.cs: Databiding support on Drawing
9031 * CheckedListBox.cs: Databinding support fixes, fire missing events
9032 * ListBox.cs: Databinding support fixes, fire missing events
9034 2005-04-25 Peter Bartok <pbartok@novell.com>
9036 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
9038 2005-04-25 Jackson Harper <jackson@ximian.com>
9040 * TreeView.cs: Use the horizontal scrollbars height not width when
9041 determining how much of the client area is available.
9043 2005-04-25 Jackson Harper <jackson@ximian.com>
9045 * Control.cs: Double buffering is handled differently now. As per
9046 the spec, the extra buffer is created in the WM_PAINT message and
9047 passed down to the control's drawing code.
9055 * PropertyGridView.cs:
9067 * DateTimePicker.cs:
9069 * TreeView.cs: Update to new double buffering system.
9070 * MonthCalendar.cs: Uncomment block, as Capture is now
9071 working. Update to new double buffering
9072 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
9073 * PaintEventArgs.cs: New internal method allows us to set the
9074 graphics object. This is used for double buffering.
9075 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
9076 rectangle. The internal paint_area var has been removed from
9077 StatusBar. The clipping rect should be used instead.
9078 * Theme.cs: Give the PictureBox drawing method a clipping rect.
9079 * TabPage.cs: The RefreshTabs method was removed, so just call the
9080 tab controls Refresh method now.
9081 * TabControl.cs: Update to new double buffering. Make sure the
9082 handle is created before sizing the tab pages, otherwise we will
9083 get stuck in a loop.
9085 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
9087 * LinkLabel.cs: Fix typo, bug #74719; patch
9088 from Borja Sanchez Zamorano
9090 2005-04-22 Jackson Harper <jackson@ximian.com>
9092 * TreeNode.cs: Implement Handle stuff.
9093 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
9095 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
9097 * DataGridTextBoxColumn.cs: call base constructors, fixes
9098 * GridColumnStylesCollection.cs: missing events, methods, and functionality
9099 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
9100 * DataGridTableStyle.cs: implements create default column styles
9101 * DataGridBoolColumn.cs: which types can handle
9102 * DataGrid.cs: missing methods, fixes, new functionality
9103 * DataGridColumnStyle.cs: fixes
9105 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
9106 * FolderBrowserDialog.cs:
9107 - Use a thread to fill the TreeView
9108 - Adjusted some sizes
9110 2005-04-19 Peter Bartok <pbartok@novell.com>
9112 * LinkLabel.cs: (Re-)create the pieces when setting the Text
9113 property. Fixes #74360.
9115 2005-04-19 Jackson Harper <jackson@ximian.com>
9117 * XEventQueue.cs: Lock when getting the lockqueue size.
9118 * PictureBox.cs: Call base OnPaint
9120 2005-04-19 Peter Bartok <pbartok@novell.com>
9122 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
9123 messages were no longer being processed (this broke BeginInvoke)
9126 2005-04-18 Jackson Harper <jackson@ximian.com>
9128 * TreeView.cs: buglet that caused node images to get drawn
9129 regardless of whether or not they were in the clipping rectangle.
9131 2005-04-18 Jackson Harper <jackson@ximian.com>
9133 * CurrencyManager.cs: There are four rules for GetItemProperties:
9134 - If the type is an array use the element type of the array
9135 - If the type is a typed list, use the type
9136 - If the list contains an Item property that is not an object, use
9138 - use the first element of the list if there are any elements in
9141 2005-04-17 Jackson Harper <jackson@ximian.oom>
9143 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
9144 click. This handles offsets for scrolling properly and reduces
9145 memory. Also fixed GetNode to not offset now that TopNode works
9147 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
9149 2005-04-17 Jackson Harper <jackson@ximian.com>
9151 * CursorConverter.cs: Initial implementation.
9153 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9155 * ListControl.cs: work towards complex data binding support on ListControl
9156 * CurrencyManager.cs: work towards complex data binding support on ListControl
9157 * ListBox.cs: work towards complex data binding support on ListControl
9160 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
9162 * GridTableStylesCollection.cs: fixes name and constructor
9163 * DataGridTableStyle.cs: fixes
9164 * DataGridBoolColumn.cs: fixes names and constructors
9165 * DataGrid.cs: define methods and properties. Some init implementations
9166 * DataGridCell.cs: define methods and properties. Some init implementations
9167 * GridTablesFactory.cs: Define methods and properties
9169 2005-04-15 Geoff Norton <gnorton@customerdna.com>
9171 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
9172 graphics port changes. We still want the coordinates in global screen
9175 2005-04-14 Jackson Harper <jackson@ximian.com>
9177 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
9178 check plus minus or checkbox clicks unless those features are enabled.
9180 2005-04-14 Jackson Harper <jackson@ximian.com>
9182 * TreeView.cs: Add methods for setting the top and bottom visible
9183 nodes. TreeNode::EnsureVisible uses these methods.
9184 * TreeNode.cs: Implement EnsureVisible
9186 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
9188 * Form.cs: Pospone menu assignation if the window has not been created yet
9189 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
9192 2005-04-12 Jackson Harper <jackson@ximian.com>
9194 * TreeView.cs: Set the TopNode properly when scrolling
9195 occurs. This has the added benifit of reducing the amount of
9196 walking that needs to be done when drawing. Also removed an old
9198 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
9200 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
9202 * Timer.cs: fixes interval setting when the timer is already enabled
9204 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
9206 * FolderBrowserDialog.cs: First approach
9208 2005-04-09 Peter Bartok <pbartok@novell.com>
9210 * FolderBrowserDialog: Added
9212 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
9214 * LinkLabel.cs: move drawing code into the theme
9215 * ThemeWin32Classic.cs: drawing code and painting background bugfix
9216 * Theme.cs: define DrawLinkLabel method
9218 2005-04-05 Jackson Harper <jackson@ximian.com>
9220 * BindingContext.cs: Use weak references so these bad actors don't
9221 stay alive longer then they need to.
9223 2005-04-05 Jackson Harper <jackson@ximian.com>
9225 * ListControl.cs: Basic implementation of complex databinding.
9227 * ListBox.cs: Add calls to ListControl databinding methods.
9229 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
9232 - Don't change PopupButtonState to Normal when the
9233 PopupButton gets pressed several times.
9234 - Renamed ButtonPanel to PopupButtonPanel
9236 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
9238 * ColorDialog.cs: Use cached objects instead of creating them
9239 * LinkLabel.cs: Use cached objects instead of creating them
9240 * Splitter.cs: Use cached objects instead of creating them
9241 * FontDialog.cs: Use cached objects instead of creating them
9242 * PropertyGridView.cs: Use cached objects instead of creating them
9243 * MessageBox.cs: Use cached objects instead of creating them
9244 * FileDialog.cs: Use cached objects instead of creating them
9245 * ThemeWin32Classic.cs: Use cached objects instead of creating them
9246 * TreeView.cs: Use cached objects instead of creating them
9248 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
9250 * Control.cs: use Equals to compare the font since no == op
9251 * ScrollBar.cs: use Equals to compare the font since no == op
9253 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
9255 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
9257 2005-04-01 Jackson Harper <jackson@ximian.com>
9259 * Binding.cs: Implement IsBinding.
9260 * BindingManagerBase.cs:
9261 * PropertyManager.cs:
9262 * CurrencyManager.cs: Add IsSuspended property.
9264 2005-04-01 Jackson Harper <jackson@ximian.com>
9266 * Binding.cs: Had some IsAssignableFrom calls backwards.
9268 2005-04-01 Jackson Harper <jackson@ximian.com>
9270 * Binding.cs: Handle null data members when pulling data.
9271 * PropertyManager.cs: Handle the data member being a property that
9274 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9276 * DataGridTextBoxColumn.cs: fixes signature
9277 * DataGrid.cs: calls right constructor
9279 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
9281 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
9282 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
9283 * GridTableStylesCollection.cs: implements GridTableStylesCollection
9284 * DataGridTableStyle.cs: implements DataGridTableStyle
9285 * DataGridBoolColumn.cs: implements DataGridBoolColumn
9286 * DataGridTextBox.cs: implements DataGridTextBox
9287 * DataGridColumnStyle.cs: implements DataGridColumnStyle
9289 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
9291 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
9293 2005-03-29 Peter Bartok <pbartok@novell.com>
9296 - Properly implemented CompanyName property
9297 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
9298 returns a path that includes CompanyName, ProductName and
9299 Version (fixes bug #70330)
9301 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
9303 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
9306 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9308 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
9310 - Added ReadOnly CheckBox
9311 - Further refactoring: moved some code from Open-/SaveFileDialog
9314 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
9316 * OpenFileDialog.cs: Fixed CheckFileExists
9318 Moved FileView and DirComboBox outside FileDialog class.
9319 They can now be used outside FileDialog
9321 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9323 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
9324 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
9326 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
9328 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9329 - Added missing CreatePrompt property in SaveDialog
9330 - Overall SaveDialog handling should be better now
9331 - Added non standard ShowHiddenFiles property
9332 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
9333 - Added InitialDirectory and RestoreDirectory support
9335 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
9337 * FileDialog.cs: Made dirComboBox usable
9339 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
9341 * FileDialog.cs: Added Filter support (case sensitiv)
9343 2005-03-24 Jackson Harper <jackson@ximian.com>
9345 * TabControl.cs: Need a couple more pixels for the lines.
9347 2005-03-23 Jackson Harper <jackson@ximian.com>
9349 * TabControl.cs: Give the tab page focus when it is selected.
9351 2005-03-23 Jackson Harper <jackson@ximian.com>
9353 * TabControl.cs: Account for the drawing of tabs borders when
9354 invalidating. If the slider was clicked dont do click detection on
9357 2005-03-23 Jackson Harper <jackson@ximian.com>
9359 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
9361 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
9363 * CategoryGridEntry.cs: Added
9364 * GridItem.cs: Added helper properties
9365 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
9366 * GridEntry.cs: Updated code for collection
9367 * PropertyGrid.cs: Cleaned up some formatting
9368 * PropertyGridView.cs: Added drop down functionality for enums.
9369 * GridItemCollection.cs: Added enumerator logic
9370 * PropertyGridEntry.cs: Added
9372 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9375 - Removed unnecessary commented code
9376 - Fixed handling for entering the filename manually in the combobox
9378 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
9380 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
9382 2005-03-18 Peter Bartok <pbartok@novell.com>
9384 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
9385 them being touching the border
9387 2005-03-18 Peter Bartok <pbartok@novell.com>
9389 * TextControl.cs: Quick hack to center text better
9391 2005-03-18 Peter Bartok <pbartok@novell.com>
9394 - Don't throw NotImplemented exceptions, just print a notice once
9395 instead (requested by Miguel). This makes running existing SWF
9398 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
9399 - Added context menu trigger on right click
9400 * Panel.cs: Trigger invalidate on resize
9402 - Removed old double-buffer drawing
9403 - Added ResizeRedraw style to force proper update of statusbar
9405 - Removed debug output
9406 * ThemeWin32Classic.cs:
9407 - Fixed drawing of status bar, now draws Text property if there
9408 are no defined panels
9410 2005-03-18 Jackson Harper <jackson@ximian.com>
9412 * ImageList.cs: When the image stream is set pull all the images
9414 * ImageListStreamer.cs: Implement reading image list streams.
9416 2005-03-18 Peter Bartok <pbartok@novell.com>
9418 * ThemeWin32Classic.cs (DrawPictureBox):
9419 - Fixed calculations for centered drawing
9420 - Fixed drawing for normal mode, not scaling the image on normal
9422 2005-03-18 Peter Bartok <pbartok@novell.com>
9424 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
9427 - Made Open/Save button the accept button for FileDialog
9428 - Tied the cancel button to the IButtonControl cancel button
9429 - Save/Open now properly builds the pathname
9430 - Now handles user-entered text
9431 - Preventing crash on right-click if no item is selected
9432 - Fixed Text property, now uses contents of textbox
9433 - Fixed SelectedText property, now just returns the text part that
9434 is selected in the text box
9436 2005-03-18 Jackson Harper <jackson@ximian.com>
9438 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
9439 rect, make sure to de-adjust the interior rect after drawing the
9442 2005-03-18 Peter Bartok <pbartok@novell.com>
9444 * MenuAPI.cs: Remove menu *before* executing selected action to
9445 prevent the menu from 'hanging around'
9447 2005-03-17 Geoff Norton <gnorton@customerdna.com>
9449 * XplatUIOSX.cs: Implemented WorkingArea property
9451 2005-03-17 Peter Bartok <pbartok@novell.com>
9453 * XplatUIX11.cs: Fixed menu coord calculations
9454 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
9455 for calculating offsets
9457 2005-03-17 Peter Bartok <pbartok@novell.com>
9459 * Hwnd.cs: Do not consider menu presence for default client
9460 rectangle location/size
9461 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
9462 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
9463 translation functions
9464 * FileDialog.cs: Fixed (what I presume is a) typo
9466 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
9468 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
9469 X access (avoids X-Async errors)
9471 2005-03-16 Jackson Harper <jackson@ximian.com>
9473 * TabControl.cs: Raise the SelectedIndexChanged event.
9475 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
9477 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
9478 - Removed vertical ToolBar and replaced it with a custom panel
9479 (desktop and home button already work)
9480 - Added Help button (some controls get resized or relocated then)
9481 - Draw correct text depending on Open or Save.
9482 - Fixed some typos...
9484 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
9487 - Only change Maximum and Minimum when need it (bug fix)
9489 2005-03-15 Peter Bartok <pbartok@novell.com>
9491 * Form.cs: Use Handle for icon, to trigger creation if
9492 the window does not yet exist
9494 - CanSelect: Slight performance improvement
9495 - Focus(): Preventing possible recursion
9496 - Invalidate(): Removed ControlStyle based clear flag setting
9497 - WM_PAINT: fixed logic for calling OnPaintBackground
9498 - WM_ERASEBKGND: Fixed logic, added call to new driver method
9499 EraseWindowBackground if the control doesn't paint background
9501 - Moved EraseWindowBackground() method to internal methods
9502 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
9503 is sent via SendMessage on BeginPaint call on Win32
9505 - Added EraseWindowBackground() method
9506 - No longer sends WM_ERASEBKGND on .Expose, but on call to
9507 PaintEventStart, which more closely matches Win32 behaviour
9508 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
9509 - Fixed SetFocus() to properly deal with client and whole windows
9510 * Hwnd.cs: Added ErasePending property
9511 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
9512 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
9514 2005-03-12 Geoff Norton <gnorton@customerdna.com>
9517 - Fix hard loop when timers exist.
9518 - Fix bugs with middle and right click for 3 button mice.
9520 2005-03-11 Peter Bartok <pbartok@novell.com>
9523 - get_WorkingArea: Need to call X directly, GetWindowPos only
9524 returns cached data now
9525 - Added sanity check to GetWindowPos hwnd usage
9527 2005-03-11 Jackson Harper <jackson@ximian.com>
9529 * BindingManagerBase.cs: This method isn't used anymore as
9530 PullData now updates the data in the control.
9532 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
9534 * Form.cs: fixes menu drawing on X11
9535 * MenuAPI.cs: fixes menu drawing on X11
9537 2005-03-11 Peter Bartok <pbartok@novell.com>
9539 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
9540 from Jonathan Gilbert; should fix bug #73606
9541 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
9542 in Screen coordinates. Thanks, Jordi.
9543 * Form.cs: Added missing attribute
9545 2005-03-11 Peter Bartok <pbartok@novell.com>
9548 - Rudimentary Mdi support
9549 - Removed outdated FormParent code
9550 - Implemented lots of missing properties and methods, still missing
9551 transparency support
9552 - Added missing attributes
9553 - Implemented support for MaximumBounds
9554 - Added firing of various events
9555 * XplatUI.cs: Added SetIcon() method
9556 * XplatUIDriver.cs: Added SetIcon() abstract
9557 * XplatUIOSX.cs: Stubbed out SetIcon() method
9559 - Implemented SetIcon() support
9560 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
9561 - Switched to unix line endings
9563 - Made POINT internal so for can access it as part of MINMAX
9564 - Implemented SetIcon() support
9565 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
9566 native Mdi support again, might have to go managed)
9567 * Control.cs: Now fires the StyleChanged event
9568 * MdiClient.cs: Added; still mostly empty
9570 2005-03-10 Peter Bartok <pbartok@novell.com>
9572 * SaveFileDialog.cs: Added emtpy file
9574 2005-03-08 Peter Bartok <pbartok@novell.com>
9576 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
9577 in turn triggers OnCreateContro) when creating a handle for the
9579 * TextControl.cs: Fixed endless loop in certain cases when
9580 replacing the current selection
9582 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
9585 - Honors NewValue changes in Scroll events allowing apps to change it
9586 - Adds First and Last Scroll events
9587 - Fixes Thumb events
9589 2005-03-07 Peter Bartok <pbartok@novell.com>
9591 * Hwnd.cs: Added DefaultClientRectangle property
9592 * XplatUI.cs: Now using the X11 driver Where() method, which provides
9593 more detailed debug information
9595 - Fixed size-change feedback loop, where we would pull an old size
9596 off the queue and mistakenly change our window's size to an
9598 - Now compressing ConfigureNotify events, to reduce looping and
9600 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
9603 2005-03-07 Jackson Harper <jackson@ximian.com>
9605 * Binding.cs: Push data pushes from data -> property. Check if the
9606 property is readonly when attempting to set it.
9608 2005-03-07 Jackson Harper <jackson@ximian.com>
9610 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
9611 instead of IsSubclassOf. Pulling data now sets the value on the
9613 * PropertyManager.cs:
9614 * CurrencyManager.cs: Just need to pull data when updating now,
9615 because PullData will set the value on the control.
9617 2005-03-04 Jackson Harper <jackson@ximian.com>
9619 * Binding.cs: Implement data type parsing and converting on pulled
9620 data. TODO: Are there more ways the data can be converted?
9622 2005-03-04 Jackson Harper <jackson@ximian.com>
9624 * Binding.cs: Support <Property>IsNull checks. Also bind to the
9625 controls Validating method so we can repull the data when the
9626 control loses focus.
9628 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
9631 - Fixes null string format
9634 - Adds enum type checks
9635 - Fixes redrawing and recalc need after changing some properties
9636 - Fixes on focus_item set after the event
9637 - Fixes adding columns after the control has been created
9639 * ThemeWin32Classic.cs:
9640 - Fixes CheckBox focus rectangle
9641 - Fixes ColumnHeader drawing
9644 2005-03-03 Jackson Harper <jackson@ximian.com>
9646 * Binding.cs: Bind to <Property>Changed events so we can detect
9647 when properties are changed and update the data.
9649 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
9652 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
9653 - Fixes ImageList constructor with ImageList container
9654 - Fixes image scaling (wrong parameters at DrawImage)
9656 2005-02-02 Jackson Harper <jackson@ximian.com>
9658 * Binding.cs: Make property searches case-insensitive. Eliminate
9659 some duplicated code.
9661 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
9664 - Handle focus event
9665 - Fix scrollbar events
9666 - Discard highlighted item if remove it
9667 - Fixes SelectedItem with strings
9669 2005-03-01 Peter Bartok <pbartok@novell.com>
9672 - Fixed Visible property, now follows (once again) parent chain
9673 to return false if any control in the chain is visible=false
9674 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
9675 - Fixed several places where is_visible instead of Visible was used
9676 - Implemented FIXME related to focus selection when setting focused
9677 control to be invisible
9679 * XplatUIWin32.cs: Now using proper method to find out if window is
9680 visible. Thanks to Jordi for pointing it out
9682 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
9684 * ComboBox.cs: show/hide scrollbar instead of creating it
9686 2005-02-27 Jackson Harper <jackson@ximian.com>
9688 * CurrencyManager.cs: Add PositionChanged stuff.
9690 2005-02-27 Peter Bartok <pbartok@novell.com>
9692 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
9693 * XplatUIOSX.cs: Added GetMenuOrigin() stub
9694 * XplatUIWin32.cs: Implemented GetMenuOrigin()
9696 - Implemented GetMenuDC()
9697 - Implemented GetMenuOrigin()
9698 - Implemented ReleaseMenuDC()
9699 - Implemented generation of WM_NCPAINT message
9700 - Implemented generation and handling of WM_NCCALCSIZE message
9701 * Form.cs: Added debug helper message for Jordi's menu work
9703 - Modified ClientRect property; added setter, fixed getter to handle
9704 setting of ClientRect
9705 - Added MenuOrigin property
9707 2005-02-26 Peter Bartok <pbartok@novell.com>
9710 - Destroys the caret if a window that's being destroyed contains it
9711 - Ignores expose events coming from the X11 queue for windows that
9712 already are destroyed
9713 - Now uses the proper variable for handling DestroyNotify, before we
9714 marked the wrong window as destroyed
9715 - Improved/added some debug output
9717 2005-02-26 Peter Bartok <pbartok@novell.com>
9719 * X11Keyboard.cs: Fixes to work on 64bit systems
9721 2005-02-26 Peter Bartok <pbartok@novell.com>
9724 - Now calling OnHandleDestroyed from DestroyHandle()
9725 instead of Dispose()
9726 - Removed bogus call to controls.Remove() from DestroyHandle()
9728 2005-02-26 Peter Bartok <pbartok@novell.com>
9730 * Control.cs: Properly destroy child windows when our handle is
9733 2005-02-25 Peter Bartok <pbartok@novell.com>
9736 - Added 'DriverDebug' define to allow tracing XplatUI API calls
9737 - Alphabetized Static Methods and Subclasses
9740 - Added XException class to allow custom handling of X11 exceptions
9741 - Created custom X11 error handler, tied into XException class
9742 - Added support for MONO_XEXCEPTIONS env var to allow the user
9743 to either throw an exception on X errors or continue running
9744 after displaying the error
9745 - Added handling of DestroyNotify message
9746 - Added handler for CreateNotify message (still disabled)
9747 - Improved (tried to at least) Where method to provide file and lineno
9749 - Added XErrorHandler delegate
9750 - Added XRequest enumeration (to suppor translation of errors)
9752 2005-02-25 Jackson Harper <jackson@ximian.com>
9754 * PropertyManager.cs: Implement editing features
9755 * CurrencyManager.cs:
9756 * Binding.cs: First attempt at UpdateIsBinding
9757 * BindingManagerBase.cs: Call UpdateIsBinding before
9758 pushing/pulling data.
9760 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
9762 * MenuAPI.cs: Respect disabled items
9763 * ThemeWin32Classic.cs
9764 - Caches ImageAttributes creation for DrawImageDisabled
9765 - Fixes vertical menu line drawing
9766 - Draws disabled arrows in disable menu items
9768 2005-02-24 Peter Bartok <pbartok@novell.com>
9771 - Added UserData property to allow associating arbitrary objects
9773 - Fixed leak; now removing Hwnd references from static windows array
9775 - Fixed Graphics leak in PaintEventEnd
9776 - Removed usage of HandleData, switched over to Hwnd class
9777 * HandleData.cs: Removed, obsoleted by Hwnd.cs
9779 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9781 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
9782 * ScrollBar.cs: Fixes bug
9783 * TrackBar.cs: removes death code, clipping, mimize refreshes,
9784 keyboard navigation enhancements
9786 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
9788 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
9789 * GroupBox.cs: Add control styles
9790 * Label.cs: Add control styles
9791 * UpDownBase.cs: Add control styles
9792 * ListBox.cs: Add control styles
9793 * XplatUIWin32.cs: Fixes wrong parameter order
9796 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
9798 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
9800 2005-02-23 Jackson Harper <jackson@ximian.com>
9802 * PropertyManager.cs: Implement property binding. This doesn't
9803 seem to work yet though as (I think) there are some bugs in
9804 System.ComponentModel.PropertyDescriptor.
9805 * BindingContext.cs: Use new PropertyManager constructor.
9807 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
9809 * ProgressBar.cs: use clip region in ProgressBar
9810 * ThemeWin32Classic.cs: use clip region in ProgressBar
9812 2004-02-22 Jackson Harper <jackson@ximian.com>
9814 * BindingsCollection.cs: Remove some debug code.
9816 2005-02-22 Jackson Harper <jackson@ximian.com>
9818 * BindingContext.cs:
9819 * ControlBindingsCollection.cs:
9820 * CurrencyManager.cs:
9822 * BindingManagerBase.cs: Initial implementation
9823 * BindingsCollection.cs: Add an internal contains method that the
9824 BindingManagerBase uses to ensure bindings aren't added twice to
9826 * PropertyManager.cs: Stubbed out.
9828 * ContainerControl.cs: Hook up databinding
9830 2005-02-22 Geoff Norton <gnorton@customerdna.com>
9833 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
9834 Fixed Invalidate/Update chain.
9835 Fixed tons of other minor bugs (this is almost a complete rewrite).
9837 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
9839 * ComboBox.cs: do subcontrol creation when the control is created
9841 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9843 * Label.cs: fixes image drawing (image and imagelist)
9844 * ThemeWin32Classic.cs: cache brushes
9846 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9848 * Form.cs: Move menu drawing code to Theme class
9849 * ComboBox.cs: Move ComboBox drawing code to Theme class
9850 * MenuItem.cs: Move menu drawing code to Theme class
9851 * MenuAPI.cs: Move menu drawing code to Theme class
9852 * ThemeWin32Classic.cs: New methods
9853 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
9854 * ListBox.cs: Move Listbox drawing code to Theme class
9855 * Theme.cs: New methods
9857 2005-02-20 Peter Bartok <pbartok@novell.com>
9860 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
9861 only process mnemonics on those)
9862 - Fixed event sequence for key handling; first calling
9863 ProcessKeyEventArgs now
9865 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
9866 for processing non-character keys
9867 - Fixed WM_CHAR to generate proper event sequence before processing
9868 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
9871 2005-02-19 Peter Bartok <pbartok@novell.com>
9873 * UserControl.cs: Added TextChanged event; added attributes
9874 * SizeGrip.cs: Implemented resizing and optional display of grip
9875 * Form.cs: Fixed attribute
9876 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
9877 Changed meaning of ScrollWindow bool argument; instead of the
9878 clear attribute (which will be true usually anyway), it gives the
9879 option of moving child controls as well.
9881 - Changed to match new ScrollWindow argument
9882 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
9883 now handles the implicit parent window a WM puts around us
9884 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
9886 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
9887 * TreeView.cs: Adjusted to new ScrollWindow arguments
9889 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
9891 * Form.cs: Menu integration with non-client area
9892 * MenuItem.cs: Menu integration with non-client area
9893 * MenuAPI.cs: Menu integration with non-client area
9895 2005-02-18 Peter Bartok <pbartok@novell.com>
9897 * MethodInvoker.cs: Added
9898 * MdiLayout.cs: Added
9899 * SendKeys.cs: Started implementation
9900 * ErrorIconAlignment.cs: Added
9902 2005-02-18 Peter Bartok <pbartok@novell.com>
9904 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
9905 * Form.cs: Added handling for Menu-related Non-client messages
9907 2005-02-17 Peter Bartok <pbartok@novell.com>
9909 * UpDownBase.cs: Fixed typo, compilation errors
9910 * DomainUpDown.cs: Fixed attribute value
9912 2005-02-16 Miguel de Icaza <miguel@novell.com>
9914 * UpDownBase.cs: Attach entry events.
9916 Add ForeColor property, Focused, InterceptArrowKeys (interception
9919 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
9922 - Redraw non client are on Setmenu
9923 - Calc proper menu starting point
9925 2005-02-17 Peter Bartok <pbartok@novell.com>
9927 * Application.cs: Fixed message_filter check
9929 2005-02-17 Peter Bartok <pbartok@novell.com>
9931 * Application.cs: Now calls registered message filters
9932 * DockStyle.cs: Fixed attribute
9933 * Form.cs: Fixed attribute
9934 * Menu.cs: Fixed attribute
9935 * ToolTip.cs: Fixed attribute
9936 * TreeNode.cs: Added missing attributes and arranged in regions
9937 * PropertyGrid.cs: Fixed signatures
9938 * TreeNodeCollection.cs: Added attributes
9939 * Splitter.cs: Added missing attributes; arranged into regions
9940 * TabPage.cs: Added missing attributes; arranged into regions
9941 * TextBoxBase.cs: Added missing attributes
9942 * TextBox.cs: Added missing attributes
9943 * ArrangeDirection.cs: Added missing attributes
9944 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
9945 * ToolBarButton.cs: Fixed attributes
9946 * AnchorStyles.cs: Fixed attribute
9947 * TrackBar.cs: Fixed attributes
9948 * TabControl.cs: Added missing attributes and arranged into regions
9949 * ToolBar.cs: Fixed attribute
9950 * StatusBar.cs: Fixed signature, organized into regions and added
9952 * StatusBarPanel.cs: Fixed attributes
9953 * ContentsResizedEventArgs.cs: Implemented
9954 * ContentsResizedEventHandler.cs: Implemented
9955 * DateBoldEventArgs.cs: Implemented
9956 * DateBoldEventHandler.cs: Implemented
9957 * UpDownEventArgs.cs: Implemented
9958 * UpDownEventHandler.cs: Implemented
9960 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
9962 * Form.cs: first Menu NC refactoring
9963 * MenuAPI.cs: first Menu NC refactoring
9965 2005-02-16 Peter Bartok <pbartok@novell.com>
9967 * ImeMode.cs: Added missing attributes
9968 * Menu.cs: Fixed attribute
9969 * GroupBox.cs: Fixed attribute
9970 * Label.cs: Fixed attribute
9971 * ColorDialog.cs (RunDialog): Removed TODO attribute
9972 * ComboBox.cs: Fixed attributes
9973 * ListControl.cs: Added missing attributes
9974 * PropertyGrid.cs: Fixed attributes
9975 * Control.cs: Fixed attributes
9976 * ListViewItem.cs: Added TypeConverter attribute
9977 * NotifyIcon.cs: Fixed attributes
9978 * ListView.cs: Fixed attributes
9979 * ButtonBase.cs: Fixed attribute
9980 * ImageList.cs: Added missing attributes
9981 * ContainerControl.cs: Fixed signature
9982 * CheckedListBox.cs: Fixed attribute; added missing attributes
9983 * Panel.cs: Fixed attributes
9984 * PropertyTabChangedEventArgs.cs: Added missing attribute
9985 * PropertyValueChangedEventArgs.cs: Added missing attribute
9986 * Binding.cs: Fixed attribute
9987 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9988 * ListBox.cs: Fixed attribute; added missing attributes;
9989 * ScrollableControl.cs: Added missing attributes
9990 * PictureBox.cs: Added missing attributes; implemented missing property
9991 * DateTimePicker.cs: Added missing attributes
9992 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9993 * MonthCalendar.cs: Fixed attributes
9994 * StatusBarPanel.cs: Added missing attributes
9995 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9997 2005-02-16 Peter Bartok <pbartok@novell.com>
9999 * TextBoxBase.cs: The previous method to enforce height yet remember
10000 the requested high was less than ideal, this is an attempt to do
10002 * Control.cs: Added comment about possible problem
10003 * Copyright: Updated format
10004 * GridItemType.cs: Fixed swapped values
10006 2005-02-15 Jackson Harper <jackson@ximian.com>
10008 * BaseCollection.cs: Use property so we never access an
10009 uninitialized list. Also initialize the list in the property.
10011 2005-02-15 Peter Bartok <pbartok@novell.com>
10013 * GroupBox.cs (ProcessMnemonic): Implemented
10014 * Label.cs (ProcessMnemonic): Implemented
10015 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
10018 2005-02-15 Peter Bartok <pbartok@novell.com>
10020 * RadioButton.cs (ProcessMnemonic): Implemented
10021 * CheckBox.cs (ProcessMnemonic): Implemented
10023 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
10025 - Added internal method to allow calling ProcessMnemonic from other
10027 * ContainerControl.cs:
10028 - Started support for handling validation chain handling
10029 - Implemented ProcessMnemonic support
10030 - Added Select() call to Active, to make sure the active control
10032 * Form.cs: Setting toplevel flag for Forms (this was lost in the
10033 FormParent rewrite)
10034 * ThemeWin32Classic.cs:
10035 - DrawCheckBox(): Fixed stringformat to show hotkeys
10036 - DrawRadioButton(): Fixed stringformat to show hotkeys
10037 * CommonDialog.cs: Removed WndProc override, not needed
10039 2005-02-14 Peter Bartok <pbartok@novell.com>
10041 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
10042 missed those in the rewrite
10044 2005-02-14 Miguel de Icaza <miguel@novell.com>
10046 * NumericUpDown.cs (Increment, ToString): Add.
10047 (DecimalPlaces): implement.
10051 * UpDownBase.cs: Add the designer attributes.
10053 2005-02-13 Peter Bartok <pbartok@novell.com>
10055 * Panel.cs: Removed border_style, now in Control
10056 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
10057 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
10059 2005-02-13 Peter Bartok <pbartok@novell.com>
10061 * MouseButtons.cs: Added missing attributes
10062 * XplatUIStructs.cs: Added enumeration for title styles
10063 * LeftRightAlignment.cs: Added missing attributes
10064 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
10065 it compatible with Graphics.FromHwnd()
10066 * SelectedGridItemChangedEventArgs.cs: Fixed property type
10067 * Keys.cs: Added missing attributes
10068 * SelectionRange.cs: Added missing attributes
10069 * SelectionRangeConverter.cs: Added
10071 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
10072 ReleaseMenuDC methods
10073 - Renamed ReleaseWindow to UngrabWindow
10074 - Added proper startup notice to allow version identification
10076 - Added missing attributes
10077 - Removed FormParent concept
10078 * Label.cs: Removed border_style field, now in Control
10079 * RadioButton.cs: Now properly selects RadioButton when focus is
10081 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
10083 - Added missing attributes
10084 - Added borderstyle handling
10085 - Removed FormParent concept support
10086 - Fixed calls to XplatUI to match changed APIs
10087 - Fixed bug that would case us to use disposed Graphics objects
10088 - Removed unneeded internal methods
10089 - PerformLayout(): Fixed to handle DockStyle.Fill properly
10090 - SelectNextControl(): Fixed to properly check common parents
10091 * TextBoxBase.cs: Removed border_style field (now in Control)
10093 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
10094 fixed calculations for form size
10095 - Added support for localized strings and icons
10096 - Improved form size calculations, added border
10097 * ListView.cs: Removed border_style field (now in Control)
10098 * X11Structs.cs: Moved several structs from X11 driver here
10099 * X11Keyboard.cs: Changed debug message
10100 * Application.cs: Removed FormParent concept support
10102 - Resetting end_modal flag
10103 - Removed FormParent concept support
10104 * NativeWindow.cs: Removed FormParent concept support
10105 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
10106 Client area and Non-Client whole window to allow support for WM_NC
10108 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
10109 prevent using it until it supports Hwnd as per Geoff Norton's request
10110 * ToolBar.cs: Fixed drawing, was not doing proper drawing
10111 * PictureBox.cs: Removed border_style field, now in Control
10112 * XplatUIWin32.cs: Added new driver methods
10114 2005-02-12 Peter Bartok <pbartok@novell.com>
10116 * OpacityConverter.cs: Implemented
10117 * Hwnd.cs: Internal class to support drivers that need to emulate
10118 client area/non-client area window behaviour
10120 2005-02-11 Peter Bartok <pbartok@novell.com>
10122 * KeysConverter.cs: Implemented
10124 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
10126 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
10127 * LinkLabel: Added missing attributes
10128 * MainMenu.cs: fixes ToString
10129 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
10130 * ListBox.cs: fixes event position
10131 * TrackBar.cs: adds missing attributes and events
10133 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
10135 * MenuItem.cs: Use SystemInformation and bug fixes
10136 * MenuAPI.cs: Use SystemInformation and bug fixes
10138 2005-02-09 Jackson Harper <jackson@ximian.com>
10140 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
10141 their keystate otherwise things like VK_MENU get stuck "on".
10143 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
10145 * ListBox.cs: Fixes AddRange bug
10147 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
10150 - Add missing attributes
10151 - Add missing method
10153 * CheckedListBox.cs: Added missing attributes
10154 - Add missing attributes
10155 - Remove extra method
10157 * ComboBox.cs: Added missing attributes
10158 * VScrollBar.cs: Added missing attributes
10159 * ScrollBar.cs: Added missing attributes
10160 * ListBox.cs: Fixes signature, add missing consts
10161 * LinkArea.cs: Added missing attributes
10164 2005-02-08 Peter Bartok <pbartok@novell.com>
10166 * Menu.cs: Added missing attributes
10167 * MainMenu.cs: Added missing attributes
10168 * GroupBox.cs: Added missing attributes
10169 * Label.cs: Added missing attributes
10170 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
10172 - Added Instance and Options properties
10173 - Added missing attributes
10174 * Cursor.cs: Made Serializable
10175 * NotifyIcon: Added missing attributes
10176 * MenuItem.cs: Added missing attributes
10177 * TextBoxBase.cs: Implemented AppendText() and Select() methods
10178 * Panel.cs: Added Missing attributes
10179 * MonthCalendar.cs: Fixed CreateParams
10181 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10185 - Fixes issues with links
10186 - Adds the class attributes
10188 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
10191 - Fixes button when no items available in dropdown
10192 - Fixes repainting problems
10193 - Adds the class attributes
10195 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10197 * XplatUIOSX.cs: Detect the menu bar and title bar height from
10198 the current theme. Cache these on startup.
10200 2005-02-07 Jackson Harper <jackson@ximian.com>
10202 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
10203 the scrollbar buttons when they are depressed.
10205 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10207 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
10208 Get the display size from the main displayid. We currently dont
10209 support multiple display configurations.
10211 2005-02-07 Geoff Norton <gnorton@customerdna.com>
10213 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
10215 2005-02-07 Miguel de Icaza <miguel@novell.com>
10217 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
10219 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
10221 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
10223 2005-02-04 Jackson Harper <jackson@ximian.com>
10225 * ThemeWin32Classic.cs: Respect the clipping rect when
10226 drawing. Only fill the intersection of clips and rects so there
10227 isn't a lot of large fills.
10228 * ScrollBar.cs: Pass the correct clipping rect to the theme
10229 engine. Remove some debug code.
10231 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
10233 * DateTimePicker.cs:
10234 - Fixed crash on DateTime.Parse, use Constructor instead
10236 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10240 - Owner draw support (MeasureItem and DrawItem)
10242 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
10245 - Implements FindMergePosition and MergeMenu functions (very poor documented)
10246 - Fixes MenuItems.Add range
10248 - MergeMenu and Clone and CloneMenu functions
10250 2005-02-03 Jackson Harper <jackson@ximian.com>
10252 * ScrollBar.cs: Make abstract
10253 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
10256 2005-02-03 Jackson Harper <jackson@ximian.com>
10258 * ScrollBar.cs: First part of my scrollbar fixups. This removes
10259 all the unneeded refreshes and uses invalidates with properly
10262 2005-02-03 Peter Bartok <pbartok@novell.com>
10264 * ComponentModel.cs: Added
10265 * IDataGridEditingService.cs: Added
10266 * Timer.cs: Added missing attributes
10267 * ToolTip.cs: Added missing attributes
10269 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
10271 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
10273 2005-02-03 Peter Bartok <pbartok@novell.com>
10275 * ListBox.cs: Added missing attributes
10277 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
10280 - Fixes font height after font change
10281 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
10283 2005-02-02 Peter Bartok <pbartok@novell.com>
10285 * HandleData.cs: Introduced static methods to allow class
10286 to be more self-contained and track it's own HandleData objects
10287 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
10288 HandleData to use new static methods
10290 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
10293 - Fixes default size and PreferredHeight
10295 - ObjectCollection.Insert implementation
10301 - ObjectCollection.Insert implementation
10302 - No selection after clean
10305 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10307 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
10309 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
10312 - Caches ItemHeight calculation for OwnerDrawVariable
10313 - Handles dropdown properly
10314 - Fixes several minor bugs
10316 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10319 - Fixes 71946 and 71950
10320 - Fixes changing Multicolumn on the fly
10321 - Fixes keyboard navigation on Multicolumn listboxes
10323 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10325 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
10326 crash reporter log.
10328 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10330 * XplatUIOSX.cs: Allow applications to actually exit.
10332 2005-01-31 Geoff Norton <gnorton@customerdna.com>
10334 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
10335 their parent at creation time rather than lazily later. Fixes a major
10336 regression we were experiencing.
10338 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
10340 * ThemeWin32Classic.cs: more date time picker painting fixes
10341 * DateTimePicker.cs: more monthcalendar drop down fixes
10342 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
10344 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
10347 - When moving the thumb going outside the control should stop the moving
10348 - Adds the firing of missing events
10349 - Fixes no button show if Size is not specified
10350 - End / Home keys for keyboard navigation
10352 2005-01-30 Peter Bartok <pbartok@novell.com>
10354 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
10355 sanity check to prevent theoretical loop
10356 * XplatUIWin32.cs (SetVisible): Removed debug output
10357 * XplatUIX11.cs (SystrayChange): Added sanity check
10358 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
10359 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
10360 behaviour, valid until the X11 client window rewrite is done
10361 * TextBox.cs (ctor): Setting proper default foreground and background
10364 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
10366 * Theme: Added DrawDateTimePicker to interface
10367 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
10368 * DateTimePicker.cs: Created (still needs keys and painting code)
10369 * DateTimePickerFormat.cs: added
10370 * MonthCalendar.cs: fixed CreateParams for popup window mode
10372 2005-01-29 Peter Bartok <pbartok@novell.com>
10374 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
10375 this should also the calculations for ligher/darker
10376 * Theme.cs: Fixed defaults for ScrollBar widths/heights
10378 2005-01-29 Peter Bartok <pbartok@novell.com>
10380 * ArrangeDirection.cs: Added
10381 * ArrangeStartingPositon.cs: Added
10382 * SystemInformation.cs: Implemented
10383 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10384 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
10385 used by SystemInformation class
10386 * X11Strucs.cs: Added XSizeHints structure
10388 - Fixed CreateParams to make sure the menu window is always visible
10389 - TrackPopupMenu: Added check to make sure we don't draw the
10392 2005-01-29 Peter Bartok <pbartok@novell.com>
10394 * HandleData.cs: Added method for altering invalid area
10395 * TextBoxBase.cs: Implemented TextLength
10397 2005-01-28 Peter Bartok <pbartok@novell.com>
10399 * XplatUIX11.cs: Improvement over last patch, not sending
10400 the WM_PAINT directly anymore, instead we scroll any pending
10401 exposed areas and let the system pick out the WM_PAINT later
10403 2005-01-28 Peter Bartok <pbartok@novell.com>
10405 * SWF.csproj: Deleted, no longer used. Instead,
10406 Managed.Windows.Forms/SWF.csproj should be used
10407 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
10408 directly, to avoid a potential race condition with the next
10411 2005-01-28 Peter Bartok <pbartok@novell.com>
10413 * XplatUI.cs: Made class internal
10415 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
10417 * CheckedListBox.cs:
10420 - Missing methods and events
10422 2005-01-27 Peter Bartok <pbartok@novell.com>
10424 * Application.cs (Run): Don't use form if we don't have one
10426 2005-01-27 Peter Bartok <pbartok@novell.com>
10428 * TextBoxBase.cs (get_Lines): Fixed index off by one error
10430 2005-01-27 Peter Bartok <pbartok@novell.com>
10432 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
10433 * GridItem.cs: Added; Patch by Jonathan S. Chambers
10434 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
10435 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
10436 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
10437 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
10438 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10439 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10440 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10441 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10442 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
10443 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
10445 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10448 - Draw focus on Simple Combobox
10449 - Fixes drawing issues
10452 2005-01-27 Peter Bartok <pbartok@novell.com>
10455 - Place window in default location, instead of hardcoded 0/0
10456 - Send initial LocationChanged event
10458 - UpdateBounds after creation to find out where the WM placed us
10459 - Make sure that if the ParentForm changes location the Form
10461 * XplatUIX11.cs: XGetGeometry will not return the coords relative
10462 to the root, but to whatever the WM placed around us.
10463 Translate to root coordinates before returning toplevel
10465 * XplatUIWin32.cs: Removed debug output
10466 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
10467 flag to GetWindowPos, to allow translation of coordinates on X11
10469 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
10471 * ListBox.cs: connect LostFocus Event
10473 2005-01-27 Peter Bartok <pbartok@novell.com>
10475 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10476 XplatUIX11.cs: Extended the Systray API
10477 * Form.cs: Removed debug output
10478 * Application.cs: Fixed focus assignment, always need to call
10479 XplatUI.Activate() since Form.Activate() has rules that may
10481 * NotifyIcon.cs: Should be complete now
10482 * ToolTip.cs: Worked around possible timer bug
10484 2005-01-27 Jackson Harper <jackson@ximian.com>
10487 - Only invalidate the effected tabs when the
10488 selected index changes. This reduces drawing and gets rid of some
10490 - Only refresh if the tabs need to be shifted, otherwise only
10491 invalidate the slider button.
10492 - On windows the tabs are not filled to right if the slider is
10495 2005-01-27 Jackson Harper <jackson@ximian.com>
10497 * TabControl.cs: Only refresh on mouseup if we are showing the
10498 slider. Also only invalidate the button whose state has changed.
10500 2005-01-26 Peter Bartok <pbartok@novell.com>
10502 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
10503 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
10504 and SystrayRemove() methods
10505 * XplatUIOSX.cs: Stubbed Systray methods
10507 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
10509 - Fixed broken XChangeProperty calls (marshalling messed up things)
10510 * X11Structs.cs: Added enums and structs required for Size hinting
10511 * NotifyIcon.cs: Added & implemented
10513 2005-01-26 Jackson Harper <jackson@ximian.com>
10515 * TabControl.cs: Space vertically layed out tabs properly.
10517 2005-01-26 Peter Bartok <pbartok@novell.com>
10519 * Form.cs (CreateClientParams): Always set the location to 0,0
10520 since we're a child window.
10522 * Control.cs (SetVisibleCore): Always explicitly setting the location
10523 of a toplevel window, apparently X11 doesn't like to move windows
10524 while they're not mapped.
10526 2005-01-26 Jackson Harper <jackson@ximian.com>
10528 * TabControl.cs: Implement FillToRight size mode with vertically
10531 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10533 * ControlPaint.cs, ThemeWin32Classic.cs
10534 - Fixes DrawFocusRectangle
10536 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
10539 - MenuBar tracking only starts when item is first clicked
10540 - Fixes menu hidding for multiple subitems
10541 - Unselect item in MenuBar when item Executed
10544 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
10547 - IsInputKey for ListBox
10550 - Shift and Control item selection
10551 - Implement SelectionMode.MultiExtended
10552 - Fixes RightToLeft
10554 - IsInputKey implemented
10555 - Do not generate OnTextChangedEdit on internal txt changes
10557 2005-01-23 Peter Bartok <pbartok@novell.com>
10559 * AccessibleObject.cs: Partially implemented Select()
10560 * MonthCalendar.cs: Added missing attributes and events
10561 * Form.cs: Fixed CreateParams behaviour, now controls derived from
10562 form can properly override CreateParams.
10563 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
10564 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
10565 Control performs Invalidate & Update
10566 * NativeWindow (CreateHandle): Added special handling for Form
10567 and Form.FormParent classes to allow overriding of From.CreateParams
10569 - ControlNativeWindow: Renamed 'control' variable to more intuitive
10571 - ControlNativeWindow: Added Owner property
10572 - Removed usage of Refresh() on property changes, changed into
10573 Invalidate(), we need to wait until the queue is processed for
10574 updates, direct calls might cause problems if not all vars for
10575 Paint are initialized
10576 - Added call to UpdateStyles() when creating the window, to set any
10577 styles that CreateWindow might have ignored.
10578 - Added support for Form CreateParent overrides to UpdateStyles()
10579 * MessageBox.cs: Removed no longer needed FormParent override stuff,
10580 CreateParams are now properly overridable
10581 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
10582 CreateParams are now properly overridable
10584 2005-01-23 Miguel de Icaza <miguel@ximian.com>
10586 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
10589 Capture LostFocus and OnTextBoxChanged. The later introduces a
10590 recursive invocation that I have not figured out yet.
10592 Reset the timer when not using (it was accumulating).
10595 (OnTextBoxChanged): Set UserEdit to true here to track whether the
10596 user has made changes that require validation.
10598 Reset changing to avoid loops.
10600 2005-01-22 Miguel de Icaza <miguel@ximian.com>
10602 * NumericUpDown.cs: Display value at startup.
10604 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
10607 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
10608 filled in. Added some basic parsing of text.
10610 Still missing the OnXXX method overrides, and figuring out the
10611 events that must be emitted.
10613 * UpDownBase.cs: Handle UserEdit on the Text property.
10615 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
10618 - Fixes IntegralHeight
10621 2005-01-21 Jackson Harper <jackson@ximian.com>
10623 * TabControl.cs: Set the SelectedIndex property when SelectedTab
10624 is set so that the page visibility is updated and the tabs are
10627 2005-01-21 Jackson Harper <jackson@ximian.com>
10629 * TabControl.cs: Use cliping rectangle for blitting. Give the
10630 theme the clipping rect so we can do clipping while
10631 drawing. Remove some debug code.
10633 2005-01-21 Jackson Harper <jackson@ximian.com>
10635 * TabPage.cs: Add a new method so tab pages can force the tab
10636 control to recalculate the tab page sizes.
10637 * TabControl.cs: UpdateOwner needs to make the tab control recalc
10640 2005-01-20 Jackson Harper <jackson@ximian.com>
10642 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
10644 2005-01-20 Jackson Harper <jackson@ximian.com>
10646 * TreeView.cs: Set the bounds for nodes properly. They were
10647 getting screwed up when checkboxes were not enabled, but images
10650 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
10653 - Owner draw support
10656 2005-01-20 Jackson Harper <jackson@ximian.com>
10658 * XplatUIStructs.cs: More misc keys
10659 * X11Keyboard.cs: Ignore some control keys.
10661 2005-01-20 Jackson Harper <jackson@ximian.com>
10663 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
10664 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
10666 2005-01-19 Peter Bartok <pbartok@novell.com>
10668 * Control.cs: Un-selecting the control when it is loosing focus
10670 2005-01-19 Jackson Harper <jackson@ximian.com>
10672 * TreeView.cs: Hook up to the text controls leave event so we can
10673 end editing when the users clicks outside the text box.
10675 2005-01-19 Jackson Harper <jackson@ximian.com>
10677 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
10678 get set in the conversion array.
10680 2005-01-19 Peter Bartok <pbartok@novell.com>
10682 * Application.cs (ModalRun): Added a call to CreateControl to ensure
10683 focus is properly set
10685 - Added missing attributes
10686 - removed styles, those are already set in the base class
10688 - Added missing attributes
10689 - Added clip window styles
10690 * CheckBox.cs: Added missing attributes
10692 - FormParentWindow.CreateParams: Added required clip styles
10693 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
10694 also filters modifier keys
10696 - Added assignment of Accept and Cancel button to enable Enter
10697 and Esc keys in MessageBox dialogs
10698 - FormParentWindow.CreateParams: Added required clip styles
10699 * RadioButton.cs: Added missing attributes
10700 * TextControl.cs: No longer draws selection if control does not
10703 - Now draws simple rectangle around test area to make it obvious
10704 there's a control. This is a hack until we properly support borders
10705 - A few simple fixes to support selections better, now erases selected
10706 text when typing, and resets selection when using movement keys
10708 2005-01-19 Miguel de Icaza <miguel@ximian.com>
10710 * UpDownBase.cs: Added some new properties.
10712 * DomainUpDown.cs: Implement a lot to get my test working.
10714 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10716 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
10718 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10720 * OSXStructs (WindowAttributes): Fixed csc complaints
10722 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10725 OSXStructs.cs: Initial refactor to move enums and consts into
10726 OSXStructs and use them in the driver for greater readability.
10728 2005-01-19 Geoff Norton <gnorton@customerdna.com>
10730 * XplatUIOSX.cs: Initial support for Standard Cursors.
10731 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
10733 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
10735 * ComboBox.cs: ability to change style when the ctrl is already
10736 created, missing methods and events, bug fixes, signature fixes
10738 2005-01-19 Peter Bartok <pbartok@novell.com>
10740 * Cursors.cs (ctor): Added ctor to fix signature
10742 2005-01-18 Peter Bartok <pbartok@novell.com>
10744 * Button.cs: Implemented DoubleClick event
10746 - Fixed keyboard handling to behave like MS, where the press of
10747 Spacebar is equivalent to a mousedown, and the key release is
10748 equivalent to mouseup. Now a spacebar push will give the same
10749 visual feedback like a mouse click.
10750 - Added missing attributes
10751 - Added ImeModeChanged event
10752 - Added support for generating DoubleClick event for derived classes
10754 - Implemented DoubleClick event
10755 - Added missing attributes
10756 * CommonDialog.cs: Added missing attribute
10757 * ContextMenu.cs: Added missing attributes
10759 - AutoChecked buttons do not allow to be unselected when clicked
10760 (otherwise we might end up with no selected buttons in a group)
10761 - Added missing attributes
10762 - Implemented DoubleClickEvent
10763 * ThreadExceptionDialog.cs: Enabled TextBox code
10765 2005-01-18 Peter Bartok <pbartok@novell.com>
10767 * Form.cs: Removed debug output
10768 * Button.cs: Added support for DoubleClick method
10770 2005-01-18 Peter Bartok <pbartok@novell.com>
10773 - Added method to parent window that allows triggering size
10774 calculations when a menu is added/removed
10775 - set_Menu: Cleaned up mess from early days of Form and Control,
10776 now properly triggers a recalc when a menu is added/removed
10777 - Added case to select form itself as focused form if no child
10779 - Added PerformLayout call when showing dialog, to ensure properly
10782 - Select(): Made internal so Form can access it
10783 - Focus(): Only call Xplat layer if required (avoids loop), and sets
10785 * Application.cs (Run): Removed hack and calls PerformLayout instead
10786 to trigger calculation when Form becomes visible
10788 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
10790 * ComboBox.cs: fixes for ownerdraw
10792 2005-01-18 Peter Bartok <pbartok@novell.com>
10795 - Sentinel is no longer static, each Document gets it's own, this
10796 avoids locking or alternatively overwrite problems when more
10797 than one text control is used simultaneously.
10798 - Switched to use Hilight and HilightText brushes for text selection
10800 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
10802 2005-01-18 Peter Bartok <pbartok@novell.com>
10805 - Hooked up the following events:
10813 o SystemColorsChanged
10814 o ParentFontChanged
10816 - Removed debug output
10817 - Added a call to the current theme's ResetDefaults when a color change
10819 * Form.cs: Now setting the proper ImeMode
10820 * Theme.cs: Defined a method to force recreation of cached resources
10821 and rereading of system defaults (ResetDefaults())
10822 * ThemeWin32Classic.cs: Added ResetDefaults() stub
10824 2005-01-17 Peter Bartok <pbartok@novell.com>
10826 * Control.cs: Added missing attributes
10828 2005-01-17 Jackson Harper <jackson@ximian.com>
10830 * TreeNode.cs: Implement editing. Add missing properties selected
10832 * TreeView.cs: Implement node editing. Also some fixes to use
10833 Invalidate (invalid area) instead of Refresh when selecting.
10835 2005-01-17 Peter Bartok <pbartok@novell.com>
10838 - Implemented InvokeGotFocus() method
10839 - Implemented InvokeLostFocus() method
10840 - Implemented InvokePaint() method
10841 - Implemented InvokePaintBackground() method
10842 - Implemented InvokeClick() method
10843 - Implemented FindForm() method
10844 - Implemented RectangleToClient() method
10845 - Implemented ClientToRectangle() method
10846 - Implemented ResetBackColor() method
10847 - Implemented ResetCursor() method
10848 - Implemented ResetFont() method
10849 - Implemented ResteForeColor() method
10850 - Implemented ResetImeMode() method
10851 - Implemented ResetLeftToRight() method
10852 - Implemented ResetText() method
10853 - Implemented Scale() methods
10854 - Implemented ScaleCore() method
10855 - Implemented Update() method
10856 - Removed unused variables
10857 - Stubbed AccessibilityNotifyClients and
10858 ControlAccessibleObject.NotifyClients() methods (dunno what to do
10860 - Now setting proper default for RightToLeft property
10861 - Fixed bug in SetClientSizeCore that would cause windows to get
10863 - Now sending Click/DoubleClick events
10864 - Now selecting controls when left mouse button is clicked on
10866 * AccessibleEvents.cs: Added
10867 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
10868 * XplatUIOSX.cs: Stubbed UpdateWindow() method
10869 * XplatUIWin32.cs: Implemented UpdateWindow() method
10870 * XplatUIX11.cs: Implemented UpdateWindow() method
10871 * Form.cs: Removed stray semicolon causing CS0162 warning
10872 * ThemeWin32Classic.cs: Fixed unused variable warnings
10873 * ScrollableControl.cs: Now calls base method for ScaleCore
10874 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
10875 style to avoid interference with internal click handler (which is
10876 different than standard Control click handling)
10878 - Now unchecks all sibling radio buttons when control is
10879 selected (Fixes #68756)
10880 - Removed internal tabstop variable, using the one inherited from
10883 2005-01-17 Jackson Harper <jackson@ximian.com>
10885 * NavigateEventArgs.cs: Fix base type.
10886 * LinkLabel.cs: Sig fix
10888 2005-01-17 Jackson Harper <jackson@ximian.com>
10890 * TreeView.cs: Only invalidate the effected nodes bounds when
10893 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10895 * XplatUIWin32.cs: fixes Win32 marshaling
10896 * XplatUIX11.cs: fixes method signature
10898 2005-01-17 Peter Bartok <pbartok@novell.com>
10900 * XplatUIX11.cs: Clean up resources when we no longer need them
10902 2005-01-17 Peter Bartok <pbartok@novell.com>
10904 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
10905 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
10906 and DestroyCursor() methods.
10907 * Cursor.cs: Partially implemented, now supports standard cursors;
10908 still contains some debug code
10909 * Cursors.cs: Implemented class
10911 - WndProc(): Added handling of WM_SETCURSOR message, setting the
10913 - Implemented Cursor property
10914 - Replaced break; with return; more straightforwar and possibly
10916 - Now properly setting the result for WM_HELP
10917 * X11Structs.cs: Added CursorFontShape enum
10918 * XplatUIStructs.cs:
10919 - Added StdCursor enum (to support DefineStdCursor() method)
10920 - Added HitTest enum (to support sending WM_SETCURSOR message)
10922 - Now sends the WM_SETCURSOR message
10923 - Implemented new cursor methods
10924 * XplatUIOSX.cs: Stubbed new cursor methods
10926 - Implemented new cursor methods
10927 - Added GetSystemMetrics function and associated enumeration
10929 2005-01-15 Peter Bartok <pbartok@novell.com>
10932 - WndProc(): Now handles EnableNotifyMessage
10933 - SelectNextControl(): Fixed bug where if no child or sibling
10934 controls exist we looped endlessly
10936 2005-01-14 Jackson Harper <jackson@ximian.com>
10938 * TreeView.cs: Recalculate the tab pages when a new one is added
10939 so that the proper bounding rects are created.
10941 2005-01-14 Jackson Harper <jackson@ximian.com>
10943 * TreeView.cs: Draw a gray box instead of a grip in the lower
10944 right hand corner when there are both horizontal and vertical
10947 2005-01-14 Jackson Harper <jackson@ximian.com>
10949 * Control.cs: When erasing backgrounds use FromHwnd instead of
10950 FromHdc when there is a NULL wparam. This occurs on the X driver.
10951 * XplatUIX11.cs: Set the wparam to NULL.
10953 2005-01-13 Jackson Harper <jackson@ximian.com>
10955 * PictureBox.cs: Implement missing methods (except ToString, need
10956 to test that on windows) and events. When visibility is changed we
10957 need to redraw the image because the buffers are killed. When size
10958 is changed refresh if the sizemode needs it.
10960 2005-01-13 Peter Bartok <pbartok@novell.com>
10962 * Control.cs (SelectNextControl): Was using wrong method to select
10965 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10967 * ComboBox.cs: fixes dropstyle
10969 2005-01-13 Peter Bartok <pbartok@novell.com>
10972 - Implemented Select() override
10973 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
10974 - Now sets keyboard focus on startup
10975 * Control.cs (SelectNextControl): Now properly handles directed=true
10977 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10978 - Added (really bad) focus rectangle (mostly for testing)
10979 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10980 to enforce redraw on focus changes
10981 * ContainerControl.cs:
10982 - Fixed detection of Shift-Tab key presses
10983 - Fixed traversal with arrow keys
10984 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10985 gonna keep this or if it's complete yet
10987 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10989 * ComboBox.cs: missing properties, fixes
10991 2005-01-13 Peter Bartok <pbartok@novell.com>
10993 * Panel.cs (ctor): Setting Selectable window style to off
10994 * Splitter.cs (ctor): Setting Selectable window style to off
10995 * GroupBox.cs (ctor): Setting Selectable window style to off
10996 * Label.cs (ctor): Setting Selectable window style to off
10998 2005-01-12 Miguel de Icaza <miguel@ximian.com>
11000 * UpDownBase.cs (InitTimer): If the timer has been already
11001 created, enable it.
11003 Use a TextBox instead of a Label.
11005 2005-01-12 Jackson Harper <jackson@ximian.com>
11007 * TreeView.cs: Refresh the tree after sorting the nodes. Always
11008 draw the connecting node lines (when ShowLines is true).
11009 * TreeNode.cs: The nodes index can now be updated. This is used
11010 when a node collection is sorted.
11011 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
11012 insert or an existing unsorted node collection can be sorted.
11014 2005-01-12 Peter Bartok <pbartok@novell.com>
11016 * ContainerControl.cs: Implemented ProcessDialogKeys()
11018 2005-01-12 Peter Bartok <pbartok@novell.com>
11021 - Implemented SelectNextControl() method
11022 - Several focus related bug fixes
11023 - Fixed Docking calculations to match MS documentation and
11026 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
11028 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
11031 2005-01-12 Peter Bartok <pbartok@novell.com>
11034 - Fixed broken Contains() method
11035 - Implemented GetNextControl() method. Finally. This is the pre-
11036 requisite for focus handling.
11038 2005-01-12 Peter Bartok <pbartok@novell.com>
11040 * OSXStrucs.cs: Added
11042 2005-01-12 Peter Bartok <pbartok@novell.com>
11045 - Removed PeekMessageFlags
11046 - Implemented SetWindowStyle() method
11047 * XplatUIStructs.cs: Added PeekMessageFlags
11048 * X11Structs: Added missing border_width field to XWindowChanges struct
11050 - PeekMessage: Now throws exception if flags which are not yet
11051 supported are passed
11052 - Implemented SetWindowStyle() method
11053 - Fixed SetZOrder to handle AfterHwnd properly
11054 * XplatUI.cs: Added SetWindowStyle() method
11055 * XplatUIDriver.cs: Added SetWindowStyle() abstract
11057 - Implemented UpdateStyles() method
11058 - Implemented UpdateZOrder() method
11059 * XplatUIOSX.cs: Added SetWindowStyle() stub
11061 2005-01-12 Geoff Norton <gnorton@customerdna.com>
11063 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
11067 2005-01-11 Jackson Harper <jackson@ximian.com>
11069 * TreeView.cs: Still need to draw lines to siblings even if out of
11070 the current node is out of the clip.
11072 2005-01-11 Jackson Harper <jackson@ximian.com>
11074 * TreeView.cs: When setting the hbar/vbar/grip position use
11075 SetBounds so that perform layout is only called once. Also suspend
11076 and resume layout so layout is only done once for all controls.
11077 - Removed some debug fluff
11078 * SizeGrip.cs: Call base implmentation in overriding methods.
11079 - When visibility is changed the drawing buffers are killed so we
11082 2005-01-11 Jackson Harper <jackson@ximian.com>
11084 * TreeView.cs: Calculate the open node count while drawing. This
11085 saves us an entire tree traversal for every paint operation. Use
11086 a member var for the open node count so less vars are passed around.
11088 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
11090 * MonthCalendar.cs:
11091 - fixed selection to use mousemove, not mouse polling on timer
11092 * ThemeWin32Classic.cs
11093 - removed redundant unused variable "no_more_content"
11095 2005-01-11 Peter Bartok <pbartok@novell.com>
11097 * XplatUIX11.cs (DoEvents): Needs to return when no more events
11098 are pending, so it now calls PeekMessage instead of GetMessage;
11099 implemented a incomplete version of PeekMessage
11101 2005-01-11 Peter Bartok <pbartok@novell.com>
11103 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
11105 * TextBoxBase.cs: Added sending of TextChanged event
11107 2005-01-10 Jackson Harper <jackson@ximian.com>
11109 * TreeView.cs: Try not to draw outside the clipping rectangle on
11112 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
11114 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
11116 2005-01-10 Jackson Harper <jackson@ximian.com>
11119 - Implement fast scrolling. Now only the newly
11120 exposed nodes are drawn and the old image is moved using the
11121 XplatUI::ScrollWindow method.
11122 - Factor in height of nodes when calculating whether or not the
11123 node is in the clipping rect.
11125 2005-01-10 Jackson Harper <jackson@ximian.com>
11127 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
11129 2005-01-10 Peter Bartok <pbartok@novell.com>
11131 * Application.cs: Added temporary hack to resolve all our resize
11132 required issues on startup. This will get fixed properly at
11133 some point in the future
11135 2005-01-10 Jackson Harper <jackson@ximian.com>
11137 * SizeGrip.cs: New internal class that is used as a sizing
11138 grip control...hence the name.
11140 2005-01-10 Peter Bartok <pbartok@novell.com>
11142 * Control.cs: Implemented proper TabIndex handling, now assigning
11143 a tabindex when a control is added to a container
11144 * GroupBox.cs (ctor): Now sets the Container style bit, required
11145 for Control.GetNextControl()
11147 2005-01-09 Jackson Harper <jackson@ximian.com>
11149 * TextBoxBase.cs: Clear window when scrolling (fixes build).
11151 2005-01-09 Peter Bartok <pbartok@novell.com>
11153 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
11154 XplatUIX11.cs: Added ability to control ScrollWindow expose and
11155 an overload for ScrollWindow to allow only scrolling a rectangle
11157 2005-01-09 Peter Bartok <pbartok@novell.com>
11160 - Implemented SetDesktopBounds method
11161 - Implemented SetDesktopLocation method
11163 2005-01-08 Jackson Harper <jackson@ximian.com>
11165 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
11166 the node count has changed, this removes to VScroll::Refresh calls
11169 2005-01-08 Geoff Norton <gnorton@customerdna.com>
11171 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
11173 2005-01-07 Jackson Harper <jackson@ximian.com>
11175 * TreeNode.cs: Just update the single node when it is
11176 checked. Don't refresh after toggling, the Expand/Collapse already
11178 * TreeView.cs: Respect clipping a little more when drawing. Try
11179 not to redraw things that don't need to be redrawn. Just hide the
11180 scrollbars when they are no longer needed instead of removing
11181 them, so they don't have to be created again and again.
11183 2005-01-07 Geoff Norton <gnorton@customerdna.com>
11185 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
11186 coordinates to window space to place the caret properly, FIXED.
11187 Implement GetWindowState & SetWindowState
11189 2005-01-06 Peter Bartok <pbartok@novell.com>
11192 - Implemented ClientSize property
11193 - Implemented DesktopBounds property
11194 - Implemented DesktopLocation property
11195 - Implemented IsRestrictedWindow property
11196 - Implemented Size property
11197 - Implemented TopLevel property
11198 - Implemented FormWindowState property
11200 - Implemented GetTopLevel() method
11201 - Implemented SetTopLevel() method
11202 * X11Structs.cs (Atom):
11203 - Added AnyPropertyType definition
11204 - Added MapState definiton and updated XWindowAttribute struct
11205 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
11206 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
11207 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
11209 - Implemented GetWindowState() and SetWindowState() methods
11210 - Fixed Win32GetWindowLong return type
11212 - Introduced central function for sending NET_WM messages
11213 - Implemented GetWindowState() and SetWindowState() methods
11214 * TextBoxBase.cs (set_Lines):
11215 - Now uses Foreground color for text added via Text property (Duh!)
11216 - Added code to remember programmatically requested size (fixes
11217 behaviour when Multiline is set after Size)
11218 - Added AutoSize logic
11220 2005-01-06 Jackson Harper <jackson@ximian.com>
11222 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
11224 2005-01-06 Jackson Harper <jackson@ximian.com>
11226 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
11227 set to less then 0.
11229 2005-01-06 Jackson Harper <jackson@ximian.com>
11231 * ScrollableControl.cs: Lazy init the scrollbars.
11233 2005-01-06 Jackson Harper <jackson@ximian.com>
11235 * Theme.cs: Speed up getting pens and solid brushes, by using
11236 their ARGB as a hash instead of tostring and not calling Contains.
11238 2005-01-06 Peter Bartok <pbartok@novell.com>
11241 - Implemented OnActivated and OnDeactivate event trigger
11242 - Implemented Activate() method
11243 - Fixed ShowDialog() to activate the form that was active before
11244 the dialog was shown
11246 - Added global active_window var that tracks the currently active
11248 - Now always grabs Property changes from the root window to always
11249 catch changes on the active window property
11250 - Added code to PropertyNotify handler to send Active/Inactive
11251 messages when state changes. This puts X11 and Win32 en par on
11252 WM_ACTIVATE notifications (except for double notifications when
11253 the user clicks away from our modal window to another one of our
11256 2005-01-05 Jackson Harper <jackson@ximian.com>
11258 * ImageList.cs: Implment ctor
11260 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11262 * XplatUIOSX.cs: Implement Activate/SetTopmost
11264 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11266 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
11268 2005-01-05 Geoff Norton <gnorton@customerdna.com>
11270 * XplatUIOSX.cs: Implement GetActive/SetFocus.
11272 2005-01-05 Peter Bartok <pbartok@novell.com>
11274 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
11275 XplatUIOSX.cs: Added GetActive method to return the currently
11276 active window for the application (or null, if none is active)
11278 - Implemented ActiveForm
11279 - Commented out owner assignment for modal dialogs (causes problems
11280 on Win32, since the owner will be disabled)
11281 - Reworked some Active/Focus handling (still incomplete)
11282 * CommonDialog.cs: Commented out owner assignment for modal dialogs
11283 (causes problems on Win32, since the owner will be disabled)
11284 * IWin32Window: Added ComVisible attribute
11286 2005-01-05 Peter Bartok <pbartok@novell.com>
11288 * ToolTip.cs (WndProc): Enable setting focus now that we have the
11289 required XplatUI functions.
11291 2005-01-05 Peter Bartok <pbartok@novell.com>
11293 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
11294 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
11295 to implement focus and activation handling; still incomplete and
11298 2005-01-04 Peter Bartok <pbartok@novell.com>
11300 * TextBoxBase.cs: Changed access level for Document property to
11301 match switch to internal for TextControl
11303 2005-01-04 Peter Bartok <pbartok@novell.com>
11305 * AccessibleObject: Added ComVisible attribute
11307 2005-01-04 Jackson Harper <jackson@ximian.com>
11309 * X11Keyboard.cs: Remove unneeded var.
11311 2005-01-04 Jackson Harper <jackson@ximian.com>
11313 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
11315 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
11316 ClientMessage. This makes apps exit cleanly (more often).
11318 2005-01-04 Jackson Harper <jackson@ximian.com>
11320 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
11321 handling focus, return correct colors and fonts,
11322 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
11323 handle selection, horizontal scrolling, and mouse interaction.
11325 2005-01-04 Peter Bartok <pbartok@novell.com>
11327 * ICommandExecutor.cs: Added
11328 * IDataGridColumnStyleEditingNotificationService.cs: Added
11329 * IFeatureSupport.cs: Added
11330 * IFileReaderService.cs: Added
11331 * IDataObject.cs: Added ComVisible attribute
11332 * AmbientProperties.cs: Added
11333 * BaseCollection.cs: Added missing attributes
11334 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
11335 * BaseCollection.cs: Added missing attributes
11336 * Binding.cs: Added TypeConverter attribute
11337 * BindingContext.cs: Added DefaultEvent attribute
11338 * BindingsCollection.cs: Added DefaultEvent attribute
11339 * Button.cs: Added DefaultValue attribute
11340 * DragEventArgs.cs: Added ComVisible attribute
11341 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
11342 * KeyEventArgs.cs: Added ComVisible attribute
11343 * KeyPressEventArgs.cs: Added ComVisible attribute
11344 * MouseEventArgs.cs: Added ComVisible attribute
11345 * NavigateEventArgs.cs: Added
11346 * NavigateEventHandler.cs: Added
11347 * FeatureSupport.cs: Added
11348 * OSFeature.cs: Added
11349 * Theme.cs: Added abstract Version property to support OSFeature
11350 * ThemeWin32Classic.cs: Added Version property to
11351 support OSFeature.Themes
11352 * ProgressBar.cs: Removed OnPaintBackground override, not required since
11353 the proper styles to avoid background drawing are set, also doesn't
11355 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
11356 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
11357 * ScrollEventArgs.cs: Added ComVisible attribute
11358 * SplitterEventArgs.cs: Added ComVisible attribute
11359 * AccessibleSelection.cs: Added Flags attribute
11360 * Appearance.cs: Added ComVisible attribute
11361 * Border3DSide.cs: Added ComVisible attribute
11362 * Border3DStyle.cs: Added ComVisible attribute
11363 * BorderStyle.cs: Added ComVisible attribute
11364 * DragAction.cs: Added ComVisible attribute
11365 * ErrorBlinkStyle.cs: Added
11366 * ScrollEventType.cs: Added ComVisible attribute
11367 * AnchorStyles.cs: Added Editor attribute
11368 * DockStyle.cs: Added Editor attribute
11369 * HorizontalAlignment.cs: Added ComVisible attribute
11370 * HelpEventArgs.cs: Added ComVisible attribute
11371 * PaintEventArgs.cs: Added IDisposable
11373 2005-01-04 Peter Bartok <pbartok@novell.com>
11375 * TextControl.cs: Switched Line, LineTag and Document classes to
11378 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11380 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
11381 Simple mode, fixes, IntegralHeight, etc.
11383 2005-01-04 Peter Bartok <pbartok@novell.com>
11385 * TextBoxBase.cs: Using proper font variable now
11387 2005-01-04 Peter Bartok <pbartok@novell.com>
11389 * Form.cs (ShowDialog): Set parent to owner, if provided
11390 * GroupBox.cs: Removed unused vars
11392 - Added GetHashCode() for Document and LineTag classes
11393 - Removed unused variables
11394 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
11395 to allow translation between continuous char position and line/pos
11396 * CheckBox.cs: Removed vars that are provided by base class
11397 * RadioButton.cs: Removed vars that are provided by base class, added
11398 new keyword where required
11399 * LinkLabel.cs: Added new keyword where required
11400 * Control.cs (WndProc): Removed unused variable
11402 - Finished SelectionLength property
11403 - Implemented SelectionStart property
11404 - Implemented Text property
11405 - Removed unused vars
11406 * MessageBox.cs: Added new keyword where required
11407 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
11409 * MenuAPI.cs: Added new keyword where required
11410 * ButtonBase.cs: Removed vars that are provided by base class, added
11411 new keyword where required
11412 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
11413 argument to double, to allow compiling with csc 2.0 (Atsushi ran
11415 * Application.cs (Run): Now triggers the ThreadExit event
11416 * CommonDialog.cs: Added new keyword where required; now properly sets
11417 parent (owner) for dialog
11418 * XplatUIX11.cs: Commented out unused vars
11419 * StatusBar.cs: Fixed signature for Text property
11420 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
11422 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
11424 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
11425 TrackBar.cs, MonthCalendar.cs: remove unused vars
11427 2005-01-03 Jackson Harper <jackson@ximian.com>
11429 * ThemeWin32Classic.cs:
11430 * X11Keyboard.cs: Remove unused vars.
11432 2005-01-03 Peter Bartok <pbartok@novell.com>
11435 - set_Text: Tied into TextControl
11436 - set_TextAlignment: Tied into TextControl
11438 - Added alignment properties and implemented alignment handling
11439 and drawing (still has a bug, not generating proper expose events)
11440 - Added new Line() constructor to allow passing the line alignment
11441 - Fixed selection setting, properly handling end<start now
11442 - Added aligment considerations to RecalculateDocument()
11444 - Now properly enforces control height for single line controls
11445 - Added support for CharacterCasing
11446 - Added IsInputKey override
11447 - Fixed Keys.Enter logic
11448 - Added SetBoundsCore override
11449 - Fixed mouse selection handling
11451 2005-01-03 Jackson Harper <jackson@ximian.com>
11454 - Collapse and uncheck all nodes when CheckBoxes is disabled.
11455 - Checkboxes are always aligned to the bottom of the node,
11456 regardless of item height.
11457 - Use the node bounds to draw the text so we can center it when
11458 the item height is greater then the font height.
11459 - Node::Bounds are only the text part of the node.
11460 * TreeNode.cs: New method to combine collapsing and unchecking all
11463 2005-01-02 Jackson Harper <jackson@ximian.com>
11465 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
11466 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
11467 tree when a check is changed. TODO: Only refresh the checked node.
11469 2004-12-30 Jackson Harper <jackson@ximian.com>
11471 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
11472 * TreeNode.cs: When collapsing make sure to never collapse the
11475 2004-12-29 Jackson Harper <jackson@ximian.com>
11477 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
11479 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
11481 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
11483 2004-12-28 Peter Bartok <pbartok@novell.com>
11485 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
11488 2004-12-28 Peter Bartok <pbartok@novell.com>
11490 * Control.cs (WndProc): Added WM_HELP handler, now generates
11491 HelpRequested event
11492 * Form.cs: Added HelpButton property and required support code
11493 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
11495 2004-12-28 Peter Bartok <pbartok@novell.com>
11498 - Made DialogForm.owner variable internal
11499 - Added check to ensure owner form is set before setting
11500 owner properties in CreateParams
11502 2004-12-28 Geoff Norton <gnorton@customerdna.com>
11504 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
11505 swizzling. Implement ClientToScreen and ScreenToClient. Implement
11506 GetCursorPos. Fix major visibility issues. Rework the windowing
11507 system to support borderless/titleless windows (implements menus).
11508 Fix GetWindowPos. Implement initial background color support for
11511 2004-12-28 Peter Bartok <pbartok@novell.com>
11513 * Form.cs (get_CreateParams): Make sure we have an owner before using
11514 the owner variable. Implement proper default if no owner exists
11516 2004-12-28 Peter Bartok <pbartok@novell.com>
11518 * In preparation for making Managed.Windows.Forms the default build target
11519 for System.Windows.Forms, the following stubbed files were added.
11520 Dialogs are currently being implemented by contributors and are only
11521 short-term place holders.
11522 * ColorDialog.cs: Initial check-in (minmal stub)
11523 * DataGrid.cs: Initial check-in (minimal stub)
11524 * DataGridLineStyle.cs: Initial check-in (minimal stub)
11525 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
11526 * DataGridTableStyle.cs: Initial check-in (minimal stub)
11527 * FontDialog.cs: Initial check-in (minimal stub)
11528 * FileDialog.cs: Initial check-in (minimal stub)
11529 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
11530 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
11531 * OpenFileDialog: Initial check-in (minimal stub)
11532 * IComponentEditorPageSite.cs: Initial check-in
11533 * Splitter.cs: Initial check-in (for Jackson)
11534 * SplitterEventArgs.cs: Initial check-in (for Jackson)
11535 * SplitterEventHandler.cs: Initial check-in (for Jackson)
11536 * TextBox.cs: Initial check-in; still needs some wiring to
11537 TextControl backend
11538 * Form.cs: Implemented ControlBox property
11539 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
11540 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
11541 * TextControl.cs: Added selection functionality; added todo header
11543 - Implemented Lines property
11544 - Implemented TextHeight property
11545 - Implemented SelectedText property
11546 - Implemented SelectionLength property
11547 - Implemented SelectAll method
11548 - Implemented ToString method
11549 - Removed and cleaned up some debug code
11550 - Implemented (still buggy) mouse text selection
11552 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
11554 * ComboBox.cs: Complete DropDownList implementation, fixes.
11556 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
11558 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
11559 * ComboBoxStyle.cs: ComboBoxStyle enum
11560 * ComboBox.cs: Initial work on ComboBox control
11562 2004-12-21 Peter Bartok <pbartok@novell.com>
11564 * Control.cs (ctor, CreateParams): Moved setting of is_visible
11565 forward so that anything that creates a window gets the default,
11566 also no longer uses Visible property in CreateParams to avoid
11567 walking up the parent chain and possibly get the wrong visible
11568 status. Fixed IsVisible to no longer walk up to the parent.
11570 2004-12-21 Peter Bartok <pbartok@novell.com>
11572 * Form.cs (ShowDialog): Unset modality for the proper window
11574 2004-12-20 Peter Bartok <pbartok@novell.com>
11576 * CommonDialog.cs: Initial check-in
11578 2004-12-20 Peter Bartok <pbartok@novell.com>
11580 * Control.cs (Visible): Now uses the parent window instead of the
11581 client area window for the property
11584 - ShowDialog(): Now uses the proper window for modality
11585 - The default visibility state for the form parent is now false. This
11586 will prevent the user from seeing all the changes to the form and
11587 its controls before the application hits Application.Run()
11588 - Removed some stale commented out code
11591 - Added FindWindow() method to have a method to check for existence
11593 - Added ability to override default exception handling (for example
11594 when debugging with VS.Net; to do this the ExternalExceptionHandler
11596 - Removed some useless debug output
11599 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
11600 not working as expected
11601 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
11602 property to allow switching back to the modal window if focus is
11603 given to another one of our windows (Application Modal)
11604 - Now only sets override_redirect if we create a window
11606 - Moved EventMask selection before mapping of newly created window
11607 so we can catch the map event as well
11608 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
11609 - Added various Atom related DllImports
11610 - Implemented Exit() method
11611 - .ctor() : No longer shows window if WS_VISIBLE is not defined
11612 in the CreateParams
11614 * MessageBox.cs: Now properly deals with the FormParent window by
11615 providing an override the FormParent CreateParams property to
11616 set as POPUP instead of OVERLAPPED window.
11618 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11620 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
11621 Minor code cleanup.
11623 2004-12-19 Geoff Norton <gnorton@customerdna.com>
11625 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
11627 2004-12-18 Peter Bartok <pbartok@novell.com>
11629 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
11630 implementing SetModal() method
11632 2004-12-18 Peter Bartok <pbartok@novell.com>
11634 * X11Structs.cs (XGCValues): Fixed type of function element
11635 * XplatUI.cs: Added ScrollWindow() method
11636 * XplatUIDriver.cs: Added ScrollWindow() abstract
11637 * XplatUIWin32.cs: Implemented ScrollWindow() method
11638 * XplatUIX11.cs: Implemented ScrollWindow() method
11639 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
11641 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11643 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
11644 Some more keyboard support (INCOMPLETE)
11646 2004-12-17 Peter Bartok <pbartok@novell.com>
11649 - Added color attribute to line tags.
11650 - Added color argument to all functions dealing with tags
11651 - Added color argument support to various functions
11652 - Fixed miss-calculation of baseline/shift in certain circumstances
11654 * TextBoxBase.cs: Added new color option to test code
11656 2004-12-17 Jackson Harper <jackson@ximian.com>
11659 * MonthCalendar.cs: Signature fixes
11661 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11663 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
11664 keyboard event moved it. Create a new graphics context for each paint resolves this
11666 2004-12-17 Geoff Norton <gnorton@customerdna.com>
11668 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
11669 Make caret exist and go blink blink. Initial keyboard support.
11670 Fix exception handler, Add Invalidate support. Change way RefreshWindow
11673 2004-12-17 Jackson Harper <jackson@ximian.com>
11675 * XplatUIStructs.cs: Updated set of virtual keycodes.
11676 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
11678 2004-12-17 Jackson Harper <jackson@ximian.com>
11680 * XplatUIX11.cs: Prune old keyboard code.
11682 2004-12-17 Jackson Harper <jackson@ximian.com>
11684 * XplatUIX11.cs: When generating mouse wparams get the modifier
11685 keys from the ModifierKeys property.
11687 2004-12-17 Jackson Harper <jackson@ximian.com>
11689 * X11Keyboard.cs: Send up/down input when generating
11690 messages. Remove some unused vars.
11692 2004-12-17 Jackson Harper <jackson@ximian.com>
11695 * TreeView.cs: get rid of warnings.
11697 2004-12-17 Jackson Harper <jackson@ximian.com>
11699 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
11701 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
11703 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
11704 CheckedListBox.cs: Implementation
11706 2004-12-17 Peter Bartok <pbartok@novell.com>
11708 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
11710 2004-12-16 Peter Bartok <pbartok@novell.com>
11713 - InsertCharAtCaret(): Fixed start pos fixup
11714 - CaretLine_get: No longer derives the line from the tag, the tag
11715 could be stale if lines in the document have been added or deleted
11716 - RebalanceAfterDelete(): Fixed bug in balancing code
11717 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
11718 - Line.Streamline(): Now can also elminate leading empty tags
11719 - DumpTree(): Added a few more tests and prevented exception on
11721 - Added Debug section for Combining lines
11722 - Delete(): Now copies all remaining properties of a line
11725 - Left mousebutton now sets the caret (and middle button still acts
11726 as formatting tester, which must go away soon)
11727 - Added Debug section for Deleting/Combining lines
11728 - Fixed calculations for UpdateView after Combining lines
11730 2004-12-16 Peter Bartok <pbartok@novell.com>
11732 * TextControl.cs: Now properly aligns text on a baseline, using the
11733 new XplatUI.GetFontMetrics() method. Simplified several calculations
11734 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
11737 2004-12-16 Peter Bartok <pbartok@novell.com>
11739 * XplatUI.cs: Added GetFontMetrics() method
11740 * XplatUIDriver.cs: Added GetFontMetrics() abstract
11741 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
11742 into libgdiplus, our private GetFontMetrics function
11743 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
11744 * XplatUIWin32.cs: Implemented GetFontMetrics() method
11746 2004-12-16 Jackson Harper <jackson@ximain.com>
11748 * XplatUIStruct.cs: Add enum for dead keys
11749 * X11Keyboard.cs: Map and unmap dead keys.
11751 2004-12-16 Jackson Harper <jackson@ximian.com>
11753 * X11Keyboard.cs: Detect and use the num lock mask.
11755 2004-12-16 Peter Bartok <pbartok@novell.com>
11757 * Control.cs (CreateGraphics): Added check to make sure the
11758 handle of the window exists before calling Graphics.FromHwnd()
11760 2004-12-16 Peter Bartok <pbartok@novell.com>
11762 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
11763 contains a lot of code that's not supposed to be there for the
11764 real thing, but required for developing/testing the textbox
11767 2004-12-16 Peter Bartok <pbartok@novell.com>
11770 - Fixed Streamline method
11771 - Added FindTag method to Line
11772 - Added DumpTree method for debugging
11773 - Added DecrementLines() method for deleting lines
11774 - Fixed UpdateView to update the cursor to end-of-line on single-line
11776 - Added PositionCaret() method
11777 - Fixed MoveCaret(LineDown) to move into the last line, too
11778 - Added InsertChar overload
11779 - Fixed InsertChar tag offset calculations
11780 - Added DeleteChar() method
11781 - Added Combine() method for folding lines
11782 - Fixed Delete() method, no longer allocates wasted Line object and
11783 now copies all properties when swapping nodes
11784 - Delete() method now updates document line counter
11786 2004-12-15 Jackson Harper <jackson@ximian.com>
11788 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
11789 * X11Keyboard.cs: Expose the currently selected modifier keys
11790 through a property.
11792 2004-12-15 Peter Bartok <pbartok@novell.com>
11794 * TextControl.cs: Initial check-in. Still incomplete
11796 2004-12-15 Jackson Harper <jackson@ximian.com>
11799 * TreeView.cs: Fix build on csc (second time today ;-))
11801 2004-12-15 Jackson Harper <jackson@ximian.com>
11803 * TreeView.cs: Store the treenodes plus/minus box bounds when it
11804 is calculated and use this for click testing.
11805 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
11807 2004-12-15 Jackson Harper <jackson@ximian.com>
11809 * TreeView.cs: Pass the nodes image index to the image list when
11810 drawing that image.
11812 2004-12-15 Jackson Harper <jackson@ximian.com>
11814 * X11Keyboard.cs: Set messages hwnd.
11815 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
11816 post_message calls.
11818 2004-12-15 Jackson Harper <jackson@ximian.com>
11820 * X11Keyboard.cs: Fix to compile with csc.
11822 2004-12-15 Jackson Harper <jackson@ximian.com>
11824 * X11Structs.cs: Add key mask values
11825 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
11826 * X11Keyboard.cs: New file - Extrapolates and interpolates key
11827 down/up foo into WM_CHAR foo
11828 * KeyboardLayouts.cs: Common keyboard layouts
11829 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
11830 post messages into the main queue.
11832 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
11834 * Button.cs: implement ProcessMnemonic
11835 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
11837 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
11838 * ButtonBase.cs: Show HotkeyPrefix (not the &)
11840 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
11842 * MonthCalendar.cs: Implemented click-hold for next/previous month
11845 2004-12-11 Peter Bartok <pbartok@novell.com>
11848 - Added XKeyboardState (moved from XplatUIX11.cs)
11849 - Added XCreateGC related enums and structures
11850 - Added GXFunction for XSetFunction
11852 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
11854 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
11855 CaretVisible() calls
11857 * ToolTip.cs: Added code to prevent stealing focus from app windows
11859 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
11860 DestroyCaret, SetCaretPos and CaretVisible)
11863 - Added implementation for caret functions
11864 - Moved hover variables into a struct, to make it a bit easier
11865 on the eyes and to debug
11866 - Removed XKeyboardState (moved to XplatUIX11.cs)
11867 - Moved Keyboard properties into the properties region
11869 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
11870 call to get a graphics context for our control
11872 * XplatUIOSX.cs: Added empty overrides for the new caret functions
11874 * TreeView.cs: Fixed bug. No matter what color was set it would always
11875 return SystemColors.Window
11877 * XplatUIWin32.cs: Implemented caret overrides
11879 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
11881 * ListBox.cs: fire events, implement missing methods and properties,
11884 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
11886 * MonthCalendar.cs: invalidation bug fixing
11887 * ThemeWin32Classic.cs: paint fixing
11889 2004-12-09 Geoff Norton <gnorton@customerdna.com>
11891 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
11892 prepare the CGContextRef there now.
11894 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
11896 * MonthCalendar.cs:
11897 - optimisationL only invalidate areas that have changed
11898 * ThemeWin32Classic.cs:
11899 - only paint parts that intersect with clip_area
11901 2004-12-09 Peter Bartok <pbartok@novell.com>
11903 * Application.cs: Undid changes from r37004 which cause problems
11906 2004-12-09 Ravindra <rkumar@novell.com>
11908 * ToolBar.cs: Added support for displaying ContextMenu
11909 attached to a button on ToolBar.
11910 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
11913 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11915 * Label.cs: autosize works in text change and removes unnecessary
11918 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
11920 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
11923 2004-12-08 Geoff Norton <gnorton@customerdna.com>
11925 * XplatUIOSX.cs: Added mouse move/click/grab support
11926 Remove some debugging WriteLines not needed anymore.
11927 Add window resizing/positioning.
11928 Fix visibility on reparenting.
11930 2004-12-08 Peter Bartok <pbartok@novell.com>
11932 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
11934 2004-12-07 Geoff Norton <gnorton@customerdna.com>
11936 * XplatUIOSX.cs: Initial checkin
11937 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
11939 2004-12-03 Ravindra <rkumar@novell.com>
11941 * ListView.cs: Added some keybindings and fixed scrolling.
11942 ScrollBars listen to ValueChanged event instead of Scroll
11943 Event. This would let us take care of all changes being
11944 done in the scrollbars' values programmatically or manually.
11945 * ListView.cs (CanMultiselect): Added a check for shift key.
11946 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
11947 * ListViewItem.cs (Clone): Fixed. We need to make a copy
11948 of ListViewSubItemCollection as well.
11950 2004-12-06 Peter Bartok <pbartok@novell.com>
11952 * Control.cs (Parent): Added check and exception to prevent
11955 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
11957 * ListBox.cs: implemented clipping, selection single and multiple,
11960 2004-12-03 Ravindra <rkumar@novell.com>
11962 * ListView.cs (ListView_KeyDown):
11963 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
11964 when CTRL key is pressed.
11965 * ListViewItem.cs (Selected): Fixed setting the property.
11967 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11969 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
11971 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
11972 MinimizeBox, ShowInTaskbar, TopMost properties.
11974 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
11975 will be implemented).
11977 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11979 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11981 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11984 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11986 * TreeView.cs: BackColor is Colors.Window.
11988 2004-12-01 Jackson Harper <jackson@ximian.com>
11990 * TreeView.cs: When resizing the tree if the user is making it
11991 smaller we don't get expose events, so we need to handle adding
11992 the horizontal scrollbar in the size changed handler as well as
11993 the expose handler.
11995 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11997 * DrawItemState.cs: fixes wrong enum values
11999 2004-12-01 Jackson Harper <jackson@ximian.com>
12001 * TreeView.cs: Resize the hbar as well as the vbar on resize.
12003 2004-12-01 Jackson Harper <jackson@ximian.com>
12005 * NodeLabelEditEventArgs.cs:
12006 * NodeLabelEditEventHandler.cs:
12007 * OpenTreeNodeEnumerator.cs:
12009 * TreeNodeCollection.cs:
12011 * TreeViewAction.cs:
12012 * TreeViewCancelEventArgs.cs:
12013 * TreeViewCancelEventHandler.cs:
12014 * TreeViewEventArgs.cs:
12015 * TreeViewEventHandler.cs: Initial implementation.
12017 2004-12-01 Ravindra <rkumar@novell.com>
12019 * ListView.cs (CalculateListView): Fixed scrolling related
12020 calculations. Also, removed some debug statements from other
12022 * ListViewItem.cs: Changed access to 'selected' instance variable
12023 from private to internal.
12024 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
12026 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
12028 * ThemeWin32Classic.cs: remove cache of brush and pens for
12029 specific controls and use the global system, fixes scrollbutton
12030 bugs (for small sizes, disabled, etc)
12032 * ScrollBar.cs: does not show the thumb for very small controls
12033 (as MS) and allow smaller buttons that the regular size
12035 2004-12-01 Miguel de Icaza <miguel@ximian.com>
12037 * UpDownBase.cs: Add abstract methods for the interface.
12038 Add new virtual methods (need to be hooked up to TextEntry when it
12040 Add override methods for most features.
12041 Computes the size, forces the height of the text entry.
12043 * NumericUpDown.cs: Put here the current testing code.
12045 * Set eol-style property on all files that do not have mixed line
12046 endings, to minimize the future problems. There are still a few
12047 files with mixed endings, and someone should choose whether they
12048 want to move it or not.
12050 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
12052 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
12055 2004-11-30 Ravindra <rkumar@novell.com>
12057 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
12058 drawing and replaced use of SystemColors by theme colors.
12059 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
12060 * ListView.cs (ListViewItemCollection.Add): Throw exception when
12061 same ListViewItem is being added more than once.
12063 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
12065 * MonthCalendar.cs:
12066 - ControlStyles love to make the control not flicker
12068 2004-11-30 Peter Bartok <pbartok@novell.com>
12070 * CharacterCasing.cs: Added
12072 2004-11-29 Peter Bartok <pbartok@novell.com>
12074 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
12075 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
12076 I am removing these files as they conflict with already completed
12077 work. While it is fantastic to get contributions to MWF, I
12078 respectfully ask that everyone please coordinate their contributions
12079 through mono-winforms-list or #mono-winforms at this time. We're
12080 explicitly avoiding stubbing and don't want controls that don't have
12081 their basic functionality implemented in svn. Please also see
12082 http://www.mono-project.com/contributing/winforms.html
12085 2004-11-29 Marek Safar <marek.safar@seznam.cz>
12087 * Application.cs (ModalRun): Don't hang after exit.
12089 * Theme.cs: New TreeViewDefaultSize property.
12091 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
12092 with less hardcoded SystemColors constant.
12093 Implemented TreeViewDefaultSize.
12095 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
12096 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
12099 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
12101 * MonthCalendar.cs:
12102 - Fix NextMonthDate and PrevMonthDate click moving calendar
12104 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
12106 * MonthCalendar.cs:
12107 - Fix usage of ScrollChange Property when scrolling months
12109 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
12111 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
12112 - Fixes menu destroying
12113 - Support adding and removing items on already created menus
12115 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
12117 * MonthCalendar.cs:
12118 - Re-worked all bolded dates handling to match win32
12119 * ThemeWin32Classic.cs:
12120 - Fixed rendering with bolded dates
12122 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
12124 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
12125 - Horizontal scroolbar
12130 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
12132 * MonthCalendar.cs:
12133 - Fix Usage of MaxSelectionCount from SelectionRange
12134 - Fixed Shift + Cursor Selection
12135 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
12136 - Fixed normal cursor selection to be compat with win32
12137 - Fixed Shift + Mouse Click selection
12139 2004-11-24 Peter Bartok <pbartok@novell.com>
12141 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
12142 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
12144 - CreatedKeyBoardMsg now updates keystate with Alt key
12145 - Added workaround for timer crash to CheckTimers, Jackson will
12146 develop a proper fix and check in later
12147 - Implemented DispatchMessage
12148 - Removed calling the native window proc from GetMessage (call
12149 now moved to DispatchMessage)
12151 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
12152 the keydata (Fixes bug #69831)
12155 - (DispatchMessage): Switched to return IntPtr
12156 - Added DllImport for SetFocus
12158 2004-11-24 Ravindra <rkumar@novell.com>
12160 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
12161 background drawing.
12162 * ListViewItem.cs: Fixed various properties, calculations
12163 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
12164 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
12165 and some internal properties. Fixed MouseDown handler and Paint
12168 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12170 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
12172 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12174 * ContainerControl.cs: correct accidental check in of local changes
12176 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
12178 * ThemeWin32Classic.cs:
12179 - Fixed Drawing Last month in grid (sometimes not showing)
12180 * MonthCalendar.cs:
12181 - Fixed title width calculation bug (makeing title small)
12183 2004-11-23 Peter Bartok <pbartok@novell.com>
12186 - Added generation of WM_MOUSEHOVER event
12187 - Added missing assignment of async_method atom
12188 - Fixed WM_ERASEBKGND; now only redraws the exposed area
12190 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12192 * ThemeWin32Classic.cs:
12193 - Fixed Drawing of today circle when showtodaycircle not set
12194 - fixed drawing of first and last month in the grid (gay dates)
12195 * MonthCalendar.cs:
12196 - Fixed Drawing of today circle
12197 - Fixed drawing of grady dates
12198 - Fixed HitTest for today link when ShowToday set to false
12199 - Fixed DefaultSize to obey ShowToday
12201 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
12203 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
12204 * System.Windows.Forms/Theme.cs
12205 * MonthCalendar.cs: added for MonthCalendar
12206 * SelectionRange.cs: added for MonthCalendar
12207 * Day.cs: added for MonthCalendar: added for MonthCalendar
12208 * DateRangeEventArgs.cs: added for MonthCalendar
12209 * DateRangeEventHandler.cs: added for MonthCalendar
12211 2004-11-22 Ravindra <rkumar@novell.com>
12213 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
12216 2004-11-22 Miguel de Icaza <miguel@ximian.com>
12218 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
12221 * NumericUpDown.cs: Added new implementation.
12222 * UpDownBase.cs: Added new implementation.
12224 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
12227 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
12230 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
12233 2004-11-21 Miguel de Icaza <miguel@ximian.com>
12235 * Timer.cs (Dispose): Should call the base dispose when
12238 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12240 * ScrollBar.cs: updates thumb position when max, min or increment
12243 2004-11-21 Ravindra <rkumar@novell.com>
12245 * ListView.cs: Implemented item selection, activation and
12246 column header style. Fixed properties to do a redraw, if
12247 required. Added support for MouseHover, DoubleClick, KeyDown
12248 and KeyUp event handling and some minor fixes.
12249 * ListViewItem.cs: Fixed constructor.
12250 * ThemeWin32Classic.cs: Improved drawing for ListView.
12252 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
12254 * ThemeWin32Classic.cs: initial listbox drawing code
12255 * DrawMode.cs: new enumerator
12256 * ListControl.cs: stubbed class
12257 * ListBox.cs: initial implementation
12258 * Theme.cs: new methods definitions
12259 * SelectionMode.cs: new enumerator
12261 2004-11-17 Peter Bartok <pbartok@novell.com>
12263 * XplatUIWin32.cs: Added double-click events to the class style
12264 * Control.cs (WndProc):
12265 - Added handling of click-count to MouseDown/ MouseUp events.
12266 - Added handling of middle and right mouse buttons
12267 - Removed old debug code
12269 2004-11-17 Jackson Harper <jackson@ximian.com>
12271 * XplatUIX11.cs: Use the new Mono.Unix namespace.
12273 2004-11-17 Ravindra <rkumar@novell.com>
12275 * ListView.cs: Added event handling for MouseMove/Up/Down.
12276 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
12277 * ThemeWin32Classic.cs: We need to clear the graphics context and
12278 draw column header in a proper state.
12281 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
12283 * Menu.cs: fixes signature
12285 2004-11-16 Peter Bartok <pbartok@novell.com>
12287 * XplatUIX11.cs (GetMessage): Implemented generation of
12288 double click mouse messages
12290 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
12292 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
12295 2004-11-11 Peter Bartok <pbartok@novell.com>
12297 * HandleData.cs: Added Visible property
12298 * XplatUIX11.cs (IsVisible): Now uses Visible property from
12300 * XplatUIX11.cs: Removed old debug leftovers
12301 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
12302 * Control.cs (WndProc): Removed old debug leftovers,
12303 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
12304 needed WM_SIZE handling
12306 2004-11-11 Jackson Harper <jackson@ximian.com>
12308 * OwnerDrawPropertyBag.cs:
12309 * TreeViewImageIndexConverter.cs: Initial implementation
12311 2004-11-10 Jackson Harper <jackson@ximian.com>
12313 * ThemeWin32Classic.cs:
12314 * TabControl.cs: instead of moving tabs by the slider pos just
12315 start drawing at the tab that is offset by the slider. This way
12316 scrolling always moves by exactly one tab.
12318 2004-11-10 Jackson Harper <jackson@ximian.com>
12320 * TabControl.cs: You can only scroll left when the slider has
12321 already ben moved right.
12323 2004-11-10 Jackson Harper <jackson@ximian.com>
12325 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
12328 2004-11-10 Jackson Harper <jackson@ximian.com>
12330 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
12333 2004-11-09 Jackson Harper <jackson@ximian.com>
12335 * TabControl.cs (CalcXPos): New helper method so we can determine
12336 the proper place to start drawing vertical tabs.
12337 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
12339 2004-11-09 Jackson Harper <jackson@ximian.com>
12341 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
12342 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
12343 and Bottom, left and right are illegal values for this and
12344 multiline is enabled when the alignment is set to left or right.
12345 (DrawTab): Each alignment block should draw the text itself now
12346 because Left requires special love. Also add rendering for Left
12349 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
12351 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
12352 does not destroy the windows, removes debugging messages
12354 2004-11-09 jba <jba-mono@optusnet.com.au>
12356 * ThemeWin32Classic.cs
12357 (DrawButtonBase): Fix verticle text rect clipping in windows
12358 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12359 rendering and incorrect text rect clipping
12360 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
12361 rendering and incorrect text rect clipping
12363 2004-11-08 Jackson Harper <jackson@ximian.com>
12365 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
12366 bottom when they are bottom aligned so the bottoms of the tabs get
12368 * TabControl.cs (DropRow): Move rows up instead of down when the
12369 tab control is bottom aligned.
12371 2004-11-08 13:59 pbartok
12374 - Added handling for various window styles
12375 - Added handling for popup windows
12376 - Added SetTopmost handling
12378 2004-11-08 13:55 pbartok
12381 - Added argument to SetTopmost method
12382 - Fixed broken ClientToScreen function
12384 2004-11-08 13:53 pbartok
12386 * XplatUIStructs.cs:
12387 - Added missing WS_EX styles
12389 2004-11-08 13:53 pbartok
12391 * XplatUI.cs, XplatUIDriver.cs:
12392 - Added argument to SetTopmost
12394 2004-11-08 13:52 pbartok
12397 - Added XSetWindowAttributes structure
12398 - Improved XWindowAttributes structure
12399 - Added SetWindowValuemask enum
12400 - Added window creation arguments enum
12401 - Added gravity enum
12402 - Added Motif hints structure
12403 - Added various Motif flags and enums
12404 - Added PropertyMode enum for property functions
12406 2004-11-08 13:50 pbartok
12409 - Fixed arguments for updated SetTopmost method
12411 2004-11-08 13:49 pbartok
12414 - Fixed arguments for updated SetTopmost function
12415 - Fixed usage of PointToClient
12417 2004-11-08 13:44 pbartok
12420 - Added Clipping of children and siblings
12422 2004-11-08 13:41 pbartok
12425 - Removed SetMenuBarWindow call. We do this in Form.cs
12427 2004-11-08 13:40 jackson
12429 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
12430 scrolling jimmi in the correct location with bottom aligned tabs
12432 2004-11-08 13:36 pbartok
12434 * ContainerControl.cs:
12435 - Implemented BindingContext
12436 - Implemented ParentForm
12438 2004-11-08 12:46 jackson
12440 * TabControl.cs: Put bottom rendered tabs in the right location
12442 2004-11-08 07:15 jordi
12444 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
12447 2004-11-05 17:30 jackson
12449 * TabControl.cs: When selected tabs are expanded make sure they
12450 don't go beyond the edges of the tab control
12452 2004-11-05 14:57 jackson
12454 * TabControl.cs: Reset show_slider so if the control is resized to
12455 a size where it is no longer needed it's not displayed anymore
12457 2004-11-05 13:16 jackson
12459 * TabControl.cs: Make tab pages non visible when added to the
12462 2004-11-05 12:42 jackson
12464 * TabControl.cs: Implement SizeMode.FillToRight
12466 2004-11-05 12:16 jackson
12468 * Control.cs: Do not call CreateHandle if the handle is already
12471 2004-11-05 11:46 jackson
12473 * TabControl.cs: Remove superflous call to CalcTabRows
12475 2004-11-05 09:07 jackson
12477 * XplatUIX11.cs: Update for Mono.Posix changes
12479 2004-11-05 07:00 ravindra
12481 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
12484 2004-11-04 22:47 jba
12486 * ThemeWin32Classic.cs:
12487 - Fix Button rendering for FlatStyle = Flat or Popup
12488 - Fix RadioButton and CheckBox rendering when Appearance = Button
12489 (normal and flatstyle).
12490 - Correct outer rectangle color when drawing focus rectangle
12491 - Adjust button bounds to be 1 px smaller when focused
12492 - Make button not draw sunken 3d border when pushed (windows compat)
12493 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
12494 - Offset the text in RadioButton and Checkbox when being rendered as
12496 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
12498 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
12499 - Fixed disabled text rendering for normally rendered radiobuttons
12501 2004-11-04 10:26 jackson
12503 * TabControl.cs: Recalculate tab rows when resizing
12505 2004-11-04 07:47 jordi
12507 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
12508 collection completion, drawing issues, missing features
12510 2004-11-04 05:03 ravindra
12513 - We need to recalculate the Thumb area when
12514 LargeChange/maximum/minimum values are changed.
12515 - We set the 'pos' in UpdatePos() method to minimum, if it's less
12516 than minimum. This is required to handle the case if large_change is
12517 more than max, and use LargeChange property instead of large_change
12519 - We return max+1 when large_change is more than max, like MS does.
12521 2004-11-04 04:29 ravindra
12523 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
12524 - Changed default value signatures (prefixed all with ListView).
12525 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
12527 - Fixed calculations for ListViewItem and implemented Clone()
12530 2004-11-04 04:26 ravindra
12532 * Theme.cs, ThemeWin32Classic.cs:
12533 - Changed default ListView values signatures (prefixed all with
12535 - Fixed default size values for VScrollBar and HScrollBar.
12536 - Fixed DrawListViewItem method.
12538 2004-11-04 04:05 ravindra
12540 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
12542 2004-11-04 04:04 ravindra
12544 * ImageList.cs: Implemented the missing overload for Draw method.
12546 2004-11-03 19:29 jackson
12548 * TabControl.cs: Handle dropping rows on selection properly
12550 2004-11-03 11:59 jackson
12552 * TabControl.cs: remove debug code
12554 2004-11-03 11:52 jackson
12556 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
12557 the scrolly widgerywoo
12559 2004-11-02 13:52 jackson
12561 * TabControl.cs: Resize the tab pages and tabs when the tab control
12564 2004-11-02 13:40 jackson
12566 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
12567 selected tab to the bottom
12569 2004-11-02 13:39 jackson
12571 * TabPage.cs: Store the tab pages row
12573 2004-11-02 12:33 jordi
12575 * MenuItem.cs: fixes handle creation
12577 2004-11-02 11:42 jackson
12579 * TabControl.cs: signature fix
12581 2004-11-02 08:56 jackson
12583 * TabControl.cs: Calculate whether the tab is on an edge properly.
12584 Remove top secret debugging code
12586 2004-11-01 19:57 jackson
12588 * TabControl.cs: Add click handling, and proper sizing
12590 2004-11-01 19:47 jackson
12592 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
12595 2004-11-01 19:39 jackson
12597 * TabPage.cs: add internal property to store the bounds of a tab
12600 2004-10-30 04:23 ravindra
12602 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
12605 2004-10-30 04:21 ravindra
12607 * ListView.cs, ListViewItem.cs: Added support for scrolling and
12608 fixed calculations.
12610 2004-10-30 03:06 pbartok
12613 - Removed extension of DllImported libs
12615 2004-10-29 09:55 jordi
12617 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
12618 navigation, itemcollection completion, menu fixes
12620 2004-10-27 22:58 pbartok
12623 - Now throws a nice error message when no X display could be opened
12625 2004-10-26 13:51 jordi
12627 * ListView.cs: removes warning
12629 2004-10-26 03:55 ravindra
12631 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
12632 ThemeWin32Classic.cs: Some formatting for my last checkins.
12634 2004-10-26 03:36 ravindra
12636 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
12637 control and default values.
12639 2004-10-26 03:35 ravindra
12641 * Theme.cs: Added some default values for ListView control.
12643 2004-10-26 03:33 ravindra
12645 * ToolBar.cs: ToolBar should use the user specified button size, if
12646 there is any. Added a size_specified flag for the same.
12648 2004-10-26 03:33 ravindra
12650 * ColumnHeader.cs: Added some internal members and calculations for
12653 2004-10-26 03:32 ravindra
12655 * ListViewItem.cs: Calculations for ListViewItem.
12657 2004-10-26 03:31 ravindra
12659 * ListView.cs: Added some internal members and calculations for
12662 2004-10-22 13:31 jordi
12664 * MenuAPI.cs: speedup menus drawing
12666 2004-10-22 13:16 jackson
12668 * XplatUIX11.cs: Make sure to update exposed regions when adding an
12671 2004-10-22 11:49 jackson
12675 2004-10-22 11:41 jackson
12677 * Control.cs: Check to see if the window should have its background
12678 repainted by X when drawing.
12680 2004-10-22 11:31 jackson
12682 * XplatUIX11.cs: When invalidating areas only use XClearArea if
12683 clear is true, this way we do not get flicker from X repainting the
12686 2004-10-22 11:28 jackson
12688 * XEventQueue.cs: Queue properly
12690 2004-10-21 09:38 jackson
12692 * XEventQueue.cs: Fix access modifier
12694 2004-10-21 09:36 jackson
12696 * XEventQueue.cs: Don't loose messages
12698 2004-10-21 09:22 jackson
12700 * XEventQueue.cs: Don't loose messages
12702 2004-10-20 04:15 jordi
12704 * BootMode.cs: enum need it by SystemInfo
12706 2004-10-19 21:58 pbartok
12709 - Small sanity check
12711 2004-10-19 21:56 pbartok
12714 - Added private FormParentWindow class which acts as the container
12715 for our form and as the non-client area where menus are drawn
12716 - Added/Moved required tie-ins to Jordi's menus
12717 - Fixed/Implemented the FormStartPosition functionality
12719 2004-10-19 21:52 pbartok
12722 - Removed unneeded locals
12723 - Added code to all size and location properties to understand and
12724 deal with the parent container of Form
12726 2004-10-19 21:33 pbartok
12729 - Fixed to deal with new Form subclasses for menus
12731 2004-10-19 17:48 jackson
12733 * XEventQueue.cs: commit correct version of file
12735 2004-10-19 16:50 jackson
12737 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
12739 2004-10-19 16:15 jordi
12741 * MenuAPI.cs: MenuBarCalcSize returns the height
12743 2004-10-19 08:31 pbartok
12746 - Added missing call to PreProcessMessage before calling OnXXXKey
12749 2004-10-19 00:04 ravindra
12751 * ToolTip.cs: Fixed constructor.
12753 2004-10-18 09:31 jordi
12755 * MenuAPI.cs: menuitems in menubars do not have shortcuts
12757 2004-10-18 09:26 jordi
12759 * MenuItem.cs: fixes MenuItem class signature
12761 2004-10-18 08:56 jordi
12763 * MenuAPI.cs: prevents windows from showing in the taskbar
12765 2004-10-18 00:28 ravindra
12767 * ToolTip.cs: Suppressed a warning message.
12769 2004-10-18 00:27 ravindra
12771 * Control.cs: Default value of visible property must be true.
12773 2004-10-17 23:19 pbartok
12776 - Complete implementation
12778 2004-10-17 23:19 pbartok
12781 - Added EnableWindow method
12782 - Added SetModal stub
12783 - Added generation of WM_ACTIVATE message (still needs testing)
12784 - Added SetTopMost stub
12785 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
12787 2004-10-17 23:17 pbartok
12790 - Removed VirtualKeys to XplatUIStructs
12791 - Implemented SetTopMost method
12792 - Implemented EnableWindow method
12793 - Bugfix in ScreenToClient()
12794 - Bugfixes in ClientToScreen()
12796 2004-10-17 22:51 pbartok
12798 * XplatUIStructs.cs:
12799 - Added WS_EX styles to WindowStyles enumeration
12801 2004-10-17 22:50 pbartok
12803 * XplatUI.cs, XplatUIDriver.cs:
12804 - Added method for enabling/disabling windows
12805 - Added method for setting window modality
12806 - Added method for setting topmost window
12808 2004-10-17 22:49 pbartok
12810 * ThemeWin32Classic.cs:
12811 - Added ToolTip drawing code
12813 2004-10-17 22:49 pbartok
12816 - Added ToolTip abstracts
12818 2004-10-17 22:47 pbartok
12821 - Fixed Form.ControlCollection to handle owner relations
12822 - Added Owner/OwnedForms handling
12823 - Implemented Z-Ordering for owned forms
12824 - Removed unneeded private overload of ShowDialog
12825 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
12827 - Fixed Close(), had wrong default
12828 - Added firing of OnLoad event
12829 - Added some commented out debug code for Ownership handling
12831 2004-10-17 22:16 pbartok
12834 - Fixed/implemented flat list of controls
12836 2004-10-17 22:14 pbartok
12839 - Added code to simulate modal dialogs on Win32
12841 2004-10-17 16:11 jordi
12843 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
12846 2004-10-17 13:39 jordi
12848 * MenuAPI.cs: menu drawing fixes
12850 2004-10-15 09:10 ravindra
12852 * StructFormat.cs: General Enum.
12854 2004-10-15 09:09 ravindra
12856 * SizeGripStyle.cs: Enum for Form.
12858 2004-10-15 09:08 ravindra
12860 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
12861 in Theme for ListView.
12863 2004-10-15 09:06 ravindra
12865 * ColumnHeader.cs: Flushing some formatting changes.
12867 2004-10-15 09:05 ravindra
12869 * ListViewItem.cs: Implemented GetBounds method and fixed coding
12872 2004-10-15 09:03 ravindra
12874 * ListView.cs: Implemented Paint method and fixed coding style.
12876 2004-10-15 07:34 jordi
12878 * MenuAPI.cs: fix for X11
12880 2004-10-15 07:32 ravindra
12882 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
12883 - Renamed Paint() method to Draw() for clarity. Also, moved
12884 DrawImage() to OnPaint().
12886 2004-10-15 07:25 ravindra
12888 * CheckBox.cs, RadioButton.cs:
12889 - Removed Redraw (), we get it from ButtonBase.
12890 - Implemented Paint (), to do class specific painting.
12892 2004-10-15 07:16 ravindra
12895 - Redraw () is not virtual now.
12896 - Added an internal virtual method Paint (), so that
12897 derived classes can do their painting on their own.
12898 - Modified OnPaint () to call Paint ().
12900 2004-10-15 06:43 jordi
12902 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
12903 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
12905 2004-10-15 00:30 ravindra
12908 - MessageBox on windows does not have min/max buttons.
12909 This change in CreateParams fixes this on Windows. We
12910 still need to implement this windowstyle behavior in
12913 2004-10-14 05:14 ravindra
12916 - Changed Redraw () to do a Refresh () always.
12917 - Fixed the MouseMove event handling when mouse is pressed,
12918 ie drag event handling.
12919 - Replaced the usage of ToolBarButton.Pressed property to
12920 ToolBarButton.pressed internal variable.
12922 2004-10-14 05:10 ravindra
12924 * ToolBarButton.cs:
12925 - Added an internal member 'inside' to handle mouse move
12926 with mouse pressed ie mouse drag event.
12927 - Changed 'Pressed' property to return true only when
12928 'inside' and 'pressed' are both true.
12929 - Some coding style love.
12931 2004-10-14 00:17 ravindra
12933 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
12936 2004-10-14 00:15 ravindra
12938 * ButtonBase.cs: Redraw () related improvements.
12940 2004-10-14 00:14 ravindra
12942 * MessageBox.cs: Moved InitFormSize () out of Paint method and
12943 removed unnecessary calls to Button.Show () method.
12945 2004-10-13 17:50 pbartok
12949 - Removed destroying of window until we solve the problem of X
12950 destroying the window before us on shutdown
12952 2004-10-13 16:32 pbartok
12955 - Now Redraws on MouseUp for FlatStyle Flat and Popup
12957 2004-10-13 14:18 pbartok
12960 - Added code to destroy the X window
12962 2004-10-13 14:18 pbartok
12965 - Added code to destroy a window
12967 2004-10-13 14:12 pbartok
12970 - Added the Redraw on Resize that got dropped in the last rev
12972 2004-10-13 09:06 pbartok
12974 * ThemeWin32Classic.cs:
12975 - Path from John BouAntoun:
12976 * Fix check rendering (centre correctly for normal style, offset
12977 correctly for FlatStyle).
12978 * Fix border color usage (use backcolor) for FlatStyle.Popup
12979 * Use checkbox.Capture instead of checkbox.is_pressed when
12980 rendering flatstyle states.
12982 2004-10-12 21:48 pbartok
12984 * ThemeWin32Classic.cs:
12985 - Removed all occurences of SystemColors and replaced them with the
12986 matching theme color
12988 2004-10-12 21:41 pbartok
12990 * ThemeWin32Classic.cs:
12991 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12992 him using the function for flatstyle drawing
12993 - Changed functions to use the new version of CPDrawBorder3D
12995 2004-10-12 21:15 pbartok
12998 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12999 match MS documentation. They need to return defined colors if the
13000 passed color matches the configured control color. Thanks to John
13001 BouAntoun for pointing this out.
13003 2004-10-12 20:57 pbartok
13006 - Fix from John BouAntoun: Raise ForeColorChanged event when text
13009 2004-10-12 20:46 pbartok
13012 - Fix from John BouAntoun: Now properly sets the Appearance property
13014 2004-10-12 20:45 pbartok
13016 * ThemeWin32Classic.cs:
13017 - Fixes from John BouAntoun: now handles forecolors and backcolors
13018 for flatstyle rendered controls much better; It also fixes normal
13019 checkbox rendering when pushed or disabled.
13021 2004-10-08 02:50 jordi
13023 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
13026 2004-10-07 08:56 jordi
13028 * ThemeWin32Classic.cs: Removes deletion of cached brushes
13030 2004-10-06 03:59 jordi
13032 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
13033 XplatUIWin32.cs: removes warnings from compilation
13035 2004-10-05 12:23 jackson
13037 * RadioButton.cs: Fix ctor
13039 2004-10-05 11:10 pbartok
13042 - Partial implementation by Benjamin Dasnois
13044 2004-10-05 10:15 jackson
13046 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
13049 2004-10-05 03:07 ravindra
13052 - Removed a private method, Draw ().
13053 - Fixed the ButtonDropDown event handling.
13054 - Fixed MouseMove event handling.
13056 2004-10-05 03:04 ravindra
13058 * ThemeWin32Classic.cs:
13059 - Added DrawListView method and ListViewDefaultSize property.
13060 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
13061 - Changed DOS style CRLF to Unix format (dos2unix).
13063 2004-10-05 03:03 ravindra
13066 - Added DrawListView method and ListViewDefaultSize property.
13068 2004-10-05 02:42 ravindra
13070 * ToolBarButton.cs: Added an internal member dd_pressed to handle
13071 clicks on DropDown arrow.
13073 2004-10-04 22:56 jackson
13075 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
13076 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
13077 Control handle the buffers, derived classes should not have to
13078 CreateBuffers themselves.
13080 2004-10-04 21:20 jackson
13082 * StatusBar.cs: The control handles resizing the buffers now.
13084 2004-10-04 21:18 jackson
13086 * Control.cs: When resizing the buffers should be invalidated. This
13087 should be handled in Control not in derived classes.
13089 2004-10-04 14:45 jackson
13093 2004-10-04 02:14 pbartok
13095 * LeftRightAlignment.cs:
13098 2004-10-04 01:09 jordi
13100 * ThemeWin32Classic.cs: fixes right button position causing right
13101 button not showing on horizontal scrollbars
13103 2004-10-02 13:12 pbartok
13106 - Simplified the Invalidate method by using an X call instead of
13107 generating the expose ourselves
13108 - Added an expose when the window background is changed
13109 - Implemented ClientToScreen method
13111 2004-10-02 13:08 pbartok
13114 - Added Win32EnableWindow method (test for implementing modal
13116 - Added ClientToScreen method and imports
13118 2004-10-02 13:07 pbartok
13120 * XplatUI.cs, XplatUIDriver.cs:
13121 - Added ClientToScreen coordinate translation method
13123 2004-10-02 13:06 pbartok
13125 * KeyPressEventArgs.cs:
13126 - Fixed access level for constructor
13128 2004-10-02 13:06 pbartok
13131 - Changed access level for the window_collection hash table
13133 2004-10-02 13:05 pbartok
13136 - Added KeyPreview property
13137 - Added Menu property (still incomplete, pending Jordi's menu work)
13138 - Implemented ProcessCmdKey
13139 - Implemented ProcessDialogKey
13140 - Implemented ProcessKeyPreview
13142 2004-10-02 13:02 pbartok
13145 - Added private method to get the Control object from the window
13147 - Implemented ContextMenu property
13148 - Implemented PointToScreen
13149 - Implemented PreProcessMessage
13150 - Implemented IsInputChar
13151 - Implemented IsInputKey
13152 - Implemented ProcessCmdKey
13153 - Completed ProcessKeyEventArgs
13154 - Fixed message loop to call the proper chain of functions on key
13156 - Implemented ProcessDialogChar
13157 - Implemented ProcessDialogKey
13158 - Implemented ProcessKeyMessage
13159 - Implemented ProcessKeyPreview
13160 - Added RaiseDragEvent stub (MS internal method)
13161 - Added RaiseKeyEvent stub (MS internal method)
13162 - Added RaiseMouseEvent stub (MS Internal method)
13163 - Added RaisePaintEvent stub (MS Internal method)
13164 - Added ResetMouseEventArgs stub (MS Internal method)
13165 - Implemented RtlTranslateAlignment
13166 - Implemented RtlTranslateContent
13167 - Implemented RtlTranslateHorizontal
13168 - Implemented RtlTranslateLeftRight
13169 - Added generation of KeyPress event
13171 2004-10-02 05:57 ravindra
13173 * ListViewItem.cs: Added attributes.
13175 2004-10-02 05:32 ravindra
13177 * ListView.cs: Added attributes.
13179 2004-10-01 11:53 jackson
13181 * Form.cs: Implement the Close method so work on MessageBox can
13184 2004-09-30 14:06 pbartok
13189 2004-09-30 11:34 jackson
13191 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
13193 2004-09-30 07:26 ravindra
13195 * ListViewItemConverter.cs: Converter for ListViewItem.
13197 2004-09-30 07:26 ravindra
13199 * SortOrder.cs: Enum for ListView control.
13201 2004-09-30 07:25 ravindra
13203 * ColumnHeader.cs: Supporting class for ListView control.
13205 2004-09-30 07:24 ravindra
13207 * ListView.cs, ListViewItem.cs: Initial implementation.
13209 2004-09-30 07:20 ravindra
13211 * ItemActivation.cs: Enum for ListView Control.
13213 2004-09-29 20:29 pbartok
13216 - Added lookup of pixel value for background color; tries to get a
13217 color 'close' to the requested color, it avoids having to create a
13218 colormap. Depending on the display this could mean the used color
13219 is slightly off the desired color. Might have to change it to a more
13220 resource intensive colormap approach, but it will work as a
13221 workaround to avoid red screens.
13223 2004-09-29 14:27 jackson
13225 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
13227 2004-09-28 12:44 pbartok
13229 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
13230 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
13231 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
13232 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
13233 TrackBar.cs, VScrollBar.cs:
13234 - Streamlined Theme interfaces:
13235 * Each DrawXXX method for a control now is passed the object for
13236 the control to be drawn in order to allow accessing any state the
13237 theme might require
13239 * ControlPaint methods for the theme now have a CP prefix to avoid
13240 name clashes with the Draw methods for controls
13242 * Every control now retrieves it's DefaultSize from the current
13245 2004-09-28 12:17 jackson
13247 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
13250 2004-09-24 14:57 jackson
13252 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
13253 Gives us a nice little performance boost.
13255 2004-09-24 12:02 jackson
13257 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
13258 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
13259 Control and supporting classes. Initial checkin
13261 2004-09-23 13:08 jackson
13263 * Form.cs: Temp build fixage
13265 2004-09-23 01:39 ravindra
13267 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
13268 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
13269 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
13270 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
13271 EventHandlers needed by ListView Control.
13273 2004-09-22 14:12 pbartok
13275 * ScrollableControl.cs:
13276 - Implemented DockPadding property
13277 - Implemented AutoScroll property
13278 - Implemented AutoScrollMargin property
13279 - Implemented AutoScrollMinSize property
13280 - Implemented AutoScrollPosition property
13281 - Implemented DisplayRectangle property (still incomplete)
13282 - Implemented CreateParams property
13283 - Implemented HScroll property
13284 - Implemented VScroll property
13285 - Implemented OnVisibleChanged property
13287 2004-09-22 14:09 pbartok
13290 - Added Form.ControllCollection class
13291 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
13292 RemoveOwnedForm (still incomplete, missing on-top and common
13293 minimize/maximize behaviour)
13294 - Added StartPosition property (still incomplete, does not use when
13296 - Added ShowDialog() methods (still incomplete, missing forcing the
13299 2004-09-22 14:05 pbartok
13302 - Added message loop for modal dialogs
13304 2004-09-22 14:02 pbartok
13307 - Fixed wrong types for events
13309 2004-09-22 14:00 pbartok
13311 * Shortcut.cs, FormWindowState.cs:
13312 - Fixed wrong values
13314 2004-09-22 12:01 jackson
13316 * Control.cs: Text is never null
13318 2004-09-20 22:14 pbartok
13321 - Fixed accessibility level for Idle handler
13323 2004-09-20 18:54 jackson
13325 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13326 XplatUIX11.cs: New message loop that uses poll so we don't get a
13329 2004-09-17 10:43 pbartok
13332 - Fixed behaviour of arrow buttons. Now properly behaves like
13333 Buttons (and like Microsoft's scrollbar arrow buttons)
13335 2004-09-17 10:14 pbartok
13338 - Added missing release of keyboard/mouse capture
13340 2004-09-17 06:18 jordi
13342 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
13343 Theme.cs: Very early menu support
13345 2004-09-16 17:45 pbartok
13348 - Fixed sending a window to the front
13349 - Added overload for SetWindowPos to avoid casting
13351 2004-09-16 17:44 pbartok
13354 - Added SendToBack and BringToFront methods
13356 2004-09-16 07:00 ravindra
13358 * Copyright: Added Novell URL.
13360 2004-09-16 07:00 ravindra
13362 * ToolBar.cs: Invalidate should be done before redrawing.
13364 2004-09-15 21:19 ravindra
13366 * ColumnHeaderStyle.cs: Enum for ListView Control.
13368 2004-09-15 21:18 ravindra
13370 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
13373 2004-09-13 18:26 jackson
13375 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
13378 2004-09-13 18:13 jackson
13380 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
13381 a second thread and post messages into the main threads message
13382 queue. This makes timing much more consistent. Both win2K and XP
13383 have a minimum timer value of 15 milliseconds, so we now do this
13386 2004-09-13 15:18 pbartok
13388 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13390 - Added Z-Ordering methods
13392 2004-09-13 10:56 pbartok
13395 - Fixed #region names
13396 - Moved properties and methods into their proper #regions
13398 2004-09-13 10:51 pbartok
13401 - Added Accept and CancelButton properties
13402 - Added ProcessDialogKey() method
13404 2004-09-13 08:18 pbartok
13406 * IWindowTarget.cs:
13409 2004-09-10 21:50 pbartok
13412 - Added DoDragDrop() [incomplete]
13413 - Properly implemented 'Visible' handling
13414 - Added SetVisibleCore()
13415 - Implemented FindChildAtPoint()
13416 - Implemented GetContainerControl()
13417 - Implemented Hide()
13419 2004-09-10 19:28 pbartok
13422 - Moved methods into their appropriate #regions
13423 - Reordered methods within regions alphabetically
13425 2004-09-10 18:57 pbartok
13427 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13428 - Added method to retrieve text from window
13430 2004-09-10 18:56 pbartok
13433 - Moved some internal functions into the internal region
13434 - Implemented FontHeight
13435 - Implemented RenderRightToLeft
13436 - Implemented ResizeRedraw
13437 - Implemented ShowFocusCues
13438 - Implemented ShowKeyboardCues
13439 - Implemented FromChildHandle
13440 - Implemented FromHandle
13441 - Implemented IsMnemonic
13442 - Implemented ReflectMessage
13443 - All public and protected Static Methods are now complete
13445 2004-09-10 16:54 pbartok
13448 - Implemented remaining missing public instance properties
13449 - Alphabetized some out of order properties
13451 2004-09-10 05:51 ravindra
13453 * PictureBox.cs: Added a check for null image.
13455 2004-09-10 00:59 jordi
13457 * GroupBox.cs: remove cvs tag
13459 2004-09-09 05:25 ravindra
13461 * ToolBar.cs: Make redraw accessible from ToolBarButton.
13463 2004-09-09 05:23 ravindra
13465 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
13468 2004-09-09 02:28 pbartok
13470 * ThemeWin32Classic.cs:
13471 - Improve disabled string look
13473 2004-09-09 01:15 jordi
13475 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
13478 2004-09-08 23:56 ravindra
13480 * ItemBoundsPortion.cs: It's enum, not a class!
13482 2004-09-08 23:47 ravindra
13484 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
13487 2004-09-08 21:13 ravindra
13489 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
13492 2004-09-08 21:03 ravindra
13494 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
13497 2004-09-08 21:01 ravindra
13499 * ScrollableControl.cs: Removed unreachable code.
13501 2004-09-08 06:45 jordi
13503 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
13505 2004-09-08 01:00 jackson
13507 * XplatUIX11.cs: Only run the timers when updating the message
13508 queue. This effectively gives X messages a higher priority then
13509 timer messages. Timers still need love though
13511 2004-09-07 14:01 jackson
13513 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
13514 this for us and the handle is no longer valid.
13516 2004-09-07 13:59 jackson
13518 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
13519 loop that manages to not crash. TODO: Add poll and cleanup timers
13521 2004-09-07 11:12 jordi
13523 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
13525 2004-09-07 03:40 jordi
13527 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
13528 fixes, methods, multiple links
13530 2004-09-06 06:55 jordi
13532 * Control.cs: Caches ClientRectangle rectangle value
13534 2004-09-05 02:03 jordi
13536 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
13539 2004-09-04 11:10 jordi
13541 * Label.cs: Refresh when font changed
13543 2004-09-02 16:24 pbartok
13546 - Added sanity check to creation of double buffer bitmap
13548 2004-09-02 16:24 pbartok
13551 - Fixed selection of text color
13552 - Fixed handling of resize event; now properly recreates double
13554 - Added missing assignment of TextAlignment
13555 - Added proper default for TextAlignment
13557 2004-09-02 14:26 pbartok
13560 - Added missing RadioButton.RadioButtonAccessibleObject class
13562 2004-09-02 14:26 pbartok
13565 - Added missing Control.ControlAccessibleObject class
13566 - Started to implement Select()ion mechanisms, still very incomplete
13568 2004-09-02 14:25 pbartok
13570 * AccessibleObject.cs:
13571 - Added missing methods
13573 2004-09-02 14:23 pbartok
13575 * AccessibleNavigation.cs, AccessibleSelection.cs:
13578 2004-09-02 10:32 jordi
13580 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
13581 pool for pens, brushes, and hatchbruses
13583 2004-09-01 15:30 jackson
13585 * StatusBar.cs: Fix typo
13587 2004-09-01 14:44 pbartok
13592 2004-09-01 14:39 pbartok
13594 * Button.cs, RadioButton.cs:
13595 - Functional initial check-in
13597 2004-09-01 14:01 pbartok
13600 - Added missing default
13601 - Added missing region mark
13603 2004-09-01 09:10 jordi
13605 * Label.cs: fixes method signatures, new methods, events, fixes
13608 2004-09-01 07:19 jordi
13610 * Control.cs: Init string variables with an empty object
13612 2004-09-01 04:20 jordi
13614 * Control.cs: fires OnFontChanged event
13616 2004-08-31 20:07 pbartok
13619 - Enabled display of strings
13621 2004-08-31 20:05 pbartok
13624 - Added (partial) implementation of DialogResult; rest needs to be
13625 implemented when the modal loop code is done
13627 2004-08-31 19:55 pbartok
13630 - Fixed to match the removal of the needs_redraw concept
13632 2004-08-31 19:55 pbartok
13635 - Removed the rather odd split between 'needs redraw' and redrawing
13636 - Now handles the events that require regeneration (ambient
13637 properties and size)
13639 2004-08-31 19:41 pbartok
13642 - Added firing of BackColorChanged event
13643 - Added TopLevelControl property
13644 - Fixed handling of WM_ERASEBKGRND message
13646 2004-08-31 12:49 pbartok
13652 2004-08-31 12:48 pbartok
13655 - Finished (famous last words)
13657 2004-08-31 04:35 jordi
13659 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
13660 scrolling bugs, adds new methods
13662 2004-08-30 14:42 pbartok
13665 - Implemented CheckBox drawing code
13667 2004-08-30 14:42 pbartok
13670 - Made Redraw() and CheckRedraw() virtual
13671 - Improved mouse up/down/move logic to properly track buttons
13673 2004-08-30 09:44 pbartok
13676 - Updated to fix broken build. Not complete yet.
13678 2004-08-30 09:28 pbartok
13683 2004-08-30 09:17 pbartok
13688 2004-08-27 16:12 ravindra
13690 * ToolBarButton.cs: Added TypeConverter attribute.
13692 2004-08-27 16:07 ravindra
13694 * ImageIndexConverter.cs: Implemented.
13696 2004-08-27 14:17 pbartok
13699 - Removed unneeded stack vars
13700 - First attempt to fix sizing issues when layout is suspended
13702 2004-08-25 15:35 jordi
13704 * ScrollBar.cs: more fixes to scrollbar
13706 2004-08-25 14:04 ravindra
13708 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
13709 Added the missing divider code and grip for ToolBar Control.
13711 2004-08-25 13:20 pbartok
13714 - Control now properly passes the ambient background color to child
13717 2004-08-25 13:20 jordi
13719 * ScrollBar.cs: small bug fix regarding bar position
13721 2004-08-25 12:33 pbartok
13724 - Now only calls SetTimer or KillTimer if the enabled state has
13727 2004-08-25 12:33 pbartok
13730 - Fixed timer handling, now seems to work
13731 - Improved error message for window creation
13733 2004-08-25 12:32 pbartok
13736 - Fixed generation of MouseUp message
13738 2004-08-25 12:29 jordi
13740 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
13741 and fixes for progressbar
13743 2004-08-24 18:43 ravindra
13745 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
13746 in ToolBar control.
13748 2004-08-24 17:15 pbartok
13752 - Added missing events
13755 2004-08-24 17:14 pbartok
13757 * StatusBar.cs, PictureBox.cs:
13758 - Now uses Control's CreateParams
13760 2004-08-24 16:36 pbartok
13763 - Fixed background color handling
13764 - Fixed sending of enter/leave events on a grab
13766 2004-08-24 16:35 pbartok
13769 - Refined definitions for CrossingEvent
13771 2004-08-24 12:37 jordi
13773 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
13774 formmating, methods signature, and adds missing events
13776 2004-08-24 12:24 jordi
13778 * Control.cs: fire OnEnabledChanged event
13780 2004-08-24 11:17 pbartok
13783 - Implemented SetTimer() and KillTimer()
13785 2004-08-24 11:16 pbartok
13788 - Now uses Remove instead of Add to kill the timer
13790 2004-08-24 10:16 jackson
13792 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
13793 picture boxes in the theme now. Draw picture box borders and obey
13796 2004-08-24 05:49 jackson
13798 * Timer.cs: Remove top secret debugging code
13800 2004-08-24 05:34 jackson
13802 * PictureBox.cs: Temp hack to make picture boxes draw their full
13805 2004-08-24 05:29 jackson
13807 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13808 XplatUIX11.cs: Move timers to the driver level. On X they are
13809 queued by the driver and checked on idle.
13811 2004-08-24 01:07 jackson
13813 * XplatUIX11.cs: Use a queue for async messages instead of passing
13814 them as ClientMessages since that was totally broken. Also simply
13815 check for events and return an idle message if none are found. This
13816 gives us an idle handler, and prevents deadlocking when no messages
13819 2004-08-23 18:19 ravindra
13821 * XplatUIWin32.cs: Removed the unwanted destructor.
13823 2004-08-23 17:27 pbartok
13826 - Finishing touches. Works now, just needs some optimizations.
13828 2004-08-23 16:53 jordi
13830 * ScrollBar.cs: small fix
13832 2004-08-23 16:45 pbartok
13835 - Removed debug output
13838 2004-08-23 16:43 jordi
13840 * ScrollBar.cs: [no log message]
13842 2004-08-23 16:10 pbartok
13845 - Fixed handling of WM_CLOSE message
13846 - Removed debug output
13848 2004-08-23 16:09 pbartok
13851 - Added handling of Idle event
13852 - Added handling of form closing
13853 - Fixed reporting of MessageLoop property
13854 - Removed some unneeded code, should provide a bit of a speedup
13856 2004-08-23 15:22 pbartok
13859 - Added InitLayout() method
13860 - Added code to properly perform layout when Anchor or Dock property
13862 - Changed 'interpretation' of ResumeLayout. MS seems to have a
13863 LAMESPEC, tried to do it in a way that makes sense
13865 2004-08-23 14:10 jordi
13867 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
13868 properties and methods
13870 2004-08-23 13:55 pbartok
13873 - Properly fixed Jordi's last fix
13874 - Now uses Cursor's Position property instead of calling XplatUI
13877 2004-08-23 13:44 jordi
13879 * PaintEventHandler.cs: Adding missing attribute
13881 2004-08-23 13:39 pbartok
13884 - Implemented Position property
13886 2004-08-23 13:39 pbartok
13888 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13889 - Added method to move mouse cursor
13891 2004-08-23 13:39 pbartok
13894 - Fixed setting of background color
13895 - Added method to move mouse cursor
13897 2004-08-23 13:16 jordi
13899 * Control.cs: avoids null exception
13901 2004-08-22 17:46 jackson
13903 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
13906 2004-08-22 17:40 jackson
13908 * XplatUIX11.cs: Add some missing locks
13910 2004-08-22 15:10 pbartok
13912 * Control.cs, Form.cs:
13913 - Removed OverlappedWindow style from Control, instead it's default
13915 - Made form windows OverlappedWindow by default
13917 2004-08-22 13:34 jackson
13919 * ScrollBar.cs: Update the position through the Value property so
13920 the OnValueChanged event is raised.
13922 2004-08-22 12:04 pbartok
13925 - Added Cursor.cs and UserControl.cs
13927 2004-08-22 12:03 pbartok
13930 - Started implementation, not usable yet
13932 2004-08-22 12:00 pbartok
13935 - Implemented UserControl (complete)
13937 2004-08-21 19:20 ravindra
13939 * ToolBar.cs: Correcting the formatting mess of VS.NET.
13941 2004-08-21 18:49 ravindra
13943 * ToolBar.cs: Probably this completes the missing attributes in
13946 2004-08-21 18:03 ravindra
13948 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
13949 Fixed toolbar control signatures.
13951 2004-08-21 16:32 pbartok
13956 2004-08-21 16:30 pbartok
13961 2004-08-21 16:19 pbartok
13963 * Control.cs, Label.cs:
13966 2004-08-21 15:57 pbartok
13969 - Added loads of debug output for development
13970 - Fixed typo in method name
13972 2004-08-21 15:52 pbartok
13974 * ToolBarButtonClickEventArgs.cs:
13975 - Added missing base class
13977 2004-08-21 14:53 pbartok
13980 - Updated to match new GrabWindow signature
13982 2004-08-21 14:51 pbartok
13984 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13985 - Added method to get default display size
13987 2004-08-21 14:23 pbartok
13989 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13990 - Added method to query current grab state
13991 - Added argument to allow confining a grab to a window
13993 2004-08-21 14:22 pbartok
13996 - Added [Flags] attribute so that modifiers can be used in bitwise
13999 2004-08-21 14:21 pbartok
14001 * TrackBar.cs, ScrollBar.cs:
14002 - Replaced direct XplatUI calls with their Control counterpart
14004 2004-08-21 13:32 pbartok
14007 - Implemented Created property
14009 2004-08-21 13:28 pbartok
14012 - Implemented ContainsFocus
14014 2004-08-21 13:26 pbartok
14017 - Implemented CausesValidation
14019 2004-08-21 13:21 pbartok
14022 - Implemented CanFocus
14023 - Implemented CanSelect
14024 - Implemented Capture
14026 2004-08-21 12:35 pbartok
14029 - Fixed bug with Async message handling
14030 - Implemented getting the ModifierKeys
14032 2004-08-21 12:32 jackson
14034 * AsyncMethodResult.cs: Make sure we have the mutex before we
14035 release it. Fixes BeginInvoke on windows
14037 2004-08-21 11:31 pbartok
14039 * XplatUIWin32.cs, XplatUIX11.cs:
14040 - Drivers now return proper mouse state
14042 2004-08-21 10:54 jackson
14044 * Control.cs: Implement EndInvoke
14046 2004-08-21 10:48 jackson
14048 * Timer.cs: Remove unneeded finalizer
14050 2004-08-20 19:52 ravindra
14052 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
14053 in mouse event handling in the ToolBar control.
14055 2004-08-20 19:50 ravindra
14057 * ImageList.cs: Changed draw method to use the arguments passed in
14060 2004-08-20 18:58 pbartok
14062 * XplatUIStructs.cs:
14063 - Added private message for async communication
14065 2004-08-20 17:38 ravindra
14067 * Control.cs: Made RightToLeft property virtual and removed a
14070 2004-08-20 14:39 jordi
14072 * ThemeGtk.cs: use style_attach
14074 2004-08-20 14:39 pbartok
14077 - Added jackson's Async code from X11 to Win32
14079 2004-08-20 14:09 pbartok
14082 - Added all new files
14084 2004-08-20 14:09 pbartok
14087 - Added call to set window background color
14089 2004-08-20 14:03 pbartok
14091 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
14092 - Added method for setting the window background
14094 2004-08-20 14:02 pbartok
14097 - Added method for setting the background color
14098 - Added handling for erasing the window background
14100 2004-08-20 13:45 jordi
14102 * TrackBar.cs: fixes timer, new properties and methods
14104 2004-08-20 13:34 jackson
14106 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
14109 2004-08-20 13:22 jackson
14111 * Timer.cs: Timer Tick events are now handed through Controls Async
14112 mechanism so the callbacks are executed in the same thread as X
14114 2004-08-20 13:19 jackson
14116 * XplatUIDriver.cs: Expose functionality to send async messages
14119 2004-08-20 13:18 jackson
14121 * Control.cs: Implement Begininvoke
14123 2004-08-20 13:14 jackson
14125 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
14126 messages through the driver
14128 2004-08-20 13:12 jackson
14130 * XplatUIX11.cs: Lock before all X operations. Also added Async
14131 method functionality through XSendEvent
14133 2004-08-20 13:11 jackson
14135 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
14136 This will screw up on 64 bit systems)
14138 2004-08-20 13:10 jackson
14140 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
14141 Async messages through X/Win32
14143 2004-08-19 19:39 pbartok
14146 - Updated code to match new HandleData.DeviceContext type
14148 2004-08-19 19:38 pbartok
14151 - Made DeviceContext a generic object to allow usage from various
14153 - Added support for queueing Windows messages
14155 2004-08-19 19:37 pbartok
14158 - Added generation of MouseEnter, MouseLeave and MouseHover events
14159 - Added cleanup on EndPaint
14161 2004-08-19 19:17 pbartok
14164 - Added handling of WM_MOUSEHOVER
14165 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
14168 2004-08-19 18:55 jordi
14170 * ThemeGtk.cs: fixes button order
14172 2004-08-19 18:12 jordi
14174 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
14176 2004-08-19 17:09 pbartok
14179 - Added Right property
14180 - Added RightToLeft property
14182 2004-08-19 16:27 jordi
14184 * ThemeGtk.cs: experimental GTK theme support
14186 2004-08-19 16:26 jordi
14188 * ITheme.cs, Theme.cs: move themes from an interface to a class
14190 2004-08-19 16:25 jordi
14192 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
14195 2004-08-19 16:04 pbartok
14198 - Added colormap basics
14199 - Added a way to re-initialize with a different display handle
14200 - Fixed setting of the window background color
14201 - Added various X11 imports related to colors and colormaps
14203 2004-08-19 15:51 pbartok
14206 - Removed packing hints (Paolo suggested this a while back)
14207 - fixed colormap type
14208 - Added default Atom types
14209 - Added Screen and color structs and enums
14211 2004-08-19 15:39 pbartok
14214 - Added missing Draw() method
14215 - Added missing RecreateHandle event
14217 2004-08-19 15:30 pbartok
14220 - Added handling of WM_CLOSE
14222 2004-08-18 13:16 jordi
14224 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
14227 2004-08-18 09:56 jordi
14229 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
14231 2004-08-17 15:31 ravindra
14233 * SWF.csproj: Updated project.
14235 2004-08-17 15:25 pbartok
14238 - Drawing improvement; don't call UpdateBounds if we are not visible
14239 (or have been minimized)
14241 2004-08-17 15:24 pbartok
14244 - Finished IsVisible
14245 - Added Win32GetWindowPlacement
14247 2004-08-17 15:08 jackson
14249 * Panel.cs: Initial checkin of the Panel
14251 2004-08-17 14:25 pbartok
14254 - Fixed broken handling of default window sizes
14256 2004-08-17 13:29 jackson
14258 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
14259 has a large startup time.
14261 2004-08-17 10:25 jackson
14263 * HandleData.cs: union areas properly
14265 2004-08-17 10:12 jackson
14267 * HandleData.cs: union areas properly
14269 2004-08-16 20:00 ravindra
14271 * ToolBar.cs, ToolBarButton.cs: Added attributes.
14273 2004-08-16 18:48 ravindra
14275 * ToolBar.cs: Added attributes.
14277 2004-08-16 17:17 ravindra
14279 * SWF.csproj: Updated project.
14281 2004-08-16 17:16 jackson
14283 * XplatUIX11.cs: Check for more expose events before sending a
14284 WM_PAINT so they can all be grouped together. This makes dragging a
14285 window across another window redraw in a sane way.
14287 2004-08-16 15:47 pbartok
14290 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
14291 support OnMouseEnter/Leave()
14292 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
14295 2004-08-16 15:46 pbartok
14297 * XplatUIStructs.cs, XplatUIX11.cs:
14298 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
14299 OnMouseEnter/Leave()
14301 2004-08-16 15:34 jackson
14303 * XplatUIX11.cs: Group multiple expose events in HandleData, make
14304 sure messages get the message field set to WM_NULL if they are not
14307 2004-08-16 15:24 jackson
14309 * HandleData.cs: HandleData is used for storing message information
14312 2004-08-15 17:23 ravindra
14314 * ColorDepth.cs: Added attribute.
14316 2004-08-15 17:23 ravindra
14318 * SWF.csproj: Updated project for ToolBar Control.
14320 2004-08-15 17:20 ravindra
14322 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
14323 control and also dos2unix format.
14325 2004-08-15 17:13 ravindra
14327 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
14328 ToolBarButtonClickEventArgs.cs,
14329 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
14330 ToolBarTextAlign.cs: First Implementation of ToolBar control.
14332 2004-08-15 15:31 pbartok
14335 - First (mostly) working version
14337 2004-08-13 16:15 pbartok
14340 - Fixed Anchor default
14342 2004-08-13 15:43 pbartok
14345 - Changed GetCursorPos signature
14347 2004-08-13 15:42 pbartok
14349 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
14350 - Changed signature for GetCursorPos
14352 2004-08-13 15:25 pbartok
14356 - Fixed resizing/exposure handling
14358 2004-08-13 15:22 jordi
14360 * ThemeWin32Classic.cs: removes redundant code and fixes issues
14363 2004-08-13 14:55 jordi
14365 * TrackBar.cs: change from wndproc to events
14367 2004-08-13 13:00 jordi
14369 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14370 XplatUIX11.cs: implements PointToClient (ScreenToClient)
14372 2004-08-13 12:53 pbartok
14375 - Changed GetWindowPos to also provide client area size
14376 - Fixed broken prototypes for several win32 functions
14378 2004-08-13 12:53 pbartok
14380 * XplatUI.cs, XplatUIDriver.cs:
14381 - Changed GetWindowPos to also provide client area size
14383 2004-08-13 12:52 pbartok
14386 - Added generation of WM_POSCHANGED
14387 - Changed GetWindowPos to also provide client area size
14389 2004-08-13 12:52 pbartok
14392 - Added Dispose() and destructor
14393 - Fixed resizing and bounds calculation
14395 - Added memory savings for invisible windows
14397 2004-08-13 12:46 jordi
14399 * TrackBar.cs: adds timer and grap window
14401 2004-08-13 10:25 jackson
14403 * Timer.cs: SWF Timer
14405 2004-08-12 16:59 pbartok
14407 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14408 - Implemented method to get current mouse position
14410 2004-08-12 14:29 jordi
14412 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
14413 enhancement, fix mouse problems, highli thumb, etc
14415 2004-08-12 13:31 pbartok
14418 - Fixed Anchoring bugs
14420 2004-08-12 13:01 jackson
14422 * StatusBar.cs: Don't forget things
14424 2004-08-12 12:54 jackson
14426 * ThemeWin32Classic.cs: Handle owner draw status bars
14428 2004-08-12 12:54 jackson
14430 * StatusBar.cs: Implement missing properties, events, and methods.
14431 Handle mouse clicking
14433 2004-08-12 10:19 jackson
14435 * StatusBarPanelClickEventArgs.cs,
14436 StatusBarPanelClickEventHandler.cs: Classes for handling status
14437 bar panel click events
14439 2004-08-12 10:10 jackson
14441 * Control.cs: Add missing properties
14443 2004-08-12 09:46 pbartok
14445 * BindingsManagerBase.cs:
14446 - Name changed to BindingManagerBase.cs
14448 2004-08-12 09:25 jordi
14450 * ScrollableControl.cs: calls ctrlbase instead of exeception
14452 2004-08-11 16:28 pbartok
14454 * InputLanguageChangingEventArgs.cs:
14455 - Never check in before compiling. Fixes the last check-in
14457 2004-08-11 16:26 pbartok
14459 * InputLanguageChangingEventArgs.cs:
14460 - More signature fixes
14462 2004-08-11 16:20 pbartok
14464 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
14465 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
14466 ImageListStreamer.cs, InputLanguage.cs,
14467 InputLanguageChangedEventArgs.cs,
14468 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
14469 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
14470 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
14471 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14474 2004-08-11 16:16 pbartok
14478 - Added .Net 1.1 method
14480 2004-08-11 15:25 pbartok
14483 - Fixed BindingManagerBase.cs filename
14485 2004-08-11 15:22 pbartok
14487 * BindingManagerBase.cs:
14488 - Was checked in with wrong filename
14490 2004-08-11 14:50 pbartok
14495 2004-08-11 13:41 jordi
14497 * XplatUIWin32.cs: Fixes ClientRect
14499 2004-08-11 13:19 pbartok
14501 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14503 - We had SetWindowPos and MoveWindow to set window positions and
14504 size, removed MoveWindow. We have GetWindowPos, so it made sense to
14505 keep SetWindowPos as matching counterpart
14506 - Added some X11 sanity checking
14508 2004-08-11 12:59 pbartok
14511 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
14512 (It seems that SetBounds is just a front for SetBoundsCore and
14513 SetBoundsCore updates the underlying window system and
14514 UpdateBounds is responsible for updating the variables associated
14515 with the Control and sending the events)
14516 - Major cleanup of Size handling; we now have two sizes, client_size
14517 and bounds. Bounds defines the window with decorations, client_size
14520 2004-08-11 12:55 pbartok
14522 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14523 - Added method to calculate difference between decorated window and
14526 2004-08-11 12:54 pbartok
14529 - Forcing redraw on resize
14531 2004-08-11 11:43 pbartok
14534 - Removed disposing of the actual images when the list is disposed
14536 2004-08-11 09:13 pbartok
14539 - Now properly reparents windows
14541 2004-08-11 08:37 pbartok
14546 2004-08-11 07:47 pbartok
14549 - Rewrote the collection stuff. Might not be as fast now, not
14550 keeping the number of children around and accessible directly, but
14551 it's more straightforward
14553 2004-08-11 07:44 pbartok
14555 * AccessibleObject.cs:
14556 - Fixed to match ControlCollection rewrite
14558 2004-08-11 07:43 pbartok
14561 - Added missing creation of the collection list
14563 2004-08-10 20:08 jackson
14565 * StatusBar.cs: Get the paint message from WndProc
14567 2004-08-10 19:31 jackson
14569 * ThemeWin32Classic.cs: Create Brushes as little as possible
14571 2004-08-10 19:20 jackson
14573 * UICues.cs: Add Flags attribute
14575 2004-08-10 19:19 jackson
14577 * StatusBarPanel.cs: Signature cleanup
14579 2004-08-10 19:10 jackson
14581 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
14582 Initial implementation of status bar item drawing
14584 2004-08-10 17:27 jordi
14586 * TrackBar.cs: add missing methods, properties, and restructure to
14589 2004-08-10 16:24 jackson
14591 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
14592 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
14595 2004-08-10 13:21 jordi
14597 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
14598 enhancements and standarize on win colors defaults
14600 2004-08-10 12:52 jackson
14602 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
14603 ThemeWin32Classic.cs: Implement DrawItem functionality
14605 2004-08-10 12:47 jordi
14607 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
14609 2004-08-10 12:32 jordi
14611 * Control.cs: throw ontextchange event
14613 2004-08-10 11:43 pbartok
14616 - Added more to the still unfinished Dock/Anchor layout code
14618 2004-08-10 11:39 pbartok
14620 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
14621 - Added GetWindowPos method
14623 2004-08-10 11:36 pbartok
14626 - Implemented several methods
14628 2004-08-10 09:47 jackson
14630 * TrackBar.cs: Allow control to handle buffering
14632 2004-08-10 09:41 jackson
14634 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
14636 2004-08-10 09:24 jackson
14638 * Label.cs, LinkLabel.cs: Let Control handle buffering.
14640 2004-08-10 09:09 jackson
14642 * StatusBar.cs: Let Control handle all the buffering.
14644 2004-08-10 09:08 jackson
14646 * Control.cs: Control will now handle the buffering code, so each
14647 control does not have to implement this.
14649 2004-08-10 08:34 jackson
14651 * XplatUIDriver.cs: Use default colors from the theme
14653 2004-08-09 17:12 pbartok
14656 - Fixed several bugs Ravindra pointed out
14658 2004-08-09 16:11 pbartok
14661 - Added incomplete dock layout code
14662 - Added support for mouse wheel
14664 2004-08-09 16:09 pbartok
14667 - Added handling for middle and right mousebutton
14668 - Added handling for mouse wheel
14669 - Added handling for key state and mouse state and position
14670 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
14673 2004-08-09 15:40 jackson
14675 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
14676 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
14679 2004-08-09 15:37 jackson
14681 * StatusBar.cs: Initial implementation of StatusBar
14683 2004-08-09 15:36 jackson
14685 * ITheme.cs: Add support for drawing status bar and getting status
14688 2004-08-09 15:35 pbartok
14693 2004-08-09 15:34 jackson
14695 * ThemeWin32Classic.cs: Add support for drawing status bar and get
14696 status bar item sizes
14698 2004-08-09 15:21 jackson
14700 * ThemeWin32Classic.cs: Use known colors for default control
14703 2004-08-09 15:12 jackson
14705 * ThemeWin32Classic.cs: Make the default font static, it is static
14706 in control so this doesn't change functionality and creating fonts
14709 2004-08-09 14:56 pbartok
14712 - Added GrabMode enum
14714 2004-08-09 14:55 pbartok
14716 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14717 - Removed Run method, was only required for initial development
14719 2004-08-09 14:51 pbartok
14721 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
14722 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
14725 2004-08-09 13:48 pbartok
14728 - Fixed default sizing for child windows
14730 2004-08-09 12:56 pbartok
14733 - Added generation of WM_DESTROY message
14734 - Added handling of window manager induced shutdown
14736 2004-08-09 11:31 jackson
14738 * ThemeWin32Classic.cs: New names for control properties
14740 2004-08-09 11:25 jackson
14742 * Control.cs: Use new color names
14744 2004-08-09 11:02 jackson
14746 * XplatUI.cs: Get default window properties from the theme
14748 2004-08-09 11:01 jackson
14750 * ITheme.cs: The theme engine now controls default window
14753 2004-08-09 11:00 jackson
14755 * ThemeWin32Classic.cs: Add default window color properties
14757 2004-08-09 10:17 jackson
14759 * ThemeWin32Classic.cs: Use correct default back color
14761 2004-08-09 10:05 jackson
14763 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
14766 2004-08-09 09:56 jackson
14768 * XplatUI.cs: Remove defaults, these are handled by the theme now.
14770 2004-08-09 09:54 jackson
14772 * Control.cs: Get default properties from the theme.
14774 2004-08-09 09:53 jackson
14776 * ITheme.cs: Themes now handle default control properties
14778 2004-08-09 09:53 jackson
14780 * ThemeWin32Classic.cs: Themes now handle default control
14781 properties so coloring will be consistent
14783 2004-08-08 16:54 jordi
14785 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
14787 2004-08-08 15:08 jordi
14789 * XplatUIX11.cs: fixes keyboard crash
14791 2004-08-08 13:47 jordi
14793 * Label.cs: add cvs header info
14795 2004-08-08 12:09 jackson
14797 * ThemeWin32Classic.cs: Add pen_buttonface
14799 2004-08-08 11:52 jordi
14801 * Label.cs, LinkLabel.cs: [no log message]
14803 2004-08-08 11:34 jordi
14805 * ThemeWin32Classic.cs: Use Windows Standard Colours
14807 2004-08-07 17:32 jordi
14809 * TrackBar.cs: throw exceptions of invalid enums values
14811 2004-08-07 17:31 jordi
14813 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
14816 2004-08-07 16:56 jackson
14818 * HorizontalAlignment.cs: Initial checkin
14820 2004-08-07 13:16 jordi
14822 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
14825 2004-08-07 13:05 jordi
14827 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
14828 GetSysColor defines
14830 2004-08-06 18:01 pbartok
14832 * ThemeWin32Classic.cs:
14833 - Fixed some rounding issues with float/int
14835 2004-08-06 18:00 jackson
14837 * DockStyle.cs, AnchorStyles.cs:
14839 Add flags and serializable attributes.
14841 2004-08-06 17:46 pbartok
14844 - Implemented GetParent
14846 2004-08-06 17:18 pbartok
14849 - Fixed some rounding issues with float/int
14851 2004-08-06 17:17 pbartok
14853 * X11Structs.cs, XplatUIX11.cs:
14854 - Fixed Refresh and Invalidate
14856 2004-08-06 15:30 pbartok
14858 * Control.cs, X11Structs.cs, XplatUIX11.cs:
14859 - Fixed recursive loop when resizing
14860 - Improved/fixed redrawing on expose messages
14862 2004-08-06 09:53 jordi
14864 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
14865 keyboard navigation
14867 2004-08-06 08:02 pbartok
14869 * X11Structs.cs, XplatUIX11.cs:
14870 - Fixed reparenting
14871 - Fixed window border creation
14873 2004-08-05 15:38 pbartok
14876 - Attempted fix for reparenting problems
14878 2004-08-04 15:14 pbartok
14881 - Fixed Invalidation bug (calculated wrong client area)
14882 - Added ClientSize setter
14884 2004-08-04 15:13 pbartok
14887 - Added AutoScale properties
14889 2004-08-04 15:13 pbartok
14892 - Added latest files
14894 2004-08-04 14:11 pbartok
14896 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
14898 - Added Invalidate handling
14900 2004-08-03 17:09 jordi
14902 * XplatUIDriver.cs: fixes spelling mistake
14904 2004-07-27 09:53 jordi
14906 * TrackBar.cs: fixes trackbar events, def classname, methods
14909 2004-07-27 09:29 jordi
14911 * ScrollBar.cs: fixes scrollbar events
14913 2004-07-27 04:38 jordi
14915 * Control.cs: changes to be able to run winforms samples
14917 2004-07-26 11:42 jordi
14919 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
14920 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
14922 2004-07-26 05:41 jordi
14924 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
14925 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
14928 2004-07-22 09:22 jordi
14930 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
14931 check link overlapping, implement events, and fixes
14933 2004-07-21 10:28 jordi
14935 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
14937 2004-07-21 10:19 jordi
14939 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
14940 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
14941 LinkLabelLinkClickedEventArgs.cs,
14942 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
14943 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
14946 2004-07-19 13:09 jordi
14948 * Control.cs, Label.cs: label control re-written: added missing
14949 functionlity, events, and properties
14951 2004-07-19 10:49 jordi
14953 * Control.cs: fixes SetBounds logic
14955 2004-07-19 01:29 jordi
14957 * Control.cs: Call RefreshWindow only if the window has created
14959 2004-07-15 14:05 pbartok
14961 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
14962 - Implemented ImageList and ImageList.ImageCollection classes
14963 - Added ColorDepth enumeration
14964 - Updated SWF VS.Net project
14966 2004-07-15 11:06 jordi
14968 * XplatUIStructs.cs: added MsgButons enum
14970 2004-07-15 11:03 jordi
14972 * Control.cs: added basic mouse handeling events
14974 2004-07-15 03:38 jordi
14976 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14977 Vertical TrackBar control implementation
14979 2004-07-13 09:33 jordi
14981 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14983 2004-07-13 09:31 jordi
14985 * Control.cs, Form.cs: commit: new properties and fixes form size
14988 2004-07-09 14:13 miguel
14990 * ProgressBar.cs: Spelling
14992 2004-07-09 11:25 pbartok
14995 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14998 2004-07-09 11:17 miguel
15000 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
15002 * ProgressBar.cs: Fixed spelling for `block'
15004 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
15007 Avoid using the += on rect.X, that exposed a bug in the compiler.
15009 2004-07-08 23:21 pbartok
15011 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
15012 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
15013 BaseCollection.cs, Binding.cs, BindingContext.cs,
15014 BindingMemberInfo.cs, BindingsCollection.cs,
15015 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
15016 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
15017 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
15018 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
15019 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
15020 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
15021 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
15022 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
15023 FrameStyle.cs, GiveFeedbackEventArgs.cs,
15024 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
15025 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
15026 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
15027 InputLanguageChangedEventArgs.cs,
15028 InputLanguageChangedEventHandler.cs,
15029 InputLanguageChangingEventArgs.cs,
15030 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
15031 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
15032 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
15033 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
15034 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
15035 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
15036 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
15037 QueryAccessibilityHelpEventArgs.cs,
15038 QueryAccessibilityHelpEventHandler.cs,
15039 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
15040 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
15041 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
15042 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
15043 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
15044 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
15045 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
15046 XplatUIX11.cs, lang.cs: