1 2006-06-02 Mike Kestner <mkestner@novell.com>
3 * ComboBox.cs: restructure grab and general mouse event handling.
4 Make the composite control raise mouse events like it was a single
5 control for leaves/enters/motion/up/down events. fix dropdown list
6 coordinate mangling and refactor it into the scrollbar subclass to
7 reduce code duplication. Fixes #78282 #78361 and #78457.
9 2006-06-02 Mike Kestner <mkestner@novell.com>
11 * ScrollBar.cs: remove Capture setting/clearing, as it happens
12 automatically in the Control.WndProc.
14 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
16 * FileDialog.cs: fix crash when running SharpChess, which sets the
17 FilterIndex to 2 with only one Filter.
19 2006-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
21 * ToolBar.cs: add SizeSpecified property.
22 * ToolBarButton.cs: when the ButtonSize is calculated by the container,
23 try to figure out our real size, otherwise fallback to what the
26 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
28 * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
29 * Control.cs (WndProc): MS always calls the DefWndProc to pass
32 2006-06-01 Mike Kestner <mkestner@novell.com>
34 * ListView.cs: revamp the focus management in ListView. It still
35 causes churn of LostFocus/GotFocus emissions on clicks, but it's
36 better than not handling focus at all. Will revisit when pdb feels
37 the general focus handling is solid. Fixes #78526.
39 2006-06-01 Jackson Harper <jackson@ximian.com>
41 * TreeView.cs: Set the default border style in the constructor.
42 - Move painting to use OnPaintInternal instead of capturing
43 WM_PAINT, this is the correct way of doing things
44 - UpdateBelow shouldn't invalidate the scrollbar area
45 - Cap the top on update below in case the node was above the top
46 of the viewport rectangle.
47 - ExpandBelow and Collapse below need to obey Begin/End Update.
48 * TreeNode.cs: Make is_expanded internal so the treenode
49 collection can change it without firing the whole event chain.
50 * TreeNodeCollection.cs: When clearing all the child nodes make
51 sure to recalc the visible order.
52 - Improve algo for remove the top node
54 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
56 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
57 SendMessage directly calling window procedures, which in turn might
60 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
62 * Control.cs: Don't handle WM_SETFOCUS if the same window already
63 has focus (works around X11 sending a FocusIn after our SetFocus)
64 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
66 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
68 * Mime.cs: Fix for the NET_2_0 build.
69 NameValueCollection needs StringComparer now.
71 2006-05-31 Chris Toshok <toshok@ximian.com>
73 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
74 return (via an out parameter) the starting X of the column.
75 (UpdateVisibleColumn): track change to FromPixelToColumn.
76 (HitTest): add a ColumnResize case here.
77 (DrawResizeLine): new function, probably poorly named.
79 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
80 only need to keep one reference.
81 (set_ListManager): same.
82 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
83 Also, add support for HitTestType.ColumnResize.
84 (OnMouseMove): add column resize behavior here, and change the
85 cursor to the correct one as we move around the datagrid.
86 (OnMouseUp): terminate the column resize if we're resizing.
87 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
89 (ConnectListManagerEvents): use cached_currencymgr.
90 (DisconnectListManagerEvents): fill this in, using
92 (SetCurrentCell): remove cached_currencymgr_events handling.
93 (SetDataMember): only call DisconnectListManagerEvents if
94 cached_currencymgr is != null.
95 (SetDataSource): same.
96 (OnListManagerCurrentChanged): cached_currencymgr_events ->
99 2006-05-31 Jackson Harper <jackson@ximian.com>
101 * BindingManagerBase.cs: Remove somedebug code that creeped into
103 * TreeNode.cs: We get the indent level dynamically right now, so
104 don't track it as a member.
105 * TreeNodeCollection.cs: Make sure all nodes added to the list
106 have parents, treeviews/topnodes setup properly.
107 - Don't attempt to track indent level.
109 2006-05-30 Jackson Harper <jackson@ximian.com>
111 * BindingContext.cs: Create the currency manager tables here.
112 This allows us to more easily create null tables (when bad data
113 members are used), and more easily create related currency
115 * CurrencyManager.cs: All the table creation stuff is done by the
117 - Current should throw an exception if listposition is -1.
118 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
121 2006-05-30 Mike Kestner <mkestner@novell.com>
123 * ListView.cs: allow reexpansion of zero-width column headers.
126 2006-05-28 Chris Toshok <toshok@ximian.com>
128 * CurrencyManager.cs (get_Current): after the late binding
129 listposition = -1 fix, we need to guard against it here and return
130 null, otherwise we raise an exception (which is swallowed
131 elsewhere, and breaks datagrid databinding.)
133 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
135 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
136 than WM_SYSKEY, don't throw if get something unexpected (#78507)
138 2006-05-26 Jackson Harper <jackson@ximian.com>
141 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
142 values, it's faster and it's all we care about (we don't care if
143 the names aren't equal).
144 * KeyboardLayouts.cs: Eliminate some dead code.
146 * X11Keyboard.cs: Lazy init keyboard detection.
147 - Cleanup access modifiers a little.
149 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
151 * XplatUIX11.cs: Once again, attempting to get layout just right.
153 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
155 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
156 the sizes of each link section, that will result in sizes that
157 match DrawString's layout (Fixes #78391)
159 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
161 * FileDialog.cs: If AddExtension property is true autocomplete the
162 extensions in SaveFileDialog correctly. Fixes bug #78453.
163 Set MyNetwork and MyComputer to "C:\" for windows. This should
164 fix part 8 of bug #78446 for now.
166 2006-05-26 Chris Toshok <toshok@ximian.com>
168 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
169 invalidate the current row header if we need to, but presumably
170 we'll invalidate the row corrsponding to the bounds or
172 (GridHScrolled): switch back to this method, as it's part of the
174 (GridVScrolled): same.
175 (OnMouseWheel): hack up something that more or less works. Call
176 GridHScrolled/GridVScrolled directly, instead of duplicating much
178 (EnsureCellVisibility): reinstate a bunch of this code, since we
179 can't just set the scrollbar Value and expect to do all the work
180 in the ValueChanged handler. Also, Call Update() after scrolling
181 in one direction so the other XplatX11.ScrollWindow call has the
182 proper stuff in the proper places.
183 (EditCell): set is_editing to true before calling .Edit.
185 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
186 don't bother comparing first.
187 (OnKeyPress): call grid.ColumnStartedEditing before calling
188 base.OnKeyPress. this will set is_changing and invalidate the row
190 (ProcessKeyMessage): for WM_CHAR messages, call
191 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
194 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
195 it's done in the DataGrid.
196 (NextState): call grid.ColumnStartedEditing, which takes care of
197 invalidating the row header (and setting is_changing).
199 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
200 here. it's done in the DataGrid.
202 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
204 * Control.cs: allow changing the cursor when the mouse position is
205 out of bounds but Capture is set.
206 * LinkLabel.cs: handle the case when the mouse button is pressed on the
207 linklabel but released somewhere else.
209 2006-05-25 Jackson Harper <jackson@ximian.com>
211 * TreeView.cs: When we get focus if there is no selected node make
213 - Remove some uneeded setup code from Draw.
214 * TreeNodeCollection.cs: If the tree doesn't have a top node when
215 a new node is inserted make the new node the top.
217 * Timer.cs: Use Utc time so that no local time zone stuff needs to
218 be used (should be faster).
220 2006-05-25 Chris Toshok <toshok@ximian.com>
222 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
223 problem with the last commit.
225 2006-05-25 Chris Toshok <toshok@ximian.com>
227 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
228 need the invalidate call here, while scrolling right-to-left via
229 the left arrow key (i.e. moving the editing cell while scrolling).
231 * DataGrid.cs (.ctor): remove the initialization of
232 ctrl_pressed/shift_pressed. We no longer track them using key
233 up/down handlers, but by using Control.ModifierKeys. Also, switch
234 to using ValueChanged handlers on the scrollbars instead of
235 Scrolled event handlers. This simplifies a bunch of the scrolling
237 (GridHValueChanged): rename from GridHScrolled, and change it to
238 work with the new event args.
239 (GridVValueChanged): same.
240 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
241 (OnMouseWheel): actually scroll the datagrid. Don't change the
243 (ProcessGridKey): correct all the keyboard navigation stuff I
244 could find. Ctrl up/down/left/right/home/end work now.
245 (EnsureCellVisibility): correct method name spelling. Also,
246 simplify this a touch by not explicitly calling the
247 ScrollToRow/ScrollToColumnInPixels methods. We just set the
249 (OnKeyUpDG): no need for this method now.
251 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
253 * LinkLabel.cs: display the OverrideCursor when hovering the label.
256 2006-05-25 Chris Toshok <toshok@ximian.com>
258 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
261 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
263 * Application.cs: Moved setting of is_modal and closing to before
264 we create the control, to allow the event handlers called as a
265 result of creation affect closing. Also removed Gonzalo's previous
266 change to setting DialogResult, the behaviour has been moved to
269 - ShowDialog(): Removed explicit creation of the form, let RunLoop
271 - ShowDialog(): If no dialog result is set, we need to return Cancel
272 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
273 the close is cancelled
275 2006-05-25 Jackson Harper <jackson@ximian.com>
277 * StatusBar.cs: We only need to update the sizes of the other
278 panels when we have auto size contents. Also we are only updating
279 the contents of the panel, not the borders, so compensate for the
280 border width (TODO: get this width from the theme somehow).
281 * TreeView.cs: Scrollable is true by default
282 - Use invalidate instead of refresh where needed
283 - Factor the scrollable value into scrollbar updating
284 - Update the scrollbars if the Scrollable property is altered
285 - Update the selected node if its ImageIndex is changed
286 - Handle null nodes in UpdateNode (mainly so we don't have to
287 check if selected is null when updating it
288 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
289 are factored into the visible count
290 - Use VisibleCount for clarity in the code
291 - When the font is changed we need to recurse through all the
292 nodes and invalidate their sizes
294 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
296 * Application.cs: set the DialogResult to fixed when the main form is
297 hidden or destroyed while being modal.
299 2006-05-25 Miguel de Icaza <miguel@novell.com>
301 * Theme.cs: Use Tangoified messagebox icons.
303 (GetSizedResourceImage): Also cope with width = 0 and do not
304 trigger a warning in that case (0 means "give me your icon from
305 the resouce, no special size needed).
307 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
309 * Application.cs: Leave runloop if the the main modal form is
310 hidden (fixes #78484)
312 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
314 * BindingContext.cs : reject null datasource in Contains() and
316 * CurrencyManager.cs : check data_member validity when data_source
317 is dataset. When it is late binding, the initial position is -1.
319 2006-05-24 Jackson Harper <jackson@ximian.com>
321 * TreeNodeCollection.cs: Dont't recalculate the visible order on
322 inserted nodes that aren't visible. This changes the
323 max_visible_order which confuses scrollbar settings.
324 - Use the enumerator to get the prev node instead of duplicating
326 * TreeView.cs: Use new method for setting scrollbar values
327 - Don't set the bounds every time the scrollbar is updated
328 - When updating below the root node use an invalidate instead of a
329 refresh to prevent the child controls (scrollbars) from being
330 refreshed. (UpdateBelow still needs to be reworked anyways).
331 - Reenable SetBottom now that visible orders are set correctly,
332 added some debug code incase we ever get bad values there again.
333 - Set the scrollbar max to 2 less then the max value, this
334 compensates for the max value being one above the node count, and
335 for scrollbars adding one extra "notch".
336 - When drawing image nodes if there is an imagelist we draw the
337 first image in the list if the supplied image index is out of the
340 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
342 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
343 we receive a size change from the WM (Fixes #78503)
345 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
347 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
348 rectangle (Fixes #78501)
350 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
353 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
355 - Fixed MouseMove to no longer switch pressed state unless the left
356 mouse button is pressed. Atsushi provided the original patch (#78485)
358 2006-05-24 Jackson Harper <jackson@ximian.com>
360 * ScrollBar.cs: New internal methods that allow us to change a
361 couple values on the scrollbar (the most common case is maximum
362 and large change) without getting multiple invalidates.
364 2006-05-24 Chris Toshok <toshok@ximian.com>
366 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
367 (Edit): save off the original state in oldState, and set
368 grid.is_editing to true.
369 (OnKeyDown): abort editing if escape is pressed. also, call
370 NextState if space is pressed.
371 (OnMouseDown): call NextState.
372 (NextState): factor out shared code from OnKeyDown and OnMouseDown
373 here. Also, only invalidate the row header once (on the initial
374 is_changing switch) to save on redraws.
376 2006-05-24 Chris Toshok <toshok@ximian.com>
378 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
379 if the value in the cell is different than it was before. This
380 keeps us from triggering a layout when we move around a datarid
381 with a highlighted cell.
382 (Edit): suspend layout when creating/positining the text box, and
383 resume passing false so we don't ever actually re-layout.
384 (ReleaseHostedControl): same.
385 (EnsureTextBox): reformat slightly, and set WordWrap to false.
387 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
388 control-key sequences should go to the datagrid - remove that
389 lock. Also, modify the conditions under which we move between
390 cells when moving the cursor within a cell, and remove the "this"
391 and "base" from field accesses. We weren't even consistent, given
392 they all were in the base class.
394 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
396 * Binding.cs : (.ctor)
397 An obvious NRE fix for BindingTest.CtorNullTest().
399 2006-05-23 Chris Toshok <toshok@ximian.com>
401 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
402 them between lines. This fixes some quirks editing cells in the
405 2006-05-23 Jackson Harper <jackson@ximian.com>
407 * TreeView.cs: Use begin/end update when doing expand/collapse all
408 so that we don't get flicker on the scrollbar.
410 2006-05-23 Jackson Harper <jackson@ximian.com>
412 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
413 treenode calculations to be independant of the painting code. To
414 do this nodes track a visible order which is calculated by the
416 - Call new methods for expanding/collapsing nodes. These methods
417 use scrollwindow so we don't have to update everything below the
419 * TreeView.cs: Refactored drawing and scrolling code. We don't
420 need to update nodes when drawing anymore or calculate scrollbar
422 - Added new methods for expanding/collapsing nodes. These methods
423 use ScrollWindow so as to not have to redraw all the nodes below.
424 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
425 we add/remove nodes or sort.
426 - Handle removing the selected and the top node properly.
428 2006-05-23 Chris Toshok <toshok@ximian.com>
430 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
431 maybe this should actually happen in the datagrid code?
432 (EndEdit): no need to invalidate anything, given that
433 ReleaseHostedControl causes the datagrid to relayout, which
434 invalidates everything anyway.
436 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
438 (set_SelectionBackColor): call InvalidateSelection instead of
440 (set_SelectionForeColor): same.
441 (BeginEdit): Flesh this out a bit.
442 (CancelEditing): only do any of this if we're editing/adding.
444 (OnMouseDown): there's no need to cancel editing here, it's done
446 (SetCurrentCell): only invalidate the current row header if it's a
447 different row than the new one.
448 (ShiftSelection): fix this to work like MS does.
449 (ResetSelection): factor out the invalidation of selected_rows to
451 (SetDataSource): cancel any editing that's going on.
453 * DataGridColumnStyle.cs
454 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
455 call the non-interface version.
457 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
458 header rectangle with the clip rectangle so we don't redraw the
459 entire header for just a small area. Gets rid of the last flicker
460 when horizontally scrolling.
461 (DataGridPaintRow): same.
463 2006-05-23 Mike Kestner <mkestner@novell.com>
465 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
466 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
467 poorly placed checkbox on the MS control. Fixes Alex's unfiled
470 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
472 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
473 and this fixes #78493
475 2006-05-23 Miguel de Icaza <miguel@novell.com>
477 * Theme.cs (GetSizedResourceImage): Scale images if the proper
480 * FileDialog.cs: Do not change the background for the side bar as
481 it wont work nicely with the theme, and also reduces the artifacts
482 in rendering the icons (which I want to fix too).
484 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
485 resources, not resgen resources.
487 (PlatformDefaultHandler): Pull images using the new API.
489 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
491 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
492 a reference to the hwnd and will not remove it unless there are
493 no pending exposures (fixes #78341)
494 * XplatUI.cs: Improved debug
496 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
498 * MenuAPI.cs : don't handle OnClick event when it was not the left
499 button. Fixed bug #78487.
501 2006-05-23 Mike Kestner <mkestner@novell.com>
503 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
504 prefer submenus to the top menu for item lookup, to avoid popping down
507 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
509 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
510 Graphics.FillRectangle as the visual results are really bad (even
511 on win). We now draw perfect arrows (and perfect shadows when the
512 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
513 Pen.DashPattern to draw the dots of each line.
515 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
517 * FileDialog.cs: Update the filename combobox when navigating through
518 the ListView with the cursor keys. Fixes part 7 of bug #78446.
520 2006-05-22 Mike Kestner <mkestner@novell.com>
522 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
525 2006-05-22 Mike Kestner <mkestner@novell.com>
527 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
528 requests. Fix a misspelled parameter and a copy paste exception error
531 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
533 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
534 to get the same width/height (5/13) on X11 as the default font has on
535 win32. This means that our DefaultFont emSize is smaller than the
536 the MS SWF equivalent (even thought the width/height stays the same)
538 2006-05-20 Jackson Harper <jackson@ximian.com>
541 * MdiWindowManager.cs:
542 * InternalWindowManager.cs: Make sure to use the border width from
545 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
547 * PrintDialog.cs: Implements printer details
549 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
551 * FileDialog.cs: Added focus handling for PopupButtonPanel.
552 Fixes part 1 and 2 of bug #78446
554 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
556 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
557 instead of sticking to the first ever calculated value
559 2006-05-19 Mike Kestner <mkestner@novell.com>
561 * ComboBox.cs: fix mouse motion selection to use MousePosition and
562 PointToClient, since Capture is set. Fixes #78344.
564 2006-05-19 Mike Kestner <mkestner@novell.com>
566 * ListView.cs: match MS behavior in Details view where items are not
567 drawn if Columns.Count == 0.
568 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
569 Use a separate pen to draw the check, since changing the width affects
570 the box as well. Fixes #78454.
572 2006-05-18 Miguel de Icaza <miguel@novell.com>
574 * ListView.cs: ArgumentOutOfRangeException, single versions of the
575 exception should throw the name of the invalid argument.
577 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
578 there are no files listed.
580 2006-05-18 Jackson Harper <jackson@ximian.com>
582 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
585 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
587 * Control.cs: Brought back our old UpdateZOrder method as a private
588 function and switched our calls from UpdateZOrder to the new one.
589 This fixes the Paint.Net canvas disappearing bug.
591 2006-05-18 Jackson Harper <jackson@ximian.com>
594 * ThemeWin32Classic.cs:
595 * InternalWindowManager.cs: Move the drawing into the theme,
596 expose everything the theme should need from the window manager.
598 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
600 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
601 from the call to NativeWindow to avoid walking up the parent chain
602 further than needed (speeds up setting cursors and avoids setting
603 the wrong cursor if a parent has another cursor defined)
604 * Cursor.cs: When loading an icon as cursor, MS uses the center of
605 the icon as hotspot, not what's contained as hotspot in the icon
606 file. This fixes the perceived drawing offset seen with Paint.Net
608 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
611 - Store the calculated rectangle in Hwnd object and use it when
612 setting the client size
613 - Force Toolwindows to always be type Dock, to ensure they're on top
615 2006-05-18 Mike Kestner <mkestner@novell.com>
617 * ComboBox.cs: first pass at ComboBox rework. Layout is more
618 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
619 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
620 Substantial refactoring to remove confusing nested classes. Coding
621 standard and Get+Set->property refactorings. Shift to index based
622 highlighting in ComboListBox instead of constantly using IndexOf and
623 Items[]. Add invalidations on resize for DropDownList to fix ugliness
624 in FileDialog growth. Draw borders manually since Simple mode needs
625 to look like two independent controls. Make listbox border
626 conditional to DropDownStyle. Improved OwnerDraw support.
628 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
630 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
631 Don't set the disposed graphics to null, so we can throw the "right"
632 exception if the graphics is reused later (added a flag to avoid
633 double disposing). Some behaviours are different under 2.0 and are
634 filled under bug #78448.
636 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
638 * Control.cs: When double-buffering is enabled, we need to reset
639 our graphics context between paint calls. Otherwise, any
640 transformations and other alterations on the context will
641 become cumulative (#77734)
643 2006-05-18 Mike Kestner <mkestner@novell.com>
645 * ListView.cs: do focused item selection like MS on clicks.
646 Rework focus handling for ItemControl so LostFocus invalidates as
648 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
649 the ListView ItemControl has focus.
651 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
653 * XplatUIX11.cs: If client_window ends up being width or height zero
654 due to border settings, move it off window inside whole_window (#78433)
656 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
658 * Mime.cs: Shrink the mime file cache correctly.
660 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
662 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
664 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
666 * XplatUIX11.cs (AddExpose): More sanity checks
668 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
671 - AddExpose: Don't add expose ranges outside the size of our
673 - Cast opacity values to Int32 to avoid crashes with certain
675 - Added disabled code paths that protect against illegal cross-
676 thread painting (Developers.exe)
678 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
680 * ProgressBar.cs: Invalidate the control when it's resized
681 since block size is based on control size. (#78388)
683 2006-05-16 Miguel de Icaza <miguel@novell.com>
685 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
686 of setting the incoming argument to the "reset" value, we set the
687 this.datamember to string.empty (before we were invalidating the
692 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
694 * Form.cs: Only apply transparency settings after the form
695 is created. (Fixes #77800)
697 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
699 * ApplicationContext.cs: Grab the HandleDestroyed event so
700 we know when to fire OnMainFormClosed
702 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
704 * Application.cs: Introduced sub-class to allow tracking of
705 threads and centralized triggering of the event mess for
706 ThreadExit, AppExit, etc.. (#76156)
708 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
711 - Do not return a null icon index value for a mime subclass.
712 Instead try the main mime type class too.
713 - Seems that some newer distributions don't have a link to some
714 gnome default icons anymore. So check the default gnome dir too.
717 2006-05-16 Jackson Harper <jackson@ximian.com>
719 * MdiClient.cs: Don't paint the parent background image if we have
720 our own background image.
722 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
725 - PerformLayout: Do not shrink space filled by DockStyle.Fill
726 controls, all filled controls are supposed to overlap (#78080)
727 - UpdateZOrder is supposed to update the control's z-order in the
728 parent's z-order chain. Fixed to behave like that
729 - BringToFront: Removed obsolete code
730 - SendToBack: Simplyfied
731 - SetChildIndex: Trigger layout calculations when Z-order changes
732 since layout is done by z-order
734 2006-05-16 Chris Toshok <toshok@ximian.com>
737 * DataGrid.cs (set_AlternatingBackColor): use
738 grid_drawing.InvalidateCells instead of Refresh().
739 (set_BackColor): call grid_drawing.InvalidateCells.
740 (set_BackgroundColor): use Invalidate instead of Refresh.
742 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
743 invalidate the cell area.
745 2006-05-15 Chris Toshok <toshok@ximian.com>
748 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
749 on to DataGridPaintRow.
750 (DataGridPaintRow): take a clip argument, and only draw the cells
751 which intersect it. same with the not_usedarea.
753 * Theme.cs (DataGridPaintRow) add @clip parameter.
755 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
756 XplatUI.ScrollWindow.
759 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
760 with last column which was causing a gray swath to appear with the
761 XplatUI.ScrollWindow code.
763 2006-05-15 Chris Toshok <toshok@ximian.com>
765 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
766 use XplatUI.ScrollWindow.
767 (VerticalScrollEvent): use XplatUI.ScrollWindow.
769 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
771 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
773 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
775 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
776 file since there are no equivalent X11 cursors
778 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
780 * MonthCalendar.cs : DateTimePicker should reflect selected date
781 on mouse*up*, not mouse*down*. Fixed originally reported part of
784 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
786 * TabControl.cs : When argument index is equal or more than tab
787 count, just ignore. Fixed bug #78395.
789 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
791 * Control.cs: Dispose all child controls when control is diposed (#78394)
793 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
795 * ColorDialog.cs: Finally it is possible to select the color with
798 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
800 * PrintDialog.cs: Fix typo
802 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
804 * PrintDialog.cs: PrintDialog is not resizable
805 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
806 color. Made some ToolBar drawing methods protected virtual.
808 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
810 * PrintDialog.cs: Implementation of the PrintDialog
812 2006-05-12 Chris Toshok <toshok@ximian.com>
814 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
815 thumb, instead use MoveThumb. This has the side effect of making
816 most of the other thumb moving machinery use MoveThumb as well.
817 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
818 need to actually invalidate the rectangle where the new thumb will
820 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
821 We force an Update() after, so it's not as fast as it could be,
822 but at least there's zero flicker and no droppings.
823 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
824 (UpdateThumbPos): add another argument (dirty), which says whether
825 or not to calculate/add dirty regions which we later invalidate.
826 For cases where we know we're going to use MoveThumb, we pass
827 false for this. Otherwise, pass true.
829 2006-05-12 Jackson Harper <jackson@ximian.com>
831 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
834 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
836 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
837 and GetClipRegion methods and UserClipWontExposeParent property.
838 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
839 overriding UserClipWontExposeParent property, setting to false, since
840 Win32 handles the required expose messages to draw our clipped parent
842 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
843 PaintEventStart to set the user clip region if set.
845 - Now internally tracking the Region for the control since we need to
846 store it if the handle is not yet created and only set it when it
847 becomes created. Before setting the region forced handle creation
848 - Added code to draw the parents underneath a user-clipped region
849 * Hwnd.cs: Added UserClip property
851 2006-05-12 Chris Toshok <toshok@ximian.com>
853 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
856 (set_SmallChange): same.
857 (OnMouseUpSB): remove the call to refresh when releasing the
858 thumb. We shouldn't need it.
860 2006-05-12 Miguel de Icaza <miguel@novell.com>
862 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
863 AutoSize set to None, we do not need to relayout everything, we
864 just need to invalidate the current region.
866 (Draw): Do not draw the entire ClientArea, just redraw the
867 clip area being passed.
869 * MdiClient.cs: Make MdiClient constructor with the Form argument
872 2006-05-12 Jackson Harper <jackson@ximian.com>
874 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
875 parents background image, but strangely not their own.
876 - (DrawStatusBarPanel): Take into account horizontal alignment
877 when drawing the strings and icons.
879 2006-05-12 Mike Kestner <mkestner@novell.com>
881 * ListBox.cs: avoid invalidations for focus when the collection is
884 2006-05-12 Chris Toshok <toshok@ximian.com>
886 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
887 invalidate the entire thumb area. Call InvalidateDirty which
888 limits the redraw to the thumb itself and surrounding pixels.
890 * XplatUIX11.cs (ScrollWindow): optimize copying.
892 2006-05-12 Chris Toshok <toshok@ximian.com>
894 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
895 Figure out the positioning/layout in a single pass instead of
896 multiple recursive invocations. Speeds up the initial display of
897 the data grid. Also, make many things private that were
898 originally public but unused outside this class.
900 2006-05-11 Jackson Harper <jackson@ximian.com>
902 * MdiClient.cs: Improved layout code.
904 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
906 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
909 2006-05-11 Chris Toshok <toshok@ximian.com>
911 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
912 union of that will always be {0,0,width,height}.
914 2006-05-11 Jackson Harper <jackson@ximian.com>
916 * Form.cs: Match MS's DefaultSize for forms (they must have
917 changed the size in sp2).
919 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
921 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
923 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
925 * TextControl.cs : Fixed bug #78109. This incorrect position
926 comparison caused crash on automatic line split.
927 * TextBoxBase.cs : reduce duplicate code.
929 2006-05-10 Jackson Harper <jackson@ximian.com>
931 * MdiClient.cs: Active form is only sent to the back when using
932 the Next form functionality, when a form is clicked the current
933 active shouldn't be sent to the back.
934 - Layout the mdi windows when the container is first made visible.
935 * Form.cs: Give the MdiClient a ref to the containing form when we
938 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
940 * LinkLabel.cs : link_font could be uninitialized, so populate one
941 before actual use. Fixed bug #78340.
943 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
945 * XplatUIX11.cs : clipboard format native value is IntPtr.
948 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
951 - Instead of showing context menus directly we send WM_CONTEXTMENU,
952 which is passed up the parent chain by DefWndProc
953 - We now handle WM_CONTEXTMENU to display any menu, or pass it
954 to DefWndProc (#77956)
955 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
957 2006-05-10 Jackson Harper <jackson@ximian.com>
959 * MdiClient.cs: We need to remove the controls from the mdi
960 collection, when we close the window.
961 * MdiWindowManager.cs: Special handling of closing mdi windows.
962 * InternalWindowManager.cs: Make the close method virtual so the
963 mdi window manager can handle it specially.
965 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
968 - Recalculate grid when the data source has changed
969 - Matches styles provided by user from all data sources types
970 * DataGridTableStyle.cs: For columns that provided by the user set the
971 with the preferred value is there was unassigned.
972 * CurrencyManager.cs: throw OnItemChanged event
974 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
976 * PictureBox.cs: Don't animate until handle is created. Start animation
977 when handle is created.
979 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
981 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
983 * XEventQueue.cs: We don't need to provide the extra info
985 2006-05-10 Jackson Harper <jackson@ximian.com>
987 * MdiClient.cs: If the mdi clients parent form has a background
988 image set, we draw that background image for the mdi area's
991 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
993 * TextBoxBase.cs: Set IBeam cursor (#78347)
995 2006-05-10 Mike Kestner <mkestner@novell.com>
997 * ToolBar.cs: fix some text padding issues with ButtonSize
998 calculation. Update the default size to match MS documentation.
999 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
1000 button size. Fixes #78296.
1002 2006-05-10 Mike Kestner <mkestner@novell.com>
1004 * ListBox.cs: use is_visible for scrollbar positioning in case the
1005 control isn't on screen yet. Fix off by one with Right vs Width
1006 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
1008 2006-05-10 Jackson Harper <jackson@ximian.com>
1010 * X11Dnd.cs: Drop to a control with another control on top of it.
1011 * ToolBar.cs: Work on a copy of the buttons list, so that it can
1012 be modified in click handlers. TODO: Look for similar problems in
1015 2006-05-09 Jackson Harper <jackson@ximian.com>
1017 * Form.cs: Window managers need the old window state when setting
1019 * InternalWindowManager.cs: Allow the base mdi window manager to
1020 handle more of the MDI only stuff (like maximize buttons).
1021 * MdiWindowManager.cs: Fix some snafus in changing the window
1022 state. Add all the menu functionality, for both popup and
1024 * MdiClient.cs: When a new form is selected the currently
1025 activated form is sent to the back, this matches MS.
1026 - Implement a new method to activate the next mdi child window.
1028 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1031 - Added new InternalCapture method to allow controls to prevent
1032 the capture behaviour on the click handlers
1033 - Switched to use InternalCapture
1035 - Using InternalCapture to prevent mouse captures from being released
1036 on mouse button release (Fixes #78100)
1037 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
1038 returns Form borders if a caption is present. (Fixes #78310)
1040 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
1042 * TreeNode.cs: Changed serialization .ctor to not require every field
1043 to be present. (#78265)
1044 * OwnerDrawPropertyBag.cs: Added serialization .ctor
1046 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
1048 * MimeIcon.cs: for is faster than foreach for strings.
1050 2006-05-05 Mike Kestner <mkestner@novell.com>
1052 * CheckedListBox.cs: update check handling code to not use selected.
1053 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1054 behavior for visual feedback, motion response, shift/ctrl handling,
1055 and properly deal with all 4 selection modes. Updates to bounds
1056 handling logic. Add scroll wheel support. [Fixes #77842]
1058 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1061 - Moved adding of Implicit controls into .ctor. That way, subsequent
1062 creation of the controls will not cause them to think they are
1063 toplevel windows (fixes #78200 header problem)
1064 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1065 - Switched visibility setting of header control to use internal field
1066 to avoid triggering handle creation
1067 - Now checking if handle is created before causing a refresh when items
1068 are added (This makes us now match handle creation time with MS)
1069 * Splitter.cs: Removed loading of private splitter cursor, switched to
1070 Cursors version now that that is loading the right ones
1071 * Cursors.cs: Load proper splitter cursors from resources
1072 * Cursor.cs: Added second method of loading resource cursors for the
1073 VS.Net users amongst us
1075 2006-05-05 Mike Kestner <mkestner@novell.com>
1077 * ListView.cs: give header_control a minimum size based on the
1080 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1082 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1083 window seems to do that with metacity, so set that type. (#78120)
1085 2006-05-05 Mike Kestner <mkestner@novell.com>
1087 * ListViewItem.cs: fix Details mode checkbox layout bug.
1088 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1089 at the end of the header, if it exists. [Fixes for #78200]
1091 2006-05-04 Jackson Harper <jackson@ximian.com>
1093 * MdiClient.cs: Add a helper property to get the container form.
1094 * MdiWindowManager.cs: We have to make sure to use the menu origin
1095 when drawing the icons and buttons, this fixes maximized window
1096 icons/buttons on win32.
1097 * InternalWindowManager.cs: Reset the restore captions when a
1098 window goes from Maximized to Minimized and vice versa. Move the
1099 DrawMaximizedButtons into the MdiWindowManager source, tool
1100 windows can't be maximized. NOTE: This could use a little
1101 refactoring if time ever permits.
1103 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1105 * TextBox.cs: Add MWFCategoryAttributes
1106 * TextBoxBase.cs: Add MWFCategoryAttributes
1107 * Form.cs: Add MWFCategoryAttributes
1109 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1111 * Control.cs: Add MWFCategoryAttributes
1112 * ScrollableControl.cs: Add MWFCategoryAttributes
1114 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1116 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1117 Divider is true. Fix a little glitch in PropertyToolBar
1120 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1123 - Dispose: Call base.Dispose, this causes the disposed event
1124 to be fired (and probably other, more important stuff)
1125 - SetVisibleCore: Set is_visible to true after creating the
1126 window so that the window still gets created invisible (if
1127 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1128 to generate a WM_ACTIVE message
1129 * Form.cs: Call Dispose when we want to destroy the window, instead of
1130 just destroying the handle (Dispose will do that for us)
1132 - RootWindow also needs a queue, so we can properly process the
1133 property change events from RootWindow (like Activate)
1134 - Generatic synthetic WM_ACTIVE message when the active window is
1137 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1139 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1142 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1144 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1145 for determining width and height (image might not be assigned if
1146 we're drawing an imagelist)
1148 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1150 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1151 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1153 * Theme.cs: No longer returns hardcoded menu height, instead calls
1155 * Form.cs (OnLoad): Scaling happens before triggering Load events
1158 2006-05-01 Mike Kestner <mkestner@novell.com>
1160 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1162 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1164 * TextBoxBase.cs: Removed Fixme
1165 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1167 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1170 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1171 the rectangle relative to the parent, considering borders. We
1172 don't really want that.
1173 - ScrollWindow: Fixed warning to be more understandable
1174 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1175 scrollbars and scroll only the visible area
1176 * RichTextBox.cs: Removed debug output
1178 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1180 * NumericUpDown.cs (Text): Just use base
1181 * UpDownBase.cs: Ensure txtView is created before using it
1183 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1185 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1186 casting to IntPtr to avoid 64bit overflow errors
1188 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1191 - AllowDrop: Don't force handle creation.
1192 - CreateHandle: Added call to tell driver if we're allowed to drop
1194 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1196 * FileDialog.cs: Remember the last directory not only for the
1197 current instance but also for new FileDialog instances.
1199 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1201 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1202 broke sending async messages
1204 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1207 - ScrollWindow: Fixed method. We finally generate expose events again
1208 for scrolled areas. This was causing 'garbage' when scrolling
1209 textbox and other controls that used ScrollWindow
1210 - Switched from using the regular queue for paint events to the MS
1211 model of 'generating' paint events when the queue is empty.
1212 We use the new XQueueEvent.Paint subclass to store which windows
1214 - AddExpose now takes the x/y/width/height of the exposed area
1215 and inserts the window into the paint queue if not already there
1216 - InvalidateWholeWindow: Switched to use new AddExpose method
1217 - UpdateMessageQueue: Added which queue to monitor for paint events
1218 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1219 the unlikely case nothing above handles it. We reset the expose
1220 pending states to get them off the queue.
1221 - GetMessage: Now pulls a paint event if no other events are in the
1223 - Invalidate: Switched to new AddExpose method
1224 - PeekMessage: Updated to understand pending paint events
1225 - UpdateWindow: Fixed logic bug. We were only updating if the window
1226 didn't need updating. Also switched to sending WM_PAINT directly,
1228 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1229 and random access Remove(). The random access is needed to handle
1230 UpdateWindow() where a WM_PAINT is sent directly without accessing
1232 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1233 allow for better feedback when scrolling. Scrollbars are small and
1234 the immediate update should make it 'feel' more responsive without
1235 slowing things down. ScrollBar still needs it's invaliate logic
1236 updated to not always invalidate the whole bar on certain changes.
1238 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1241 (BackColor): if the control does not support a transparent background,
1242 return the default backcolor when the parent backcolor is transparent.
1244 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1246 * Application.cs: Updated to new StartLoop/GetMessage API
1247 * RichTextBox.cs: Provide some output on RTF parsing errors
1248 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1249 new queue_id argument to GetMessage and PeekMessage to allow faster
1250 handling of per-thread queues in drivers.
1251 * Hwnd.cs: Added Queue tracking and property
1252 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1253 * XEventQueue.cs: Added thread trackingA
1254 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1256 - Implemented new per-thread queue
1257 - GetMessage: Fixed return/break behaviour on several cases. We were
1258 returning stale messages in some cases, instead of just processing
1261 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1263 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1265 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1267 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1268 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1270 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1272 * PropertyGridView.cs: Fix drop down width.
1274 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1276 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1277 a mess in DrawToolBar, so I removed one of them.
1279 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1281 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1282 needed (clip). Otherwise we get artifacts.
1284 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1286 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1288 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1289 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1290 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1291 if it matches the scale base font (avoids unneeded scaling)
1293 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1295 * X11DesktopColors.cs: One gtk_init_check should be enough
1297 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1299 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1302 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1305 - Generate OnTextChanged for Backspace even if we're only deleting
1306 the current selection
1307 - When setting the Text property, only select all text if the
1308 control does not have focus when it is being set. Otherwise
1309 just place the cursor at the beginning of the control
1311 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1313 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1314 Added a little helper to draw PropertyGrid ToolBar with a different
1315 border and a different BackColor.
1316 * PropertyGrid.cs: Some background parts didn't get painted with the
1317 correct background color. Added a class that helps us to draw the
1318 correct border for PropertyGridView and a class that helps us to
1319 draw ToolBars with a different backcolor
1320 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1322 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1324 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1325 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1327 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1329 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1330 into the palette entries. Also, since we're working on a copy
1331 we needed to copy the palette back onto the bitmap.
1332 * Cursor.cs: Same fix as XplatUIWin32.cs.
1334 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1336 * ImageListStreamer.cs: Need to read the var (or we're off)
1338 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1340 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1341 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1342 TextBoxBase.cs: Unused var fixes
1343 * AxHost.cs: Small 2.0 fix
1344 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1345 as it seems that is what at least Metacity expects. This will make
1346 icons show up on 64bit platforms. We still have some 64bit size
1347 issues, though, since the startup app window size still won't match.
1349 2006-04-25 Mike Kestner <mkestner@novell.com>
1351 * *.cs: cleanup newly reported exception var unused warnings.
1353 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1355 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1358 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1360 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1361 image. The image position is always the same, no matter if the
1362 button is pressed or not.
1364 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1366 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1367 selection and set the correct filename for SaveFileDialog.
1368 Patch by Emery Conrad.
1370 2006-04-24 Mike Kestner <mkestner@novell.com>
1372 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1373 check for item.X outside the ClientRect instead of item.Y. Fixes
1376 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1378 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1379 trust that value blindly and do some sanity check. Fixes bug #77814.
1381 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1383 * ImageListStreamer.cs: save the mask as a 1bpp image.
1385 2006-04-21 Mike Kestner <mkestner@novell.com>
1387 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1388 pass Checked and Indeterminate to the Theme Engine. Improve
1389 encapsulation with ListBox.
1390 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1391 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1392 nested types. Move all CheckState functionality to CheckedListBox.
1393 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1394 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1395 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1396 single base list. Fix scrollbar sizing and placement to mirror MS.
1397 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1399 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1400 for CheckedListBox by using new DrawItemState info. Center the
1401 checkboxes on the items. Use new StringFormat property.
1403 2006-04-18 Jackson Harper <jackson@ximian.com>
1405 * Form.cs: MdiChildren don't do default locations the same way as
1406 regular forms. This prevents a crash when trying to position the
1409 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1411 * PropertyGridTextBox.cs: Formatting, copyright
1412 * PropertiesTab.cs: Formatting
1413 * PropertyGrid.cs: Formatting
1414 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1415 click toggling of values
1417 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1419 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1420 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1421 every time a control is created
1422 * Application.cs: Removed obsolete EnableRTLMirroring method
1424 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1426 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1427 SelectedIndex to -1. Fixes bug #78121.
1429 2006-04-17 Jackson Harper <jackson@ximian.com>
1431 * Binding.cs: Handle null values for Current and BindingContext.
1432 This occurs when binding is a little delayed.
1433 * CurrencyManager.cs: return null for Current when there are no
1435 - Hookup to the listchanged event on the DataView and update
1436 bindings when the list is changed. This fixes late binding of
1439 2006-04-17 Jackson Harper <jackson@ximian.com>
1442 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1445 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1447 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1449 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1450 with the correct ButtonState
1452 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1454 * XplatUIX11.cs: Improved distinguishing between window types to
1455 tell the WM a type closer to what the app wants (Fixes #78107)
1457 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1459 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1462 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1464 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1465 drawing code to reflect the size grip changes
1467 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1469 * ImageListStreamer.cs: fix handling of the mask that follows the main
1470 bitmap when deserializing and serialize it properly. The generated mask
1471 should better be a 1bpp image, but I'll do that later.
1473 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1475 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1476 path doesn't fit into some of our Current.Places
1478 2006-04-13 Jackson Harper <jackson@ximian.com>
1480 * ComboBox.cs: Use borders instead of drawing our own decorations,
1481 try to obey correct rules for heights.
1484 * ThemeClearLooks.cs:
1485 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1486 this is now handled by borders.
1487 - Remove unused DrawListBoxDecorationSize method.
1489 2006-04-13 Mike Kestner <mkestner@novell.com>
1491 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1494 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1496 * ThemeWin32Classic.cs:
1497 - Fixed CPDrawStringDisabled
1498 - Corrected drawing of disabled menu items
1499 - Fixed drawing of disabled radio buttons (bug #78095)
1500 - Draw check in a disabled CheckBox with color ControlDark
1502 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1504 * Form.cs: Use the provided width when calculating the menu size;
1505 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1506 and ClientSize.Width won't be updated yet
1507 * Application.cs: Use Visible instead of Show() to make form visible,
1508 this way we create the handle later and menusize is considered
1510 2006-04-12 Mike Kestner <mkestner@novell.com>
1512 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1515 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1517 * TextBox.cs: Implemented context menu
1519 2006-04-12 Mike Kestner <mkestner@novell.com>
1521 * ListView.cs: implement box selection. fixes #77838.
1522 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1524 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1526 * XplatUIX11.cs: Added setting of window type when transient window
1527 is created (metacity would move it otherwise)
1528 * X11Structs.cs: Added WINDOW_TYPE atoms
1529 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1530 background (the control is Opaque but still wants transparent
1533 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1535 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1536 that set Opaque but don't mean it (like all ButtonBase-derived
1537 controls) to still draw their background
1538 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1541 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1543 * Control.cs (PaintControlBackground): Set the graphics object
1544 on our PaintEvent to null to prevent it from being disposed
1545 when the PaintEvent gets disposed
1547 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1549 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1550 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1552 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1555 - Added transparency check to BackColor property. Transparent
1556 backgrounds are only allowed if the control styles permit it
1557 - Added recursive painting of parent control background and
1558 foreground if a control with a transparent backcolor is drawn
1559 (Thanks to Tim Ringenback for providing his 'hack' as a base
1560 for this patch) Fixes #77985 and #78026.
1561 - Added Opaque style check before calling OnPaintBackground, no
1562 need to draw the background if the control is opaque
1563 - Removed ControlAccessibleObject owner variable (inherited from
1564 base, no need to define again)
1565 - Added some documentation links explaining the drawing events
1568 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1570 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1571 that the affected control is the located at the left border of our
1572 parent (Fixes #77936)
1574 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1576 * TextBoxBase.cs: When rendering disabled or readonly controls,
1577 draw the background with 'Control' instead of 'Window' color as
1578 long as the user hasn't specifically set a color
1580 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1582 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1583 since that won't be updated if the user types text (only if it's
1584 programatically set)
1586 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1588 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1589 layout changes do to app-triggered resizes will have the proper
1590 display rectangle for layout
1592 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1594 * ThemeWin32Classic.cs:
1595 - Make use of the SystemBrushes and SystemPens wherever possible
1596 - Corrected some highlight colors
1597 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1599 * Theme.cs: Added Empty field to CPColor struct
1601 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1603 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1604 is displayed when calculating the display rectangle. Thanks to Mike
1605 for teaching me the err of my ways.
1607 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1609 * ScrollableControl.cs:
1610 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1611 (instead of 0,0) and we now return the real width/height instead of
1612 just the clientrectangle, adjusted for padding. The rectangle is
1613 now cached and created by the new CalculateDisplayRectangle method.
1614 - Created new CalculateDisplayRectange method, which basically does
1615 what get_DisplayRectangle() did originally, but now using the
1616 right edge instead of DisplayRectangle to determine the size of
1618 - get_Canvas(): Fixed it to properly calculate canvas for
1619 right/bottom controls which seem to be placed to the right/bottom
1620 of any controls that have a fixed location
1621 - Removed TODO that's taken care of
1622 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1623 and SetDisplayRectLocation according to new MSDN2 docs
1624 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1625 event when that is called, this is added for compatibility
1626 - ScrollControlIntoView(): Implemented.
1627 - Switched scrollbars to be implicit, they shouldn't be selectable
1628 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1629 call it when the active control is set/changed
1630 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1631 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1632 implicit_control variable (used for native Win32 message generation)
1633 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1634 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1635 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1636 * XplatUIStructs.cs: Added ScrollBarCommands enum
1638 2006-04-10 Jackson Harper <jackson@ximian.com>
1641 * CheckedListBox.cs:
1648 * PrintPreviewControl.cs:
1654 * UpDownBase.cs: Fixup base event overrides.
1656 2006-04-06 Mike Kestner <mkestner@novell.com>
1658 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1659 all user-initiated value changes to min <= value <= max-thumbsz+1.
1660 (set_Value): check for vert/horiz when calculating new thumb position.
1661 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1663 (OnMouseMoveSB): refactor the thumb dragging code and refine
1664 invalidation logic to reduce flicker.
1665 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1666 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1667 (UpdateThumbPosition): small code readability cleanup
1669 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1671 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1674 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1676 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1678 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1680 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1681 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1682 This dramatically reduces the number of Pen.Dispose calls.
1683 Where possible call ResPool methods only once instead of calling it
1684 over and over again (for example for the same color).
1686 2006-04-06 Mike Kestner <mkestner@novell.com>
1688 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1689 Also remove an unused private field on the collection. Fixes #77972.
1691 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1693 * ThemeNice.cs: Added ToolBar drawing code
1695 2006-04-06 Mike Kestner <mkestner@novell.com>
1697 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1698 I'm assuming that means we need to look up the toplevel for the
1699 provided control. Fixes the crash trace in #77911 but exposes another
1700 crash in some strange reflection usage in NDocGui.
1702 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1704 * ThemeNice.cs: Gave it a little silver touch and added Images
1706 * FontDialog.cs: FontDialog is not resizable
1707 * FileDialg.cs: Added SizeGripStyle.Show
1709 2006-04-05 Jackson Harper <jackson@ximian.com>
1711 * KeyboardLayouts.cs: Remove warning.
1713 2006-04-05 Jackson Harper <jackson@ximian.com>
1715 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1716 all of our controls instead of Paint +=.
1731 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1732 use OnPaintInternal. Remove Width/Height and Visible checks in
1733 paint handler, this is done at a higher level now.
1734 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1735 * PaintEventArgs.cs: Add a handled flag so controls that don't
1736 want anymore painting after OnPaintInternal can make sure OnPaint
1739 2006-04-05 Mike Kestner <mkestner@novell.com>
1741 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1742 state of the form, so that we don't process events when Modal dialogs
1743 are up. Fixes #77922.
1745 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1747 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1750 2006-04-05 Mike Kestner <mkestner@novell.com>
1752 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1754 2006-04-05 Mike Kestner <mkestner@novell.com>
1756 * ListView.cs (HeaderMouseMove): null guarding for the over column
1757 when setting up the drag_to_index. Fixes #78015.
1759 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1761 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1762 in the taskbar. Transient windows seem to accomplish that.
1764 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1767 - Re-enabled CreateParams.X/Y code for FormStartPosition
1768 - Added code for manual placement when creating the Control
1769 - Incomplete patch to treat MDI forms differently when
1770 setting the ClientSizeCore. (Still need to figure out handling
1773 - When we're explicitly setting the X/Y position of a non-Child
1774 window, let the WM know. Metacity really wants this.
1776 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1778 * ThemeNice.cs: Added CPDrawButton
1780 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1782 * ThemeNice.cs: Changed the color for focused buttons and activated
1783 the arrows for small scroll buttons.
1785 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1787 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1788 anymore. Changed some method modifiers to protected (virtual)
1789 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1791 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1792 Updated drawing of menus, buttons and progressbars; added
1795 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1797 * ImageListStreamer.cs: implemented serialization/deserialization
1800 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1802 * ThemeWin32Classic.cs:
1803 - Removed all the DrawFrameControl stuff; CPDrawButton,
1804 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1806 - Updated and corrected the drawing code of CPDrawButton,
1807 CPDrawCheckBox and CPDrawRadioButton to better match ms
1808 - Updated theme checkbox and radiobutton code to use the CP*
1811 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1813 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1816 2006-03-31 Jackson Harper <jackson@ximian.com>
1818 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1820 * UpDownBase.cs: Don't CreateGraphics manually, use a
1821 Refresh. Ideally we would invalidate the correct areas here.
1823 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1826 - We now track the mapping state of windows. If a window (or
1827 one of it's parents) is not mapped we no longer permit
1828 WM_PAINT messages to be generated since we'd otherwise get
1829 lots of BadMatch X errors. Jackson did all the work figuring
1831 - Destroying the caret if the window it's contained in is
1832 destroyed. Can't use regular DestroyCaret method since it
1833 might fall into a drawing function (trying to remove the
1834 caret) and with that generate new BadMatch errors. Again,
1835 Jackson tracked this down.
1836 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1837 make sure we send the messages to all windows. (The old code
1838 would send the WM_DESTROY to the window, and then all child
1839 windows would be 'gone' because the WM_DESTROY handle lookup
1840 would no longer find the destroyed window)
1841 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1842 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1844 2006-03-31 Jackson Harper <jackson@ximian.com>
1846 * ScrollableControl.cs: Dont recalc if we are not visible.
1848 2006-03-31 Mike Kestner <mkestner@novell.com>
1850 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1851 the visibility branch.
1853 2006-03-31 Jackson Harper <jackson@ximian.com>
1855 * ScrollBar.cs: Cap values when incrementing/decrementing.
1857 2006-03-31 Mike Kestner <mkestner@novell.com>
1859 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1860 * ToolTip.cs: guard against timer expirations with no active control.
1861 Not sure why it happened.
1863 2006-03-31 Mike Kestner <mkestner@novell.com>
1865 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1867 * ToolTip.cs: Position the tooltip based on where the cursor is at
1868 popup time, not at MouseEnter time. Add a Down state so that we don't
1869 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1870 positioning offset. Lookup DisplaySize at positioning time, since it
1871 can theoretically change during invocation.
1872 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1873 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1875 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1877 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1878 Fixes behaviour when the Text property of the box is String.Empty
1880 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1882 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1883 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1886 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1888 * FileDialog.cs: Visual enhancement for the popup buttons in
1891 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1893 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1896 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1898 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1899 highlighted menu items to match ms
1901 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1903 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1905 2006-03-30 Mike Kestner <mkestner@novell.com>
1907 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1908 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1909 go active to account for HotLight to Selected transition.
1910 * MenuItem.cs: add internal Selected prop. Fill out the Status
1911 property by calculating it from item info. Add HotLight,
1912 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1914 2006-03-30 Mike Kestner <mkestner@novell.com>
1916 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1918 2006-03-29 Jackson Harper <jackson@ximian.com>
1920 * Form.cs: Implement TODO.
1922 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1924 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1925 missing proper dialog setup in the constructor
1927 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1929 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1931 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1932 - Fixed ResetBindings and removed TODO
1933 - Added check for cross-thread calls to get_Handle()
1934 - Added Marshaller attribute for set_Font to satisfy class status
1935 * FontDialog.cs: Removed TODOs that seemed implemented
1936 * UpDownBase.cs: Removed unneeded TODO and Fixme
1937 * MessageBox.cs: Implemented support for Default button and removed TODO
1938 * FileDialog.cs: Removed obsolete TODO
1939 * DomainUpDown.cs: Removed obsolete TODO
1940 * ButtonBase.cs: Removed obsolete TODO
1941 * XplatUIWin32.cs: Removed obsolete TODO
1943 - Removed obsolete TODO
1944 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1945 internal status updates
1946 - Making sure the active control is selected when the control is created
1947 * CurrencyManager.cs: Removed obsolete TODO
1949 2006-03-29 Mike Kestner <mkestner@novell.com>
1951 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1952 of PrintPreviewDialog and RichTextBox.
1954 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1956 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1957 DarkDark, Light and LightLight colors for a specific color
1958 * ThemeWin32Classic.cs:
1959 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1961 - Make use of the new ResPool helper CPColor
1962 - Draw ProgressBar and StatusBar with correct 3D borders
1964 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1966 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1968 2006-03-28 Mike Kestner <mkestner@novell.com>
1970 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1971 calculating col/row counts.
1973 2006-03-28 Mike Kestner <mkestner@novell.com>
1979 switch to explicit interface method implementation for some methods
1980 corcompare identifies as inconsistent with MS.
1982 2006-03-28 Mike Kestner <mkestner@novell.com>
1986 add a few missing methods from the class status output.
1988 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1990 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1993 2006-03-28 Mike Kestner <mkestner@novell.com>
1995 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1997 2006-03-27 Mike Kestner <mkestner@novell.com>
1999 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
2000 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
2002 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
2004 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
2006 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2008 * ThemeWin32Classic.cs:
2009 - GroupBox: Inserted a little gap between the text and the lines
2011 - Made the code in CPDrawBorder3D more readable
2012 - Corrected the drawing location of the up and down arrows in
2015 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2017 * ControlPaint.cs: Corrected line widths in DrawBorder for
2018 ButtonBorderStyle Inset and Outset
2020 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2022 * ThemeWin32Classic.cs:
2023 - Rewrote the totally broken CPDrawBorder3D method. That was
2024 one of the main problems for the terrific ThemeWin32Classic
2026 - Updated and corrected Button drawing
2027 - Correct the dimensions of the SizeGrip to match ms ones
2028 - Removed a small drawing glitch in DrawComboBoxEditDecorations
2029 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
2030 Border3DStyle.Sunken to match ms.
2032 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
2034 * ThemeWin32Classic.cs: First small part of the "de-uglify
2035 ThemeWin32Classic" effort, SizeGrip
2037 2006-03-24 Jackson Harper <jackson@ximian.com>
2039 * XplatUIX11.cs: Give a max idle time of one second, this matches
2040 MS and forces an Idle event every second when there are no other
2041 events in the queue.
2043 2006-03-24 Mike Kestner <mkestner@novell.com>
2045 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
2046 * ListView.Item.cs: fix layout issues with null image lists and images
2047 smaller than checkbox size.
2048 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
2049 mode like MS does. It's weird, but consistent. ;-)
2052 2006-03-24 Mike Kestner <mkestner@novell.com>
2054 * ListView.cs: Scroll wheel support for the item control. Fixes
2057 2006-03-23 Jackson Harper <jackson@ximian.com>
2059 * ScrollableControl.cs: Special case negative sized areas, not
2061 * MonthCalendar.cs: Save the rect of the clicked date so we can
2062 use it for invalidation.
2063 - Try to cut down on the number of invalidates
2064 - Invalidate the rect the mouse is over and was over when moving
2065 the mouse, so we get the focus box following the cursor.
2067 2006-03-23 Mike Kestner <mkestner@novell.com>
2069 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2070 focus rectangle drawing. Fixes #77835.
2072 2006-03-23 Mike Kestner <mkestner@novell.com>
2074 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2075 the if and else if and reverting back to the original == check on the
2078 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2080 * FontDialog.cs: Update the example panel if the selected index of
2081 the fontListBox changes.
2083 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2085 * FileDialog.cs: Make FileDialog remember which directory it was in
2086 last in the same execution.
2088 2006-03-22 Mike Kestner <mkestner@novell.com>
2090 * FileDialog.cs: make the DropDownMenu on the toolbar display
2091 RadioChecks since they are mutually exclusive and that's what MS does.
2093 2006-03-22 Mike Kestner <mkestner@novell.com>
2095 * Theme.cs: add Color param to CPDrawMenuGlyph.
2096 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2097 checks and radio marks and arrows are visible on highlighted items.
2098 * ControlPaint.cs: update to use new Theme signature.
2100 2006-03-22 Mike Kestner <mkestner@novell.com>
2102 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2103 is active. Fixes #77870.
2105 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2107 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2108 to be focused/selected after startup
2110 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2113 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2114 CustomColors and ShowHelp properties
2115 - Some internal rewrites to get better results when using the
2118 2006-03-22 Mike Kestner <mkestner@novell.com>
2120 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2121 HoverSelection. Fixes #77836.
2123 2006-03-22 Mike Kestner <mkestner@novell.com>
2125 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2126 ToggleButtons. (De)Sensitize the Back button around a stack count of
2127 1, not 0. Update ButtonSize based on a pixel count of the win32
2128 control. Adjust the toolbar size/location for new button size.
2130 2006-03-22 Jackson Harper <jackson@ximian.com>
2132 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2134 * ScrollBar.cs: When doing increments and decrements we need to
2135 set the Value property so that ValueChanged gets raised. A
2136 possible optimization here would be to make an internal SetValue
2137 that doesn't invalidate immediately.
2138 * ToolTip.cs: Tooltips get added to their container (when
2139 supplied) so they get disposed when the container is disposed.
2140 - Don't create tooltips for String.Empty. This prevents all these
2141 little 2-3 pixel windows from showing up when running nunit-gui
2143 * Form.cs: Don't set topmost when setting the owner if the handles
2144 haven't been created yet. The topmost set will happen when the
2145 handles are created.
2147 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2150 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2151 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2152 visible (to allow them to recalculate their sizes)
2154 2006-03-21 Mike Kestner <mkestner@novell.com>
2156 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2157 methods. Removed a ton of redundant code. Still not really happy with
2158 the border rendering, but I think that's mainly because of the
2159 ControlDarkDark being black instead of a dark grey. Depending on how
2160 close we want to be, we might want to revisit those color choices.
2161 Among the new features added during the refactor were DropDownArrow
2162 pressed rendering, Disabled image rendering. Proper flat appearance
2163 boundary rendering. Removed the Divider and Wrapping dividers since I
2164 can't figure out any combination of themes and conditions to make the
2165 MS control draw a horizontal line on a toolbar despite what the
2166 Divider property docs indicate.
2167 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2168 conditions and incorrect layout. Updated to coding standard.
2169 * ToolBarButton.cs: refactored layout and positioning code from
2170 ToolBar to here. Invalidate wherever possible instead of forcing
2171 redraws of the whole toolbar.
2172 (Known remaining issues: explicit ButtonSize smaller than provided
2175 2006-03-21 Mike Kestner <mkestner@novell.com>
2177 * ContextMenu.cs (Show): use the position parameter instead of just
2178 showing at the MousePosition.
2180 2006-03-21 Jackson Harper <jackson@ximian.com>
2182 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2183 control handle this.
2184 * TreeNodeCollection.cs: If we are clearing the root node we need
2185 to reset top_node so calcs can still happen.
2186 * ThemeWin32Classic.cs: This is a Flags so we need to check
2189 2006-03-21 Jackson Harper <jackson@ximian.com>
2191 * DataGrid.cs: Create columns when the binding context has been
2193 * X11Structs.cs: Keysyms are uints.
2194 - Add size to fix build.
2196 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2198 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2200 - Added ResetMouseHover method to allow controls to retrigger
2201 hovering if they need it more than once
2202 - Implemented MouseHoverTime and MouseHoverSize properties
2203 * Timer.cs: Start() must reset the interval
2204 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2207 2006-03-21 Jackson Harper <jackson@ximian.com>
2209 * X11Keyboard.cs: improved layout detection. Move the nonchar
2210 tables into this file.
2211 * KeyboardLayouts.cs: Move the tables into resource files.
2213 2006-03-21 Mike Kestner <mkestner@novell.com>
2215 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2217 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2219 * Mime.cs: Various speed optimizations. Looking up mime types
2220 is now 2 times faster than before
2222 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2224 * CreateParams.cs: Added internal menu field
2226 - Switched call order for UpdateBounds; now we always call
2227 the one that also takes ClientSize, and we're calculating the
2228 client size via driver method in the others. The previous
2229 method of tracking client size by difference wasn't working
2230 for forms where even the starting client size wouldn't match
2231 the overall form size (due to borders) (Part of fix for #77729)
2232 - CreateParams(): Do not use parent.Handle unless the handle is
2233 already created. Causes havoc with Nexxia and throws off our
2234 creation of controls
2236 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2237 - Switched handling of ConfigureNotify over to new PerformNCCalc
2238 method (consolidates code)
2239 - Changed RequestNCRecalc to use new PerformNCCalc method
2240 - Added calls to RequestNCRecalc when menus and borders are changed
2241 to allow app to set NC size. (Part of fix for #77729) This matches
2242 when MS send a WM_NCRECALC on Win32 windows.
2243 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2244 (Part of fix for #77729). This matches what MS does, they also
2245 send that message when the form is made visible.
2246 - XException.GetMessage: Improved usability of X errors by including
2247 a translation of the window into Hwnd and Control class
2248 - Improved debug info for window creation, reparenting and destruction
2249 - Created helper method WindowIsMapped() [Currently not used]
2250 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2252 - CreateParams: Now setting our menu on the new internal menu field
2253 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2254 avoid calculating the same property twice
2256 - Improved usability of ToString() for debugging purposes
2257 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2258 determine the height of the menu, instead of just the font. This
2259 required to also create a graphics context and to keep a bmp
2260 around (for performance reasons)
2262 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2264 * MenuAPI.cs: Added OnMouseUp method
2266 - Now remembering the requested client size, avoids size errors
2267 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2268 instead of base if the menu is active. This is required due to
2269 control now capturing and releasing on down/up and it would
2270 prematurely release our menu capture
2272 2006-03-17 Jackson Harper <jackson@ximian.com>
2274 * KeyboardLayouts.cs: Add the czech layouts.
2276 2006-03-16 Jackson Harper <jackson@ximian.com>
2278 * Control.cs: Use the viewport space when sizing not the controls
2279 client size, so things like ScrollableControl that effect the
2280 viewport size (when scrollbars are added) are computed correctly.
2281 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2283 - Handle creating BindingManagers for null data sources.
2284 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2285 source, otherwise when rows are added they are added to the 'fake'
2286 datasource and we will crash when trying to set the position in
2288 - Use Implicit scrollbars on the datagrid so they arent
2291 2006-03-16 Jackson Harper <jackson@ximian.com>
2294 * InternalWindowManager.cs:
2295 * MdiWindowManager.cs:
2296 * X11Keyboard.cs: I really want Mike to love me again (fix
2299 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2302 - OnMouseDown: Switch to editing mode when clicking on the cell
2303 even if we're clicking on the cell that's currently
2305 - ProcessGridKey: Left/Right now wrap like MS.Net does
2306 - ProcessGridKey: Tab now knows to add a new row when tab is
2307 pressed in the cell of the last column of the
2309 - ProcessGridKey: Enter now adds another row if pressed in the last
2310 row and selectes the new row, same column cell
2311 - ProcessGridKey: Home/End navigate columns, not rows, like
2312 originally implemented
2313 - Broke ProcessKeyPreview code out into an extra Internal method
2314 so it can be called from the edit code
2315 * DataGridTextBox.cs (ProcessKeyMessage):
2316 - Switched to accept Tab keypresses
2317 - Added F2 handling to allow jumping to the end of the edited cell
2318 - Added logic to allow moving caret left/right inside edited cell
2319 and making the edited cell jump when the caret hits cell borders
2320 - Tab and Enter are now passed to the datagrid after being handled
2322 - Removed capture code now that Control handles it
2323 - set_SelectionStart now ensures caret is visible
2325 2006-03-16 Jackson Harper <jackson@ximian.com>
2327 * TrackBar.cs: Debackwards the increment/decrement for handling
2328 mouse clicks on the bar with vertical trackbars.
2329 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2332 2006-03-16 Mike Kestner <mkestner@novell.com>
2334 * ListView.cs: make shift/ctrl keyboard and mouse selection
2335 consistent with the MS control. Fix a bug in
2336 SelectedListViewItemCollection.Clear that was pissing me off for the
2337 better part of a day because the collection was being altered
2338 underneath us as we walked the list.
2340 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2342 * Control.cs: Not sure how we could miss this so long, but it seems
2343 that MS.Net has Capture set all the way from before calling
2344 OnMouseDown through sending the mouse events until after
2345 OnMouseUp. This will fix DataGrid's selection being set to end
2346 at the location of the MouseUp.
2348 2006-03-15 Jackson Harper <jackson@ximian.com>
2350 * BindingContext.cs: Check the binding after its added so that it
2351 can initialize the binding managers and hookup to events.
2352 * Binding.cs: Data members seem to sometimes include rows/cols in
2353 the format Row.Column we now take this into account.
2354 - Hookup to the position changed event so we can update the
2355 control when the position has changed in the data set.
2356 * CurrencyManager.cs: Take into account the row/col naming
2357 convention when creating dataset tables.
2358 * BindingContext.cs: Using a newer better way of storing
2359 datasource/datamember pairs. Hopefully this better matches MS for
2360 looking up binding managers.
2363 2006-03-15 Jackson Harper <jackson@ximian.com>
2365 * BindingContext.cs: The currency manager needs the data member
2366 name, if the member is a data set we use the name to find the
2368 * CurrencyManager.cs: When creating the list prefer an IList over
2370 - Attempt to create a DataTable from a DataSet (TODO: might need
2371 some better error checking here, although MS doesn't seem to have much)
2372 - If we have a DataTable create a view and use it as our list.
2374 2006-03-15 Mike Kestner <mkestner@novell.com>
2376 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2377 keyboard navigation. Support Up/Down/Left/Right selection correctly
2378 for all 4 View modes.
2379 * ListViewItem.cs: add internal row/col fields for icon layouts.
2381 2006-03-15 Jackson Harper <jackson@ximian.com>
2383 * TabControl.cs: Redraw the tabs when we resize so their newly
2384 calculated sizes are drawn on screen.
2385 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2386 composite characters.
2387 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2388 - filter events so that composite characters can be created
2390 * X11Structs.cs: Add XIMProperties enum.
2392 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2394 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2397 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2399 * Control.cs (PerformLayout): We don't need to consider visiblity
2400 for anchoring, only for docking. This fixes 'whacky' alignment
2401 in listbox and other controls that use implicit scrollbars after
2402 the previous PerformLayout patch
2403 * ListBox.cs: Switched to use implicit scrollbars
2405 2006-03-14 Mike Kestner <mkestner@novell.com>
2409 - chain up the "new event" overrides to base and use
2410 OnEvent to raise them. Part of fix for bug #76509.
2412 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2414 * FileDialog.cs: Do not select an item in the parent directory
2417 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2419 * Control.cs (PerformLayout): It would seem that we considered
2420 invisible windows for our layout. Not quite the right thing
2421 to do. Now we don't any longer, thereby fixing bug #76889.
2423 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2425 * Control.cs (CanFocus): I goofed. A control can have focus
2426 even though it's not selectable. Made it match MS docs.
2428 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2430 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2431 center by default (fixes #76895)
2432 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2433 all uses of Border3DSides.All with the explicit ORd together
2434 Left|Right|Top|Bottom because I assume that nobody was aware
2435 that All also implies a center fill. Most places I checked had
2437 * ProgressBarStyle.cs: Added
2439 2006-03-13 Mike Kestner <mkestner@novell.com>
2441 * ListView.cs: fix breakage in drag shadow header positioning
2442 from Peter's csc compilation fix.
2444 2006-03-13 Mike Kestner <mkestner@novell.com>
2446 * ListView.cs: fix NRE produced by backspacing twice in a focused
2449 2006-03-13 Mike Kestner <mkestner@novell.com>
2451 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2453 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2455 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2457 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2458 the allowed size before making programmatic size changes
2460 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2462 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2463 set, metacity is broken and will still use the emty sizes in
2464 the struct. (Fix for #77089)
2466 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2468 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2469 WindowExStyles and marked both enums as Flags
2470 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2471 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2472 to match WindowStyles split
2474 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2475 - Updated to match WindowStyles split
2477 - Fixed FosterParent creation, was using ExStyle on the Style field
2478 (This should help with Popup focus issues)
2479 - Updated to match WindowStyles split
2481 2006-03-13 Jackson Harper <jackson@ximian.com>
2483 * MdiWindowManager.cs: Use the system menu height. Fixes some
2484 strange sizing issues.
2486 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2488 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2490 - Scroll to caret after inserting text (#77672)
2491 - Make scroll range one pixel higher, fixes off-by-one error (and
2492 makes underlines visible on the last line)
2494 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2496 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2497 the keyboard state from being stuck with keys in 'pressed' state when
2498 focus is switched away via keyboard
2499 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2500 reset the keyboard if no X11 KeyUp events are expected to come
2501 * X11Structs.cs: Switched type of Visible to bool to match driver
2503 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2506 - Switched caret to be just 1 pixel wide, matches MS and looks less
2508 - Moved caret display 1 pixel down from the top of the control
2510 - InsertCharAtCharet: Update the selection start if moving the caret
2511 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2512 - No longer always creating the caret when the caret methods are
2513 called. Only the actual ShowCaret/HideCaret will do that now
2514 - Only setting caret visible if the owner control has focus
2515 - UpdateView: Added invalidation-shortcut logic for center and right
2516 aligned text. Previously we'd update all according to the left
2517 logic which caused drawing errors. Also fixed height of invalidated
2518 areas, now properly invalidating the whole area (was off-by-one)
2519 - owner_HandleCreated: Always generate the document when the
2520 handle is created; this ensures that
2522 - Fixed situation where caret would disappear under the right
2523 window border, also improved scrolling behaviour on left-
2525 - Fixed right-aligned textboxes to have a border to the
2526 right instead of the caret being under the right border
2528 - Switched from 'nested' to simple visible/not visible tracking
2529 for caret (part of fix for #77671)
2530 - No longer passing through translated FocusIn/FocusOut messages
2531 since we were notifying too often and the wrong windows. Instead
2532 we just notify our focussed window of receiving or loosing focus
2533 * XplatUIWin32.cs: Switched from 'nested' show/hide
2534 counting for caret to simple visible yes/no behaviour (part of
2537 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2539 * Mime.cs: Remove debug code...
2541 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2543 * MimeGenerated.cs: Removed
2544 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2545 and subclasses) from /usr/(local/)share/mime and
2546 $HOME/.local/share/mime.
2548 2006-03-10 Jackson Harper <jackson@ximian.com>
2550 * MdiWindowManager.cs: Recalc the NC area when a window is
2551 maximized/restored so that the menu area is drawn on forms that
2554 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2556 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2557 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2558 us to force a WM_NCCALCRESIZE message being sent. This is needed
2561 2006-03-10 Jackson Harper <jackson@ximian.com>
2563 * Form.cs: We need to use the ActiveMenu when calculating menu
2565 - Fix nullref when the window manager hasn't been created yet.
2566 * Control.cs: Fix nullref when we try to bring a control to the
2567 front that has no parent.
2568 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2570 - Add a dummy item to the maximized menu so it always has the
2571 correct height. Otherwise when there are no menus we don't get our
2575 2006-03-10 Jackson Harper <jackson@ximian.com>
2577 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2579 * Form.cs: Make the window_state internal so the window managers
2581 - When an MDI child is maximized let its window manager create the
2582 main menu (so it can add its icon).
2583 - Notify the window managers of state changes
2584 - Let the window manager paint its buttons and handle button
2585 clicks on the menu when it is maximized.
2586 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2587 window manager, since tool windows don't use it, only mdi windows.
2588 - Tell the main form that we don't want it to handle NCPAINT
2589 itself to avoid extra painting.
2590 - Handle clicks on a maximized windows menu.
2591 - Handle window state changes
2592 - Handle minimize/maximize clicks correctly by setting the window state.
2593 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2594 when clicking on the forms icon).
2595 - New method to create a forms maximized menu. This is its normal
2597 - Handle window state changes.
2598 - Handle sizing of maximized windows. Maximized windows are just
2599 drawn bigger then the parent visible area. All controls are still
2600 there, they are just outside the visible area (this matches windows).
2601 * MdiClient.cs: No scrollbars when a child window is maximized.
2602 - Let the children windows figure out how big they should be when
2603 sizing maximized windows.
2604 - Implement a version of ArrangeIconicWindows somewhat similar to
2605 Windows version. There are some little differences, but I don't
2606 think any app will rely on the layout of minimized mdi windows.
2608 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2610 * Padding.cs: Several fixes to allow compiling with csc 2.0
2612 2006-03-09 Jackson Harper <jackson@ximian.com>
2615 * MenuItem.cs: Cheap hack so we can add items to the list without
2616 the events being raised. This allows adding mdi items during
2617 drawing. TODO: Should probably find a better time to add the items.
2619 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2621 * ThemeWin32Classic.cs:
2622 - CheckBox_DrawText: Added logic to not wrap if not enough space
2623 is available (Fix for bug #77727)
2624 - RadioButton_DrawText: Added logic not to wrap if not enough
2625 space is available (Fix for bug #77727). Also removed some
2626 duplicate code, DrawString always drawing the regular text
2627 before hitting the if statement.
2629 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2631 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2633 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2635 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2636 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2637 methods. Moved the new 2.0 properties into alphabetical order with
2638 other properties and added MonoTODO tags
2640 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2642 * AutoScaleMode.cs: Added. Fix build.
2644 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2646 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2647 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2648 and was requiring premature handle creation for calls from above
2649 * Form.cs, Control.cs: Removed handle arguments from calls to
2650 CalculateClientRect()
2652 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2654 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2655 drag_column.column_rect is MarshalByRef and can't be used that way
2657 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2659 * AxHost.cs: Added deserialization constructor for
2660 AxHost+State (fixes 77743)
2662 2006-03-09 Mike Kestner <mkestner@novell.com>
2665 - Added column drag reordering for details view.
2666 - fixed behavior when mouse is dragged off column and
2667 AllowColumnReorder is false.
2668 * ColumnHeader.cs: clone the format too in Clone.
2669 * Theme.cs: add DrawListViewHeaderDragDetails method.
2670 * ThemeWin32Classic.cs:
2671 - impl new method for drawing drag column shadows and targets.
2672 - support column offset for details mode in DrawListViewItem.
2674 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2676 * TextControl.cs: Reset the char_count when the document is cleared
2677 (Fixes bug reported on mono-winforms mailing list)
2679 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2681 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2682 of calling base we simply process the key ourselves, since both
2683 DefWindowProc and the handled method would set m.Result.
2686 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2688 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2689 method also moves the window; instead implemented a copy of
2690 Control.ScaleCore (Part of fix for #77456)
2692 - Created new CreateGraphicsInternal method to allow providing
2693 a graphics context when no handle is created without triggering
2694 handle creation. (Part of fix for #77456)
2695 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2697 - Switched Constructor to require TextBoxBase instead of Control (to
2698 allow uncast access to CreateGraphicsInternal)
2699 - Safeguarded use of owner.Handle property. No longer accessing it
2700 unless the handle is already created.
2701 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2702 - Now triggering a recalc when owning control becomes visible
2703 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2704 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2705 premature handle creation (Part of fix for #77456)
2707 - We now only destroy our double-buffering buffers when the
2708 control is resized or disposed, but not when visibility
2709 changes. (The code even re-created them twice every time)
2710 - Now requiring a redraw of the buffer on visibility changes
2711 (fixes bug 77654 part 2)
2712 - Not passing OnParentVisibleChanged up unless the control
2714 - CanFocus: Fixed to match MS documentation
2715 - Focus: Fixed to return actual focus state and to check if
2716 setting focus is legal before setting it
2718 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2720 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2721 when to draw focus rectangle by looking at parent focus and
2722 selected state instead. This fixes TabPages on Linux sometimes
2723 having none or multiple focus rectangles.
2724 * XplatUIX11.cs (SetFocus):
2725 - Don't set the focus if the same window already has focus
2726 - Use SendMessage instead of PostMessage (like it's Win32
2727 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2728 to match MS behaviour
2729 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2732 2006-03-07 Jackson Harper <jackson@ximian.com>
2734 * PictureBox.cs: Revert line I accidently committed last week.
2736 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2739 - Added new IsRecreating and ParentIsRecreating properties to
2740 allow testing if RecreateHandle has been called on ourselves
2741 or one of our parents
2742 - WndProc(WM_DESTROY): If our control handle is being recreated
2743 we immediately need to create the handle when receiving the
2744 destroy, that way our child windows find a valid parent handle
2745 when they themselves are being recreated upon WM_DESTROY receipt
2746 (fix for bug #77654 part 1)
2748 - DestroyWindow: WM_DESTROY must be sent to our own window before
2749 notifying any child windows. MS documents that child windows
2750 are still valid when WM_DESTROY is received. (Control now relies on
2752 - Added some fine-grain debug options
2754 2006-03-06 Jackson Harper <jackson@ximian.com>
2756 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2757 box and base calculations off this.
2758 * MdiChildContext.cs:
2759 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2762 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2764 * Splitter.cs: In situations where the affected control is added
2765 to the parent's control list after the splitter, we would not
2766 populate affected. Now we try populating it on mousedown, if
2767 it's not already set, and force it to be re-set whenever our
2770 2006-03-03 Matt Hargett <matt@use.net>
2772 * Control.cs: implement Control.Padding
2773 * Padding.cs: -Padding.All returns -1 when constructing with the
2774 implicit default ctor
2775 -Padding.ToString() matches MS.NET
2776 * ContainerControl.cs: implement
2777 ContainerControl.AutoScaleDimensions
2778 * ListControl.cs: implement ListControl.FormattingEnabled
2779 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2781 * TabPage.cs: Implement UseVisualStyleBackColor.
2782 * PictureBox.cs: Implement PictureBox.InitialImage.
2784 2006-03-03 Mike Kestner <mkestner@novell.com>
2786 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2787 event declarations to proxy to base event.
2788 * ListViewItem.cs: update to use ItemControl.
2789 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2790 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2791 column header label rendering for 0 width columns.
2793 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2795 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2796 that causes the control to be created. Fixes #77476.
2798 2006-03-02 Jackson Harper <jackson@ximian.com>
2800 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2803 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2805 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2806 passed in for the EventArgs (fixes #77690)
2808 2006-03-01 Jackson Harper <jackson@ximian.com>
2810 * ScrollBar.cs: Refresh afterbeing resized.
2812 2006-02-28 Mike Kestner <mkestner@novell.com>
2814 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2815 Clean up a tracker compile warning.
2816 * MenuItem.cs: add internal PerformPopup method.
2819 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2821 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2822 implicit expose) when the text is set to null
2824 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2826 * RichTextBox.cs (FlushText): When newline is true, we always
2827 need to split the line, even if no text is on it and we may
2828 never eat newlines. (Fixes #77669)
2830 2006-02-28 Mike Kestner <mkestner@novell.com>
2832 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2833 and set Selected instead.
2834 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2837 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2839 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2841 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2844 - Got rid of the panel. All controls are now directly added to
2846 - It is now possible to set a font with the Font property
2847 - MinSize and MaxSize property do now what they should
2848 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2849 - Searching and selecting a font with the font textbox works now,
2850 the same applies to the style and size textbox
2851 - Draw the correct 3D border in the example panel
2852 - Fixed a little mem leak (unused fonts didn't get disposed)
2853 - Many other internal updates/rewrites...
2856 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2859 - InsertRTFFromStream: Added 'number of characters inserted' argument
2860 - set_SelectedRTF: Now using the number of characters to calculate
2861 the new location for the selection and cursor (x/y cannot be used
2862 due to potentially already wrapped text)
2864 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2866 * TextControl.cs: Added property and implemented means to allow
2867 disabling recalculation of a document (can be used to speed up
2868 multiple inserts and is needed to make RTF inserts predictable, see
2870 * RichTextBox.cs: Using the new NoRecalc property of Document to
2871 keep x/y insert locations predictable. Also makes it faster inserting
2874 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2876 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2877 it's easier for a child control to handle the other messages without
2878 having to duplicate the special functionality
2880 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2881 code to handle processing the key ourselves, in order to get
2882 access to the result of KeyEventArgs.Handled. We now only call
2883 ProcessKey if they key hasn't been handled already. Fixes #77526.
2884 - set_Text: If null or empty string is given, just clear the
2885 document. Fixes part of #77526
2887 2006-02-27 Jackson Harper <jackson@ximian.com>
2889 * SizeGrip.cs: Paint the background color before painting the grip
2890 so things look right.
2891 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2893 2006-02-27 Mike Kestner <mkestner@novell.com>
2896 - Restructure layout and invalidation model to remove a ton of
2897 flicker from the control and speed up performance in general.
2898 - Add manual column resize, flickers like crazy, but I already have
2899 some ideas on how I'll fix that. (#76822)
2900 - Merge the three Icon-based views into a single layout method.
2901 - Move item selection interaction logic from the item since
2902 interaction with the collections is more appropriate to the view.
2903 - Deselection on non-item clicks.
2905 - Encapsulate most of the layout. Add some internal props to trigger
2906 layout. Move to a model where Items invalidate themselves instead
2907 of just invalidating the whole control every time something changes.
2908 - Invalidate on Text/Caption changes.
2909 - switch to an offset based layout model to avoid having to absolute
2910 position every element on item moves.
2911 - correct checkbox layout to conform to MS layout.
2912 * ThemeWin32Classic.cs:
2913 - refactor some column header drawing code.
2914 - fix string justification for column headers (#76821)
2915 - make SmallIcon labels top justified for compat with MS impl.
2916 * ThemeClearlooks.cs:
2917 - adjust to new ListViewItem internal checkbox bounds api.
2919 2006-02-27 Jackson Harper <jackson@ximian.com>
2921 * Control.cs: Change where implicit controls fall in the zorder.
2922 They are now on top of all children.
2923 - Synced AddImplicit code with Add
2924 - Removed unused enumerator.
2925 * SizeGrip.cs: Remove the TODO as its been TODONE.
2927 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2929 * TextControl.cs(Insert): Combine the last lines unless the insertion
2930 string ends with \n\n, otherwise we leave one line too many (Fixes
2931 something I noticed with the testapp for #77526; the bug itself was
2932 already fixed in the previous checkin)
2934 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2937 - SelectionColor and SelectionFont methods no longer set absolute
2938 styles. Instead, the keep font or color respectively (This
2939 resolves a long-standing FIXME in the code)
2940 - When flushing RTF text, the insert code now considers text trailing
2941 behind the insertion point (Fixes the bug where when replacing
2942 the selected text via SelectedRTF the remainder of the line behind
2943 the selection would stay on the first insertion line)
2945 - AppendText now updates the selection points after inserting text
2946 - AppendText now ensures that the last tag (sometimes 0-length) of
2947 the document is used for the style information (Fixes part of
2950 - Created new FontDefiniton class to allow describing partial style
2952 - StreamLine() now takes a lines argument, to allow it to decide
2953 whether an encountered zero-length tag is the last in the document
2954 (which must be kept to not loose the font/color contained in it,
2956 - Created Combine() and Split() methods for Marker structs, to
2957 support marker updates due to reformatted documents (soft line
2959 - Implemented Document.CaretTag setter
2960 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2961 of the last line (Not the cause, but also exposed by bug #77220)
2962 - Added LineTag argument to InsertString method, to allow callers
2963 to force a certain tag to be used (required to force use of the
2964 trailing zero-length tag of a document)
2965 - Now updating markers in Combine(), to avoid stale tag markers
2966 - Added some method descriptions to aid maintenance
2967 - Implemented new FormatText concept, allowing additive/subtractive
2968 formatting by only specifying the components that are to be
2969 changed. This was needed for resolving the RTB.SelectedColor/
2970 RTB.SelectedFont fixmes
2971 - Added Break() support method to allow breaking up linetags (used
2972 for partial formatting)
2973 - Added GenerateTextFormat() method. It is used for partial
2974 formatting and allows to generate a full font/color from given
2975 attributes and an existing tag.
2977 2006-02-26 Jackson Harper <jackson@ximian.com>
2979 * XplatUIX11.cs: Use the correct caption height.
2980 - Translate hittest coordinates to screen coords to match MS.
2981 * XplatUIWin32.cs: When we create MDI windows we need to reset
2982 some of the style flags, so we get a nice blank window, and can
2983 draw all the decorations ourselves.
2984 - Set a clipping rectangle on the non client paint event, the
2985 window manager drawing code needs one.
2986 * Form.cs: The window manager needs to know when the window state
2988 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2989 don't need to factor in border and title sizes in these
2990 methods. TODO: Remove the args and fix the call points.
2991 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2993 - Let the driver set the cursors.
2994 - Improve active window handling
2995 - Correct sizes for title bars and buttons.
2996 - Match MS drawing better
2997 * MdiWindowManager.cs: We don't need to handle border style
2998 updates specially anymore.
2999 - Check for scrollbars when windows are done moving
3000 - Handle Active properly.
3001 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
3002 correctly. I am spewing the exception though, so we don't hide the
3005 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
3007 * DataGridViewRowPostPaintEventArgs.cs,
3008 DataGridViewCellPaintingEventArgs.cs,
3009 DataGridViewRowCollection.cs,
3010 DataGridViewRowPrePaintEventArgs.cs,
3011 DataGridViewCell.cs: Clear a few warnings and implement a few
3012 exceptions that should be thrown.
3014 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3016 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
3017 'inheriting' our parent's (non-default) cursor. (Part of
3020 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3022 * XplatUIX11.cs: Fixed cast to make csc happy
3024 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
3026 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
3027 it's for the client area (part of fix for #77479 and needed
3028 for MDI window cursor handling)
3030 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
3031 the appropriate default cursors and also passing the message
3033 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
3034 for non-client areas
3036 2006-02-15 Jackson Harper <jackson@ximian.com>
3038 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
3039 is a real MDI window
3041 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
3043 * X11DesktopColors.cs: Instead of checking the desktop session
3044 string for "KDE" check if it starts with "KDE"
3046 2006-02-10 Jackson Harper <jackson@ximian.com>
3048 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
3051 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3053 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3056 - Got rid of the panel. All controls are now directly added to
3058 - Changed to mono coding style
3060 2006-02-10 Jackson Harper <jackson@ximian.com>
3062 * InternalWindowManager.cs: We don't need the set visibility to
3063 false hack anymore now that peter has written beautiful shutdown
3066 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3068 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3069 where already explicitly destroyed
3071 2006-02-10 Jackson Harper <jackson@ximian.com>
3073 * MdiClient.cs: Handle the case where windows are too high or to
3074 the left and we need scrollbars.
3076 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3078 * MimeIcon.cs: Added some icons
3081 - Got rid of the panel. All controls are now directly added to
3083 - Changed to mono coding style
3084 - On Linux "My Computer" and "My Network" will now show some
3085 more usefull information. A new class, MasterMount, gathers
3086 this information from /proc/mount. Updated MWFFileView to make
3087 use of this information
3088 - Fixed a bug that caused FileDialog to crash when
3089 ".recently_used" file had a zero size
3090 - FilterIndex does now what it should
3092 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3095 2006-02-09 Jackson Harper <jackson@ximian.com>
3097 * ComboBox.cs: Don't touch if null.
3099 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3101 * Cursor.cs: 64bit safeness fix
3102 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3104 2006-02-09 Jackson Harper <jackson@ximian.com>
3106 * Form.cs: If a form is made into an MDI form update the styles so
3107 all the props can get set correctly.
3108 - Kill the mdi_container when we dont need it anymore.
3109 * InternalWindowManager.cs: Add missing NOT
3111 2006-02-08 Jackson Harper <jackson@ximian.com>
3113 * InternalWindowManager.cs: Respek clipping when drawing MDi
3116 2006-02-08 Jackson Harper <jackson@ximian.com>
3118 * Hwnd.cs: Add bits to track non client expose events.
3119 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3120 gives us a proper invalid rect and will allow for some nice
3121 optimizations with NC client drawing
3122 - MDI windows are children windows, so move their style handling
3123 into the child window block.
3124 * InternalWindowManager.cs: Remove a state reset that was
3125 getting invoked at the wrong time. Fixes managed windows getting
3126 into a 'stuck' captured state.
3128 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3130 * TextControl.cs (Document.ctor): Now initializing
3131 selection_anchor. Fixes #77493
3133 2006-02-07 Jackson Harper <jackson@ximian.com>
3135 * TrackBar.cs: The increment/decrements were backwards.
3137 2006-02-07 Mike Kestner <mkestner@novell.com>
3139 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3140 to the instance itself.
3142 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3144 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3145 on ulongs and pointers, the size differs between 32bit and 64bit
3148 2006-02-07 Mike Kestner <mkestner@novell.com>
3150 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3151 for 64 bit platforms to work around a metacity bug.
3153 2006-02-07 Jackson Harper <jackson@ximian.com>
3155 * TrackBar.cs: Process the input keys we need, and hookup to
3156 KeyDown instead of using WndProc, so we get key messages.
3158 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3160 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3162 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3163 we need to translate the XdndVersion atoms array before sending it
3165 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3168 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3169 number of bits for the property, not the number of bytes. The
3170 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3171 but would not crash since it specified 8 bits instead of 4 bits)
3172 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3173 defined as XID -> long in the C headers)
3174 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3175 references since those are now IntPtr to begin with
3176 - Switched all Atom.XXX 'int' casts to IntPtr casts
3177 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3178 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3179 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3181 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3182 - Changed atom in HoverStruct to be IntPtr
3184 - Removed local DllImports, switched code to use those from XplatUIX11
3185 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3187 2006-02-06 Mike Kestner <mkestner@novell.com>
3189 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3190 method signatures in the import region. There may still be some
3191 lingering struct marshaling issues, as I didn't drill down into those.
3194 2006-02-06 Jackson Harper <jackson@ximian.com>
3196 * ComboBox.cs: Dont manually set the top_item, this is computed
3197 when the scrollbar position is set.
3199 2006-02-06 Mike Kestner <mkestner@novell.com>
3201 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3202 startup crashes on amd64. There's other fixes needed. All pinvoke
3203 usage of Atom needs to be mapped to IntPtr for example. And there are
3204 likely other int/long issues to be addressed.
3206 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3208 * FileDialog.cs: One more...
3210 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3212 * FileDialog.cs: Next try
3214 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3216 * FileDialog.cs: First part of fix for #77464
3218 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3220 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3221 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3222 AcceptButton border drawing.
3224 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3226 * Form.cs: Moved positioning of form after auto scaling is applied,
3227 otherwise it would possibly use wrong form size.
3229 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3231 * Control.cs (RecreateHandle): No need to re-create any child
3232 controls, the child windows will get destroyed automatically by
3233 the windowing system or driver, and re-created when the handle
3234 is being accessed the first time. Fixes #77456
3235 * Form.cs: No longer setting the form to closing if the handle is
3236 being recreated. This seems like the right thing to do, don't
3237 have a bug or testcase for this, though.
3239 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3241 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3242 controls to avoid unwanted side effects
3244 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3247 - ScaleCore needs to scale the bounds, not the ClientSize of the
3248 control. Fixes #77416.
3249 - DefaultSize is 0,0 for control
3251 - DefaultSize is 100, 20
3252 - SetBoundsCore: Now enforcing the height, no matter if the provided
3253 height is more or less than the preferred one, as long as AutoSize
3255 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3257 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3260 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3261 call unless both performLayout is true *and* we have a pending
3263 - ResumeLayout: MS does not completely nest Suspend and Resume,
3264 they bottom out at 0, fixed our code to match that.
3265 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3266 SetBoundsCore, we were updating even when we shouldn't. This fixes
3267 swf-anchors mis-anchoring when resizing the app fast and lots.
3268 - UpdateDistances: Now only setting the left and top distance if
3269 we have a parent and are not suspended, this is based on
3270 a suggestion by Don Edvaldson in bug #77355.
3271 - OnVisibleChanged: Fixed logic when to create the control. We may
3272 not create the control if we have no parent or if it's not visible;
3273 switched to using Visible property instead of is_visible field
3274 since the property also considers parent states. This fixes a bug
3275 when starting Paint.Net
3277 2006-02-02 Jackson Harper <jackson@ximian.com>
3279 * Form.cs: If the forms handle hasn't been created yet don't call
3280 into xplatui to make it top most, just set the topmost flag on the
3281 form in CreateParams
3282 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3284 2006-02-01 Jackson Harper <jackson@ximian.com>
3286 * ScrollableControl.cs: Refactored the Recalculate method a
3287 little, this wasn't handling all the variants of bottom and right
3288 bars needed to be added and added/removed based on their
3289 counterparts being added/removed (which changes the drawable
3290 size). Also we special case client widths and heights of 0 and
3291 don't add the scrollbar for those.
3293 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3296 - Added method to get AbsoluteGeometry(); currently unused, but might
3297 be used in the future, if we try again to figure out toplevel
3298 coordinates with some more crappy window managers
3299 - Added FrameExtents() method to retrieve the WM set decoration size
3300 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3301 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3303 - Added whacky_wm tracking var for metacity
3304 - Added logic to have default menu height if the actual menu height
3305 has not yet been calculated (part of fix for #77426)
3306 * Form.cs: Keep track whether client size has been set and re-set
3307 it if a menu is added/removed afterwards (Fixes #77426)
3309 2006-01-31 Jackson Harper <jackson@ximian.com>
3311 * Control.cs: When a new Site is set on the component attempt to
3312 pull the AmbientProperties from it.
3314 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3316 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3317 in the background of the owning form. Fixes #77332
3319 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3321 * MimeIcon.cs: Fix for #77409
3323 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3325 * XplatUIX11GTK.cs: Initial import
3327 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3329 * FixedSizeTextBox: fixes class signature
3331 2006-01-30 Jackson Harper <jackson@ximian.com>
3333 * FixedSizeTextBox.cs: New internal class that represents a
3334 textBox that will not be scaled.
3337 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3340 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3342 * XplatUIX11.cs: Retrieve default screen number instead of
3343 assuming 0. Attempted fix for #77318
3345 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3348 - GetWindowPos: When a window is parented by FosterParent, use
3349 the desktop instead of FosterParent as the base to get coordinates
3350 - CreateWindow: Don't make FosterParent the parent window for Popups
3351 if we don't want a taskbar entry, Popups automatically don't get one
3352 * Hwnd.cs: Need to call remove to actually remove the key from the
3355 2006-01-30 Mike Kestner <mkestner@novell.com>
3357 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3359 2006-01-30 Jackson Harper <jackson@ximian.com>
3362 * TreeNode.cs: Raise events no matter how the treenode is
3363 checked. Patch by Don Edvalson.
3365 2006-01-30 Jackson Harper <jackson@ximian.com>
3367 * TreeNode.cs: Signature fix.
3369 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3371 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3373 2006-01-20 Mike Kestner <mkestner@novell.com>
3375 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3376 event forwarding when menus are active.
3377 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3378 Most of the patch is pdb's with a little rework.
3380 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3382 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3383 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3384 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3385 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3386 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3387 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3388 the PaintWindowDecorations method
3389 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3390 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3391 * MenuAPI.cs: Made tracker window invisible
3393 - Removed GetMenuDC and ReleaseMenuDC methods
3394 - Implemented the client=false path for PaintEventStart and
3397 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3399 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3400 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3403 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3405 - CreateParams: Reworked the styles to match MS look'n'feel,
3406 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3407 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3409 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3411 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3412 window is not mapped, since otherwise every form that's being
3413 created is considered minimized, which is wrong.
3414 * Form.cs: Catching the exception and returning our internal value
3417 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3419 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3420 SetWindowMinMax() to have means to tell the driver about the minimum,
3421 maximum and maximized state window sizes. (Part of the fix for #76485)
3423 - Implemented tracking of minimum and maximum window size, now calling
3424 new SetWindowMinMax() driver method to tell the driver (Part of the
3426 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3427 (Completes fix for #76485)
3428 - Calling new SetWindowMinMax driver method when the handle for a
3429 form is created, to make sure the driver knows about it even if
3430 the values have been set before the window was created
3431 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3432 to avoid messing up our anchoring calculations (partial fix
3434 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3436 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3437 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3438 (and presumably other freedesktop.org compliant WMs). Left the
3439 assumption unmapped=minimized, needed for SetVisible to work.
3440 - Now setting the window state when creating windows
3441 - Fixed SetVisible to consider/set the window state when mapping
3442 a Form. We cannot set the state before it's mapped, and we cannot
3443 use Form.WindowState once it's mapped (since it would ask the
3444 driver and get 'normal'. Therefore, we grab the state before
3445 mapping, map, and then set state.
3446 - Implmemented SetWindowMinMax method; Metacity does not seem to
3447 honor the ZoomHints, though.
3449 - Removed MINMAXINFO (moved to XplatUIStructs)
3450 - Added SetWindowMinMax stub (on Win32 the only way to set that
3451 information is in response to the WM_GETMINMAXINFO message, which
3452 is handled in Form.cs)
3453 - Added logic to SetVisible to set the proper window state when a
3454 form is made visible (fixes #75720)
3456 2006-01-26 Jackson Harper <jackson@ximian.com>
3458 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3459 same way we handle them with Invoke.
3461 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3464 - Added tracking of window state so CreateParams can return
3465 the appropriate style
3466 - Moved setting of WS_CAPTION style in CreateParams to allow
3467 styles without caption
3468 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3469 control if the TextBox property is accessed. Fixes #77345
3471 - get_Created: now uses is_disposed and is_created to determine
3472 return value (suggested by Jackson)
3473 - CreateHandle: No longer exits if the handle is being recreated
3474 - RecreateHandle: If the handle is not yet created call the
3475 appropriate method to create either control or handle. If the
3476 control is already created CreateHandle will simply exit instead
3477 of just creating the handle
3478 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3479 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3482 - When DestroyWindow is called, instead of waiting for the
3483 DestroyNotification from X11, we directly post it to the WndProc
3484 and immediately dispose the hwnd object.
3485 Same applies to DestroyChildWindows, and this obsoletes the
3486 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3487 child windows before our own, to avoid X11 errors.
3488 - Removed the direct sending of WM_PAINT on UpdateWindow
3490 - Reworked DoEvents and GetMessage to allow access to internal queue
3491 even when trying non-blocking access to the queue. Fixes #77335.
3492 Based on a patch suggestion by Don Edvalson. The new private
3493 GetMessage can now also be used as a backend for a PeekMessage
3495 * XplatUI.cs: Improved debug output for CreateWindow
3497 2006-01-25 Jackson Harper <jackson@ximian.com>
3499 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3501 2006-01-24 Jackson Harper <jackson@ximian.com>
3503 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3504 when we have a MaxDropItems lower then the selected index.
3506 2006-01-24 Jackson Harper <jackson@ximian.com>
3508 * Control.cs: Don't allow selection of non visible controls, allow
3509 selection of controls without parents.
3511 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3513 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3514 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3516 2006-01-23 Jackson Harper <jackson@ximian.com>
3518 * UpDownBase.cs: Make the textbox handle all the selection and
3519 tabbing. This fixes tabing to updown controls.
3521 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3523 * TextBoxBase.cs: fixes exception thown the object was null
3525 2006-01-23 Jackson Harper <jackson@ximian.com>
3527 * ButtonBase.cs: Just use the base CreateParams. They set
3528 visibility and enabled correctly.
3531 * MonthCalendar.cs: Lets let the base set as much of the
3532 createparams as possible so we don't have duplicate code all over
3535 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3537 * ThemeGtk.cs: Added TrackBar and some experimental code to
3538 get double buffering back
3540 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3542 * DataGrid.cs: Allows row number set internally higher than the last
3543 when creating a new row. Restores the editing functionality.
3545 2006-01-20 Mike Kestner <mkestner@novell.com>
3547 * MimeIcon.cs: delay Image creation until the icons are accessed
3548 instead of creating 190 scaled images on GnomeHandler startup.
3550 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3552 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3553 first call base before processing the event. Fixes #77279
3555 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3557 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3558 that the stride for the GDI bitmap would match the stride of
3561 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3563 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3565 2006-01-19 Jackson Harper <jackson@ximian.com>
3567 * ComboBox.cs: Hookup the text controls keydown event so we get
3568 those when the text control has the focus.
3570 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3572 * Label.cs: Now using the base events instead of defining new ones;
3573 this allows us to just call the base properties without having to
3574 duplicate all base property logic
3576 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3578 * Label.cs: A label by default is not a tabstop (Fixes one of our
3579 failing nunit tests)
3581 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3583 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3584 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3586 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3588 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3589 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3592 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3593 constructor creates images that can't be saved. Part of the fix
3595 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3596 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3597 bug fix for handling window state in forms properly)
3599 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3601 * ThemeGtk.cs: Simplify ScrollBar drawing
3603 2006-01-18 Jackson Harper <jackson@ximian.com>
3605 * Splitter.cs: Set the default dock style for the splitter control
3608 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3610 * ThemeGtk.cs: Corrected StateType and ShadowType for
3613 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3615 * Control.cs: Make use of Theme.DoubleBufferingSupported
3617 - Added drawing for flat style buttons
3618 - Added ScrollBar drawing
3620 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3622 * ThemeClearlooks.cs: Removed some unneeded code.
3623 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3625 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3627 * LinkLabel.cs: We need to update the hover drawing when
3628 leaving the control as well.
3630 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3632 * DataGrid.cs: Clicking on non empty areas in the columns
3633 area was giving an exception
3635 2006-01-17 Jackson Harper <jackson@ximian.com>
3637 * ThemeWin32Classic.cs:
3638 * ListView.cs: Do not draw/clip the headers when the header style
3641 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3643 * DataGrid.cs: Fixes 77260
3645 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3647 * DataGrid.cs: Clicking on a column on a empty grid was giving
3650 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3652 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3653 or any keypress will crash the grid.
3655 2006-01-17 Mike Kestner <mkestner@novell.com>
3657 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3658 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3659 invisible/previously-visible items.
3662 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3664 * ThemeClearlooks.cs:
3665 - Added CL_Draw_Button method; now other theme controls that are
3666 not derived from button or do not have a button can draw buttons
3668 - Updated ComboBox drawing
3669 - Beautified RadioButton drawing
3670 - Corrected drawing of bottom and left tabs
3671 - Beautified DateTimePicker and MonthCalendar
3672 - Added CPDrawButton and CPDrawRadioButton
3674 2006-01-16 Jackson Harper <jackson@ximian.com>
3676 * ComboBox.cs: Set the initial value of the scrollbar to the
3677 current index. Reduce the numbers of refreshs and IndexOfs called.
3679 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3681 * FileDialog.cs: When the file listview is focused hitting the
3682 backspace key moves the fileview to the parent directory
3684 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3687 - Added RecreateHandle call when changing taskbar visibility to
3688 trigger reparenting in Win32 driver (Fixes #75719)
3689 - If a window has minimize or maximize buttons, it cannot have
3692 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3693 the toplevel form with FosterParent (A toolwindow not on the
3694 taskbar) (Fixes #75719)
3695 - Made FosterParent a toolwindow
3697 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3699 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3701 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3703 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3704 is currently over that control, make sure that tooltip_window.Text
3707 2006-01-13 Mike Kestner <mkestner@novell.com>
3709 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3711 2006-01-13 Jackson Harper <jackson@ximian.com>
3713 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3714 value passed. Also redraw the selected node when we recieve
3715 focus, so tabbing between trees works correctly.
3717 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3719 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3720 ~/.gconf/%gconf-tree.xml, so use
3721 .gconf/desktop/gnome/interface/%gconf.xml
3723 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3725 * TextControl.cs: Draw text in gray if control is disabled
3727 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3729 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3730 make sure it's always visible. Fixes #76680.
3732 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3734 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3736 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3738 * PageSetupDialog.cs: Added.
3739 * PrintDialog.cs: Attributes.
3740 * PrintPreviewControl.cs: Updates.
3741 * PrintPreviewDialog.cs: Updates.
3743 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3745 * Control.cs: Undid my selection check fix, since it's not needed
3747 - Now considering the presence of hscroll/vscroll when sizing
3748 vscroll/hscroll respectively. Fixed bug #77077
3749 - Added Left/Up/Down/Right to IsInputKey list to prevent
3750 ContainerControl from stealing them. This fixes what I broke
3751 with my last checkin.
3753 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3755 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3756 I finally understand how the property can be set without a setter :-)
3758 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3761 - Switched RunLoop to use static Message.Create to create a
3763 - Added PreProcessMessage call in runloop for keyboard events; this
3764 is part of the fix for #77219, I overlooked this originally in the
3765 MSDN doc for PreProcessMessage
3767 - Removed call to PreProcessMessage from handling of keyboard
3768 messages; it's supposed to be done in the message pump
3769 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3770 per MSDN documentation.
3771 - IsInputChar: All chars are input chars by default; removed the
3772 parent calling chain, MS does not document that
3773 - PreProcessMessage: If IsInputChar is true, we want to return false
3774 to allow dispatching of the message
3775 - When selecting the next control, now also check that we're not
3776 selecting ourselves again and therefore return a false positive.
3778 - Tried to match return values for IsInputKey and ProcessDialogKey
3779 to what MS returns; moved processing of our special keys outside
3780 ProcessDialogKey since MS does not seem to return true on those.
3781 - Moved code that previously was in ProcessDialogKey into new private
3782 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3783 - Reworked handling of WM_CHAR to not have to duplicate code from
3784 Control.cs anymore, instead we simply call down to base.
3786 2006-01-12 Jackson Harper <jackson@ximian.com>
3788 * ComboBox.cs: We always need to refresh the text area when
3789 EndUpdate is called. Fixes the combobox in the file dialog.
3790 * Control.cs: Don't create the creator_thread until the controls
3791 handle is created. Also in InvokeRequired we check if the
3792 creator_thread is null. This gives the effect of InvokeRequired
3793 returning true if the controls handle is not created yet, and
3796 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3799 - Added StartLoop() driver method. This is used to allow drivers to
3800 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3801 loop for a particular thread
3802 - Added EndLoop() driver method. This is called once the message
3803 pump for the thread is shut down
3804 - Added SupportsTransparency method to allow the driver to indicate
3805 opacity support for windows
3807 - Removed TODO attribute, completed AllowTransparency property
3808 - Added documented logic to Opacity
3809 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3810 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3811 versions of CompatibleTextRendering
3812 * X11Structs.cs: Added opacity atom to our atom enumeration
3813 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3814 of a form might be set before it's reparented by the WM, and we need
3815 the opacity value without calling up to Form)
3816 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3817 SupportsTransparency() driver methods
3818 * Application.cs: Now calling StartLoop and EndLoop driver methods
3820 - Added opacity atom registration
3821 - Added StartLoop()/EndLoop() methods. They're empty right now but
3822 will need to get implemented when we switch to a per-thread queue
3823 - Implemented SupportsTransparency() method
3824 - Implemented SetWindowTransparency() method
3825 - Added support for setting the opacity value when a window is
3826 reparented (since the opacity needs to be set on the WM frame)
3827 * XplatUIOSX.cs, XplatUIWin32.cs:
3828 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3830 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3832 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3834 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3836 * FileDialog.cs: Added ToolTip for MWFFileView
3837 * MimeIcon.cs: Rewrote GnomeHandler.
3838 - Get currently used gnome icon theme from
3839 ($HOME)/.gconf/%gconf-tree.xml
3840 - Make use of inherited icon themes
3841 - Support SVG icon themes like Tango via librsvg
3843 2006-01-12 Miguel de Icaza <miguel@novell.com>
3845 Revert's Jackson's revert which broke 2.0 builds. Fix both
3848 * Application.cs: Move the use_compatible_text_rendering outside
3849 the NET_2_0 define. If we ever need to use the
3850 use_compatible_text_rendering on the individual controls they will
3851 access the variable from the common shared code paths.
3853 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3856 - Added more granular debug options
3857 - Added method to print both window text and id
3858 - Switched debug output to use new Window() debug method
3859 - Added IsEnabled() driver method
3860 - Added EnableWindow() driver method
3862 - Removed end_modal; no longer needed, new loop handles termination
3863 via 'closing' variable
3864 - If form is modal, setting DialogResult will now initiate loop
3865 termination via 'closing' variable
3866 - Added support for is_enabled/WS_DISABLED to CreateParams
3867 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3869 - Removed code that's now in RunLoop from ShowDialog()
3870 - Added various documented sanity checks to ShowDialog()
3871 - Added handling of WM_DESTROY message; we set 'closing' on getting
3872 the message to indicate the message pump to terminate
3873 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3874 send by the Application.ExitThread method. (We send the message
3875 to destroy the window after all other events have been
3876 processed through the queue, instead of destroying the handle
3878 - Moved code from Close() method to WM_CLOSE handler; added logic
3879 to only send close-related events if the form is not displayed
3881 * Splitter.cs (..ctor): Fixed typo in resource name
3883 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3885 - set_Cursor: Now only setting calling into XplatUI if the handle for
3886 the control is already created; this avoids implict handle creation
3887 or crashes if it's not created
3888 - set_Enabled: Now setting the enabled state via the new driver method
3889 instead of just tracking it
3890 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3891 - CreateControl: Reordered event firing and method calls to more
3892 closely fire events in the order MS does. Now setting the
3893 enabled state in the driver when creating the control.
3894 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3896 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3897 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3898 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3900 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3901 - Added EnabledHwnd property to easily allow a driver to find the
3902 handle of the first enabled window in the parent chain (this is
3903 used by drivers to pass up input events of disabled windows)
3904 * XplatUIDriver.cs: Added IsEnabled() method
3906 - Removed crude and obsolete exiting tracking variable
3907 - Removed internal ModalRun(); replaced by RunLoop()
3908 - Implemented private CloseForms() method to allow closing all
3909 windows owned by a particular (or all) threads
3910 - Exit() now properly closes all windows without forcing the message
3912 - Removed obsolete InternalExit() method
3913 - Changed Run() methods to use new RunLoop() message pump
3914 - Implemented new RunLoop() method for both modal and non-modal forms
3916 - get_CreateParams: Added setting of WS_DISABLED
3917 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3918 invoked via Form.ShowDialog()
3919 * NativeWindow.cs: We don't remove the window from the collection when
3920 the handle is destroyed; there might still be messages for it in the
3921 queue (mainly the resulting WM_DESTROY); instead it will be removed
3922 when Control calls InvalidateHandle in the WM_DESTROY handler
3924 - CreateWindow: Added logic to handle the WS_DISABLED window style
3925 - EnableWindow: Implemented based on Hwnd.Enabled
3926 - GetMessage: Reset PostQuitState so the method can be called again
3927 - Implemented support for disabled windows (passing messages to the
3928 first enabled parent) in handling all input messages
3929 - Added optimizations for handling Expose events
3930 - Implemeted new driver method IsEnabled()
3931 - Now always resetting paint pending tracking vars when we start paint
3932 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3933 * XplatUIOSX.cs: Added IsEnabled method stub
3934 * XplatUIWin32.cs: Implemented new IsEnabled() method
3936 2006-01-11 Jackson Harper <jackson@ximian.com>
3938 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3939 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3941 * ColorDialog.cs: Clear out the old form before adding the new
3944 2006-01-11 Jackson Harper <jackson@ximian.com>
3946 * X11Dnd.cs: Make sure to add all the text formats when adding
3947 strings to the data object.
3948 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3949 do some redrawing too. Also change the UpdateNode to an
3950 UpdateBelow so the newly added node gets painted.
3952 2006-01-11 Miguel de Icaza <miguel@novell.com>
3954 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3955 LinkLabel.cs, PropertyGrid.cs: Implement the
3956 UseCompatibleTextRendering property for 2.x
3958 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3960 2006-01-11 Jackson Harper <jackson@ximian.com>
3962 * TreeView.cs: Use the property for setting the selected node so
3963 the correct events get raised.
3964 * TreeNode.cs: Update the tree when the fore/back colours of a
3967 2006-01-10 Jackson Harper <jackson@ximian.com>
3969 * TreeView.cs: Allow setting SelectedNode to null.
3971 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3973 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3975 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3977 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3979 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3981 * PrintDialog.cs: Added attributes and set default property values.
3983 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3985 * PrintControllerWithStatusDialog.cs:
3986 Added PrintControllerWithStatusDialog.
3988 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3990 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3991 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3993 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3995 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3997 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3999 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
4000 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
4002 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4004 * MimeIcon.cs: Added internal class SVGUtil.
4006 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
4008 * FileDialog.cs: Don't crash if there are two files with the
4009 same name but different locations.
4011 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
4013 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
4014 dates across multiple month grids. Used to not highlight entire
4015 month, but does now.
4017 2006-01-06 Jackson Harper <jackson@ximian.com>
4019 * MonthCalendar.cs: Removed DoEvents call to prevent a running
4020 message loop. Change timer intervals to numbers that seem more
4023 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
4025 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
4026 object for location info since screen object is now implemented.
4028 2006-01-05 Jackson Harper <jackson@ximian.com>
4030 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
4031 * AsyncMethodResult.cs: We no longer use a WeakReference for the
4032 AsyncMethodResult, this is because we ALWAYS want the
4033 ManualResetEvent to get set.
4034 * Control.cs: When disposing use an async invoke to call shutdown
4035 code, so that thigns don't block on the finalizer thread. Also
4036 check if we even have a message loop before trying to send
4037 messages, if we don't then don't bother sending messages.
4038 - No more weak references for async methods
4039 * XplatUIDriver.cs: No more weak references for async methods.
4041 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4043 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
4044 returns two FontFamily with the same name
4046 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4048 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
4049 drawing disabled text. Instead using the ColorGrayText color
4051 2006-01-04 Jackson Harper <jackson@ximian.com>
4053 * TreeNode.cs: redraw the node when its image index is changed.
4055 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4057 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4058 time I checked there are no others like it.
4060 2006-01-04 Jackson Harper <jackson@ximian.com>
4062 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4063 this gives the behavoir I was looking for.
4064 * Control.cs: Special case Invoking EventHandlers, this matches MS
4065 and fixes part of bug #76326.
4067 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4069 * ThemeClearlooks.cs, FileDialog.cs:
4070 - Reflect the latest Theme class changes
4071 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4074 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4076 * Theme.cs: Cache UI resource images and resize them if needed
4078 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4080 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4081 is called. This fixes the crash in Nexxia when setting the font
4082 attributes in the chat. [However, RTF needs a look-over to make sure
4083 that all SelectionXXX methods handle the special case that selection
4084 is empty and therefore the change must be applied to all text starting
4085 at the cursor/selection start]
4087 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4089 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4090 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4091 * X11Keyboard.cs: Switched to new way of calling PostMessage
4093 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4095 * Theme.cs: Added theme interface for images to allow the theme to
4096 control what images are used for things like FileDialog, MessageBox
4098 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4100 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4103 - Removed some dead code
4104 - Opening a recently used file does work now
4105 - Small UI enhancements
4108 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4110 * FileDialog.cs: Forgot too add __MonoCS__
4112 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4114 * FileDialog.cs: We are able to read recently used files now let's
4115 go on and write them.
4117 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4119 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4121 * MimeIcon.cs: Do a check for the top level media type also
4123 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4125 * ThemeClearlooks.cs:
4126 - Added CPDrawStringDisabled
4127 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4128 some chars if the text doesn't fit into text_rect
4129 - DrawListViewItem: If View = View.LargeIcon center the image;
4130 rewrote the drawing of ListViewItem.Text if View =
4133 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4135 * MimeIcon.cs: Use default KDE icon theme if there is no
4136 "48x48" directory for the current icon theme, fixes #77114
4137 * Mime.cs: Disable not working and actually not used code.
4138 * ThemeWin32Classic.cs:
4139 - Replace "new SolidBrush" in GetControlBackBrush and
4140 GetControlForeBrush with ResPool.GetSolidBrush
4141 - Changed DrawListViewItem from private to protected virtual
4143 - Added form.MaximizeBox = true
4144 - Don't throw an exception if there is a broken symbolic link
4146 2005-12-23 Jackson Harper <jackson@ximian.com>
4148 * TabControl.cs: Give the panels focus, keyboard navigation is
4149 fixed so this works correctly now.
4150 - We need these key events also.
4151 * ToolBar.cs: Remove some of the poor mans double buffering.
4153 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4155 * ComboBox.cs: The internal TextBox now returns the focus.
4157 2005-12-23 Jackson Harper <jackson@ximian.com>
4159 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4161 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4163 * Control.cs: Removed debug code
4164 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4167 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4169 * Control.cs: When creating the control, update the Z-order after
4170 all it's children are created, too. (Fixes nexxia not showing
4173 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4175 * Control.cs: Do not update the anchoring distances if layout is
4176 suspended, instead do it once layout is resumed
4178 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4181 - After many hours of debugging, for both Jackson and
4182 myself, it turns out that it helps to set the parent of a control
4183 if you want to actually see it onscreen. In the spirit of that
4184 discovery, we're now setting the parent of the control and
4185 it's children when the control's handle is created. This fix
4186 will make Lutz Roeder's Reflector run happily.
4187 - now just creating the handle instead of the whole control when
4188 getting a graphics context for the control.
4190 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4192 * ScrollableControl.cs: When calculating the canvas, don't consider
4193 the scrollbar widths. Instead, predict if horizontal scrollbar
4194 will affect canvas when deciding on vertical display and vice versa.
4196 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4198 * RichTextBox.cs: Set default RTF font for documents that don't
4199 have a font table (Fixes #77076)
4201 2005-12-22 Jackson Harper <jackson@ximian.com>
4203 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4204 clipboard. This prevents a NullRef in that case.
4205 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4206 clipboard. PRIMARY is for the currently selected text only. (We
4207 should implement PRIMARY at some point.
4209 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4211 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4212 a Unicode function with a structure that was defined in Ansi way.
4215 2005-12-21 Jackson Harper <jackson@ximian.com>
4217 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4218 on. Because thats how it rolls. (and this avoids it using ambient
4220 * ThemeWin32Classic.cs: Use the proper back color for filling.
4221 * Menu.cs: Use the system menu bar color for drawing menu
4222 bars. Using the window back color will bring ambient colours into
4225 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4227 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4228 Bitmaps were created and not disposed.
4230 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4232 * Control.cs (CreateControl): Don't do anything if the control is
4233 already created, otherwise we'd fire the OnCreated event more than
4236 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4238 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4239 will always match. Instead return -1. Fixes #76464.
4241 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4243 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4244 neither the beginning nor the end of the line (Fixes bug #76479)
4246 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4249 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4250 where handle is invalid
4251 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4252 instead of slower linear search
4253 * NativeWindow.cs: Don't remove the window from the hashtable until
4254 after the driver has destroyed it (since the driver might use
4255 Control.FromHandle to lookup the control object
4256 * Hwnd.cs: Added DestroyPending property to track if a window is
4257 already destroyed as far as the driver is concerned and only hasn't
4258 yet notified the control
4260 - Activate(): Check if the window is still valid before using the
4262 - Implemented DestroyChildWindow() method to mark child windows as
4263 destroyed when a window is destroyed. This prevents situations
4264 where we might call an X method based on queued events for a
4265 window that already has been destroyed but we haven't yet pulled
4266 the destroy method from the queue.
4267 - Added a call to the new DestroyChildWindow() method to the drivers
4268 DestroyWindow code. Also now marking the destroyed window itself
4271 2005-12-20 Jackson Harper <jackson@ximian.com>
4274 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4275 anymore. Just do them when needed, also track the rects of panels
4276 so that we can optimize refreshing more in the future.
4278 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4280 * ColorDialog.cs: Fixed focus drawing in small color controls
4282 2005-12-19 Jackson Harper <jackson@ximian.com>
4284 * InternalWindowManager.cs:
4285 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4286 moving windows works properly.
4288 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4291 - Removed call to InitLayout() from SetBoundsCore(); doc says
4292 it's only called when a control is added to a container
4293 - Split InitLayout logic, moved to separate UpdateDistances() method
4294 since we need to perform those calculations more often than just
4295 when adding the control to a container. (Needed to fix #77022)
4296 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4297 - Reduced the OnBindingContextChanged events count, don't send them
4298 unless the control is created, we still aren't totally matching
4299 MS, but I can't quite figure out some of their rules
4301 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4303 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4306 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4308 * ThemeClearlooks.cs:
4309 - Updated ProgressBar drawing
4310 - Corrected drawing of ScrollBars and scroll buttons
4311 - Some temporary fixes for minor pixel artefacts
4313 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4316 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4317 cause events to be sent in the same order as MS does.
4318 - Added ChangeParent() method to trigger various OnXXXChanged events
4319 that need to be fired when a parent changes (This is a reworking
4320 of the patch from r54254, with the X11 errors fixed)
4321 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4322 since on MS we get OnLayoutChanged events when calling Clear()
4323 - Changed Enabled property to consider parent state as well, if a
4324 parent is not enabled, the control will not be either
4325 - Changed Parent property to simply call Controls.Add() since that
4326 now does all the work required, this way we avoid code duplication
4327 - Threw in a few OnBindingsContextChanged calls to try and match
4328 when MS sends them. We seem to send a few too many, though.
4329 - Added call to CreateControl when adding the control to a parent.
4330 We were never calling CreateControl. Still needs some work, in
4331 some places we treat HandleCreated and ControlCreated as equal,
4333 - Removed obsolete commented out code from UpdateZOrder()
4335 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4337 * ThemeClearlooks.cs: Updated TrackBar drawing.
4339 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4341 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4343 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4345 * FileDialog.cs: Add the Help button and the open readonly
4346 checkbox only if needed
4348 2005-12-16 Jackson Harper <jackson@ximian.com>
4350 * Control.cs: Make sure we have an active menu before trying to
4351 process commands on it. Prevents menu-less forms from crashing
4352 when Alt is pressed.
4353 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4355 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4358 2005-12-16 Jackson Harper <jackson@ximian.com>
4360 * InternalWindowManager.cs: Don't translate tool windows screen
4361 coordinates. This fixes windows 'bouncing' around when being moved.
4363 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4366 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4367 not quite MS compatible, MS uses that number only for single line
4368 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4370 - Now enforcing the MaxLength limit when entering characters
4371 - Added argument to internal Paste() method to track if it's called
4372 from programatically or via keyboard, since keyboard driven pastes
4373 need to enforce max-length
4374 - Added logic to Paste to only paste as many chars as MaxLength
4376 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4378 - Added Length property to return number of characters in document
4379 - Added private CharCount property which only tracks actual chars
4380 in the document (no linefeeds) and fires event when CharCount
4382 - Added tracking of character count to all methods that alter it
4383 - Added LengthChanged event to allow applications to subscribe
4384 to any changes to the document
4386 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4389 - Removed local password_char field (moved to TextBoxBase)
4390 - Now setting the document's password var when password is
4393 - Added password_char field (needed here so MultiLine can
4395 - Added logic to MultiLine property setter to set the document's
4396 variable when password display is allowed
4397 - Removed debug code and made some debug code conditional
4399 - Added RecalculatePasswordLine() method to handle special password
4401 - Added PasswordChar property, also added related tracking vars
4402 - Draw() method now uses local text var for grabbing text to draw,
4403 this var is set to line.text unless we're doing password display,
4404 then it is set to the pre-generated all-password-chars line
4405 - Added calling RecalculatePasswordLine() method for password lines
4407 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4410 - Added Reparented property to allow tracking of Window Manager
4411 reparenting actions (which affect X/Y calculations of toplevel
4413 - Made ToString() print window handles in hex
4415 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4416 determine if X/Y needs offsetting
4417 - AddConfigureNotify(): Fixed offset calculations
4418 - Now adds ReparentNotify messages into the queue
4419 - Now processes ReparentNotify messages and causes a
4420 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4421 is reparented (as most likely it's X/Y coordinates are changed
4424 2005-12-14 Jackson Harper <jackson@ximian.com>
4426 * XplatUIX11.cs: Tool windows still need to respek focus.
4428 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4430 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4431 have a working release
4433 2005-12-13 Jackson Harper <jackson@ximian.com>
4435 * Form.cs: Update styles after setting the border style regardless
4436 of whether or not the window is using a window manager.
4438 2005-12-13 Jackson Harper <jackson@ximian.com>
4440 * Form.cs: We now hook into an internal window manager instead of just an
4441 MDI subsystem, this is so we can have properly behaving tool windows.
4442 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4443 * InternalWindowManager.cs: New internal class that acts as a
4444 window manager for tool windows and as a base for mdi windows.
4445 * MdiWindowManager.cs: New class that acts as a window manager for
4448 2005-12-12 Jackson Harper <jackson@ximian.com>
4450 * Control.cs: Updates so we match behavoir for for implicit
4451 controls. Fixes explosions in MDI.
4453 2005-12-12 Jackson Harper <jackson@ximian.com>
4455 * Control.cs: Implement Invalidate (Region).
4457 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4460 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4461 the same events as MS does. MS fires events for each property
4462 except, for unknown reasons, Cursor, when the control is reparented.
4463 I can't seem to totally match add/remove since MS also fires some
4464 VisibleChanged events, which makes no sense. Consolidated the
4465 parenting code into a separate method so it can be called from
4466 both Add and Remove. set_Parent no longer needs any special logic
4467 as it calls the parent's add method which implicitly fires
4469 - Removed some obsolete code and debug output
4470 - Enabled state is inherited from parents, if this is enabled
4472 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4474 * Form.cs: Removed commented out code
4476 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4479 - Added internal version of Invoke, with additional argument
4480 indicating if we're calling it from a Dispose() handler. That
4481 way we can avoid BeginInvoke throwing an exception if we're
4482 calling for an already destroyed window.
4483 - Added a dispose argument to BeginInvokeInternal, and made the
4484 check if a valid window handle chain exists conditional on
4485 it not being a dispose call
4486 - Removed code in DestroyHandle to destroy our children. Since we
4487 now handle the WM_DESTROY message we will catch all our children
4489 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4491 - Added a field to track the application context of the form.
4492 - No need to set closing variable as response to WM_CLOSE, instead
4493 we destroy the window. We also call PostQuitMessage if the form
4494 has an application context (which makes it the main app form,
4495 which, when closed terminates the app)
4497 - Dropped Exit() method, it's naming was confusing
4498 - Added PostQuitMessage() which causes GetMessage to return false
4499 once the message queue is empty
4500 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4502 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4503 no longer a valid XplatUI method, but left it in since it's used
4504 internally. Added empty PostQuitMessage() method.
4505 * MenuAPI.cs: Replaced call to Exit() with call to
4506 PostQuitMessage, even though this is probably no longer needed.
4507 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4508 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4510 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4511 - Removed old debug code that would call XplatUI for exception
4512 display, enabled standard exception handling (Still not enabled
4513 though, until NativeWindow's ExternalExceptionHandler define
4516 - Added internal method to allow control to update NativeWindow
4517 after a window has been destroyed
4518 - Added handling of already destroyed windows when calling i
4520 - Added removal of handle from list on ReleaseHandle
4522 - Dropped GetMessageResult var and related code
4523 - Added PostQuitState to field to track if PostQuitMessage has been
4525 - Dropped Exit() method
4526 - Added PostQuitMessage() method
4527 - GetMessage now will return false if PostQuitState is set and no
4528 more messages are in the queue.
4529 - Expose handler will no longer generate WM_PAINT messages if we are
4530 in PostQuitState since it's very likely any windows have already
4531 been destroyed, and since Hwnd won't get updated until we have
4532 processed the DestroyNotify we'd be causing X errors.
4534 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4536 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4537 Thanks to Mike for pointing out the err of my ways.
4539 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4541 * Control.cs(PreProcessMessage): Moved menu handling back, but
4542 after all other key handling, to match MS (who handles Menu in
4544 * Menu.cs (WndProc): Removed my brainfart
4546 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4548 * Control.cs(PreProcessMessage): Removed special menu handling
4549 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4551 2005-12-07 Mike Kestner <mkestner@novell.com>
4553 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4554 state according in tracker.
4555 * Menu.cs : promote tracker field to base class and provide a tracker
4556 lookup capability. Add/Remove shortcuts dynamically if the top menu
4557 has a tracker. Unparent items that are removed from the collection.
4558 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4559 * Theme*.cs: add always_show_hotkeys field to support configurability
4560 of mnemonic display. win32 doesn't show mnemonics until Alt is
4563 2005-12-07 Jackson Harper <jackson@ximian.com>
4565 * MdiChildContext.cs: Use Control.ResetCursor.
4566 * Control.cs: ResetCursor needs to set the property so that the
4567 correct XplatUI call gets made.
4569 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4571 * Control.cs: More fixes to make our key events match MS. We
4572 were not setting the modifier state on KeyData, and we were
4573 not generating any events when Alt was pressed with a key
4574 since handling of WM_SYSxxx was missing for the OnKey methods.
4576 2005-12-07 Jackson Harper <jackson@ximian.com>
4578 * MdiChildContext.cs: reenable the sizing code.
4579 - When the mouse leaves a window reset its cursor.
4581 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4583 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4585 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4587 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4588 widths of Fixed3D borders
4590 2005-12-07 Jackson Harper <jackson@ximian.com>
4592 * MdiClient.cs: Fix warnings. Earn Mike's love.
4594 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4596 * ThemeClearlooks.cs:
4597 - Adjusted mouse over button color
4598 - Added first parts of CheckBox drawing
4599 - Added correct color for selected text background
4600 - Fixed ComboBox drawing
4601 - Added CPDrawBorder3D and CPDrawBorder
4603 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4605 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4607 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4609 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4610 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4611 alert users via sound. We could add an enum arg with different
4612 types of alerts in the future
4614 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4616 * Control.cs: Fix behaviour problems pointed out by Mike
4618 2005-12-05 Mike Kestner <mkestner@novell.com>
4620 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4621 prop setters. Calls parent.Refresh for now, but could be maybe be
4622 optimized with an internal method on StatusBar at some point.
4625 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4627 * RichTextBox.cs: Implemented get_SelectionColor
4629 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4631 * ThemeClearlooks.cs:
4633 - Draw black button border only if button is Form.AcceptButton
4634 - Draw correct button color for pressed RadioButton if the mouse
4635 has entered the button
4636 - Updated ProgressBar drawing!
4637 - Updated CPDrawSizeGrip drawing
4638 - Updated StatusBarPanel drawing
4640 2005-12-05 Mike Kestner <mkestner@novell.com>
4642 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4643 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4645 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4647 * ThemeClearlooks.cs: Initial check-in, activate with
4648 export MONO_THEME=clearlooks
4649 * ThemeEngine.cs: Added ThemeClearlooks
4651 2005-12-03 Mike Kestner <mkestner@novell.com>
4653 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4656 2005-12-02 Jackson Harper <jackson@ximian.com>
4658 * Form.cs: If the child form has no menu the default main menu is
4659 used as the active menu.
4661 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4663 * ListBox.cs: Check if any items exist before trying to resolve
4664 coordinates into items
4666 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4668 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4669 as the second color for the background hatch
4671 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4673 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4674 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4675 sure that what we pass to FormatText is always 1-based. Fixes #76885
4677 2005-11-29 Miguel de Icaza <miguel@novell.com>
4679 * NumericUpDown.cs (EndInit): When we are done initializing,
4680 reflect any updates on the UI.
4682 2005-12-02 Jackson Harper <jackson@ximian.com>
4684 * ImplicitHScrollBar.cs:
4685 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4686 their container controls.
4687 * TreeView.cs: Use the new implicit scrollbars.
4689 2005-12-02 Jackson Harper <jackson@ximian.com>
4691 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4693 * TreeNodeCollection.cs: If we remove the topnode we need to
4694 update topnode to the next node in line.
4695 - When clearing nodes go through the same process as removing
4696 them, so they get depareneted and checked if they are top node.
4698 2005-12-01 Jackson Harper <jackson@ximian.com>
4700 * TreeView.cs: When imagelists are used the image area is
4701 selectable as well as the text.
4702 - If there are no selected nodes select the first one.
4703 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4704 so don't do it more then we need to.
4706 2005-12-01 Jackson Harper <jackson@ximian.com>
4708 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4709 that arrows can be scaled.
4711 2005-12-01 Jackson Harper <jackson@ximian.com>
4713 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4714 fail. Patch by Dieter Bremes
4716 2005-11-30 Jackson Harper <jackson@ximian.com>
4718 * Form.cs: Property is 2.0 only
4719 * PrintDialog.cs: Signature fix.
4721 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4724 - No longer artificially moves text 2 pixels down (now that we have
4725 borders this is no longer needed)
4726 - Added calcs for left, hanging and right indent
4728 2005-11-23 Mike Kestner <mkestner@novell.com>
4730 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4732 2005-11-30 Jackson Harper <jackson@ximian.com>
4734 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4735 get cloned as part of CloneMenu ().
4736 * Menu.cs: Make sure the parent of the items get set correctly
4737 when they are added. And the owners are notified of the changes.
4738 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4739 we can change the menu being displayed/handled by the form without
4740 changing the menu assosciated with the form.
4741 - Don't let Mdi children draw/handle menus.
4743 2005-11-30 Jackson Harper <jackson@ximian.com>
4745 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4746 a MenuChanged event. Just to make the API a little more
4749 * MenuItem.cs: Use the new OnMenuChanged
4750 * MdiChildContext.cs: Handle menu merging.
4751 * Form.cs: Implement MergedMenu.
4753 2005-11-30 Jackson Harper <jackson@ximian.com>
4755 * Menu.cs: We were misusing Add. Add goes behind the specified
4756 index according to the docs, and does not replace the specified
4757 index. So I added an Insert method.
4759 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4761 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4762 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4764 * RichTextBox.cs: Added calls to base for DnD events
4766 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4769 - Fixed drag-selection related crash; style fixes
4770 - Implemented undo class
4771 o Implemented method to capture document state for specified
4772 range in document tree
4773 o Implemented method to restore captured document state
4774 o Implemented cursor tracking
4775 o Implemented basic undo stack
4776 - Added undo cursor tracking to methods altering cursor location
4777 - Added undo tracking to selection deletion (still missing
4778 other text-altering hookups)
4780 - Added SelectionLength property
4781 - Implemented CanPaste()
4782 - Implemented Paste()
4783 - Added missing protected methods
4784 - Fixed RTF->Document conversion; now uses font index 0 and color
4785 index 0 as the default font for the parsed text
4786 - Fixed RTF<->Document font size translation
4787 - Fixed RTF generation, now properly handles cross-tag boundaries
4788 for single line selection
4789 - No longer always appends blank line to generated RTF
4791 - Added missing attributes
4792 - Hooked up undo-related methods
4794 - Implemented Copy()
4795 - Implemented Paste()
4797 - Fixed caret mis-behaviour on backspace across line-boundaries
4799 2005-11-29 Jackson Harper <jackson@ximian.com>
4801 * MdiClient.cs: Add a method for activating mdi children. Very
4802 basic right now. I imagine someday it might need more girth.
4803 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4804 children windows names are added to the menu item.
4805 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4806 mdilist. This happens regardless of whether or not there are any
4807 mdi windows to see in the list, and according to my tests happens
4808 before the items are even added. Also happens if there isn't even
4809 an mdi client to get windows from.
4811 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4813 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4814 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4816 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4818 * DataGridTableStyle.cs:
4819 - Create always the styles for the missing columns even if they are
4820 provided by the user (not default table style)
4823 - Fixes SetDataBinding (always re-attach source)
4824 - Fixes SetNewDataSource (only clear styles if they are not for
4826 - Expands OnTableStylesCollectionChanged to handle style refresh
4829 2005-11-29 Jackson Harper <jackson@ximian.com>
4831 * FileDialog.cs: Implement missing bits, remove some dead
4833 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4834 creation of the panel so that the options set on the dialog are
4835 seen when the panel is created.
4836 * TreeView.cs: raise a click when items are clicked.
4838 2005-11-29 Jackson Harper <jackson@ximian.com>
4840 * MdiClient.cs: Pass some signature methods through to base.
4842 2005-11-28 Jackson Harper <jackson@ximian.com>
4844 * ListView.cs: Raise the click event when items are clicked.
4846 2005-11-28 Jackson Harper <jackson@ximian.com>
4848 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4851 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4853 * ThemeNice.cs: - Removed 1 pixel bitmaps
4854 - Use SmoothingMode.AntiAlias where it makes sense
4855 (ScrollButton arrow for example)
4856 - Enhanced Button focus drawing
4857 - Fixed ComboBox drawing (no artefacts anymore, focus
4858 rectangle is back again, reduced size of ComboButton, etc.)
4859 - Fixed RadioButton focus drawing for Appearence.Button
4860 - Slight ScrollButton redesign
4861 - Some LinearGradientBrush size fixes
4862 - GroupBoxes have now rounded edges
4863 - Fixed StatusBar drawing
4865 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4867 * ThemeNice.cs: - Remove dead code
4868 - use correct background colors for menus, etc.
4869 - Fake pixel drawing with 1 pixel bitmaps
4871 2005-11-24 Jackson Harper <jackson@ximian.com>
4873 * MdiClient.cs: Size the scrollbars when resizing the window.
4874 - Resize the maximized windows when the client is resized
4875 * Form.cs: Make the child context available
4877 2005-11-23 Jackson Harper <jackson@ximian.com>
4879 * MdiChildContext.cs: Don't size windows if they are maximized.
4881 2005-11-23 Mike Kestner <mkestner@novell.com>
4883 * ContextMenu.cs: use MenuTracker.
4884 * Control.cs: remove menu handle usage.
4885 * Form.cs: remove menu handle usage.
4886 * Hwnd.cs: remove menu handle usage.
4887 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4888 motion and clicks to the new Tracker handlers.
4889 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4891 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4892 Killed the MENU and MENUITEM data types and associated collections
4893 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4894 MenuTracker class that exposes the leftovers from the old MenuAPI
4895 static methods. Restructured Capture handling so that only one grab is
4896 done for the entire menu hierarchy instead of handing off grabs to
4897 submenus. Tracker now has an invisible control to Capture when active.
4898 * MenuItem.cs: add sizing accessors, kill Create
4900 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4901 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4902 MENU(ITEM). remove menu handle usage, use Menu directly.
4903 * XplatUIDriver.cs: remove menu handle usage.
4904 * XplatUIOSX.cs: remove menu handle usage.
4905 * XplatUIWin32.cs: remove menu handle usage.
4906 * XplatUIX11.cs: remove menu handle usage.
4908 2005-11-22 Jackson Harper <jackson@ximian.com>
4910 * Hwnd.cs: Don't compute the menu size for
4911 DefaultClientRectangle.
4912 - Reenable menu sizes being computed for GetClienRectangle.
4913 * Form.cs: Remove comment of trechery
4915 2005-11-22 Jackson Harper <jackson@ximian.com>
4917 * Hwnd.cs: The adjustments for the menu bar are made when it is
4918 attached to the form.
4920 2005-11-19 Jackson Harper <jackson@ximian.com>
4922 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4923 (just like on windows).
4925 2005-11-19 Jackson Harper <jackson@ximian.com>
4927 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4928 use real buttons anymore because they are in non client area. The
4929 one TODO here is that I need to somehow invalidate a section of
4930 the non client area.
4932 2005-11-18 Jackson Harper <jackson@ximian.com>
4934 * Control.cs: Put the enum check back in now that MDI doesnt have
4935 to use this to set border styles.
4936 * Form.cs: Only set mdi child windows borders if the handle has
4938 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4939 this directly on to the driver.
4940 - Get the move start position before adjusting for the titlebar
4941 height, this fixes the windows "skipping" when they are first
4944 2005-11-18 Jackson Harper <jackson@ximian.com>
4946 * XplatUIX11.cs: Just compute the mdi borders separately as they
4947 don't totally match up with normal form borders.
4949 2005-11-18 Jackson Harper <jackson@ximian.com>
4951 * Control.cs: Set WS_ styles for borders, so that the driver does
4952 not have to retrieve the control instance to figure out what kind
4953 of borders it should have.
4954 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4955 driver can know its an mdi child easily.
4956 * XplatUIX11.cs: Get the border styles and whether the window is
4957 MDI from the Styles and ExStyles params instead of having to get a
4958 control. This prevents a chicken and egg problem.
4960 2005-11-18 Jackson Harper <jackson@ximian.com>
4962 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4964 2005-11-18 Jackson Harper <jackson@ximian.com>
4966 * MdiClient.cs: Calculate when to add and remove scrollbars
4968 * MdiChildContext.cs: Adjust the y position to take the titlebar
4970 - No height for FormBorderStyle.None
4972 2005-11-18 Jackson Harper <jackson@ximian.com>
4974 * Control.cs: Allow non enum values to be used for
4975 InternalBorderStyle. MDI does this to set a special border style.
4976 - New utility methods for converting points to/from client coords
4977 - Add the newly created control to the Controls collection before
4978 updating its style. This way UpdateStyle can walk the control
4979 heirarchy to find the control if needed.
4980 so I don't need to create a new Point object all the time.
4981 * Form.cs: Let MDI windows handle their border styles.
4982 - Set styles on MDI windows so the correct title style is derived.
4983 * MdiChildContext.cs: Move all the painting and window handling
4984 into the non client area.
4985 - Use correct sizing and put correct buttons on frames based on
4986 the FormBorderStyle.
4987 - Notify the mdi client about scrolling
4988 - Need to handle the buttons ourselves now, because they are all
4989 in non client areas and we can't add controls there.
4990 * MdiClient.cs: Halfway to scrolling, this implementation is
4991 somewhat broken though, we need to check to make sure other
4992 windows aren't causing scrolling before removing the bars. Also
4993 the bars need to be drawn on top, maybe I can switch implicit
4994 controls to be on top.
4995 * Hwnd.cs: caption_height and tool_caption_height are now
4996 properties of an hwnd, this way they can be set by the driver
4997 based on the type of window they are. In X11 the window manager
4998 handles the decorations so caption_height is zero unless its an
5000 - Add 3 pixel borders for MDI windows (0xFFFF).
5001 - Get rid of some code duplication, have DefaultClientRectanle
5002 just call GetClientRectangle.
5003 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
5005 - Set border styles differently for mdi windows.
5006 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
5009 2005-11-15 Mike Kestner <mkestner@novell.com>
5011 * Menu.cs: when adding an item to the collection, if item is already
5012 parented, remove it from the parent.
5014 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
5016 * X11DesktopColors.cs: Added KDE support
5018 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
5021 - Clipboard methods now can translate Rtf format
5022 - No longer removes clipboard contents whenever a new format is added
5023 to allow placing multiple formats on the clipboard
5024 * Clipboard.cs: Clipboard now supports getting a IDataObject and
5025 will place all formats contained in it onto the clipboard. Also
5026 now cleans the clipboard before placing a new object onto it
5028 - Implemented set_Rtf
5029 - Implemented set_SelectedRtf
5030 - Created InsertRTFFromStream() method to allow single code base
5031 for all properties and methods that insert RTF into document
5032 - Removed debug output
5034 - Fixed Delete(int) to fix up line numbers
5035 - Fixed ReplaceSelection to combine start and end line
5036 - Fixed serious DeleteChars bug that would leave the document tree
5038 - Improved DumpTree with several logic checks to detect broken
5040 - Removed debug lines
5041 - Fixed Caret.WordForward/WordBack moving code, now always also
5042 updates caret.tag (fixes crash when word-selecting across tag
5043 boundaries via keyboard)
5044 - Added Insert() method for inserting multiline text into documents
5045 - Fixed DeleteChars() calculation errors that would cause a broken
5046 tag chain with multiple tag lines
5047 - DeleteChars() no longer crashes on multi-tag lines if not all tags
5048 - Split() no longer moves caret if split is at caret location
5049 - ReplaceSelection() now updates the cursor and re-displays it
5050 - ReplaceSelection() now uses new Insert() method to avoid code
5052 - FormatText() can now handle formatting partial lines
5054 - Append now uses new TextControl.Insert() method (this avoids
5056 - Implemented Ctrl-X (Cut) (
5057 - Implemented Ctrl-C (Copy)
5058 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5059 regeneration when pasting text; roundtripping Copy&Paste within
5060 edit control still fails due to some calculation bugs in GenerateRTF)
5061 - The Delete key will now remove the current selection if it is visible
5062 * TextBox.cs: Removed debug lines
5063 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5064 driver to be initialized and can't therefore be done via a static ctor)
5066 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5068 * TextControl.cs: Added backend code for finding char arrays and strings
5070 - Added mouse wheel scroll support
5071 - Added support for VScroll and HScroll events
5073 - Implemented all seven Find() variants
5074 - Implemented GetCharFromPosition()
5075 - Implemented GetCharIndexFromPosition()
5076 - Implemented GetLineFromIndex()
5077 - Implemented GetPositionFromCharIndex();
5078 - Implemented SaveFile for PlainText and UnicodeText
5079 - Fixed set_Font, now setting a new font applies that font to
5081 - Implemented generic Document to RTF converter
5082 - Implemented SaveFile for RichText format (still missing unicode
5083 conversion for non-ansi chars)
5084 - Implemented get_Rtf
5085 - Implemented get_SelectedRtf
5087 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5089 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5090 to allow any captures to be released before triggering OnClick. This
5091 way a click handler may capture the mouse without interference.
5092 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5093 This way we send them even though X may not allow a grab (if the window
5094 isn't visible, for example)
5096 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5098 * DataGridViewRowEventArgs.cs: DataGridView implementation
5099 * DataGridViewElement.cs: DataGridView implementation
5100 * DataGridViewComboBoxCell.cs: DataGridView implementation
5101 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5102 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5103 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5104 * ImageLayout.cs: DataGridView implementation
5105 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5106 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5107 * DataGridViewSelectionMode.cs: DataGridView implementation
5108 * IDataGridViewEditingControl.cs: DataGridView implementation
5109 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5110 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5111 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5112 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5113 * DataGridViewColumnSortMode.cs: DataGridView implementation
5114 * DataGridView.cs: DataGridView implementation
5115 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5116 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5117 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5118 * Padding.cs: DataGridView implementation
5119 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5120 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5121 * DataGridViewRowEventHandler.cs: DataGridView implementation
5122 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5123 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5124 * DataGridViewButtonCell.cs: DataGridView implementation
5125 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5126 * DataGridViewEditMode.cs: DataGridView implementation
5127 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5128 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5129 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5130 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5131 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5132 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5133 * DataGridViewCellEventHandler.cs: DataGridView implementation
5134 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5135 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5136 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5137 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5138 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5139 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5140 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5141 * QuestionEventArgs.cs: DataGridView implementation
5142 * IDataGridViewEditingCell.cs: DataGridView implementation
5143 * DataGridViewTriState.cs: DataGridView implementation
5144 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5145 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5146 * DataGridViewColumnCollection.cs: DataGridView implementation
5147 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5148 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5149 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5150 * DataGridViewColumn.cs: DataGridView implementation
5151 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5152 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5153 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5154 * DataGridViewRow.cs: DataGridView implementation
5155 * DataGridViewImageCellLayout.cs: DataGridView implementation
5156 * DataGridViewImageCell.cs: DataGridView implementation
5157 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5158 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5159 * DataGridViewHeaderCell.cs: DataGridView implementation
5160 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5161 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5162 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5163 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5164 * QuestionEventHandler.cs: DataGridView implementation
5165 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5166 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5167 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5168 * DataGridViewCell.cs: DataGridView implementation
5169 * DataGridViewCellEventArgs.cs: DataGridView implementation
5170 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5171 * DataGridViewCellStyle.cs: DataGridView implementation
5172 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5173 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5174 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5175 * TextFormatFlags.cs: DataGridView implementation
5176 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5177 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5178 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5179 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5180 * DataGridViewButtonColumn.cs: DataGridView implementation
5181 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5182 * HandledMouseEventArgs.cs: DataGridView implementation
5183 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5184 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5185 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5186 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5187 * DataGridViewRowCollection.cs: DataGridView implementation
5188 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5189 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5190 * DataGridViewHitTestType.cs: DataGridView implementation
5191 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5192 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5193 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5194 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5195 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5196 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5197 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5198 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5199 * DataGridViewContentAlignment.cs: DataGridView implementation
5200 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5201 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5202 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5203 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5204 * DataGridViewPaintParts.cs: DataGridView implementation
5205 * DataGridViewCellCollection.cs: DataGridView implementation
5206 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5207 * DataGridViewImageColumn.cs: DataGridView implementation
5208 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5209 * DataGridViewElementStates.cs: DataGridView implementation
5210 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5211 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5212 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5213 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5214 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5215 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5216 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5217 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5218 * DataGridViewTextBoxCell.cs: DataGridView implementation
5219 * DataGridViewBand.cs: DataGridView implementation
5220 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5221 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5222 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5223 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5224 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5225 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5226 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5227 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5228 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5229 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5230 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5232 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5234 * ThemeWin32Classic.cs:
5235 - Draw the outside focus rectangle around buttons
5236 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5237 doesn't use end caps for every dash of a line anymore. This
5238 workaround ignores the forecolor.
5240 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5242 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5245 2005-11-07 Jackson Harper <jackson@ximian.com>
5247 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5249 2005-11-07 Jackson Harper <jackson@ximian.com>
5251 * ScrollableControl.cs: Calculate the maximum and change vars
5252 (more) correctly so that scrollbars appear as a sensible size.
5254 2005-11-04 Jackson Harper <jackson@ximian.com>
5256 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5258 * TreeView.cs: When the tree is sorted null out the top_node so
5259 that it is recalculated.
5260 - Use dotted lines instead of dashed lines to match MS better.
5262 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5265 - Implements key search for items. Useful when browsing files with FileDialog
5266 - When changing view mode or when clear the items reset scrollbar positions
5268 2005-11-04 Jackson Harper <jackson@ximian.com>
5270 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5271 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5272 as to what the method may do as there is no real way of creating a
5273 derived CurrencyManager and calling the method.
5275 2005-11-03 Jackson Harper <jackson@ximian.com>
5277 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5278 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5279 method which seems to just be used internally to refresh the tabs.
5281 2005-11-03 Jackson Harper <jackson@ximian.com>
5283 * TabControl.cs: Implement the remove method. Fix some broken
5286 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5288 * DateTimePicker.cs:
5289 - Added missing DateTimePickerAccessibleObject class
5290 - Added missing events
5291 - Added OnFontChanged method
5292 * Form.cs: Added missing attributes
5293 * TreeView.cs: Added missing attributes
5295 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5297 * GridItemCollection.cs: Fix signatures
5299 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5301 * XplatUI.cs: Updated build rev/date
5302 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5303 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5304 * Application.cs: Trigger context-specific ExitThread events
5306 2005-11-03 Jackson Harper <jackson@ximian.com>
5310 * GridTableStylesCollection.cs:
5315 * MonthCalendar.cs: Signature fixes
5317 2005-11-03 Jackson Harper <jackson@ximian.com>
5319 * TreeNodeCollection.cs: Remove should not be virtual.
5320 * TreeView.cs: Implement the last of the missing methods.
5322 2005-11-03 Jackson Harper <jackson@ximian.com>
5324 * TreeNodeConverter.cs: Implement to get off my class-status back.
5326 2005-11-03 Jackson Harper <jackson@ximian.com>
5328 * TreeView.cs: Hookup the bits for drag and drop.
5329 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5330 that nodes can be moved from tree to tree easily this just causes
5331 all sorts of problems.
5332 * TreeNodeCollection: Don't need to give treenodes an index and
5333 treeview anymore when they are added, these are computed on the
5334 fly. Also make sure to remove a node before its added.
5336 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5339 - Added CaretSelection enum
5340 - Added comparison methods to Marker struct, makes selection code
5342 - Added SelectionStart and SelectionEnd as 'moveable' location for
5343 the CaretDirection enum and handler
5344 - Added selection_prev variable to track optimized invalidation for
5345 word and line selection
5346 - Added SelectionVisible property (returns true if there is a valid
5348 - Switched CaretHasFocus to only display the caret if there is no
5350 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5351 using the direct character index; should be much faster
5352 - Added various conditional debug statements
5353 - Fixed invalidation calculation for selection ranges
5354 - Added ExpandSelection() method to support word and line selection
5355 - Switched SetSelectionToCaret to use new Marker compare overloads
5356 - Added central IsWordSeparator() method to determine word
5357 separators/whitespace and FindWordSeparator() to streamline common
5358 usage of IsWordSeparator()
5360 - Removed unneeded grabbed variable, it was just mirroring
5362 - No longer firing OnTextChanged event when Text setter is called,
5363 since the base will fire the event for us
5364 - Added handling of Ctrl-Up/Down selection
5365 - Added handling of Shift-Cursorkey selection
5366 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5368 - Added handling of Shift and Ctrl-Shift-Home/End selection
5369 - Removed some debug output
5370 - Added handling for single/double/tripple-click to place caret/
5371 select word/select line respectively (Fixes bug #76031)
5372 - Added support for drag expansion of word/line selection
5373 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5376 2005-11-02 Jackson Harper <jackson@ximian.com>
5378 * X11Dnd.cs: If the drag is going to and from a MWF window just
5379 copy the data instead of sending it out through the X Selection
5382 2005-11-02 Jackson Harper <jackson@ximian.com>
5385 * XplatUIX11.cs: When in a drag we don't want motion notify
5386 messages to get passed on to the other controls. This prevents
5387 mouse move messages from showing up in the drag source.
5389 2005-11-02 Jackson Harper <jackson@ximian.com>
5391 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5392 the correct button is release to end a drag.
5393 * XplatUIX11.cs: Make the button state internal so the drag system
5394 can access it. Dragging needs to know about all button releases,
5395 not just left button.
5397 2005-11-02 Miguel de Icaza <miguel@novell.com>
5399 * Form.cs (Icon): If the icon is null, reset the icon to the
5402 * Cursor.cs: When writing the AND-mask bitmap do not include the
5403 number of colors, but hardcode those to two (black and white),
5404 fixes the loading of color cursors (Paint Dot Net).
5406 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5407 turn off autoscaling.
5409 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5411 2005-11-02 Jackson Harper <jackson@ximian.com>
5413 * X11Dnd.cs: Make sure to send a status message if the pointer
5414 enters a control that can not accept a drop, otherwise the cursor
5415 isn't updated correctly. Also tried to compress the lines of code
5418 2005-11-02 Jackson Harper <jackson@ximian.com>
5420 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5421 set actions correctly. This isn't perfect as XDND and win32 have
5422 some differences on how you allow actions. I'll clear this up by
5423 adding a path for drag from MWF to MWF windows.
5424 * XplatUIX11.cs: Hook into the dnd system.
5426 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5428 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5429 previously shown but they are no longer need it. Very obvious when
5430 browsing files with FileDialog.
5432 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5434 * Control.cs: We always need to call OnPaintBackground. We pretty much
5435 ignore AllPaintingInWmPaint and always do the painting there, whether
5436 it's set or not, since we always ignore the WM_ERASEBKGND message
5437 (which we don't generate on X11). This fixes #76616.
5438 * Panel.cs: Removed unneeded background painting. This happens properly
5439 in Control.cs already
5441 2005-10-31 Mike Kestner <mkestner@novell.com>
5443 * Menu.cs: Add items to collection before setting their index.
5444 * MenuItem.cs : add range checking with ArgumentException like MS.
5447 2005-10-31 Jackson Harper <jackson@ximian.com>
5449 * ListBox.cs: Invalidate if the area is visible at all not just
5450 contained in the visible rect. Fixes unselection of semi visible
5453 2005-10-31 Jackson Harper <jackson@ximian.com>
5455 * Control.cs: Consistently name the dnd methods. Make them
5456 internal so we can override them to match some MS behavoir
5458 * Win32DnD.cs: Use the new consistent names.
5460 2005-10-31 Jackson Harper <jackson@ximian.com>
5462 * TreeView.cs: Don't draw the selected node when we lose focus.
5464 2005-10-31 Jackson Harper <jackson@ximian.com>
5466 * X11Dnd.cs: We still need to reset the state even though a full
5467 reset isn't being done, otherwise status's still get sent all over
5470 2005-10-31 Jackson Harper <jackson@ximian.com>
5472 * Control.cs: Make the dnd_aware flag internal so the dnd
5473 subsystem can check it. Catch exceptions thrown in dnd handlers to
5475 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5476 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5477 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5478 flags to reduce the number of dnd enters/status's sent.
5480 2005-10-31 Jackson Harper <jackson@ximian.com>
5482 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5484 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5486 * PictureBox.cs: Fixes 76512
5488 2005-10-28 Jackson Harper <jackson@ximian.com>
5490 * X11Dnd.cs: Early implementation to support winforms being a drag
5491 source for data on X11. Also restructured the converters so they
5492 can go both ways now.
5493 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5495 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5497 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5500 2005-10-27 Jackson Harper <jackson@ximian.com>
5502 * TreeNode.cs: Implement serialization so my DnD examples will work.
5504 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5506 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5507 TreeView.cs: Don't dispose objects that are not owned.
5509 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5511 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5512 should retrieve the current cursor and report that, but XplatUI
5513 doesn't (yet) have an interface for that (and I'm not sure I even
5515 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5516 until any message loop processing is done (and the WM_SETCURSOR
5517 replaces the cursor to the proper one)
5519 - Fixed override behaviour, we can't set the cursor globally on X11,
5520 just for our windows.
5521 - Invalidating the System.Drawing X11 display handle when we are
5523 * Control.cs: Fix to make csc happy
5525 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5528 - get_Text: Add last line (without trailing newline) to returned
5530 - get_TextLength: Count last line in returned length
5531 - ToString: Call Text property instead of duplicating code
5533 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5535 * ImageList.cs: Dispose ImageAttributes objects.
5537 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5539 * ImageList.cs: Use attribute constructors with less arguments where
5542 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5544 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5545 Use typeof instead of strings when assembly is referenced. Added
5548 2005-10-21 Jackson Harper <jackson@ximian.com>
5550 * ListView.cs: Raise a double click event. Also tried to somewhat
5551 fix when the selectedindexchanged event is raised. Its still
5554 2005-10-21 Jackson Harper <jackson@ximian.com>
5556 * TreeView.cs: New method to invalidate the plus minus area of a
5557 node without invalidating the whole node (maybe this can be used
5558 in some more places).
5559 * TreeNodeCollection.cs: When adding to an empty node we need to
5560 invalidate its plus minus area so the little block shows up.
5562 2005-10-21 Jackson Harper <jackson@ximian.com>
5564 * TreeView.cs: Make sure that when we invalidate a node the bounds
5565 are big enough to cover the selected box and the focus
5566 rectangle. Use a different colour for the lines connecting nodes
5567 so they show up with all themes.
5569 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5571 * NativeWindow.cs: Don't call anything that could call into the driver,
5572 we might be on a different thread.
5574 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5576 * Control.cs(Dispose): Since Dispose might run on a different thread,
5577 make sure that we call methods that could call into the driver via
5578 invoke, to avoid thread issues
5580 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5582 * XplatUI.cs: Removed finalizer
5583 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5584 not allowing to be called on the finalizer thread.
5586 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5589 - Reverted r51889 and r51891.
5590 - Added ImageListItem class that stores unmodified image items and image
5591 properties required to create list images until handle is created.
5592 - Added AddItem and moved image creation logic to AddItemInternal.
5593 - Added CreateHandle method that creates images based on unmodified items.
5594 - Added DestroyHandle that changes state to store unmodified items.
5595 - Add and AddStrip methods no more create handle.
5596 - ReduceColorDepth has no return value.
5597 - Dispose destroys handle.
5598 - Modified other methods to reflect the above changes.
5599 - Implemented key support.
5600 - Added profile 2.0 members and attributes.
5601 - Added private Reset and ShouldSerialize methods that provide the same
5602 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5603 them as they are private.
5604 - Added some more comments about implementation details.
5606 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5608 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5610 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5612 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5614 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5616 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5617 * DataGridColumnStyle.cs: Remove debug message
5619 2005-10-20 Jackson Harper <jackson@ximian.com>
5621 * TreeView.cs: We can always get input keys regardless of whether
5622 or not editing is enabled. They are used for navigation.
5624 2005-10-20 Jackson Harper <jackson@ximian.com>
5626 * TreeNode.cs: Use the viewport rect for determining if a node
5627 needs to be moved for visibility. Don't use Begin/End edit. This
5628 calls a full refresh when its done.
5629 * TreeView.cs: New SetBottom works correctly. Make the viewport
5630 rect property internal so the treenodes can see it. When clicking
5631 on a node we need to ensure that its visible because it might just
5632 be partly visible when clicked.
5634 2005-10-20 Jackson Harper <jackson@ximian.com>
5636 * TreeNodeCollection.cs: Remove debug code.
5638 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5640 * Datagrid.cs: Implements column sorting in Datagrid
5641 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5643 2005-10-20 Jackson Harper <jackson@ximian.com>
5645 * TreeNodeCollection.cs: Remove items properly. Update the correct
5646 area after removing them.
5648 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5650 * Datagrid.cs: Should not call base.OnPaintBackground
5652 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5654 * XplatUIX11.cs (GetMessage):
5655 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5656 window instead of client window
5657 - Now properly calculates NC_xBUTTONUP message coordinates
5658 - ScreenToMenu now properly calculates it's coordinates of whole
5659 window, since menus are in the whole window, not in the client
5661 - Added WholeToScreen coordinate translation method
5663 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5665 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5666 want to return a message, loop back to the beginning of the function
5667 and grab the next real message to process instead.
5669 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5671 * Splitter.cs: Properly set limits if no filler control is used
5673 2005-10-19 Jackson Harper <jackson@ximian.com>
5675 * ColorDialog.cs: Don't show the help button if it is not enabled
5676 instead of disabling it (this is what MS does). Don't create the
5677 panel until the dialog is run, otherwise the vars (such as
5678 ShowHelp) are not set yet.
5680 2005-10-19 Jackson Harper <jackson@ximian.com>
5682 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5683 are reduced when adding nodes.
5685 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5688 2005-10-19 Jackson Harper <jackson@ximian.com>
5690 * FolderBrowserDialog.cs: End editing our treeview so the window
5691 actually gets refreshed.
5693 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5695 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5696 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5699 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5701 * MenuAPI.cs: Returns after Hidding window
5702 * XplatUIX11.cs: Added TODO found while debugging menu issues
5704 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5706 * XplatUIX11.cs: Do not re-map the whole window when it's size
5707 becomes non-zero unless it's supposed to be actually visible
5709 2005-10-18 Jackson Harper <jackson@ximian.com>
5711 * TreeView.cs: We don't need to keep a count anymore.
5712 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5713 use the Grow method.
5715 2005-10-18 Jackson Harper <jackson@ximian.com>
5717 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5718 implement it manually here.
5720 2005-10-18 Jackson Harper <jackson@ximian.com>
5722 * ImageList.cs: Dont kill the list when the colour depth is
5723 changed, just change the colour depth of all the images.
5724 - Same goes for setting the image size. Just resize them all
5725 instead of killing the list softly.
5727 2005-10-18 Jackson Harper <jackson@ximian.com>
5729 * Control.cs: Don't invalidate empty rectangles.
5731 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5734 - Adds checked item to the Checked/Item lists (where empty before)
5735 - Do not add items to the Selected lists if they are already present
5737 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5738 - When deleting items make sure that we delete them for the Selected
5739 and Checked list also.
5741 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5743 * Label.cs: Dispose objects no longer used
5744 * ThemeWin32Classic.cs: Dispose objects no longer used
5746 2005-10-18 Jackson Harper <jackson@ximian.com>
5748 * TabControl.cs: Don't refresh the whole control when the tabs are
5749 scrolled, we just need to refresh the tab area.
5751 2005-10-17 Jackson Harper <jackson@ximian.com>
5753 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5754 after handle when we need it.
5756 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5758 * Control.cs: When the parent size changes, recalculate anchor
5759 positions. Partial fix for #76462
5761 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5763 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5766 2005-10-17 Jackson Harper <jackson@ximian.com>
5768 * MonthCalendar.cs: Don't create the numeric up down until our
5769 handle is created. Otherwise our handle is created in the
5770 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5773 2005-10-17 Jackson Harper <jackson@ximian.com>
5775 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5778 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5779 * TreeNode.cs : small logical fix (was using local var instead of field)
5781 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5783 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5785 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5787 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5789 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5792 - Re-implemented anchoring code. My first version was really broken.
5793 This fixes bug #76033. Unlike the previous implementation we will
5794 no longer have round errors since all numbers are calculated from
5795 scratch every time. Removed various anchor-related obsolete vars.
5796 - InitLayout no longer causes layout event firing and layout to be
5799 2005-10-16 Jackson Harper <jackson@ximian.com>
5801 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5804 2005-10-16 Jackson Harper <jackson@ximian.com>
5806 * TabControl.cs: Remove debug code.
5808 2005-10-16 Jackson Harper <jackson@ximian.com>
5810 * XEventQueue.cs: Increase the default queue size (very simple
5811 apps needed to grow the queue).
5812 * Hwnd.cs: No finalizer so we don't need to suppress
5813 finalization. Compute the invalid area manually so a new rectangle
5814 does not newto be created.
5815 * ScrollableControl.cs: Don't set any params (otherwise visibility
5816 isn't set correctly).
5817 * MdiChildContext.cs: New constructor takes the mdi parent so it
5818 doesn't have to be computed and avoids a crash on windows. Draw
5819 the window icon properly, and allow the text to be seen.
5820 * Form.cs: Use new MdiChildContext constructor. Make sure the
5821 child context isn't null in wndproc.
5822 * TabControl.cs: Don't set focus, this is muddling keyboard
5823 behavoir. Expand the tab rows when a window size increase will
5824 allow extra tabs to be seen. Don't allow tabs smaller than the
5825 width of a window to be scrolled out of view.
5827 * TreeView.cs: Use measure string to calculate a nodes width, the
5828 width is cached and only updated when the text or the font is
5829 changed. Don't check for expand/collapse clicks on the first level
5830 nodes if root lines are disabled.
5832 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5834 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5836 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5838 * DataGridBoolColumn.cs: fixes warning
5840 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5842 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5843 to match more to match more precisely the MS Net behavior
5845 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5847 * Hwnd.cs: Added field to track if window is mapped
5849 - Unmap windows if they become 0-size, re-map when
5850 they are >0 again; fixes #76035
5851 - Re-set our error handler after initializing X11Desktop
5852 to override any error handlers Gtk or whatever was called
5855 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5857 * CheckedListBox.cs: Removed unused vars
5858 * ListView.cs: Fixed signatures
5859 * RichTextBox.cs: Removed unused vars
5860 * TextBoxBase.cs: Removed unused vars
5861 * XplatUIWin32.cs: Removed unused vars
5862 * XplatUIX11.cs: Removed unused vars
5863 * XplatUI.cs: Updated version and date to latest published
5865 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5867 * Cursor.cs: Added private .ctor to work around a bug in
5868 resourceset (Thanks to Geoff Norton for the help on this)
5869 * SplitterEventArgs.cs: Made fields accessible so we don't
5870 waste boatloads of objects and can reuse the same one
5872 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5873 any captions and borders when generating screen coordinates
5874 * Splitter.cs: Reimplemented control, now fully complete, uses
5875 rubberband drawing, supports and obeys all properties, has
5878 2005-10-13 Miguel de Icaza <miguel@novell.com>
5880 * Form.cs (Form): Setup default values for autoscale and
5881 autoscale_base_size; Make these instance variables, not static
5884 (OnLoad): on the first load, adjust the size of the form.
5886 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5888 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5889 width argument to DrawReversibleRectangle()
5890 * XplatUIWin32.cs, XplatUIX11.cs:
5891 - Implemented width for DrawReversibleRectangle()
5892 - Added logic to DrawReversibleRectangle that recognizes a zero
5893 width or height and only draws a line in that situation
5895 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5897 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5898 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5899 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5900 method (it uses our FosterParent window to get a graphics context)
5902 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5904 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5905 and SetWindowBackground methods
5907 - Setting proper ControlStyles
5908 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5909 EraseWindowBackground, instead we draw the window background
5910 ourselves in PaintControlBackground. This behaviour is
5911 required to match MS, where, when OnPaintBackground is not
5912 called, the background is not drawn.
5913 - Removed unneeded Refresh() in set_Text
5914 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5916 - Created DeriveStyles method to translate from CreateParams to
5917 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5918 matches FormBorderStyle enum values)
5919 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5920 style calculations into single DeriveStyles method
5921 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5922 from redrawing the whole window on any resize or expose.
5923 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5924 all styles were applied to our whole/client window appropriately
5925 - Removed EraseWindowBackground() and SetWindowBackground() methods
5926 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5927 no longer clear/redraw the background through X
5928 - Removed handling of erase_pending bit, we have no use for it (or
5931 - Removed generation and handling of WM_ERASEBKGND message
5932 - Removed EraseWindowBackground() and SetWindowBackground() methods
5933 - Removed handling of hwnd.ErasePending flag
5935 - Removed EraseWindowBackground() and SetWindowBackground() methods
5936 - We no longer call EraseWindowBackground on PaintEventStart, we
5937 ignore the fErase flag, erasing is handled in Control in the
5939 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5940 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5941 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5942 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5943 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5944 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5945 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5947 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5949 * PropertyGrids.cs: Get sub properties
5950 * PropertyGridView.cs: Fix drawing code
5952 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5954 * ListBox.cs: Fixes 76383
5956 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5958 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5959 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5960 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5963 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5965 * ComboBox.cs: Fixes border drawing
5967 2005-10-10 Miguel de Icaza <miguel@novell.com>
5969 * MimeIcon.cs: Ignore errors if the file can not be read.
5971 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5973 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5974 - Fixed border calculations
5975 - Fixed horizontal scrolling in single column listboxes
5976 - Fixed drawing issues
5978 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5980 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5981 FormBorderStyle enum
5982 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5983 code to determine FormBorderStyles from CreateParams
5985 - Fixed bug where we'd set the wrong window styles if we were
5986 not creating an MDI window
5987 - Added call to XplatUI.SetBorderStyle when form borders are set
5988 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5990 - Removed obsolete edge style
5991 - Switched from BorderStyle to FormBorderStyle
5993 2005-10-10 Jackson Harper <jackson@ximian.com>
5995 * Form.cs: Use the property to get the window handle instead of
5996 accessing it directly. Prevents a null reference exception.
5998 2005-10-10 Jackson Harper <jackson@ximian.com>
6000 * TreeView.cs: Don't adjust the rect given to DrawString now that
6001 our libgdiplus draws correctly.
6003 2005-10-08 Jackson Harper <jackson@ximian.com>
6005 * TreeView.cs: Don't try to find the clicked on node if there are
6006 no nodes in the tree.
6008 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6014 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
6016 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
6017 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
6019 Use ResPool for brushes and dispose System.Drawing objects that
6020 are not used anymore.
6022 2005-10-07 Jackson Harper <jackson@ximian.com>
6024 * MdiChildContext.cs: Use the new borders instead of drawing them
6027 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6029 * Calling UpdateBounds after changing the window's BorderStyle
6030 since the style can change the ClientSize
6032 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6034 * Control.cs: Made PaintControlBackground virtual
6035 * Panel.cs: Overriding PaintControlBackground instead of using paint
6036 event; paint event method was interfering with 'real' users of the
6039 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
6041 * ThemeWin32Classic.cs: remove border drawing since it is handled
6042 by the base control class now and was causing double border drawing.
6044 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6046 * Panel.cs: Redraw our background on paint. Not a pretty solution,
6047 but it does seem to match MS behaviour. This fixes bug #75324
6049 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6051 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
6052 somewhat hackish looking
6054 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6057 - We now accept Enter even if AcceptEnter is false, if the containing
6058 form does not have an AcceptButton configured (fixes bug #76355)
6059 - Calculations are now fixed to no longer use Width/Height, but
6060 ClientSize.Width/Height, since we now support borders (this was
6061 a result of fixing borders and therefore bug #76166)
6062 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6063 true (fixes bug #76354)
6065 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6068 - Defaulting BorderStyle and setting it in XplatUI when our window
6070 - Added enum check to InternalBorderStyle setter
6072 - Added drawing of window borders
6073 - Now properly calculates WM decorations offset for toplevel
6074 windows (fixes bug #74763)
6076 - Implemented BorderStyles for windows (we're letting win32 draw
6078 - Fixed the signature for SetWindowLong
6079 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6080 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6082 * UpDownBase.cs: Remove drawing of borders, this is handled by
6083 the driver, outside the client area
6084 * ListView.cs: Removed bogus border calculations. The control should
6085 be oblivious to borders, since those are not part of the client
6087 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6088 * ThemeWin32Classic.cs: Removed border calculations from ListView
6091 2005-10-06 Jackson Harper <jackson@ximian.com>
6093 * MdiChildContext.cs: Clear out the old virtual position remove
6094 all the unneeded calls to CreateGraphics.
6096 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6098 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6100 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6103 - Added loading and setting of our new default icon
6104 - Only set icon if window is already created
6106 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6109 - Do not explicitly set the foreground and background colors, to
6110 allow inheriting from parents (fixes #76302)
6111 - Use Control's InternalBorderStyle property to deal with borders
6113 2005-10-06 Jackson Harper <jackson@ximian.com>
6115 * MdiChildContext.cs: Use the new xplatui function to draw a
6118 2005-10-06 Jackson Harper <jackson@ximian.com>
6120 * Form.cs: Add the parent before creating the child context cause
6121 we need the parent when setting up the child.
6123 2005-10-06 Jackson Harper <jackson@ximian.com>
6125 * FolderBrowserDialog.cs: redo the tree population code so a
6126 second thread isn't used. Should be a lot faster and more stable
6129 2005-10-05 Jackson Harper <jackson@ximian.com>
6131 * TreeView.cs: There are no expand/collapse boxes if the node has
6134 2005-10-05 Jackson Harper <jackson@ximian.com>
6136 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6138 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6140 * FileDialog.cs: Fix InitialDirectory
6142 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6145 - Fixes changing between styles
6147 - Fixes last item crashing when navigating with keyboard
6149 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6151 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6153 2005-10-05 Jackson Harper <jackson@ximian.com>
6155 * TreeView.cs: If updating the root node do a full refresh.
6156 * TreeNode.cs: The root node should be expanded by default. Also
6157 added a utility prop to tell if we are the root node.
6158 * TreeNodeCollection.cs: Only refresh if the node we are being
6159 added to is expanded. Also added a comment on a potential
6162 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6164 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6165 in dispose method. Fixes #76330
6167 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6169 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6171 - Implements vertical and horizontal scrolling using XplatUI
6172 - Fixes keyboard navagation
6173 - Fixes EnsureVisible
6175 - Handles and draws focus properly
6178 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6180 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6181 Create handle. NET_2_0: Destroy handle when value is null.
6183 2005-10-03 Jackson Harper <jackson@ximian.com>
6185 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6186 revert and a new patch to prevent the thumb from refreshing so
6189 2005-10-02 Jackson Harper <jackson@ximian.com>
6191 * ScrollBar.cs: Don't update position if it hasn't actually
6192 changed. This occurs when you hold down the increment/decrement
6193 buttons and the thumb gets to the max/min.
6195 2005-10-01 Jackson Harper <jackson@ximian.com>
6198 * MdiChildContext.cs:
6199 * MdiClient.cs: Implement ActiveMdiChild in Form.
6201 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6203 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6205 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6207 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6210 2005-09-30 Jackson Harper <jackson@ximian.com>
6212 * ListBox.cs: Don't do a full refresh unless some data has
6215 2005-09-30 Jackson Harper <jackson@ximian.com>
6217 * TreeView.cs: Make sure that the checkboxes size is factored in
6218 even when not visible.
6220 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6222 * FileDialog.cs: Fix Jordi's build break
6224 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6227 - Use standard the Windows colours for the combobox as espected
6228 - Dispose objects that use resouces when no longer need them
6230 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6232 * X11DesktopColors.cs: Initial incomplete implementation
6233 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6235 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6238 - Switched Theme color names to match the names defined in
6239 System.Drawing.KnownColors. Life's hard enough, no need to make
6241 - Added setters to all theme color properties so themes can set
6242 their color schemes. The setters also propagate the color changes
6243 to System.Drawing.KnownColors via reflection
6244 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6245 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6246 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6247 use the new, more logical theme color names
6248 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6250 * ThemeWin32Classic.cs:
6251 - Removed code to set the old classic Windows colors. Instead it
6252 now relies on the colors returned by System.Drawing.KnownColors
6253 which will be either modern static colors (Unix) or colors
6254 read from the user's configuration (Win32)
6255 - Updated to use the new, more logical theme color names
6256 - Switched DataGrid drawing code to use only Theme colors instead of
6257 a mix of System.Drawing.KnownColors and Theme colors
6258 - DrawFrameControl(): Removed code that fills the button area, the
6259 fill would overwrite any previous fill done by a control. This
6261 - Added DrawReversibleRectangle() stub
6262 * ScrollableControl.cs: Set visible state to false when scrollbars
6263 are removed (pdn fix)
6264 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6265 DrawReversibleRectangle() method to allow drawing primitive
6267 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6269 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6271 * ImageList.cs: Add(Icon): Create handle.
6273 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6276 * ThemeWin32Classic.cs:
6279 - Issues with drawing
6281 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6283 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6284 source has to be the ImageList.
6286 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6288 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6290 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6292 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6294 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6296 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6298 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6299 * GridItem.cs: Fixed TODOs
6300 * GridItemCollection.cs: Added ICollection interface
6302 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6304 * ImageList.cs: Resize icons when needed.
6306 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6309 - Fixes GetBounds and returns on screen rects
6311 - Fixes vertical and horzintal scrolling of items
6312 * ThemeWin32Classic.cs:
6315 2005-09-29 Raja R Harinath <harinath@gmail.com>
6317 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6319 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6321 * ImageList.cs: Added comments about handle creation. Moved Handle,
6322 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6323 Handle is created in Add methods.
6325 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6327 * DataGridDrawingLogic.cs:
6328 - Takes rows into account on Colum calculations
6329 - Returns the column when clickig
6331 - Fixes default HitTestInfo values
6332 - Fixes HitTestInfo.ToString
6333 - Fixes ResetBackColor
6335 2005-09-28 Jackson Harper <jackson@ximian.com>
6337 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6338 sizing or cursor changes). Also added some temp code to draw the
6339 titlebars text (Makes dev a little easier).
6341 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6343 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6345 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6347 * ListBox.cs: Fixes bug 76253
6349 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6351 * ImageList.cs: Added comments about the current implementation. Added
6352 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6353 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6354 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6355 with Bitmap.LockBits for better performance. Revised the whole file to
6356 match MS.NET behaviour and provide better performance. Non-public
6357 interface members are calling public members even when they throw
6358 NotSupportedException for better maintainability. Moved ColorDepth,
6359 ImageSize, ImageStream and TransparentColor implementations to
6360 ImageCollection for better performance as these properties are not used
6362 * ImageListStreamer.cs: Added a new internal constructor that takes an
6363 ImageList.ImageCollection and serializes Images based on
6364 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6365 match ImageList property name.
6367 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6369 * ListBox.cs: Fixes IndexFromPoint for last item
6371 2005-09-27 Jackson Harper <jackson@ximian.com>
6373 * Form.cs: Set the position of new mdi children correctly.
6375 2005-09-27 Jackson Harper <jackson@ximian.com>
6377 * MdiClient.cs: New mdi children need to be added to the back of
6378 the controls collection so the zorder is set correctly. Also add a
6379 count of all the child windows that have been created.
6381 2005-09-27 Jackson Harper <jackson@ximian.com>
6383 * Form.cs (CreateParams): Setup MDI forms correctly.
6385 2005-09-27 Jackson Harper <jackson@ximian.com>
6387 * MdiChildContext.cs:
6394 * ScrollableControl.cs:
6395 * ComboBox.cs: Add implicit controls using the new implict control
6396 functionality in ControlCollection. Also try to block multiple
6397 control add in a suspend/resume layout to save some cycles.
6399 2005-09-27 Jackson Harper <jackson@ximian.com>
6401 * Control.cs: Add functionality to the controls collection to add
6402 'implicit controls' these are controls that are created by the
6403 containing control but should not be exposed to the user. Such as
6404 scrollbars in the treeview.
6405 * Form.cs: The list var of the ControlsCollection is no longer
6406 available because of the potential of implicit controls getting
6407 ignored by someone accessing the list directly.
6409 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6411 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6412 loose it's parent. (Fixed bug introduced in r49103 when we added
6413 setting the child parent to null on Remove)
6415 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6417 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6418 * Splitter.cs: Added missing attributes for BorderStyle property.
6419 * TextBoxBase.cs: Marked Calculate* methods internal.
6420 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6423 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6425 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6427 2005-09-25 Jackson Harper <jackson@ximian.com>
6429 * TreeView.cs: Update the node bounds correctly regardless of
6430 whether the node is visible.
6432 2005-09-25 Jackson Harper <jackson@ximian.com>
6434 * ImageList.cs: Don't dispose the image after it is added to the
6435 image list. Only reformat images that need to be resized.
6437 2005-09-25 Jackson Harper <jackson@ximian.com>
6439 * ImageList.cs: Don't set the format when changing the image.
6441 2005-09-25 Jackson Harper <jackson@ximian.com>
6443 * TreeView.cs: We can't just assume the node has a font. Use the
6444 treeviews font if no node font is available.
6446 2005-09-25 Jackson Harper <jackson@ximian.com>
6448 * TreeView.cs: Allow the scrollbars to be reset with negative
6450 - Don't add scrollbars to negative sized windows.
6452 2005-09-23 Jackson Harper <jackson@ximian.com>
6454 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6455 old Mono.Posix. Also remove some stray code that shouldn't have
6458 2005-09-23 Jackson Harper <jackson@ximian.com>
6460 * TreeView.cs: Attempt at proper sizing of the horizontal
6461 scrollbar. Also don't resize the scrollbars unless they are
6464 2005-09-23 Jackson Harper <jackson@ximian.com>
6466 * TreeView.cs: We don't need to expand the invalid area when the
6467 selection changes, as this is all drawn in the node's bounding
6468 box. The area needs to be expanded (previous typo was contracting
6469 it) when the focus rect moves.
6471 2005-09-23 Jackson Harper <jackson@ximian.com>
6473 * TreeView.cs: Display the selection box under the correct
6474 circumstances. We were rendering white text with no selection box
6477 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6479 * TextControl.cs(Split): Now updates selection start/end if it points
6480 into a line that's being split. Fixes a FIXME and bug #75258
6482 2005-09-23 Jackson Harper <jackson@ximian.com>
6485 * ListControl.cs: Don't use the path when retrieving binding
6486 managers from the binding context. My bat sense tells me that the
6487 path is only used on insertion.
6489 2005-09-22 Jackson Harper <jackson@ximian.com>
6491 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6493 2005-09-22 Jackson Harper <jackson@ximian.com>
6495 * Splitter.cs: There are special cursors used for splitting.
6496 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6498 2005-09-22 Jackson Harper <jackson@ximian.com>
6500 * Splitter.cs: Change the cursor appropriately when the splitter
6501 is moused over, so the user actually knows there is a splitter
6504 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6506 * Label.cs : Fix ToString method to give same output as MS.NET
6508 2005-09-22 Jackson Harper <jackson@ximian.com>
6510 * TreeView.cs: Create the scrollbars when the handle is created
6511 and add them right away, just make them invisble. Also account for
6512 the window being shrunk vertically to the point that the vert
6513 scrollbar needs to be added.
6514 - Remove some 0.5 adjustments to get around anti aliasing issues.
6516 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6518 * MainMenu.cs: Fixes default value
6519 * MenuItem.cs: Fixes default value
6521 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6523 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6525 2005-09-21 Jackson Harper <jackson@ximian.com>
6527 * Control.cs: Don't try to set the border style on the window if
6528 it hasn't been created. When the window is created the border
6531 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6533 * Control.cs (Update): Don't call XplatUI if we don't have a
6536 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6538 * ContainerControl.cs: Instead of throwing an exception, print
6539 a one-time warning about Validate not being implemented
6540 * XplatUIWin32.cs: Removed debug output
6542 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6544 * Control.cs: Only set XplatUI background if we expect the windowing
6545 system to handle the background. This stops controls that draw their
6546 own background from flickering
6548 * XplatUIX11.cs: Support custom visuals and colormaps for window
6549 creation. This allows, amongst other things, using MWF X11 windows
6552 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6554 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6555 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6556 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6557 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6558 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6559 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6560 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6561 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6562 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6563 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6564 GridColumnStylesCollection.cs,
6565 IDataGridColumnStyleEditingNotificationService.cs,
6566 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6567 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6568 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6569 TreeNodeCollection.cs, AmbientProperties.cs,
6570 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6571 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6572 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6573 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6574 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6575 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6576 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6577 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6578 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6579 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6580 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6581 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6582 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6583 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6584 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6585 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6586 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6587 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6588 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6589 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6590 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6591 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6592 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6593 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6594 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6595 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6596 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6597 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6598 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6599 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6600 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6601 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6602 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6603 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6604 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6605 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6606 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6608 2005-09-21 Jackson Harper <jackson@ximian.com>
6610 * TreeNode.cs: Call Before/After Expand not Collapse when
6613 2005-09-20 Jackson Harper <jackson@ximian.com>
6615 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6617 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6621 - Fixes proper storing of subitems
6622 - Fixes not updated items
6624 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6626 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6627 things if our window handle isn't created yet. Also disabled
6628 debug for TextBoxBase
6630 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6632 * MenuAPI.cs: Remove filtering of events to allow menu usage
6634 2005-09-20 Miguel de Icaza <miguel@novell.com>
6636 * Cursor.cs: Allow null to be passed to Cursor.Current.
6638 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6640 * ThemeWin32Classic.cs:
6641 - Change some private methods/fields to protected virtual so that
6642 they can be accessed and overriden in derived classes
6643 - First refactoring of some methods. Derived themes now don't
6644 need to duplicate the complete code from ThemeWin32Classic
6646 - Added nice StatusBar
6647 - Derive from ThemeWin32Classic and not Theme
6648 - Removed duplicate ThemeWin32Classic code
6650 2005-09-20 Miguel de Icaza <miguel@novell.com>
6652 * Control.cs (ControlCollection.Add): If the value null is passed
6653 the control is ignored.
6657 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6659 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6660 PostQuitMessage state.
6661 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6663 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6665 * Application.cs: Our constructor will never get called, move
6666 initialization to fields; fixes bug #75933
6668 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6671 - Allow files to be selected properly using file name
6673 - Add ability to change diretory (absolute / relative)
6674 using file name combo box.
6676 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6679 - Fixes Multicolumn listboxes item wrong calculations
6680 - Allows to click when only one item is in the listbox
6681 - Fixes crash when no items using keyboard navigation
6683 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6685 * ComboBox.cs: Reverted almost everything from the latest patch which
6688 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6691 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6693 - When DropDownStyle is Simple, it does not show scrollbar
6694 to the last item of the list.
6695 - When DropDownStyle is Simple, it crashed when the list was
6696 scrolled down with the down cursor key.
6697 - Fixed a bug that when DropDownStyle is DropDownList, the
6698 selected item was not shown.
6699 - The position of the selected item was not preserved when
6700 the next dropdown happened.
6701 * ThemeWin32Classic.cs:
6702 - Items were wrapped at the right end.
6703 * CheckedListBox.cs:
6706 - Items should be fully shown.
6707 - When resizing and vertical scrollbar disappeared, the item
6708 of index 0 should be on the top of the list.
6709 - GetItemRectangle should consider the size of ver. scrollbar
6711 - SizingGrip area should not be allocated when it is not
6713 - Now it reflects MinWidth of the containing panel and
6714 fixed a crash that happens when its width becomes so small.
6716 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6718 * CheckedListBox.cs: Fixes bug 76028
6719 * ListBox.cs: Fixes bug 76028
6721 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6723 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6724 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6726 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6728 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6730 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6732 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6734 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6736 * IRootGridEntry.cs: Added
6737 * PropertyGridCommands.cs: Added
6738 * PropertiesTab.cs: Added missing methods and property
6739 * PropertyGridView.cs: Made class internal
6740 * PropertyGridTextBox.cs: Made class internal
6742 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6744 * MimeIcon.cs: Try to check some other environment variables
6745 if "DESKTOP_SESSION" returns "default"
6747 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6749 * ThemeNice.cs: Corrected background colors (e.g. menus)
6750 * ColorDialog.cs: Use correct background colors for controls
6752 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6754 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6756 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6758 * RichTextBox.cs: Added initial implementation
6759 * lang.cs: Removed. Was accidentally checked in long time ago
6760 * TODO: Removed. Contents were obsolete
6762 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6764 * PropertiesTab.cs : Added
6766 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6768 * PropertyGrid.cs : Update
6769 * PropertyGridView.cs : Update
6770 * System.Windows.Forms.resx : Added images and strings
6772 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6774 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6776 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6778 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6779 a busy loop right after the Ungrab the X11 display is otherwise
6782 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6784 * ThemeWin32Classic.cs: Optimise the use of clipping
6786 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6788 * DataGrid.cs: fixes recursion bug
6790 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6793 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6796 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6798 * ThemeNice.cs: Draw nice ProgressBars
6800 2005-09-01 Miguel de Icaza <miguel@novell.com>
6802 * VScrollBar.cs: Another buglet found by Aaron's tool.
6804 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6807 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6810 - Added nicer menu drawing
6814 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6816 * CreateParams.cs (ToString): Made output match MS
6817 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6818 handle is already created (to avoid forcing window creation)
6819 * XplatUIX11.cs: Set window text to caption after creating window,
6820 in case Text was set before window was created
6821 * Form.cs: Use this.Text instead of a static string as caption
6823 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6825 * NotifyIcon.cs: Don't set the window to visible; this screws
6826 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6827 OnPaint without a bitmap)
6828 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6829 happen very often anyway; we could add the check to the WM_PAINT
6830 event generation code
6832 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6834 * NotifyIcon.cs: Fill the icon area with a background color, to
6835 avoid 'residue' when transparent icons are drawn
6837 - Handle whole_window == client_window when destroying windows
6838 - SystrayAdd(): Set client_window to whole_window value to
6839 get mouse and other events passed to NotifyIcon
6841 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6843 * Form.cs: Set proper default for Opacity property
6845 - ShowSystray(): Don't bother creating telling the OS
6846 about the systray item if no icon is provided
6847 - Now handles WM_NCPAINT message to deal with whole/client window
6849 - Create window as visible to not get caught by Expose optimization
6850 * Hwnd.cs: Removed debug message
6851 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6852 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6853 PaintEventStart/End to use new client argument
6855 - Commented out debug messages
6856 - Switched PaintEventStart/End to use new client argument
6857 * XplatUI.cs: Added client window bool to PaintEventStart()/
6858 PaintEventEnd() calls, to support drawing in non-client areas
6860 - Added client window bool to PaintEventStart()/PaintEventEnd()
6861 calls, to support drawing in non-client areas
6862 - Added conditional compile to allow using MWF BeginInvoke
6865 - Added some conditional debug output
6866 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6867 whole/client window split
6868 - Implemented handling of client argument to PaintEventStart()/End()
6870 - Throw exception if BeginInvoke() is called and the window handle
6871 or one of the window's parent handles is not created
6872 - Added conditional compile to allow using MWF BeginInvoke on
6874 - get_Parent(): Only sets parent if handle is created. This avoids
6875 forcing window handle creation when parent is set.
6876 - Now fires Layout and Parent changed events in proper order
6877 - Switched to use Handle instead of window.Handle for Z-Order setting,
6878 the get_Parent() patch above causes us to possibly get null for 'window'
6879 - Implemented handling of client argument to PaintEventStart()/End()
6880 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6882 - Now sends a Refresh() to all child windows when Refresh() is called
6884 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6886 * Form.cs: Added (non-functional) Opacity property
6887 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6889 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6890 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6891 use export MONO_THEME=nice to activate it.
6892 Currently supported controls:
6896 - TabControl (TabAlignment.Top only, other will follow)
6897 * ThemeEngine.cs: Add theme nice
6898 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6901 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6903 * Splitter.cs: Resize docked control and its neighbor.
6905 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6906 -- Making Windows with Menus layout correctly --
6907 * Form.cs : The first leg of the fix
6908 Menu setter - adjust Client Size as needed to make space for the menu
6909 SetClientSizeCore - doesn't call base version to be able to pass the
6910 menu handle to XplatUI.CalculateWindowRect
6911 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6912 * XplatUIX11.cs: The critical second leg of the fix
6913 GetWindowPos needs to use a recalculated client_rect
6914 so that resizing the window doesn't break layout of child controls.
6915 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6918 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6920 * Label.cs: Now properly recalculates width and height on Font and Text
6921 changes if AutoSize is set
6923 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6924 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6926 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6928 * ImageList.cs: Makes ToString method compatible with MS
6930 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6932 * MenuAPI.cs: fixes bug 75716
6934 2005-08-11 Umadevi S <sumadevi@novell.com>
6935 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6937 2005-08-11 Umadevi S <sumadevi@novell.com>
6938 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6940 2005-08-10 Umadevi S <sumadevi@novell.com>
6941 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6943 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6945 * Menu.cs: fixes bug 75700
6946 * MenuAPI.cs: fixes navigation issues
6948 2005-08-09 Umadevi S <sumadevi@novell.com>
6949 * CheckedListBox.cs - simple fix for GetItemChecked.
6951 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6953 * ComboBox.cs: Serveral fixes
6954 * ListBox.cs: Serveral fixes
6956 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6958 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6959 * ListBox.cs: Fixes FindString methods
6961 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6963 * DataGrid.cs: fixes bugs exposed by new tests
6965 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6967 * Mime.cs: Compile Mono assembly references only if compiling
6968 with Mono (Allows to build with VS.Net again)
6970 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6972 * Control.cs (PaintControlBackground): Draw background image
6974 (CheckForIllegalCrossThreadCalls): Stubbed.
6976 * Form.cs (OnCreateControl): Center when should be centered.
6978 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6980 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6982 * Binding.cs: Binding to properties should be case unsensitive
6984 2005-07-18 vlindos@nucleusys.com
6986 * DataGrid.cs: fixes setmember order
6988 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6990 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6991 * FileDialog.cs: FileDialog is now resizable and uses the new
6994 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6996 * DataGridTextBoxColumn.cs: default value
6997 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6998 * GridTableStylesCollection.cs: fixes checking MappingName
6999 * DataGridDrawingLogic.cs: fixes drawing logic issues
7000 * DataSourceHelper.cs: rewritten to make compatible with more data sources
7001 * DataGrid.cs: fixes
7003 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
7005 * MimeGenerated.cs: Use case sensitive comparer for
7006 NameValueCollections
7008 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
7010 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
7011 * ThemeWin32Classic.cs: bug fixes, code refactoring
7012 * DataGridDrawingLogic.cs: bug fixes, code refactoring
7013 * DataGrid.cs: bug fixes, code refactoring
7014 * DataGridTextBox.cs: bug fixes, code refactoring
7015 * DataGridColumnStyle.cs: bug fixes, code refactoring
7016 * Theme.cs: bug fixes, code refactoring
7018 2005-07-01 Peter Bartok <pbartok@novell.com>
7020 * TextControl.cs: Quick fix for the reported crash on ColorDialog
7021 and other text box usage
7023 2005-07-01 Jackson Harper <jackson@ximian.com>
7025 * TabControl.cs: Make sure the bottom of the tab covers the pages
7028 2005-06-30 Peter Bartok <pbartok@novell.com>
7030 * Form.cs (ShowDialog): Assign owner of the dialog
7031 * TextBoxBase.cs: Always refresh caret size when deleting, caret
7032 might have been moved to a tag with different height
7034 2005-06-30 Jackson Harper <jackson@ximian.com>
7036 * Form.cs: Don't create an infinite loop when setting focus
7037 * MenuItem.cs: Don't dirty the parents if we don't have any
7039 2005-06-29 Ben Maurer <bmaurer@ximian.com>
7041 * LibSupport.cs: Rename
7043 2005-06-29 Peter Bartok <pbartok@novell.com>
7045 * TextBoxBase.cs: Re-align caret after deleting a character
7047 - DeleteChars(): Ensure that tag covers the provided position
7048 - StreamLine(): Drop reference for dropped tag
7050 2005-06-29 Peter Bartok <pbartok@novell.com>
7053 - Selections now work properly, anchoring at the initial location
7054 and properly extending in either direction (SetSelectionToCaret(),
7055 SetSelectionStart() and SetSelectionEnd())
7056 - No longer redraws the whole control on selection change, now
7057 calculates delta between previous and new selection and only
7058 invalidates/redraws that area
7059 - Fixed FindPos() math off-by-one errors
7060 - Changed DeleteChars() to verify the provided tag covers the
7061 provided position, selections may have a tag that doesn't cover
7062 the position if the selection is at a tag border
7063 - Fixed off-by-one errors in DeleteChars()
7064 - Added missing streamlining check in DeleteChars() to remove
7066 - Implemented Invalidate() method, now properly calculates exposures
7067 between two given lines/positions
7068 - Implemented SetSelection()
7069 - Obsoleted and removed FixupSelection()
7070 - Improved RecalculateDocument() logic, removing code duplication
7072 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7074 * LibSupport.cs: changes to match different input/output arguments.
7076 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7078 * LibSupport.cs: added libsupport.so init routine.
7080 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7082 * ControlBindingsCollection.cs
7083 - Throws an exception on null datasource when adding
7084 - Checks for duplicated bindings when adding
7086 2005-06-28 Jackson Harper <jackson@ximian.com>
7088 * TreeView.cs (OnKeyDown): Support left and right properly
7089 (navigates as well as expanding and collapsing.
7090 - Add support for Multiply, this expands all the selected nodes
7094 2005-06-28 Jackson Harper <jackson@ximian.com>
7096 * TreeView.cs: Implement keyboard navigation, currently supports,
7097 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7098 support for toggling checkboxes with the space bar.
7100 2005-06-28 Jackson Harper <jackson@ximian.com>
7102 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7105 2005-06-28 Jackson Harper <jackson@ximian.com>
7107 * TreeView.cs: Add missing event.
7109 2005-06-27 Peter Bartok <pbartok@novell.com>
7112 - Made line ending size configurable (now allows for counting
7113 lineendings as \n or \r\n)
7114 - Added margin to viewport to keep caret visible on right side
7115 - Fixed translation routines for line/pos to documentpos to consider
7116 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7117 - Fixed some line-endings to be unix style
7118 - Fixed Document.FormatText to perform it's calculations 1-based
7119 - Added descriptions for a few methods that might otherwise get
7121 - Added NOTE section with some basic conventions to remember at
7123 - Major fixup for RichTextBox selection drawing:
7124 * Fixed crashes when multiple tags on a single line were selected
7125 * fixed selection box drawing not overlaying text
7126 * fixed bogus offset calculation for tags not starting at index 1
7127 * Switched behaviour from using multiple Substrings of a
7128 StringBuilder.ToString() to using multiple
7129 StringBuilder.ToString(start, length) statements, hoping this is
7130 faster (kept original version commented out in the code, in case
7131 original version was faster)
7132 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7134 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7137 2005-06-27 Jackson Harper <jackson@ximian.com>
7139 * TabControl.cs: Move to the left and right with the arrow
7140 keys. These keys don't cycle beyond first and last like
7141 tab. Refresh all the tabs when scrolling them to the left or
7144 2005-06-27 Jackson Harper <jackson@ximian.com>
7147 - ToString: Added method
7148 - CreateParams: Remove TODO and comment
7149 - OnKeyDown: Cycle through bounds properly.
7150 - SelectedIndex: Scroll to the right or left if we need to
7151 display the newly selected tab.
7153 2005-06-23 Jackson Harper <jackson@ximian.com>
7155 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7158 2005-06-23 Jackson Harper <jackson@ximian.com>
7160 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7161 CTRL-SHIFT-TAB, and HOME, END are there any others?
7163 2005-06-23 Jackson Harper <jackson@ximian.com>
7165 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7167 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7169 * DataGridTextBoxColumn.cs: fixes and enhancements
7170 * ThemeWin32Classic.cs: fixes and enhancements
7171 * DataGridBoolColumn.cs: fixes and enhancements
7172 * DataGridDrawingLogic.cs: fixes and enhancements
7173 * CurrencyManager.cs: fixes and enhancements
7174 * DataGrid.cs: fixes and enhancements
7175 * DataGridColumnStyle.cs: fixes and enhancements
7177 2005-06-22 Jackson Harper <jackson@ximian.com>
7179 * TabControl.cs: Add some missing methods that just call into the
7180 base. Make the TabPageCollection's IList interface behave in the
7181 same manner as the MS implementation.
7183 2005-06-22 Peter Bartok <pbartok@novell.com>
7185 * TextControl.cs: Added sanity check
7187 - Fixed wrapping behaviour, don't set wrap on single line controls
7188 (this fixes the breakage of colordialog introduced in an earlier
7190 - Added rudimentary support for autoscrolling right-aligned controls
7191 (still needs fixing, also, center alignment scroll is missing)
7193 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7195 * ScrollBar.cs: Fixes thumbpos on Maximum values
7197 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7199 * PropertyGridView.cs: Pass context information to UITypeEditors
7201 2005-06-21 Peter Bartok <pbartok@novell.com>
7204 - Now calling PositionCaret with absolute space coordinates
7205 - Enabled vertical scrolling
7206 - Better tracking of scrollbar changes, tied into WidthChange
7208 - Improved cursor tracking
7209 - Removed debug output
7211 - PositionCaret coordinates are now works in absolute space, not
7213 - Improved tracking of document size
7214 - Added events for width and height changes
7216 2005-06-21 Peter Bartok <pbartok@novell.com>
7218 * Form.cs: Set focus to active control when form is activated
7220 - Added word-wrap functionality to RecalculateLine()
7221 - Added some short function descriptions for VS.Net to aid in
7222 writing dependent controls
7223 - Added Caret property, returning the current coords of the caret
7224 - Added ViewPortWidth and ViewPortHeight properties
7225 - Added Wrap property
7226 - Added CaretMoved event
7227 - Removed some old debug code
7228 - Split() can now create soft splits
7229 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7230 - Added method to format existing text
7231 - Fixed size/alignment calculations to use viewport
7232 - RecalculateDocument now can handle changing line-numbers while
7236 - Added some wrap logic, we don't wrap if alignment is not left
7237 - Added casts for scrollbar var, base class switched types to
7238 also support RichTextBoxA
7239 - Implemented handling of scrollbar visibility flags
7242 - Switched scrollbars type to RichTextBoxScrollBars to support
7244 - Added tracking of canvas width/height
7245 - Switched scrollbars to be not selectable (to keep focus on text)
7246 - Added central CalculateDocument() method to handle all redraw
7248 - Added ReadOnly support
7249 - Added WordWrap support
7250 - Fixed handling of Enter key (we now treat it as a DialogKey)
7251 - Fixed caret positioning when h or v scroll is not zero
7252 - Fixed placing/generation of vertical scrollbar
7253 - Added CalculateScrollBars() method to allow updating scrollbar
7254 limits and visibility
7255 - Fixed handling of horizontal scroll
7256 - Added handling of vertical scroll
7257 - Implemented auto-'jump' when caret moves to close to a left or
7258 right border and there is text to be scrolled into view (currently
7259 there's the potential for a stack overflow, until a bug in
7262 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7264 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7266 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7270 - return application/x-zerosize for files with size zero
7271 (if no extension pattern matches).
7272 - check matches collection for strings too.
7273 - return only the first mime type if the name value
7274 collection has more than one mime type.
7276 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7278 * PropertyGrid.cs: Cleaned up some TODOs
7279 * PropertyGridView.cs: Added support for UITypeEditors
7281 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7283 * DataGrid.cs: clears cached value
7285 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7287 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7288 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7289 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7290 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7292 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7294 * ThemeWin32Classic.cs: fixes colour
7296 2005-06-15 Peter Bartok <pbartok@novell.com>
7298 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7299 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7300 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7301 * Control.cs: Added some MWFCategory and MWFDescription attributes
7302 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7304 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7306 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7309 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7311 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7312 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7313 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7314 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7315 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7316 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7318 2005-06-13 Jackson Harper <jackson@ximian.com>
7320 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7321 isn't printed when the user enables dropping. (X11 does accept
7324 2005-06-13 Jackson Harper <jackson@ximian.com>
7326 * TreeView.cs: Remove some TODOS.
7328 2005-06-13 Jackson Harper <jackson@ximian.com>
7330 * Form.cs: Hook into the mdi framework.
7331 * MdiClient.cs: Use the base control collections add method so
7332 parents get setup correctly. Set the default back colour and dock
7334 * MdiChildContext.cs: New class, this bad actor handles an
7335 instance of an MDI window. Right now there is only basic
7336 support. You can drag, close, and resize windows. Minimize and
7337 Maximize are partially implemented.
7339 2005-06-13 Jackson Harper <jackson@ximian.com>
7341 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7342 freaky when both vals are negative. NOTE: There are probably other
7343 places in XplatUIX11 that this needs to be done.
7345 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7347 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7348 * DataGridColumnStyle.cs: fixes signature
7350 2005-06-12 Jackson Harper <jackson@ximian.com>
7352 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7355 2005-06-11 Jackson Harper <jackson@ximian.com>
7357 * StatusBarPanel.cs: Signature cleanups. Implement
7360 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7362 * DataGridTextBoxColumn.cs: Honors aligment
7363 * GridColumnStylesCollection.cs: Contains is case unsensitive
7364 * GridTableStylesCollection.cs: several fixes
7365 * DataGridTableStyle.cs: default column creation
7366 * DataGridDrawingLogic.cs: fixes
7367 * CurrencyManager.cs: ListName property
7368 * DataGrid.cs: multiple styles support
7369 * DataGridColumnStyle.cs: fixes
7372 2005-06-10 Peter Bartok <pbartok@novell.com>
7374 * Control.cs(Select): Moved SetFocus call to avoid potential
7375 loops if controls change the active control when getting focus
7376 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7379 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7381 * ImageListConverter.cs: Implemented
7383 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7385 * MonthCalendar.cs: Wired in NumericUpDown control for year
7387 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7389 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7390 DoubleClick events, since they are not meant to be fired.
7392 2005-06-09 Peter Bartok <pbartok@novell.com>
7394 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7395 Jonathan's standalone controls into MWF, implemented missing
7396 events, attributes and methods; added xxxAccessible classes
7397 * AccessibleObject.cs: Made fields internal so other classes
7398 can change them if needed
7400 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7402 * UpDownBase.cs: Complete implementation
7403 * NumericUpDown.cs: Complete implementation
7404 * DomainUpDown.cs: Complete implementation
7406 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7408 * DataGridTextBoxColumn.cs: drawing fixes
7409 * DataGridCell.cs: fixes ToString method to match MSNet
7410 * DataGridTableStyle.cs: fixes
7411 * DataGridBoolColumn.cs: fixes, drawing
7412 * DataGridDrawingLogic.cs: fixes, new methods
7413 * DataGridTextBox.cs: Keyboard and fixes
7415 - Keyboard navigation
7417 - Row selection (single, multiple, deletion, etc)
7420 2005-06-07 Jackson Harper <jackson@ximian.com>
7422 * ThemeWin32Classic.cs: Clear the background area when drawing
7425 2005-06-06 Peter Bartok <pbartok@novell.com>
7427 * ImageListStreamer.cs: Fixed signature for GetData
7428 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7430 - Added missing ChildAccessibleObject class
7431 - Added missing OnXXXFocus overrides, switched to using those
7432 instead of the event handler
7434 - Added Parent property for ControlAccessibleObject
7437 - Added ResetBindings()
7438 * ListBindingConverter.cs: Implemented some methods
7439 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7440 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7441 * ContainerControl.cs: Fixed signature, now subscribing to the
7442 ControlRemoved event instead of overriding the handler, LAMESPEC
7443 * CurrencyManager.cs: Added missing attribute
7444 * MonthCalendar.cs: Added missing properties
7446 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7448 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7450 2005-06-06 Gaurav Vaish and Ankit Jain
7452 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7453 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7455 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7457 * Control.cs: fixes CreateParams Width / Height.
7459 2005-06-05 Peter Bartok <pbartok@novell.com>
7461 * Win32DnD.cs: Removed compilation warnings
7463 2005-06-05 Peter Bartok <pbartok@novell.com>
7465 * Control.cs (CreateParams): Since we don't know if one of the
7466 properties we use is overridden, lets make sure if we fail accessing
7467 we continue with a backup plan
7469 2005-06-05 Peter Bartok <pbartok@novell.com>
7472 - Removed debug output
7473 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7475 - Plugged resource leak
7476 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7479 2005-06-05 Peter Bartok <pbartok@novell.com>
7481 * XplatUIWin32.cs: Removed DnD code
7482 * Win32DnD.cs: Implemented drop source and drop target functionality
7484 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7486 * UpDownBase.cs: remove duplicate addition of event, enable some code
7487 that was commented out.
7488 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7489 Validate input when a key is pressed. It works fine now for every
7490 combination of Hexadecimal. Only missing some drawing love when sharing
7491 space with other controls.
7493 2005-06-04 Peter Bartok <pbartok@novell.com>
7496 - We need to pass a window for DragDrop, so enable callback events
7497 - Added DnD callback events when being a DragSource
7498 * XplatUI.cs (StartDrag): Added window handle argument
7499 * XplatUIDriver.cs (StartDrag): Added window handle argument
7500 * QueryContinueDragEventArgs: Made fields internally accessible so
7501 drivers can set them
7502 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7505 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7507 * DataGridTextBoxColumn.cs: column text editing
7508 * DataGridTableStyle.cs: Respect columns styles created by the user
7509 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7510 * DataGridBoolColumn.cs: bool column editing
7511 * DataGrid.cs: fixes to scrolling, properties, etc
7512 * DataGridTextBox.cs: handle keyboard
7513 * DataGridColumnStyle.cs: fixes
7515 2005-06-02 Jackson Harper <jackson@ximian.com>
7517 * ImageListStreamer.cs: Somewhat broken implementation of
7518 GetObjectData. The RLE needs some work to match MS properly.
7520 2005-06-02 Jackson Harper <jackson@ximian.com>
7522 * X11Dnd.cs: Attempting to keep at least one file in MWF
7525 2005-06-02 Peter Bartok <pbartok@novell.com>
7527 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7530 2005-06-02 Peter Bartok <pbartok@novell.com>
7532 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7533 * XplatUI.cs: Added DoDragDrop() method
7534 * XplatUIDriver.cs: Added DoDragDrop() method
7536 2005-06-02 Jackson Harper <jackson@ximian.com>
7538 * Splitter.cs: Implement BorderStyle.
7540 2005-06-02 Jackson Harper <jackson@ximian.com>
7542 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7543 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7546 2005-06-02 Peter Bartok <pbartok@novell.com>
7550 - Fixed broken insertion code for SetData, now also
7551 overwrites any existing entry of the same format name
7552 * Hwnd.cs: Added list of pointers that automatically gets
7553 freed when the window is disposed
7554 * XplatUI.cs: Call driver initialization method when loading
7557 - OnDragLeave takes EventArgs, not DragEventArgs
7558 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7560 - Forces style update when drop state changes
7561 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7562 not perfect since we cannot (yet) call the IDataObject.GetData()
7563 method, we keep getting 0x80004005 error, dunno why)
7565 2005-06-02 Peter Bartok <pbartok@novell.com>
7567 * DragEventArgs.cs: Make fields internal so we can cache the
7568 object and re-set the fields from XplatUI
7570 2005-06-02 Jackson Harper <jackson@ximian.com>
7572 * Control.cs: Add some internal methods so the DnD subsystem can
7573 raise DnD events. Also call into the driver when AllowDrop is set.
7575 * XplatUIDriver.cs: New method for setting whether or not a window
7576 is allowed to accept drag and drop messages.
7578 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7580 * ScrollBar.cs: Make sure that values sent in Scroll events
7581 are always between Maximum and Minimum.
7583 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7585 * Menu.cs: Call MenuChanged when menuitem visibility has been
7587 * MenuItem.cs: Rebuild menu when item is (not) visible.
7588 * MainMenu.cs: MainMenu has special MenuChanged.
7589 * Theme.cs: Caption and FrameBorderSize are not fixed.
7590 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7591 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7593 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7594 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7596 2005-05-30 Jackson Harper <jackson@ximian.com>
7598 * DataFormat.cs: We can't statically initialize this stuff because
7599 it calls into the xplatui and could create a loop. So we lazy init
7602 2005-05-28 Jackson Harper <jackson@ximian.com>
7604 * Control.cs: Proper implementation of Product(Name/Version).
7606 2005-05-27 Jackson Harper <jackson@ximian.com>
7608 * DataObject.cs: Dont crash if no data is found.
7610 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7611 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7612 as per status page, guessing it should be set to true
7614 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7616 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7617 * DataGridTableStyle.cs: set proper formatting text, def header text
7618 * ThemeWin32Classic.cs: new themable paramaters
7619 * DataGridBoolColumn.cs: paint check box, get data, fixes
7620 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7621 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7622 * DataGridColumnStyle.cs: fixes
7623 * Theme.cs: new themable paramaters
7625 2005-05-26 Peter Bartok <pbartok@novell.com>
7627 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7629 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7630 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7632 2005-05-24 Peter Bartok <pbartok@novell.com>
7634 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7635 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7636 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7637 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7638 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7639 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7640 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7641 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7642 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7643 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7644 missing attributes, etc
7645 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7647 2005-05-24 Peter Bartok <pbartok@novell.com>
7649 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7650 when user tries to get help
7651 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7652 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7653 to suppress warnings
7654 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7655 avoid unreachable code warning
7657 2005-05-20 Peter Bartok <pbartok@novell.com>
7659 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7661 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7663 * DataGridTextBoxColumn.cs: Basic painting methods
7664 * DataGridTableStyle.cs: Set table style in the column
7665 * ThemeWin32Classic.cs: Use Theme for colors
7666 * DataGridDrawingLogic.cs: Implement more drawing
7667 * DataGrid.cs: drawing, theming, enhacements, fixes
7668 * DataGridColumnStyle.cs: fixes, drawing
7669 * Theme.cs: theming for Datagrid
7671 2005-05-20 Peter Bartok <pbartok@novell.com>
7673 * Cursor.cs: Implemented GetObjectData() method
7675 2005-05-20 Peter Bartok <pbartok@novell.com>
7677 * Cursors.cs: Added setting of cursor name
7679 - Implemented constructors
7680 - Implemented Draw and DrawStretched
7681 - Implemented Current property
7682 - Implemented == and != operators
7683 - Implemented Dispose()
7684 - Implemented ToString
7685 - Added missing attributes
7687 - Added missing reset for OverrideCursor when DoEvents is called
7688 - Fixed creation of cursor, logic was wrong
7690 - Added missing reset for OverrideCursor when DoEvents is called
7691 - Fixed creation of cursor, bit arrays were swapped
7692 * Clipboard.cs: Removed obsolete MonoTODO attribute
7694 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7696 * ComboBox.cs: fixes OnSelectedItemChanged
7697 * ControlBindingsCollection.cs: fixes item range check
7699 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7702 - Calc preferred height properly
7703 - Implement missing properties
7705 * NumericUpDown.cs: Implement missing events
7707 2005-05-19 Jackson Harper <jackson@ximian.com>
7709 * TabControl.cs: New method that resizes the tab pages before
7710 redrawing them. This as needed as the control is double buffered
7711 and sizing will not be recalculated unless ResizeTabPages is
7713 * TabPage.cs: Set base.Text instead of Text in the constructor so
7714 that UpdateOwner does not get called. Use the new Redraw method of
7715 TabControl instead of Refresh so the sizing is recalculated.
7716 * ThemeWin32Classic.cs: Draw the text for button tabs.
7718 2005-05-19 Jackson Harper <jackson@ximian.com>
7720 * Control.cs: Paint control background images. Fix typo where
7721 PaintControlBackground was not getting called correctly.
7723 2005-05-19 Peter Bartok <pbartok@novell.com>
7725 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7726 I can investigate, apparently I broke FileDialog
7728 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7730 * AxHost.cs: Some simple properties.
7731 * Control.cs: window must be accessible after ctor.
7732 * Form.cs: Added TransparencyKey property.
7733 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7734 * XplatUIWin32.cs: SetBorderStyle implemented.
7736 2005-05-18 Peter Bartok <pbartok@novell.com>
7738 * DataObject.cs: Entries are not global but particular to the
7739 DataObject, now it behaves that way
7740 * XplatUIWin32.cs: Implemented Clipboard methods
7741 * Clipboard.cs: Implemented
7742 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7743 * XplatUIOSX.cs: Updated to final clipboard prototypes
7744 * XplatUIX11.cs: Implemented Clipboard methods
7745 * XplatUIDriver.cs: Updated to final clipboard prototypes
7746 * XplatUIStructs.cs:
7747 - Added BITMAPINFOHEADER struct
7748 - Added ClipboardFormats enum
7750 - Added ClipboardStruct
7751 - Added Atom enum items for clipboard types
7752 - Fixed atom types for Selection event structures
7754 - Added internal properties and methods for drivers to enumerate
7756 - Switched initialization method to allow drivers to assign their
7757 own IDs even for the MS predefined clipboard IDs
7758 * XplatUI.cs: Updated to final clipboard interface
7760 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7761 * PropertyGridView.cs: Fixed compiler warnings.
7763 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7764 * PropertyGrid.cs: Added some event calls
7765 * PropertyGridView.cs: Change drawing code to use double buffering
7766 * PropertyGridTextBox.cs: Changed Text property name
7767 * GridItem.cs: Added Bounds property.
7768 * GridEntry.cs: Added Bounds property.
7770 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7772 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7773 since GetType() may not return the correct type if the object is
7776 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7778 * TreeNodeCollection.cs: fixes get/set item ranges
7780 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7782 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7784 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7786 * ComboBox.cs: Fix item range comparation
7787 * ListView.cs: Fix item range comparation
7789 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7792 - Clear example panel when OnPaint is called
7793 - Better solution for displaying the example panel text
7794 - Select default indexes in the ListBoxes
7796 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7798 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7800 2005-05-11 Peter Bartok <pbartok@novell.com>
7802 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7803 * SelectionRangeConverter.cs: Implemented
7804 * PropertyGrid.cs: Fixed attribute value
7806 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7807 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7808 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7809 that's common to all drivers. First methods to go there are
7810 Sebastien Pouliot's CAS Stack Propagation helper methods
7811 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7812 Sebastien Pouliot for CAS Stack Propagation
7814 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7817 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7819 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7821 * DataGridTextBoxColumn.cs: fixed some members
7822 * GridColumnStylesCollection.cs: indexed column is case insensitive
7823 * DataGridTableStyle.cs: fixes
7824 * ThemeWin32Classic.cs: add new theme parameter
7825 * Theme.cs: add new theme parameter
7826 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7827 * DataGrid.cs: fixes, new internal properties, etc.
7828 * DataGridColumnStyle.cs: allows to set grid value
7831 2005-05-10 Peter Bartok <pbartok@novell.com>
7833 * AccessibleObject.cs:
7834 - Removed MonoTODO attribute on help, method is correct
7835 - Fixed Bounds property
7836 * AxHost.cs: Moved MonoTODO
7837 * ButtonBase.cs: Now setting AccessibleObject properties
7838 * RadioButton.cs: Setting proper AccessibleObject role
7839 * CheckBox.cs: Setting proper AccessibleObject role
7840 * ControlBindingsCollection.cs: Added properties, methods and attributes
7841 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7842 userdefined DataFormats.Format items as well
7843 * ListControl.cs: Removed data_member from the public eye
7844 * OpenFileDialog.cs:
7846 - Added missing attributes
7847 * SaveFileDialog.cs: Added missing attributes
7848 * ImageListStreamer.cs: Fixed code that caused warnings
7849 * LinkLabel.cs: Removed unreachable code
7850 * TreeView.cs: Fixed code that caused warnings
7851 * PropertyGridView.cs: Fixed code that caused warnings
7852 * GridColumnStylesCollection.cs: Added missing attributes
7853 * GridTableStylesCollection: Added missing attribute
7854 * PropertyManager: Added .ctor
7855 * SecurityIDType: Added
7856 * DataObject.cs: Implemented class
7857 * LinkArea.cs: Added missing attribute
7859 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7861 * RadioButton.cs: call base method to allow to fire OnClick event
7862 * UpDownBase.cs: OnMouseUp call base method
7863 * CheckedListBox.cs: call base method before returning
7864 * TrackBar.cs: call base method before returning
7867 2005-05-10 Peter Bartok <pbartok@novell.com>
7869 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7872 2005-05-10 Peter Bartok <pbartok@novell.com>
7874 * DataFormats.cs: Implemented
7875 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7876 XplatUIX11.cs: Added Clipboard APIs
7877 * XplatUIWin32.cs: Implemented Clipboard APIs
7878 * FolderBrowserDialog.cs: Added missing event, attributes
7880 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7882 * CheckBox.cs: call base method to allow to fire OnClick event
7884 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7886 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7888 2005-05-06 Peter Bartok <pbartok@novell.com>
7890 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7891 * Screen.cs: Implemented
7892 * HelpNavigator.cs: Added
7893 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7895 * HelpProvider.cs: Implemented all we can do until we have a CHM
7896 help library (which means that "What's This" does work now)
7898 2005-05-06 Jackson Harper <jackson@ximian.com>
7900 * XplatUIX11.cs: Fix waking up the main loop.
7902 2005-05-05 Peter Bartok <pbartok@novell.com>
7904 * XplatUI.cs: Updated revision
7905 * Form.cs: Removed enless loop
7906 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7907 * Label.cs (OnPaint): Added call to base.OnPaint()
7908 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7909 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7910 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7912 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7913 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7914 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7915 reuse of ToolTipWindow by other controls
7916 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7917 * XplatUIX11.cs: Now clipping drawing area (experimental)
7918 * PictureBox.cs: Moved base.OnPaint() call to end of method
7919 * Theme.cs: Fixed ToolTip abstracts to match new format
7920 * ErrorProvider.cs: Implemented
7922 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7924 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7928 - Implements LinkBehavior
7931 2005-05-03 Jackson Harper <jackson@ximian.com>
7933 * ListView.cs: Calculate the scrollbar positioning on resize and
7934 paint, so they get put in the correct place.
7936 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7938 * ColorDialogs.cs: The small color panels are now handled by
7939 SmallColorControl. This fixes drawing of the focus rectangle
7940 and adds a 3D border.
7942 2005-05-03 Peter Bartok <pbartok@novell.com>
7944 * Control.cs: Modified version of Jonathan Chamber's fix for
7947 2005-05-03 Jackson Harper <jackson@ximian.com>
7949 * ListView.cs: Remove redraw variable. Control now handles whether
7950 or not a redraw needs to be done, and will only raise the paint
7951 event if redrawing is needed.
7953 2005-05-03 Jackson Harper <jackson@ximian.com>
7955 * Splitter.cs: No decorations for the splitter form. Cache the
7958 2005-05-03 Jackson Harper <jackson@ximian.com>
7960 * TreeView.cs: Use dashed lines to connect nodes. Use the
7961 ControlPaint method for drawing the focus rect instead of doing
7964 2005-05-02 Peter Bartok <pbartok@novell.com>
7966 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7968 2005-04-29 Jackson Harper <jackson@ximian.com>
7970 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7971 entire image buffer. Just clear the clipping rectangle.
7973 2005-04-29 Jackson Harper <jackson@ximian.com>
7975 * ThemeWin32Classic.cs: Don't draw list view items that are
7976 outside the clipping rectangle.
7978 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7980 * ListBox.cs: added horizontal item scroll
7982 2005-04-29 Jackson Harper <jackson@ximian.com>
7984 * ThemeWin32Classic.cs: Remove some old debug code that was
7985 causing flicker with the new double buffering code.
7987 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7989 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7990 behave like combobox and comboboxlist (still not sure if this is
7993 2005-04-28 Jackson Harper <jackson@ximian.com>
7995 * ThemeWin32Classic.cs: Don't fill the middle of progress
7996 bars. This fills areas outside of the clip bounds that don't need
7999 2005-04-28 Jackson Harper <jackson@ximian.com>
8001 * Control.cs: Don't expose functionality to touch the image buffers.
8003 * ListView.cs: We do not need to (and no longer can) manipulate
8004 the image buffers directly. All of this is handled by Control.
8006 2005-04-28 Peter Bartok <pbartok@novell.com>
8008 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
8009 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
8010 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
8012 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8015 - Adjust control's height for non-simple comboboxes (bug fix)
8017 * MenuAPI.cs: remove unused var
8018 * ScrollBar.cs: remove unsed var
8020 * ListBox.cs: unselect items when clearing
8022 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
8024 * ListControl.cs: honors OnPositionChanged and default Selected Item
8025 * ListBox.cs: unselect items when clearing
8027 2005-04-27 Jackson Harper <jackson@ximian.com>
8029 * X11Keyboard.cs: Initialize a default keyboard and give a warning
8030 if a "correct" keyboard is not found. This will make us not crash,
8031 but might give some users bad keyboard layouts...seems to be the
8032 same thing rewind does.
8034 2005-04-27 Jackson Harper <jackson@ximian.com>
8036 * BindingManagerBase.cs: Attach the current/position changed
8037 handlers to their respective events.
8039 2005-04-27 Jackson Harper <jackson@ximian.com>
8041 * Control.cs: Make sure that the first WM_PAINT does a full draw,
8043 * ThemeWin32Classic.cs: Don't fill the background for picture
8044 boxes. This could overright user drawing.
8045 * ComboBox.cs: Just fill the clipping rect not the entire client
8046 rect when drawing the background. This prevents pieces of the
8047 image buffer from getting overwritten and is theoretically faster.
8049 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
8051 * ComboBox.cs: Databinding support fixes, fire missing events
8052 * ListControl.cs: implement missing methods and properties, fixes
8053 * ThemeWin32Classic.cs: Databiding support on Drawing
8054 * CheckedListBox.cs: Databinding support fixes, fire missing events
8055 * ListBox.cs: Databinding support fixes, fire missing events
8057 2005-04-25 Peter Bartok <pbartok@novell.com>
8059 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8061 2005-04-25 Jackson Harper <jackson@ximian.com>
8063 * TreeView.cs: Use the horizontal scrollbars height not width when
8064 determining how much of the client area is available.
8066 2005-04-25 Jackson Harper <jackson@ximian.com>
8068 * Control.cs: Double buffering is handled differently now. As per
8069 the spec, the extra buffer is created in the WM_PAINT message and
8070 passed down to the control's drawing code.
8078 * PropertyGridView.cs:
8090 * DateTimePicker.cs:
8092 * TreeView.cs: Update to new double buffering system.
8093 * MonthCalendar.cs: Uncomment block, as Capture is now
8094 working. Update to new double buffering
8095 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8096 * PaintEventArgs.cs: New internal method allows us to set the
8097 graphics object. This is used for double buffering.
8098 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8099 rectangle. The internal paint_area var has been removed from
8100 StatusBar. The clipping rect should be used instead.
8101 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8102 * TabPage.cs: The RefreshTabs method was removed, so just call the
8103 tab controls Refresh method now.
8104 * TabControl.cs: Update to new double buffering. Make sure the
8105 handle is created before sizing the tab pages, otherwise we will
8106 get stuck in a loop.
8108 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8110 * LinkLabel.cs: Fix typo, bug #74719; patch
8111 from Borja Sanchez Zamorano
8113 2005-04-22 Jackson Harper <jackson@ximian.com>
8115 * TreeNode.cs: Implement Handle stuff.
8116 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8118 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8120 * DataGridTextBoxColumn.cs: call base constructors, fixes
8121 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8122 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8123 * DataGridTableStyle.cs: implements create default column styles
8124 * DataGridBoolColumn.cs: which types can handle
8125 * DataGrid.cs: missing methods, fixes, new functionality
8126 * DataGridColumnStyle.cs: fixes
8128 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8129 * FolderBrowserDialog.cs:
8130 - Use a thread to fill the TreeView
8131 - Adjusted some sizes
8133 2005-04-19 Peter Bartok <pbartok@novell.com>
8135 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8136 property. Fixes #74360.
8138 2005-04-19 Jackson Harper <jackson@ximian.com>
8140 * XEventQueue.cs: Lock when getting the lockqueue size.
8141 * PictureBox.cs: Call base OnPaint
8143 2005-04-19 Peter Bartok <pbartok@novell.com>
8145 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8146 messages were no longer being processed (this broke BeginInvoke)
8149 2005-04-18 Jackson Harper <jackson@ximian.com>
8151 * TreeView.cs: buglet that caused node images to get drawn
8152 regardless of whether or not they were in the clipping rectangle.
8154 2005-04-18 Jackson Harper <jackson@ximian.com>
8156 * CurrencyManager.cs: There are four rules for GetItemProperties:
8157 - If the type is an array use the element type of the array
8158 - If the type is a typed list, use the type
8159 - If the list contains an Item property that is not an object, use
8161 - use the first element of the list if there are any elements in
8164 2005-04-17 Jackson Harper <jackson@ximian.oom>
8166 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8167 click. This handles offsets for scrolling properly and reduces
8168 memory. Also fixed GetNode to not offset now that TopNode works
8170 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8172 2005-04-17 Jackson Harper <jackson@ximian.com>
8174 * CursorConverter.cs: Initial implementation.
8176 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8178 * ListControl.cs: work towards complex data binding support on ListControl
8179 * CurrencyManager.cs: work towards complex data binding support on ListControl
8180 * ListBox.cs: work towards complex data binding support on ListControl
8183 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8185 * GridTableStylesCollection.cs: fixes name and constructor
8186 * DataGridTableStyle.cs: fixes
8187 * DataGridBoolColumn.cs: fixes names and constructors
8188 * DataGrid.cs: define methods and properties. Some init implementations
8189 * DataGridCell.cs: define methods and properties. Some init implementations
8190 * GridTablesFactory.cs: Define methods and properties
8192 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8194 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8195 graphics port changes. We still want the coordinates in global screen
8198 2005-04-14 Jackson Harper <jackson@ximian.com>
8200 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8201 check plus minus or checkbox clicks unless those features are enabled.
8203 2005-04-14 Jackson Harper <jackson@ximian.com>
8205 * TreeView.cs: Add methods for setting the top and bottom visible
8206 nodes. TreeNode::EnsureVisible uses these methods.
8207 * TreeNode.cs: Implement EnsureVisible
8209 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8211 * Form.cs: Pospone menu assignation if the window has not been created yet
8212 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8215 2005-04-12 Jackson Harper <jackson@ximian.com>
8217 * TreeView.cs: Set the TopNode properly when scrolling
8218 occurs. This has the added benifit of reducing the amount of
8219 walking that needs to be done when drawing. Also removed an old
8221 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8223 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8225 * Timer.cs: fixes interval setting when the timer is already enabled
8227 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8229 * FolderBrowserDialog.cs: First approach
8231 2005-04-09 Peter Bartok <pbartok@novell.com>
8233 * FolderBrowserDialog: Added
8235 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8237 * LinkLabel.cs: move drawing code into the theme
8238 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8239 * Theme.cs: define DrawLinkLabel method
8241 2005-04-05 Jackson Harper <jackson@ximian.com>
8243 * BindingContext.cs: Use weak references so these bad actors don't
8244 stay alive longer then they need to.
8246 2005-04-05 Jackson Harper <jackson@ximian.com>
8248 * ListControl.cs: Basic implementation of complex databinding.
8250 * ListBox.cs: Add calls to ListControl databinding methods.
8252 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8255 - Don't change PopupButtonState to Normal when the
8256 PopupButton gets pressed several times.
8257 - Renamed ButtonPanel to PopupButtonPanel
8259 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8261 * ColorDialog.cs: Use cached objects instead of creating them
8262 * LinkLabel.cs: Use cached objects instead of creating them
8263 * Splitter.cs: Use cached objects instead of creating them
8264 * FontDialog.cs: Use cached objects instead of creating them
8265 * PropertyGridView.cs: Use cached objects instead of creating them
8266 * MessageBox.cs: Use cached objects instead of creating them
8267 * FileDialog.cs: Use cached objects instead of creating them
8268 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8269 * TreeView.cs: Use cached objects instead of creating them
8271 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8273 * Control.cs: use Equals to compare the font since no == op
8274 * ScrollBar.cs: use Equals to compare the font since no == op
8276 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8278 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8280 2005-04-01 Jackson Harper <jackson@ximian.com>
8282 * Binding.cs: Implement IsBinding.
8283 * BindingManagerBase.cs:
8284 * PropertyManager.cs:
8285 * CurrencyManager.cs: Add IsSuspended property.
8287 2005-04-01 Jackson Harper <jackson@ximian.com>
8289 * Binding.cs: Had some IsAssignableFrom calls backwards.
8291 2005-04-01 Jackson Harper <jackson@ximian.com>
8293 * Binding.cs: Handle null data members when pulling data.
8294 * PropertyManager.cs: Handle the data member being a property that
8297 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8299 * DataGridTextBoxColumn.cs: fixes signature
8300 * DataGrid.cs: calls right constructor
8302 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8304 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8305 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8306 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8307 * DataGridTableStyle.cs: implements DataGridTableStyle
8308 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8309 * DataGridTextBox.cs: implements DataGridTextBox
8310 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8312 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8314 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8316 2005-03-29 Peter Bartok <pbartok@novell.com>
8319 - Properly implemented CompanyName property
8320 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8321 returns a path that includes CompanyName, ProductName and
8322 Version (fixes bug #70330)
8324 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8326 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8329 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8331 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8333 - Added ReadOnly CheckBox
8334 - Further refactoring: moved some code from Open-/SaveFileDialog
8337 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8339 * OpenFileDialog.cs: Fixed CheckFileExists
8341 Moved FileView and DirComboBox outside FileDialog class.
8342 They can now be used outside FileDialog
8344 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8346 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8347 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8349 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8351 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8352 - Added missing CreatePrompt property in SaveDialog
8353 - Overall SaveDialog handling should be better now
8354 - Added non standard ShowHiddenFiles property
8355 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8356 - Added InitialDirectory and RestoreDirectory support
8358 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8360 * FileDialog.cs: Made dirComboBox usable
8362 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8364 * FileDialog.cs: Added Filter support (case sensitiv)
8366 2005-03-24 Jackson Harper <jackson@ximian.com>
8368 * TabControl.cs: Need a couple more pixels for the lines.
8370 2005-03-23 Jackson Harper <jackson@ximian.com>
8372 * TabControl.cs: Give the tab page focus when it is selected.
8374 2005-03-23 Jackson Harper <jackson@ximian.com>
8376 * TabControl.cs: Account for the drawing of tabs borders when
8377 invalidating. If the slider was clicked dont do click detection on
8380 2005-03-23 Jackson Harper <jackson@ximian.com>
8382 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8384 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8386 * CategoryGridEntry.cs: Added
8387 * GridItem.cs: Added helper properties
8388 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8389 * GridEntry.cs: Updated code for collection
8390 * PropertyGrid.cs: Cleaned up some formatting
8391 * PropertyGridView.cs: Added drop down functionality for enums.
8392 * GridItemCollection.cs: Added enumerator logic
8393 * PropertyGridEntry.cs: Added
8395 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8398 - Removed unnecessary commented code
8399 - Fixed handling for entering the filename manually in the combobox
8401 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8403 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8405 2005-03-18 Peter Bartok <pbartok@novell.com>
8407 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8408 them being touching the border
8410 2005-03-18 Peter Bartok <pbartok@novell.com>
8412 * TextControl.cs: Quick hack to center text better
8414 2005-03-18 Peter Bartok <pbartok@novell.com>
8417 - Don't throw NotImplemented exceptions, just print a notice once
8418 instead (requested by Miguel). This makes running existing SWF
8421 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8422 - Added context menu trigger on right click
8423 * Panel.cs: Trigger invalidate on resize
8425 - Removed old double-buffer drawing
8426 - Added ResizeRedraw style to force proper update of statusbar
8428 - Removed debug output
8429 * ThemeWin32Classic.cs:
8430 - Fixed drawing of status bar, now draws Text property if there
8431 are no defined panels
8433 2005-03-18 Jackson Harper <jackson@ximian.com>
8435 * ImageList.cs: When the image stream is set pull all the images
8437 * ImageListStreamer.cs: Implement reading image list streams.
8439 2005-03-18 Peter Bartok <pbartok@novell.com>
8441 * ThemeWin32Classic.cs (DrawPictureBox):
8442 - Fixed calculations for centered drawing
8443 - Fixed drawing for normal mode, not scaling the image on normal
8445 2005-03-18 Peter Bartok <pbartok@novell.com>
8447 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8450 - Made Open/Save button the accept button for FileDialog
8451 - Tied the cancel button to the IButtonControl cancel button
8452 - Save/Open now properly builds the pathname
8453 - Now handles user-entered text
8454 - Preventing crash on right-click if no item is selected
8455 - Fixed Text property, now uses contents of textbox
8456 - Fixed SelectedText property, now just returns the text part that
8457 is selected in the text box
8459 2005-03-18 Jackson Harper <jackson@ximian.com>
8461 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8462 rect, make sure to de-adjust the interior rect after drawing the
8465 2005-03-18 Peter Bartok <pbartok@novell.com>
8467 * MenuAPI.cs: Remove menu *before* executing selected action to
8468 prevent the menu from 'hanging around'
8470 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8472 * XplatUIOSX.cs: Implemented WorkingArea property
8474 2005-03-17 Peter Bartok <pbartok@novell.com>
8476 * XplatUIX11.cs: Fixed menu coord calculations
8477 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8478 for calculating offsets
8480 2005-03-17 Peter Bartok <pbartok@novell.com>
8482 * Hwnd.cs: Do not consider menu presence for default client
8483 rectangle location/size
8484 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8485 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8486 translation functions
8487 * FileDialog.cs: Fixed (what I presume is a) typo
8489 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8491 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8492 X access (avoids X-Async errors)
8494 2005-03-16 Jackson Harper <jackson@ximian.com>
8496 * TabControl.cs: Raise the SelectedIndexChanged event.
8498 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8500 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8501 - Removed vertical ToolBar and replaced it with a custom panel
8502 (desktop and home button already work)
8503 - Added Help button (some controls get resized or relocated then)
8504 - Draw correct text depending on Open or Save.
8505 - Fixed some typos...
8507 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8510 - Only change Maximum and Minimum when need it (bug fix)
8512 2005-03-15 Peter Bartok <pbartok@novell.com>
8514 * Form.cs: Use Handle for icon, to trigger creation if
8515 the window does not yet exist
8517 - CanSelect: Slight performance improvement
8518 - Focus(): Preventing possible recursion
8519 - Invalidate(): Removed ControlStyle based clear flag setting
8520 - WM_PAINT: fixed logic for calling OnPaintBackground
8521 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8522 EraseWindowBackground if the control doesn't paint background
8524 - Moved EraseWindowBackground() method to internal methods
8525 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8526 is sent via SendMessage on BeginPaint call on Win32
8528 - Added EraseWindowBackground() method
8529 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8530 PaintEventStart, which more closely matches Win32 behaviour
8531 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8532 - Fixed SetFocus() to properly deal with client and whole windows
8533 * Hwnd.cs: Added ErasePending property
8534 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8535 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8537 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8540 - Fix hard loop when timers exist.
8541 - Fix bugs with middle and right click for 3 button mice.
8543 2005-03-11 Peter Bartok <pbartok@novell.com>
8546 - get_WorkingArea: Need to call X directly, GetWindowPos only
8547 returns cached data now
8548 - Added sanity check to GetWindowPos hwnd usage
8550 2005-03-11 Jackson Harper <jackson@ximian.com>
8552 * BindingManagerBase.cs: This method isn't used anymore as
8553 PullData now updates the data in the control.
8555 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8557 * Form.cs: fixes menu drawing on X11
8558 * MenuAPI.cs: fixes menu drawing on X11
8560 2005-03-11 Peter Bartok <pbartok@novell.com>
8562 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8563 from Jonathan Gilbert; should fix bug #73606
8564 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8565 in Screen coordinates. Thanks, Jordi.
8566 * Form.cs: Added missing attribute
8568 2005-03-11 Peter Bartok <pbartok@novell.com>
8571 - Rudimentary Mdi support
8572 - Removed outdated FormParent code
8573 - Implemented lots of missing properties and methods, still missing
8574 transparency support
8575 - Added missing attributes
8576 - Implemented support for MaximumBounds
8577 - Added firing of various events
8578 * XplatUI.cs: Added SetIcon() method
8579 * XplatUIDriver.cs: Added SetIcon() abstract
8580 * XplatUIOSX.cs: Stubbed out SetIcon() method
8582 - Implemented SetIcon() support
8583 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8584 - Switched to unix line endings
8586 - Made POINT internal so for can access it as part of MINMAX
8587 - Implemented SetIcon() support
8588 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8589 native Mdi support again, might have to go managed)
8590 * Control.cs: Now fires the StyleChanged event
8591 * MdiClient.cs: Added; still mostly empty
8593 2005-03-10 Peter Bartok <pbartok@novell.com>
8595 * SaveFileDialog.cs: Added emtpy file
8597 2005-03-08 Peter Bartok <pbartok@novell.com>
8599 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8600 in turn triggers OnCreateContro) when creating a handle for the
8602 * TextControl.cs: Fixed endless loop in certain cases when
8603 replacing the current selection
8605 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8608 - Honors NewValue changes in Scroll events allowing apps to change it
8609 - Adds First and Last Scroll events
8610 - Fixes Thumb events
8612 2005-03-07 Peter Bartok <pbartok@novell.com>
8614 * Hwnd.cs: Added DefaultClientRectangle property
8615 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8616 more detailed debug information
8618 - Fixed size-change feedback loop, where we would pull an old size
8619 off the queue and mistakenly change our window's size to an
8621 - Now compressing ConfigureNotify events, to reduce looping and
8623 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8626 2005-03-07 Jackson Harper <jackson@ximian.com>
8628 * Binding.cs: Push data pushes from data -> property. Check if the
8629 property is readonly when attempting to set it.
8631 2005-03-07 Jackson Harper <jackson@ximian.com>
8633 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8634 instead of IsSubclassOf. Pulling data now sets the value on the
8636 * PropertyManager.cs:
8637 * CurrencyManager.cs: Just need to pull data when updating now,
8638 because PullData will set the value on the control.
8640 2005-03-04 Jackson Harper <jackson@ximian.com>
8642 * Binding.cs: Implement data type parsing and converting on pulled
8643 data. TODO: Are there more ways the data can be converted?
8645 2005-03-04 Jackson Harper <jackson@ximian.com>
8647 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8648 controls Validating method so we can repull the data when the
8649 control loses focus.
8651 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8654 - Fixes null string format
8657 - Adds enum type checks
8658 - Fixes redrawing and recalc need after changing some properties
8659 - Fixes on focus_item set after the event
8660 - Fixes adding columns after the control has been created
8662 * ThemeWin32Classic.cs:
8663 - Fixes CheckBox focus rectangle
8664 - Fixes ColumnHeader drawing
8667 2005-03-03 Jackson Harper <jackson@ximian.com>
8669 * Binding.cs: Bind to <Property>Changed events so we can detect
8670 when properties are changed and update the data.
8672 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8675 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8676 - Fixes ImageList constructor with ImageList container
8677 - Fixes image scaling (wrong parameters at DrawImage)
8679 2005-02-02 Jackson Harper <jackson@ximian.com>
8681 * Binding.cs: Make property searches case-insensitive. Eliminate
8682 some duplicated code.
8684 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8687 - Handle focus event
8688 - Fix scrollbar events
8689 - Discard highlighted item if remove it
8690 - Fixes SelectedItem with strings
8692 2005-03-01 Peter Bartok <pbartok@novell.com>
8695 - Fixed Visible property, now follows (once again) parent chain
8696 to return false if any control in the chain is visible=false
8697 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8698 - Fixed several places where is_visible instead of Visible was used
8699 - Implemented FIXME related to focus selection when setting focused
8700 control to be invisible
8702 * XplatUIWin32.cs: Now using proper method to find out if window is
8703 visible. Thanks to Jordi for pointing it out
8705 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8707 * ComboBox.cs: show/hide scrollbar instead of creating it
8709 2005-02-27 Jackson Harper <jackson@ximian.com>
8711 * CurrencyManager.cs: Add PositionChanged stuff.
8713 2005-02-27 Peter Bartok <pbartok@novell.com>
8715 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8716 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8717 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8719 - Implemented GetMenuDC()
8720 - Implemented GetMenuOrigin()
8721 - Implemented ReleaseMenuDC()
8722 - Implemented generation of WM_NCPAINT message
8723 - Implemented generation and handling of WM_NCCALCSIZE message
8724 * Form.cs: Added debug helper message for Jordi's menu work
8726 - Modified ClientRect property; added setter, fixed getter to handle
8727 setting of ClientRect
8728 - Added MenuOrigin property
8730 2005-02-26 Peter Bartok <pbartok@novell.com>
8733 - Destroys the caret if a window that's being destroyed contains it
8734 - Ignores expose events coming from the X11 queue for windows that
8735 already are destroyed
8736 - Now uses the proper variable for handling DestroyNotify, before we
8737 marked the wrong window as destroyed
8738 - Improved/added some debug output
8740 2005-02-26 Peter Bartok <pbartok@novell.com>
8742 * X11Keyboard.cs: Fixes to work on 64bit systems
8744 2005-02-26 Peter Bartok <pbartok@novell.com>
8747 - Now calling OnHandleDestroyed from DestroyHandle()
8748 instead of Dispose()
8749 - Removed bogus call to controls.Remove() from DestroyHandle()
8751 2005-02-26 Peter Bartok <pbartok@novell.com>
8753 * Control.cs: Properly destroy child windows when our handle is
8756 2005-02-25 Peter Bartok <pbartok@novell.com>
8759 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8760 - Alphabetized Static Methods and Subclasses
8763 - Added XException class to allow custom handling of X11 exceptions
8764 - Created custom X11 error handler, tied into XException class
8765 - Added support for MONO_XEXCEPTIONS env var to allow the user
8766 to either throw an exception on X errors or continue running
8767 after displaying the error
8768 - Added handling of DestroyNotify message
8769 - Added handler for CreateNotify message (still disabled)
8770 - Improved (tried to at least) Where method to provide file and lineno
8772 - Added XErrorHandler delegate
8773 - Added XRequest enumeration (to suppor translation of errors)
8775 2005-02-25 Jackson Harper <jackson@ximian.com>
8777 * PropertyManager.cs: Implement editing features
8778 * CurrencyManager.cs:
8779 * Binding.cs: First attempt at UpdateIsBinding
8780 * BindingManagerBase.cs: Call UpdateIsBinding before
8781 pushing/pulling data.
8783 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8785 * MenuAPI.cs: Respect disabled items
8786 * ThemeWin32Classic.cs
8787 - Caches ImageAttributes creation for DrawImageDisabled
8788 - Fixes vertical menu line drawing
8789 - Draws disabled arrows in disable menu items
8791 2005-02-24 Peter Bartok <pbartok@novell.com>
8794 - Added UserData property to allow associating arbitrary objects
8796 - Fixed leak; now removing Hwnd references from static windows array
8798 - Fixed Graphics leak in PaintEventEnd
8799 - Removed usage of HandleData, switched over to Hwnd class
8800 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8802 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8804 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8805 * ScrollBar.cs: Fixes bug
8806 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8807 keyboard navigation enhancements
8809 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8811 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8812 * GroupBox.cs: Add control styles
8813 * Label.cs: Add control styles
8814 * UpDownBase.cs: Add control styles
8815 * ListBox.cs: Add control styles
8816 * XplatUIWin32.cs: Fixes wrong parameter order
8819 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8821 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8823 2005-02-23 Jackson Harper <jackson@ximian.com>
8825 * PropertyManager.cs: Implement property binding. This doesn't
8826 seem to work yet though as (I think) there are some bugs in
8827 System.ComponentModel.PropertyDescriptor.
8828 * BindingContext.cs: Use new PropertyManager constructor.
8830 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8832 * ProgressBar.cs: use clip region in ProgressBar
8833 * ThemeWin32Classic.cs: use clip region in ProgressBar
8835 2004-02-22 Jackson Harper <jackson@ximian.com>
8837 * BindingsCollection.cs: Remove some debug code.
8839 2005-02-22 Jackson Harper <jackson@ximian.com>
8841 * BindingContext.cs:
8842 * ControlBindingsCollection.cs:
8843 * CurrencyManager.cs:
8845 * BindingManagerBase.cs: Initial implementation
8846 * BindingsCollection.cs: Add an internal contains method that the
8847 BindingManagerBase uses to ensure bindings aren't added twice to
8849 * PropertyManager.cs: Stubbed out.
8851 * ContainerControl.cs: Hook up databinding
8853 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8856 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8857 Fixed Invalidate/Update chain.
8858 Fixed tons of other minor bugs (this is almost a complete rewrite).
8860 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8862 * ComboBox.cs: do subcontrol creation when the control is created
8864 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8866 * Label.cs: fixes image drawing (image and imagelist)
8867 * ThemeWin32Classic.cs: cache brushes
8869 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8871 * Form.cs: Move menu drawing code to Theme class
8872 * ComboBox.cs: Move ComboBox drawing code to Theme class
8873 * MenuItem.cs: Move menu drawing code to Theme class
8874 * MenuAPI.cs: Move menu drawing code to Theme class
8875 * ThemeWin32Classic.cs: New methods
8876 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8877 * ListBox.cs: Move Listbox drawing code to Theme class
8878 * Theme.cs: New methods
8880 2005-02-20 Peter Bartok <pbartok@novell.com>
8883 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8884 only process mnemonics on those)
8885 - Fixed event sequence for key handling; first calling
8886 ProcessKeyEventArgs now
8888 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8889 for processing non-character keys
8890 - Fixed WM_CHAR to generate proper event sequence before processing
8891 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8894 2005-02-19 Peter Bartok <pbartok@novell.com>
8896 * UserControl.cs: Added TextChanged event; added attributes
8897 * SizeGrip.cs: Implemented resizing and optional display of grip
8898 * Form.cs: Fixed attribute
8899 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8900 Changed meaning of ScrollWindow bool argument; instead of the
8901 clear attribute (which will be true usually anyway), it gives the
8902 option of moving child controls as well.
8904 - Changed to match new ScrollWindow argument
8905 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8906 now handles the implicit parent window a WM puts around us
8907 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8909 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8910 * TreeView.cs: Adjusted to new ScrollWindow arguments
8912 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8914 * Form.cs: Menu integration with non-client area
8915 * MenuItem.cs: Menu integration with non-client area
8916 * MenuAPI.cs: Menu integration with non-client area
8918 2005-02-18 Peter Bartok <pbartok@novell.com>
8920 * MethodInvoker.cs: Added
8921 * MdiLayout.cs: Added
8922 * SendKeys.cs: Started implementation
8923 * ErrorIconAlignment.cs: Added
8925 2005-02-18 Peter Bartok <pbartok@novell.com>
8927 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8928 * Form.cs: Added handling for Menu-related Non-client messages
8930 2005-02-17 Peter Bartok <pbartok@novell.com>
8932 * UpDownBase.cs: Fixed typo, compilation errors
8933 * DomainUpDown.cs: Fixed attribute value
8935 2005-02-16 Miguel de Icaza <miguel@novell.com>
8937 * UpDownBase.cs: Attach entry events.
8939 Add ForeColor property, Focused, InterceptArrowKeys (interception
8942 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8945 - Redraw non client are on Setmenu
8946 - Calc proper menu starting point
8948 2005-02-17 Peter Bartok <pbartok@novell.com>
8950 * Application.cs: Fixed message_filter check
8952 2005-02-17 Peter Bartok <pbartok@novell.com>
8954 * Application.cs: Now calls registered message filters
8955 * DockStyle.cs: Fixed attribute
8956 * Form.cs: Fixed attribute
8957 * Menu.cs: Fixed attribute
8958 * ToolTip.cs: Fixed attribute
8959 * TreeNode.cs: Added missing attributes and arranged in regions
8960 * PropertyGrid.cs: Fixed signatures
8961 * TreeNodeCollection.cs: Added attributes
8962 * Splitter.cs: Added missing attributes; arranged into regions
8963 * TabPage.cs: Added missing attributes; arranged into regions
8964 * TextBoxBase.cs: Added missing attributes
8965 * TextBox.cs: Added missing attributes
8966 * ArrangeDirection.cs: Added missing attributes
8967 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8968 * ToolBarButton.cs: Fixed attributes
8969 * AnchorStyles.cs: Fixed attribute
8970 * TrackBar.cs: Fixed attributes
8971 * TabControl.cs: Added missing attributes and arranged into regions
8972 * ToolBar.cs: Fixed attribute
8973 * StatusBar.cs: Fixed signature, organized into regions and added
8975 * StatusBarPanel.cs: Fixed attributes
8976 * ContentsResizedEventArgs.cs: Implemented
8977 * ContentsResizedEventHandler.cs: Implemented
8978 * DateBoldEventArgs.cs: Implemented
8979 * DateBoldEventHandler.cs: Implemented
8980 * UpDownEventArgs.cs: Implemented
8981 * UpDownEventHandler.cs: Implemented
8983 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8985 * Form.cs: first Menu NC refactoring
8986 * MenuAPI.cs: first Menu NC refactoring
8988 2005-02-16 Peter Bartok <pbartok@novell.com>
8990 * ImeMode.cs: Added missing attributes
8991 * Menu.cs: Fixed attribute
8992 * GroupBox.cs: Fixed attribute
8993 * Label.cs: Fixed attribute
8994 * ColorDialog.cs (RunDialog): Removed TODO attribute
8995 * ComboBox.cs: Fixed attributes
8996 * ListControl.cs: Added missing attributes
8997 * PropertyGrid.cs: Fixed attributes
8998 * Control.cs: Fixed attributes
8999 * ListViewItem.cs: Added TypeConverter attribute
9000 * NotifyIcon.cs: Fixed attributes
9001 * ListView.cs: Fixed attributes
9002 * ButtonBase.cs: Fixed attribute
9003 * ImageList.cs: Added missing attributes
9004 * ContainerControl.cs: Fixed signature
9005 * CheckedListBox.cs: Fixed attribute; added missing attributes
9006 * Panel.cs: Fixed attributes
9007 * PropertyTabChangedEventArgs.cs: Added missing attribute
9008 * PropertyValueChangedEventArgs.cs: Added missing attribute
9009 * Binding.cs: Fixed attribute
9010 * ListViewItemConverter: Implemented ListViewSubItemConverter class
9011 * ListBox.cs: Fixed attribute; added missing attributes;
9012 * ScrollableControl.cs: Added missing attributes
9013 * PictureBox.cs: Added missing attributes; implemented missing property
9014 * DateTimePicker.cs: Added missing attributes
9015 * Theme.cs (ToolWindowCaptionHeight): Fixed type
9016 * MonthCalendar.cs: Fixed attributes
9017 * StatusBarPanel.cs: Added missing attributes
9018 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
9020 2005-02-16 Peter Bartok <pbartok@novell.com>
9022 * TextBoxBase.cs: The previous method to enforce height yet remember
9023 the requested high was less than ideal, this is an attempt to do
9025 * Control.cs: Added comment about possible problem
9026 * Copyright: Updated format
9027 * GridItemType.cs: Fixed swapped values
9029 2005-02-15 Jackson Harper <jackson@ximian.com>
9031 * BaseCollection.cs: Use property so we never access an
9032 uninitialized list. Also initialize the list in the property.
9034 2005-02-15 Peter Bartok <pbartok@novell.com>
9036 * GroupBox.cs (ProcessMnemonic): Implemented
9037 * Label.cs (ProcessMnemonic): Implemented
9038 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
9041 2005-02-15 Peter Bartok <pbartok@novell.com>
9043 * RadioButton.cs (ProcessMnemonic): Implemented
9044 * CheckBox.cs (ProcessMnemonic): Implemented
9046 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
9048 - Added internal method to allow calling ProcessMnemonic from other
9050 * ContainerControl.cs:
9051 - Started support for handling validation chain handling
9052 - Implemented ProcessMnemonic support
9053 - Added Select() call to Active, to make sure the active control
9055 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9057 * ThemeWin32Classic.cs:
9058 - DrawCheckBox(): Fixed stringformat to show hotkeys
9059 - DrawRadioButton(): Fixed stringformat to show hotkeys
9060 * CommonDialog.cs: Removed WndProc override, not needed
9062 2005-02-14 Peter Bartok <pbartok@novell.com>
9064 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9065 missed those in the rewrite
9067 2005-02-14 Miguel de Icaza <miguel@novell.com>
9069 * NumericUpDown.cs (Increment, ToString): Add.
9070 (DecimalPlaces): implement.
9074 * UpDownBase.cs: Add the designer attributes.
9076 2005-02-13 Peter Bartok <pbartok@novell.com>
9078 * Panel.cs: Removed border_style, now in Control
9079 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9080 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9082 2005-02-13 Peter Bartok <pbartok@novell.com>
9084 * MouseButtons.cs: Added missing attributes
9085 * XplatUIStructs.cs: Added enumeration for title styles
9086 * LeftRightAlignment.cs: Added missing attributes
9087 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9088 it compatible with Graphics.FromHwnd()
9089 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9090 * Keys.cs: Added missing attributes
9091 * SelectionRange.cs: Added missing attributes
9092 * SelectionRangeConverter.cs: Added
9094 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9095 ReleaseMenuDC methods
9096 - Renamed ReleaseWindow to UngrabWindow
9097 - Added proper startup notice to allow version identification
9099 - Added missing attributes
9100 - Removed FormParent concept
9101 * Label.cs: Removed border_style field, now in Control
9102 * RadioButton.cs: Now properly selects RadioButton when focus is
9104 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9106 - Added missing attributes
9107 - Added borderstyle handling
9108 - Removed FormParent concept support
9109 - Fixed calls to XplatUI to match changed APIs
9110 - Fixed bug that would case us to use disposed Graphics objects
9111 - Removed unneeded internal methods
9112 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9113 - SelectNextControl(): Fixed to properly check common parents
9114 * TextBoxBase.cs: Removed border_style field (now in Control)
9116 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9117 fixed calculations for form size
9118 - Added support for localized strings and icons
9119 - Improved form size calculations, added border
9120 * ListView.cs: Removed border_style field (now in Control)
9121 * X11Structs.cs: Moved several structs from X11 driver here
9122 * X11Keyboard.cs: Changed debug message
9123 * Application.cs: Removed FormParent concept support
9125 - Resetting end_modal flag
9126 - Removed FormParent concept support
9127 * NativeWindow.cs: Removed FormParent concept support
9128 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9129 Client area and Non-Client whole window to allow support for WM_NC
9131 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9132 prevent using it until it supports Hwnd as per Geoff Norton's request
9133 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9134 * PictureBox.cs: Removed border_style field, now in Control
9135 * XplatUIWin32.cs: Added new driver methods
9137 2005-02-12 Peter Bartok <pbartok@novell.com>
9139 * OpacityConverter.cs: Implemented
9140 * Hwnd.cs: Internal class to support drivers that need to emulate
9141 client area/non-client area window behaviour
9143 2005-02-11 Peter Bartok <pbartok@novell.com>
9145 * KeysConverter.cs: Implemented
9147 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9149 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9150 * LinkLabel: Added missing attributes
9151 * MainMenu.cs: fixes ToString
9152 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9153 * ListBox.cs: fixes event position
9154 * TrackBar.cs: adds missing attributes and events
9156 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9158 * MenuItem.cs: Use SystemInformation and bug fixes
9159 * MenuAPI.cs: Use SystemInformation and bug fixes
9161 2005-02-09 Jackson Harper <jackson@ximian.com>
9163 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9164 their keystate otherwise things like VK_MENU get stuck "on".
9166 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9168 * ListBox.cs: Fixes AddRange bug
9170 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9173 - Add missing attributes
9174 - Add missing method
9176 * CheckedListBox.cs: Added missing attributes
9177 - Add missing attributes
9178 - Remove extra method
9180 * ComboBox.cs: Added missing attributes
9181 * VScrollBar.cs: Added missing attributes
9182 * ScrollBar.cs: Added missing attributes
9183 * ListBox.cs: Fixes signature, add missing consts
9184 * LinkArea.cs: Added missing attributes
9187 2005-02-08 Peter Bartok <pbartok@novell.com>
9189 * Menu.cs: Added missing attributes
9190 * MainMenu.cs: Added missing attributes
9191 * GroupBox.cs: Added missing attributes
9192 * Label.cs: Added missing attributes
9193 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9195 - Added Instance and Options properties
9196 - Added missing attributes
9197 * Cursor.cs: Made Serializable
9198 * NotifyIcon: Added missing attributes
9199 * MenuItem.cs: Added missing attributes
9200 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9201 * Panel.cs: Added Missing attributes
9202 * MonthCalendar.cs: Fixed CreateParams
9204 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9208 - Fixes issues with links
9209 - Adds the class attributes
9211 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9214 - Fixes button when no items available in dropdown
9215 - Fixes repainting problems
9216 - Adds the class attributes
9218 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9220 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9221 the current theme. Cache these on startup.
9223 2005-02-07 Jackson Harper <jackson@ximian.com>
9225 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9226 the scrollbar buttons when they are depressed.
9228 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9230 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9231 Get the display size from the main displayid. We currently dont
9232 support multiple display configurations.
9234 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9236 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9238 2005-02-07 Miguel de Icaza <miguel@novell.com>
9240 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9242 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9244 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9246 2005-02-04 Jackson Harper <jackson@ximian.com>
9248 * ThemeWin32Classic.cs: Respect the clipping rect when
9249 drawing. Only fill the intersection of clips and rects so there
9250 isn't a lot of large fills.
9251 * ScrollBar.cs: Pass the correct clipping rect to the theme
9252 engine. Remove some debug code.
9254 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9256 * DateTimePicker.cs:
9257 - Fixed crash on DateTime.Parse, use Constructor instead
9259 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9263 - Owner draw support (MeasureItem and DrawItem)
9265 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9268 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9269 - Fixes MenuItems.Add range
9271 - MergeMenu and Clone and CloneMenu functions
9273 2005-02-03 Jackson Harper <jackson@ximian.com>
9275 * ScrollBar.cs: Make abstract
9276 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9279 2005-02-03 Jackson Harper <jackson@ximian.com>
9281 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9282 all the unneeded refreshes and uses invalidates with properly
9285 2005-02-03 Peter Bartok <pbartok@novell.com>
9287 * ComponentModel.cs: Added
9288 * IDataGridEditingService.cs: Added
9289 * Timer.cs: Added missing attributes
9290 * ToolTip.cs: Added missing attributes
9292 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9294 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9296 2005-02-03 Peter Bartok <pbartok@novell.com>
9298 * ListBox.cs: Added missing attributes
9300 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9303 - Fixes font height after font change
9304 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9306 2005-02-02 Peter Bartok <pbartok@novell.com>
9308 * HandleData.cs: Introduced static methods to allow class
9309 to be more self-contained and track it's own HandleData objects
9310 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9311 HandleData to use new static methods
9313 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9316 - Fixes default size and PreferredHeight
9318 - ObjectCollection.Insert implementation
9324 - ObjectCollection.Insert implementation
9325 - No selection after clean
9328 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9330 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9332 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9335 - Caches ItemHeight calculation for OwnerDrawVariable
9336 - Handles dropdown properly
9337 - Fixes several minor bugs
9339 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9342 - Fixes 71946 and 71950
9343 - Fixes changing Multicolumn on the fly
9344 - Fixes keyboard navigation on Multicolumn listboxes
9346 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9348 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9351 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9353 * XplatUIOSX.cs: Allow applications to actually exit.
9355 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9357 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9358 their parent at creation time rather than lazily later. Fixes a major
9359 regression we were experiencing.
9361 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9363 * ThemeWin32Classic.cs: more date time picker painting fixes
9364 * DateTimePicker.cs: more monthcalendar drop down fixes
9365 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9367 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9370 - When moving the thumb going outside the control should stop the moving
9371 - Adds the firing of missing events
9372 - Fixes no button show if Size is not specified
9373 - End / Home keys for keyboard navigation
9375 2005-01-30 Peter Bartok <pbartok@novell.com>
9377 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9378 sanity check to prevent theoretical loop
9379 * XplatUIWin32.cs (SetVisible): Removed debug output
9380 * XplatUIX11.cs (SystrayChange): Added sanity check
9381 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9382 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9383 behaviour, valid until the X11 client window rewrite is done
9384 * TextBox.cs (ctor): Setting proper default foreground and background
9387 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9389 * Theme: Added DrawDateTimePicker to interface
9390 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9391 * DateTimePicker.cs: Created (still needs keys and painting code)
9392 * DateTimePickerFormat.cs: added
9393 * MonthCalendar.cs: fixed CreateParams for popup window mode
9395 2005-01-29 Peter Bartok <pbartok@novell.com>
9397 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9398 this should also the calculations for ligher/darker
9399 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9401 2005-01-29 Peter Bartok <pbartok@novell.com>
9403 * ArrangeDirection.cs: Added
9404 * ArrangeStartingPositon.cs: Added
9405 * SystemInformation.cs: Implemented
9406 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9407 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9408 used by SystemInformation class
9409 * X11Strucs.cs: Added XSizeHints structure
9411 - Fixed CreateParams to make sure the menu window is always visible
9412 - TrackPopupMenu: Added check to make sure we don't draw the
9415 2005-01-29 Peter Bartok <pbartok@novell.com>
9417 * HandleData.cs: Added method for altering invalid area
9418 * TextBoxBase.cs: Implemented TextLength
9420 2005-01-28 Peter Bartok <pbartok@novell.com>
9422 * XplatUIX11.cs: Improvement over last patch, not sending
9423 the WM_PAINT directly anymore, instead we scroll any pending
9424 exposed areas and let the system pick out the WM_PAINT later
9426 2005-01-28 Peter Bartok <pbartok@novell.com>
9428 * SWF.csproj: Deleted, no longer used. Instead,
9429 Managed.Windows.Forms/SWF.csproj should be used
9430 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9431 directly, to avoid a potential race condition with the next
9434 2005-01-28 Peter Bartok <pbartok@novell.com>
9436 * XplatUI.cs: Made class internal
9438 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9440 * CheckedListBox.cs:
9443 - Missing methods and events
9445 2005-01-27 Peter Bartok <pbartok@novell.com>
9447 * Application.cs (Run): Don't use form if we don't have one
9449 2005-01-27 Peter Bartok <pbartok@novell.com>
9451 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9453 2005-01-27 Peter Bartok <pbartok@novell.com>
9455 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9456 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9457 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9458 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9459 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9460 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9461 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9462 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9463 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9464 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9465 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9466 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9468 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9471 - Draw focus on Simple Combobox
9472 - Fixes drawing issues
9475 2005-01-27 Peter Bartok <pbartok@novell.com>
9478 - Place window in default location, instead of hardcoded 0/0
9479 - Send initial LocationChanged event
9481 - UpdateBounds after creation to find out where the WM placed us
9482 - Make sure that if the ParentForm changes location the Form
9484 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9485 to the root, but to whatever the WM placed around us.
9486 Translate to root coordinates before returning toplevel
9488 * XplatUIWin32.cs: Removed debug output
9489 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9490 flag to GetWindowPos, to allow translation of coordinates on X11
9492 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9494 * ListBox.cs: connect LostFocus Event
9496 2005-01-27 Peter Bartok <pbartok@novell.com>
9498 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9499 XplatUIX11.cs: Extended the Systray API
9500 * Form.cs: Removed debug output
9501 * Application.cs: Fixed focus assignment, always need to call
9502 XplatUI.Activate() since Form.Activate() has rules that may
9504 * NotifyIcon.cs: Should be complete now
9505 * ToolTip.cs: Worked around possible timer bug
9507 2005-01-27 Jackson Harper <jackson@ximian.com>
9510 - Only invalidate the effected tabs when the
9511 selected index changes. This reduces drawing and gets rid of some
9513 - Only refresh if the tabs need to be shifted, otherwise only
9514 invalidate the slider button.
9515 - On windows the tabs are not filled to right if the slider is
9518 2005-01-27 Jackson Harper <jackson@ximian.com>
9520 * TabControl.cs: Only refresh on mouseup if we are showing the
9521 slider. Also only invalidate the button whose state has changed.
9523 2005-01-26 Peter Bartok <pbartok@novell.com>
9525 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9526 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9527 and SystrayRemove() methods
9528 * XplatUIOSX.cs: Stubbed Systray methods
9530 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9532 - Fixed broken XChangeProperty calls (marshalling messed up things)
9533 * X11Structs.cs: Added enums and structs required for Size hinting
9534 * NotifyIcon.cs: Added & implemented
9536 2005-01-26 Jackson Harper <jackson@ximian.com>
9538 * TabControl.cs: Space vertically layed out tabs properly.
9540 2005-01-26 Peter Bartok <pbartok@novell.com>
9542 * Form.cs (CreateClientParams): Always set the location to 0,0
9543 since we're a child window.
9545 * Control.cs (SetVisibleCore): Always explicitly setting the location
9546 of a toplevel window, apparently X11 doesn't like to move windows
9547 while they're not mapped.
9549 2005-01-26 Jackson Harper <jackson@ximian.com>
9551 * TabControl.cs: Implement FillToRight size mode with vertically
9554 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9556 * ControlPaint.cs, ThemeWin32Classic.cs
9557 - Fixes DrawFocusRectangle
9559 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9562 - MenuBar tracking only starts when item is first clicked
9563 - Fixes menu hidding for multiple subitems
9564 - Unselect item in MenuBar when item Executed
9567 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9570 - IsInputKey for ListBox
9573 - Shift and Control item selection
9574 - Implement SelectionMode.MultiExtended
9577 - IsInputKey implemented
9578 - Do not generate OnTextChangedEdit on internal txt changes
9580 2005-01-23 Peter Bartok <pbartok@novell.com>
9582 * AccessibleObject.cs: Partially implemented Select()
9583 * MonthCalendar.cs: Added missing attributes and events
9584 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9585 form can properly override CreateParams.
9586 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9587 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9588 Control performs Invalidate & Update
9589 * NativeWindow (CreateHandle): Added special handling for Form
9590 and Form.FormParent classes to allow overriding of From.CreateParams
9592 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9594 - ControlNativeWindow: Added Owner property
9595 - Removed usage of Refresh() on property changes, changed into
9596 Invalidate(), we need to wait until the queue is processed for
9597 updates, direct calls might cause problems if not all vars for
9598 Paint are initialized
9599 - Added call to UpdateStyles() when creating the window, to set any
9600 styles that CreateWindow might have ignored.
9601 - Added support for Form CreateParent overrides to UpdateStyles()
9602 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9603 CreateParams are now properly overridable
9604 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9605 CreateParams are now properly overridable
9607 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9609 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9612 Capture LostFocus and OnTextBoxChanged. The later introduces a
9613 recursive invocation that I have not figured out yet.
9615 Reset the timer when not using (it was accumulating).
9618 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9619 user has made changes that require validation.
9621 Reset changing to avoid loops.
9623 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9625 * NumericUpDown.cs: Display value at startup.
9627 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9630 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9631 filled in. Added some basic parsing of text.
9633 Still missing the OnXXX method overrides, and figuring out the
9634 events that must be emitted.
9636 * UpDownBase.cs: Handle UserEdit on the Text property.
9638 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9641 - Fixes IntegralHeight
9644 2005-01-21 Jackson Harper <jackson@ximian.com>
9646 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9647 is set so that the page visibility is updated and the tabs are
9650 2005-01-21 Jackson Harper <jackson@ximian.com>
9652 * TabControl.cs: Use cliping rectangle for blitting. Give the
9653 theme the clipping rect so we can do clipping while
9654 drawing. Remove some debug code.
9656 2005-01-21 Jackson Harper <jackson@ximian.com>
9658 * TabPage.cs: Add a new method so tab pages can force the tab
9659 control to recalculate the tab page sizes.
9660 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9663 2005-01-20 Jackson Harper <jackson@ximian.com>
9665 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9667 2005-01-20 Jackson Harper <jackson@ximian.com>
9669 * TreeView.cs: Set the bounds for nodes properly. They were
9670 getting screwed up when checkboxes were not enabled, but images
9673 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9676 - Owner draw support
9679 2005-01-20 Jackson Harper <jackson@ximian.com>
9681 * XplatUIStructs.cs: More misc keys
9682 * X11Keyboard.cs: Ignore some control keys.
9684 2005-01-20 Jackson Harper <jackson@ximian.com>
9686 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9687 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9689 2005-01-19 Peter Bartok <pbartok@novell.com>
9691 * Control.cs: Un-selecting the control when it is loosing focus
9693 2005-01-19 Jackson Harper <jackson@ximian.com>
9695 * TreeView.cs: Hook up to the text controls leave event so we can
9696 end editing when the users clicks outside the text box.
9698 2005-01-19 Jackson Harper <jackson@ximian.com>
9700 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9701 get set in the conversion array.
9703 2005-01-19 Peter Bartok <pbartok@novell.com>
9705 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9706 focus is properly set
9708 - Added missing attributes
9709 - removed styles, those are already set in the base class
9711 - Added missing attributes
9712 - Added clip window styles
9713 * CheckBox.cs: Added missing attributes
9715 - FormParentWindow.CreateParams: Added required clip styles
9716 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9717 also filters modifier keys
9719 - Added assignment of Accept and Cancel button to enable Enter
9720 and Esc keys in MessageBox dialogs
9721 - FormParentWindow.CreateParams: Added required clip styles
9722 * RadioButton.cs: Added missing attributes
9723 * TextControl.cs: No longer draws selection if control does not
9726 - Now draws simple rectangle around test area to make it obvious
9727 there's a control. This is a hack until we properly support borders
9728 - A few simple fixes to support selections better, now erases selected
9729 text when typing, and resets selection when using movement keys
9731 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9733 * UpDownBase.cs: Added some new properties.
9735 * DomainUpDown.cs: Implement a lot to get my test working.
9737 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9739 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9741 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9743 * OSXStructs (WindowAttributes): Fixed csc complaints
9745 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9748 OSXStructs.cs: Initial refactor to move enums and consts into
9749 OSXStructs and use them in the driver for greater readability.
9751 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9753 * XplatUIOSX.cs: Initial support for Standard Cursors.
9754 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9756 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9758 * ComboBox.cs: ability to change style when the ctrl is already
9759 created, missing methods and events, bug fixes, signature fixes
9761 2005-01-19 Peter Bartok <pbartok@novell.com>
9763 * Cursors.cs (ctor): Added ctor to fix signature
9765 2005-01-18 Peter Bartok <pbartok@novell.com>
9767 * Button.cs: Implemented DoubleClick event
9769 - Fixed keyboard handling to behave like MS, where the press of
9770 Spacebar is equivalent to a mousedown, and the key release is
9771 equivalent to mouseup. Now a spacebar push will give the same
9772 visual feedback like a mouse click.
9773 - Added missing attributes
9774 - Added ImeModeChanged event
9775 - Added support for generating DoubleClick event for derived classes
9777 - Implemented DoubleClick event
9778 - Added missing attributes
9779 * CommonDialog.cs: Added missing attribute
9780 * ContextMenu.cs: Added missing attributes
9782 - AutoChecked buttons do not allow to be unselected when clicked
9783 (otherwise we might end up with no selected buttons in a group)
9784 - Added missing attributes
9785 - Implemented DoubleClickEvent
9786 * ThreadExceptionDialog.cs: Enabled TextBox code
9788 2005-01-18 Peter Bartok <pbartok@novell.com>
9790 * Form.cs: Removed debug output
9791 * Button.cs: Added support for DoubleClick method
9793 2005-01-18 Peter Bartok <pbartok@novell.com>
9796 - Added method to parent window that allows triggering size
9797 calculations when a menu is added/removed
9798 - set_Menu: Cleaned up mess from early days of Form and Control,
9799 now properly triggers a recalc when a menu is added/removed
9800 - Added case to select form itself as focused form if no child
9802 - Added PerformLayout call when showing dialog, to ensure properly
9805 - Select(): Made internal so Form can access it
9806 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9808 * Application.cs (Run): Removed hack and calls PerformLayout instead
9809 to trigger calculation when Form becomes visible
9811 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9813 * ComboBox.cs: fixes for ownerdraw
9815 2005-01-18 Peter Bartok <pbartok@novell.com>
9818 - Sentinel is no longer static, each Document gets it's own, this
9819 avoids locking or alternatively overwrite problems when more
9820 than one text control is used simultaneously.
9821 - Switched to use Hilight and HilightText brushes for text selection
9823 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9825 2005-01-18 Peter Bartok <pbartok@novell.com>
9828 - Hooked up the following events:
9836 o SystemColorsChanged
9839 - Removed debug output
9840 - Added a call to the current theme's ResetDefaults when a color change
9842 * Form.cs: Now setting the proper ImeMode
9843 * Theme.cs: Defined a method to force recreation of cached resources
9844 and rereading of system defaults (ResetDefaults())
9845 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9847 2005-01-17 Peter Bartok <pbartok@novell.com>
9849 * Control.cs: Added missing attributes
9851 2005-01-17 Jackson Harper <jackson@ximian.com>
9853 * TreeNode.cs: Implement editing. Add missing properties selected
9855 * TreeView.cs: Implement node editing. Also some fixes to use
9856 Invalidate (invalid area) instead of Refresh when selecting.
9858 2005-01-17 Peter Bartok <pbartok@novell.com>
9861 - Implemented InvokeGotFocus() method
9862 - Implemented InvokeLostFocus() method
9863 - Implemented InvokePaint() method
9864 - Implemented InvokePaintBackground() method
9865 - Implemented InvokeClick() method
9866 - Implemented FindForm() method
9867 - Implemented RectangleToClient() method
9868 - Implemented ClientToRectangle() method
9869 - Implemented ResetBackColor() method
9870 - Implemented ResetCursor() method
9871 - Implemented ResetFont() method
9872 - Implemented ResteForeColor() method
9873 - Implemented ResetImeMode() method
9874 - Implemented ResetLeftToRight() method
9875 - Implemented ResetText() method
9876 - Implemented Scale() methods
9877 - Implemented ScaleCore() method
9878 - Implemented Update() method
9879 - Removed unused variables
9880 - Stubbed AccessibilityNotifyClients and
9881 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9883 - Now setting proper default for RightToLeft property
9884 - Fixed bug in SetClientSizeCore that would cause windows to get
9886 - Now sending Click/DoubleClick events
9887 - Now selecting controls when left mouse button is clicked on
9889 * AccessibleEvents.cs: Added
9890 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9891 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9892 * XplatUIWin32.cs: Implemented UpdateWindow() method
9893 * XplatUIX11.cs: Implemented UpdateWindow() method
9894 * Form.cs: Removed stray semicolon causing CS0162 warning
9895 * ThemeWin32Classic.cs: Fixed unused variable warnings
9896 * ScrollableControl.cs: Now calls base method for ScaleCore
9897 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9898 style to avoid interference with internal click handler (which is
9899 different than standard Control click handling)
9901 - Now unchecks all sibling radio buttons when control is
9902 selected (Fixes #68756)
9903 - Removed internal tabstop variable, using the one inherited from
9906 2005-01-17 Jackson Harper <jackson@ximian.com>
9908 * NavigateEventArgs.cs: Fix base type.
9909 * LinkLabel.cs: Sig fix
9911 2005-01-17 Jackson Harper <jackson@ximian.com>
9913 * TreeView.cs: Only invalidate the effected nodes bounds when
9916 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9918 * XplatUIWin32.cs: fixes Win32 marshaling
9919 * XplatUIX11.cs: fixes method signature
9921 2005-01-17 Peter Bartok <pbartok@novell.com>
9923 * XplatUIX11.cs: Clean up resources when we no longer need them
9925 2005-01-17 Peter Bartok <pbartok@novell.com>
9927 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9928 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9929 and DestroyCursor() methods.
9930 * Cursor.cs: Partially implemented, now supports standard cursors;
9931 still contains some debug code
9932 * Cursors.cs: Implemented class
9934 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9936 - Implemented Cursor property
9937 - Replaced break; with return; more straightforwar and possibly
9939 - Now properly setting the result for WM_HELP
9940 * X11Structs.cs: Added CursorFontShape enum
9941 * XplatUIStructs.cs:
9942 - Added StdCursor enum (to support DefineStdCursor() method)
9943 - Added HitTest enum (to support sending WM_SETCURSOR message)
9945 - Now sends the WM_SETCURSOR message
9946 - Implemented new cursor methods
9947 * XplatUIOSX.cs: Stubbed new cursor methods
9949 - Implemented new cursor methods
9950 - Added GetSystemMetrics function and associated enumeration
9952 2005-01-15 Peter Bartok <pbartok@novell.com>
9955 - WndProc(): Now handles EnableNotifyMessage
9956 - SelectNextControl(): Fixed bug where if no child or sibling
9957 controls exist we looped endlessly
9959 2005-01-14 Jackson Harper <jackson@ximian.com>
9961 * TreeView.cs: Recalculate the tab pages when a new one is added
9962 so that the proper bounding rects are created.
9964 2005-01-14 Jackson Harper <jackson@ximian.com>
9966 * TreeView.cs: Draw a gray box instead of a grip in the lower
9967 right hand corner when there are both horizontal and vertical
9970 2005-01-14 Jackson Harper <jackson@ximian.com>
9972 * Control.cs: When erasing backgrounds use FromHwnd instead of
9973 FromHdc when there is a NULL wparam. This occurs on the X driver.
9974 * XplatUIX11.cs: Set the wparam to NULL.
9976 2005-01-13 Jackson Harper <jackson@ximian.com>
9978 * PictureBox.cs: Implement missing methods (except ToString, need
9979 to test that on windows) and events. When visibility is changed we
9980 need to redraw the image because the buffers are killed. When size
9981 is changed refresh if the sizemode needs it.
9983 2005-01-13 Peter Bartok <pbartok@novell.com>
9985 * Control.cs (SelectNextControl): Was using wrong method to select
9988 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9990 * ComboBox.cs: fixes dropstyle
9992 2005-01-13 Peter Bartok <pbartok@novell.com>
9995 - Implemented Select() override
9996 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9997 - Now sets keyboard focus on startup
9998 * Control.cs (SelectNextControl): Now properly handles directed=true
10000 - WndProc: Now passes tab key on to base if AcceptTabChar=false
10001 - Added (really bad) focus rectangle (mostly for testing)
10002 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
10003 to enforce redraw on focus changes
10004 * ContainerControl.cs:
10005 - Fixed detection of Shift-Tab key presses
10006 - Fixed traversal with arrow keys
10007 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
10008 gonna keep this or if it's complete yet
10010 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
10012 * ComboBox.cs: missing properties, fixes
10014 2005-01-13 Peter Bartok <pbartok@novell.com>
10016 * Panel.cs (ctor): Setting Selectable window style to off
10017 * Splitter.cs (ctor): Setting Selectable window style to off
10018 * GroupBox.cs (ctor): Setting Selectable window style to off
10019 * Label.cs (ctor): Setting Selectable window style to off
10021 2005-01-12 Miguel de Icaza <miguel@ximian.com>
10023 * UpDownBase.cs (InitTimer): If the timer has been already
10024 created, enable it.
10026 Use a TextBox instead of a Label.
10028 2005-01-12 Jackson Harper <jackson@ximian.com>
10030 * TreeView.cs: Refresh the tree after sorting the nodes. Always
10031 draw the connecting node lines (when ShowLines is true).
10032 * TreeNode.cs: The nodes index can now be updated. This is used
10033 when a node collection is sorted.
10034 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
10035 insert or an existing unsorted node collection can be sorted.
10037 2005-01-12 Peter Bartok <pbartok@novell.com>
10039 * ContainerControl.cs: Implemented ProcessDialogKeys()
10041 2005-01-12 Peter Bartok <pbartok@novell.com>
10044 - Implemented SelectNextControl() method
10045 - Several focus related bug fixes
10046 - Fixed Docking calculations to match MS documentation and
10049 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
10051 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10054 2005-01-12 Peter Bartok <pbartok@novell.com>
10057 - Fixed broken Contains() method
10058 - Implemented GetNextControl() method. Finally. This is the pre-
10059 requisite for focus handling.
10061 2005-01-12 Peter Bartok <pbartok@novell.com>
10063 * OSXStrucs.cs: Added
10065 2005-01-12 Peter Bartok <pbartok@novell.com>
10068 - Removed PeekMessageFlags
10069 - Implemented SetWindowStyle() method
10070 * XplatUIStructs.cs: Added PeekMessageFlags
10071 * X11Structs: Added missing border_width field to XWindowChanges struct
10073 - PeekMessage: Now throws exception if flags which are not yet
10074 supported are passed
10075 - Implemented SetWindowStyle() method
10076 - Fixed SetZOrder to handle AfterHwnd properly
10077 * XplatUI.cs: Added SetWindowStyle() method
10078 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10080 - Implemented UpdateStyles() method
10081 - Implemented UpdateZOrder() method
10082 * XplatUIOSX.cs: Added SetWindowStyle() stub
10084 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10086 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10090 2005-01-11 Jackson Harper <jackson@ximian.com>
10092 * TreeView.cs: Still need to draw lines to siblings even if out of
10093 the current node is out of the clip.
10095 2005-01-11 Jackson Harper <jackson@ximian.com>
10097 * TreeView.cs: When setting the hbar/vbar/grip position use
10098 SetBounds so that perform layout is only called once. Also suspend
10099 and resume layout so layout is only done once for all controls.
10100 - Removed some debug fluff
10101 * SizeGrip.cs: Call base implmentation in overriding methods.
10102 - When visibility is changed the drawing buffers are killed so we
10105 2005-01-11 Jackson Harper <jackson@ximian.com>
10107 * TreeView.cs: Calculate the open node count while drawing. This
10108 saves us an entire tree traversal for every paint operation. Use
10109 a member var for the open node count so less vars are passed around.
10111 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10113 * MonthCalendar.cs:
10114 - fixed selection to use mousemove, not mouse polling on timer
10115 * ThemeWin32Classic.cs
10116 - removed redundant unused variable "no_more_content"
10118 2005-01-11 Peter Bartok <pbartok@novell.com>
10120 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10121 are pending, so it now calls PeekMessage instead of GetMessage;
10122 implemented a incomplete version of PeekMessage
10124 2005-01-11 Peter Bartok <pbartok@novell.com>
10126 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10128 * TextBoxBase.cs: Added sending of TextChanged event
10130 2005-01-10 Jackson Harper <jackson@ximian.com>
10132 * TreeView.cs: Try not to draw outside the clipping rectangle on
10135 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10137 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10139 2005-01-10 Jackson Harper <jackson@ximian.com>
10142 - Implement fast scrolling. Now only the newly
10143 exposed nodes are drawn and the old image is moved using the
10144 XplatUI::ScrollWindow method.
10145 - Factor in height of nodes when calculating whether or not the
10146 node is in the clipping rect.
10148 2005-01-10 Jackson Harper <jackson@ximian.com>
10150 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10152 2005-01-10 Peter Bartok <pbartok@novell.com>
10154 * Application.cs: Added temporary hack to resolve all our resize
10155 required issues on startup. This will get fixed properly at
10156 some point in the future
10158 2005-01-10 Jackson Harper <jackson@ximian.com>
10160 * SizeGrip.cs: New internal class that is used as a sizing
10161 grip control...hence the name.
10163 2005-01-10 Peter Bartok <pbartok@novell.com>
10165 * Control.cs: Implemented proper TabIndex handling, now assigning
10166 a tabindex when a control is added to a container
10167 * GroupBox.cs (ctor): Now sets the Container style bit, required
10168 for Control.GetNextControl()
10170 2005-01-09 Jackson Harper <jackson@ximian.com>
10172 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10174 2005-01-09 Peter Bartok <pbartok@novell.com>
10176 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10177 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10178 an overload for ScrollWindow to allow only scrolling a rectangle
10180 2005-01-09 Peter Bartok <pbartok@novell.com>
10183 - Implemented SetDesktopBounds method
10184 - Implemented SetDesktopLocation method
10186 2005-01-08 Jackson Harper <jackson@ximian.com>
10188 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10189 the node count has changed, this removes to VScroll::Refresh calls
10192 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10194 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10196 2005-01-07 Jackson Harper <jackson@ximian.com>
10198 * TreeNode.cs: Just update the single node when it is
10199 checked. Don't refresh after toggling, the Expand/Collapse already
10201 * TreeView.cs: Respect clipping a little more when drawing. Try
10202 not to redraw things that don't need to be redrawn. Just hide the
10203 scrollbars when they are no longer needed instead of removing
10204 them, so they don't have to be created again and again.
10206 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10208 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10209 coordinates to window space to place the caret properly, FIXED.
10210 Implement GetWindowState & SetWindowState
10212 2005-01-06 Peter Bartok <pbartok@novell.com>
10215 - Implemented ClientSize property
10216 - Implemented DesktopBounds property
10217 - Implemented DesktopLocation property
10218 - Implemented IsRestrictedWindow property
10219 - Implemented Size property
10220 - Implemented TopLevel property
10221 - Implemented FormWindowState property
10223 - Implemented GetTopLevel() method
10224 - Implemented SetTopLevel() method
10225 * X11Structs.cs (Atom):
10226 - Added AnyPropertyType definition
10227 - Added MapState definiton and updated XWindowAttribute struct
10228 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10229 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10230 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10232 - Implemented GetWindowState() and SetWindowState() methods
10233 - Fixed Win32GetWindowLong return type
10235 - Introduced central function for sending NET_WM messages
10236 - Implemented GetWindowState() and SetWindowState() methods
10237 * TextBoxBase.cs (set_Lines):
10238 - Now uses Foreground color for text added via Text property (Duh!)
10239 - Added code to remember programmatically requested size (fixes
10240 behaviour when Multiline is set after Size)
10241 - Added AutoSize logic
10243 2005-01-06 Jackson Harper <jackson@ximian.com>
10245 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10247 2005-01-06 Jackson Harper <jackson@ximian.com>
10249 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10250 set to less then 0.
10252 2005-01-06 Jackson Harper <jackson@ximian.com>
10254 * ScrollableControl.cs: Lazy init the scrollbars.
10256 2005-01-06 Jackson Harper <jackson@ximian.com>
10258 * Theme.cs: Speed up getting pens and solid brushes, by using
10259 their ARGB as a hash instead of tostring and not calling Contains.
10261 2005-01-06 Peter Bartok <pbartok@novell.com>
10264 - Implemented OnActivated and OnDeactivate event trigger
10265 - Implemented Activate() method
10266 - Fixed ShowDialog() to activate the form that was active before
10267 the dialog was shown
10269 - Added global active_window var that tracks the currently active
10271 - Now always grabs Property changes from the root window to always
10272 catch changes on the active window property
10273 - Added code to PropertyNotify handler to send Active/Inactive
10274 messages when state changes. This puts X11 and Win32 en par on
10275 WM_ACTIVATE notifications (except for double notifications when
10276 the user clicks away from our modal window to another one of our
10279 2005-01-05 Jackson Harper <jackson@ximian.com>
10281 * ImageList.cs: Implment ctor
10283 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10285 * XplatUIOSX.cs: Implement Activate/SetTopmost
10287 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10289 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10291 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10293 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10295 2005-01-05 Peter Bartok <pbartok@novell.com>
10297 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10298 XplatUIOSX.cs: Added GetActive method to return the currently
10299 active window for the application (or null, if none is active)
10301 - Implemented ActiveForm
10302 - Commented out owner assignment for modal dialogs (causes problems
10303 on Win32, since the owner will be disabled)
10304 - Reworked some Active/Focus handling (still incomplete)
10305 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10306 (causes problems on Win32, since the owner will be disabled)
10307 * IWin32Window: Added ComVisible attribute
10309 2005-01-05 Peter Bartok <pbartok@novell.com>
10311 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10312 required XplatUI functions.
10314 2005-01-05 Peter Bartok <pbartok@novell.com>
10316 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10317 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10318 to implement focus and activation handling; still incomplete and
10321 2005-01-04 Peter Bartok <pbartok@novell.com>
10323 * TextBoxBase.cs: Changed access level for Document property to
10324 match switch to internal for TextControl
10326 2005-01-04 Peter Bartok <pbartok@novell.com>
10328 * AccessibleObject: Added ComVisible attribute
10330 2005-01-04 Jackson Harper <jackson@ximian.com>
10332 * X11Keyboard.cs: Remove unneeded var.
10334 2005-01-04 Jackson Harper <jackson@ximian.com>
10336 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10338 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10339 ClientMessage. This makes apps exit cleanly (more often).
10341 2005-01-04 Jackson Harper <jackson@ximian.com>
10343 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10344 handling focus, return correct colors and fonts,
10345 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10346 handle selection, horizontal scrolling, and mouse interaction.
10348 2005-01-04 Peter Bartok <pbartok@novell.com>
10350 * ICommandExecutor.cs: Added
10351 * IDataGridColumnStyleEditingNotificationService.cs: Added
10352 * IFeatureSupport.cs: Added
10353 * IFileReaderService.cs: Added
10354 * IDataObject.cs: Added ComVisible attribute
10355 * AmbientProperties.cs: Added
10356 * BaseCollection.cs: Added missing attributes
10357 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10358 * BaseCollection.cs: Added missing attributes
10359 * Binding.cs: Added TypeConverter attribute
10360 * BindingContext.cs: Added DefaultEvent attribute
10361 * BindingsCollection.cs: Added DefaultEvent attribute
10362 * Button.cs: Added DefaultValue attribute
10363 * DragEventArgs.cs: Added ComVisible attribute
10364 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10365 * KeyEventArgs.cs: Added ComVisible attribute
10366 * KeyPressEventArgs.cs: Added ComVisible attribute
10367 * MouseEventArgs.cs: Added ComVisible attribute
10368 * NavigateEventArgs.cs: Added
10369 * NavigateEventHandler.cs: Added
10370 * FeatureSupport.cs: Added
10371 * OSFeature.cs: Added
10372 * Theme.cs: Added abstract Version property to support OSFeature
10373 * ThemeWin32Classic.cs: Added Version property to
10374 support OSFeature.Themes
10375 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10376 the proper styles to avoid background drawing are set, also doesn't
10378 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10379 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10380 * ScrollEventArgs.cs: Added ComVisible attribute
10381 * SplitterEventArgs.cs: Added ComVisible attribute
10382 * AccessibleSelection.cs: Added Flags attribute
10383 * Appearance.cs: Added ComVisible attribute
10384 * Border3DSide.cs: Added ComVisible attribute
10385 * Border3DStyle.cs: Added ComVisible attribute
10386 * BorderStyle.cs: Added ComVisible attribute
10387 * DragAction.cs: Added ComVisible attribute
10388 * ErrorBlinkStyle.cs: Added
10389 * ScrollEventType.cs: Added ComVisible attribute
10390 * AnchorStyles.cs: Added Editor attribute
10391 * DockStyle.cs: Added Editor attribute
10392 * HorizontalAlignment.cs: Added ComVisible attribute
10393 * HelpEventArgs.cs: Added ComVisible attribute
10394 * PaintEventArgs.cs: Added IDisposable
10396 2005-01-04 Peter Bartok <pbartok@novell.com>
10398 * TextControl.cs: Switched Line, LineTag and Document classes to
10401 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10403 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10404 Simple mode, fixes, IntegralHeight, etc.
10406 2005-01-04 Peter Bartok <pbartok@novell.com>
10408 * TextBoxBase.cs: Using proper font variable now
10410 2005-01-04 Peter Bartok <pbartok@novell.com>
10412 * Form.cs (ShowDialog): Set parent to owner, if provided
10413 * GroupBox.cs: Removed unused vars
10415 - Added GetHashCode() for Document and LineTag classes
10416 - Removed unused variables
10417 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10418 to allow translation between continuous char position and line/pos
10419 * CheckBox.cs: Removed vars that are provided by base class
10420 * RadioButton.cs: Removed vars that are provided by base class, added
10421 new keyword where required
10422 * LinkLabel.cs: Added new keyword where required
10423 * Control.cs (WndProc): Removed unused variable
10425 - Finished SelectionLength property
10426 - Implemented SelectionStart property
10427 - Implemented Text property
10428 - Removed unused vars
10429 * MessageBox.cs: Added new keyword where required
10430 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10432 * MenuAPI.cs: Added new keyword where required
10433 * ButtonBase.cs: Removed vars that are provided by base class, added
10434 new keyword where required
10435 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10436 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10438 * Application.cs (Run): Now triggers the ThreadExit event
10439 * CommonDialog.cs: Added new keyword where required; now properly sets
10440 parent (owner) for dialog
10441 * XplatUIX11.cs: Commented out unused vars
10442 * StatusBar.cs: Fixed signature for Text property
10443 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10445 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10447 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10448 TrackBar.cs, MonthCalendar.cs: remove unused vars
10450 2005-01-03 Jackson Harper <jackson@ximian.com>
10452 * ThemeWin32Classic.cs:
10453 * X11Keyboard.cs: Remove unused vars.
10455 2005-01-03 Peter Bartok <pbartok@novell.com>
10458 - set_Text: Tied into TextControl
10459 - set_TextAlignment: Tied into TextControl
10461 - Added alignment properties and implemented alignment handling
10462 and drawing (still has a bug, not generating proper expose events)
10463 - Added new Line() constructor to allow passing the line alignment
10464 - Fixed selection setting, properly handling end<start now
10465 - Added aligment considerations to RecalculateDocument()
10467 - Now properly enforces control height for single line controls
10468 - Added support for CharacterCasing
10469 - Added IsInputKey override
10470 - Fixed Keys.Enter logic
10471 - Added SetBoundsCore override
10472 - Fixed mouse selection handling
10474 2005-01-03 Jackson Harper <jackson@ximian.com>
10477 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10478 - Checkboxes are always aligned to the bottom of the node,
10479 regardless of item height.
10480 - Use the node bounds to draw the text so we can center it when
10481 the item height is greater then the font height.
10482 - Node::Bounds are only the text part of the node.
10483 * TreeNode.cs: New method to combine collapsing and unchecking all
10486 2005-01-02 Jackson Harper <jackson@ximian.com>
10488 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10489 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10490 tree when a check is changed. TODO: Only refresh the checked node.
10492 2004-12-30 Jackson Harper <jackson@ximian.com>
10494 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10495 * TreeNode.cs: When collapsing make sure to never collapse the
10498 2004-12-29 Jackson Harper <jackson@ximian.com>
10500 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10502 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10504 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10506 2004-12-28 Peter Bartok <pbartok@novell.com>
10508 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10511 2004-12-28 Peter Bartok <pbartok@novell.com>
10513 * Control.cs (WndProc): Added WM_HELP handler, now generates
10514 HelpRequested event
10515 * Form.cs: Added HelpButton property and required support code
10516 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10518 2004-12-28 Peter Bartok <pbartok@novell.com>
10521 - Made DialogForm.owner variable internal
10522 - Added check to ensure owner form is set before setting
10523 owner properties in CreateParams
10525 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10527 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10528 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10529 GetCursorPos. Fix major visibility issues. Rework the windowing
10530 system to support borderless/titleless windows (implements menus).
10531 Fix GetWindowPos. Implement initial background color support for
10534 2004-12-28 Peter Bartok <pbartok@novell.com>
10536 * Form.cs (get_CreateParams): Make sure we have an owner before using
10537 the owner variable. Implement proper default if no owner exists
10539 2004-12-28 Peter Bartok <pbartok@novell.com>
10541 * In preparation for making Managed.Windows.Forms the default build target
10542 for System.Windows.Forms, the following stubbed files were added.
10543 Dialogs are currently being implemented by contributors and are only
10544 short-term place holders.
10545 * ColorDialog.cs: Initial check-in (minmal stub)
10546 * DataGrid.cs: Initial check-in (minimal stub)
10547 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10548 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10549 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10550 * FontDialog.cs: Initial check-in (minimal stub)
10551 * FileDialog.cs: Initial check-in (minimal stub)
10552 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10553 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10554 * OpenFileDialog: Initial check-in (minimal stub)
10555 * IComponentEditorPageSite.cs: Initial check-in
10556 * Splitter.cs: Initial check-in (for Jackson)
10557 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10558 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10559 * TextBox.cs: Initial check-in; still needs some wiring to
10560 TextControl backend
10561 * Form.cs: Implemented ControlBox property
10562 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10563 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10564 * TextControl.cs: Added selection functionality; added todo header
10566 - Implemented Lines property
10567 - Implemented TextHeight property
10568 - Implemented SelectedText property
10569 - Implemented SelectionLength property
10570 - Implemented SelectAll method
10571 - Implemented ToString method
10572 - Removed and cleaned up some debug code
10573 - Implemented (still buggy) mouse text selection
10575 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10577 * ComboBox.cs: Complete DropDownList implementation, fixes.
10579 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10581 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10582 * ComboBoxStyle.cs: ComboBoxStyle enum
10583 * ComboBox.cs: Initial work on ComboBox control
10585 2004-12-21 Peter Bartok <pbartok@novell.com>
10587 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10588 forward so that anything that creates a window gets the default,
10589 also no longer uses Visible property in CreateParams to avoid
10590 walking up the parent chain and possibly get the wrong visible
10591 status. Fixed IsVisible to no longer walk up to the parent.
10593 2004-12-21 Peter Bartok <pbartok@novell.com>
10595 * Form.cs (ShowDialog): Unset modality for the proper window
10597 2004-12-20 Peter Bartok <pbartok@novell.com>
10599 * CommonDialog.cs: Initial check-in
10601 2004-12-20 Peter Bartok <pbartok@novell.com>
10603 * Control.cs (Visible): Now uses the parent window instead of the
10604 client area window for the property
10607 - ShowDialog(): Now uses the proper window for modality
10608 - The default visibility state for the form parent is now false. This
10609 will prevent the user from seeing all the changes to the form and
10610 its controls before the application hits Application.Run()
10611 - Removed some stale commented out code
10614 - Added FindWindow() method to have a method to check for existence
10616 - Added ability to override default exception handling (for example
10617 when debugging with VS.Net; to do this the ExternalExceptionHandler
10619 - Removed some useless debug output
10622 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10623 not working as expected
10624 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10625 property to allow switching back to the modal window if focus is
10626 given to another one of our windows (Application Modal)
10627 - Now only sets override_redirect if we create a window
10629 - Moved EventMask selection before mapping of newly created window
10630 so we can catch the map event as well
10631 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10632 - Added various Atom related DllImports
10633 - Implemented Exit() method
10634 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10635 in the CreateParams
10637 * MessageBox.cs: Now properly deals with the FormParent window by
10638 providing an override the FormParent CreateParams property to
10639 set as POPUP instead of OVERLAPPED window.
10641 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10643 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10644 Minor code cleanup.
10646 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10648 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10650 2004-12-18 Peter Bartok <pbartok@novell.com>
10652 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10653 implementing SetModal() method
10655 2004-12-18 Peter Bartok <pbartok@novell.com>
10657 * X11Structs.cs (XGCValues): Fixed type of function element
10658 * XplatUI.cs: Added ScrollWindow() method
10659 * XplatUIDriver.cs: Added ScrollWindow() abstract
10660 * XplatUIWin32.cs: Implemented ScrollWindow() method
10661 * XplatUIX11.cs: Implemented ScrollWindow() method
10662 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10664 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10666 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10667 Some more keyboard support (INCOMPLETE)
10669 2004-12-17 Peter Bartok <pbartok@novell.com>
10672 - Added color attribute to line tags.
10673 - Added color argument to all functions dealing with tags
10674 - Added color argument support to various functions
10675 - Fixed miss-calculation of baseline/shift in certain circumstances
10677 * TextBoxBase.cs: Added new color option to test code
10679 2004-12-17 Jackson Harper <jackson@ximian.com>
10682 * MonthCalendar.cs: Signature fixes
10684 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10686 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10687 keyboard event moved it. Create a new graphics context for each paint resolves this
10689 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10691 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10692 Make caret exist and go blink blink. Initial keyboard support.
10693 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10696 2004-12-17 Jackson Harper <jackson@ximian.com>
10698 * XplatUIStructs.cs: Updated set of virtual keycodes.
10699 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10701 2004-12-17 Jackson Harper <jackson@ximian.com>
10703 * XplatUIX11.cs: Prune old keyboard code.
10705 2004-12-17 Jackson Harper <jackson@ximian.com>
10707 * XplatUIX11.cs: When generating mouse wparams get the modifier
10708 keys from the ModifierKeys property.
10710 2004-12-17 Jackson Harper <jackson@ximian.com>
10712 * X11Keyboard.cs: Send up/down input when generating
10713 messages. Remove some unused vars.
10715 2004-12-17 Jackson Harper <jackson@ximian.com>
10718 * TreeView.cs: get rid of warnings.
10720 2004-12-17 Jackson Harper <jackson@ximian.com>
10722 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10724 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10726 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10727 CheckedListBox.cs: Implementation
10729 2004-12-17 Peter Bartok <pbartok@novell.com>
10731 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10733 2004-12-16 Peter Bartok <pbartok@novell.com>
10736 - InsertCharAtCaret(): Fixed start pos fixup
10737 - CaretLine_get: No longer derives the line from the tag, the tag
10738 could be stale if lines in the document have been added or deleted
10739 - RebalanceAfterDelete(): Fixed bug in balancing code
10740 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10741 - Line.Streamline(): Now can also elminate leading empty tags
10742 - DumpTree(): Added a few more tests and prevented exception on
10744 - Added Debug section for Combining lines
10745 - Delete(): Now copies all remaining properties of a line
10748 - Left mousebutton now sets the caret (and middle button still acts
10749 as formatting tester, which must go away soon)
10750 - Added Debug section for Deleting/Combining lines
10751 - Fixed calculations for UpdateView after Combining lines
10753 2004-12-16 Peter Bartok <pbartok@novell.com>
10755 * TextControl.cs: Now properly aligns text on a baseline, using the
10756 new XplatUI.GetFontMetrics() method. Simplified several calculations
10757 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10760 2004-12-16 Peter Bartok <pbartok@novell.com>
10762 * XplatUI.cs: Added GetFontMetrics() method
10763 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10764 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10765 into libgdiplus, our private GetFontMetrics function
10766 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10767 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10769 2004-12-16 Jackson Harper <jackson@ximain.com>
10771 * XplatUIStruct.cs: Add enum for dead keys
10772 * X11Keyboard.cs: Map and unmap dead keys.
10774 2004-12-16 Jackson Harper <jackson@ximian.com>
10776 * X11Keyboard.cs: Detect and use the num lock mask.
10778 2004-12-16 Peter Bartok <pbartok@novell.com>
10780 * Control.cs (CreateGraphics): Added check to make sure the
10781 handle of the window exists before calling Graphics.FromHwnd()
10783 2004-12-16 Peter Bartok <pbartok@novell.com>
10785 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10786 contains a lot of code that's not supposed to be there for the
10787 real thing, but required for developing/testing the textbox
10790 2004-12-16 Peter Bartok <pbartok@novell.com>
10793 - Fixed Streamline method
10794 - Added FindTag method to Line
10795 - Added DumpTree method for debugging
10796 - Added DecrementLines() method for deleting lines
10797 - Fixed UpdateView to update the cursor to end-of-line on single-line
10799 - Added PositionCaret() method
10800 - Fixed MoveCaret(LineDown) to move into the last line, too
10801 - Added InsertChar overload
10802 - Fixed InsertChar tag offset calculations
10803 - Added DeleteChar() method
10804 - Added Combine() method for folding lines
10805 - Fixed Delete() method, no longer allocates wasted Line object and
10806 now copies all properties when swapping nodes
10807 - Delete() method now updates document line counter
10809 2004-12-15 Jackson Harper <jackson@ximian.com>
10811 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10812 * X11Keyboard.cs: Expose the currently selected modifier keys
10813 through a property.
10815 2004-12-15 Peter Bartok <pbartok@novell.com>
10817 * TextControl.cs: Initial check-in. Still incomplete
10819 2004-12-15 Jackson Harper <jackson@ximian.com>
10822 * TreeView.cs: Fix build on csc (second time today ;-))
10824 2004-12-15 Jackson Harper <jackson@ximian.com>
10826 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10827 is calculated and use this for click testing.
10828 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10830 2004-12-15 Jackson Harper <jackson@ximian.com>
10832 * TreeView.cs: Pass the nodes image index to the image list when
10833 drawing that image.
10835 2004-12-15 Jackson Harper <jackson@ximian.com>
10837 * X11Keyboard.cs: Set messages hwnd.
10838 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10839 post_message calls.
10841 2004-12-15 Jackson Harper <jackson@ximian.com>
10843 * X11Keyboard.cs: Fix to compile with csc.
10845 2004-12-15 Jackson Harper <jackson@ximian.com>
10847 * X11Structs.cs: Add key mask values
10848 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10849 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10850 down/up foo into WM_CHAR foo
10851 * KeyboardLayouts.cs: Common keyboard layouts
10852 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10853 post messages into the main queue.
10855 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10857 * Button.cs: implement ProcessMnemonic
10858 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10860 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10861 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10863 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10865 * MonthCalendar.cs: Implemented click-hold for next/previous month
10868 2004-12-11 Peter Bartok <pbartok@novell.com>
10871 - Added XKeyboardState (moved from XplatUIX11.cs)
10872 - Added XCreateGC related enums and structures
10873 - Added GXFunction for XSetFunction
10875 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10877 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10878 CaretVisible() calls
10880 * ToolTip.cs: Added code to prevent stealing focus from app windows
10882 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10883 DestroyCaret, SetCaretPos and CaretVisible)
10886 - Added implementation for caret functions
10887 - Moved hover variables into a struct, to make it a bit easier
10888 on the eyes and to debug
10889 - Removed XKeyboardState (moved to XplatUIX11.cs)
10890 - Moved Keyboard properties into the properties region
10892 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10893 call to get a graphics context for our control
10895 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10897 * TreeView.cs: Fixed bug. No matter what color was set it would always
10898 return SystemColors.Window
10900 * XplatUIWin32.cs: Implemented caret overrides
10902 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10904 * ListBox.cs: fire events, implement missing methods and properties,
10907 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10909 * MonthCalendar.cs: invalidation bug fixing
10910 * ThemeWin32Classic.cs: paint fixing
10912 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10914 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10915 prepare the CGContextRef there now.
10917 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10919 * MonthCalendar.cs:
10920 - optimisationL only invalidate areas that have changed
10921 * ThemeWin32Classic.cs:
10922 - only paint parts that intersect with clip_area
10924 2004-12-09 Peter Bartok <pbartok@novell.com>
10926 * Application.cs: Undid changes from r37004 which cause problems
10929 2004-12-09 Ravindra <rkumar@novell.com>
10931 * ToolBar.cs: Added support for displaying ContextMenu
10932 attached to a button on ToolBar.
10933 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10936 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10938 * Label.cs: autosize works in text change and removes unnecessary
10941 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10943 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10946 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10948 * XplatUIOSX.cs: Added mouse move/click/grab support
10949 Remove some debugging WriteLines not needed anymore.
10950 Add window resizing/positioning.
10951 Fix visibility on reparenting.
10953 2004-12-08 Peter Bartok <pbartok@novell.com>
10955 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10957 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10959 * XplatUIOSX.cs: Initial checkin
10960 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10962 2004-12-03 Ravindra <rkumar@novell.com>
10964 * ListView.cs: Added some keybindings and fixed scrolling.
10965 ScrollBars listen to ValueChanged event instead of Scroll
10966 Event. This would let us take care of all changes being
10967 done in the scrollbars' values programmatically or manually.
10968 * ListView.cs (CanMultiselect): Added a check for shift key.
10969 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10970 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10971 of ListViewSubItemCollection as well.
10973 2004-12-06 Peter Bartok <pbartok@novell.com>
10975 * Control.cs (Parent): Added check and exception to prevent
10978 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10980 * ListBox.cs: implemented clipping, selection single and multiple,
10983 2004-12-03 Ravindra <rkumar@novell.com>
10985 * ListView.cs (ListView_KeyDown):
10986 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10987 when CTRL key is pressed.
10988 * ListViewItem.cs (Selected): Fixed setting the property.
10990 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10992 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10994 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10995 MinimizeBox, ShowInTaskbar, TopMost properties.
10997 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10998 will be implemented).
11000 2004-12-03 Marek Safar <marek.safar@seznam.cz>
11002 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
11004 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
11007 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
11009 * TreeView.cs: BackColor is Colors.Window.
11011 2004-12-01 Jackson Harper <jackson@ximian.com>
11013 * TreeView.cs: When resizing the tree if the user is making it
11014 smaller we don't get expose events, so we need to handle adding
11015 the horizontal scrollbar in the size changed handler as well as
11016 the expose handler.
11018 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
11020 * DrawItemState.cs: fixes wrong enum values
11022 2004-12-01 Jackson Harper <jackson@ximian.com>
11024 * TreeView.cs: Resize the hbar as well as the vbar on resize.
11026 2004-12-01 Jackson Harper <jackson@ximian.com>
11028 * NodeLabelEditEventArgs.cs:
11029 * NodeLabelEditEventHandler.cs:
11030 * OpenTreeNodeEnumerator.cs:
11032 * TreeNodeCollection.cs:
11034 * TreeViewAction.cs:
11035 * TreeViewCancelEventArgs.cs:
11036 * TreeViewCancelEventHandler.cs:
11037 * TreeViewEventArgs.cs:
11038 * TreeViewEventHandler.cs: Initial implementation.
11040 2004-12-01 Ravindra <rkumar@novell.com>
11042 * ListView.cs (CalculateListView): Fixed scrolling related
11043 calculations. Also, removed some debug statements from other
11045 * ListViewItem.cs: Changed access to 'selected' instance variable
11046 from private to internal.
11047 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
11049 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
11051 * ThemeWin32Classic.cs: remove cache of brush and pens for
11052 specific controls and use the global system, fixes scrollbutton
11053 bugs (for small sizes, disabled, etc)
11055 * ScrollBar.cs: does not show the thumb for very small controls
11056 (as MS) and allow smaller buttons that the regular size
11058 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11060 * UpDownBase.cs: Add abstract methods for the interface.
11061 Add new virtual methods (need to be hooked up to TextEntry when it
11063 Add override methods for most features.
11064 Computes the size, forces the height of the text entry.
11066 * NumericUpDown.cs: Put here the current testing code.
11068 * Set eol-style property on all files that do not have mixed line
11069 endings, to minimize the future problems. There are still a few
11070 files with mixed endings, and someone should choose whether they
11071 want to move it or not.
11073 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11075 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11078 2004-11-30 Ravindra <rkumar@novell.com>
11080 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11081 drawing and replaced use of SystemColors by theme colors.
11082 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11083 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11084 same ListViewItem is being added more than once.
11086 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11088 * MonthCalendar.cs:
11089 - ControlStyles love to make the control not flicker
11091 2004-11-30 Peter Bartok <pbartok@novell.com>
11093 * CharacterCasing.cs: Added
11095 2004-11-29 Peter Bartok <pbartok@novell.com>
11097 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11098 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11099 I am removing these files as they conflict with already completed
11100 work. While it is fantastic to get contributions to MWF, I
11101 respectfully ask that everyone please coordinate their contributions
11102 through mono-winforms-list or #mono-winforms at this time. We're
11103 explicitly avoiding stubbing and don't want controls that don't have
11104 their basic functionality implemented in svn. Please also see
11105 http://www.mono-project.com/contributing/winforms.html
11108 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11110 * Application.cs (ModalRun): Don't hang after exit.
11112 * Theme.cs: New TreeViewDefaultSize property.
11114 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11115 with less hardcoded SystemColors constant.
11116 Implemented TreeViewDefaultSize.
11118 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11119 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11122 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11124 * MonthCalendar.cs:
11125 - Fix NextMonthDate and PrevMonthDate click moving calendar
11127 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11129 * MonthCalendar.cs:
11130 - Fix usage of ScrollChange Property when scrolling months
11132 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11134 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11135 - Fixes menu destroying
11136 - Support adding and removing items on already created menus
11138 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11140 * MonthCalendar.cs:
11141 - Re-worked all bolded dates handling to match win32
11142 * ThemeWin32Classic.cs:
11143 - Fixed rendering with bolded dates
11145 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11147 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11148 - Horizontal scroolbar
11153 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11155 * MonthCalendar.cs:
11156 - Fix Usage of MaxSelectionCount from SelectionRange
11157 - Fixed Shift + Cursor Selection
11158 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11159 - Fixed normal cursor selection to be compat with win32
11160 - Fixed Shift + Mouse Click selection
11162 2004-11-24 Peter Bartok <pbartok@novell.com>
11164 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11165 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11167 - CreatedKeyBoardMsg now updates keystate with Alt key
11168 - Added workaround for timer crash to CheckTimers, Jackson will
11169 develop a proper fix and check in later
11170 - Implemented DispatchMessage
11171 - Removed calling the native window proc from GetMessage (call
11172 now moved to DispatchMessage)
11174 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11175 the keydata (Fixes bug #69831)
11178 - (DispatchMessage): Switched to return IntPtr
11179 - Added DllImport for SetFocus
11181 2004-11-24 Ravindra <rkumar@novell.com>
11183 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11184 background drawing.
11185 * ListViewItem.cs: Fixed various properties, calculations
11186 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11187 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11188 and some internal properties. Fixed MouseDown handler and Paint
11191 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11193 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11195 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11197 * ContainerControl.cs: correct accidental check in of local changes
11199 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11201 * ThemeWin32Classic.cs:
11202 - Fixed Drawing Last month in grid (sometimes not showing)
11203 * MonthCalendar.cs:
11204 - Fixed title width calculation bug (makeing title small)
11206 2004-11-23 Peter Bartok <pbartok@novell.com>
11209 - Added generation of WM_MOUSEHOVER event
11210 - Added missing assignment of async_method atom
11211 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11213 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11215 * ThemeWin32Classic.cs:
11216 - Fixed Drawing of today circle when showtodaycircle not set
11217 - fixed drawing of first and last month in the grid (gay dates)
11218 * MonthCalendar.cs:
11219 - Fixed Drawing of today circle
11220 - Fixed drawing of grady dates
11221 - Fixed HitTest for today link when ShowToday set to false
11222 - Fixed DefaultSize to obey ShowToday
11224 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11226 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11227 * System.Windows.Forms/Theme.cs
11228 * MonthCalendar.cs: added for MonthCalendar
11229 * SelectionRange.cs: added for MonthCalendar
11230 * Day.cs: added for MonthCalendar: added for MonthCalendar
11231 * DateRangeEventArgs.cs: added for MonthCalendar
11232 * DateRangeEventHandler.cs: added for MonthCalendar
11234 2004-11-22 Ravindra <rkumar@novell.com>
11236 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11239 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11241 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11244 * NumericUpDown.cs: Added new implementation.
11245 * UpDownBase.cs: Added new implementation.
11247 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11250 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11253 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11256 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11258 * Timer.cs (Dispose): Should call the base dispose when
11261 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11263 * ScrollBar.cs: updates thumb position when max, min or increment
11266 2004-11-21 Ravindra <rkumar@novell.com>
11268 * ListView.cs: Implemented item selection, activation and
11269 column header style. Fixed properties to do a redraw, if
11270 required. Added support for MouseHover, DoubleClick, KeyDown
11271 and KeyUp event handling and some minor fixes.
11272 * ListViewItem.cs: Fixed constructor.
11273 * ThemeWin32Classic.cs: Improved drawing for ListView.
11275 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11277 * ThemeWin32Classic.cs: initial listbox drawing code
11278 * DrawMode.cs: new enumerator
11279 * ListControl.cs: stubbed class
11280 * ListBox.cs: initial implementation
11281 * Theme.cs: new methods definitions
11282 * SelectionMode.cs: new enumerator
11284 2004-11-17 Peter Bartok <pbartok@novell.com>
11286 * XplatUIWin32.cs: Added double-click events to the class style
11287 * Control.cs (WndProc):
11288 - Added handling of click-count to MouseDown/ MouseUp events.
11289 - Added handling of middle and right mouse buttons
11290 - Removed old debug code
11292 2004-11-17 Jackson Harper <jackson@ximian.com>
11294 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11296 2004-11-17 Ravindra <rkumar@novell.com>
11298 * ListView.cs: Added event handling for MouseMove/Up/Down.
11299 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11300 * ThemeWin32Classic.cs: We need to clear the graphics context and
11301 draw column header in a proper state.
11304 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11306 * Menu.cs: fixes signature
11308 2004-11-16 Peter Bartok <pbartok@novell.com>
11310 * XplatUIX11.cs (GetMessage): Implemented generation of
11311 double click mouse messages
11313 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11315 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11318 2004-11-11 Peter Bartok <pbartok@novell.com>
11320 * HandleData.cs: Added Visible property
11321 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11323 * XplatUIX11.cs: Removed old debug leftovers
11324 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11325 * Control.cs (WndProc): Removed old debug leftovers,
11326 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11327 needed WM_SIZE handling
11329 2004-11-11 Jackson Harper <jackson@ximian.com>
11331 * OwnerDrawPropertyBag.cs:
11332 * TreeViewImageIndexConverter.cs: Initial implementation
11334 2004-11-10 Jackson Harper <jackson@ximian.com>
11336 * ThemeWin32Classic.cs:
11337 * TabControl.cs: instead of moving tabs by the slider pos just
11338 start drawing at the tab that is offset by the slider. This way
11339 scrolling always moves by exactly one tab.
11341 2004-11-10 Jackson Harper <jackson@ximian.com>
11343 * TabControl.cs: You can only scroll left when the slider has
11344 already ben moved right.
11346 2004-11-10 Jackson Harper <jackson@ximian.com>
11348 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11351 2004-11-10 Jackson Harper <jackson@ximian.com>
11353 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11356 2004-11-09 Jackson Harper <jackson@ximian.com>
11358 * TabControl.cs (CalcXPos): New helper method so we can determine
11359 the proper place to start drawing vertical tabs.
11360 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11362 2004-11-09 Jackson Harper <jackson@ximian.com>
11364 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11365 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11366 and Bottom, left and right are illegal values for this and
11367 multiline is enabled when the alignment is set to left or right.
11368 (DrawTab): Each alignment block should draw the text itself now
11369 because Left requires special love. Also add rendering for Left
11372 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11374 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11375 does not destroy the windows, removes debugging messages
11377 2004-11-09 jba <jba-mono@optusnet.com.au>
11379 * ThemeWin32Classic.cs
11380 (DrawButtonBase): Fix verticle text rect clipping in windows
11381 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11382 rendering and incorrect text rect clipping
11383 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11384 rendering and incorrect text rect clipping
11386 2004-11-08 Jackson Harper <jackson@ximian.com>
11388 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11389 bottom when they are bottom aligned so the bottoms of the tabs get
11391 * TabControl.cs (DropRow): Move rows up instead of down when the
11392 tab control is bottom aligned.
11394 2004-11-08 13:59 pbartok
11397 - Added handling for various window styles
11398 - Added handling for popup windows
11399 - Added SetTopmost handling
11401 2004-11-08 13:55 pbartok
11404 - Added argument to SetTopmost method
11405 - Fixed broken ClientToScreen function
11407 2004-11-08 13:53 pbartok
11409 * XplatUIStructs.cs:
11410 - Added missing WS_EX styles
11412 2004-11-08 13:53 pbartok
11414 * XplatUI.cs, XplatUIDriver.cs:
11415 - Added argument to SetTopmost
11417 2004-11-08 13:52 pbartok
11420 - Added XSetWindowAttributes structure
11421 - Improved XWindowAttributes structure
11422 - Added SetWindowValuemask enum
11423 - Added window creation arguments enum
11424 - Added gravity enum
11425 - Added Motif hints structure
11426 - Added various Motif flags and enums
11427 - Added PropertyMode enum for property functions
11429 2004-11-08 13:50 pbartok
11432 - Fixed arguments for updated SetTopmost method
11434 2004-11-08 13:49 pbartok
11437 - Fixed arguments for updated SetTopmost function
11438 - Fixed usage of PointToClient
11440 2004-11-08 13:44 pbartok
11443 - Added Clipping of children and siblings
11445 2004-11-08 13:41 pbartok
11448 - Removed SetMenuBarWindow call. We do this in Form.cs
11450 2004-11-08 13:40 jackson
11452 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11453 scrolling jimmi in the correct location with bottom aligned tabs
11455 2004-11-08 13:36 pbartok
11457 * ContainerControl.cs:
11458 - Implemented BindingContext
11459 - Implemented ParentForm
11461 2004-11-08 12:46 jackson
11463 * TabControl.cs: Put bottom rendered tabs in the right location
11465 2004-11-08 07:15 jordi
11467 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11470 2004-11-05 17:30 jackson
11472 * TabControl.cs: When selected tabs are expanded make sure they
11473 don't go beyond the edges of the tab control
11475 2004-11-05 14:57 jackson
11477 * TabControl.cs: Reset show_slider so if the control is resized to
11478 a size where it is no longer needed it's not displayed anymore
11480 2004-11-05 13:16 jackson
11482 * TabControl.cs: Make tab pages non visible when added to the
11485 2004-11-05 12:42 jackson
11487 * TabControl.cs: Implement SizeMode.FillToRight
11489 2004-11-05 12:16 jackson
11491 * Control.cs: Do not call CreateHandle if the handle is already
11494 2004-11-05 11:46 jackson
11496 * TabControl.cs: Remove superflous call to CalcTabRows
11498 2004-11-05 09:07 jackson
11500 * XplatUIX11.cs: Update for Mono.Posix changes
11502 2004-11-05 07:00 ravindra
11504 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11507 2004-11-04 22:47 jba
11509 * ThemeWin32Classic.cs:
11510 - Fix Button rendering for FlatStyle = Flat or Popup
11511 - Fix RadioButton and CheckBox rendering when Appearance = Button
11512 (normal and flatstyle).
11513 - Correct outer rectangle color when drawing focus rectangle
11514 - Adjust button bounds to be 1 px smaller when focused
11515 - Make button not draw sunken 3d border when pushed (windows compat)
11516 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11517 - Offset the text in RadioButton and Checkbox when being rendered as
11519 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11521 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11522 - Fixed disabled text rendering for normally rendered radiobuttons
11524 2004-11-04 10:26 jackson
11526 * TabControl.cs: Recalculate tab rows when resizing
11528 2004-11-04 07:47 jordi
11530 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11531 collection completion, drawing issues, missing features
11533 2004-11-04 05:03 ravindra
11536 - We need to recalculate the Thumb area when
11537 LargeChange/maximum/minimum values are changed.
11538 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11539 than minimum. This is required to handle the case if large_change is
11540 more than max, and use LargeChange property instead of large_change
11542 - We return max+1 when large_change is more than max, like MS does.
11544 2004-11-04 04:29 ravindra
11546 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11547 - Changed default value signatures (prefixed all with ListView).
11548 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11550 - Fixed calculations for ListViewItem and implemented Clone()
11553 2004-11-04 04:26 ravindra
11555 * Theme.cs, ThemeWin32Classic.cs:
11556 - Changed default ListView values signatures (prefixed all with
11558 - Fixed default size values for VScrollBar and HScrollBar.
11559 - Fixed DrawListViewItem method.
11561 2004-11-04 04:05 ravindra
11563 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11565 2004-11-04 04:04 ravindra
11567 * ImageList.cs: Implemented the missing overload for Draw method.
11569 2004-11-03 19:29 jackson
11571 * TabControl.cs: Handle dropping rows on selection properly
11573 2004-11-03 11:59 jackson
11575 * TabControl.cs: remove debug code
11577 2004-11-03 11:52 jackson
11579 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11580 the scrolly widgerywoo
11582 2004-11-02 13:52 jackson
11584 * TabControl.cs: Resize the tab pages and tabs when the tab control
11587 2004-11-02 13:40 jackson
11589 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11590 selected tab to the bottom
11592 2004-11-02 13:39 jackson
11594 * TabPage.cs: Store the tab pages row
11596 2004-11-02 12:33 jordi
11598 * MenuItem.cs: fixes handle creation
11600 2004-11-02 11:42 jackson
11602 * TabControl.cs: signature fix
11604 2004-11-02 08:56 jackson
11606 * TabControl.cs: Calculate whether the tab is on an edge properly.
11607 Remove top secret debugging code
11609 2004-11-01 19:57 jackson
11611 * TabControl.cs: Add click handling, and proper sizing
11613 2004-11-01 19:47 jackson
11615 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11618 2004-11-01 19:39 jackson
11620 * TabPage.cs: add internal property to store the bounds of a tab
11623 2004-10-30 04:23 ravindra
11625 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11628 2004-10-30 04:21 ravindra
11630 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11631 fixed calculations.
11633 2004-10-30 03:06 pbartok
11636 - Removed extension of DllImported libs
11638 2004-10-29 09:55 jordi
11640 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11641 navigation, itemcollection completion, menu fixes
11643 2004-10-27 22:58 pbartok
11646 - Now throws a nice error message when no X display could be opened
11648 2004-10-26 13:51 jordi
11650 * ListView.cs: removes warning
11652 2004-10-26 03:55 ravindra
11654 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11655 ThemeWin32Classic.cs: Some formatting for my last checkins.
11657 2004-10-26 03:36 ravindra
11659 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11660 control and default values.
11662 2004-10-26 03:35 ravindra
11664 * Theme.cs: Added some default values for ListView control.
11666 2004-10-26 03:33 ravindra
11668 * ToolBar.cs: ToolBar should use the user specified button size, if
11669 there is any. Added a size_specified flag for the same.
11671 2004-10-26 03:33 ravindra
11673 * ColumnHeader.cs: Added some internal members and calculations for
11676 2004-10-26 03:32 ravindra
11678 * ListViewItem.cs: Calculations for ListViewItem.
11680 2004-10-26 03:31 ravindra
11682 * ListView.cs: Added some internal members and calculations for
11685 2004-10-22 13:31 jordi
11687 * MenuAPI.cs: speedup menus drawing
11689 2004-10-22 13:16 jackson
11691 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11694 2004-10-22 11:49 jackson
11698 2004-10-22 11:41 jackson
11700 * Control.cs: Check to see if the window should have its background
11701 repainted by X when drawing.
11703 2004-10-22 11:31 jackson
11705 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11706 clear is true, this way we do not get flicker from X repainting the
11709 2004-10-22 11:28 jackson
11711 * XEventQueue.cs: Queue properly
11713 2004-10-21 09:38 jackson
11715 * XEventQueue.cs: Fix access modifier
11717 2004-10-21 09:36 jackson
11719 * XEventQueue.cs: Don't loose messages
11721 2004-10-21 09:22 jackson
11723 * XEventQueue.cs: Don't loose messages
11725 2004-10-20 04:15 jordi
11727 * BootMode.cs: enum need it by SystemInfo
11729 2004-10-19 21:58 pbartok
11732 - Small sanity check
11734 2004-10-19 21:56 pbartok
11737 - Added private FormParentWindow class which acts as the container
11738 for our form and as the non-client area where menus are drawn
11739 - Added/Moved required tie-ins to Jordi's menus
11740 - Fixed/Implemented the FormStartPosition functionality
11742 2004-10-19 21:52 pbartok
11745 - Removed unneeded locals
11746 - Added code to all size and location properties to understand and
11747 deal with the parent container of Form
11749 2004-10-19 21:33 pbartok
11752 - Fixed to deal with new Form subclasses for menus
11754 2004-10-19 17:48 jackson
11756 * XEventQueue.cs: commit correct version of file
11758 2004-10-19 16:50 jackson
11760 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11762 2004-10-19 16:15 jordi
11764 * MenuAPI.cs: MenuBarCalcSize returns the height
11766 2004-10-19 08:31 pbartok
11769 - Added missing call to PreProcessMessage before calling OnXXXKey
11772 2004-10-19 00:04 ravindra
11774 * ToolTip.cs: Fixed constructor.
11776 2004-10-18 09:31 jordi
11778 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11780 2004-10-18 09:26 jordi
11782 * MenuItem.cs: fixes MenuItem class signature
11784 2004-10-18 08:56 jordi
11786 * MenuAPI.cs: prevents windows from showing in the taskbar
11788 2004-10-18 00:28 ravindra
11790 * ToolTip.cs: Suppressed a warning message.
11792 2004-10-18 00:27 ravindra
11794 * Control.cs: Default value of visible property must be true.
11796 2004-10-17 23:19 pbartok
11799 - Complete implementation
11801 2004-10-17 23:19 pbartok
11804 - Added EnableWindow method
11805 - Added SetModal stub
11806 - Added generation of WM_ACTIVATE message (still needs testing)
11807 - Added SetTopMost stub
11808 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11810 2004-10-17 23:17 pbartok
11813 - Removed VirtualKeys to XplatUIStructs
11814 - Implemented SetTopMost method
11815 - Implemented EnableWindow method
11816 - Bugfix in ScreenToClient()
11817 - Bugfixes in ClientToScreen()
11819 2004-10-17 22:51 pbartok
11821 * XplatUIStructs.cs:
11822 - Added WS_EX styles to WindowStyles enumeration
11824 2004-10-17 22:50 pbartok
11826 * XplatUI.cs, XplatUIDriver.cs:
11827 - Added method for enabling/disabling windows
11828 - Added method for setting window modality
11829 - Added method for setting topmost window
11831 2004-10-17 22:49 pbartok
11833 * ThemeWin32Classic.cs:
11834 - Added ToolTip drawing code
11836 2004-10-17 22:49 pbartok
11839 - Added ToolTip abstracts
11841 2004-10-17 22:47 pbartok
11844 - Fixed Form.ControlCollection to handle owner relations
11845 - Added Owner/OwnedForms handling
11846 - Implemented Z-Ordering for owned forms
11847 - Removed unneeded private overload of ShowDialog
11848 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11850 - Fixed Close(), had wrong default
11851 - Added firing of OnLoad event
11852 - Added some commented out debug code for Ownership handling
11854 2004-10-17 22:16 pbartok
11857 - Fixed/implemented flat list of controls
11859 2004-10-17 22:14 pbartok
11862 - Added code to simulate modal dialogs on Win32
11864 2004-10-17 16:11 jordi
11866 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11869 2004-10-17 13:39 jordi
11871 * MenuAPI.cs: menu drawing fixes
11873 2004-10-15 09:10 ravindra
11875 * StructFormat.cs: General Enum.
11877 2004-10-15 09:09 ravindra
11879 * SizeGripStyle.cs: Enum for Form.
11881 2004-10-15 09:08 ravindra
11883 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11884 in Theme for ListView.
11886 2004-10-15 09:06 ravindra
11888 * ColumnHeader.cs: Flushing some formatting changes.
11890 2004-10-15 09:05 ravindra
11892 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11895 2004-10-15 09:03 ravindra
11897 * ListView.cs: Implemented Paint method and fixed coding style.
11899 2004-10-15 07:34 jordi
11901 * MenuAPI.cs: fix for X11
11903 2004-10-15 07:32 ravindra
11905 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11906 - Renamed Paint() method to Draw() for clarity. Also, moved
11907 DrawImage() to OnPaint().
11909 2004-10-15 07:25 ravindra
11911 * CheckBox.cs, RadioButton.cs:
11912 - Removed Redraw (), we get it from ButtonBase.
11913 - Implemented Paint (), to do class specific painting.
11915 2004-10-15 07:16 ravindra
11918 - Redraw () is not virtual now.
11919 - Added an internal virtual method Paint (), so that
11920 derived classes can do their painting on their own.
11921 - Modified OnPaint () to call Paint ().
11923 2004-10-15 06:43 jordi
11925 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11926 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11928 2004-10-15 00:30 ravindra
11931 - MessageBox on windows does not have min/max buttons.
11932 This change in CreateParams fixes this on Windows. We
11933 still need to implement this windowstyle behavior in
11936 2004-10-14 05:14 ravindra
11939 - Changed Redraw () to do a Refresh () always.
11940 - Fixed the MouseMove event handling when mouse is pressed,
11941 ie drag event handling.
11942 - Replaced the usage of ToolBarButton.Pressed property to
11943 ToolBarButton.pressed internal variable.
11945 2004-10-14 05:10 ravindra
11947 * ToolBarButton.cs:
11948 - Added an internal member 'inside' to handle mouse move
11949 with mouse pressed ie mouse drag event.
11950 - Changed 'Pressed' property to return true only when
11951 'inside' and 'pressed' are both true.
11952 - Some coding style love.
11954 2004-10-14 00:17 ravindra
11956 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11959 2004-10-14 00:15 ravindra
11961 * ButtonBase.cs: Redraw () related improvements.
11963 2004-10-14 00:14 ravindra
11965 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11966 removed unnecessary calls to Button.Show () method.
11968 2004-10-13 17:50 pbartok
11972 - Removed destroying of window until we solve the problem of X
11973 destroying the window before us on shutdown
11975 2004-10-13 16:32 pbartok
11978 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11980 2004-10-13 14:18 pbartok
11983 - Added code to destroy the X window
11985 2004-10-13 14:18 pbartok
11988 - Added code to destroy a window
11990 2004-10-13 14:12 pbartok
11993 - Added the Redraw on Resize that got dropped in the last rev
11995 2004-10-13 09:06 pbartok
11997 * ThemeWin32Classic.cs:
11998 - Path from John BouAntoun:
11999 * Fix check rendering (centre correctly for normal style, offset
12000 correctly for FlatStyle).
12001 * Fix border color usage (use backcolor) for FlatStyle.Popup
12002 * Use checkbox.Capture instead of checkbox.is_pressed when
12003 rendering flatstyle states.
12005 2004-10-12 21:48 pbartok
12007 * ThemeWin32Classic.cs:
12008 - Removed all occurences of SystemColors and replaced them with the
12009 matching theme color
12011 2004-10-12 21:41 pbartok
12013 * ThemeWin32Classic.cs:
12014 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
12015 him using the function for flatstyle drawing
12016 - Changed functions to use the new version of CPDrawBorder3D
12018 2004-10-12 21:15 pbartok
12021 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
12022 match MS documentation. They need to return defined colors if the
12023 passed color matches the configured control color. Thanks to John
12024 BouAntoun for pointing this out.
12026 2004-10-12 20:57 pbartok
12029 - Fix from John BouAntoun: Raise ForeColorChanged event when text
12032 2004-10-12 20:46 pbartok
12035 - Fix from John BouAntoun: Now properly sets the Appearance property
12037 2004-10-12 20:45 pbartok
12039 * ThemeWin32Classic.cs:
12040 - Fixes from John BouAntoun: now handles forecolors and backcolors
12041 for flatstyle rendered controls much better; It also fixes normal
12042 checkbox rendering when pushed or disabled.
12044 2004-10-08 02:50 jordi
12046 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
12049 2004-10-07 08:56 jordi
12051 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12053 2004-10-06 03:59 jordi
12055 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12056 XplatUIWin32.cs: removes warnings from compilation
12058 2004-10-05 12:23 jackson
12060 * RadioButton.cs: Fix ctor
12062 2004-10-05 11:10 pbartok
12065 - Partial implementation by Benjamin Dasnois
12067 2004-10-05 10:15 jackson
12069 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12072 2004-10-05 03:07 ravindra
12075 - Removed a private method, Draw ().
12076 - Fixed the ButtonDropDown event handling.
12077 - Fixed MouseMove event handling.
12079 2004-10-05 03:04 ravindra
12081 * ThemeWin32Classic.cs:
12082 - Added DrawListView method and ListViewDefaultSize property.
12083 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12084 - Changed DOS style CRLF to Unix format (dos2unix).
12086 2004-10-05 03:03 ravindra
12089 - Added DrawListView method and ListViewDefaultSize property.
12091 2004-10-05 02:42 ravindra
12093 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12094 clicks on DropDown arrow.
12096 2004-10-04 22:56 jackson
12098 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12099 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12100 Control handle the buffers, derived classes should not have to
12101 CreateBuffers themselves.
12103 2004-10-04 21:20 jackson
12105 * StatusBar.cs: The control handles resizing the buffers now.
12107 2004-10-04 21:18 jackson
12109 * Control.cs: When resizing the buffers should be invalidated. This
12110 should be handled in Control not in derived classes.
12112 2004-10-04 14:45 jackson
12116 2004-10-04 02:14 pbartok
12118 * LeftRightAlignment.cs:
12121 2004-10-04 01:09 jordi
12123 * ThemeWin32Classic.cs: fixes right button position causing right
12124 button not showing on horizontal scrollbars
12126 2004-10-02 13:12 pbartok
12129 - Simplified the Invalidate method by using an X call instead of
12130 generating the expose ourselves
12131 - Added an expose when the window background is changed
12132 - Implemented ClientToScreen method
12134 2004-10-02 13:08 pbartok
12137 - Added Win32EnableWindow method (test for implementing modal
12139 - Added ClientToScreen method and imports
12141 2004-10-02 13:07 pbartok
12143 * XplatUI.cs, XplatUIDriver.cs:
12144 - Added ClientToScreen coordinate translation method
12146 2004-10-02 13:06 pbartok
12148 * KeyPressEventArgs.cs:
12149 - Fixed access level for constructor
12151 2004-10-02 13:06 pbartok
12154 - Changed access level for the window_collection hash table
12156 2004-10-02 13:05 pbartok
12159 - Added KeyPreview property
12160 - Added Menu property (still incomplete, pending Jordi's menu work)
12161 - Implemented ProcessCmdKey
12162 - Implemented ProcessDialogKey
12163 - Implemented ProcessKeyPreview
12165 2004-10-02 13:02 pbartok
12168 - Added private method to get the Control object from the window
12170 - Implemented ContextMenu property
12171 - Implemented PointToScreen
12172 - Implemented PreProcessMessage
12173 - Implemented IsInputChar
12174 - Implemented IsInputKey
12175 - Implemented ProcessCmdKey
12176 - Completed ProcessKeyEventArgs
12177 - Fixed message loop to call the proper chain of functions on key
12179 - Implemented ProcessDialogChar
12180 - Implemented ProcessDialogKey
12181 - Implemented ProcessKeyMessage
12182 - Implemented ProcessKeyPreview
12183 - Added RaiseDragEvent stub (MS internal method)
12184 - Added RaiseKeyEvent stub (MS internal method)
12185 - Added RaiseMouseEvent stub (MS Internal method)
12186 - Added RaisePaintEvent stub (MS Internal method)
12187 - Added ResetMouseEventArgs stub (MS Internal method)
12188 - Implemented RtlTranslateAlignment
12189 - Implemented RtlTranslateContent
12190 - Implemented RtlTranslateHorizontal
12191 - Implemented RtlTranslateLeftRight
12192 - Added generation of KeyPress event
12194 2004-10-02 05:57 ravindra
12196 * ListViewItem.cs: Added attributes.
12198 2004-10-02 05:32 ravindra
12200 * ListView.cs: Added attributes.
12202 2004-10-01 11:53 jackson
12204 * Form.cs: Implement the Close method so work on MessageBox can
12207 2004-09-30 14:06 pbartok
12212 2004-09-30 11:34 jackson
12214 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12216 2004-09-30 07:26 ravindra
12218 * ListViewItemConverter.cs: Converter for ListViewItem.
12220 2004-09-30 07:26 ravindra
12222 * SortOrder.cs: Enum for ListView control.
12224 2004-09-30 07:25 ravindra
12226 * ColumnHeader.cs: Supporting class for ListView control.
12228 2004-09-30 07:24 ravindra
12230 * ListView.cs, ListViewItem.cs: Initial implementation.
12232 2004-09-30 07:20 ravindra
12234 * ItemActivation.cs: Enum for ListView Control.
12236 2004-09-29 20:29 pbartok
12239 - Added lookup of pixel value for background color; tries to get a
12240 color 'close' to the requested color, it avoids having to create a
12241 colormap. Depending on the display this could mean the used color
12242 is slightly off the desired color. Might have to change it to a more
12243 resource intensive colormap approach, but it will work as a
12244 workaround to avoid red screens.
12246 2004-09-29 14:27 jackson
12248 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12250 2004-09-28 12:44 pbartok
12252 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12253 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12254 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12255 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12256 TrackBar.cs, VScrollBar.cs:
12257 - Streamlined Theme interfaces:
12258 * Each DrawXXX method for a control now is passed the object for
12259 the control to be drawn in order to allow accessing any state the
12260 theme might require
12262 * ControlPaint methods for the theme now have a CP prefix to avoid
12263 name clashes with the Draw methods for controls
12265 * Every control now retrieves it's DefaultSize from the current
12268 2004-09-28 12:17 jackson
12270 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12273 2004-09-24 14:57 jackson
12275 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12276 Gives us a nice little performance boost.
12278 2004-09-24 12:02 jackson
12280 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12281 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12282 Control and supporting classes. Initial checkin
12284 2004-09-23 13:08 jackson
12286 * Form.cs: Temp build fixage
12288 2004-09-23 01:39 ravindra
12290 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12291 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12292 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12293 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12294 EventHandlers needed by ListView Control.
12296 2004-09-22 14:12 pbartok
12298 * ScrollableControl.cs:
12299 - Implemented DockPadding property
12300 - Implemented AutoScroll property
12301 - Implemented AutoScrollMargin property
12302 - Implemented AutoScrollMinSize property
12303 - Implemented AutoScrollPosition property
12304 - Implemented DisplayRectangle property (still incomplete)
12305 - Implemented CreateParams property
12306 - Implemented HScroll property
12307 - Implemented VScroll property
12308 - Implemented OnVisibleChanged property
12310 2004-09-22 14:09 pbartok
12313 - Added Form.ControllCollection class
12314 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12315 RemoveOwnedForm (still incomplete, missing on-top and common
12316 minimize/maximize behaviour)
12317 - Added StartPosition property (still incomplete, does not use when
12319 - Added ShowDialog() methods (still incomplete, missing forcing the
12322 2004-09-22 14:05 pbartok
12325 - Added message loop for modal dialogs
12327 2004-09-22 14:02 pbartok
12330 - Fixed wrong types for events
12332 2004-09-22 14:00 pbartok
12334 * Shortcut.cs, FormWindowState.cs:
12335 - Fixed wrong values
12337 2004-09-22 12:01 jackson
12339 * Control.cs: Text is never null
12341 2004-09-20 22:14 pbartok
12344 - Fixed accessibility level for Idle handler
12346 2004-09-20 18:54 jackson
12348 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12349 XplatUIX11.cs: New message loop that uses poll so we don't get a
12352 2004-09-17 10:43 pbartok
12355 - Fixed behaviour of arrow buttons. Now properly behaves like
12356 Buttons (and like Microsoft's scrollbar arrow buttons)
12358 2004-09-17 10:14 pbartok
12361 - Added missing release of keyboard/mouse capture
12363 2004-09-17 06:18 jordi
12365 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12366 Theme.cs: Very early menu support
12368 2004-09-16 17:45 pbartok
12371 - Fixed sending a window to the front
12372 - Added overload for SetWindowPos to avoid casting
12374 2004-09-16 17:44 pbartok
12377 - Added SendToBack and BringToFront methods
12379 2004-09-16 07:00 ravindra
12381 * Copyright: Added Novell URL.
12383 2004-09-16 07:00 ravindra
12385 * ToolBar.cs: Invalidate should be done before redrawing.
12387 2004-09-15 21:19 ravindra
12389 * ColumnHeaderStyle.cs: Enum for ListView Control.
12391 2004-09-15 21:18 ravindra
12393 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12396 2004-09-13 18:26 jackson
12398 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12401 2004-09-13 18:13 jackson
12403 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12404 a second thread and post messages into the main threads message
12405 queue. This makes timing much more consistent. Both win2K and XP
12406 have a minimum timer value of 15 milliseconds, so we now do this
12409 2004-09-13 15:18 pbartok
12411 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12413 - Added Z-Ordering methods
12415 2004-09-13 10:56 pbartok
12418 - Fixed #region names
12419 - Moved properties and methods into their proper #regions
12421 2004-09-13 10:51 pbartok
12424 - Added Accept and CancelButton properties
12425 - Added ProcessDialogKey() method
12427 2004-09-13 08:18 pbartok
12429 * IWindowTarget.cs:
12432 2004-09-10 21:50 pbartok
12435 - Added DoDragDrop() [incomplete]
12436 - Properly implemented 'Visible' handling
12437 - Added SetVisibleCore()
12438 - Implemented FindChildAtPoint()
12439 - Implemented GetContainerControl()
12440 - Implemented Hide()
12442 2004-09-10 19:28 pbartok
12445 - Moved methods into their appropriate #regions
12446 - Reordered methods within regions alphabetically
12448 2004-09-10 18:57 pbartok
12450 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12451 - Added method to retrieve text from window
12453 2004-09-10 18:56 pbartok
12456 - Moved some internal functions into the internal region
12457 - Implemented FontHeight
12458 - Implemented RenderRightToLeft
12459 - Implemented ResizeRedraw
12460 - Implemented ShowFocusCues
12461 - Implemented ShowKeyboardCues
12462 - Implemented FromChildHandle
12463 - Implemented FromHandle
12464 - Implemented IsMnemonic
12465 - Implemented ReflectMessage
12466 - All public and protected Static Methods are now complete
12468 2004-09-10 16:54 pbartok
12471 - Implemented remaining missing public instance properties
12472 - Alphabetized some out of order properties
12474 2004-09-10 05:51 ravindra
12476 * PictureBox.cs: Added a check for null image.
12478 2004-09-10 00:59 jordi
12480 * GroupBox.cs: remove cvs tag
12482 2004-09-09 05:25 ravindra
12484 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12486 2004-09-09 05:23 ravindra
12488 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12491 2004-09-09 02:28 pbartok
12493 * ThemeWin32Classic.cs:
12494 - Improve disabled string look
12496 2004-09-09 01:15 jordi
12498 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12501 2004-09-08 23:56 ravindra
12503 * ItemBoundsPortion.cs: It's enum, not a class!
12505 2004-09-08 23:47 ravindra
12507 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12510 2004-09-08 21:13 ravindra
12512 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12515 2004-09-08 21:03 ravindra
12517 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12520 2004-09-08 21:01 ravindra
12522 * ScrollableControl.cs: Removed unreachable code.
12524 2004-09-08 06:45 jordi
12526 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12528 2004-09-08 01:00 jackson
12530 * XplatUIX11.cs: Only run the timers when updating the message
12531 queue. This effectively gives X messages a higher priority then
12532 timer messages. Timers still need love though
12534 2004-09-07 14:01 jackson
12536 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12537 this for us and the handle is no longer valid.
12539 2004-09-07 13:59 jackson
12541 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12542 loop that manages to not crash. TODO: Add poll and cleanup timers
12544 2004-09-07 11:12 jordi
12546 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12548 2004-09-07 03:40 jordi
12550 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12551 fixes, methods, multiple links
12553 2004-09-06 06:55 jordi
12555 * Control.cs: Caches ClientRectangle rectangle value
12557 2004-09-05 02:03 jordi
12559 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12562 2004-09-04 11:10 jordi
12564 * Label.cs: Refresh when font changed
12566 2004-09-02 16:24 pbartok
12569 - Added sanity check to creation of double buffer bitmap
12571 2004-09-02 16:24 pbartok
12574 - Fixed selection of text color
12575 - Fixed handling of resize event; now properly recreates double
12577 - Added missing assignment of TextAlignment
12578 - Added proper default for TextAlignment
12580 2004-09-02 14:26 pbartok
12583 - Added missing RadioButton.RadioButtonAccessibleObject class
12585 2004-09-02 14:26 pbartok
12588 - Added missing Control.ControlAccessibleObject class
12589 - Started to implement Select()ion mechanisms, still very incomplete
12591 2004-09-02 14:25 pbartok
12593 * AccessibleObject.cs:
12594 - Added missing methods
12596 2004-09-02 14:23 pbartok
12598 * AccessibleNavigation.cs, AccessibleSelection.cs:
12601 2004-09-02 10:32 jordi
12603 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12604 pool for pens, brushes, and hatchbruses
12606 2004-09-01 15:30 jackson
12608 * StatusBar.cs: Fix typo
12610 2004-09-01 14:44 pbartok
12615 2004-09-01 14:39 pbartok
12617 * Button.cs, RadioButton.cs:
12618 - Functional initial check-in
12620 2004-09-01 14:01 pbartok
12623 - Added missing default
12624 - Added missing region mark
12626 2004-09-01 09:10 jordi
12628 * Label.cs: fixes method signatures, new methods, events, fixes
12631 2004-09-01 07:19 jordi
12633 * Control.cs: Init string variables with an empty object
12635 2004-09-01 04:20 jordi
12637 * Control.cs: fires OnFontChanged event
12639 2004-08-31 20:07 pbartok
12642 - Enabled display of strings
12644 2004-08-31 20:05 pbartok
12647 - Added (partial) implementation of DialogResult; rest needs to be
12648 implemented when the modal loop code is done
12650 2004-08-31 19:55 pbartok
12653 - Fixed to match the removal of the needs_redraw concept
12655 2004-08-31 19:55 pbartok
12658 - Removed the rather odd split between 'needs redraw' and redrawing
12659 - Now handles the events that require regeneration (ambient
12660 properties and size)
12662 2004-08-31 19:41 pbartok
12665 - Added firing of BackColorChanged event
12666 - Added TopLevelControl property
12667 - Fixed handling of WM_ERASEBKGRND message
12669 2004-08-31 12:49 pbartok
12675 2004-08-31 12:48 pbartok
12678 - Finished (famous last words)
12680 2004-08-31 04:35 jordi
12682 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12683 scrolling bugs, adds new methods
12685 2004-08-30 14:42 pbartok
12688 - Implemented CheckBox drawing code
12690 2004-08-30 14:42 pbartok
12693 - Made Redraw() and CheckRedraw() virtual
12694 - Improved mouse up/down/move logic to properly track buttons
12696 2004-08-30 09:44 pbartok
12699 - Updated to fix broken build. Not complete yet.
12701 2004-08-30 09:28 pbartok
12706 2004-08-30 09:17 pbartok
12711 2004-08-27 16:12 ravindra
12713 * ToolBarButton.cs: Added TypeConverter attribute.
12715 2004-08-27 16:07 ravindra
12717 * ImageIndexConverter.cs: Implemented.
12719 2004-08-27 14:17 pbartok
12722 - Removed unneeded stack vars
12723 - First attempt to fix sizing issues when layout is suspended
12725 2004-08-25 15:35 jordi
12727 * ScrollBar.cs: more fixes to scrollbar
12729 2004-08-25 14:04 ravindra
12731 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12732 Added the missing divider code and grip for ToolBar Control.
12734 2004-08-25 13:20 pbartok
12737 - Control now properly passes the ambient background color to child
12740 2004-08-25 13:20 jordi
12742 * ScrollBar.cs: small bug fix regarding bar position
12744 2004-08-25 12:33 pbartok
12747 - Now only calls SetTimer or KillTimer if the enabled state has
12750 2004-08-25 12:33 pbartok
12753 - Fixed timer handling, now seems to work
12754 - Improved error message for window creation
12756 2004-08-25 12:32 pbartok
12759 - Fixed generation of MouseUp message
12761 2004-08-25 12:29 jordi
12763 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12764 and fixes for progressbar
12766 2004-08-24 18:43 ravindra
12768 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12769 in ToolBar control.
12771 2004-08-24 17:15 pbartok
12775 - Added missing events
12778 2004-08-24 17:14 pbartok
12780 * StatusBar.cs, PictureBox.cs:
12781 - Now uses Control's CreateParams
12783 2004-08-24 16:36 pbartok
12786 - Fixed background color handling
12787 - Fixed sending of enter/leave events on a grab
12789 2004-08-24 16:35 pbartok
12792 - Refined definitions for CrossingEvent
12794 2004-08-24 12:37 jordi
12796 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12797 formmating, methods signature, and adds missing events
12799 2004-08-24 12:24 jordi
12801 * Control.cs: fire OnEnabledChanged event
12803 2004-08-24 11:17 pbartok
12806 - Implemented SetTimer() and KillTimer()
12808 2004-08-24 11:16 pbartok
12811 - Now uses Remove instead of Add to kill the timer
12813 2004-08-24 10:16 jackson
12815 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12816 picture boxes in the theme now. Draw picture box borders and obey
12819 2004-08-24 05:49 jackson
12821 * Timer.cs: Remove top secret debugging code
12823 2004-08-24 05:34 jackson
12825 * PictureBox.cs: Temp hack to make picture boxes draw their full
12828 2004-08-24 05:29 jackson
12830 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12831 XplatUIX11.cs: Move timers to the driver level. On X they are
12832 queued by the driver and checked on idle.
12834 2004-08-24 01:07 jackson
12836 * XplatUIX11.cs: Use a queue for async messages instead of passing
12837 them as ClientMessages since that was totally broken. Also simply
12838 check for events and return an idle message if none are found. This
12839 gives us an idle handler, and prevents deadlocking when no messages
12842 2004-08-23 18:19 ravindra
12844 * XplatUIWin32.cs: Removed the unwanted destructor.
12846 2004-08-23 17:27 pbartok
12849 - Finishing touches. Works now, just needs some optimizations.
12851 2004-08-23 16:53 jordi
12853 * ScrollBar.cs: small fix
12855 2004-08-23 16:45 pbartok
12858 - Removed debug output
12861 2004-08-23 16:43 jordi
12863 * ScrollBar.cs: [no log message]
12865 2004-08-23 16:10 pbartok
12868 - Fixed handling of WM_CLOSE message
12869 - Removed debug output
12871 2004-08-23 16:09 pbartok
12874 - Added handling of Idle event
12875 - Added handling of form closing
12876 - Fixed reporting of MessageLoop property
12877 - Removed some unneeded code, should provide a bit of a speedup
12879 2004-08-23 15:22 pbartok
12882 - Added InitLayout() method
12883 - Added code to properly perform layout when Anchor or Dock property
12885 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12886 LAMESPEC, tried to do it in a way that makes sense
12888 2004-08-23 14:10 jordi
12890 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12891 properties and methods
12893 2004-08-23 13:55 pbartok
12896 - Properly fixed Jordi's last fix
12897 - Now uses Cursor's Position property instead of calling XplatUI
12900 2004-08-23 13:44 jordi
12902 * PaintEventHandler.cs: Adding missing attribute
12904 2004-08-23 13:39 pbartok
12907 - Implemented Position property
12909 2004-08-23 13:39 pbartok
12911 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12912 - Added method to move mouse cursor
12914 2004-08-23 13:39 pbartok
12917 - Fixed setting of background color
12918 - Added method to move mouse cursor
12920 2004-08-23 13:16 jordi
12922 * Control.cs: avoids null exception
12924 2004-08-22 17:46 jackson
12926 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12929 2004-08-22 17:40 jackson
12931 * XplatUIX11.cs: Add some missing locks
12933 2004-08-22 15:10 pbartok
12935 * Control.cs, Form.cs:
12936 - Removed OverlappedWindow style from Control, instead it's default
12938 - Made form windows OverlappedWindow by default
12940 2004-08-22 13:34 jackson
12942 * ScrollBar.cs: Update the position through the Value property so
12943 the OnValueChanged event is raised.
12945 2004-08-22 12:04 pbartok
12948 - Added Cursor.cs and UserControl.cs
12950 2004-08-22 12:03 pbartok
12953 - Started implementation, not usable yet
12955 2004-08-22 12:00 pbartok
12958 - Implemented UserControl (complete)
12960 2004-08-21 19:20 ravindra
12962 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12964 2004-08-21 18:49 ravindra
12966 * ToolBar.cs: Probably this completes the missing attributes in
12969 2004-08-21 18:03 ravindra
12971 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12972 Fixed toolbar control signatures.
12974 2004-08-21 16:32 pbartok
12979 2004-08-21 16:30 pbartok
12984 2004-08-21 16:19 pbartok
12986 * Control.cs, Label.cs:
12989 2004-08-21 15:57 pbartok
12992 - Added loads of debug output for development
12993 - Fixed typo in method name
12995 2004-08-21 15:52 pbartok
12997 * ToolBarButtonClickEventArgs.cs:
12998 - Added missing base class
13000 2004-08-21 14:53 pbartok
13003 - Updated to match new GrabWindow signature
13005 2004-08-21 14:51 pbartok
13007 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13008 - Added method to get default display size
13010 2004-08-21 14:23 pbartok
13012 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13013 - Added method to query current grab state
13014 - Added argument to allow confining a grab to a window
13016 2004-08-21 14:22 pbartok
13019 - Added [Flags] attribute so that modifiers can be used in bitwise
13022 2004-08-21 14:21 pbartok
13024 * TrackBar.cs, ScrollBar.cs:
13025 - Replaced direct XplatUI calls with their Control counterpart
13027 2004-08-21 13:32 pbartok
13030 - Implemented Created property
13032 2004-08-21 13:28 pbartok
13035 - Implemented ContainsFocus
13037 2004-08-21 13:26 pbartok
13040 - Implemented CausesValidation
13042 2004-08-21 13:21 pbartok
13045 - Implemented CanFocus
13046 - Implemented CanSelect
13047 - Implemented Capture
13049 2004-08-21 12:35 pbartok
13052 - Fixed bug with Async message handling
13053 - Implemented getting the ModifierKeys
13055 2004-08-21 12:32 jackson
13057 * AsyncMethodResult.cs: Make sure we have the mutex before we
13058 release it. Fixes BeginInvoke on windows
13060 2004-08-21 11:31 pbartok
13062 * XplatUIWin32.cs, XplatUIX11.cs:
13063 - Drivers now return proper mouse state
13065 2004-08-21 10:54 jackson
13067 * Control.cs: Implement EndInvoke
13069 2004-08-21 10:48 jackson
13071 * Timer.cs: Remove unneeded finalizer
13073 2004-08-20 19:52 ravindra
13075 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13076 in mouse event handling in the ToolBar control.
13078 2004-08-20 19:50 ravindra
13080 * ImageList.cs: Changed draw method to use the arguments passed in
13083 2004-08-20 18:58 pbartok
13085 * XplatUIStructs.cs:
13086 - Added private message for async communication
13088 2004-08-20 17:38 ravindra
13090 * Control.cs: Made RightToLeft property virtual and removed a
13093 2004-08-20 14:39 jordi
13095 * ThemeGtk.cs: use style_attach
13097 2004-08-20 14:39 pbartok
13100 - Added jackson's Async code from X11 to Win32
13102 2004-08-20 14:09 pbartok
13105 - Added all new files
13107 2004-08-20 14:09 pbartok
13110 - Added call to set window background color
13112 2004-08-20 14:03 pbartok
13114 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13115 - Added method for setting the window background
13117 2004-08-20 14:02 pbartok
13120 - Added method for setting the background color
13121 - Added handling for erasing the window background
13123 2004-08-20 13:45 jordi
13125 * TrackBar.cs: fixes timer, new properties and methods
13127 2004-08-20 13:34 jackson
13129 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13132 2004-08-20 13:22 jackson
13134 * Timer.cs: Timer Tick events are now handed through Controls Async
13135 mechanism so the callbacks are executed in the same thread as X
13137 2004-08-20 13:19 jackson
13139 * XplatUIDriver.cs: Expose functionality to send async messages
13142 2004-08-20 13:18 jackson
13144 * Control.cs: Implement Begininvoke
13146 2004-08-20 13:14 jackson
13148 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13149 messages through the driver
13151 2004-08-20 13:12 jackson
13153 * XplatUIX11.cs: Lock before all X operations. Also added Async
13154 method functionality through XSendEvent
13156 2004-08-20 13:11 jackson
13158 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13159 This will screw up on 64 bit systems)
13161 2004-08-20 13:10 jackson
13163 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13164 Async messages through X/Win32
13166 2004-08-19 19:39 pbartok
13169 - Updated code to match new HandleData.DeviceContext type
13171 2004-08-19 19:38 pbartok
13174 - Made DeviceContext a generic object to allow usage from various
13176 - Added support for queueing Windows messages
13178 2004-08-19 19:37 pbartok
13181 - Added generation of MouseEnter, MouseLeave and MouseHover events
13182 - Added cleanup on EndPaint
13184 2004-08-19 19:17 pbartok
13187 - Added handling of WM_MOUSEHOVER
13188 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13191 2004-08-19 18:55 jordi
13193 * ThemeGtk.cs: fixes button order
13195 2004-08-19 18:12 jordi
13197 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13199 2004-08-19 17:09 pbartok
13202 - Added Right property
13203 - Added RightToLeft property
13205 2004-08-19 16:27 jordi
13207 * ThemeGtk.cs: experimental GTK theme support
13209 2004-08-19 16:26 jordi
13211 * ITheme.cs, Theme.cs: move themes from an interface to a class
13213 2004-08-19 16:25 jordi
13215 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13218 2004-08-19 16:04 pbartok
13221 - Added colormap basics
13222 - Added a way to re-initialize with a different display handle
13223 - Fixed setting of the window background color
13224 - Added various X11 imports related to colors and colormaps
13226 2004-08-19 15:51 pbartok
13229 - Removed packing hints (Paolo suggested this a while back)
13230 - fixed colormap type
13231 - Added default Atom types
13232 - Added Screen and color structs and enums
13234 2004-08-19 15:39 pbartok
13237 - Added missing Draw() method
13238 - Added missing RecreateHandle event
13240 2004-08-19 15:30 pbartok
13243 - Added handling of WM_CLOSE
13245 2004-08-18 13:16 jordi
13247 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13250 2004-08-18 09:56 jordi
13252 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13254 2004-08-17 15:31 ravindra
13256 * SWF.csproj: Updated project.
13258 2004-08-17 15:25 pbartok
13261 - Drawing improvement; don't call UpdateBounds if we are not visible
13262 (or have been minimized)
13264 2004-08-17 15:24 pbartok
13267 - Finished IsVisible
13268 - Added Win32GetWindowPlacement
13270 2004-08-17 15:08 jackson
13272 * Panel.cs: Initial checkin of the Panel
13274 2004-08-17 14:25 pbartok
13277 - Fixed broken handling of default window sizes
13279 2004-08-17 13:29 jackson
13281 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13282 has a large startup time.
13284 2004-08-17 10:25 jackson
13286 * HandleData.cs: union areas properly
13288 2004-08-17 10:12 jackson
13290 * HandleData.cs: union areas properly
13292 2004-08-16 20:00 ravindra
13294 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13296 2004-08-16 18:48 ravindra
13298 * ToolBar.cs: Added attributes.
13300 2004-08-16 17:17 ravindra
13302 * SWF.csproj: Updated project.
13304 2004-08-16 17:16 jackson
13306 * XplatUIX11.cs: Check for more expose events before sending a
13307 WM_PAINT so they can all be grouped together. This makes dragging a
13308 window across another window redraw in a sane way.
13310 2004-08-16 15:47 pbartok
13313 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13314 support OnMouseEnter/Leave()
13315 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13318 2004-08-16 15:46 pbartok
13320 * XplatUIStructs.cs, XplatUIX11.cs:
13321 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13322 OnMouseEnter/Leave()
13324 2004-08-16 15:34 jackson
13326 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13327 sure messages get the message field set to WM_NULL if they are not
13330 2004-08-16 15:24 jackson
13332 * HandleData.cs: HandleData is used for storing message information
13335 2004-08-15 17:23 ravindra
13337 * ColorDepth.cs: Added attribute.
13339 2004-08-15 17:23 ravindra
13341 * SWF.csproj: Updated project for ToolBar Control.
13343 2004-08-15 17:20 ravindra
13345 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13346 control and also dos2unix format.
13348 2004-08-15 17:13 ravindra
13350 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13351 ToolBarButtonClickEventArgs.cs,
13352 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13353 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13355 2004-08-15 15:31 pbartok
13358 - First (mostly) working version
13360 2004-08-13 16:15 pbartok
13363 - Fixed Anchor default
13365 2004-08-13 15:43 pbartok
13368 - Changed GetCursorPos signature
13370 2004-08-13 15:42 pbartok
13372 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13373 - Changed signature for GetCursorPos
13375 2004-08-13 15:25 pbartok
13379 - Fixed resizing/exposure handling
13381 2004-08-13 15:22 jordi
13383 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13386 2004-08-13 14:55 jordi
13388 * TrackBar.cs: change from wndproc to events
13390 2004-08-13 13:00 jordi
13392 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13393 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13395 2004-08-13 12:53 pbartok
13398 - Changed GetWindowPos to also provide client area size
13399 - Fixed broken prototypes for several win32 functions
13401 2004-08-13 12:53 pbartok
13403 * XplatUI.cs, XplatUIDriver.cs:
13404 - Changed GetWindowPos to also provide client area size
13406 2004-08-13 12:52 pbartok
13409 - Added generation of WM_POSCHANGED
13410 - Changed GetWindowPos to also provide client area size
13412 2004-08-13 12:52 pbartok
13415 - Added Dispose() and destructor
13416 - Fixed resizing and bounds calculation
13418 - Added memory savings for invisible windows
13420 2004-08-13 12:46 jordi
13422 * TrackBar.cs: adds timer and grap window
13424 2004-08-13 10:25 jackson
13426 * Timer.cs: SWF Timer
13428 2004-08-12 16:59 pbartok
13430 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13431 - Implemented method to get current mouse position
13433 2004-08-12 14:29 jordi
13435 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13436 enhancement, fix mouse problems, highli thumb, etc
13438 2004-08-12 13:31 pbartok
13441 - Fixed Anchoring bugs
13443 2004-08-12 13:01 jackson
13445 * StatusBar.cs: Don't forget things
13447 2004-08-12 12:54 jackson
13449 * ThemeWin32Classic.cs: Handle owner draw status bars
13451 2004-08-12 12:54 jackson
13453 * StatusBar.cs: Implement missing properties, events, and methods.
13454 Handle mouse clicking
13456 2004-08-12 10:19 jackson
13458 * StatusBarPanelClickEventArgs.cs,
13459 StatusBarPanelClickEventHandler.cs: Classes for handling status
13460 bar panel click events
13462 2004-08-12 10:10 jackson
13464 * Control.cs: Add missing properties
13466 2004-08-12 09:46 pbartok
13468 * BindingsManagerBase.cs:
13469 - Name changed to BindingManagerBase.cs
13471 2004-08-12 09:25 jordi
13473 * ScrollableControl.cs: calls ctrlbase instead of exeception
13475 2004-08-11 16:28 pbartok
13477 * InputLanguageChangingEventArgs.cs:
13478 - Never check in before compiling. Fixes the last check-in
13480 2004-08-11 16:26 pbartok
13482 * InputLanguageChangingEventArgs.cs:
13483 - More signature fixes
13485 2004-08-11 16:20 pbartok
13487 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13488 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13489 ImageListStreamer.cs, InputLanguage.cs,
13490 InputLanguageChangedEventArgs.cs,
13491 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13492 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13493 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13494 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13497 2004-08-11 16:16 pbartok
13501 - Added .Net 1.1 method
13503 2004-08-11 15:25 pbartok
13506 - Fixed BindingManagerBase.cs filename
13508 2004-08-11 15:22 pbartok
13510 * BindingManagerBase.cs:
13511 - Was checked in with wrong filename
13513 2004-08-11 14:50 pbartok
13518 2004-08-11 13:41 jordi
13520 * XplatUIWin32.cs: Fixes ClientRect
13522 2004-08-11 13:19 pbartok
13524 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13526 - We had SetWindowPos and MoveWindow to set window positions and
13527 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13528 keep SetWindowPos as matching counterpart
13529 - Added some X11 sanity checking
13531 2004-08-11 12:59 pbartok
13534 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13535 (It seems that SetBounds is just a front for SetBoundsCore and
13536 SetBoundsCore updates the underlying window system and
13537 UpdateBounds is responsible for updating the variables associated
13538 with the Control and sending the events)
13539 - Major cleanup of Size handling; we now have two sizes, client_size
13540 and bounds. Bounds defines the window with decorations, client_size
13543 2004-08-11 12:55 pbartok
13545 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13546 - Added method to calculate difference between decorated window and
13549 2004-08-11 12:54 pbartok
13552 - Forcing redraw on resize
13554 2004-08-11 11:43 pbartok
13557 - Removed disposing of the actual images when the list is disposed
13559 2004-08-11 09:13 pbartok
13562 - Now properly reparents windows
13564 2004-08-11 08:37 pbartok
13569 2004-08-11 07:47 pbartok
13572 - Rewrote the collection stuff. Might not be as fast now, not
13573 keeping the number of children around and accessible directly, but
13574 it's more straightforward
13576 2004-08-11 07:44 pbartok
13578 * AccessibleObject.cs:
13579 - Fixed to match ControlCollection rewrite
13581 2004-08-11 07:43 pbartok
13584 - Added missing creation of the collection list
13586 2004-08-10 20:08 jackson
13588 * StatusBar.cs: Get the paint message from WndProc
13590 2004-08-10 19:31 jackson
13592 * ThemeWin32Classic.cs: Create Brushes as little as possible
13594 2004-08-10 19:20 jackson
13596 * UICues.cs: Add Flags attribute
13598 2004-08-10 19:19 jackson
13600 * StatusBarPanel.cs: Signature cleanup
13602 2004-08-10 19:10 jackson
13604 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13605 Initial implementation of status bar item drawing
13607 2004-08-10 17:27 jordi
13609 * TrackBar.cs: add missing methods, properties, and restructure to
13612 2004-08-10 16:24 jackson
13614 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13615 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13618 2004-08-10 13:21 jordi
13620 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13621 enhancements and standarize on win colors defaults
13623 2004-08-10 12:52 jackson
13625 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13626 ThemeWin32Classic.cs: Implement DrawItem functionality
13628 2004-08-10 12:47 jordi
13630 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13632 2004-08-10 12:32 jordi
13634 * Control.cs: throw ontextchange event
13636 2004-08-10 11:43 pbartok
13639 - Added more to the still unfinished Dock/Anchor layout code
13641 2004-08-10 11:39 pbartok
13643 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13644 - Added GetWindowPos method
13646 2004-08-10 11:36 pbartok
13649 - Implemented several methods
13651 2004-08-10 09:47 jackson
13653 * TrackBar.cs: Allow control to handle buffering
13655 2004-08-10 09:41 jackson
13657 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13659 2004-08-10 09:24 jackson
13661 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13663 2004-08-10 09:09 jackson
13665 * StatusBar.cs: Let Control handle all the buffering.
13667 2004-08-10 09:08 jackson
13669 * Control.cs: Control will now handle the buffering code, so each
13670 control does not have to implement this.
13672 2004-08-10 08:34 jackson
13674 * XplatUIDriver.cs: Use default colors from the theme
13676 2004-08-09 17:12 pbartok
13679 - Fixed several bugs Ravindra pointed out
13681 2004-08-09 16:11 pbartok
13684 - Added incomplete dock layout code
13685 - Added support for mouse wheel
13687 2004-08-09 16:09 pbartok
13690 - Added handling for middle and right mousebutton
13691 - Added handling for mouse wheel
13692 - Added handling for key state and mouse state and position
13693 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13696 2004-08-09 15:40 jackson
13698 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13699 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13702 2004-08-09 15:37 jackson
13704 * StatusBar.cs: Initial implementation of StatusBar
13706 2004-08-09 15:36 jackson
13708 * ITheme.cs: Add support for drawing status bar and getting status
13711 2004-08-09 15:35 pbartok
13716 2004-08-09 15:34 jackson
13718 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13719 status bar item sizes
13721 2004-08-09 15:21 jackson
13723 * ThemeWin32Classic.cs: Use known colors for default control
13726 2004-08-09 15:12 jackson
13728 * ThemeWin32Classic.cs: Make the default font static, it is static
13729 in control so this doesn't change functionality and creating fonts
13732 2004-08-09 14:56 pbartok
13735 - Added GrabMode enum
13737 2004-08-09 14:55 pbartok
13739 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13740 - Removed Run method, was only required for initial development
13742 2004-08-09 14:51 pbartok
13744 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13745 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13748 2004-08-09 13:48 pbartok
13751 - Fixed default sizing for child windows
13753 2004-08-09 12:56 pbartok
13756 - Added generation of WM_DESTROY message
13757 - Added handling of window manager induced shutdown
13759 2004-08-09 11:31 jackson
13761 * ThemeWin32Classic.cs: New names for control properties
13763 2004-08-09 11:25 jackson
13765 * Control.cs: Use new color names
13767 2004-08-09 11:02 jackson
13769 * XplatUI.cs: Get default window properties from the theme
13771 2004-08-09 11:01 jackson
13773 * ITheme.cs: The theme engine now controls default window
13776 2004-08-09 11:00 jackson
13778 * ThemeWin32Classic.cs: Add default window color properties
13780 2004-08-09 10:17 jackson
13782 * ThemeWin32Classic.cs: Use correct default back color
13784 2004-08-09 10:05 jackson
13786 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13789 2004-08-09 09:56 jackson
13791 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13793 2004-08-09 09:54 jackson
13795 * Control.cs: Get default properties from the theme.
13797 2004-08-09 09:53 jackson
13799 * ITheme.cs: Themes now handle default control properties
13801 2004-08-09 09:53 jackson
13803 * ThemeWin32Classic.cs: Themes now handle default control
13804 properties so coloring will be consistent
13806 2004-08-08 16:54 jordi
13808 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13810 2004-08-08 15:08 jordi
13812 * XplatUIX11.cs: fixes keyboard crash
13814 2004-08-08 13:47 jordi
13816 * Label.cs: add cvs header info
13818 2004-08-08 12:09 jackson
13820 * ThemeWin32Classic.cs: Add pen_buttonface
13822 2004-08-08 11:52 jordi
13824 * Label.cs, LinkLabel.cs: [no log message]
13826 2004-08-08 11:34 jordi
13828 * ThemeWin32Classic.cs: Use Windows Standard Colours
13830 2004-08-07 17:32 jordi
13832 * TrackBar.cs: throw exceptions of invalid enums values
13834 2004-08-07 17:31 jordi
13836 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13839 2004-08-07 16:56 jackson
13841 * HorizontalAlignment.cs: Initial checkin
13843 2004-08-07 13:16 jordi
13845 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13848 2004-08-07 13:05 jordi
13850 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13851 GetSysColor defines
13853 2004-08-06 18:01 pbartok
13855 * ThemeWin32Classic.cs:
13856 - Fixed some rounding issues with float/int
13858 2004-08-06 18:00 jackson
13860 * DockStyle.cs, AnchorStyles.cs:
13862 Add flags and serializable attributes.
13864 2004-08-06 17:46 pbartok
13867 - Implemented GetParent
13869 2004-08-06 17:18 pbartok
13872 - Fixed some rounding issues with float/int
13874 2004-08-06 17:17 pbartok
13876 * X11Structs.cs, XplatUIX11.cs:
13877 - Fixed Refresh and Invalidate
13879 2004-08-06 15:30 pbartok
13881 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13882 - Fixed recursive loop when resizing
13883 - Improved/fixed redrawing on expose messages
13885 2004-08-06 09:53 jordi
13887 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13888 keyboard navigation
13890 2004-08-06 08:02 pbartok
13892 * X11Structs.cs, XplatUIX11.cs:
13893 - Fixed reparenting
13894 - Fixed window border creation
13896 2004-08-05 15:38 pbartok
13899 - Attempted fix for reparenting problems
13901 2004-08-04 15:14 pbartok
13904 - Fixed Invalidation bug (calculated wrong client area)
13905 - Added ClientSize setter
13907 2004-08-04 15:13 pbartok
13910 - Added AutoScale properties
13912 2004-08-04 15:13 pbartok
13915 - Added latest files
13917 2004-08-04 14:11 pbartok
13919 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13921 - Added Invalidate handling
13923 2004-08-03 17:09 jordi
13925 * XplatUIDriver.cs: fixes spelling mistake
13927 2004-07-27 09:53 jordi
13929 * TrackBar.cs: fixes trackbar events, def classname, methods
13932 2004-07-27 09:29 jordi
13934 * ScrollBar.cs: fixes scrollbar events
13936 2004-07-27 04:38 jordi
13938 * Control.cs: changes to be able to run winforms samples
13940 2004-07-26 11:42 jordi
13942 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13943 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13945 2004-07-26 05:41 jordi
13947 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13948 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13951 2004-07-22 09:22 jordi
13953 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13954 check link overlapping, implement events, and fixes
13956 2004-07-21 10:28 jordi
13958 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13960 2004-07-21 10:19 jordi
13962 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13963 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13964 LinkLabelLinkClickedEventArgs.cs,
13965 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13966 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13969 2004-07-19 13:09 jordi
13971 * Control.cs, Label.cs: label control re-written: added missing
13972 functionlity, events, and properties
13974 2004-07-19 10:49 jordi
13976 * Control.cs: fixes SetBounds logic
13978 2004-07-19 01:29 jordi
13980 * Control.cs: Call RefreshWindow only if the window has created
13982 2004-07-15 14:05 pbartok
13984 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13985 - Implemented ImageList and ImageList.ImageCollection classes
13986 - Added ColorDepth enumeration
13987 - Updated SWF VS.Net project
13989 2004-07-15 11:06 jordi
13991 * XplatUIStructs.cs: added MsgButons enum
13993 2004-07-15 11:03 jordi
13995 * Control.cs: added basic mouse handeling events
13997 2004-07-15 03:38 jordi
13999 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
14000 Vertical TrackBar control implementation
14002 2004-07-13 09:33 jordi
14004 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
14006 2004-07-13 09:31 jordi
14008 * Control.cs, Form.cs: commit: new properties and fixes form size
14011 2004-07-09 14:13 miguel
14013 * ProgressBar.cs: Spelling
14015 2004-07-09 11:25 pbartok
14018 - Removed usage of Rectangle for drawing. Miguel pointed out it's
14021 2004-07-09 11:17 miguel
14023 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
14025 * ProgressBar.cs: Fixed spelling for `block'
14027 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
14030 Avoid using the += on rect.X, that exposed a bug in the compiler.
14032 2004-07-08 23:21 pbartok
14034 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
14035 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
14036 BaseCollection.cs, Binding.cs, BindingContext.cs,
14037 BindingMemberInfo.cs, BindingsCollection.cs,
14038 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
14039 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
14040 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
14041 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
14042 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
14043 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
14044 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
14045 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
14046 FrameStyle.cs, GiveFeedbackEventArgs.cs,
14047 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
14048 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
14049 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
14050 InputLanguageChangedEventArgs.cs,
14051 InputLanguageChangedEventHandler.cs,
14052 InputLanguageChangingEventArgs.cs,
14053 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14054 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14055 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14056 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14057 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14058 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14059 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14060 QueryAccessibilityHelpEventArgs.cs,
14061 QueryAccessibilityHelpEventHandler.cs,
14062 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14063 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14064 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14065 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14066 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14067 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14068 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14069 XplatUIX11.cs, lang.cs: