1 2006-05-26 Jackson Harper <jackson@ximian.com>
4 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
5 values, it's faster and it's all we care about (we don't care if
6 the names aren't equal).
8 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
10 * XplatUIX11.cs: Once again, attempting to get layout just right.
12 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
14 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
15 the sizes of each link section, that will result in sizes that
16 match DrawString's layout (Fixes #78391)
18 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
20 * FileDialog.cs: If AddExtension property is true autocomplete the
21 extensions in SaveFileDialog correctly. Fixes bug #78453.
22 Set MyNetwork and MyComputer to "C:\" for windows. This should
23 fix part 8 of bug #78446 for now.
25 2006-05-26 Chris Toshok <toshok@ximian.com>
27 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
28 invalidate the current row header if we need to, but presumably
29 we'll invalidate the row corrsponding to the bounds or
31 (GridHScrolled): switch back to this method, as it's part of the
33 (GridVScrolled): same.
34 (OnMouseWheel): hack up something that more or less works. Call
35 GridHScrolled/GridVScrolled directly, instead of duplicating much
37 (EnsureCellVisibility): reinstate a bunch of this code, since we
38 can't just set the scrollbar Value and expect to do all the work
39 in the ValueChanged handler. Also, Call Update() after scrolling
40 in one direction so the other XplatX11.ScrollWindow call has the
41 proper stuff in the proper places.
42 (EditCell): set is_editing to true before calling .Edit.
44 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
45 don't bother comparing first.
46 (OnKeyPress): call grid.ColumnStartedEditing before calling
47 base.OnKeyPress. this will set is_changing and invalidate the row
49 (ProcessKeyMessage): for WM_CHAR messages, call
50 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
53 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
54 it's done in the DataGrid.
55 (NextState): call grid.ColumnStartedEditing, which takes care of
56 invalidating the row header (and setting is_changing).
58 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
59 here. it's done in the DataGrid.
61 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
63 * Control.cs: allow changing the cursor when the mouse position is
64 out of bounds but Capture is set.
65 * LinkLabel.cs: handle the case when the mouse button is pressed on the
66 linklabel but released somewhere else.
68 2006-05-25 Jackson Harper <jackson@ximian.com>
70 * TreeView.cs: When we get focus if there is no selected node make
72 - Remove some uneeded setup code from Draw.
73 * TreeNodeCollection.cs: If the tree doesn't have a top node when
74 a new node is inserted make the new node the top.
76 * Timer.cs: Use Utc time so that no local time zone stuff needs to
77 be used (should be faster).
79 2006-05-25 Chris Toshok <toshok@ximian.com>
81 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
82 problem with the last commit.
84 2006-05-25 Chris Toshok <toshok@ximian.com>
86 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
87 need the invalidate call here, while scrolling right-to-left via
88 the left arrow key (i.e. moving the editing cell while scrolling).
90 * DataGrid.cs (.ctor): remove the initialization of
91 ctrl_pressed/shift_pressed. We no longer track them using key
92 up/down handlers, but by using Control.ModifierKeys. Also, switch
93 to using ValueChanged handlers on the scrollbars instead of
94 Scrolled event handlers. This simplifies a bunch of the scrolling
96 (GridHValueChanged): rename from GridHScrolled, and change it to
97 work with the new event args.
98 (GridVValueChanged): same.
99 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
100 (OnMouseWheel): actually scroll the datagrid. Don't change the
102 (ProcessGridKey): correct all the keyboard navigation stuff I
103 could find. Ctrl up/down/left/right/home/end work now.
104 (EnsureCellVisibility): correct method name spelling. Also,
105 simplify this a touch by not explicitly calling the
106 ScrollToRow/ScrollToColumnInPixels methods. We just set the
108 (OnKeyUpDG): no need for this method now.
110 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
112 * LinkLabel.cs: display the OverrideCursor when hovering the label.
115 2006-05-25 Chris Toshok <toshok@ximian.com>
117 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
120 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
122 * Application.cs: Moved setting of is_modal and closing to before
123 we create the control, to allow the event handlers called as a
124 result of creation affect closing. Also removed Gonzalo's previous
125 change to setting DialogResult, the behaviour has been moved to
128 - ShowDialog(): Removed explicit creation of the form, let RunLoop
130 - ShowDialog(): If no dialog result is set, we need to return Cancel
131 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
132 the close is cancelled
134 2006-05-25 Jackson Harper <jackson@ximian.com>
136 * StatusBar.cs: We only need to update the sizes of the other
137 panels when we have auto size contents. Also we are only updating
138 the contents of the panel, not the borders, so compensate for the
139 border width (TODO: get this width from the theme somehow).
140 * TreeView.cs: Scrollable is true by default
141 - Use invalidate instead of refresh where needed
142 - Factor the scrollable value into scrollbar updating
143 - Update the scrollbars if the Scrollable property is altered
144 - Update the selected node if its ImageIndex is changed
145 - Handle null nodes in UpdateNode (mainly so we don't have to
146 check if selected is null when updating it
147 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
148 are factored into the visible count
149 - Use VisibleCount for clarity in the code
150 - When the font is changed we need to recurse through all the
151 nodes and invalidate their sizes
153 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155 * Application.cs: set the DialogResult to fixed when the main form is
156 hidden or destroyed while being modal.
158 2006-05-25 Miguel de Icaza <miguel@novell.com>
160 * Theme.cs: Use Tangoified messagebox icons.
162 (GetSizedResourceImage): Also cope with width = 0 and do not
163 trigger a warning in that case (0 means "give me your icon from
164 the resouce, no special size needed).
166 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
168 * Application.cs: Leave runloop if the the main modal form is
169 hidden (fixes #78484)
171 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
173 * BindingContext.cs : reject null datasource in Contains() and
175 * CurrencyManager.cs : check data_member validity when data_source
176 is dataset. When it is late binding, the initial position is -1.
178 2006-05-24 Jackson Harper <jackson@ximian.com>
180 * TreeNodeCollection.cs: Dont't recalculate the visible order on
181 inserted nodes that aren't visible. This changes the
182 max_visible_order which confuses scrollbar settings.
183 - Use the enumerator to get the prev node instead of duplicating
185 * TreeView.cs: Use new method for setting scrollbar values
186 - Don't set the bounds every time the scrollbar is updated
187 - When updating below the root node use an invalidate instead of a
188 refresh to prevent the child controls (scrollbars) from being
189 refreshed. (UpdateBelow still needs to be reworked anyways).
190 - Reenable SetBottom now that visible orders are set correctly,
191 added some debug code incase we ever get bad values there again.
192 - Set the scrollbar max to 2 less then the max value, this
193 compensates for the max value being one above the node count, and
194 for scrollbars adding one extra "notch".
195 - When drawing image nodes if there is an imagelist we draw the
196 first image in the list if the supplied image index is out of the
199 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
201 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
202 we receive a size change from the WM (Fixes #78503)
204 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
206 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
207 rectangle (Fixes #78501)
209 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
212 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
214 - Fixed MouseMove to no longer switch pressed state unless the left
215 mouse button is pressed. Atsushi provided the original patch (#78485)
217 2006-05-24 Jackson Harper <jackson@ximian.com>
219 * ScrollBar.cs: New internal methods that allow us to change a
220 couple values on the scrollbar (the most common case is maximum
221 and large change) without getting multiple invalidates.
223 2006-05-24 Chris Toshok <toshok@ximian.com>
225 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
226 (Edit): save off the original state in oldState, and set
227 grid.is_editing to true.
228 (OnKeyDown): abort editing if escape is pressed. also, call
229 NextState if space is pressed.
230 (OnMouseDown): call NextState.
231 (NextState): factor out shared code from OnKeyDown and OnMouseDown
232 here. Also, only invalidate the row header once (on the initial
233 is_changing switch) to save on redraws.
235 2006-05-24 Chris Toshok <toshok@ximian.com>
237 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
238 if the value in the cell is different than it was before. This
239 keeps us from triggering a layout when we move around a datarid
240 with a highlighted cell.
241 (Edit): suspend layout when creating/positining the text box, and
242 resume passing false so we don't ever actually re-layout.
243 (ReleaseHostedControl): same.
244 (EnsureTextBox): reformat slightly, and set WordWrap to false.
246 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
247 control-key sequences should go to the datagrid - remove that
248 lock. Also, modify the conditions under which we move between
249 cells when moving the cursor within a cell, and remove the "this"
250 and "base" from field accesses. We weren't even consistent, given
251 they all were in the base class.
253 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
255 * Binding.cs : (.ctor)
256 An obvious NRE fix for BindingTest.CtorNullTest().
258 2006-05-23 Chris Toshok <toshok@ximian.com>
260 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
261 them between lines. This fixes some quirks editing cells in the
264 2006-05-23 Jackson Harper <jackson@ximian.com>
266 * TreeView.cs: Use begin/end update when doing expand/collapse all
267 so that we don't get flicker on the scrollbar.
269 2006-05-23 Jackson Harper <jackson@ximian.com>
271 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
272 treenode calculations to be independant of the painting code. To
273 do this nodes track a visible order which is calculated by the
275 - Call new methods for expanding/collapsing nodes. These methods
276 use scrollwindow so we don't have to update everything below the
278 * TreeView.cs: Refactored drawing and scrolling code. We don't
279 need to update nodes when drawing anymore or calculate scrollbar
281 - Added new methods for expanding/collapsing nodes. These methods
282 use ScrollWindow so as to not have to redraw all the nodes below.
283 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
284 we add/remove nodes or sort.
285 - Handle removing the selected and the top node properly.
287 2006-05-23 Chris Toshok <toshok@ximian.com>
289 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
290 maybe this should actually happen in the datagrid code?
291 (EndEdit): no need to invalidate anything, given that
292 ReleaseHostedControl causes the datagrid to relayout, which
293 invalidates everything anyway.
295 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
297 (set_SelectionBackColor): call InvalidateSelection instead of
299 (set_SelectionForeColor): same.
300 (BeginEdit): Flesh this out a bit.
301 (CancelEditing): only do any of this if we're editing/adding.
303 (OnMouseDown): there's no need to cancel editing here, it's done
305 (SetCurrentCell): only invalidate the current row header if it's a
306 different row than the new one.
307 (ShiftSelection): fix this to work like MS does.
308 (ResetSelection): factor out the invalidation of selected_rows to
310 (SetDataSource): cancel any editing that's going on.
312 * DataGridColumnStyle.cs
313 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
314 call the non-interface version.
316 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
317 header rectangle with the clip rectangle so we don't redraw the
318 entire header for just a small area. Gets rid of the last flicker
319 when horizontally scrolling.
320 (DataGridPaintRow): same.
322 2006-05-23 Mike Kestner <mkestner@novell.com>
324 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
325 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
326 poorly placed checkbox on the MS control. Fixes Alex's unfiled
329 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
331 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
332 and this fixes #78493
334 2006-05-23 Miguel de Icaza <miguel@novell.com>
336 * Theme.cs (GetSizedResourceImage): Scale images if the proper
339 * FileDialog.cs: Do not change the background for the side bar as
340 it wont work nicely with the theme, and also reduces the artifacts
341 in rendering the icons (which I want to fix too).
343 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
344 resources, not resgen resources.
346 (PlatformDefaultHandler): Pull images using the new API.
348 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
350 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
351 a reference to the hwnd and will not remove it unless there are
352 no pending exposures (fixes #78341)
353 * XplatUI.cs: Improved debug
355 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
357 * MenuAPI.cs : don't handle OnClick event when it was not the left
358 button. Fixed bug #78487.
360 2006-05-23 Mike Kestner <mkestner@novell.com>
362 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
363 prefer submenus to the top menu for item lookup, to avoid popping down
366 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
368 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
369 Graphics.FillRectangle as the visual results are really bad (even
370 on win). We now draw perfect arrows (and perfect shadows when the
371 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
372 Pen.DashPattern to draw the dots of each line.
374 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
376 * FileDialog.cs: Update the filename combobox when navigating through
377 the ListView with the cursor keys. Fixes part 7 of bug #78446.
379 2006-05-22 Mike Kestner <mkestner@novell.com>
381 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
384 2006-05-22 Mike Kestner <mkestner@novell.com>
386 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
387 requests. Fix a misspelled parameter and a copy paste exception error
390 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
392 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
393 to get the same width/height (5/13) on X11 as the default font has on
394 win32. This means that our DefaultFont emSize is smaller than the
395 the MS SWF equivalent (even thought the width/height stays the same)
397 2006-05-20 Jackson Harper <jackson@ximian.com>
400 * MdiWindowManager.cs:
401 * InternalWindowManager.cs: Make sure to use the border width from
404 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
406 * PrintDialog.cs: Implements printer details
408 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
410 * FileDialog.cs: Added focus handling for PopupButtonPanel.
411 Fixes part 1 and 2 of bug #78446
413 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
415 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
416 instead of sticking to the first ever calculated value
418 2006-05-19 Mike Kestner <mkestner@novell.com>
420 * ComboBox.cs: fix mouse motion selection to use MousePosition and
421 PointToClient, since Capture is set. Fixes #78344.
423 2006-05-19 Mike Kestner <mkestner@novell.com>
425 * ListView.cs: match MS behavior in Details view where items are not
426 drawn if Columns.Count == 0.
427 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
428 Use a separate pen to draw the check, since changing the width affects
429 the box as well. Fixes #78454.
431 2006-05-18 Miguel de Icaza <miguel@novell.com>
433 * ListView.cs: ArgumentOutOfRangeException, single versions of the
434 exception should throw the name of the invalid argument.
436 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
437 there are no files listed.
439 2006-05-18 Jackson Harper <jackson@ximian.com>
441 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
444 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
446 * Control.cs: Brought back our old UpdateZOrder method as a private
447 function and switched our calls from UpdateZOrder to the new one.
448 This fixes the Paint.Net canvas disappearing bug.
450 2006-05-18 Jackson Harper <jackson@ximian.com>
453 * ThemeWin32Classic.cs:
454 * InternalWindowManager.cs: Move the drawing into the theme,
455 expose everything the theme should need from the window manager.
457 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
459 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
460 from the call to NativeWindow to avoid walking up the parent chain
461 further than needed (speeds up setting cursors and avoids setting
462 the wrong cursor if a parent has another cursor defined)
463 * Cursor.cs: When loading an icon as cursor, MS uses the center of
464 the icon as hotspot, not what's contained as hotspot in the icon
465 file. This fixes the perceived drawing offset seen with Paint.Net
467 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
470 - Store the calculated rectangle in Hwnd object and use it when
471 setting the client size
472 - Force Toolwindows to always be type Dock, to ensure they're on top
474 2006-05-18 Mike Kestner <mkestner@novell.com>
476 * ComboBox.cs: first pass at ComboBox rework. Layout is more
477 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
478 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
479 Substantial refactoring to remove confusing nested classes. Coding
480 standard and Get+Set->property refactorings. Shift to index based
481 highlighting in ComboListBox instead of constantly using IndexOf and
482 Items[]. Add invalidations on resize for DropDownList to fix ugliness
483 in FileDialog growth. Draw borders manually since Simple mode needs
484 to look like two independent controls. Make listbox border
485 conditional to DropDownStyle. Improved OwnerDraw support.
487 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
489 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
490 Don't set the disposed graphics to null, so we can throw the "right"
491 exception if the graphics is reused later (added a flag to avoid
492 double disposing). Some behaviours are different under 2.0 and are
493 filled under bug #78448.
495 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
497 * Control.cs: When double-buffering is enabled, we need to reset
498 our graphics context between paint calls. Otherwise, any
499 transformations and other alterations on the context will
500 become cumulative (#77734)
502 2006-05-18 Mike Kestner <mkestner@novell.com>
504 * ListView.cs: do focused item selection like MS on clicks.
505 Rework focus handling for ItemControl so LostFocus invalidates as
507 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
508 the ListView ItemControl has focus.
510 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
512 * XplatUIX11.cs: If client_window ends up being width or height zero
513 due to border settings, move it off window inside whole_window (#78433)
515 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
517 * Mime.cs: Shrink the mime file cache correctly.
519 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
521 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
523 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
525 * XplatUIX11.cs (AddExpose): More sanity checks
527 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
530 - AddExpose: Don't add expose ranges outside the size of our
532 - Cast opacity values to Int32 to avoid crashes with certain
534 - Added disabled code paths that protect against illegal cross-
535 thread painting (Developers.exe)
537 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
539 * ProgressBar.cs: Invalidate the control when it's resized
540 since block size is based on control size. (#78388)
542 2006-05-16 Miguel de Icaza <miguel@novell.com>
544 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
545 of setting the incoming argument to the "reset" value, we set the
546 this.datamember to string.empty (before we were invalidating the
551 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
553 * Form.cs: Only apply transparency settings after the form
554 is created. (Fixes #77800)
556 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
558 * ApplicationContext.cs: Grab the HandleDestroyed event so
559 we know when to fire OnMainFormClosed
561 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
563 * Application.cs: Introduced sub-class to allow tracking of
564 threads and centralized triggering of the event mess for
565 ThreadExit, AppExit, etc.. (#76156)
567 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
570 - Do not return a null icon index value for a mime subclass.
571 Instead try the main mime type class too.
572 - Seems that some newer distributions don't have a link to some
573 gnome default icons anymore. So check the default gnome dir too.
576 2006-05-16 Jackson Harper <jackson@ximian.com>
578 * MdiClient.cs: Don't paint the parent background image if we have
579 our own background image.
581 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
584 - PerformLayout: Do not shrink space filled by DockStyle.Fill
585 controls, all filled controls are supposed to overlap (#78080)
586 - UpdateZOrder is supposed to update the control's z-order in the
587 parent's z-order chain. Fixed to behave like that
588 - BringToFront: Removed obsolete code
589 - SendToBack: Simplyfied
590 - SetChildIndex: Trigger layout calculations when Z-order changes
591 since layout is done by z-order
593 2006-05-16 Chris Toshok <toshok@ximian.com>
596 * DataGrid.cs (set_AlternatingBackColor): use
597 grid_drawing.InvalidateCells instead of Refresh().
598 (set_BackColor): call grid_drawing.InvalidateCells.
599 (set_BackgroundColor): use Invalidate instead of Refresh.
601 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
602 invalidate the cell area.
604 2006-05-15 Chris Toshok <toshok@ximian.com>
607 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
608 on to DataGridPaintRow.
609 (DataGridPaintRow): take a clip argument, and only draw the cells
610 which intersect it. same with the not_usedarea.
612 * Theme.cs (DataGridPaintRow) add @clip parameter.
614 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
615 XplatUI.ScrollWindow.
618 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
619 with last column which was causing a gray swath to appear with the
620 XplatUI.ScrollWindow code.
622 2006-05-15 Chris Toshok <toshok@ximian.com>
624 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
625 use XplatUI.ScrollWindow.
626 (VerticalScrollEvent): use XplatUI.ScrollWindow.
628 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
630 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
632 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
634 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
635 file since there are no equivalent X11 cursors
637 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
639 * MonthCalendar.cs : DateTimePicker should reflect selected date
640 on mouse*up*, not mouse*down*. Fixed originally reported part of
643 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
645 * TabControl.cs : When argument index is equal or more than tab
646 count, just ignore. Fixed bug #78395.
648 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
650 * Control.cs: Dispose all child controls when control is diposed (#78394)
652 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
654 * ColorDialog.cs: Finally it is possible to select the color with
657 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
659 * PrintDialog.cs: Fix typo
661 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
663 * PrintDialog.cs: PrintDialog is not resizable
664 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
665 color. Made some ToolBar drawing methods protected virtual.
667 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
669 * PrintDialog.cs: Implementation of the PrintDialog
671 2006-05-12 Chris Toshok <toshok@ximian.com>
673 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
674 thumb, instead use MoveThumb. This has the side effect of making
675 most of the other thumb moving machinery use MoveThumb as well.
676 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
677 need to actually invalidate the rectangle where the new thumb will
679 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
680 We force an Update() after, so it's not as fast as it could be,
681 but at least there's zero flicker and no droppings.
682 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
683 (UpdateThumbPos): add another argument (dirty), which says whether
684 or not to calculate/add dirty regions which we later invalidate.
685 For cases where we know we're going to use MoveThumb, we pass
686 false for this. Otherwise, pass true.
688 2006-05-12 Jackson Harper <jackson@ximian.com>
690 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
693 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
695 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
696 and GetClipRegion methods and UserClipWontExposeParent property.
697 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
698 overriding UserClipWontExposeParent property, setting to false, since
699 Win32 handles the required expose messages to draw our clipped parent
701 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
702 PaintEventStart to set the user clip region if set.
704 - Now internally tracking the Region for the control since we need to
705 store it if the handle is not yet created and only set it when it
706 becomes created. Before setting the region forced handle creation
707 - Added code to draw the parents underneath a user-clipped region
708 * Hwnd.cs: Added UserClip property
710 2006-05-12 Chris Toshok <toshok@ximian.com>
712 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
715 (set_SmallChange): same.
716 (OnMouseUpSB): remove the call to refresh when releasing the
717 thumb. We shouldn't need it.
719 2006-05-12 Miguel de Icaza <miguel@novell.com>
721 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
722 AutoSize set to None, we do not need to relayout everything, we
723 just need to invalidate the current region.
725 (Draw): Do not draw the entire ClientArea, just redraw the
726 clip area being passed.
728 * MdiClient.cs: Make MdiClient constructor with the Form argument
731 2006-05-12 Jackson Harper <jackson@ximian.com>
733 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
734 parents background image, but strangely not their own.
735 - (DrawStatusBarPanel): Take into account horizontal alignment
736 when drawing the strings and icons.
738 2006-05-12 Mike Kestner <mkestner@novell.com>
740 * ListBox.cs: avoid invalidations for focus when the collection is
743 2006-05-12 Chris Toshok <toshok@ximian.com>
745 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
746 invalidate the entire thumb area. Call InvalidateDirty which
747 limits the redraw to the thumb itself and surrounding pixels.
749 * XplatUIX11.cs (ScrollWindow): optimize copying.
751 2006-05-12 Chris Toshok <toshok@ximian.com>
753 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
754 Figure out the positioning/layout in a single pass instead of
755 multiple recursive invocations. Speeds up the initial display of
756 the data grid. Also, make many things private that were
757 originally public but unused outside this class.
759 2006-05-11 Jackson Harper <jackson@ximian.com>
761 * MdiClient.cs: Improved layout code.
763 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
765 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
768 2006-05-11 Chris Toshok <toshok@ximian.com>
770 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
771 union of that will always be {0,0,width,height}.
773 2006-05-11 Jackson Harper <jackson@ximian.com>
775 * Form.cs: Match MS's DefaultSize for forms (they must have
776 changed the size in sp2).
778 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
780 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
782 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
784 * TextControl.cs : Fixed bug #78109. This incorrect position
785 comparison caused crash on automatic line split.
786 * TextBoxBase.cs : reduce duplicate code.
788 2006-05-10 Jackson Harper <jackson@ximian.com>
790 * MdiClient.cs: Active form is only sent to the back when using
791 the Next form functionality, when a form is clicked the current
792 active shouldn't be sent to the back.
793 - Layout the mdi windows when the container is first made visible.
794 * Form.cs: Give the MdiClient a ref to the containing form when we
797 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
799 * LinkLabel.cs : link_font could be uninitialized, so populate one
800 before actual use. Fixed bug #78340.
802 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
804 * XplatUIX11.cs : clipboard format native value is IntPtr.
807 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
810 - Instead of showing context menus directly we send WM_CONTEXTMENU,
811 which is passed up the parent chain by DefWndProc
812 - We now handle WM_CONTEXTMENU to display any menu, or pass it
813 to DefWndProc (#77956)
814 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
816 2006-05-10 Jackson Harper <jackson@ximian.com>
818 * MdiClient.cs: We need to remove the controls from the mdi
819 collection, when we close the window.
820 * MdiWindowManager.cs: Special handling of closing mdi windows.
821 * InternalWindowManager.cs: Make the close method virtual so the
822 mdi window manager can handle it specially.
824 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
827 - Recalculate grid when the data source has changed
828 - Matches styles provided by user from all data sources types
829 * DataGridTableStyle.cs: For columns that provided by the user set the
830 with the preferred value is there was unassigned.
831 * CurrencyManager.cs: throw OnItemChanged event
833 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
835 * PictureBox.cs: Don't animate until handle is created. Start animation
836 when handle is created.
838 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
840 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
842 * XEventQueue.cs: We don't need to provide the extra info
844 2006-05-10 Jackson Harper <jackson@ximian.com>
846 * MdiClient.cs: If the mdi clients parent form has a background
847 image set, we draw that background image for the mdi area's
850 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
852 * TextBoxBase.cs: Set IBeam cursor (#78347)
854 2006-05-10 Mike Kestner <mkestner@novell.com>
856 * ToolBar.cs: fix some text padding issues with ButtonSize
857 calculation. Update the default size to match MS documentation.
858 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
859 button size. Fixes #78296.
861 2006-05-10 Mike Kestner <mkestner@novell.com>
863 * ListBox.cs: use is_visible for scrollbar positioning in case the
864 control isn't on screen yet. Fix off by one with Right vs Width
865 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
867 2006-05-10 Jackson Harper <jackson@ximian.com>
869 * X11Dnd.cs: Drop to a control with another control on top of it.
870 * ToolBar.cs: Work on a copy of the buttons list, so that it can
871 be modified in click handlers. TODO: Look for similar problems in
874 2006-05-09 Jackson Harper <jackson@ximian.com>
876 * Form.cs: Window managers need the old window state when setting
878 * InternalWindowManager.cs: Allow the base mdi window manager to
879 handle more of the MDI only stuff (like maximize buttons).
880 * MdiWindowManager.cs: Fix some snafus in changing the window
881 state. Add all the menu functionality, for both popup and
883 * MdiClient.cs: When a new form is selected the currently
884 activated form is sent to the back, this matches MS.
885 - Implement a new method to activate the next mdi child window.
887 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
890 - Added new InternalCapture method to allow controls to prevent
891 the capture behaviour on the click handlers
892 - Switched to use InternalCapture
894 - Using InternalCapture to prevent mouse captures from being released
895 on mouse button release (Fixes #78100)
896 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
897 returns Form borders if a caption is present. (Fixes #78310)
899 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
901 * TreeNode.cs: Changed serialization .ctor to not require every field
902 to be present. (#78265)
903 * OwnerDrawPropertyBag.cs: Added serialization .ctor
905 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
907 * MimeIcon.cs: for is faster than foreach for strings.
909 2006-05-05 Mike Kestner <mkestner@novell.com>
911 * CheckedListBox.cs: update check handling code to not use selected.
912 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
913 behavior for visual feedback, motion response, shift/ctrl handling,
914 and properly deal with all 4 selection modes. Updates to bounds
915 handling logic. Add scroll wheel support. [Fixes #77842]
917 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
920 - Moved adding of Implicit controls into .ctor. That way, subsequent
921 creation of the controls will not cause them to think they are
922 toplevel windows (fixes #78200 header problem)
923 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
924 - Switched visibility setting of header control to use internal field
925 to avoid triggering handle creation
926 - Now checking if handle is created before causing a refresh when items
927 are added (This makes us now match handle creation time with MS)
928 * Splitter.cs: Removed loading of private splitter cursor, switched to
929 Cursors version now that that is loading the right ones
930 * Cursors.cs: Load proper splitter cursors from resources
931 * Cursor.cs: Added second method of loading resource cursors for the
932 VS.Net users amongst us
934 2006-05-05 Mike Kestner <mkestner@novell.com>
936 * ListView.cs: give header_control a minimum size based on the
939 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
941 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
942 window seems to do that with metacity, so set that type. (#78120)
944 2006-05-05 Mike Kestner <mkestner@novell.com>
946 * ListViewItem.cs: fix Details mode checkbox layout bug.
947 * ThemeWin32Classic.cs: draw a ListView column header for unused space
948 at the end of the header, if it exists. [Fixes for #78200]
950 2006-05-04 Jackson Harper <jackson@ximian.com>
952 * MdiClient.cs: Add a helper property to get the container form.
953 * MdiWindowManager.cs: We have to make sure to use the menu origin
954 when drawing the icons and buttons, this fixes maximized window
955 icons/buttons on win32.
956 * InternalWindowManager.cs: Reset the restore captions when a
957 window goes from Maximized to Minimized and vice versa. Move the
958 DrawMaximizedButtons into the MdiWindowManager source, tool
959 windows can't be maximized. NOTE: This could use a little
960 refactoring if time ever permits.
962 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
964 * TextBox.cs: Add MWFCategoryAttributes
965 * TextBoxBase.cs: Add MWFCategoryAttributes
966 * Form.cs: Add MWFCategoryAttributes
968 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
970 * Control.cs: Add MWFCategoryAttributes
971 * ScrollableControl.cs: Add MWFCategoryAttributes
973 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
975 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
976 Divider is true. Fix a little glitch in PropertyToolBar
979 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
982 - Dispose: Call base.Dispose, this causes the disposed event
983 to be fired (and probably other, more important stuff)
984 - SetVisibleCore: Set is_visible to true after creating the
985 window so that the window still gets created invisible (if
986 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
987 to generate a WM_ACTIVE message
988 * Form.cs: Call Dispose when we want to destroy the window, instead of
989 just destroying the handle (Dispose will do that for us)
991 - RootWindow also needs a queue, so we can properly process the
992 property change events from RootWindow (like Activate)
993 - Generatic synthetic WM_ACTIVE message when the active window is
996 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
998 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1001 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1003 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1004 for determining width and height (image might not be assigned if
1005 we're drawing an imagelist)
1007 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1009 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1010 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1012 * Theme.cs: No longer returns hardcoded menu height, instead calls
1014 * Form.cs (OnLoad): Scaling happens before triggering Load events
1017 2006-05-01 Mike Kestner <mkestner@novell.com>
1019 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1021 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1023 * TextBoxBase.cs: Removed Fixme
1024 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1026 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1029 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1030 the rectangle relative to the parent, considering borders. We
1031 don't really want that.
1032 - ScrollWindow: Fixed warning to be more understandable
1033 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1034 scrollbars and scroll only the visible area
1035 * RichTextBox.cs: Removed debug output
1037 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1039 * NumericUpDown.cs (Text): Just use base
1040 * UpDownBase.cs: Ensure txtView is created before using it
1042 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1044 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1045 casting to IntPtr to avoid 64bit overflow errors
1047 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1050 - AllowDrop: Don't force handle creation.
1051 - CreateHandle: Added call to tell driver if we're allowed to drop
1053 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1055 * FileDialog.cs: Remember the last directory not only for the
1056 current instance but also for new FileDialog instances.
1058 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1060 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1061 broke sending async messages
1063 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1066 - ScrollWindow: Fixed method. We finally generate expose events again
1067 for scrolled areas. This was causing 'garbage' when scrolling
1068 textbox and other controls that used ScrollWindow
1069 - Switched from using the regular queue for paint events to the MS
1070 model of 'generating' paint events when the queue is empty.
1071 We use the new XQueueEvent.Paint subclass to store which windows
1073 - AddExpose now takes the x/y/width/height of the exposed area
1074 and inserts the window into the paint queue if not already there
1075 - InvalidateWholeWindow: Switched to use new AddExpose method
1076 - UpdateMessageQueue: Added which queue to monitor for paint events
1077 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1078 the unlikely case nothing above handles it. We reset the expose
1079 pending states to get them off the queue.
1080 - GetMessage: Now pulls a paint event if no other events are in the
1082 - Invalidate: Switched to new AddExpose method
1083 - PeekMessage: Updated to understand pending paint events
1084 - UpdateWindow: Fixed logic bug. We were only updating if the window
1085 didn't need updating. Also switched to sending WM_PAINT directly,
1087 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1088 and random access Remove(). The random access is needed to handle
1089 UpdateWindow() where a WM_PAINT is sent directly without accessing
1091 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1092 allow for better feedback when scrolling. Scrollbars are small and
1093 the immediate update should make it 'feel' more responsive without
1094 slowing things down. ScrollBar still needs it's invaliate logic
1095 updated to not always invalidate the whole bar on certain changes.
1097 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1100 (BackColor): if the control does not support a transparent background,
1101 return the default backcolor when the parent backcolor is transparent.
1103 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1105 * Application.cs: Updated to new StartLoop/GetMessage API
1106 * RichTextBox.cs: Provide some output on RTF parsing errors
1107 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1108 new queue_id argument to GetMessage and PeekMessage to allow faster
1109 handling of per-thread queues in drivers.
1110 * Hwnd.cs: Added Queue tracking and property
1111 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1112 * XEventQueue.cs: Added thread trackingA
1113 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1115 - Implemented new per-thread queue
1116 - GetMessage: Fixed return/break behaviour on several cases. We were
1117 returning stale messages in some cases, instead of just processing
1120 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1122 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1124 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1126 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1127 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1129 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1131 * PropertyGridView.cs: Fix drop down width.
1133 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1135 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1136 a mess in DrawToolBar, so I removed one of them.
1138 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1140 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1141 needed (clip). Otherwise we get artifacts.
1143 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1145 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1147 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1148 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1149 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1150 if it matches the scale base font (avoids unneeded scaling)
1152 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1154 * X11DesktopColors.cs: One gtk_init_check should be enough
1156 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1158 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1161 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1164 - Generate OnTextChanged for Backspace even if we're only deleting
1165 the current selection
1166 - When setting the Text property, only select all text if the
1167 control does not have focus when it is being set. Otherwise
1168 just place the cursor at the beginning of the control
1170 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1172 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1173 Added a little helper to draw PropertyGrid ToolBar with a different
1174 border and a different BackColor.
1175 * PropertyGrid.cs: Some background parts didn't get painted with the
1176 correct background color. Added a class that helps us to draw the
1177 correct border for PropertyGridView and a class that helps us to
1178 draw ToolBars with a different backcolor
1179 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1181 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1183 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1184 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1186 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1188 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1189 into the palette entries. Also, since we're working on a copy
1190 we needed to copy the palette back onto the bitmap.
1191 * Cursor.cs: Same fix as XplatUIWin32.cs.
1193 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1195 * ImageListStreamer.cs: Need to read the var (or we're off)
1197 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1199 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1200 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1201 TextBoxBase.cs: Unused var fixes
1202 * AxHost.cs: Small 2.0 fix
1203 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1204 as it seems that is what at least Metacity expects. This will make
1205 icons show up on 64bit platforms. We still have some 64bit size
1206 issues, though, since the startup app window size still won't match.
1208 2006-04-25 Mike Kestner <mkestner@novell.com>
1210 * *.cs: cleanup newly reported exception var unused warnings.
1212 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1214 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1217 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1219 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1220 image. The image position is always the same, no matter if the
1221 button is pressed or not.
1223 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1225 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1226 selection and set the correct filename for SaveFileDialog.
1227 Patch by Emery Conrad.
1229 2006-04-24 Mike Kestner <mkestner@novell.com>
1231 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1232 check for item.X outside the ClientRect instead of item.Y. Fixes
1235 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1237 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1238 trust that value blindly and do some sanity check. Fixes bug #77814.
1240 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1242 * ImageListStreamer.cs: save the mask as a 1bpp image.
1244 2006-04-21 Mike Kestner <mkestner@novell.com>
1246 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1247 pass Checked and Indeterminate to the Theme Engine. Improve
1248 encapsulation with ListBox.
1249 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1250 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1251 nested types. Move all CheckState functionality to CheckedListBox.
1252 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1253 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1254 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1255 single base list. Fix scrollbar sizing and placement to mirror MS.
1256 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1258 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1259 for CheckedListBox by using new DrawItemState info. Center the
1260 checkboxes on the items. Use new StringFormat property.
1262 2006-04-18 Jackson Harper <jackson@ximian.com>
1264 * Form.cs: MdiChildren don't do default locations the same way as
1265 regular forms. This prevents a crash when trying to position the
1268 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1270 * PropertyGridTextBox.cs: Formatting, copyright
1271 * PropertiesTab.cs: Formatting
1272 * PropertyGrid.cs: Formatting
1273 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1274 click toggling of values
1276 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1278 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1279 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1280 every time a control is created
1281 * Application.cs: Removed obsolete EnableRTLMirroring method
1283 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1285 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1286 SelectedIndex to -1. Fixes bug #78121.
1288 2006-04-17 Jackson Harper <jackson@ximian.com>
1290 * Binding.cs: Handle null values for Current and BindingContext.
1291 This occurs when binding is a little delayed.
1292 * CurrencyManager.cs: return null for Current when there are no
1294 - Hookup to the listchanged event on the DataView and update
1295 bindings when the list is changed. This fixes late binding of
1298 2006-04-17 Jackson Harper <jackson@ximian.com>
1301 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1304 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1306 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1308 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1309 with the correct ButtonState
1311 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1313 * XplatUIX11.cs: Improved distinguishing between window types to
1314 tell the WM a type closer to what the app wants (Fixes #78107)
1316 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1318 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1321 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1323 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1324 drawing code to reflect the size grip changes
1326 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1328 * ImageListStreamer.cs: fix handling of the mask that follows the main
1329 bitmap when deserializing and serialize it properly. The generated mask
1330 should better be a 1bpp image, but I'll do that later.
1332 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1334 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1335 path doesn't fit into some of our Current.Places
1337 2006-04-13 Jackson Harper <jackson@ximian.com>
1339 * ComboBox.cs: Use borders instead of drawing our own decorations,
1340 try to obey correct rules for heights.
1343 * ThemeClearLooks.cs:
1344 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1345 this is now handled by borders.
1346 - Remove unused DrawListBoxDecorationSize method.
1348 2006-04-13 Mike Kestner <mkestner@novell.com>
1350 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1353 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1355 * ThemeWin32Classic.cs:
1356 - Fixed CPDrawStringDisabled
1357 - Corrected drawing of disabled menu items
1358 - Fixed drawing of disabled radio buttons (bug #78095)
1359 - Draw check in a disabled CheckBox with color ControlDark
1361 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1363 * Form.cs: Use the provided width when calculating the menu size;
1364 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1365 and ClientSize.Width won't be updated yet
1366 * Application.cs: Use Visible instead of Show() to make form visible,
1367 this way we create the handle later and menusize is considered
1369 2006-04-12 Mike Kestner <mkestner@novell.com>
1371 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1374 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1376 * TextBox.cs: Implemented context menu
1378 2006-04-12 Mike Kestner <mkestner@novell.com>
1380 * ListView.cs: implement box selection. fixes #77838.
1381 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1383 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1385 * XplatUIX11.cs: Added setting of window type when transient window
1386 is created (metacity would move it otherwise)
1387 * X11Structs.cs: Added WINDOW_TYPE atoms
1388 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1389 background (the control is Opaque but still wants transparent
1392 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1394 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1395 that set Opaque but don't mean it (like all ButtonBase-derived
1396 controls) to still draw their background
1397 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1400 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1402 * Control.cs (PaintControlBackground): Set the graphics object
1403 on our PaintEvent to null to prevent it from being disposed
1404 when the PaintEvent gets disposed
1406 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1408 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1409 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1411 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1414 - Added transparency check to BackColor property. Transparent
1415 backgrounds are only allowed if the control styles permit it
1416 - Added recursive painting of parent control background and
1417 foreground if a control with a transparent backcolor is drawn
1418 (Thanks to Tim Ringenback for providing his 'hack' as a base
1419 for this patch) Fixes #77985 and #78026.
1420 - Added Opaque style check before calling OnPaintBackground, no
1421 need to draw the background if the control is opaque
1422 - Removed ControlAccessibleObject owner variable (inherited from
1423 base, no need to define again)
1424 - Added some documentation links explaining the drawing events
1427 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1429 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1430 that the affected control is the located at the left border of our
1431 parent (Fixes #77936)
1433 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1435 * TextBoxBase.cs: When rendering disabled or readonly controls,
1436 draw the background with 'Control' instead of 'Window' color as
1437 long as the user hasn't specifically set a color
1439 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1441 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1442 since that won't be updated if the user types text (only if it's
1443 programatically set)
1445 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1447 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1448 layout changes do to app-triggered resizes will have the proper
1449 display rectangle for layout
1451 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1453 * ThemeWin32Classic.cs:
1454 - Make use of the SystemBrushes and SystemPens wherever possible
1455 - Corrected some highlight colors
1456 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1458 * Theme.cs: Added Empty field to CPColor struct
1460 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1462 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1463 is displayed when calculating the display rectangle. Thanks to Mike
1464 for teaching me the err of my ways.
1466 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1468 * ScrollableControl.cs:
1469 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1470 (instead of 0,0) and we now return the real width/height instead of
1471 just the clientrectangle, adjusted for padding. The rectangle is
1472 now cached and created by the new CalculateDisplayRectangle method.
1473 - Created new CalculateDisplayRectange method, which basically does
1474 what get_DisplayRectangle() did originally, but now using the
1475 right edge instead of DisplayRectangle to determine the size of
1477 - get_Canvas(): Fixed it to properly calculate canvas for
1478 right/bottom controls which seem to be placed to the right/bottom
1479 of any controls that have a fixed location
1480 - Removed TODO that's taken care of
1481 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1482 and SetDisplayRectLocation according to new MSDN2 docs
1483 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1484 event when that is called, this is added for compatibility
1485 - ScrollControlIntoView(): Implemented.
1486 - Switched scrollbars to be implicit, they shouldn't be selectable
1487 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1488 call it when the active control is set/changed
1489 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1490 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1491 implicit_control variable (used for native Win32 message generation)
1492 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1493 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1494 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1495 * XplatUIStructs.cs: Added ScrollBarCommands enum
1497 2006-04-10 Jackson Harper <jackson@ximian.com>
1500 * CheckedListBox.cs:
1507 * PrintPreviewControl.cs:
1513 * UpDownBase.cs: Fixup base event overrides.
1515 2006-04-06 Mike Kestner <mkestner@novell.com>
1517 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1518 all user-initiated value changes to min <= value <= max-thumbsz+1.
1519 (set_Value): check for vert/horiz when calculating new thumb position.
1520 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1522 (OnMouseMoveSB): refactor the thumb dragging code and refine
1523 invalidation logic to reduce flicker.
1524 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1525 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1526 (UpdateThumbPosition): small code readability cleanup
1528 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1530 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1533 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1535 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1537 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1539 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1540 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1541 This dramatically reduces the number of Pen.Dispose calls.
1542 Where possible call ResPool methods only once instead of calling it
1543 over and over again (for example for the same color).
1545 2006-04-06 Mike Kestner <mkestner@novell.com>
1547 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1548 Also remove an unused private field on the collection. Fixes #77972.
1550 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1552 * ThemeNice.cs: Added ToolBar drawing code
1554 2006-04-06 Mike Kestner <mkestner@novell.com>
1556 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1557 I'm assuming that means we need to look up the toplevel for the
1558 provided control. Fixes the crash trace in #77911 but exposes another
1559 crash in some strange reflection usage in NDocGui.
1561 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1563 * ThemeNice.cs: Gave it a little silver touch and added Images
1565 * FontDialog.cs: FontDialog is not resizable
1566 * FileDialg.cs: Added SizeGripStyle.Show
1568 2006-04-05 Jackson Harper <jackson@ximian.com>
1570 * KeyboardLayouts.cs: Remove warning.
1572 2006-04-05 Jackson Harper <jackson@ximian.com>
1574 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1575 all of our controls instead of Paint +=.
1590 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1591 use OnPaintInternal. Remove Width/Height and Visible checks in
1592 paint handler, this is done at a higher level now.
1593 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1594 * PaintEventArgs.cs: Add a handled flag so controls that don't
1595 want anymore painting after OnPaintInternal can make sure OnPaint
1598 2006-04-05 Mike Kestner <mkestner@novell.com>
1600 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1601 state of the form, so that we don't process events when Modal dialogs
1602 are up. Fixes #77922.
1604 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1606 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1609 2006-04-05 Mike Kestner <mkestner@novell.com>
1611 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1613 2006-04-05 Mike Kestner <mkestner@novell.com>
1615 * ListView.cs (HeaderMouseMove): null guarding for the over column
1616 when setting up the drag_to_index. Fixes #78015.
1618 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1620 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1621 in the taskbar. Transient windows seem to accomplish that.
1623 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1626 - Re-enabled CreateParams.X/Y code for FormStartPosition
1627 - Added code for manual placement when creating the Control
1628 - Incomplete patch to treat MDI forms differently when
1629 setting the ClientSizeCore. (Still need to figure out handling
1632 - When we're explicitly setting the X/Y position of a non-Child
1633 window, let the WM know. Metacity really wants this.
1635 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1637 * ThemeNice.cs: Added CPDrawButton
1639 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1641 * ThemeNice.cs: Changed the color for focused buttons and activated
1642 the arrows for small scroll buttons.
1644 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1646 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1647 anymore. Changed some method modifiers to protected (virtual)
1648 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1650 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1651 Updated drawing of menus, buttons and progressbars; added
1654 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1656 * ImageListStreamer.cs: implemented serialization/deserialization
1659 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1661 * ThemeWin32Classic.cs:
1662 - Removed all the DrawFrameControl stuff; CPDrawButton,
1663 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1665 - Updated and corrected the drawing code of CPDrawButton,
1666 CPDrawCheckBox and CPDrawRadioButton to better match ms
1667 - Updated theme checkbox and radiobutton code to use the CP*
1670 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1672 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1675 2006-03-31 Jackson Harper <jackson@ximian.com>
1677 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1679 * UpDownBase.cs: Don't CreateGraphics manually, use a
1680 Refresh. Ideally we would invalidate the correct areas here.
1682 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1685 - We now track the mapping state of windows. If a window (or
1686 one of it's parents) is not mapped we no longer permit
1687 WM_PAINT messages to be generated since we'd otherwise get
1688 lots of BadMatch X errors. Jackson did all the work figuring
1690 - Destroying the caret if the window it's contained in is
1691 destroyed. Can't use regular DestroyCaret method since it
1692 might fall into a drawing function (trying to remove the
1693 caret) and with that generate new BadMatch errors. Again,
1694 Jackson tracked this down.
1695 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1696 make sure we send the messages to all windows. (The old code
1697 would send the WM_DESTROY to the window, and then all child
1698 windows would be 'gone' because the WM_DESTROY handle lookup
1699 would no longer find the destroyed window)
1700 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1701 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1703 2006-03-31 Jackson Harper <jackson@ximian.com>
1705 * ScrollableControl.cs: Dont recalc if we are not visible.
1707 2006-03-31 Mike Kestner <mkestner@novell.com>
1709 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1710 the visibility branch.
1712 2006-03-31 Jackson Harper <jackson@ximian.com>
1714 * ScrollBar.cs: Cap values when incrementing/decrementing.
1716 2006-03-31 Mike Kestner <mkestner@novell.com>
1718 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1719 * ToolTip.cs: guard against timer expirations with no active control.
1720 Not sure why it happened.
1722 2006-03-31 Mike Kestner <mkestner@novell.com>
1724 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1726 * ToolTip.cs: Position the tooltip based on where the cursor is at
1727 popup time, not at MouseEnter time. Add a Down state so that we don't
1728 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1729 positioning offset. Lookup DisplaySize at positioning time, since it
1730 can theoretically change during invocation.
1731 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1732 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1734 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1736 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1737 Fixes behaviour when the Text property of the box is String.Empty
1739 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1741 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1742 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1745 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1747 * FileDialog.cs: Visual enhancement for the popup buttons in
1750 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1752 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1755 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1757 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1758 highlighted menu items to match ms
1760 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1762 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1764 2006-03-30 Mike Kestner <mkestner@novell.com>
1766 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1767 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1768 go active to account for HotLight to Selected transition.
1769 * MenuItem.cs: add internal Selected prop. Fill out the Status
1770 property by calculating it from item info. Add HotLight,
1771 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1773 2006-03-30 Mike Kestner <mkestner@novell.com>
1775 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1777 2006-03-29 Jackson Harper <jackson@ximian.com>
1779 * Form.cs: Implement TODO.
1781 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1783 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1784 missing proper dialog setup in the constructor
1786 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1788 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1790 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1791 - Fixed ResetBindings and removed TODO
1792 - Added check for cross-thread calls to get_Handle()
1793 - Added Marshaller attribute for set_Font to satisfy class status
1794 * FontDialog.cs: Removed TODOs that seemed implemented
1795 * UpDownBase.cs: Removed unneeded TODO and Fixme
1796 * MessageBox.cs: Implemented support for Default button and removed TODO
1797 * FileDialog.cs: Removed obsolete TODO
1798 * DomainUpDown.cs: Removed obsolete TODO
1799 * ButtonBase.cs: Removed obsolete TODO
1800 * XplatUIWin32.cs: Removed obsolete TODO
1802 - Removed obsolete TODO
1803 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1804 internal status updates
1805 - Making sure the active control is selected when the control is created
1806 * CurrencyManager.cs: Removed obsolete TODO
1808 2006-03-29 Mike Kestner <mkestner@novell.com>
1810 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1811 of PrintPreviewDialog and RichTextBox.
1813 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1815 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1816 DarkDark, Light and LightLight colors for a specific color
1817 * ThemeWin32Classic.cs:
1818 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1820 - Make use of the new ResPool helper CPColor
1821 - Draw ProgressBar and StatusBar with correct 3D borders
1823 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1825 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1827 2006-03-28 Mike Kestner <mkestner@novell.com>
1829 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1830 calculating col/row counts.
1832 2006-03-28 Mike Kestner <mkestner@novell.com>
1838 switch to explicit interface method implementation for some methods
1839 corcompare identifies as inconsistent with MS.
1841 2006-03-28 Mike Kestner <mkestner@novell.com>
1845 add a few missing methods from the class status output.
1847 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1849 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1852 2006-03-28 Mike Kestner <mkestner@novell.com>
1854 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1856 2006-03-27 Mike Kestner <mkestner@novell.com>
1858 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1859 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1861 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1863 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1865 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1867 * ThemeWin32Classic.cs:
1868 - GroupBox: Inserted a little gap between the text and the lines
1870 - Made the code in CPDrawBorder3D more readable
1871 - Corrected the drawing location of the up and down arrows in
1874 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1876 * ControlPaint.cs: Corrected line widths in DrawBorder for
1877 ButtonBorderStyle Inset and Outset
1879 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1881 * ThemeWin32Classic.cs:
1882 - Rewrote the totally broken CPDrawBorder3D method. That was
1883 one of the main problems for the terrific ThemeWin32Classic
1885 - Updated and corrected Button drawing
1886 - Correct the dimensions of the SizeGrip to match ms ones
1887 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1888 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1889 Border3DStyle.Sunken to match ms.
1891 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1893 * ThemeWin32Classic.cs: First small part of the "de-uglify
1894 ThemeWin32Classic" effort, SizeGrip
1896 2006-03-24 Jackson Harper <jackson@ximian.com>
1898 * XplatUIX11.cs: Give a max idle time of one second, this matches
1899 MS and forces an Idle event every second when there are no other
1900 events in the queue.
1902 2006-03-24 Mike Kestner <mkestner@novell.com>
1904 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1905 * ListView.Item.cs: fix layout issues with null image lists and images
1906 smaller than checkbox size.
1907 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1908 mode like MS does. It's weird, but consistent. ;-)
1911 2006-03-24 Mike Kestner <mkestner@novell.com>
1913 * ListView.cs: Scroll wheel support for the item control. Fixes
1916 2006-03-23 Jackson Harper <jackson@ximian.com>
1918 * ScrollableControl.cs: Special case negative sized areas, not
1920 * MonthCalendar.cs: Save the rect of the clicked date so we can
1921 use it for invalidation.
1922 - Try to cut down on the number of invalidates
1923 - Invalidate the rect the mouse is over and was over when moving
1924 the mouse, so we get the focus box following the cursor.
1926 2006-03-23 Mike Kestner <mkestner@novell.com>
1928 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1929 focus rectangle drawing. Fixes #77835.
1931 2006-03-23 Mike Kestner <mkestner@novell.com>
1933 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1934 the if and else if and reverting back to the original == check on the
1937 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1939 * FontDialog.cs: Update the example panel if the selected index of
1940 the fontListBox changes.
1942 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1944 * FileDialog.cs: Make FileDialog remember which directory it was in
1945 last in the same execution.
1947 2006-03-22 Mike Kestner <mkestner@novell.com>
1949 * FileDialog.cs: make the DropDownMenu on the toolbar display
1950 RadioChecks since they are mutually exclusive and that's what MS does.
1952 2006-03-22 Mike Kestner <mkestner@novell.com>
1954 * Theme.cs: add Color param to CPDrawMenuGlyph.
1955 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1956 checks and radio marks and arrows are visible on highlighted items.
1957 * ControlPaint.cs: update to use new Theme signature.
1959 2006-03-22 Mike Kestner <mkestner@novell.com>
1961 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1962 is active. Fixes #77870.
1964 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1966 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1967 to be focused/selected after startup
1969 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1972 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1973 CustomColors and ShowHelp properties
1974 - Some internal rewrites to get better results when using the
1977 2006-03-22 Mike Kestner <mkestner@novell.com>
1979 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1980 HoverSelection. Fixes #77836.
1982 2006-03-22 Mike Kestner <mkestner@novell.com>
1984 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1985 ToggleButtons. (De)Sensitize the Back button around a stack count of
1986 1, not 0. Update ButtonSize based on a pixel count of the win32
1987 control. Adjust the toolbar size/location for new button size.
1989 2006-03-22 Jackson Harper <jackson@ximian.com>
1991 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1993 * ScrollBar.cs: When doing increments and decrements we need to
1994 set the Value property so that ValueChanged gets raised. A
1995 possible optimization here would be to make an internal SetValue
1996 that doesn't invalidate immediately.
1997 * ToolTip.cs: Tooltips get added to their container (when
1998 supplied) so they get disposed when the container is disposed.
1999 - Don't create tooltips for String.Empty. This prevents all these
2000 little 2-3 pixel windows from showing up when running nunit-gui
2002 * Form.cs: Don't set topmost when setting the owner if the handles
2003 haven't been created yet. The topmost set will happen when the
2004 handles are created.
2006 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2009 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2010 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2011 visible (to allow them to recalculate their sizes)
2013 2006-03-21 Mike Kestner <mkestner@novell.com>
2015 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2016 methods. Removed a ton of redundant code. Still not really happy with
2017 the border rendering, but I think that's mainly because of the
2018 ControlDarkDark being black instead of a dark grey. Depending on how
2019 close we want to be, we might want to revisit those color choices.
2020 Among the new features added during the refactor were DropDownArrow
2021 pressed rendering, Disabled image rendering. Proper flat appearance
2022 boundary rendering. Removed the Divider and Wrapping dividers since I
2023 can't figure out any combination of themes and conditions to make the
2024 MS control draw a horizontal line on a toolbar despite what the
2025 Divider property docs indicate.
2026 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2027 conditions and incorrect layout. Updated to coding standard.
2028 * ToolBarButton.cs: refactored layout and positioning code from
2029 ToolBar to here. Invalidate wherever possible instead of forcing
2030 redraws of the whole toolbar.
2031 (Known remaining issues: explicit ButtonSize smaller than provided
2034 2006-03-21 Mike Kestner <mkestner@novell.com>
2036 * ContextMenu.cs (Show): use the position parameter instead of just
2037 showing at the MousePosition.
2039 2006-03-21 Jackson Harper <jackson@ximian.com>
2041 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2042 control handle this.
2043 * TreeNodeCollection.cs: If we are clearing the root node we need
2044 to reset top_node so calcs can still happen.
2045 * ThemeWin32Classic.cs: This is a Flags so we need to check
2048 2006-03-21 Jackson Harper <jackson@ximian.com>
2050 * DataGrid.cs: Create columns when the binding context has been
2052 * X11Structs.cs: Keysyms are uints.
2053 - Add size to fix build.
2055 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2057 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2059 - Added ResetMouseHover method to allow controls to retrigger
2060 hovering if they need it more than once
2061 - Implemented MouseHoverTime and MouseHoverSize properties
2062 * Timer.cs: Start() must reset the interval
2063 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2066 2006-03-21 Jackson Harper <jackson@ximian.com>
2068 * X11Keyboard.cs: improved layout detection. Move the nonchar
2069 tables into this file.
2070 * KeyboardLayouts.cs: Move the tables into resource files.
2072 2006-03-21 Mike Kestner <mkestner@novell.com>
2074 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2076 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2078 * Mime.cs: Various speed optimizations. Looking up mime types
2079 is now 2 times faster than before
2081 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2083 * CreateParams.cs: Added internal menu field
2085 - Switched call order for UpdateBounds; now we always call
2086 the one that also takes ClientSize, and we're calculating the
2087 client size via driver method in the others. The previous
2088 method of tracking client size by difference wasn't working
2089 for forms where even the starting client size wouldn't match
2090 the overall form size (due to borders) (Part of fix for #77729)
2091 - CreateParams(): Do not use parent.Handle unless the handle is
2092 already created. Causes havoc with Nexxia and throws off our
2093 creation of controls
2095 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2096 - Switched handling of ConfigureNotify over to new PerformNCCalc
2097 method (consolidates code)
2098 - Changed RequestNCRecalc to use new PerformNCCalc method
2099 - Added calls to RequestNCRecalc when menus and borders are changed
2100 to allow app to set NC size. (Part of fix for #77729) This matches
2101 when MS send a WM_NCRECALC on Win32 windows.
2102 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2103 (Part of fix for #77729). This matches what MS does, they also
2104 send that message when the form is made visible.
2105 - XException.GetMessage: Improved usability of X errors by including
2106 a translation of the window into Hwnd and Control class
2107 - Improved debug info for window creation, reparenting and destruction
2108 - Created helper method WindowIsMapped() [Currently not used]
2109 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2111 - CreateParams: Now setting our menu on the new internal menu field
2112 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2113 avoid calculating the same property twice
2115 - Improved usability of ToString() for debugging purposes
2116 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2117 determine the height of the menu, instead of just the font. This
2118 required to also create a graphics context and to keep a bmp
2119 around (for performance reasons)
2121 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2123 * MenuAPI.cs: Added OnMouseUp method
2125 - Now remembering the requested client size, avoids size errors
2126 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2127 instead of base if the menu is active. This is required due to
2128 control now capturing and releasing on down/up and it would
2129 prematurely release our menu capture
2131 2006-03-17 Jackson Harper <jackson@ximian.com>
2133 * KeyboardLayouts.cs: Add the czech layouts.
2135 2006-03-16 Jackson Harper <jackson@ximian.com>
2137 * Control.cs: Use the viewport space when sizing not the controls
2138 client size, so things like ScrollableControl that effect the
2139 viewport size (when scrollbars are added) are computed correctly.
2140 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2142 - Handle creating BindingManagers for null data sources.
2143 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2144 source, otherwise when rows are added they are added to the 'fake'
2145 datasource and we will crash when trying to set the position in
2147 - Use Implicit scrollbars on the datagrid so they arent
2150 2006-03-16 Jackson Harper <jackson@ximian.com>
2153 * InternalWindowManager.cs:
2154 * MdiWindowManager.cs:
2155 * X11Keyboard.cs: I really want Mike to love me again (fix
2158 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2161 - OnMouseDown: Switch to editing mode when clicking on the cell
2162 even if we're clicking on the cell that's currently
2164 - ProcessGridKey: Left/Right now wrap like MS.Net does
2165 - ProcessGridKey: Tab now knows to add a new row when tab is
2166 pressed in the cell of the last column of the
2168 - ProcessGridKey: Enter now adds another row if pressed in the last
2169 row and selectes the new row, same column cell
2170 - ProcessGridKey: Home/End navigate columns, not rows, like
2171 originally implemented
2172 - Broke ProcessKeyPreview code out into an extra Internal method
2173 so it can be called from the edit code
2174 * DataGridTextBox.cs (ProcessKeyMessage):
2175 - Switched to accept Tab keypresses
2176 - Added F2 handling to allow jumping to the end of the edited cell
2177 - Added logic to allow moving caret left/right inside edited cell
2178 and making the edited cell jump when the caret hits cell borders
2179 - Tab and Enter are now passed to the datagrid after being handled
2181 - Removed capture code now that Control handles it
2182 - set_SelectionStart now ensures caret is visible
2184 2006-03-16 Jackson Harper <jackson@ximian.com>
2186 * TrackBar.cs: Debackwards the increment/decrement for handling
2187 mouse clicks on the bar with vertical trackbars.
2188 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2191 2006-03-16 Mike Kestner <mkestner@novell.com>
2193 * ListView.cs: make shift/ctrl keyboard and mouse selection
2194 consistent with the MS control. Fix a bug in
2195 SelectedListViewItemCollection.Clear that was pissing me off for the
2196 better part of a day because the collection was being altered
2197 underneath us as we walked the list.
2199 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2201 * Control.cs: Not sure how we could miss this so long, but it seems
2202 that MS.Net has Capture set all the way from before calling
2203 OnMouseDown through sending the mouse events until after
2204 OnMouseUp. This will fix DataGrid's selection being set to end
2205 at the location of the MouseUp.
2207 2006-03-15 Jackson Harper <jackson@ximian.com>
2209 * BindingContext.cs: Check the binding after its added so that it
2210 can initialize the binding managers and hookup to events.
2211 * Binding.cs: Data members seem to sometimes include rows/cols in
2212 the format Row.Column we now take this into account.
2213 - Hookup to the position changed event so we can update the
2214 control when the position has changed in the data set.
2215 * CurrencyManager.cs: Take into account the row/col naming
2216 convention when creating dataset tables.
2217 * BindingContext.cs: Using a newer better way of storing
2218 datasource/datamember pairs. Hopefully this better matches MS for
2219 looking up binding managers.
2222 2006-03-15 Jackson Harper <jackson@ximian.com>
2224 * BindingContext.cs: The currency manager needs the data member
2225 name, if the member is a data set we use the name to find the
2227 * CurrencyManager.cs: When creating the list prefer an IList over
2229 - Attempt to create a DataTable from a DataSet (TODO: might need
2230 some better error checking here, although MS doesn't seem to have much)
2231 - If we have a DataTable create a view and use it as our list.
2233 2006-03-15 Mike Kestner <mkestner@novell.com>
2235 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2236 keyboard navigation. Support Up/Down/Left/Right selection correctly
2237 for all 4 View modes.
2238 * ListViewItem.cs: add internal row/col fields for icon layouts.
2240 2006-03-15 Jackson Harper <jackson@ximian.com>
2242 * TabControl.cs: Redraw the tabs when we resize so their newly
2243 calculated sizes are drawn on screen.
2244 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2245 composite characters.
2246 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2247 - filter events so that composite characters can be created
2249 * X11Structs.cs: Add XIMProperties enum.
2251 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2253 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2256 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2258 * Control.cs (PerformLayout): We don't need to consider visiblity
2259 for anchoring, only for docking. This fixes 'whacky' alignment
2260 in listbox and other controls that use implicit scrollbars after
2261 the previous PerformLayout patch
2262 * ListBox.cs: Switched to use implicit scrollbars
2264 2006-03-14 Mike Kestner <mkestner@novell.com>
2268 - chain up the "new event" overrides to base and use
2269 OnEvent to raise them. Part of fix for bug #76509.
2271 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2273 * FileDialog.cs: Do not select an item in the parent directory
2276 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2278 * Control.cs (PerformLayout): It would seem that we considered
2279 invisible windows for our layout. Not quite the right thing
2280 to do. Now we don't any longer, thereby fixing bug #76889.
2282 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2284 * Control.cs (CanFocus): I goofed. A control can have focus
2285 even though it's not selectable. Made it match MS docs.
2287 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2289 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2290 center by default (fixes #76895)
2291 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2292 all uses of Border3DSides.All with the explicit ORd together
2293 Left|Right|Top|Bottom because I assume that nobody was aware
2294 that All also implies a center fill. Most places I checked had
2296 * ProgressBarStyle.cs: Added
2298 2006-03-13 Mike Kestner <mkestner@novell.com>
2300 * ListView.cs: fix breakage in drag shadow header positioning
2301 from Peter's csc compilation fix.
2303 2006-03-13 Mike Kestner <mkestner@novell.com>
2305 * ListView.cs: fix NRE produced by backspacing twice in a focused
2308 2006-03-13 Mike Kestner <mkestner@novell.com>
2310 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2312 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2314 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2316 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2317 the allowed size before making programmatic size changes
2319 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2321 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2322 set, metacity is broken and will still use the emty sizes in
2323 the struct. (Fix for #77089)
2325 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2327 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2328 WindowExStyles and marked both enums as Flags
2329 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2330 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2331 to match WindowStyles split
2333 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2334 - Updated to match WindowStyles split
2336 - Fixed FosterParent creation, was using ExStyle on the Style field
2337 (This should help with Popup focus issues)
2338 - Updated to match WindowStyles split
2340 2006-03-13 Jackson Harper <jackson@ximian.com>
2342 * MdiWindowManager.cs: Use the system menu height. Fixes some
2343 strange sizing issues.
2345 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2347 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2349 - Scroll to caret after inserting text (#77672)
2350 - Make scroll range one pixel higher, fixes off-by-one error (and
2351 makes underlines visible on the last line)
2353 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2355 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2356 the keyboard state from being stuck with keys in 'pressed' state when
2357 focus is switched away via keyboard
2358 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2359 reset the keyboard if no X11 KeyUp events are expected to come
2360 * X11Structs.cs: Switched type of Visible to bool to match driver
2362 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2365 - Switched caret to be just 1 pixel wide, matches MS and looks less
2367 - Moved caret display 1 pixel down from the top of the control
2369 - InsertCharAtCharet: Update the selection start if moving the caret
2370 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2371 - No longer always creating the caret when the caret methods are
2372 called. Only the actual ShowCaret/HideCaret will do that now
2373 - Only setting caret visible if the owner control has focus
2374 - UpdateView: Added invalidation-shortcut logic for center and right
2375 aligned text. Previously we'd update all according to the left
2376 logic which caused drawing errors. Also fixed height of invalidated
2377 areas, now properly invalidating the whole area (was off-by-one)
2378 - owner_HandleCreated: Always generate the document when the
2379 handle is created; this ensures that
2381 - Fixed situation where caret would disappear under the right
2382 window border, also improved scrolling behaviour on left-
2384 - Fixed right-aligned textboxes to have a border to the
2385 right instead of the caret being under the right border
2387 - Switched from 'nested' to simple visible/not visible tracking
2388 for caret (part of fix for #77671)
2389 - No longer passing through translated FocusIn/FocusOut messages
2390 since we were notifying too often and the wrong windows. Instead
2391 we just notify our focussed window of receiving or loosing focus
2392 * XplatUIWin32.cs: Switched from 'nested' show/hide
2393 counting for caret to simple visible yes/no behaviour (part of
2396 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2398 * Mime.cs: Remove debug code...
2400 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2402 * MimeGenerated.cs: Removed
2403 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2404 and subclasses) from /usr/(local/)share/mime and
2405 $HOME/.local/share/mime.
2407 2006-03-10 Jackson Harper <jackson@ximian.com>
2409 * MdiWindowManager.cs: Recalc the NC area when a window is
2410 maximized/restored so that the menu area is drawn on forms that
2413 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2415 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2416 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2417 us to force a WM_NCCALCRESIZE message being sent. This is needed
2420 2006-03-10 Jackson Harper <jackson@ximian.com>
2422 * Form.cs: We need to use the ActiveMenu when calculating menu
2424 - Fix nullref when the window manager hasn't been created yet.
2425 * Control.cs: Fix nullref when we try to bring a control to the
2426 front that has no parent.
2427 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2429 - Add a dummy item to the maximized menu so it always has the
2430 correct height. Otherwise when there are no menus we don't get our
2434 2006-03-10 Jackson Harper <jackson@ximian.com>
2436 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2438 * Form.cs: Make the window_state internal so the window managers
2440 - When an MDI child is maximized let its window manager create the
2441 main menu (so it can add its icon).
2442 - Notify the window managers of state changes
2443 - Let the window manager paint its buttons and handle button
2444 clicks on the menu when it is maximized.
2445 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2446 window manager, since tool windows don't use it, only mdi windows.
2447 - Tell the main form that we don't want it to handle NCPAINT
2448 itself to avoid extra painting.
2449 - Handle clicks on a maximized windows menu.
2450 - Handle window state changes
2451 - Handle minimize/maximize clicks correctly by setting the window state.
2452 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2453 when clicking on the forms icon).
2454 - New method to create a forms maximized menu. This is its normal
2456 - Handle window state changes.
2457 - Handle sizing of maximized windows. Maximized windows are just
2458 drawn bigger then the parent visible area. All controls are still
2459 there, they are just outside the visible area (this matches windows).
2460 * MdiClient.cs: No scrollbars when a child window is maximized.
2461 - Let the children windows figure out how big they should be when
2462 sizing maximized windows.
2463 - Implement a version of ArrangeIconicWindows somewhat similar to
2464 Windows version. There are some little differences, but I don't
2465 think any app will rely on the layout of minimized mdi windows.
2467 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2469 * Padding.cs: Several fixes to allow compiling with csc 2.0
2471 2006-03-09 Jackson Harper <jackson@ximian.com>
2474 * MenuItem.cs: Cheap hack so we can add items to the list without
2475 the events being raised. This allows adding mdi items during
2476 drawing. TODO: Should probably find a better time to add the items.
2478 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2480 * ThemeWin32Classic.cs:
2481 - CheckBox_DrawText: Added logic to not wrap if not enough space
2482 is available (Fix for bug #77727)
2483 - RadioButton_DrawText: Added logic not to wrap if not enough
2484 space is available (Fix for bug #77727). Also removed some
2485 duplicate code, DrawString always drawing the regular text
2486 before hitting the if statement.
2488 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2490 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2492 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2494 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2495 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2496 methods. Moved the new 2.0 properties into alphabetical order with
2497 other properties and added MonoTODO tags
2499 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2501 * AutoScaleMode.cs: Added. Fix build.
2503 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2505 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2506 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2507 and was requiring premature handle creation for calls from above
2508 * Form.cs, Control.cs: Removed handle arguments from calls to
2509 CalculateClientRect()
2511 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2513 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2514 drag_column.column_rect is MarshalByRef and can't be used that way
2516 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2518 * AxHost.cs: Added deserialization constructor for
2519 AxHost+State (fixes 77743)
2521 2006-03-09 Mike Kestner <mkestner@novell.com>
2524 - Added column drag reordering for details view.
2525 - fixed behavior when mouse is dragged off column and
2526 AllowColumnReorder is false.
2527 * ColumnHeader.cs: clone the format too in Clone.
2528 * Theme.cs: add DrawListViewHeaderDragDetails method.
2529 * ThemeWin32Classic.cs:
2530 - impl new method for drawing drag column shadows and targets.
2531 - support column offset for details mode in DrawListViewItem.
2533 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2535 * TextControl.cs: Reset the char_count when the document is cleared
2536 (Fixes bug reported on mono-winforms mailing list)
2538 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2540 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2541 of calling base we simply process the key ourselves, since both
2542 DefWindowProc and the handled method would set m.Result.
2545 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2547 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2548 method also moves the window; instead implemented a copy of
2549 Control.ScaleCore (Part of fix for #77456)
2551 - Created new CreateGraphicsInternal method to allow providing
2552 a graphics context when no handle is created without triggering
2553 handle creation. (Part of fix for #77456)
2554 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2556 - Switched Constructor to require TextBoxBase instead of Control (to
2557 allow uncast access to CreateGraphicsInternal)
2558 - Safeguarded use of owner.Handle property. No longer accessing it
2559 unless the handle is already created.
2560 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2561 - Now triggering a recalc when owning control becomes visible
2562 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2563 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2564 premature handle creation (Part of fix for #77456)
2566 - We now only destroy our double-buffering buffers when the
2567 control is resized or disposed, but not when visibility
2568 changes. (The code even re-created them twice every time)
2569 - Now requiring a redraw of the buffer on visibility changes
2570 (fixes bug 77654 part 2)
2571 - Not passing OnParentVisibleChanged up unless the control
2573 - CanFocus: Fixed to match MS documentation
2574 - Focus: Fixed to return actual focus state and to check if
2575 setting focus is legal before setting it
2577 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2579 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2580 when to draw focus rectangle by looking at parent focus and
2581 selected state instead. This fixes TabPages on Linux sometimes
2582 having none or multiple focus rectangles.
2583 * XplatUIX11.cs (SetFocus):
2584 - Don't set the focus if the same window already has focus
2585 - Use SendMessage instead of PostMessage (like it's Win32
2586 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2587 to match MS behaviour
2588 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2591 2006-03-07 Jackson Harper <jackson@ximian.com>
2593 * PictureBox.cs: Revert line I accidently committed last week.
2595 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2598 - Added new IsRecreating and ParentIsRecreating properties to
2599 allow testing if RecreateHandle has been called on ourselves
2600 or one of our parents
2601 - WndProc(WM_DESTROY): If our control handle is being recreated
2602 we immediately need to create the handle when receiving the
2603 destroy, that way our child windows find a valid parent handle
2604 when they themselves are being recreated upon WM_DESTROY receipt
2605 (fix for bug #77654 part 1)
2607 - DestroyWindow: WM_DESTROY must be sent to our own window before
2608 notifying any child windows. MS documents that child windows
2609 are still valid when WM_DESTROY is received. (Control now relies on
2611 - Added some fine-grain debug options
2613 2006-03-06 Jackson Harper <jackson@ximian.com>
2615 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2616 box and base calculations off this.
2617 * MdiChildContext.cs:
2618 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2621 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2623 * Splitter.cs: In situations where the affected control is added
2624 to the parent's control list after the splitter, we would not
2625 populate affected. Now we try populating it on mousedown, if
2626 it's not already set, and force it to be re-set whenever our
2629 2006-03-03 Matt Hargett <matt@use.net>
2631 * Control.cs: implement Control.Padding
2632 * Padding.cs: -Padding.All returns -1 when constructing with the
2633 implicit default ctor
2634 -Padding.ToString() matches MS.NET
2635 * ContainerControl.cs: implement
2636 ContainerControl.AutoScaleDimensions
2637 * ListControl.cs: implement ListControl.FormattingEnabled
2638 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2640 * TabPage.cs: Implement UseVisualStyleBackColor.
2641 * PictureBox.cs: Implement PictureBox.InitialImage.
2643 2006-03-03 Mike Kestner <mkestner@novell.com>
2645 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2646 event declarations to proxy to base event.
2647 * ListViewItem.cs: update to use ItemControl.
2648 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2649 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2650 column header label rendering for 0 width columns.
2652 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2654 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2655 that causes the control to be created. Fixes #77476.
2657 2006-03-02 Jackson Harper <jackson@ximian.com>
2659 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2662 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2664 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2665 passed in for the EventArgs (fixes #77690)
2667 2006-03-01 Jackson Harper <jackson@ximian.com>
2669 * ScrollBar.cs: Refresh afterbeing resized.
2671 2006-02-28 Mike Kestner <mkestner@novell.com>
2673 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2674 Clean up a tracker compile warning.
2675 * MenuItem.cs: add internal PerformPopup method.
2678 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2680 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2681 implicit expose) when the text is set to null
2683 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2685 * RichTextBox.cs (FlushText): When newline is true, we always
2686 need to split the line, even if no text is on it and we may
2687 never eat newlines. (Fixes #77669)
2689 2006-02-28 Mike Kestner <mkestner@novell.com>
2691 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2692 and set Selected instead.
2693 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2696 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2698 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2700 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2703 - Got rid of the panel. All controls are now directly added to
2705 - It is now possible to set a font with the Font property
2706 - MinSize and MaxSize property do now what they should
2707 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2708 - Searching and selecting a font with the font textbox works now,
2709 the same applies to the style and size textbox
2710 - Draw the correct 3D border in the example panel
2711 - Fixed a little mem leak (unused fonts didn't get disposed)
2712 - Many other internal updates/rewrites...
2715 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2718 - InsertRTFFromStream: Added 'number of characters inserted' argument
2719 - set_SelectedRTF: Now using the number of characters to calculate
2720 the new location for the selection and cursor (x/y cannot be used
2721 due to potentially already wrapped text)
2723 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2725 * TextControl.cs: Added property and implemented means to allow
2726 disabling recalculation of a document (can be used to speed up
2727 multiple inserts and is needed to make RTF inserts predictable, see
2729 * RichTextBox.cs: Using the new NoRecalc property of Document to
2730 keep x/y insert locations predictable. Also makes it faster inserting
2733 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2735 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2736 it's easier for a child control to handle the other messages without
2737 having to duplicate the special functionality
2739 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2740 code to handle processing the key ourselves, in order to get
2741 access to the result of KeyEventArgs.Handled. We now only call
2742 ProcessKey if they key hasn't been handled already. Fixes #77526.
2743 - set_Text: If null or empty string is given, just clear the
2744 document. Fixes part of #77526
2746 2006-02-27 Jackson Harper <jackson@ximian.com>
2748 * SizeGrip.cs: Paint the background color before painting the grip
2749 so things look right.
2750 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2752 2006-02-27 Mike Kestner <mkestner@novell.com>
2755 - Restructure layout and invalidation model to remove a ton of
2756 flicker from the control and speed up performance in general.
2757 - Add manual column resize, flickers like crazy, but I already have
2758 some ideas on how I'll fix that. (#76822)
2759 - Merge the three Icon-based views into a single layout method.
2760 - Move item selection interaction logic from the item since
2761 interaction with the collections is more appropriate to the view.
2762 - Deselection on non-item clicks.
2764 - Encapsulate most of the layout. Add some internal props to trigger
2765 layout. Move to a model where Items invalidate themselves instead
2766 of just invalidating the whole control every time something changes.
2767 - Invalidate on Text/Caption changes.
2768 - switch to an offset based layout model to avoid having to absolute
2769 position every element on item moves.
2770 - correct checkbox layout to conform to MS layout.
2771 * ThemeWin32Classic.cs:
2772 - refactor some column header drawing code.
2773 - fix string justification for column headers (#76821)
2774 - make SmallIcon labels top justified for compat with MS impl.
2775 * ThemeClearlooks.cs:
2776 - adjust to new ListViewItem internal checkbox bounds api.
2778 2006-02-27 Jackson Harper <jackson@ximian.com>
2780 * Control.cs: Change where implicit controls fall in the zorder.
2781 They are now on top of all children.
2782 - Synced AddImplicit code with Add
2783 - Removed unused enumerator.
2784 * SizeGrip.cs: Remove the TODO as its been TODONE.
2786 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2788 * TextControl.cs(Insert): Combine the last lines unless the insertion
2789 string ends with \n\n, otherwise we leave one line too many (Fixes
2790 something I noticed with the testapp for #77526; the bug itself was
2791 already fixed in the previous checkin)
2793 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2796 - SelectionColor and SelectionFont methods no longer set absolute
2797 styles. Instead, the keep font or color respectively (This
2798 resolves a long-standing FIXME in the code)
2799 - When flushing RTF text, the insert code now considers text trailing
2800 behind the insertion point (Fixes the bug where when replacing
2801 the selected text via SelectedRTF the remainder of the line behind
2802 the selection would stay on the first insertion line)
2804 - AppendText now updates the selection points after inserting text
2805 - AppendText now ensures that the last tag (sometimes 0-length) of
2806 the document is used for the style information (Fixes part of
2809 - Created new FontDefiniton class to allow describing partial style
2811 - StreamLine() now takes a lines argument, to allow it to decide
2812 whether an encountered zero-length tag is the last in the document
2813 (which must be kept to not loose the font/color contained in it,
2815 - Created Combine() and Split() methods for Marker structs, to
2816 support marker updates due to reformatted documents (soft line
2818 - Implemented Document.CaretTag setter
2819 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2820 of the last line (Not the cause, but also exposed by bug #77220)
2821 - Added LineTag argument to InsertString method, to allow callers
2822 to force a certain tag to be used (required to force use of the
2823 trailing zero-length tag of a document)
2824 - Now updating markers in Combine(), to avoid stale tag markers
2825 - Added some method descriptions to aid maintenance
2826 - Implemented new FormatText concept, allowing additive/subtractive
2827 formatting by only specifying the components that are to be
2828 changed. This was needed for resolving the RTB.SelectedColor/
2829 RTB.SelectedFont fixmes
2830 - Added Break() support method to allow breaking up linetags (used
2831 for partial formatting)
2832 - Added GenerateTextFormat() method. It is used for partial
2833 formatting and allows to generate a full font/color from given
2834 attributes and an existing tag.
2836 2006-02-26 Jackson Harper <jackson@ximian.com>
2838 * XplatUIX11.cs: Use the correct caption height.
2839 - Translate hittest coordinates to screen coords to match MS.
2840 * XplatUIWin32.cs: When we create MDI windows we need to reset
2841 some of the style flags, so we get a nice blank window, and can
2842 draw all the decorations ourselves.
2843 - Set a clipping rectangle on the non client paint event, the
2844 window manager drawing code needs one.
2845 * Form.cs: The window manager needs to know when the window state
2847 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2848 don't need to factor in border and title sizes in these
2849 methods. TODO: Remove the args and fix the call points.
2850 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2852 - Let the driver set the cursors.
2853 - Improve active window handling
2854 - Correct sizes for title bars and buttons.
2855 - Match MS drawing better
2856 * MdiWindowManager.cs: We don't need to handle border style
2857 updates specially anymore.
2858 - Check for scrollbars when windows are done moving
2859 - Handle Active properly.
2860 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2861 correctly. I am spewing the exception though, so we don't hide the
2864 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2866 * DataGridViewRowPostPaintEventArgs.cs,
2867 DataGridViewCellPaintingEventArgs.cs,
2868 DataGridViewRowCollection.cs,
2869 DataGridViewRowPrePaintEventArgs.cs,
2870 DataGridViewCell.cs: Clear a few warnings and implement a few
2871 exceptions that should be thrown.
2873 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2875 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2876 'inheriting' our parent's (non-default) cursor. (Part of
2879 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2881 * XplatUIX11.cs: Fixed cast to make csc happy
2883 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2885 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2886 it's for the client area (part of fix for #77479 and needed
2887 for MDI window cursor handling)
2889 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2890 the appropriate default cursors and also passing the message
2892 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2893 for non-client areas
2895 2006-02-15 Jackson Harper <jackson@ximian.com>
2897 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2898 is a real MDI window
2900 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2902 * X11DesktopColors.cs: Instead of checking the desktop session
2903 string for "KDE" check if it starts with "KDE"
2905 2006-02-10 Jackson Harper <jackson@ximian.com>
2907 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2910 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2912 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2915 - Got rid of the panel. All controls are now directly added to
2917 - Changed to mono coding style
2919 2006-02-10 Jackson Harper <jackson@ximian.com>
2921 * InternalWindowManager.cs: We don't need the set visibility to
2922 false hack anymore now that peter has written beautiful shutdown
2925 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2927 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2928 where already explicitly destroyed
2930 2006-02-10 Jackson Harper <jackson@ximian.com>
2932 * MdiClient.cs: Handle the case where windows are too high or to
2933 the left and we need scrollbars.
2935 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2937 * MimeIcon.cs: Added some icons
2940 - Got rid of the panel. All controls are now directly added to
2942 - Changed to mono coding style
2943 - On Linux "My Computer" and "My Network" will now show some
2944 more usefull information. A new class, MasterMount, gathers
2945 this information from /proc/mount. Updated MWFFileView to make
2946 use of this information
2947 - Fixed a bug that caused FileDialog to crash when
2948 ".recently_used" file had a zero size
2949 - FilterIndex does now what it should
2951 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2954 2006-02-09 Jackson Harper <jackson@ximian.com>
2956 * ComboBox.cs: Don't touch if null.
2958 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2960 * Cursor.cs: 64bit safeness fix
2961 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2963 2006-02-09 Jackson Harper <jackson@ximian.com>
2965 * Form.cs: If a form is made into an MDI form update the styles so
2966 all the props can get set correctly.
2967 - Kill the mdi_container when we dont need it anymore.
2968 * InternalWindowManager.cs: Add missing NOT
2970 2006-02-08 Jackson Harper <jackson@ximian.com>
2972 * InternalWindowManager.cs: Respek clipping when drawing MDi
2975 2006-02-08 Jackson Harper <jackson@ximian.com>
2977 * Hwnd.cs: Add bits to track non client expose events.
2978 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2979 gives us a proper invalid rect and will allow for some nice
2980 optimizations with NC client drawing
2981 - MDI windows are children windows, so move their style handling
2982 into the child window block.
2983 * InternalWindowManager.cs: Remove a state reset that was
2984 getting invoked at the wrong time. Fixes managed windows getting
2985 into a 'stuck' captured state.
2987 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2989 * TextControl.cs (Document.ctor): Now initializing
2990 selection_anchor. Fixes #77493
2992 2006-02-07 Jackson Harper <jackson@ximian.com>
2994 * TrackBar.cs: The increment/decrements were backwards.
2996 2006-02-07 Mike Kestner <mkestner@novell.com>
2998 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
2999 to the instance itself.
3001 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3003 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3004 on ulongs and pointers, the size differs between 32bit and 64bit
3007 2006-02-07 Mike Kestner <mkestner@novell.com>
3009 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3010 for 64 bit platforms to work around a metacity bug.
3012 2006-02-07 Jackson Harper <jackson@ximian.com>
3014 * TrackBar.cs: Process the input keys we need, and hookup to
3015 KeyDown instead of using WndProc, so we get key messages.
3017 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3019 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3021 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3022 we need to translate the XdndVersion atoms array before sending it
3024 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3027 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3028 number of bits for the property, not the number of bytes. The
3029 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3030 but would not crash since it specified 8 bits instead of 4 bits)
3031 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3032 defined as XID -> long in the C headers)
3033 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3034 references since those are now IntPtr to begin with
3035 - Switched all Atom.XXX 'int' casts to IntPtr casts
3036 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3037 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3038 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3040 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3041 - Changed atom in HoverStruct to be IntPtr
3043 - Removed local DllImports, switched code to use those from XplatUIX11
3044 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3046 2006-02-06 Mike Kestner <mkestner@novell.com>
3048 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3049 method signatures in the import region. There may still be some
3050 lingering struct marshaling issues, as I didn't drill down into those.
3053 2006-02-06 Jackson Harper <jackson@ximian.com>
3055 * ComboBox.cs: Dont manually set the top_item, this is computed
3056 when the scrollbar position is set.
3058 2006-02-06 Mike Kestner <mkestner@novell.com>
3060 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3061 startup crashes on amd64. There's other fixes needed. All pinvoke
3062 usage of Atom needs to be mapped to IntPtr for example. And there are
3063 likely other int/long issues to be addressed.
3065 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3067 * FileDialog.cs: One more...
3069 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3071 * FileDialog.cs: Next try
3073 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3075 * FileDialog.cs: First part of fix for #77464
3077 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3079 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3080 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3081 AcceptButton border drawing.
3083 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3085 * Form.cs: Moved positioning of form after auto scaling is applied,
3086 otherwise it would possibly use wrong form size.
3088 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3090 * Control.cs (RecreateHandle): No need to re-create any child
3091 controls, the child windows will get destroyed automatically by
3092 the windowing system or driver, and re-created when the handle
3093 is being accessed the first time. Fixes #77456
3094 * Form.cs: No longer setting the form to closing if the handle is
3095 being recreated. This seems like the right thing to do, don't
3096 have a bug or testcase for this, though.
3098 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3100 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3101 controls to avoid unwanted side effects
3103 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3106 - ScaleCore needs to scale the bounds, not the ClientSize of the
3107 control. Fixes #77416.
3108 - DefaultSize is 0,0 for control
3110 - DefaultSize is 100, 20
3111 - SetBoundsCore: Now enforcing the height, no matter if the provided
3112 height is more or less than the preferred one, as long as AutoSize
3114 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3116 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3119 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3120 call unless both performLayout is true *and* we have a pending
3122 - ResumeLayout: MS does not completely nest Suspend and Resume,
3123 they bottom out at 0, fixed our code to match that.
3124 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3125 SetBoundsCore, we were updating even when we shouldn't. This fixes
3126 swf-anchors mis-anchoring when resizing the app fast and lots.
3127 - UpdateDistances: Now only setting the left and top distance if
3128 we have a parent and are not suspended, this is based on
3129 a suggestion by Don Edvaldson in bug #77355.
3130 - OnVisibleChanged: Fixed logic when to create the control. We may
3131 not create the control if we have no parent or if it's not visible;
3132 switched to using Visible property instead of is_visible field
3133 since the property also considers parent states. This fixes a bug
3134 when starting Paint.Net
3136 2006-02-02 Jackson Harper <jackson@ximian.com>
3138 * Form.cs: If the forms handle hasn't been created yet don't call
3139 into xplatui to make it top most, just set the topmost flag on the
3140 form in CreateParams
3141 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3143 2006-02-01 Jackson Harper <jackson@ximian.com>
3145 * ScrollableControl.cs: Refactored the Recalculate method a
3146 little, this wasn't handling all the variants of bottom and right
3147 bars needed to be added and added/removed based on their
3148 counterparts being added/removed (which changes the drawable
3149 size). Also we special case client widths and heights of 0 and
3150 don't add the scrollbar for those.
3152 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3155 - Added method to get AbsoluteGeometry(); currently unused, but might
3156 be used in the future, if we try again to figure out toplevel
3157 coordinates with some more crappy window managers
3158 - Added FrameExtents() method to retrieve the WM set decoration size
3159 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3160 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3162 - Added whacky_wm tracking var for metacity
3163 - Added logic to have default menu height if the actual menu height
3164 has not yet been calculated (part of fix for #77426)
3165 * Form.cs: Keep track whether client size has been set and re-set
3166 it if a menu is added/removed afterwards (Fixes #77426)
3168 2006-01-31 Jackson Harper <jackson@ximian.com>
3170 * Control.cs: When a new Site is set on the component attempt to
3171 pull the AmbientProperties from it.
3173 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3175 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3176 in the background of the owning form. Fixes #77332
3178 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3180 * MimeIcon.cs: Fix for #77409
3182 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3184 * XplatUIX11GTK.cs: Initial import
3186 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3188 * FixedSizeTextBox: fixes class signature
3190 2006-01-30 Jackson Harper <jackson@ximian.com>
3192 * FixedSizeTextBox.cs: New internal class that represents a
3193 textBox that will not be scaled.
3196 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3199 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3201 * XplatUIX11.cs: Retrieve default screen number instead of
3202 assuming 0. Attempted fix for #77318
3204 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3207 - GetWindowPos: When a window is parented by FosterParent, use
3208 the desktop instead of FosterParent as the base to get coordinates
3209 - CreateWindow: Don't make FosterParent the parent window for Popups
3210 if we don't want a taskbar entry, Popups automatically don't get one
3211 * Hwnd.cs: Need to call remove to actually remove the key from the
3214 2006-01-30 Mike Kestner <mkestner@novell.com>
3216 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3218 2006-01-30 Jackson Harper <jackson@ximian.com>
3221 * TreeNode.cs: Raise events no matter how the treenode is
3222 checked. Patch by Don Edvalson.
3224 2006-01-30 Jackson Harper <jackson@ximian.com>
3226 * TreeNode.cs: Signature fix.
3228 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3230 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3232 2006-01-20 Mike Kestner <mkestner@novell.com>
3234 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3235 event forwarding when menus are active.
3236 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3237 Most of the patch is pdb's with a little rework.
3239 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3241 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3242 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3243 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3244 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3245 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3246 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3247 the PaintWindowDecorations method
3248 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3249 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3250 * MenuAPI.cs: Made tracker window invisible
3252 - Removed GetMenuDC and ReleaseMenuDC methods
3253 - Implemented the client=false path for PaintEventStart and
3256 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3258 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3259 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3262 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3264 - CreateParams: Reworked the styles to match MS look'n'feel,
3265 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3266 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3268 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3270 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3271 window is not mapped, since otherwise every form that's being
3272 created is considered minimized, which is wrong.
3273 * Form.cs: Catching the exception and returning our internal value
3276 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3278 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3279 SetWindowMinMax() to have means to tell the driver about the minimum,
3280 maximum and maximized state window sizes. (Part of the fix for #76485)
3282 - Implemented tracking of minimum and maximum window size, now calling
3283 new SetWindowMinMax() driver method to tell the driver (Part of the
3285 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3286 (Completes fix for #76485)
3287 - Calling new SetWindowMinMax driver method when the handle for a
3288 form is created, to make sure the driver knows about it even if
3289 the values have been set before the window was created
3290 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3291 to avoid messing up our anchoring calculations (partial fix
3293 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3295 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3296 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3297 (and presumably other freedesktop.org compliant WMs). Left the
3298 assumption unmapped=minimized, needed for SetVisible to work.
3299 - Now setting the window state when creating windows
3300 - Fixed SetVisible to consider/set the window state when mapping
3301 a Form. We cannot set the state before it's mapped, and we cannot
3302 use Form.WindowState once it's mapped (since it would ask the
3303 driver and get 'normal'. Therefore, we grab the state before
3304 mapping, map, and then set state.
3305 - Implmemented SetWindowMinMax method; Metacity does not seem to
3306 honor the ZoomHints, though.
3308 - Removed MINMAXINFO (moved to XplatUIStructs)
3309 - Added SetWindowMinMax stub (on Win32 the only way to set that
3310 information is in response to the WM_GETMINMAXINFO message, which
3311 is handled in Form.cs)
3312 - Added logic to SetVisible to set the proper window state when a
3313 form is made visible (fixes #75720)
3315 2006-01-26 Jackson Harper <jackson@ximian.com>
3317 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3318 same way we handle them with Invoke.
3320 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3323 - Added tracking of window state so CreateParams can return
3324 the appropriate style
3325 - Moved setting of WS_CAPTION style in CreateParams to allow
3326 styles without caption
3327 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3328 control if the TextBox property is accessed. Fixes #77345
3330 - get_Created: now uses is_disposed and is_created to determine
3331 return value (suggested by Jackson)
3332 - CreateHandle: No longer exits if the handle is being recreated
3333 - RecreateHandle: If the handle is not yet created call the
3334 appropriate method to create either control or handle. If the
3335 control is already created CreateHandle will simply exit instead
3336 of just creating the handle
3337 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3338 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3341 - When DestroyWindow is called, instead of waiting for the
3342 DestroyNotification from X11, we directly post it to the WndProc
3343 and immediately dispose the hwnd object.
3344 Same applies to DestroyChildWindows, and this obsoletes the
3345 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3346 child windows before our own, to avoid X11 errors.
3347 - Removed the direct sending of WM_PAINT on UpdateWindow
3349 - Reworked DoEvents and GetMessage to allow access to internal queue
3350 even when trying non-blocking access to the queue. Fixes #77335.
3351 Based on a patch suggestion by Don Edvalson. The new private
3352 GetMessage can now also be used as a backend for a PeekMessage
3354 * XplatUI.cs: Improved debug output for CreateWindow
3356 2006-01-25 Jackson Harper <jackson@ximian.com>
3358 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3360 2006-01-24 Jackson Harper <jackson@ximian.com>
3362 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3363 when we have a MaxDropItems lower then the selected index.
3365 2006-01-24 Jackson Harper <jackson@ximian.com>
3367 * Control.cs: Don't allow selection of non visible controls, allow
3368 selection of controls without parents.
3370 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3372 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3373 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3375 2006-01-23 Jackson Harper <jackson@ximian.com>
3377 * UpDownBase.cs: Make the textbox handle all the selection and
3378 tabbing. This fixes tabing to updown controls.
3380 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3382 * TextBoxBase.cs: fixes exception thown the object was null
3384 2006-01-23 Jackson Harper <jackson@ximian.com>
3386 * ButtonBase.cs: Just use the base CreateParams. They set
3387 visibility and enabled correctly.
3390 * MonthCalendar.cs: Lets let the base set as much of the
3391 createparams as possible so we don't have duplicate code all over
3394 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3396 * ThemeGtk.cs: Added TrackBar and some experimental code to
3397 get double buffering back
3399 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3401 * DataGrid.cs: Allows row number set internally higher than the last
3402 when creating a new row. Restores the editing functionality.
3404 2006-01-20 Mike Kestner <mkestner@novell.com>
3406 * MimeIcon.cs: delay Image creation until the icons are accessed
3407 instead of creating 190 scaled images on GnomeHandler startup.
3409 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3411 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3412 first call base before processing the event. Fixes #77279
3414 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3416 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3417 that the stride for the GDI bitmap would match the stride of
3420 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3422 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3424 2006-01-19 Jackson Harper <jackson@ximian.com>
3426 * ComboBox.cs: Hookup the text controls keydown event so we get
3427 those when the text control has the focus.
3429 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3431 * Label.cs: Now using the base events instead of defining new ones;
3432 this allows us to just call the base properties without having to
3433 duplicate all base property logic
3435 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3437 * Label.cs: A label by default is not a tabstop (Fixes one of our
3438 failing nunit tests)
3440 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3442 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3443 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3445 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3447 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3448 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3451 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3452 constructor creates images that can't be saved. Part of the fix
3454 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3455 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3456 bug fix for handling window state in forms properly)
3458 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3460 * ThemeGtk.cs: Simplify ScrollBar drawing
3462 2006-01-18 Jackson Harper <jackson@ximian.com>
3464 * Splitter.cs: Set the default dock style for the splitter control
3467 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3469 * ThemeGtk.cs: Corrected StateType and ShadowType for
3472 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3474 * Control.cs: Make use of Theme.DoubleBufferingSupported
3476 - Added drawing for flat style buttons
3477 - Added ScrollBar drawing
3479 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3481 * ThemeClearlooks.cs: Removed some unneeded code.
3482 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3484 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3486 * LinkLabel.cs: We need to update the hover drawing when
3487 leaving the control as well.
3489 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3491 * DataGrid.cs: Clicking on non empty areas in the columns
3492 area was giving an exception
3494 2006-01-17 Jackson Harper <jackson@ximian.com>
3496 * ThemeWin32Classic.cs:
3497 * ListView.cs: Do not draw/clip the headers when the header style
3500 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3502 * DataGrid.cs: Fixes 77260
3504 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3506 * DataGrid.cs: Clicking on a column on a empty grid was giving
3509 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3511 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3512 or any keypress will crash the grid.
3514 2006-01-17 Mike Kestner <mkestner@novell.com>
3516 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3517 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3518 invisible/previously-visible items.
3521 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3523 * ThemeClearlooks.cs:
3524 - Added CL_Draw_Button method; now other theme controls that are
3525 not derived from button or do not have a button can draw buttons
3527 - Updated ComboBox drawing
3528 - Beautified RadioButton drawing
3529 - Corrected drawing of bottom and left tabs
3530 - Beautified DateTimePicker and MonthCalendar
3531 - Added CPDrawButton and CPDrawRadioButton
3533 2006-01-16 Jackson Harper <jackson@ximian.com>
3535 * ComboBox.cs: Set the initial value of the scrollbar to the
3536 current index. Reduce the numbers of refreshs and IndexOfs called.
3538 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3540 * FileDialog.cs: When the file listview is focused hitting the
3541 backspace key moves the fileview to the parent directory
3543 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3546 - Added RecreateHandle call when changing taskbar visibility to
3547 trigger reparenting in Win32 driver (Fixes #75719)
3548 - If a window has minimize or maximize buttons, it cannot have
3551 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3552 the toplevel form with FosterParent (A toolwindow not on the
3553 taskbar) (Fixes #75719)
3554 - Made FosterParent a toolwindow
3556 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3558 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3560 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3562 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3563 is currently over that control, make sure that tooltip_window.Text
3566 2006-01-13 Mike Kestner <mkestner@novell.com>
3568 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3570 2006-01-13 Jackson Harper <jackson@ximian.com>
3572 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3573 value passed. Also redraw the selected node when we recieve
3574 focus, so tabbing between trees works correctly.
3576 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3578 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3579 ~/.gconf/%gconf-tree.xml, so use
3580 .gconf/desktop/gnome/interface/%gconf.xml
3582 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3584 * TextControl.cs: Draw text in gray if control is disabled
3586 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3588 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3589 make sure it's always visible. Fixes #76680.
3591 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3593 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3595 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3597 * PageSetupDialog.cs: Added.
3598 * PrintDialog.cs: Attributes.
3599 * PrintPreviewControl.cs: Updates.
3600 * PrintPreviewDialog.cs: Updates.
3602 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3604 * Control.cs: Undid my selection check fix, since it's not needed
3606 - Now considering the presence of hscroll/vscroll when sizing
3607 vscroll/hscroll respectively. Fixed bug #77077
3608 - Added Left/Up/Down/Right to IsInputKey list to prevent
3609 ContainerControl from stealing them. This fixes what I broke
3610 with my last checkin.
3612 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3614 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3615 I finally understand how the property can be set without a setter :-)
3617 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3620 - Switched RunLoop to use static Message.Create to create a
3622 - Added PreProcessMessage call in runloop for keyboard events; this
3623 is part of the fix for #77219, I overlooked this originally in the
3624 MSDN doc for PreProcessMessage
3626 - Removed call to PreProcessMessage from handling of keyboard
3627 messages; it's supposed to be done in the message pump
3628 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3629 per MSDN documentation.
3630 - IsInputChar: All chars are input chars by default; removed the
3631 parent calling chain, MS does not document that
3632 - PreProcessMessage: If IsInputChar is true, we want to return false
3633 to allow dispatching of the message
3634 - When selecting the next control, now also check that we're not
3635 selecting ourselves again and therefore return a false positive.
3637 - Tried to match return values for IsInputKey and ProcessDialogKey
3638 to what MS returns; moved processing of our special keys outside
3639 ProcessDialogKey since MS does not seem to return true on those.
3640 - Moved code that previously was in ProcessDialogKey into new private
3641 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3642 - Reworked handling of WM_CHAR to not have to duplicate code from
3643 Control.cs anymore, instead we simply call down to base.
3645 2006-01-12 Jackson Harper <jackson@ximian.com>
3647 * ComboBox.cs: We always need to refresh the text area when
3648 EndUpdate is called. Fixes the combobox in the file dialog.
3649 * Control.cs: Don't create the creator_thread until the controls
3650 handle is created. Also in InvokeRequired we check if the
3651 creator_thread is null. This gives the effect of InvokeRequired
3652 returning true if the controls handle is not created yet, and
3655 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3658 - Added StartLoop() driver method. This is used to allow drivers to
3659 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3660 loop for a particular thread
3661 - Added EndLoop() driver method. This is called once the message
3662 pump for the thread is shut down
3663 - Added SupportsTransparency method to allow the driver to indicate
3664 opacity support for windows
3666 - Removed TODO attribute, completed AllowTransparency property
3667 - Added documented logic to Opacity
3668 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3669 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3670 versions of CompatibleTextRendering
3671 * X11Structs.cs: Added opacity atom to our atom enumeration
3672 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3673 of a form might be set before it's reparented by the WM, and we need
3674 the opacity value without calling up to Form)
3675 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3676 SupportsTransparency() driver methods
3677 * Application.cs: Now calling StartLoop and EndLoop driver methods
3679 - Added opacity atom registration
3680 - Added StartLoop()/EndLoop() methods. They're empty right now but
3681 will need to get implemented when we switch to a per-thread queue
3682 - Implemented SupportsTransparency() method
3683 - Implemented SetWindowTransparency() method
3684 - Added support for setting the opacity value when a window is
3685 reparented (since the opacity needs to be set on the WM frame)
3686 * XplatUIOSX.cs, XplatUIWin32.cs:
3687 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3689 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3691 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3693 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3695 * FileDialog.cs: Added ToolTip for MWFFileView
3696 * MimeIcon.cs: Rewrote GnomeHandler.
3697 - Get currently used gnome icon theme from
3698 ($HOME)/.gconf/%gconf-tree.xml
3699 - Make use of inherited icon themes
3700 - Support SVG icon themes like Tango via librsvg
3702 2006-01-12 Miguel de Icaza <miguel@novell.com>
3704 Revert's Jackson's revert which broke 2.0 builds. Fix both
3707 * Application.cs: Move the use_compatible_text_rendering outside
3708 the NET_2_0 define. If we ever need to use the
3709 use_compatible_text_rendering on the individual controls they will
3710 access the variable from the common shared code paths.
3712 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3715 - Added more granular debug options
3716 - Added method to print both window text and id
3717 - Switched debug output to use new Window() debug method
3718 - Added IsEnabled() driver method
3719 - Added EnableWindow() driver method
3721 - Removed end_modal; no longer needed, new loop handles termination
3722 via 'closing' variable
3723 - If form is modal, setting DialogResult will now initiate loop
3724 termination via 'closing' variable
3725 - Added support for is_enabled/WS_DISABLED to CreateParams
3726 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3728 - Removed code that's now in RunLoop from ShowDialog()
3729 - Added various documented sanity checks to ShowDialog()
3730 - Added handling of WM_DESTROY message; we set 'closing' on getting
3731 the message to indicate the message pump to terminate
3732 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3733 send by the Application.ExitThread method. (We send the message
3734 to destroy the window after all other events have been
3735 processed through the queue, instead of destroying the handle
3737 - Moved code from Close() method to WM_CLOSE handler; added logic
3738 to only send close-related events if the form is not displayed
3740 * Splitter.cs (..ctor): Fixed typo in resource name
3742 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3744 - set_Cursor: Now only setting calling into XplatUI if the handle for
3745 the control is already created; this avoids implict handle creation
3746 or crashes if it's not created
3747 - set_Enabled: Now setting the enabled state via the new driver method
3748 instead of just tracking it
3749 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3750 - CreateControl: Reordered event firing and method calls to more
3751 closely fire events in the order MS does. Now setting the
3752 enabled state in the driver when creating the control.
3753 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3755 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3756 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3757 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3759 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3760 - Added EnabledHwnd property to easily allow a driver to find the
3761 handle of the first enabled window in the parent chain (this is
3762 used by drivers to pass up input events of disabled windows)
3763 * XplatUIDriver.cs: Added IsEnabled() method
3765 - Removed crude and obsolete exiting tracking variable
3766 - Removed internal ModalRun(); replaced by RunLoop()
3767 - Implemented private CloseForms() method to allow closing all
3768 windows owned by a particular (or all) threads
3769 - Exit() now properly closes all windows without forcing the message
3771 - Removed obsolete InternalExit() method
3772 - Changed Run() methods to use new RunLoop() message pump
3773 - Implemented new RunLoop() method for both modal and non-modal forms
3775 - get_CreateParams: Added setting of WS_DISABLED
3776 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3777 invoked via Form.ShowDialog()
3778 * NativeWindow.cs: We don't remove the window from the collection when
3779 the handle is destroyed; there might still be messages for it in the
3780 queue (mainly the resulting WM_DESTROY); instead it will be removed
3781 when Control calls InvalidateHandle in the WM_DESTROY handler
3783 - CreateWindow: Added logic to handle the WS_DISABLED window style
3784 - EnableWindow: Implemented based on Hwnd.Enabled
3785 - GetMessage: Reset PostQuitState so the method can be called again
3786 - Implemented support for disabled windows (passing messages to the
3787 first enabled parent) in handling all input messages
3788 - Added optimizations for handling Expose events
3789 - Implemeted new driver method IsEnabled()
3790 - Now always resetting paint pending tracking vars when we start paint
3791 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3792 * XplatUIOSX.cs: Added IsEnabled method stub
3793 * XplatUIWin32.cs: Implemented new IsEnabled() method
3795 2006-01-11 Jackson Harper <jackson@ximian.com>
3797 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3798 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3800 * ColorDialog.cs: Clear out the old form before adding the new
3803 2006-01-11 Jackson Harper <jackson@ximian.com>
3805 * X11Dnd.cs: Make sure to add all the text formats when adding
3806 strings to the data object.
3807 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3808 do some redrawing too. Also change the UpdateNode to an
3809 UpdateBelow so the newly added node gets painted.
3811 2006-01-11 Miguel de Icaza <miguel@novell.com>
3813 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3814 LinkLabel.cs, PropertyGrid.cs: Implement the
3815 UseCompatibleTextRendering property for 2.x
3817 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3819 2006-01-11 Jackson Harper <jackson@ximian.com>
3821 * TreeView.cs: Use the property for setting the selected node so
3822 the correct events get raised.
3823 * TreeNode.cs: Update the tree when the fore/back colours of a
3826 2006-01-10 Jackson Harper <jackson@ximian.com>
3828 * TreeView.cs: Allow setting SelectedNode to null.
3830 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3832 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3834 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3836 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3838 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3840 * PrintDialog.cs: Added attributes and set default property values.
3842 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3844 * PrintControllerWithStatusDialog.cs:
3845 Added PrintControllerWithStatusDialog.
3847 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3849 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3850 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3852 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3854 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3856 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3858 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3859 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3861 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3863 * MimeIcon.cs: Added internal class SVGUtil.
3865 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3867 * FileDialog.cs: Don't crash if there are two files with the
3868 same name but different locations.
3870 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3872 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3873 dates across multiple month grids. Used to not highlight entire
3874 month, but does now.
3876 2006-01-06 Jackson Harper <jackson@ximian.com>
3878 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3879 message loop. Change timer intervals to numbers that seem more
3882 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3884 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3885 object for location info since screen object is now implemented.
3887 2006-01-05 Jackson Harper <jackson@ximian.com>
3889 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3890 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3891 AsyncMethodResult, this is because we ALWAYS want the
3892 ManualResetEvent to get set.
3893 * Control.cs: When disposing use an async invoke to call shutdown
3894 code, so that thigns don't block on the finalizer thread. Also
3895 check if we even have a message loop before trying to send
3896 messages, if we don't then don't bother sending messages.
3897 - No more weak references for async methods
3898 * XplatUIDriver.cs: No more weak references for async methods.
3900 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3902 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3903 returns two FontFamily with the same name
3905 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3907 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3908 drawing disabled text. Instead using the ColorGrayText color
3910 2006-01-04 Jackson Harper <jackson@ximian.com>
3912 * TreeNode.cs: redraw the node when its image index is changed.
3914 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3916 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3917 time I checked there are no others like it.
3919 2006-01-04 Jackson Harper <jackson@ximian.com>
3921 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3922 this gives the behavoir I was looking for.
3923 * Control.cs: Special case Invoking EventHandlers, this matches MS
3924 and fixes part of bug #76326.
3926 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3928 * ThemeClearlooks.cs, FileDialog.cs:
3929 - Reflect the latest Theme class changes
3930 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3933 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3935 * Theme.cs: Cache UI resource images and resize them if needed
3937 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3939 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3940 is called. This fixes the crash in Nexxia when setting the font
3941 attributes in the chat. [However, RTF needs a look-over to make sure
3942 that all SelectionXXX methods handle the special case that selection
3943 is empty and therefore the change must be applied to all text starting
3944 at the cursor/selection start]
3946 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3948 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3949 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3950 * X11Keyboard.cs: Switched to new way of calling PostMessage
3952 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3954 * Theme.cs: Added theme interface for images to allow the theme to
3955 control what images are used for things like FileDialog, MessageBox
3957 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3959 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3962 - Removed some dead code
3963 - Opening a recently used file does work now
3964 - Small UI enhancements
3967 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3969 * FileDialog.cs: Forgot too add __MonoCS__
3971 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3973 * FileDialog.cs: We are able to read recently used files now let's
3974 go on and write them.
3976 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3978 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3980 * MimeIcon.cs: Do a check for the top level media type also
3982 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3984 * ThemeClearlooks.cs:
3985 - Added CPDrawStringDisabled
3986 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3987 some chars if the text doesn't fit into text_rect
3988 - DrawListViewItem: If View = View.LargeIcon center the image;
3989 rewrote the drawing of ListViewItem.Text if View =
3992 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3994 * MimeIcon.cs: Use default KDE icon theme if there is no
3995 "48x48" directory for the current icon theme, fixes #77114
3996 * Mime.cs: Disable not working and actually not used code.
3997 * ThemeWin32Classic.cs:
3998 - Replace "new SolidBrush" in GetControlBackBrush and
3999 GetControlForeBrush with ResPool.GetSolidBrush
4000 - Changed DrawListViewItem from private to protected virtual
4002 - Added form.MaximizeBox = true
4003 - Don't throw an exception if there is a broken symbolic link
4005 2005-12-23 Jackson Harper <jackson@ximian.com>
4007 * TabControl.cs: Give the panels focus, keyboard navigation is
4008 fixed so this works correctly now.
4009 - We need these key events also.
4010 * ToolBar.cs: Remove some of the poor mans double buffering.
4012 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4014 * ComboBox.cs: The internal TextBox now returns the focus.
4016 2005-12-23 Jackson Harper <jackson@ximian.com>
4018 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4020 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4022 * Control.cs: Removed debug code
4023 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4026 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4028 * Control.cs: When creating the control, update the Z-order after
4029 all it's children are created, too. (Fixes nexxia not showing
4032 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4034 * Control.cs: Do not update the anchoring distances if layout is
4035 suspended, instead do it once layout is resumed
4037 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4040 - After many hours of debugging, for both Jackson and
4041 myself, it turns out that it helps to set the parent of a control
4042 if you want to actually see it onscreen. In the spirit of that
4043 discovery, we're now setting the parent of the control and
4044 it's children when the control's handle is created. This fix
4045 will make Lutz Roeder's Reflector run happily.
4046 - now just creating the handle instead of the whole control when
4047 getting a graphics context for the control.
4049 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4051 * ScrollableControl.cs: When calculating the canvas, don't consider
4052 the scrollbar widths. Instead, predict if horizontal scrollbar
4053 will affect canvas when deciding on vertical display and vice versa.
4055 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4057 * RichTextBox.cs: Set default RTF font for documents that don't
4058 have a font table (Fixes #77076)
4060 2005-12-22 Jackson Harper <jackson@ximian.com>
4062 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4063 clipboard. This prevents a NullRef in that case.
4064 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4065 clipboard. PRIMARY is for the currently selected text only. (We
4066 should implement PRIMARY at some point.
4068 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4070 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4071 a Unicode function with a structure that was defined in Ansi way.
4074 2005-12-21 Jackson Harper <jackson@ximian.com>
4076 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4077 on. Because thats how it rolls. (and this avoids it using ambient
4079 * ThemeWin32Classic.cs: Use the proper back color for filling.
4080 * Menu.cs: Use the system menu bar color for drawing menu
4081 bars. Using the window back color will bring ambient colours into
4084 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4086 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4087 Bitmaps were created and not disposed.
4089 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4091 * Control.cs (CreateControl): Don't do anything if the control is
4092 already created, otherwise we'd fire the OnCreated event more than
4095 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4097 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4098 will always match. Instead return -1. Fixes #76464.
4100 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4102 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4103 neither the beginning nor the end of the line (Fixes bug #76479)
4105 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4108 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4109 where handle is invalid
4110 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4111 instead of slower linear search
4112 * NativeWindow.cs: Don't remove the window from the hashtable until
4113 after the driver has destroyed it (since the driver might use
4114 Control.FromHandle to lookup the control object
4115 * Hwnd.cs: Added DestroyPending property to track if a window is
4116 already destroyed as far as the driver is concerned and only hasn't
4117 yet notified the control
4119 - Activate(): Check if the window is still valid before using the
4121 - Implemented DestroyChildWindow() method to mark child windows as
4122 destroyed when a window is destroyed. This prevents situations
4123 where we might call an X method based on queued events for a
4124 window that already has been destroyed but we haven't yet pulled
4125 the destroy method from the queue.
4126 - Added a call to the new DestroyChildWindow() method to the drivers
4127 DestroyWindow code. Also now marking the destroyed window itself
4130 2005-12-20 Jackson Harper <jackson@ximian.com>
4133 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4134 anymore. Just do them when needed, also track the rects of panels
4135 so that we can optimize refreshing more in the future.
4137 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4139 * ColorDialog.cs: Fixed focus drawing in small color controls
4141 2005-12-19 Jackson Harper <jackson@ximian.com>
4143 * InternalWindowManager.cs:
4144 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4145 moving windows works properly.
4147 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4150 - Removed call to InitLayout() from SetBoundsCore(); doc says
4151 it's only called when a control is added to a container
4152 - Split InitLayout logic, moved to separate UpdateDistances() method
4153 since we need to perform those calculations more often than just
4154 when adding the control to a container. (Needed to fix #77022)
4155 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4156 - Reduced the OnBindingContextChanged events count, don't send them
4157 unless the control is created, we still aren't totally matching
4158 MS, but I can't quite figure out some of their rules
4160 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4162 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4165 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4167 * ThemeClearlooks.cs:
4168 - Updated ProgressBar drawing
4169 - Corrected drawing of ScrollBars and scroll buttons
4170 - Some temporary fixes for minor pixel artefacts
4172 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4175 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4176 cause events to be sent in the same order as MS does.
4177 - Added ChangeParent() method to trigger various OnXXXChanged events
4178 that need to be fired when a parent changes (This is a reworking
4179 of the patch from r54254, with the X11 errors fixed)
4180 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4181 since on MS we get OnLayoutChanged events when calling Clear()
4182 - Changed Enabled property to consider parent state as well, if a
4183 parent is not enabled, the control will not be either
4184 - Changed Parent property to simply call Controls.Add() since that
4185 now does all the work required, this way we avoid code duplication
4186 - Threw in a few OnBindingsContextChanged calls to try and match
4187 when MS sends them. We seem to send a few too many, though.
4188 - Added call to CreateControl when adding the control to a parent.
4189 We were never calling CreateControl. Still needs some work, in
4190 some places we treat HandleCreated and ControlCreated as equal,
4192 - Removed obsolete commented out code from UpdateZOrder()
4194 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4196 * ThemeClearlooks.cs: Updated TrackBar drawing.
4198 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4200 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4202 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4204 * FileDialog.cs: Add the Help button and the open readonly
4205 checkbox only if needed
4207 2005-12-16 Jackson Harper <jackson@ximian.com>
4209 * Control.cs: Make sure we have an active menu before trying to
4210 process commands on it. Prevents menu-less forms from crashing
4211 when Alt is pressed.
4212 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4214 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4217 2005-12-16 Jackson Harper <jackson@ximian.com>
4219 * InternalWindowManager.cs: Don't translate tool windows screen
4220 coordinates. This fixes windows 'bouncing' around when being moved.
4222 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4225 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4226 not quite MS compatible, MS uses that number only for single line
4227 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4229 - Now enforcing the MaxLength limit when entering characters
4230 - Added argument to internal Paste() method to track if it's called
4231 from programatically or via keyboard, since keyboard driven pastes
4232 need to enforce max-length
4233 - Added logic to Paste to only paste as many chars as MaxLength
4235 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4237 - Added Length property to return number of characters in document
4238 - Added private CharCount property which only tracks actual chars
4239 in the document (no linefeeds) and fires event when CharCount
4241 - Added tracking of character count to all methods that alter it
4242 - Added LengthChanged event to allow applications to subscribe
4243 to any changes to the document
4245 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4248 - Removed local password_char field (moved to TextBoxBase)
4249 - Now setting the document's password var when password is
4252 - Added password_char field (needed here so MultiLine can
4254 - Added logic to MultiLine property setter to set the document's
4255 variable when password display is allowed
4256 - Removed debug code and made some debug code conditional
4258 - Added RecalculatePasswordLine() method to handle special password
4260 - Added PasswordChar property, also added related tracking vars
4261 - Draw() method now uses local text var for grabbing text to draw,
4262 this var is set to line.text unless we're doing password display,
4263 then it is set to the pre-generated all-password-chars line
4264 - Added calling RecalculatePasswordLine() method for password lines
4266 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4269 - Added Reparented property to allow tracking of Window Manager
4270 reparenting actions (which affect X/Y calculations of toplevel
4272 - Made ToString() print window handles in hex
4274 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4275 determine if X/Y needs offsetting
4276 - AddConfigureNotify(): Fixed offset calculations
4277 - Now adds ReparentNotify messages into the queue
4278 - Now processes ReparentNotify messages and causes a
4279 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4280 is reparented (as most likely it's X/Y coordinates are changed
4283 2005-12-14 Jackson Harper <jackson@ximian.com>
4285 * XplatUIX11.cs: Tool windows still need to respek focus.
4287 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4289 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4290 have a working release
4292 2005-12-13 Jackson Harper <jackson@ximian.com>
4294 * Form.cs: Update styles after setting the border style regardless
4295 of whether or not the window is using a window manager.
4297 2005-12-13 Jackson Harper <jackson@ximian.com>
4299 * Form.cs: We now hook into an internal window manager instead of just an
4300 MDI subsystem, this is so we can have properly behaving tool windows.
4301 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4302 * InternalWindowManager.cs: New internal class that acts as a
4303 window manager for tool windows and as a base for mdi windows.
4304 * MdiWindowManager.cs: New class that acts as a window manager for
4307 2005-12-12 Jackson Harper <jackson@ximian.com>
4309 * Control.cs: Updates so we match behavoir for for implicit
4310 controls. Fixes explosions in MDI.
4312 2005-12-12 Jackson Harper <jackson@ximian.com>
4314 * Control.cs: Implement Invalidate (Region).
4316 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4319 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4320 the same events as MS does. MS fires events for each property
4321 except, for unknown reasons, Cursor, when the control is reparented.
4322 I can't seem to totally match add/remove since MS also fires some
4323 VisibleChanged events, which makes no sense. Consolidated the
4324 parenting code into a separate method so it can be called from
4325 both Add and Remove. set_Parent no longer needs any special logic
4326 as it calls the parent's add method which implicitly fires
4328 - Removed some obsolete code and debug output
4329 - Enabled state is inherited from parents, if this is enabled
4331 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4333 * Form.cs: Removed commented out code
4335 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4338 - Added internal version of Invoke, with additional argument
4339 indicating if we're calling it from a Dispose() handler. That
4340 way we can avoid BeginInvoke throwing an exception if we're
4341 calling for an already destroyed window.
4342 - Added a dispose argument to BeginInvokeInternal, and made the
4343 check if a valid window handle chain exists conditional on
4344 it not being a dispose call
4345 - Removed code in DestroyHandle to destroy our children. Since we
4346 now handle the WM_DESTROY message we will catch all our children
4348 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4350 - Added a field to track the application context of the form.
4351 - No need to set closing variable as response to WM_CLOSE, instead
4352 we destroy the window. We also call PostQuitMessage if the form
4353 has an application context (which makes it the main app form,
4354 which, when closed terminates the app)
4356 - Dropped Exit() method, it's naming was confusing
4357 - Added PostQuitMessage() which causes GetMessage to return false
4358 once the message queue is empty
4359 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4361 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4362 no longer a valid XplatUI method, but left it in since it's used
4363 internally. Added empty PostQuitMessage() method.
4364 * MenuAPI.cs: Replaced call to Exit() with call to
4365 PostQuitMessage, even though this is probably no longer needed.
4366 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4367 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4369 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4370 - Removed old debug code that would call XplatUI for exception
4371 display, enabled standard exception handling (Still not enabled
4372 though, until NativeWindow's ExternalExceptionHandler define
4375 - Added internal method to allow control to update NativeWindow
4376 after a window has been destroyed
4377 - Added handling of already destroyed windows when calling i
4379 - Added removal of handle from list on ReleaseHandle
4381 - Dropped GetMessageResult var and related code
4382 - Added PostQuitState to field to track if PostQuitMessage has been
4384 - Dropped Exit() method
4385 - Added PostQuitMessage() method
4386 - GetMessage now will return false if PostQuitState is set and no
4387 more messages are in the queue.
4388 - Expose handler will no longer generate WM_PAINT messages if we are
4389 in PostQuitState since it's very likely any windows have already
4390 been destroyed, and since Hwnd won't get updated until we have
4391 processed the DestroyNotify we'd be causing X errors.
4393 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4395 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4396 Thanks to Mike for pointing out the err of my ways.
4398 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4400 * Control.cs(PreProcessMessage): Moved menu handling back, but
4401 after all other key handling, to match MS (who handles Menu in
4403 * Menu.cs (WndProc): Removed my brainfart
4405 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4407 * Control.cs(PreProcessMessage): Removed special menu handling
4408 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4410 2005-12-07 Mike Kestner <mkestner@novell.com>
4412 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4413 state according in tracker.
4414 * Menu.cs : promote tracker field to base class and provide a tracker
4415 lookup capability. Add/Remove shortcuts dynamically if the top menu
4416 has a tracker. Unparent items that are removed from the collection.
4417 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4418 * Theme*.cs: add always_show_hotkeys field to support configurability
4419 of mnemonic display. win32 doesn't show mnemonics until Alt is
4422 2005-12-07 Jackson Harper <jackson@ximian.com>
4424 * MdiChildContext.cs: Use Control.ResetCursor.
4425 * Control.cs: ResetCursor needs to set the property so that the
4426 correct XplatUI call gets made.
4428 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4430 * Control.cs: More fixes to make our key events match MS. We
4431 were not setting the modifier state on KeyData, and we were
4432 not generating any events when Alt was pressed with a key
4433 since handling of WM_SYSxxx was missing for the OnKey methods.
4435 2005-12-07 Jackson Harper <jackson@ximian.com>
4437 * MdiChildContext.cs: reenable the sizing code.
4438 - When the mouse leaves a window reset its cursor.
4440 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4442 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4444 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4446 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4447 widths of Fixed3D borders
4449 2005-12-07 Jackson Harper <jackson@ximian.com>
4451 * MdiClient.cs: Fix warnings. Earn Mike's love.
4453 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4455 * ThemeClearlooks.cs:
4456 - Adjusted mouse over button color
4457 - Added first parts of CheckBox drawing
4458 - Added correct color for selected text background
4459 - Fixed ComboBox drawing
4460 - Added CPDrawBorder3D and CPDrawBorder
4462 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4464 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4466 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4468 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4469 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4470 alert users via sound. We could add an enum arg with different
4471 types of alerts in the future
4473 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4475 * Control.cs: Fix behaviour problems pointed out by Mike
4477 2005-12-05 Mike Kestner <mkestner@novell.com>
4479 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4480 prop setters. Calls parent.Refresh for now, but could be maybe be
4481 optimized with an internal method on StatusBar at some point.
4484 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4486 * RichTextBox.cs: Implemented get_SelectionColor
4488 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4490 * ThemeClearlooks.cs:
4492 - Draw black button border only if button is Form.AcceptButton
4493 - Draw correct button color for pressed RadioButton if the mouse
4494 has entered the button
4495 - Updated ProgressBar drawing!
4496 - Updated CPDrawSizeGrip drawing
4497 - Updated StatusBarPanel drawing
4499 2005-12-05 Mike Kestner <mkestner@novell.com>
4501 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4502 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4504 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4506 * ThemeClearlooks.cs: Initial check-in, activate with
4507 export MONO_THEME=clearlooks
4508 * ThemeEngine.cs: Added ThemeClearlooks
4510 2005-12-03 Mike Kestner <mkestner@novell.com>
4512 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4515 2005-12-02 Jackson Harper <jackson@ximian.com>
4517 * Form.cs: If the child form has no menu the default main menu is
4518 used as the active menu.
4520 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4522 * ListBox.cs: Check if any items exist before trying to resolve
4523 coordinates into items
4525 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4527 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4528 as the second color for the background hatch
4530 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4532 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4533 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4534 sure that what we pass to FormatText is always 1-based. Fixes #76885
4536 2005-11-29 Miguel de Icaza <miguel@novell.com>
4538 * NumericUpDown.cs (EndInit): When we are done initializing,
4539 reflect any updates on the UI.
4541 2005-12-02 Jackson Harper <jackson@ximian.com>
4543 * ImplicitHScrollBar.cs:
4544 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4545 their container controls.
4546 * TreeView.cs: Use the new implicit scrollbars.
4548 2005-12-02 Jackson Harper <jackson@ximian.com>
4550 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4552 * TreeNodeCollection.cs: If we remove the topnode we need to
4553 update topnode to the next node in line.
4554 - When clearing nodes go through the same process as removing
4555 them, so they get depareneted and checked if they are top node.
4557 2005-12-01 Jackson Harper <jackson@ximian.com>
4559 * TreeView.cs: When imagelists are used the image area is
4560 selectable as well as the text.
4561 - If there are no selected nodes select the first one.
4562 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4563 so don't do it more then we need to.
4565 2005-12-01 Jackson Harper <jackson@ximian.com>
4567 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4568 that arrows can be scaled.
4570 2005-12-01 Jackson Harper <jackson@ximian.com>
4572 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4573 fail. Patch by Dieter Bremes
4575 2005-11-30 Jackson Harper <jackson@ximian.com>
4577 * Form.cs: Property is 2.0 only
4578 * PrintDialog.cs: Signature fix.
4580 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4583 - No longer artificially moves text 2 pixels down (now that we have
4584 borders this is no longer needed)
4585 - Added calcs for left, hanging and right indent
4587 2005-11-23 Mike Kestner <mkestner@novell.com>
4589 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4591 2005-11-30 Jackson Harper <jackson@ximian.com>
4593 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4594 get cloned as part of CloneMenu ().
4595 * Menu.cs: Make sure the parent of the items get set correctly
4596 when they are added. And the owners are notified of the changes.
4597 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4598 we can change the menu being displayed/handled by the form without
4599 changing the menu assosciated with the form.
4600 - Don't let Mdi children draw/handle menus.
4602 2005-11-30 Jackson Harper <jackson@ximian.com>
4604 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4605 a MenuChanged event. Just to make the API a little more
4608 * MenuItem.cs: Use the new OnMenuChanged
4609 * MdiChildContext.cs: Handle menu merging.
4610 * Form.cs: Implement MergedMenu.
4612 2005-11-30 Jackson Harper <jackson@ximian.com>
4614 * Menu.cs: We were misusing Add. Add goes behind the specified
4615 index according to the docs, and does not replace the specified
4616 index. So I added an Insert method.
4618 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4620 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4621 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4623 * RichTextBox.cs: Added calls to base for DnD events
4625 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4628 - Fixed drag-selection related crash; style fixes
4629 - Implemented undo class
4630 o Implemented method to capture document state for specified
4631 range in document tree
4632 o Implemented method to restore captured document state
4633 o Implemented cursor tracking
4634 o Implemented basic undo stack
4635 - Added undo cursor tracking to methods altering cursor location
4636 - Added undo tracking to selection deletion (still missing
4637 other text-altering hookups)
4639 - Added SelectionLength property
4640 - Implemented CanPaste()
4641 - Implemented Paste()
4642 - Added missing protected methods
4643 - Fixed RTF->Document conversion; now uses font index 0 and color
4644 index 0 as the default font for the parsed text
4645 - Fixed RTF<->Document font size translation
4646 - Fixed RTF generation, now properly handles cross-tag boundaries
4647 for single line selection
4648 - No longer always appends blank line to generated RTF
4650 - Added missing attributes
4651 - Hooked up undo-related methods
4653 - Implemented Copy()
4654 - Implemented Paste()
4656 - Fixed caret mis-behaviour on backspace across line-boundaries
4658 2005-11-29 Jackson Harper <jackson@ximian.com>
4660 * MdiClient.cs: Add a method for activating mdi children. Very
4661 basic right now. I imagine someday it might need more girth.
4662 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4663 children windows names are added to the menu item.
4664 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4665 mdilist. This happens regardless of whether or not there are any
4666 mdi windows to see in the list, and according to my tests happens
4667 before the items are even added. Also happens if there isn't even
4668 an mdi client to get windows from.
4670 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4672 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4673 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4675 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4677 * DataGridTableStyle.cs:
4678 - Create always the styles for the missing columns even if they are
4679 provided by the user (not default table style)
4682 - Fixes SetDataBinding (always re-attach source)
4683 - Fixes SetNewDataSource (only clear styles if they are not for
4685 - Expands OnTableStylesCollectionChanged to handle style refresh
4688 2005-11-29 Jackson Harper <jackson@ximian.com>
4690 * FileDialog.cs: Implement missing bits, remove some dead
4692 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4693 creation of the panel so that the options set on the dialog are
4694 seen when the panel is created.
4695 * TreeView.cs: raise a click when items are clicked.
4697 2005-11-29 Jackson Harper <jackson@ximian.com>
4699 * MdiClient.cs: Pass some signature methods through to base.
4701 2005-11-28 Jackson Harper <jackson@ximian.com>
4703 * ListView.cs: Raise the click event when items are clicked.
4705 2005-11-28 Jackson Harper <jackson@ximian.com>
4707 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4710 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4712 * ThemeNice.cs: - Removed 1 pixel bitmaps
4713 - Use SmoothingMode.AntiAlias where it makes sense
4714 (ScrollButton arrow for example)
4715 - Enhanced Button focus drawing
4716 - Fixed ComboBox drawing (no artefacts anymore, focus
4717 rectangle is back again, reduced size of ComboButton, etc.)
4718 - Fixed RadioButton focus drawing for Appearence.Button
4719 - Slight ScrollButton redesign
4720 - Some LinearGradientBrush size fixes
4721 - GroupBoxes have now rounded edges
4722 - Fixed StatusBar drawing
4724 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4726 * ThemeNice.cs: - Remove dead code
4727 - use correct background colors for menus, etc.
4728 - Fake pixel drawing with 1 pixel bitmaps
4730 2005-11-24 Jackson Harper <jackson@ximian.com>
4732 * MdiClient.cs: Size the scrollbars when resizing the window.
4733 - Resize the maximized windows when the client is resized
4734 * Form.cs: Make the child context available
4736 2005-11-23 Jackson Harper <jackson@ximian.com>
4738 * MdiChildContext.cs: Don't size windows if they are maximized.
4740 2005-11-23 Mike Kestner <mkestner@novell.com>
4742 * ContextMenu.cs: use MenuTracker.
4743 * Control.cs: remove menu handle usage.
4744 * Form.cs: remove menu handle usage.
4745 * Hwnd.cs: remove menu handle usage.
4746 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4747 motion and clicks to the new Tracker handlers.
4748 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4750 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4751 Killed the MENU and MENUITEM data types and associated collections
4752 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4753 MenuTracker class that exposes the leftovers from the old MenuAPI
4754 static methods. Restructured Capture handling so that only one grab is
4755 done for the entire menu hierarchy instead of handing off grabs to
4756 submenus. Tracker now has an invisible control to Capture when active.
4757 * MenuItem.cs: add sizing accessors, kill Create
4759 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4760 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4761 MENU(ITEM). remove menu handle usage, use Menu directly.
4762 * XplatUIDriver.cs: remove menu handle usage.
4763 * XplatUIOSX.cs: remove menu handle usage.
4764 * XplatUIWin32.cs: remove menu handle usage.
4765 * XplatUIX11.cs: remove menu handle usage.
4767 2005-11-22 Jackson Harper <jackson@ximian.com>
4769 * Hwnd.cs: Don't compute the menu size for
4770 DefaultClientRectangle.
4771 - Reenable menu sizes being computed for GetClienRectangle.
4772 * Form.cs: Remove comment of trechery
4774 2005-11-22 Jackson Harper <jackson@ximian.com>
4776 * Hwnd.cs: The adjustments for the menu bar are made when it is
4777 attached to the form.
4779 2005-11-19 Jackson Harper <jackson@ximian.com>
4781 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4782 (just like on windows).
4784 2005-11-19 Jackson Harper <jackson@ximian.com>
4786 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4787 use real buttons anymore because they are in non client area. The
4788 one TODO here is that I need to somehow invalidate a section of
4789 the non client area.
4791 2005-11-18 Jackson Harper <jackson@ximian.com>
4793 * Control.cs: Put the enum check back in now that MDI doesnt have
4794 to use this to set border styles.
4795 * Form.cs: Only set mdi child windows borders if the handle has
4797 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4798 this directly on to the driver.
4799 - Get the move start position before adjusting for the titlebar
4800 height, this fixes the windows "skipping" when they are first
4803 2005-11-18 Jackson Harper <jackson@ximian.com>
4805 * XplatUIX11.cs: Just compute the mdi borders separately as they
4806 don't totally match up with normal form borders.
4808 2005-11-18 Jackson Harper <jackson@ximian.com>
4810 * Control.cs: Set WS_ styles for borders, so that the driver does
4811 not have to retrieve the control instance to figure out what kind
4812 of borders it should have.
4813 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4814 driver can know its an mdi child easily.
4815 * XplatUIX11.cs: Get the border styles and whether the window is
4816 MDI from the Styles and ExStyles params instead of having to get a
4817 control. This prevents a chicken and egg problem.
4819 2005-11-18 Jackson Harper <jackson@ximian.com>
4821 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4823 2005-11-18 Jackson Harper <jackson@ximian.com>
4825 * MdiClient.cs: Calculate when to add and remove scrollbars
4827 * MdiChildContext.cs: Adjust the y position to take the titlebar
4829 - No height for FormBorderStyle.None
4831 2005-11-18 Jackson Harper <jackson@ximian.com>
4833 * Control.cs: Allow non enum values to be used for
4834 InternalBorderStyle. MDI does this to set a special border style.
4835 - New utility methods for converting points to/from client coords
4836 - Add the newly created control to the Controls collection before
4837 updating its style. This way UpdateStyle can walk the control
4838 heirarchy to find the control if needed.
4839 so I don't need to create a new Point object all the time.
4840 * Form.cs: Let MDI windows handle their border styles.
4841 - Set styles on MDI windows so the correct title style is derived.
4842 * MdiChildContext.cs: Move all the painting and window handling
4843 into the non client area.
4844 - Use correct sizing and put correct buttons on frames based on
4845 the FormBorderStyle.
4846 - Notify the mdi client about scrolling
4847 - Need to handle the buttons ourselves now, because they are all
4848 in non client areas and we can't add controls there.
4849 * MdiClient.cs: Halfway to scrolling, this implementation is
4850 somewhat broken though, we need to check to make sure other
4851 windows aren't causing scrolling before removing the bars. Also
4852 the bars need to be drawn on top, maybe I can switch implicit
4853 controls to be on top.
4854 * Hwnd.cs: caption_height and tool_caption_height are now
4855 properties of an hwnd, this way they can be set by the driver
4856 based on the type of window they are. In X11 the window manager
4857 handles the decorations so caption_height is zero unless its an
4859 - Add 3 pixel borders for MDI windows (0xFFFF).
4860 - Get rid of some code duplication, have DefaultClientRectanle
4861 just call GetClientRectangle.
4862 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4864 - Set border styles differently for mdi windows.
4865 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4868 2005-11-15 Mike Kestner <mkestner@novell.com>
4870 * Menu.cs: when adding an item to the collection, if item is already
4871 parented, remove it from the parent.
4873 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4875 * X11DesktopColors.cs: Added KDE support
4877 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4880 - Clipboard methods now can translate Rtf format
4881 - No longer removes clipboard contents whenever a new format is added
4882 to allow placing multiple formats on the clipboard
4883 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4884 will place all formats contained in it onto the clipboard. Also
4885 now cleans the clipboard before placing a new object onto it
4887 - Implemented set_Rtf
4888 - Implemented set_SelectedRtf
4889 - Created InsertRTFFromStream() method to allow single code base
4890 for all properties and methods that insert RTF into document
4891 - Removed debug output
4893 - Fixed Delete(int) to fix up line numbers
4894 - Fixed ReplaceSelection to combine start and end line
4895 - Fixed serious DeleteChars bug that would leave the document tree
4897 - Improved DumpTree with several logic checks to detect broken
4899 - Removed debug lines
4900 - Fixed Caret.WordForward/WordBack moving code, now always also
4901 updates caret.tag (fixes crash when word-selecting across tag
4902 boundaries via keyboard)
4903 - Added Insert() method for inserting multiline text into documents
4904 - Fixed DeleteChars() calculation errors that would cause a broken
4905 tag chain with multiple tag lines
4906 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4907 - Split() no longer moves caret if split is at caret location
4908 - ReplaceSelection() now updates the cursor and re-displays it
4909 - ReplaceSelection() now uses new Insert() method to avoid code
4911 - FormatText() can now handle formatting partial lines
4913 - Append now uses new TextControl.Insert() method (this avoids
4915 - Implemented Ctrl-X (Cut) (
4916 - Implemented Ctrl-C (Copy)
4917 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4918 regeneration when pasting text; roundtripping Copy&Paste within
4919 edit control still fails due to some calculation bugs in GenerateRTF)
4920 - The Delete key will now remove the current selection if it is visible
4921 * TextBox.cs: Removed debug lines
4922 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4923 driver to be initialized and can't therefore be done via a static ctor)
4925 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4927 * TextControl.cs: Added backend code for finding char arrays and strings
4929 - Added mouse wheel scroll support
4930 - Added support for VScroll and HScroll events
4932 - Implemented all seven Find() variants
4933 - Implemented GetCharFromPosition()
4934 - Implemented GetCharIndexFromPosition()
4935 - Implemented GetLineFromIndex()
4936 - Implemented GetPositionFromCharIndex();
4937 - Implemented SaveFile for PlainText and UnicodeText
4938 - Fixed set_Font, now setting a new font applies that font to
4940 - Implemented generic Document to RTF converter
4941 - Implemented SaveFile for RichText format (still missing unicode
4942 conversion for non-ansi chars)
4943 - Implemented get_Rtf
4944 - Implemented get_SelectedRtf
4946 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4948 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4949 to allow any captures to be released before triggering OnClick. This
4950 way a click handler may capture the mouse without interference.
4951 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4952 This way we send them even though X may not allow a grab (if the window
4953 isn't visible, for example)
4955 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4957 * DataGridViewRowEventArgs.cs: DataGridView implementation
4958 * DataGridViewElement.cs: DataGridView implementation
4959 * DataGridViewComboBoxCell.cs: DataGridView implementation
4960 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4961 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4962 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4963 * ImageLayout.cs: DataGridView implementation
4964 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4965 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4966 * DataGridViewSelectionMode.cs: DataGridView implementation
4967 * IDataGridViewEditingControl.cs: DataGridView implementation
4968 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4969 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4970 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4971 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4972 * DataGridViewColumnSortMode.cs: DataGridView implementation
4973 * DataGridView.cs: DataGridView implementation
4974 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4975 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4976 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4977 * Padding.cs: DataGridView implementation
4978 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4979 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4980 * DataGridViewRowEventHandler.cs: DataGridView implementation
4981 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4982 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4983 * DataGridViewButtonCell.cs: DataGridView implementation
4984 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4985 * DataGridViewEditMode.cs: DataGridView implementation
4986 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4987 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4988 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4989 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4990 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4991 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4992 * DataGridViewCellEventHandler.cs: DataGridView implementation
4993 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
4994 * DataGridViewCellStyleConverter.cs: DataGridView implementation
4995 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
4996 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
4997 * DataGridViewColumnEventArgs.cs: DataGridView implementation
4998 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
4999 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5000 * QuestionEventArgs.cs: DataGridView implementation
5001 * IDataGridViewEditingCell.cs: DataGridView implementation
5002 * DataGridViewTriState.cs: DataGridView implementation
5003 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5004 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5005 * DataGridViewColumnCollection.cs: DataGridView implementation
5006 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5007 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5008 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5009 * DataGridViewColumn.cs: DataGridView implementation
5010 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5011 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5012 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5013 * DataGridViewRow.cs: DataGridView implementation
5014 * DataGridViewImageCellLayout.cs: DataGridView implementation
5015 * DataGridViewImageCell.cs: DataGridView implementation
5016 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5017 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5018 * DataGridViewHeaderCell.cs: DataGridView implementation
5019 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5020 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5021 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5022 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5023 * QuestionEventHandler.cs: DataGridView implementation
5024 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5025 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5026 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5027 * DataGridViewCell.cs: DataGridView implementation
5028 * DataGridViewCellEventArgs.cs: DataGridView implementation
5029 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5030 * DataGridViewCellStyle.cs: DataGridView implementation
5031 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5032 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5033 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5034 * TextFormatFlags.cs: DataGridView implementation
5035 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5036 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5037 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5038 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5039 * DataGridViewButtonColumn.cs: DataGridView implementation
5040 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5041 * HandledMouseEventArgs.cs: DataGridView implementation
5042 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5043 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5044 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5045 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5046 * DataGridViewRowCollection.cs: DataGridView implementation
5047 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5048 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5049 * DataGridViewHitTestType.cs: DataGridView implementation
5050 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5051 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5052 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5053 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5054 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5055 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5056 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5057 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5058 * DataGridViewContentAlignment.cs: DataGridView implementation
5059 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5060 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5061 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5062 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5063 * DataGridViewPaintParts.cs: DataGridView implementation
5064 * DataGridViewCellCollection.cs: DataGridView implementation
5065 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5066 * DataGridViewImageColumn.cs: DataGridView implementation
5067 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5068 * DataGridViewElementStates.cs: DataGridView implementation
5069 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5070 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5071 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5072 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5073 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5074 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5075 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5076 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5077 * DataGridViewTextBoxCell.cs: DataGridView implementation
5078 * DataGridViewBand.cs: DataGridView implementation
5079 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5080 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5081 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5082 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5083 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5084 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5085 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5086 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5087 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5088 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5089 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5091 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5093 * ThemeWin32Classic.cs:
5094 - Draw the outside focus rectangle around buttons
5095 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5096 doesn't use end caps for every dash of a line anymore. This
5097 workaround ignores the forecolor.
5099 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5101 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5104 2005-11-07 Jackson Harper <jackson@ximian.com>
5106 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5108 2005-11-07 Jackson Harper <jackson@ximian.com>
5110 * ScrollableControl.cs: Calculate the maximum and change vars
5111 (more) correctly so that scrollbars appear as a sensible size.
5113 2005-11-04 Jackson Harper <jackson@ximian.com>
5115 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5117 * TreeView.cs: When the tree is sorted null out the top_node so
5118 that it is recalculated.
5119 - Use dotted lines instead of dashed lines to match MS better.
5121 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5124 - Implements key search for items. Useful when browsing files with FileDialog
5125 - When changing view mode or when clear the items reset scrollbar positions
5127 2005-11-04 Jackson Harper <jackson@ximian.com>
5129 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5130 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5131 as to what the method may do as there is no real way of creating a
5132 derived CurrencyManager and calling the method.
5134 2005-11-03 Jackson Harper <jackson@ximian.com>
5136 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5137 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5138 method which seems to just be used internally to refresh the tabs.
5140 2005-11-03 Jackson Harper <jackson@ximian.com>
5142 * TabControl.cs: Implement the remove method. Fix some broken
5145 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5147 * DateTimePicker.cs:
5148 - Added missing DateTimePickerAccessibleObject class
5149 - Added missing events
5150 - Added OnFontChanged method
5151 * Form.cs: Added missing attributes
5152 * TreeView.cs: Added missing attributes
5154 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5156 * GridItemCollection.cs: Fix signatures
5158 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5160 * XplatUI.cs: Updated build rev/date
5161 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5162 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5163 * Application.cs: Trigger context-specific ExitThread events
5165 2005-11-03 Jackson Harper <jackson@ximian.com>
5169 * GridTableStylesCollection.cs:
5174 * MonthCalendar.cs: Signature fixes
5176 2005-11-03 Jackson Harper <jackson@ximian.com>
5178 * TreeNodeCollection.cs: Remove should not be virtual.
5179 * TreeView.cs: Implement the last of the missing methods.
5181 2005-11-03 Jackson Harper <jackson@ximian.com>
5183 * TreeNodeConverter.cs: Implement to get off my class-status back.
5185 2005-11-03 Jackson Harper <jackson@ximian.com>
5187 * TreeView.cs: Hookup the bits for drag and drop.
5188 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5189 that nodes can be moved from tree to tree easily this just causes
5190 all sorts of problems.
5191 * TreeNodeCollection: Don't need to give treenodes an index and
5192 treeview anymore when they are added, these are computed on the
5193 fly. Also make sure to remove a node before its added.
5195 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5198 - Added CaretSelection enum
5199 - Added comparison methods to Marker struct, makes selection code
5201 - Added SelectionStart and SelectionEnd as 'moveable' location for
5202 the CaretDirection enum and handler
5203 - Added selection_prev variable to track optimized invalidation for
5204 word and line selection
5205 - Added SelectionVisible property (returns true if there is a valid
5207 - Switched CaretHasFocus to only display the caret if there is no
5209 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5210 using the direct character index; should be much faster
5211 - Added various conditional debug statements
5212 - Fixed invalidation calculation for selection ranges
5213 - Added ExpandSelection() method to support word and line selection
5214 - Switched SetSelectionToCaret to use new Marker compare overloads
5215 - Added central IsWordSeparator() method to determine word
5216 separators/whitespace and FindWordSeparator() to streamline common
5217 usage of IsWordSeparator()
5219 - Removed unneeded grabbed variable, it was just mirroring
5221 - No longer firing OnTextChanged event when Text setter is called,
5222 since the base will fire the event for us
5223 - Added handling of Ctrl-Up/Down selection
5224 - Added handling of Shift-Cursorkey selection
5225 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5227 - Added handling of Shift and Ctrl-Shift-Home/End selection
5228 - Removed some debug output
5229 - Added handling for single/double/tripple-click to place caret/
5230 select word/select line respectively (Fixes bug #76031)
5231 - Added support for drag expansion of word/line selection
5232 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5235 2005-11-02 Jackson Harper <jackson@ximian.com>
5237 * X11Dnd.cs: If the drag is going to and from a MWF window just
5238 copy the data instead of sending it out through the X Selection
5241 2005-11-02 Jackson Harper <jackson@ximian.com>
5244 * XplatUIX11.cs: When in a drag we don't want motion notify
5245 messages to get passed on to the other controls. This prevents
5246 mouse move messages from showing up in the drag source.
5248 2005-11-02 Jackson Harper <jackson@ximian.com>
5250 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5251 the correct button is release to end a drag.
5252 * XplatUIX11.cs: Make the button state internal so the drag system
5253 can access it. Dragging needs to know about all button releases,
5254 not just left button.
5256 2005-11-02 Miguel de Icaza <miguel@novell.com>
5258 * Form.cs (Icon): If the icon is null, reset the icon to the
5261 * Cursor.cs: When writing the AND-mask bitmap do not include the
5262 number of colors, but hardcode those to two (black and white),
5263 fixes the loading of color cursors (Paint Dot Net).
5265 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5266 turn off autoscaling.
5268 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5270 2005-11-02 Jackson Harper <jackson@ximian.com>
5272 * X11Dnd.cs: Make sure to send a status message if the pointer
5273 enters a control that can not accept a drop, otherwise the cursor
5274 isn't updated correctly. Also tried to compress the lines of code
5277 2005-11-02 Jackson Harper <jackson@ximian.com>
5279 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5280 set actions correctly. This isn't perfect as XDND and win32 have
5281 some differences on how you allow actions. I'll clear this up by
5282 adding a path for drag from MWF to MWF windows.
5283 * XplatUIX11.cs: Hook into the dnd system.
5285 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5287 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5288 previously shown but they are no longer need it. Very obvious when
5289 browsing files with FileDialog.
5291 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5293 * Control.cs: We always need to call OnPaintBackground. We pretty much
5294 ignore AllPaintingInWmPaint and always do the painting there, whether
5295 it's set or not, since we always ignore the WM_ERASEBKGND message
5296 (which we don't generate on X11). This fixes #76616.
5297 * Panel.cs: Removed unneeded background painting. This happens properly
5298 in Control.cs already
5300 2005-10-31 Mike Kestner <mkestner@novell.com>
5302 * Menu.cs: Add items to collection before setting their index.
5303 * MenuItem.cs : add range checking with ArgumentException like MS.
5306 2005-10-31 Jackson Harper <jackson@ximian.com>
5308 * ListBox.cs: Invalidate if the area is visible at all not just
5309 contained in the visible rect. Fixes unselection of semi visible
5312 2005-10-31 Jackson Harper <jackson@ximian.com>
5314 * Control.cs: Consistently name the dnd methods. Make them
5315 internal so we can override them to match some MS behavoir
5317 * Win32DnD.cs: Use the new consistent names.
5319 2005-10-31 Jackson Harper <jackson@ximian.com>
5321 * TreeView.cs: Don't draw the selected node when we lose focus.
5323 2005-10-31 Jackson Harper <jackson@ximian.com>
5325 * X11Dnd.cs: We still need to reset the state even though a full
5326 reset isn't being done, otherwise status's still get sent all over
5329 2005-10-31 Jackson Harper <jackson@ximian.com>
5331 * Control.cs: Make the dnd_aware flag internal so the dnd
5332 subsystem can check it. Catch exceptions thrown in dnd handlers to
5334 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5335 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5336 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5337 flags to reduce the number of dnd enters/status's sent.
5339 2005-10-31 Jackson Harper <jackson@ximian.com>
5341 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5343 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5345 * PictureBox.cs: Fixes 76512
5347 2005-10-28 Jackson Harper <jackson@ximian.com>
5349 * X11Dnd.cs: Early implementation to support winforms being a drag
5350 source for data on X11. Also restructured the converters so they
5351 can go both ways now.
5352 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5354 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5356 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5359 2005-10-27 Jackson Harper <jackson@ximian.com>
5361 * TreeNode.cs: Implement serialization so my DnD examples will work.
5363 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5365 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5366 TreeView.cs: Don't dispose objects that are not owned.
5368 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5370 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5371 should retrieve the current cursor and report that, but XplatUI
5372 doesn't (yet) have an interface for that (and I'm not sure I even
5374 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5375 until any message loop processing is done (and the WM_SETCURSOR
5376 replaces the cursor to the proper one)
5378 - Fixed override behaviour, we can't set the cursor globally on X11,
5379 just for our windows.
5380 - Invalidating the System.Drawing X11 display handle when we are
5382 * Control.cs: Fix to make csc happy
5384 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5387 - get_Text: Add last line (without trailing newline) to returned
5389 - get_TextLength: Count last line in returned length
5390 - ToString: Call Text property instead of duplicating code
5392 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5394 * ImageList.cs: Dispose ImageAttributes objects.
5396 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5398 * ImageList.cs: Use attribute constructors with less arguments where
5401 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5403 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5404 Use typeof instead of strings when assembly is referenced. Added
5407 2005-10-21 Jackson Harper <jackson@ximian.com>
5409 * ListView.cs: Raise a double click event. Also tried to somewhat
5410 fix when the selectedindexchanged event is raised. Its still
5413 2005-10-21 Jackson Harper <jackson@ximian.com>
5415 * TreeView.cs: New method to invalidate the plus minus area of a
5416 node without invalidating the whole node (maybe this can be used
5417 in some more places).
5418 * TreeNodeCollection.cs: When adding to an empty node we need to
5419 invalidate its plus minus area so the little block shows up.
5421 2005-10-21 Jackson Harper <jackson@ximian.com>
5423 * TreeView.cs: Make sure that when we invalidate a node the bounds
5424 are big enough to cover the selected box and the focus
5425 rectangle. Use a different colour for the lines connecting nodes
5426 so they show up with all themes.
5428 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5430 * NativeWindow.cs: Don't call anything that could call into the driver,
5431 we might be on a different thread.
5433 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5435 * Control.cs(Dispose): Since Dispose might run on a different thread,
5436 make sure that we call methods that could call into the driver via
5437 invoke, to avoid thread issues
5439 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5441 * XplatUI.cs: Removed finalizer
5442 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5443 not allowing to be called on the finalizer thread.
5445 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5448 - Reverted r51889 and r51891.
5449 - Added ImageListItem class that stores unmodified image items and image
5450 properties required to create list images until handle is created.
5451 - Added AddItem and moved image creation logic to AddItemInternal.
5452 - Added CreateHandle method that creates images based on unmodified items.
5453 - Added DestroyHandle that changes state to store unmodified items.
5454 - Add and AddStrip methods no more create handle.
5455 - ReduceColorDepth has no return value.
5456 - Dispose destroys handle.
5457 - Modified other methods to reflect the above changes.
5458 - Implemented key support.
5459 - Added profile 2.0 members and attributes.
5460 - Added private Reset and ShouldSerialize methods that provide the same
5461 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5462 them as they are private.
5463 - Added some more comments about implementation details.
5465 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5467 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5469 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5471 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5473 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5475 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5476 * DataGridColumnStyle.cs: Remove debug message
5478 2005-10-20 Jackson Harper <jackson@ximian.com>
5480 * TreeView.cs: We can always get input keys regardless of whether
5481 or not editing is enabled. They are used for navigation.
5483 2005-10-20 Jackson Harper <jackson@ximian.com>
5485 * TreeNode.cs: Use the viewport rect for determining if a node
5486 needs to be moved for visibility. Don't use Begin/End edit. This
5487 calls a full refresh when its done.
5488 * TreeView.cs: New SetBottom works correctly. Make the viewport
5489 rect property internal so the treenodes can see it. When clicking
5490 on a node we need to ensure that its visible because it might just
5491 be partly visible when clicked.
5493 2005-10-20 Jackson Harper <jackson@ximian.com>
5495 * TreeNodeCollection.cs: Remove debug code.
5497 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5499 * Datagrid.cs: Implements column sorting in Datagrid
5500 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5502 2005-10-20 Jackson Harper <jackson@ximian.com>
5504 * TreeNodeCollection.cs: Remove items properly. Update the correct
5505 area after removing them.
5507 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5509 * Datagrid.cs: Should not call base.OnPaintBackground
5511 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5513 * XplatUIX11.cs (GetMessage):
5514 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5515 window instead of client window
5516 - Now properly calculates NC_xBUTTONUP message coordinates
5517 - ScreenToMenu now properly calculates it's coordinates of whole
5518 window, since menus are in the whole window, not in the client
5520 - Added WholeToScreen coordinate translation method
5522 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5524 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5525 want to return a message, loop back to the beginning of the function
5526 and grab the next real message to process instead.
5528 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5530 * Splitter.cs: Properly set limits if no filler control is used
5532 2005-10-19 Jackson Harper <jackson@ximian.com>
5534 * ColorDialog.cs: Don't show the help button if it is not enabled
5535 instead of disabling it (this is what MS does). Don't create the
5536 panel until the dialog is run, otherwise the vars (such as
5537 ShowHelp) are not set yet.
5539 2005-10-19 Jackson Harper <jackson@ximian.com>
5541 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5542 are reduced when adding nodes.
5544 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5547 2005-10-19 Jackson Harper <jackson@ximian.com>
5549 * FolderBrowserDialog.cs: End editing our treeview so the window
5550 actually gets refreshed.
5552 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5554 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5555 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5558 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5560 * MenuAPI.cs: Returns after Hidding window
5561 * XplatUIX11.cs: Added TODO found while debugging menu issues
5563 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5565 * XplatUIX11.cs: Do not re-map the whole window when it's size
5566 becomes non-zero unless it's supposed to be actually visible
5568 2005-10-18 Jackson Harper <jackson@ximian.com>
5570 * TreeView.cs: We don't need to keep a count anymore.
5571 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5572 use the Grow method.
5574 2005-10-18 Jackson Harper <jackson@ximian.com>
5576 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5577 implement it manually here.
5579 2005-10-18 Jackson Harper <jackson@ximian.com>
5581 * ImageList.cs: Dont kill the list when the colour depth is
5582 changed, just change the colour depth of all the images.
5583 - Same goes for setting the image size. Just resize them all
5584 instead of killing the list softly.
5586 2005-10-18 Jackson Harper <jackson@ximian.com>
5588 * Control.cs: Don't invalidate empty rectangles.
5590 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5593 - Adds checked item to the Checked/Item lists (where empty before)
5594 - Do not add items to the Selected lists if they are already present
5596 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5597 - When deleting items make sure that we delete them for the Selected
5598 and Checked list also.
5600 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5602 * Label.cs: Dispose objects no longer used
5603 * ThemeWin32Classic.cs: Dispose objects no longer used
5605 2005-10-18 Jackson Harper <jackson@ximian.com>
5607 * TabControl.cs: Don't refresh the whole control when the tabs are
5608 scrolled, we just need to refresh the tab area.
5610 2005-10-17 Jackson Harper <jackson@ximian.com>
5612 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5613 after handle when we need it.
5615 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5617 * Control.cs: When the parent size changes, recalculate anchor
5618 positions. Partial fix for #76462
5620 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5622 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5625 2005-10-17 Jackson Harper <jackson@ximian.com>
5627 * MonthCalendar.cs: Don't create the numeric up down until our
5628 handle is created. Otherwise our handle is created in the
5629 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5632 2005-10-17 Jackson Harper <jackson@ximian.com>
5634 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5637 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5638 * TreeNode.cs : small logical fix (was using local var instead of field)
5640 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5642 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5644 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5646 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5648 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5651 - Re-implemented anchoring code. My first version was really broken.
5652 This fixes bug #76033. Unlike the previous implementation we will
5653 no longer have round errors since all numbers are calculated from
5654 scratch every time. Removed various anchor-related obsolete vars.
5655 - InitLayout no longer causes layout event firing and layout to be
5658 2005-10-16 Jackson Harper <jackson@ximian.com>
5660 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5663 2005-10-16 Jackson Harper <jackson@ximian.com>
5665 * TabControl.cs: Remove debug code.
5667 2005-10-16 Jackson Harper <jackson@ximian.com>
5669 * XEventQueue.cs: Increase the default queue size (very simple
5670 apps needed to grow the queue).
5671 * Hwnd.cs: No finalizer so we don't need to suppress
5672 finalization. Compute the invalid area manually so a new rectangle
5673 does not newto be created.
5674 * ScrollableControl.cs: Don't set any params (otherwise visibility
5675 isn't set correctly).
5676 * MdiChildContext.cs: New constructor takes the mdi parent so it
5677 doesn't have to be computed and avoids a crash on windows. Draw
5678 the window icon properly, and allow the text to be seen.
5679 * Form.cs: Use new MdiChildContext constructor. Make sure the
5680 child context isn't null in wndproc.
5681 * TabControl.cs: Don't set focus, this is muddling keyboard
5682 behavoir. Expand the tab rows when a window size increase will
5683 allow extra tabs to be seen. Don't allow tabs smaller than the
5684 width of a window to be scrolled out of view.
5686 * TreeView.cs: Use measure string to calculate a nodes width, the
5687 width is cached and only updated when the text or the font is
5688 changed. Don't check for expand/collapse clicks on the first level
5689 nodes if root lines are disabled.
5691 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5693 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5695 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5697 * DataGridBoolColumn.cs: fixes warning
5699 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5701 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5702 to match more to match more precisely the MS Net behavior
5704 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5706 * Hwnd.cs: Added field to track if window is mapped
5708 - Unmap windows if they become 0-size, re-map when
5709 they are >0 again; fixes #76035
5710 - Re-set our error handler after initializing X11Desktop
5711 to override any error handlers Gtk or whatever was called
5714 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5716 * CheckedListBox.cs: Removed unused vars
5717 * ListView.cs: Fixed signatures
5718 * RichTextBox.cs: Removed unused vars
5719 * TextBoxBase.cs: Removed unused vars
5720 * XplatUIWin32.cs: Removed unused vars
5721 * XplatUIX11.cs: Removed unused vars
5722 * XplatUI.cs: Updated version and date to latest published
5724 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5726 * Cursor.cs: Added private .ctor to work around a bug in
5727 resourceset (Thanks to Geoff Norton for the help on this)
5728 * SplitterEventArgs.cs: Made fields accessible so we don't
5729 waste boatloads of objects and can reuse the same one
5731 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5732 any captions and borders when generating screen coordinates
5733 * Splitter.cs: Reimplemented control, now fully complete, uses
5734 rubberband drawing, supports and obeys all properties, has
5737 2005-10-13 Miguel de Icaza <miguel@novell.com>
5739 * Form.cs (Form): Setup default values for autoscale and
5740 autoscale_base_size; Make these instance variables, not static
5743 (OnLoad): on the first load, adjust the size of the form.
5745 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5747 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5748 width argument to DrawReversibleRectangle()
5749 * XplatUIWin32.cs, XplatUIX11.cs:
5750 - Implemented width for DrawReversibleRectangle()
5751 - Added logic to DrawReversibleRectangle that recognizes a zero
5752 width or height and only draws a line in that situation
5754 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5756 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5757 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5758 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5759 method (it uses our FosterParent window to get a graphics context)
5761 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5763 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5764 and SetWindowBackground methods
5766 - Setting proper ControlStyles
5767 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5768 EraseWindowBackground, instead we draw the window background
5769 ourselves in PaintControlBackground. This behaviour is
5770 required to match MS, where, when OnPaintBackground is not
5771 called, the background is not drawn.
5772 - Removed unneeded Refresh() in set_Text
5773 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5775 - Created DeriveStyles method to translate from CreateParams to
5776 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5777 matches FormBorderStyle enum values)
5778 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5779 style calculations into single DeriveStyles method
5780 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5781 from redrawing the whole window on any resize or expose.
5782 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5783 all styles were applied to our whole/client window appropriately
5784 - Removed EraseWindowBackground() and SetWindowBackground() methods
5785 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5786 no longer clear/redraw the background through X
5787 - Removed handling of erase_pending bit, we have no use for it (or
5790 - Removed generation and handling of WM_ERASEBKGND message
5791 - Removed EraseWindowBackground() and SetWindowBackground() methods
5792 - Removed handling of hwnd.ErasePending flag
5794 - Removed EraseWindowBackground() and SetWindowBackground() methods
5795 - We no longer call EraseWindowBackground on PaintEventStart, we
5796 ignore the fErase flag, erasing is handled in Control in the
5798 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5799 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5800 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5801 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5802 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5803 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5804 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5806 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5808 * PropertyGrids.cs: Get sub properties
5809 * PropertyGridView.cs: Fix drawing code
5811 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5813 * ListBox.cs: Fixes 76383
5815 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5817 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5818 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5819 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5822 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5824 * ComboBox.cs: Fixes border drawing
5826 2005-10-10 Miguel de Icaza <miguel@novell.com>
5828 * MimeIcon.cs: Ignore errors if the file can not be read.
5830 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5832 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5833 - Fixed border calculations
5834 - Fixed horizontal scrolling in single column listboxes
5835 - Fixed drawing issues
5837 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5839 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5840 FormBorderStyle enum
5841 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5842 code to determine FormBorderStyles from CreateParams
5844 - Fixed bug where we'd set the wrong window styles if we were
5845 not creating an MDI window
5846 - Added call to XplatUI.SetBorderStyle when form borders are set
5847 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5849 - Removed obsolete edge style
5850 - Switched from BorderStyle to FormBorderStyle
5852 2005-10-10 Jackson Harper <jackson@ximian.com>
5854 * Form.cs: Use the property to get the window handle instead of
5855 accessing it directly. Prevents a null reference exception.
5857 2005-10-10 Jackson Harper <jackson@ximian.com>
5859 * TreeView.cs: Don't adjust the rect given to DrawString now that
5860 our libgdiplus draws correctly.
5862 2005-10-08 Jackson Harper <jackson@ximian.com>
5864 * TreeView.cs: Don't try to find the clicked on node if there are
5865 no nodes in the tree.
5867 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5873 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5875 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5876 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5878 Use ResPool for brushes and dispose System.Drawing objects that
5879 are not used anymore.
5881 2005-10-07 Jackson Harper <jackson@ximian.com>
5883 * MdiChildContext.cs: Use the new borders instead of drawing them
5886 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5888 * Calling UpdateBounds after changing the window's BorderStyle
5889 since the style can change the ClientSize
5891 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5893 * Control.cs: Made PaintControlBackground virtual
5894 * Panel.cs: Overriding PaintControlBackground instead of using paint
5895 event; paint event method was interfering with 'real' users of the
5898 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5900 * ThemeWin32Classic.cs: remove border drawing since it is handled
5901 by the base control class now and was causing double border drawing.
5903 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5905 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5906 but it does seem to match MS behaviour. This fixes bug #75324
5908 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5910 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5911 somewhat hackish looking
5913 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5916 - We now accept Enter even if AcceptEnter is false, if the containing
5917 form does not have an AcceptButton configured (fixes bug #76355)
5918 - Calculations are now fixed to no longer use Width/Height, but
5919 ClientSize.Width/Height, since we now support borders (this was
5920 a result of fixing borders and therefore bug #76166)
5921 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5922 true (fixes bug #76354)
5924 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5927 - Defaulting BorderStyle and setting it in XplatUI when our window
5929 - Added enum check to InternalBorderStyle setter
5931 - Added drawing of window borders
5932 - Now properly calculates WM decorations offset for toplevel
5933 windows (fixes bug #74763)
5935 - Implemented BorderStyles for windows (we're letting win32 draw
5937 - Fixed the signature for SetWindowLong
5938 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5939 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5941 * UpDownBase.cs: Remove drawing of borders, this is handled by
5942 the driver, outside the client area
5943 * ListView.cs: Removed bogus border calculations. The control should
5944 be oblivious to borders, since those are not part of the client
5946 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5947 * ThemeWin32Classic.cs: Removed border calculations from ListView
5950 2005-10-06 Jackson Harper <jackson@ximian.com>
5952 * MdiChildContext.cs: Clear out the old virtual position remove
5953 all the unneeded calls to CreateGraphics.
5955 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5957 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5959 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5962 - Added loading and setting of our new default icon
5963 - Only set icon if window is already created
5965 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5968 - Do not explicitly set the foreground and background colors, to
5969 allow inheriting from parents (fixes #76302)
5970 - Use Control's InternalBorderStyle property to deal with borders
5972 2005-10-06 Jackson Harper <jackson@ximian.com>
5974 * MdiChildContext.cs: Use the new xplatui function to draw a
5977 2005-10-06 Jackson Harper <jackson@ximian.com>
5979 * Form.cs: Add the parent before creating the child context cause
5980 we need the parent when setting up the child.
5982 2005-10-06 Jackson Harper <jackson@ximian.com>
5984 * FolderBrowserDialog.cs: redo the tree population code so a
5985 second thread isn't used. Should be a lot faster and more stable
5988 2005-10-05 Jackson Harper <jackson@ximian.com>
5990 * TreeView.cs: There are no expand/collapse boxes if the node has
5993 2005-10-05 Jackson Harper <jackson@ximian.com>
5995 * X11DesktopColors.cs: Get menu colours for the gtk theme.
5997 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
5999 * FileDialog.cs: Fix InitialDirectory
6001 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6004 - Fixes changing between styles
6006 - Fixes last item crashing when navigating with keyboard
6008 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6010 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6012 2005-10-05 Jackson Harper <jackson@ximian.com>
6014 * TreeView.cs: If updating the root node do a full refresh.
6015 * TreeNode.cs: The root node should be expanded by default. Also
6016 added a utility prop to tell if we are the root node.
6017 * TreeNodeCollection.cs: Only refresh if the node we are being
6018 added to is expanded. Also added a comment on a potential
6021 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6023 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6024 in dispose method. Fixes #76330
6026 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6028 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6030 - Implements vertical and horizontal scrolling using XplatUI
6031 - Fixes keyboard navagation
6032 - Fixes EnsureVisible
6034 - Handles and draws focus properly
6037 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6039 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6040 Create handle. NET_2_0: Destroy handle when value is null.
6042 2005-10-03 Jackson Harper <jackson@ximian.com>
6044 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6045 revert and a new patch to prevent the thumb from refreshing so
6048 2005-10-02 Jackson Harper <jackson@ximian.com>
6050 * ScrollBar.cs: Don't update position if it hasn't actually
6051 changed. This occurs when you hold down the increment/decrement
6052 buttons and the thumb gets to the max/min.
6054 2005-10-01 Jackson Harper <jackson@ximian.com>
6057 * MdiChildContext.cs:
6058 * MdiClient.cs: Implement ActiveMdiChild in Form.
6060 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6062 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6064 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6066 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6069 2005-09-30 Jackson Harper <jackson@ximian.com>
6071 * ListBox.cs: Don't do a full refresh unless some data has
6074 2005-09-30 Jackson Harper <jackson@ximian.com>
6076 * TreeView.cs: Make sure that the checkboxes size is factored in
6077 even when not visible.
6079 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6081 * FileDialog.cs: Fix Jordi's build break
6083 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6086 - Use standard the Windows colours for the combobox as espected
6087 - Dispose objects that use resouces when no longer need them
6089 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6091 * X11DesktopColors.cs: Initial incomplete implementation
6092 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6094 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6097 - Switched Theme color names to match the names defined in
6098 System.Drawing.KnownColors. Life's hard enough, no need to make
6100 - Added setters to all theme color properties so themes can set
6101 their color schemes. The setters also propagate the color changes
6102 to System.Drawing.KnownColors via reflection
6103 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6104 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6105 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6106 use the new, more logical theme color names
6107 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6109 * ThemeWin32Classic.cs:
6110 - Removed code to set the old classic Windows colors. Instead it
6111 now relies on the colors returned by System.Drawing.KnownColors
6112 which will be either modern static colors (Unix) or colors
6113 read from the user's configuration (Win32)
6114 - Updated to use the new, more logical theme color names
6115 - Switched DataGrid drawing code to use only Theme colors instead of
6116 a mix of System.Drawing.KnownColors and Theme colors
6117 - DrawFrameControl(): Removed code that fills the button area, the
6118 fill would overwrite any previous fill done by a control. This
6120 - Added DrawReversibleRectangle() stub
6121 * ScrollableControl.cs: Set visible state to false when scrollbars
6122 are removed (pdn fix)
6123 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6124 DrawReversibleRectangle() method to allow drawing primitive
6126 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6128 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6130 * ImageList.cs: Add(Icon): Create handle.
6132 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6135 * ThemeWin32Classic.cs:
6138 - Issues with drawing
6140 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6142 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6143 source has to be the ImageList.
6145 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6147 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6149 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6151 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6153 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6155 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6157 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6158 * GridItem.cs: Fixed TODOs
6159 * GridItemCollection.cs: Added ICollection interface
6161 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6163 * ImageList.cs: Resize icons when needed.
6165 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6168 - Fixes GetBounds and returns on screen rects
6170 - Fixes vertical and horzintal scrolling of items
6171 * ThemeWin32Classic.cs:
6174 2005-09-29 Raja R Harinath <harinath@gmail.com>
6176 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6178 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6180 * ImageList.cs: Added comments about handle creation. Moved Handle,
6181 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6182 Handle is created in Add methods.
6184 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6186 * DataGridDrawingLogic.cs:
6187 - Takes rows into account on Colum calculations
6188 - Returns the column when clickig
6190 - Fixes default HitTestInfo values
6191 - Fixes HitTestInfo.ToString
6192 - Fixes ResetBackColor
6194 2005-09-28 Jackson Harper <jackson@ximian.com>
6196 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6197 sizing or cursor changes). Also added some temp code to draw the
6198 titlebars text (Makes dev a little easier).
6200 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6202 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6204 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6206 * ListBox.cs: Fixes bug 76253
6208 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6210 * ImageList.cs: Added comments about the current implementation. Added
6211 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6212 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6213 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6214 with Bitmap.LockBits for better performance. Revised the whole file to
6215 match MS.NET behaviour and provide better performance. Non-public
6216 interface members are calling public members even when they throw
6217 NotSupportedException for better maintainability. Moved ColorDepth,
6218 ImageSize, ImageStream and TransparentColor implementations to
6219 ImageCollection for better performance as these properties are not used
6221 * ImageListStreamer.cs: Added a new internal constructor that takes an
6222 ImageList.ImageCollection and serializes Images based on
6223 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6224 match ImageList property name.
6226 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6228 * ListBox.cs: Fixes IndexFromPoint for last item
6230 2005-09-27 Jackson Harper <jackson@ximian.com>
6232 * Form.cs: Set the position of new mdi children correctly.
6234 2005-09-27 Jackson Harper <jackson@ximian.com>
6236 * MdiClient.cs: New mdi children need to be added to the back of
6237 the controls collection so the zorder is set correctly. Also add a
6238 count of all the child windows that have been created.
6240 2005-09-27 Jackson Harper <jackson@ximian.com>
6242 * Form.cs (CreateParams): Setup MDI forms correctly.
6244 2005-09-27 Jackson Harper <jackson@ximian.com>
6246 * MdiChildContext.cs:
6253 * ScrollableControl.cs:
6254 * ComboBox.cs: Add implicit controls using the new implict control
6255 functionality in ControlCollection. Also try to block multiple
6256 control add in a suspend/resume layout to save some cycles.
6258 2005-09-27 Jackson Harper <jackson@ximian.com>
6260 * Control.cs: Add functionality to the controls collection to add
6261 'implicit controls' these are controls that are created by the
6262 containing control but should not be exposed to the user. Such as
6263 scrollbars in the treeview.
6264 * Form.cs: The list var of the ControlsCollection is no longer
6265 available because of the potential of implicit controls getting
6266 ignored by someone accessing the list directly.
6268 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6270 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6271 loose it's parent. (Fixed bug introduced in r49103 when we added
6272 setting the child parent to null on Remove)
6274 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6276 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6277 * Splitter.cs: Added missing attributes for BorderStyle property.
6278 * TextBoxBase.cs: Marked Calculate* methods internal.
6279 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6282 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6284 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6286 2005-09-25 Jackson Harper <jackson@ximian.com>
6288 * TreeView.cs: Update the node bounds correctly regardless of
6289 whether the node is visible.
6291 2005-09-25 Jackson Harper <jackson@ximian.com>
6293 * ImageList.cs: Don't dispose the image after it is added to the
6294 image list. Only reformat images that need to be resized.
6296 2005-09-25 Jackson Harper <jackson@ximian.com>
6298 * ImageList.cs: Don't set the format when changing the image.
6300 2005-09-25 Jackson Harper <jackson@ximian.com>
6302 * TreeView.cs: We can't just assume the node has a font. Use the
6303 treeviews font if no node font is available.
6305 2005-09-25 Jackson Harper <jackson@ximian.com>
6307 * TreeView.cs: Allow the scrollbars to be reset with negative
6309 - Don't add scrollbars to negative sized windows.
6311 2005-09-23 Jackson Harper <jackson@ximian.com>
6313 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6314 old Mono.Posix. Also remove some stray code that shouldn't have
6317 2005-09-23 Jackson Harper <jackson@ximian.com>
6319 * TreeView.cs: Attempt at proper sizing of the horizontal
6320 scrollbar. Also don't resize the scrollbars unless they are
6323 2005-09-23 Jackson Harper <jackson@ximian.com>
6325 * TreeView.cs: We don't need to expand the invalid area when the
6326 selection changes, as this is all drawn in the node's bounding
6327 box. The area needs to be expanded (previous typo was contracting
6328 it) when the focus rect moves.
6330 2005-09-23 Jackson Harper <jackson@ximian.com>
6332 * TreeView.cs: Display the selection box under the correct
6333 circumstances. We were rendering white text with no selection box
6336 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6338 * TextControl.cs(Split): Now updates selection start/end if it points
6339 into a line that's being split. Fixes a FIXME and bug #75258
6341 2005-09-23 Jackson Harper <jackson@ximian.com>
6344 * ListControl.cs: Don't use the path when retrieving binding
6345 managers from the binding context. My bat sense tells me that the
6346 path is only used on insertion.
6348 2005-09-22 Jackson Harper <jackson@ximian.com>
6350 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6352 2005-09-22 Jackson Harper <jackson@ximian.com>
6354 * Splitter.cs: There are special cursors used for splitting.
6355 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6357 2005-09-22 Jackson Harper <jackson@ximian.com>
6359 * Splitter.cs: Change the cursor appropriately when the splitter
6360 is moused over, so the user actually knows there is a splitter
6363 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6365 * Label.cs : Fix ToString method to give same output as MS.NET
6367 2005-09-22 Jackson Harper <jackson@ximian.com>
6369 * TreeView.cs: Create the scrollbars when the handle is created
6370 and add them right away, just make them invisble. Also account for
6371 the window being shrunk vertically to the point that the vert
6372 scrollbar needs to be added.
6373 - Remove some 0.5 adjustments to get around anti aliasing issues.
6375 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6377 * MainMenu.cs: Fixes default value
6378 * MenuItem.cs: Fixes default value
6380 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6382 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6384 2005-09-21 Jackson Harper <jackson@ximian.com>
6386 * Control.cs: Don't try to set the border style on the window if
6387 it hasn't been created. When the window is created the border
6390 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6392 * Control.cs (Update): Don't call XplatUI if we don't have a
6395 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6397 * ContainerControl.cs: Instead of throwing an exception, print
6398 a one-time warning about Validate not being implemented
6399 * XplatUIWin32.cs: Removed debug output
6401 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6403 * Control.cs: Only set XplatUI background if we expect the windowing
6404 system to handle the background. This stops controls that draw their
6405 own background from flickering
6407 * XplatUIX11.cs: Support custom visuals and colormaps for window
6408 creation. This allows, amongst other things, using MWF X11 windows
6411 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6413 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6414 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6415 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6416 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6417 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6418 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6419 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6420 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6421 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6422 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6423 GridColumnStylesCollection.cs,
6424 IDataGridColumnStyleEditingNotificationService.cs,
6425 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6426 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6427 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6428 TreeNodeCollection.cs, AmbientProperties.cs,
6429 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6430 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6431 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6432 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6433 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6434 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6435 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6436 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6437 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6438 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6439 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6440 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6441 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6442 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6443 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6444 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6445 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6446 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6447 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6448 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6449 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6450 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6451 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6452 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6453 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6454 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6455 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6456 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6457 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6458 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6459 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6460 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6461 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6462 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6463 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6464 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6465 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6467 2005-09-21 Jackson Harper <jackson@ximian.com>
6469 * TreeNode.cs: Call Before/After Expand not Collapse when
6472 2005-09-20 Jackson Harper <jackson@ximian.com>
6474 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6476 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6480 - Fixes proper storing of subitems
6481 - Fixes not updated items
6483 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6485 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6486 things if our window handle isn't created yet. Also disabled
6487 debug for TextBoxBase
6489 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6491 * MenuAPI.cs: Remove filtering of events to allow menu usage
6493 2005-09-20 Miguel de Icaza <miguel@novell.com>
6495 * Cursor.cs: Allow null to be passed to Cursor.Current.
6497 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6499 * ThemeWin32Classic.cs:
6500 - Change some private methods/fields to protected virtual so that
6501 they can be accessed and overriden in derived classes
6502 - First refactoring of some methods. Derived themes now don't
6503 need to duplicate the complete code from ThemeWin32Classic
6505 - Added nice StatusBar
6506 - Derive from ThemeWin32Classic and not Theme
6507 - Removed duplicate ThemeWin32Classic code
6509 2005-09-20 Miguel de Icaza <miguel@novell.com>
6511 * Control.cs (ControlCollection.Add): If the value null is passed
6512 the control is ignored.
6516 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6518 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6519 PostQuitMessage state.
6520 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6522 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6524 * Application.cs: Our constructor will never get called, move
6525 initialization to fields; fixes bug #75933
6527 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6530 - Allow files to be selected properly using file name
6532 - Add ability to change diretory (absolute / relative)
6533 using file name combo box.
6535 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6538 - Fixes Multicolumn listboxes item wrong calculations
6539 - Allows to click when only one item is in the listbox
6540 - Fixes crash when no items using keyboard navigation
6542 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6544 * ComboBox.cs: Reverted almost everything from the latest patch which
6547 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6550 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6552 - When DropDownStyle is Simple, it does not show scrollbar
6553 to the last item of the list.
6554 - When DropDownStyle is Simple, it crashed when the list was
6555 scrolled down with the down cursor key.
6556 - Fixed a bug that when DropDownStyle is DropDownList, the
6557 selected item was not shown.
6558 - The position of the selected item was not preserved when
6559 the next dropdown happened.
6560 * ThemeWin32Classic.cs:
6561 - Items were wrapped at the right end.
6562 * CheckedListBox.cs:
6565 - Items should be fully shown.
6566 - When resizing and vertical scrollbar disappeared, the item
6567 of index 0 should be on the top of the list.
6568 - GetItemRectangle should consider the size of ver. scrollbar
6570 - SizingGrip area should not be allocated when it is not
6572 - Now it reflects MinWidth of the containing panel and
6573 fixed a crash that happens when its width becomes so small.
6575 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6577 * CheckedListBox.cs: Fixes bug 76028
6578 * ListBox.cs: Fixes bug 76028
6580 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6582 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6583 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6585 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6587 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6589 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6591 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6593 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6595 * IRootGridEntry.cs: Added
6596 * PropertyGridCommands.cs: Added
6597 * PropertiesTab.cs: Added missing methods and property
6598 * PropertyGridView.cs: Made class internal
6599 * PropertyGridTextBox.cs: Made class internal
6601 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6603 * MimeIcon.cs: Try to check some other environment variables
6604 if "DESKTOP_SESSION" returns "default"
6606 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6608 * ThemeNice.cs: Corrected background colors (e.g. menus)
6609 * ColorDialog.cs: Use correct background colors for controls
6611 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6613 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6615 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6617 * RichTextBox.cs: Added initial implementation
6618 * lang.cs: Removed. Was accidentally checked in long time ago
6619 * TODO: Removed. Contents were obsolete
6621 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6623 * PropertiesTab.cs : Added
6625 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6627 * PropertyGrid.cs : Update
6628 * PropertyGridView.cs : Update
6629 * System.Windows.Forms.resx : Added images and strings
6631 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6633 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6635 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6637 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6638 a busy loop right after the Ungrab the X11 display is otherwise
6641 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6643 * ThemeWin32Classic.cs: Optimise the use of clipping
6645 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6647 * DataGrid.cs: fixes recursion bug
6649 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6652 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6655 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6657 * ThemeNice.cs: Draw nice ProgressBars
6659 2005-09-01 Miguel de Icaza <miguel@novell.com>
6661 * VScrollBar.cs: Another buglet found by Aaron's tool.
6663 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6666 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6669 - Added nicer menu drawing
6673 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6675 * CreateParams.cs (ToString): Made output match MS
6676 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6677 handle is already created (to avoid forcing window creation)
6678 * XplatUIX11.cs: Set window text to caption after creating window,
6679 in case Text was set before window was created
6680 * Form.cs: Use this.Text instead of a static string as caption
6682 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6684 * NotifyIcon.cs: Don't set the window to visible; this screws
6685 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6686 OnPaint without a bitmap)
6687 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6688 happen very often anyway; we could add the check to the WM_PAINT
6689 event generation code
6691 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6693 * NotifyIcon.cs: Fill the icon area with a background color, to
6694 avoid 'residue' when transparent icons are drawn
6696 - Handle whole_window == client_window when destroying windows
6697 - SystrayAdd(): Set client_window to whole_window value to
6698 get mouse and other events passed to NotifyIcon
6700 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6702 * Form.cs: Set proper default for Opacity property
6704 - ShowSystray(): Don't bother creating telling the OS
6705 about the systray item if no icon is provided
6706 - Now handles WM_NCPAINT message to deal with whole/client window
6708 - Create window as visible to not get caught by Expose optimization
6709 * Hwnd.cs: Removed debug message
6710 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6711 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6712 PaintEventStart/End to use new client argument
6714 - Commented out debug messages
6715 - Switched PaintEventStart/End to use new client argument
6716 * XplatUI.cs: Added client window bool to PaintEventStart()/
6717 PaintEventEnd() calls, to support drawing in non-client areas
6719 - Added client window bool to PaintEventStart()/PaintEventEnd()
6720 calls, to support drawing in non-client areas
6721 - Added conditional compile to allow using MWF BeginInvoke
6724 - Added some conditional debug output
6725 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6726 whole/client window split
6727 - Implemented handling of client argument to PaintEventStart()/End()
6729 - Throw exception if BeginInvoke() is called and the window handle
6730 or one of the window's parent handles is not created
6731 - Added conditional compile to allow using MWF BeginInvoke on
6733 - get_Parent(): Only sets parent if handle is created. This avoids
6734 forcing window handle creation when parent is set.
6735 - Now fires Layout and Parent changed events in proper order
6736 - Switched to use Handle instead of window.Handle for Z-Order setting,
6737 the get_Parent() patch above causes us to possibly get null for 'window'
6738 - Implemented handling of client argument to PaintEventStart()/End()
6739 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6741 - Now sends a Refresh() to all child windows when Refresh() is called
6743 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6745 * Form.cs: Added (non-functional) Opacity property
6746 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6748 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6749 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6750 use export MONO_THEME=nice to activate it.
6751 Currently supported controls:
6755 - TabControl (TabAlignment.Top only, other will follow)
6756 * ThemeEngine.cs: Add theme nice
6757 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6760 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6762 * Splitter.cs: Resize docked control and its neighbor.
6764 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6765 -- Making Windows with Menus layout correctly --
6766 * Form.cs : The first leg of the fix
6767 Menu setter - adjust Client Size as needed to make space for the menu
6768 SetClientSizeCore - doesn't call base version to be able to pass the
6769 menu handle to XplatUI.CalculateWindowRect
6770 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6771 * XplatUIX11.cs: The critical second leg of the fix
6772 GetWindowPos needs to use a recalculated client_rect
6773 so that resizing the window doesn't break layout of child controls.
6774 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6777 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6779 * Label.cs: Now properly recalculates width and height on Font and Text
6780 changes if AutoSize is set
6782 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6783 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6785 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6787 * ImageList.cs: Makes ToString method compatible with MS
6789 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6791 * MenuAPI.cs: fixes bug 75716
6793 2005-08-11 Umadevi S <sumadevi@novell.com>
6794 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6796 2005-08-11 Umadevi S <sumadevi@novell.com>
6797 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6799 2005-08-10 Umadevi S <sumadevi@novell.com>
6800 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6802 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6804 * Menu.cs: fixes bug 75700
6805 * MenuAPI.cs: fixes navigation issues
6807 2005-08-09 Umadevi S <sumadevi@novell.com>
6808 * CheckedListBox.cs - simple fix for GetItemChecked.
6810 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6812 * ComboBox.cs: Serveral fixes
6813 * ListBox.cs: Serveral fixes
6815 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6817 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6818 * ListBox.cs: Fixes FindString methods
6820 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6822 * DataGrid.cs: fixes bugs exposed by new tests
6824 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6826 * Mime.cs: Compile Mono assembly references only if compiling
6827 with Mono (Allows to build with VS.Net again)
6829 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6831 * Control.cs (PaintControlBackground): Draw background image
6833 (CheckForIllegalCrossThreadCalls): Stubbed.
6835 * Form.cs (OnCreateControl): Center when should be centered.
6837 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6839 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6841 * Binding.cs: Binding to properties should be case unsensitive
6843 2005-07-18 vlindos@nucleusys.com
6845 * DataGrid.cs: fixes setmember order
6847 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6849 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6850 * FileDialog.cs: FileDialog is now resizable and uses the new
6853 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6855 * DataGridTextBoxColumn.cs: default value
6856 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6857 * GridTableStylesCollection.cs: fixes checking MappingName
6858 * DataGridDrawingLogic.cs: fixes drawing logic issues
6859 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6860 * DataGrid.cs: fixes
6862 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6864 * MimeGenerated.cs: Use case sensitive comparer for
6865 NameValueCollections
6867 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6869 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6870 * ThemeWin32Classic.cs: bug fixes, code refactoring
6871 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6872 * DataGrid.cs: bug fixes, code refactoring
6873 * DataGridTextBox.cs: bug fixes, code refactoring
6874 * DataGridColumnStyle.cs: bug fixes, code refactoring
6875 * Theme.cs: bug fixes, code refactoring
6877 2005-07-01 Peter Bartok <pbartok@novell.com>
6879 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6880 and other text box usage
6882 2005-07-01 Jackson Harper <jackson@ximian.com>
6884 * TabControl.cs: Make sure the bottom of the tab covers the pages
6887 2005-06-30 Peter Bartok <pbartok@novell.com>
6889 * Form.cs (ShowDialog): Assign owner of the dialog
6890 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6891 might have been moved to a tag with different height
6893 2005-06-30 Jackson Harper <jackson@ximian.com>
6895 * Form.cs: Don't create an infinite loop when setting focus
6896 * MenuItem.cs: Don't dirty the parents if we don't have any
6898 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6900 * LibSupport.cs: Rename
6902 2005-06-29 Peter Bartok <pbartok@novell.com>
6904 * TextBoxBase.cs: Re-align caret after deleting a character
6906 - DeleteChars(): Ensure that tag covers the provided position
6907 - StreamLine(): Drop reference for dropped tag
6909 2005-06-29 Peter Bartok <pbartok@novell.com>
6912 - Selections now work properly, anchoring at the initial location
6913 and properly extending in either direction (SetSelectionToCaret(),
6914 SetSelectionStart() and SetSelectionEnd())
6915 - No longer redraws the whole control on selection change, now
6916 calculates delta between previous and new selection and only
6917 invalidates/redraws that area
6918 - Fixed FindPos() math off-by-one errors
6919 - Changed DeleteChars() to verify the provided tag covers the
6920 provided position, selections may have a tag that doesn't cover
6921 the position if the selection is at a tag border
6922 - Fixed off-by-one errors in DeleteChars()
6923 - Added missing streamlining check in DeleteChars() to remove
6925 - Implemented Invalidate() method, now properly calculates exposures
6926 between two given lines/positions
6927 - Implemented SetSelection()
6928 - Obsoleted and removed FixupSelection()
6929 - Improved RecalculateDocument() logic, removing code duplication
6931 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6933 * LibSupport.cs: changes to match different input/output arguments.
6935 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6937 * LibSupport.cs: added libsupport.so init routine.
6939 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6941 * ControlBindingsCollection.cs
6942 - Throws an exception on null datasource when adding
6943 - Checks for duplicated bindings when adding
6945 2005-06-28 Jackson Harper <jackson@ximian.com>
6947 * TreeView.cs (OnKeyDown): Support left and right properly
6948 (navigates as well as expanding and collapsing.
6949 - Add support for Multiply, this expands all the selected nodes
6953 2005-06-28 Jackson Harper <jackson@ximian.com>
6955 * TreeView.cs: Implement keyboard navigation, currently supports,
6956 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6957 support for toggling checkboxes with the space bar.
6959 2005-06-28 Jackson Harper <jackson@ximian.com>
6961 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6964 2005-06-28 Jackson Harper <jackson@ximian.com>
6966 * TreeView.cs: Add missing event.
6968 2005-06-27 Peter Bartok <pbartok@novell.com>
6971 - Made line ending size configurable (now allows for counting
6972 lineendings as \n or \r\n)
6973 - Added margin to viewport to keep caret visible on right side
6974 - Fixed translation routines for line/pos to documentpos to consider
6975 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6976 - Fixed some line-endings to be unix style
6977 - Fixed Document.FormatText to perform it's calculations 1-based
6978 - Added descriptions for a few methods that might otherwise get
6980 - Added NOTE section with some basic conventions to remember at
6982 - Major fixup for RichTextBox selection drawing:
6983 * Fixed crashes when multiple tags on a single line were selected
6984 * fixed selection box drawing not overlaying text
6985 * fixed bogus offset calculation for tags not starting at index 1
6986 * Switched behaviour from using multiple Substrings of a
6987 StringBuilder.ToString() to using multiple
6988 StringBuilder.ToString(start, length) statements, hoping this is
6989 faster (kept original version commented out in the code, in case
6990 original version was faster)
6991 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6993 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
6996 2005-06-27 Jackson Harper <jackson@ximian.com>
6998 * TabControl.cs: Move to the left and right with the arrow
6999 keys. These keys don't cycle beyond first and last like
7000 tab. Refresh all the tabs when scrolling them to the left or
7003 2005-06-27 Jackson Harper <jackson@ximian.com>
7006 - ToString: Added method
7007 - CreateParams: Remove TODO and comment
7008 - OnKeyDown: Cycle through bounds properly.
7009 - SelectedIndex: Scroll to the right or left if we need to
7010 display the newly selected tab.
7012 2005-06-23 Jackson Harper <jackson@ximian.com>
7014 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7017 2005-06-23 Jackson Harper <jackson@ximian.com>
7019 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7020 CTRL-SHIFT-TAB, and HOME, END are there any others?
7022 2005-06-23 Jackson Harper <jackson@ximian.com>
7024 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7026 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7028 * DataGridTextBoxColumn.cs: fixes and enhancements
7029 * ThemeWin32Classic.cs: fixes and enhancements
7030 * DataGridBoolColumn.cs: fixes and enhancements
7031 * DataGridDrawingLogic.cs: fixes and enhancements
7032 * CurrencyManager.cs: fixes and enhancements
7033 * DataGrid.cs: fixes and enhancements
7034 * DataGridColumnStyle.cs: fixes and enhancements
7036 2005-06-22 Jackson Harper <jackson@ximian.com>
7038 * TabControl.cs: Add some missing methods that just call into the
7039 base. Make the TabPageCollection's IList interface behave in the
7040 same manner as the MS implementation.
7042 2005-06-22 Peter Bartok <pbartok@novell.com>
7044 * TextControl.cs: Added sanity check
7046 - Fixed wrapping behaviour, don't set wrap on single line controls
7047 (this fixes the breakage of colordialog introduced in an earlier
7049 - Added rudimentary support for autoscrolling right-aligned controls
7050 (still needs fixing, also, center alignment scroll is missing)
7052 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7054 * ScrollBar.cs: Fixes thumbpos on Maximum values
7056 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7058 * PropertyGridView.cs: Pass context information to UITypeEditors
7060 2005-06-21 Peter Bartok <pbartok@novell.com>
7063 - Now calling PositionCaret with absolute space coordinates
7064 - Enabled vertical scrolling
7065 - Better tracking of scrollbar changes, tied into WidthChange
7067 - Improved cursor tracking
7068 - Removed debug output
7070 - PositionCaret coordinates are now works in absolute space, not
7072 - Improved tracking of document size
7073 - Added events for width and height changes
7075 2005-06-21 Peter Bartok <pbartok@novell.com>
7077 * Form.cs: Set focus to active control when form is activated
7079 - Added word-wrap functionality to RecalculateLine()
7080 - Added some short function descriptions for VS.Net to aid in
7081 writing dependent controls
7082 - Added Caret property, returning the current coords of the caret
7083 - Added ViewPortWidth and ViewPortHeight properties
7084 - Added Wrap property
7085 - Added CaretMoved event
7086 - Removed some old debug code
7087 - Split() can now create soft splits
7088 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7089 - Added method to format existing text
7090 - Fixed size/alignment calculations to use viewport
7091 - RecalculateDocument now can handle changing line-numbers while
7095 - Added some wrap logic, we don't wrap if alignment is not left
7096 - Added casts for scrollbar var, base class switched types to
7097 also support RichTextBoxA
7098 - Implemented handling of scrollbar visibility flags
7101 - Switched scrollbars type to RichTextBoxScrollBars to support
7103 - Added tracking of canvas width/height
7104 - Switched scrollbars to be not selectable (to keep focus on text)
7105 - Added central CalculateDocument() method to handle all redraw
7107 - Added ReadOnly support
7108 - Added WordWrap support
7109 - Fixed handling of Enter key (we now treat it as a DialogKey)
7110 - Fixed caret positioning when h or v scroll is not zero
7111 - Fixed placing/generation of vertical scrollbar
7112 - Added CalculateScrollBars() method to allow updating scrollbar
7113 limits and visibility
7114 - Fixed handling of horizontal scroll
7115 - Added handling of vertical scroll
7116 - Implemented auto-'jump' when caret moves to close to a left or
7117 right border and there is text to be scrolled into view (currently
7118 there's the potential for a stack overflow, until a bug in
7121 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7123 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7125 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7129 - return application/x-zerosize for files with size zero
7130 (if no extension pattern matches).
7131 - check matches collection for strings too.
7132 - return only the first mime type if the name value
7133 collection has more than one mime type.
7135 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7137 * PropertyGrid.cs: Cleaned up some TODOs
7138 * PropertyGridView.cs: Added support for UITypeEditors
7140 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7142 * DataGrid.cs: clears cached value
7144 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7146 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7147 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7148 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7149 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7151 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7153 * ThemeWin32Classic.cs: fixes colour
7155 2005-06-15 Peter Bartok <pbartok@novell.com>
7157 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7158 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7159 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7160 * Control.cs: Added some MWFCategory and MWFDescription attributes
7161 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7163 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7165 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7168 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7170 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7171 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7172 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7173 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7174 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7175 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7177 2005-06-13 Jackson Harper <jackson@ximian.com>
7179 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7180 isn't printed when the user enables dropping. (X11 does accept
7183 2005-06-13 Jackson Harper <jackson@ximian.com>
7185 * TreeView.cs: Remove some TODOS.
7187 2005-06-13 Jackson Harper <jackson@ximian.com>
7189 * Form.cs: Hook into the mdi framework.
7190 * MdiClient.cs: Use the base control collections add method so
7191 parents get setup correctly. Set the default back colour and dock
7193 * MdiChildContext.cs: New class, this bad actor handles an
7194 instance of an MDI window. Right now there is only basic
7195 support. You can drag, close, and resize windows. Minimize and
7196 Maximize are partially implemented.
7198 2005-06-13 Jackson Harper <jackson@ximian.com>
7200 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7201 freaky when both vals are negative. NOTE: There are probably other
7202 places in XplatUIX11 that this needs to be done.
7204 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7206 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7207 * DataGridColumnStyle.cs: fixes signature
7209 2005-06-12 Jackson Harper <jackson@ximian.com>
7211 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7214 2005-06-11 Jackson Harper <jackson@ximian.com>
7216 * StatusBarPanel.cs: Signature cleanups. Implement
7219 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7221 * DataGridTextBoxColumn.cs: Honors aligment
7222 * GridColumnStylesCollection.cs: Contains is case unsensitive
7223 * GridTableStylesCollection.cs: several fixes
7224 * DataGridTableStyle.cs: default column creation
7225 * DataGridDrawingLogic.cs: fixes
7226 * CurrencyManager.cs: ListName property
7227 * DataGrid.cs: multiple styles support
7228 * DataGridColumnStyle.cs: fixes
7231 2005-06-10 Peter Bartok <pbartok@novell.com>
7233 * Control.cs(Select): Moved SetFocus call to avoid potential
7234 loops if controls change the active control when getting focus
7235 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7238 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7240 * ImageListConverter.cs: Implemented
7242 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7244 * MonthCalendar.cs: Wired in NumericUpDown control for year
7246 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7248 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7249 DoubleClick events, since they are not meant to be fired.
7251 2005-06-09 Peter Bartok <pbartok@novell.com>
7253 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7254 Jonathan's standalone controls into MWF, implemented missing
7255 events, attributes and methods; added xxxAccessible classes
7256 * AccessibleObject.cs: Made fields internal so other classes
7257 can change them if needed
7259 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7261 * UpDownBase.cs: Complete implementation
7262 * NumericUpDown.cs: Complete implementation
7263 * DomainUpDown.cs: Complete implementation
7265 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7267 * DataGridTextBoxColumn.cs: drawing fixes
7268 * DataGridCell.cs: fixes ToString method to match MSNet
7269 * DataGridTableStyle.cs: fixes
7270 * DataGridBoolColumn.cs: fixes, drawing
7271 * DataGridDrawingLogic.cs: fixes, new methods
7272 * DataGridTextBox.cs: Keyboard and fixes
7274 - Keyboard navigation
7276 - Row selection (single, multiple, deletion, etc)
7279 2005-06-07 Jackson Harper <jackson@ximian.com>
7281 * ThemeWin32Classic.cs: Clear the background area when drawing
7284 2005-06-06 Peter Bartok <pbartok@novell.com>
7286 * ImageListStreamer.cs: Fixed signature for GetData
7287 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7289 - Added missing ChildAccessibleObject class
7290 - Added missing OnXXXFocus overrides, switched to using those
7291 instead of the event handler
7293 - Added Parent property for ControlAccessibleObject
7296 - Added ResetBindings()
7297 * ListBindingConverter.cs: Implemented some methods
7298 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7299 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7300 * ContainerControl.cs: Fixed signature, now subscribing to the
7301 ControlRemoved event instead of overriding the handler, LAMESPEC
7302 * CurrencyManager.cs: Added missing attribute
7303 * MonthCalendar.cs: Added missing properties
7305 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7307 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7309 2005-06-06 Gaurav Vaish and Ankit Jain
7311 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7312 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7314 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7316 * Control.cs: fixes CreateParams Width / Height.
7318 2005-06-05 Peter Bartok <pbartok@novell.com>
7320 * Win32DnD.cs: Removed compilation warnings
7322 2005-06-05 Peter Bartok <pbartok@novell.com>
7324 * Control.cs (CreateParams): Since we don't know if one of the
7325 properties we use is overridden, lets make sure if we fail accessing
7326 we continue with a backup plan
7328 2005-06-05 Peter Bartok <pbartok@novell.com>
7331 - Removed debug output
7332 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7334 - Plugged resource leak
7335 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7338 2005-06-05 Peter Bartok <pbartok@novell.com>
7340 * XplatUIWin32.cs: Removed DnD code
7341 * Win32DnD.cs: Implemented drop source and drop target functionality
7343 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7345 * UpDownBase.cs: remove duplicate addition of event, enable some code
7346 that was commented out.
7347 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7348 Validate input when a key is pressed. It works fine now for every
7349 combination of Hexadecimal. Only missing some drawing love when sharing
7350 space with other controls.
7352 2005-06-04 Peter Bartok <pbartok@novell.com>
7355 - We need to pass a window for DragDrop, so enable callback events
7356 - Added DnD callback events when being a DragSource
7357 * XplatUI.cs (StartDrag): Added window handle argument
7358 * XplatUIDriver.cs (StartDrag): Added window handle argument
7359 * QueryContinueDragEventArgs: Made fields internally accessible so
7360 drivers can set them
7361 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7364 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7366 * DataGridTextBoxColumn.cs: column text editing
7367 * DataGridTableStyle.cs: Respect columns styles created by the user
7368 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7369 * DataGridBoolColumn.cs: bool column editing
7370 * DataGrid.cs: fixes to scrolling, properties, etc
7371 * DataGridTextBox.cs: handle keyboard
7372 * DataGridColumnStyle.cs: fixes
7374 2005-06-02 Jackson Harper <jackson@ximian.com>
7376 * ImageListStreamer.cs: Somewhat broken implementation of
7377 GetObjectData. The RLE needs some work to match MS properly.
7379 2005-06-02 Jackson Harper <jackson@ximian.com>
7381 * X11Dnd.cs: Attempting to keep at least one file in MWF
7384 2005-06-02 Peter Bartok <pbartok@novell.com>
7386 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7389 2005-06-02 Peter Bartok <pbartok@novell.com>
7391 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7392 * XplatUI.cs: Added DoDragDrop() method
7393 * XplatUIDriver.cs: Added DoDragDrop() method
7395 2005-06-02 Jackson Harper <jackson@ximian.com>
7397 * Splitter.cs: Implement BorderStyle.
7399 2005-06-02 Jackson Harper <jackson@ximian.com>
7401 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7402 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7405 2005-06-02 Peter Bartok <pbartok@novell.com>
7409 - Fixed broken insertion code for SetData, now also
7410 overwrites any existing entry of the same format name
7411 * Hwnd.cs: Added list of pointers that automatically gets
7412 freed when the window is disposed
7413 * XplatUI.cs: Call driver initialization method when loading
7416 - OnDragLeave takes EventArgs, not DragEventArgs
7417 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7419 - Forces style update when drop state changes
7420 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7421 not perfect since we cannot (yet) call the IDataObject.GetData()
7422 method, we keep getting 0x80004005 error, dunno why)
7424 2005-06-02 Peter Bartok <pbartok@novell.com>
7426 * DragEventArgs.cs: Make fields internal so we can cache the
7427 object and re-set the fields from XplatUI
7429 2005-06-02 Jackson Harper <jackson@ximian.com>
7431 * Control.cs: Add some internal methods so the DnD subsystem can
7432 raise DnD events. Also call into the driver when AllowDrop is set.
7434 * XplatUIDriver.cs: New method for setting whether or not a window
7435 is allowed to accept drag and drop messages.
7437 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7439 * ScrollBar.cs: Make sure that values sent in Scroll events
7440 are always between Maximum and Minimum.
7442 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7444 * Menu.cs: Call MenuChanged when menuitem visibility has been
7446 * MenuItem.cs: Rebuild menu when item is (not) visible.
7447 * MainMenu.cs: MainMenu has special MenuChanged.
7448 * Theme.cs: Caption and FrameBorderSize are not fixed.
7449 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7450 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7452 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7453 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7455 2005-05-30 Jackson Harper <jackson@ximian.com>
7457 * DataFormat.cs: We can't statically initialize this stuff because
7458 it calls into the xplatui and could create a loop. So we lazy init
7461 2005-05-28 Jackson Harper <jackson@ximian.com>
7463 * Control.cs: Proper implementation of Product(Name/Version).
7465 2005-05-27 Jackson Harper <jackson@ximian.com>
7467 * DataObject.cs: Dont crash if no data is found.
7469 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7470 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7471 as per status page, guessing it should be set to true
7473 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7475 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7476 * DataGridTableStyle.cs: set proper formatting text, def header text
7477 * ThemeWin32Classic.cs: new themable paramaters
7478 * DataGridBoolColumn.cs: paint check box, get data, fixes
7479 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7480 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7481 * DataGridColumnStyle.cs: fixes
7482 * Theme.cs: new themable paramaters
7484 2005-05-26 Peter Bartok <pbartok@novell.com>
7486 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7488 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7489 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7491 2005-05-24 Peter Bartok <pbartok@novell.com>
7493 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7494 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7495 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7496 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7497 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7498 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7499 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7500 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7501 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7502 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7503 missing attributes, etc
7504 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7506 2005-05-24 Peter Bartok <pbartok@novell.com>
7508 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7509 when user tries to get help
7510 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7511 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7512 to suppress warnings
7513 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7514 avoid unreachable code warning
7516 2005-05-20 Peter Bartok <pbartok@novell.com>
7518 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7520 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7522 * DataGridTextBoxColumn.cs: Basic painting methods
7523 * DataGridTableStyle.cs: Set table style in the column
7524 * ThemeWin32Classic.cs: Use Theme for colors
7525 * DataGridDrawingLogic.cs: Implement more drawing
7526 * DataGrid.cs: drawing, theming, enhacements, fixes
7527 * DataGridColumnStyle.cs: fixes, drawing
7528 * Theme.cs: theming for Datagrid
7530 2005-05-20 Peter Bartok <pbartok@novell.com>
7532 * Cursor.cs: Implemented GetObjectData() method
7534 2005-05-20 Peter Bartok <pbartok@novell.com>
7536 * Cursors.cs: Added setting of cursor name
7538 - Implemented constructors
7539 - Implemented Draw and DrawStretched
7540 - Implemented Current property
7541 - Implemented == and != operators
7542 - Implemented Dispose()
7543 - Implemented ToString
7544 - Added missing attributes
7546 - Added missing reset for OverrideCursor when DoEvents is called
7547 - Fixed creation of cursor, logic was wrong
7549 - Added missing reset for OverrideCursor when DoEvents is called
7550 - Fixed creation of cursor, bit arrays were swapped
7551 * Clipboard.cs: Removed obsolete MonoTODO attribute
7553 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7555 * ComboBox.cs: fixes OnSelectedItemChanged
7556 * ControlBindingsCollection.cs: fixes item range check
7558 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7561 - Calc preferred height properly
7562 - Implement missing properties
7564 * NumericUpDown.cs: Implement missing events
7566 2005-05-19 Jackson Harper <jackson@ximian.com>
7568 * TabControl.cs: New method that resizes the tab pages before
7569 redrawing them. This as needed as the control is double buffered
7570 and sizing will not be recalculated unless ResizeTabPages is
7572 * TabPage.cs: Set base.Text instead of Text in the constructor so
7573 that UpdateOwner does not get called. Use the new Redraw method of
7574 TabControl instead of Refresh so the sizing is recalculated.
7575 * ThemeWin32Classic.cs: Draw the text for button tabs.
7577 2005-05-19 Jackson Harper <jackson@ximian.com>
7579 * Control.cs: Paint control background images. Fix typo where
7580 PaintControlBackground was not getting called correctly.
7582 2005-05-19 Peter Bartok <pbartok@novell.com>
7584 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7585 I can investigate, apparently I broke FileDialog
7587 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7589 * AxHost.cs: Some simple properties.
7590 * Control.cs: window must be accessible after ctor.
7591 * Form.cs: Added TransparencyKey property.
7592 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7593 * XplatUIWin32.cs: SetBorderStyle implemented.
7595 2005-05-18 Peter Bartok <pbartok@novell.com>
7597 * DataObject.cs: Entries are not global but particular to the
7598 DataObject, now it behaves that way
7599 * XplatUIWin32.cs: Implemented Clipboard methods
7600 * Clipboard.cs: Implemented
7601 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7602 * XplatUIOSX.cs: Updated to final clipboard prototypes
7603 * XplatUIX11.cs: Implemented Clipboard methods
7604 * XplatUIDriver.cs: Updated to final clipboard prototypes
7605 * XplatUIStructs.cs:
7606 - Added BITMAPINFOHEADER struct
7607 - Added ClipboardFormats enum
7609 - Added ClipboardStruct
7610 - Added Atom enum items for clipboard types
7611 - Fixed atom types for Selection event structures
7613 - Added internal properties and methods for drivers to enumerate
7615 - Switched initialization method to allow drivers to assign their
7616 own IDs even for the MS predefined clipboard IDs
7617 * XplatUI.cs: Updated to final clipboard interface
7619 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7620 * PropertyGridView.cs: Fixed compiler warnings.
7622 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7623 * PropertyGrid.cs: Added some event calls
7624 * PropertyGridView.cs: Change drawing code to use double buffering
7625 * PropertyGridTextBox.cs: Changed Text property name
7626 * GridItem.cs: Added Bounds property.
7627 * GridEntry.cs: Added Bounds property.
7629 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7631 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7632 since GetType() may not return the correct type if the object is
7635 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7637 * TreeNodeCollection.cs: fixes get/set item ranges
7639 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7641 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7643 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7645 * ComboBox.cs: Fix item range comparation
7646 * ListView.cs: Fix item range comparation
7648 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7651 - Clear example panel when OnPaint is called
7652 - Better solution for displaying the example panel text
7653 - Select default indexes in the ListBoxes
7655 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7657 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7659 2005-05-11 Peter Bartok <pbartok@novell.com>
7661 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7662 * SelectionRangeConverter.cs: Implemented
7663 * PropertyGrid.cs: Fixed attribute value
7665 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7666 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7667 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7668 that's common to all drivers. First methods to go there are
7669 Sebastien Pouliot's CAS Stack Propagation helper methods
7670 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7671 Sebastien Pouliot for CAS Stack Propagation
7673 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7676 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7678 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7680 * DataGridTextBoxColumn.cs: fixed some members
7681 * GridColumnStylesCollection.cs: indexed column is case insensitive
7682 * DataGridTableStyle.cs: fixes
7683 * ThemeWin32Classic.cs: add new theme parameter
7684 * Theme.cs: add new theme parameter
7685 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7686 * DataGrid.cs: fixes, new internal properties, etc.
7687 * DataGridColumnStyle.cs: allows to set grid value
7690 2005-05-10 Peter Bartok <pbartok@novell.com>
7692 * AccessibleObject.cs:
7693 - Removed MonoTODO attribute on help, method is correct
7694 - Fixed Bounds property
7695 * AxHost.cs: Moved MonoTODO
7696 * ButtonBase.cs: Now setting AccessibleObject properties
7697 * RadioButton.cs: Setting proper AccessibleObject role
7698 * CheckBox.cs: Setting proper AccessibleObject role
7699 * ControlBindingsCollection.cs: Added properties, methods and attributes
7700 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7701 userdefined DataFormats.Format items as well
7702 * ListControl.cs: Removed data_member from the public eye
7703 * OpenFileDialog.cs:
7705 - Added missing attributes
7706 * SaveFileDialog.cs: Added missing attributes
7707 * ImageListStreamer.cs: Fixed code that caused warnings
7708 * LinkLabel.cs: Removed unreachable code
7709 * TreeView.cs: Fixed code that caused warnings
7710 * PropertyGridView.cs: Fixed code that caused warnings
7711 * GridColumnStylesCollection.cs: Added missing attributes
7712 * GridTableStylesCollection: Added missing attribute
7713 * PropertyManager: Added .ctor
7714 * SecurityIDType: Added
7715 * DataObject.cs: Implemented class
7716 * LinkArea.cs: Added missing attribute
7718 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7720 * RadioButton.cs: call base method to allow to fire OnClick event
7721 * UpDownBase.cs: OnMouseUp call base method
7722 * CheckedListBox.cs: call base method before returning
7723 * TrackBar.cs: call base method before returning
7726 2005-05-10 Peter Bartok <pbartok@novell.com>
7728 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7731 2005-05-10 Peter Bartok <pbartok@novell.com>
7733 * DataFormats.cs: Implemented
7734 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7735 XplatUIX11.cs: Added Clipboard APIs
7736 * XplatUIWin32.cs: Implemented Clipboard APIs
7737 * FolderBrowserDialog.cs: Added missing event, attributes
7739 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7741 * CheckBox.cs: call base method to allow to fire OnClick event
7743 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7745 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7747 2005-05-06 Peter Bartok <pbartok@novell.com>
7749 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7750 * Screen.cs: Implemented
7751 * HelpNavigator.cs: Added
7752 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7754 * HelpProvider.cs: Implemented all we can do until we have a CHM
7755 help library (which means that "What's This" does work now)
7757 2005-05-06 Jackson Harper <jackson@ximian.com>
7759 * XplatUIX11.cs: Fix waking up the main loop.
7761 2005-05-05 Peter Bartok <pbartok@novell.com>
7763 * XplatUI.cs: Updated revision
7764 * Form.cs: Removed enless loop
7765 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7766 * Label.cs (OnPaint): Added call to base.OnPaint()
7767 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7768 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7769 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7771 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7772 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7773 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7774 reuse of ToolTipWindow by other controls
7775 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7776 * XplatUIX11.cs: Now clipping drawing area (experimental)
7777 * PictureBox.cs: Moved base.OnPaint() call to end of method
7778 * Theme.cs: Fixed ToolTip abstracts to match new format
7779 * ErrorProvider.cs: Implemented
7781 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7783 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7787 - Implements LinkBehavior
7790 2005-05-03 Jackson Harper <jackson@ximian.com>
7792 * ListView.cs: Calculate the scrollbar positioning on resize and
7793 paint, so they get put in the correct place.
7795 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7797 * ColorDialogs.cs: The small color panels are now handled by
7798 SmallColorControl. This fixes drawing of the focus rectangle
7799 and adds a 3D border.
7801 2005-05-03 Peter Bartok <pbartok@novell.com>
7803 * Control.cs: Modified version of Jonathan Chamber's fix for
7806 2005-05-03 Jackson Harper <jackson@ximian.com>
7808 * ListView.cs: Remove redraw variable. Control now handles whether
7809 or not a redraw needs to be done, and will only raise the paint
7810 event if redrawing is needed.
7812 2005-05-03 Jackson Harper <jackson@ximian.com>
7814 * Splitter.cs: No decorations for the splitter form. Cache the
7817 2005-05-03 Jackson Harper <jackson@ximian.com>
7819 * TreeView.cs: Use dashed lines to connect nodes. Use the
7820 ControlPaint method for drawing the focus rect instead of doing
7823 2005-05-02 Peter Bartok <pbartok@novell.com>
7825 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7827 2005-04-29 Jackson Harper <jackson@ximian.com>
7829 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7830 entire image buffer. Just clear the clipping rectangle.
7832 2005-04-29 Jackson Harper <jackson@ximian.com>
7834 * ThemeWin32Classic.cs: Don't draw list view items that are
7835 outside the clipping rectangle.
7837 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7839 * ListBox.cs: added horizontal item scroll
7841 2005-04-29 Jackson Harper <jackson@ximian.com>
7843 * ThemeWin32Classic.cs: Remove some old debug code that was
7844 causing flicker with the new double buffering code.
7846 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7848 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7849 behave like combobox and comboboxlist (still not sure if this is
7852 2005-04-28 Jackson Harper <jackson@ximian.com>
7854 * ThemeWin32Classic.cs: Don't fill the middle of progress
7855 bars. This fills areas outside of the clip bounds that don't need
7858 2005-04-28 Jackson Harper <jackson@ximian.com>
7860 * Control.cs: Don't expose functionality to touch the image buffers.
7862 * ListView.cs: We do not need to (and no longer can) manipulate
7863 the image buffers directly. All of this is handled by Control.
7865 2005-04-28 Peter Bartok <pbartok@novell.com>
7867 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7868 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7869 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7871 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7874 - Adjust control's height for non-simple comboboxes (bug fix)
7876 * MenuAPI.cs: remove unused var
7877 * ScrollBar.cs: remove unsed var
7879 * ListBox.cs: unselect items when clearing
7881 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7883 * ListControl.cs: honors OnPositionChanged and default Selected Item
7884 * ListBox.cs: unselect items when clearing
7886 2005-04-27 Jackson Harper <jackson@ximian.com>
7888 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7889 if a "correct" keyboard is not found. This will make us not crash,
7890 but might give some users bad keyboard layouts...seems to be the
7891 same thing rewind does.
7893 2005-04-27 Jackson Harper <jackson@ximian.com>
7895 * BindingManagerBase.cs: Attach the current/position changed
7896 handlers to their respective events.
7898 2005-04-27 Jackson Harper <jackson@ximian.com>
7900 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7902 * ThemeWin32Classic.cs: Don't fill the background for picture
7903 boxes. This could overright user drawing.
7904 * ComboBox.cs: Just fill the clipping rect not the entire client
7905 rect when drawing the background. This prevents pieces of the
7906 image buffer from getting overwritten and is theoretically faster.
7908 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7910 * ComboBox.cs: Databinding support fixes, fire missing events
7911 * ListControl.cs: implement missing methods and properties, fixes
7912 * ThemeWin32Classic.cs: Databiding support on Drawing
7913 * CheckedListBox.cs: Databinding support fixes, fire missing events
7914 * ListBox.cs: Databinding support fixes, fire missing events
7916 2005-04-25 Peter Bartok <pbartok@novell.com>
7918 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7920 2005-04-25 Jackson Harper <jackson@ximian.com>
7922 * TreeView.cs: Use the horizontal scrollbars height not width when
7923 determining how much of the client area is available.
7925 2005-04-25 Jackson Harper <jackson@ximian.com>
7927 * Control.cs: Double buffering is handled differently now. As per
7928 the spec, the extra buffer is created in the WM_PAINT message and
7929 passed down to the control's drawing code.
7937 * PropertyGridView.cs:
7949 * DateTimePicker.cs:
7951 * TreeView.cs: Update to new double buffering system.
7952 * MonthCalendar.cs: Uncomment block, as Capture is now
7953 working. Update to new double buffering
7954 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7955 * PaintEventArgs.cs: New internal method allows us to set the
7956 graphics object. This is used for double buffering.
7957 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7958 rectangle. The internal paint_area var has been removed from
7959 StatusBar. The clipping rect should be used instead.
7960 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7961 * TabPage.cs: The RefreshTabs method was removed, so just call the
7962 tab controls Refresh method now.
7963 * TabControl.cs: Update to new double buffering. Make sure the
7964 handle is created before sizing the tab pages, otherwise we will
7965 get stuck in a loop.
7967 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7969 * LinkLabel.cs: Fix typo, bug #74719; patch
7970 from Borja Sanchez Zamorano
7972 2005-04-22 Jackson Harper <jackson@ximian.com>
7974 * TreeNode.cs: Implement Handle stuff.
7975 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7977 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7979 * DataGridTextBoxColumn.cs: call base constructors, fixes
7980 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7981 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7982 * DataGridTableStyle.cs: implements create default column styles
7983 * DataGridBoolColumn.cs: which types can handle
7984 * DataGrid.cs: missing methods, fixes, new functionality
7985 * DataGridColumnStyle.cs: fixes
7987 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7988 * FolderBrowserDialog.cs:
7989 - Use a thread to fill the TreeView
7990 - Adjusted some sizes
7992 2005-04-19 Peter Bartok <pbartok@novell.com>
7994 * LinkLabel.cs: (Re-)create the pieces when setting the Text
7995 property. Fixes #74360.
7997 2005-04-19 Jackson Harper <jackson@ximian.com>
7999 * XEventQueue.cs: Lock when getting the lockqueue size.
8000 * PictureBox.cs: Call base OnPaint
8002 2005-04-19 Peter Bartok <pbartok@novell.com>
8004 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8005 messages were no longer being processed (this broke BeginInvoke)
8008 2005-04-18 Jackson Harper <jackson@ximian.com>
8010 * TreeView.cs: buglet that caused node images to get drawn
8011 regardless of whether or not they were in the clipping rectangle.
8013 2005-04-18 Jackson Harper <jackson@ximian.com>
8015 * CurrencyManager.cs: There are four rules for GetItemProperties:
8016 - If the type is an array use the element type of the array
8017 - If the type is a typed list, use the type
8018 - If the list contains an Item property that is not an object, use
8020 - use the first element of the list if there are any elements in
8023 2005-04-17 Jackson Harper <jackson@ximian.oom>
8025 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8026 click. This handles offsets for scrolling properly and reduces
8027 memory. Also fixed GetNode to not offset now that TopNode works
8029 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8031 2005-04-17 Jackson Harper <jackson@ximian.com>
8033 * CursorConverter.cs: Initial implementation.
8035 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8037 * ListControl.cs: work towards complex data binding support on ListControl
8038 * CurrencyManager.cs: work towards complex data binding support on ListControl
8039 * ListBox.cs: work towards complex data binding support on ListControl
8042 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8044 * GridTableStylesCollection.cs: fixes name and constructor
8045 * DataGridTableStyle.cs: fixes
8046 * DataGridBoolColumn.cs: fixes names and constructors
8047 * DataGrid.cs: define methods and properties. Some init implementations
8048 * DataGridCell.cs: define methods and properties. Some init implementations
8049 * GridTablesFactory.cs: Define methods and properties
8051 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8053 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8054 graphics port changes. We still want the coordinates in global screen
8057 2005-04-14 Jackson Harper <jackson@ximian.com>
8059 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8060 check plus minus or checkbox clicks unless those features are enabled.
8062 2005-04-14 Jackson Harper <jackson@ximian.com>
8064 * TreeView.cs: Add methods for setting the top and bottom visible
8065 nodes. TreeNode::EnsureVisible uses these methods.
8066 * TreeNode.cs: Implement EnsureVisible
8068 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8070 * Form.cs: Pospone menu assignation if the window has not been created yet
8071 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8074 2005-04-12 Jackson Harper <jackson@ximian.com>
8076 * TreeView.cs: Set the TopNode properly when scrolling
8077 occurs. This has the added benifit of reducing the amount of
8078 walking that needs to be done when drawing. Also removed an old
8080 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8082 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8084 * Timer.cs: fixes interval setting when the timer is already enabled
8086 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8088 * FolderBrowserDialog.cs: First approach
8090 2005-04-09 Peter Bartok <pbartok@novell.com>
8092 * FolderBrowserDialog: Added
8094 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8096 * LinkLabel.cs: move drawing code into the theme
8097 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8098 * Theme.cs: define DrawLinkLabel method
8100 2005-04-05 Jackson Harper <jackson@ximian.com>
8102 * BindingContext.cs: Use weak references so these bad actors don't
8103 stay alive longer then they need to.
8105 2005-04-05 Jackson Harper <jackson@ximian.com>
8107 * ListControl.cs: Basic implementation of complex databinding.
8109 * ListBox.cs: Add calls to ListControl databinding methods.
8111 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8114 - Don't change PopupButtonState to Normal when the
8115 PopupButton gets pressed several times.
8116 - Renamed ButtonPanel to PopupButtonPanel
8118 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8120 * ColorDialog.cs: Use cached objects instead of creating them
8121 * LinkLabel.cs: Use cached objects instead of creating them
8122 * Splitter.cs: Use cached objects instead of creating them
8123 * FontDialog.cs: Use cached objects instead of creating them
8124 * PropertyGridView.cs: Use cached objects instead of creating them
8125 * MessageBox.cs: Use cached objects instead of creating them
8126 * FileDialog.cs: Use cached objects instead of creating them
8127 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8128 * TreeView.cs: Use cached objects instead of creating them
8130 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8132 * Control.cs: use Equals to compare the font since no == op
8133 * ScrollBar.cs: use Equals to compare the font since no == op
8135 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8137 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8139 2005-04-01 Jackson Harper <jackson@ximian.com>
8141 * Binding.cs: Implement IsBinding.
8142 * BindingManagerBase.cs:
8143 * PropertyManager.cs:
8144 * CurrencyManager.cs: Add IsSuspended property.
8146 2005-04-01 Jackson Harper <jackson@ximian.com>
8148 * Binding.cs: Had some IsAssignableFrom calls backwards.
8150 2005-04-01 Jackson Harper <jackson@ximian.com>
8152 * Binding.cs: Handle null data members when pulling data.
8153 * PropertyManager.cs: Handle the data member being a property that
8156 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8158 * DataGridTextBoxColumn.cs: fixes signature
8159 * DataGrid.cs: calls right constructor
8161 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8163 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8164 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8165 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8166 * DataGridTableStyle.cs: implements DataGridTableStyle
8167 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8168 * DataGridTextBox.cs: implements DataGridTextBox
8169 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8171 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8173 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8175 2005-03-29 Peter Bartok <pbartok@novell.com>
8178 - Properly implemented CompanyName property
8179 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8180 returns a path that includes CompanyName, ProductName and
8181 Version (fixes bug #70330)
8183 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8185 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8188 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8190 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8192 - Added ReadOnly CheckBox
8193 - Further refactoring: moved some code from Open-/SaveFileDialog
8196 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8198 * OpenFileDialog.cs: Fixed CheckFileExists
8200 Moved FileView and DirComboBox outside FileDialog class.
8201 They can now be used outside FileDialog
8203 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8205 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8206 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8208 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8210 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8211 - Added missing CreatePrompt property in SaveDialog
8212 - Overall SaveDialog handling should be better now
8213 - Added non standard ShowHiddenFiles property
8214 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8215 - Added InitialDirectory and RestoreDirectory support
8217 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8219 * FileDialog.cs: Made dirComboBox usable
8221 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8223 * FileDialog.cs: Added Filter support (case sensitiv)
8225 2005-03-24 Jackson Harper <jackson@ximian.com>
8227 * TabControl.cs: Need a couple more pixels for the lines.
8229 2005-03-23 Jackson Harper <jackson@ximian.com>
8231 * TabControl.cs: Give the tab page focus when it is selected.
8233 2005-03-23 Jackson Harper <jackson@ximian.com>
8235 * TabControl.cs: Account for the drawing of tabs borders when
8236 invalidating. If the slider was clicked dont do click detection on
8239 2005-03-23 Jackson Harper <jackson@ximian.com>
8241 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8243 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8245 * CategoryGridEntry.cs: Added
8246 * GridItem.cs: Added helper properties
8247 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8248 * GridEntry.cs: Updated code for collection
8249 * PropertyGrid.cs: Cleaned up some formatting
8250 * PropertyGridView.cs: Added drop down functionality for enums.
8251 * GridItemCollection.cs: Added enumerator logic
8252 * PropertyGridEntry.cs: Added
8254 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8257 - Removed unnecessary commented code
8258 - Fixed handling for entering the filename manually in the combobox
8260 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8262 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8264 2005-03-18 Peter Bartok <pbartok@novell.com>
8266 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8267 them being touching the border
8269 2005-03-18 Peter Bartok <pbartok@novell.com>
8271 * TextControl.cs: Quick hack to center text better
8273 2005-03-18 Peter Bartok <pbartok@novell.com>
8276 - Don't throw NotImplemented exceptions, just print a notice once
8277 instead (requested by Miguel). This makes running existing SWF
8280 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8281 - Added context menu trigger on right click
8282 * Panel.cs: Trigger invalidate on resize
8284 - Removed old double-buffer drawing
8285 - Added ResizeRedraw style to force proper update of statusbar
8287 - Removed debug output
8288 * ThemeWin32Classic.cs:
8289 - Fixed drawing of status bar, now draws Text property if there
8290 are no defined panels
8292 2005-03-18 Jackson Harper <jackson@ximian.com>
8294 * ImageList.cs: When the image stream is set pull all the images
8296 * ImageListStreamer.cs: Implement reading image list streams.
8298 2005-03-18 Peter Bartok <pbartok@novell.com>
8300 * ThemeWin32Classic.cs (DrawPictureBox):
8301 - Fixed calculations for centered drawing
8302 - Fixed drawing for normal mode, not scaling the image on normal
8304 2005-03-18 Peter Bartok <pbartok@novell.com>
8306 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8309 - Made Open/Save button the accept button for FileDialog
8310 - Tied the cancel button to the IButtonControl cancel button
8311 - Save/Open now properly builds the pathname
8312 - Now handles user-entered text
8313 - Preventing crash on right-click if no item is selected
8314 - Fixed Text property, now uses contents of textbox
8315 - Fixed SelectedText property, now just returns the text part that
8316 is selected in the text box
8318 2005-03-18 Jackson Harper <jackson@ximian.com>
8320 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8321 rect, make sure to de-adjust the interior rect after drawing the
8324 2005-03-18 Peter Bartok <pbartok@novell.com>
8326 * MenuAPI.cs: Remove menu *before* executing selected action to
8327 prevent the menu from 'hanging around'
8329 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8331 * XplatUIOSX.cs: Implemented WorkingArea property
8333 2005-03-17 Peter Bartok <pbartok@novell.com>
8335 * XplatUIX11.cs: Fixed menu coord calculations
8336 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8337 for calculating offsets
8339 2005-03-17 Peter Bartok <pbartok@novell.com>
8341 * Hwnd.cs: Do not consider menu presence for default client
8342 rectangle location/size
8343 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8344 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8345 translation functions
8346 * FileDialog.cs: Fixed (what I presume is a) typo
8348 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8350 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8351 X access (avoids X-Async errors)
8353 2005-03-16 Jackson Harper <jackson@ximian.com>
8355 * TabControl.cs: Raise the SelectedIndexChanged event.
8357 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8359 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8360 - Removed vertical ToolBar and replaced it with a custom panel
8361 (desktop and home button already work)
8362 - Added Help button (some controls get resized or relocated then)
8363 - Draw correct text depending on Open or Save.
8364 - Fixed some typos...
8366 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8369 - Only change Maximum and Minimum when need it (bug fix)
8371 2005-03-15 Peter Bartok <pbartok@novell.com>
8373 * Form.cs: Use Handle for icon, to trigger creation if
8374 the window does not yet exist
8376 - CanSelect: Slight performance improvement
8377 - Focus(): Preventing possible recursion
8378 - Invalidate(): Removed ControlStyle based clear flag setting
8379 - WM_PAINT: fixed logic for calling OnPaintBackground
8380 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8381 EraseWindowBackground if the control doesn't paint background
8383 - Moved EraseWindowBackground() method to internal methods
8384 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8385 is sent via SendMessage on BeginPaint call on Win32
8387 - Added EraseWindowBackground() method
8388 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8389 PaintEventStart, which more closely matches Win32 behaviour
8390 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8391 - Fixed SetFocus() to properly deal with client and whole windows
8392 * Hwnd.cs: Added ErasePending property
8393 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8394 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8396 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8399 - Fix hard loop when timers exist.
8400 - Fix bugs with middle and right click for 3 button mice.
8402 2005-03-11 Peter Bartok <pbartok@novell.com>
8405 - get_WorkingArea: Need to call X directly, GetWindowPos only
8406 returns cached data now
8407 - Added sanity check to GetWindowPos hwnd usage
8409 2005-03-11 Jackson Harper <jackson@ximian.com>
8411 * BindingManagerBase.cs: This method isn't used anymore as
8412 PullData now updates the data in the control.
8414 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8416 * Form.cs: fixes menu drawing on X11
8417 * MenuAPI.cs: fixes menu drawing on X11
8419 2005-03-11 Peter Bartok <pbartok@novell.com>
8421 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8422 from Jonathan Gilbert; should fix bug #73606
8423 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8424 in Screen coordinates. Thanks, Jordi.
8425 * Form.cs: Added missing attribute
8427 2005-03-11 Peter Bartok <pbartok@novell.com>
8430 - Rudimentary Mdi support
8431 - Removed outdated FormParent code
8432 - Implemented lots of missing properties and methods, still missing
8433 transparency support
8434 - Added missing attributes
8435 - Implemented support for MaximumBounds
8436 - Added firing of various events
8437 * XplatUI.cs: Added SetIcon() method
8438 * XplatUIDriver.cs: Added SetIcon() abstract
8439 * XplatUIOSX.cs: Stubbed out SetIcon() method
8441 - Implemented SetIcon() support
8442 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8443 - Switched to unix line endings
8445 - Made POINT internal so for can access it as part of MINMAX
8446 - Implemented SetIcon() support
8447 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8448 native Mdi support again, might have to go managed)
8449 * Control.cs: Now fires the StyleChanged event
8450 * MdiClient.cs: Added; still mostly empty
8452 2005-03-10 Peter Bartok <pbartok@novell.com>
8454 * SaveFileDialog.cs: Added emtpy file
8456 2005-03-08 Peter Bartok <pbartok@novell.com>
8458 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8459 in turn triggers OnCreateContro) when creating a handle for the
8461 * TextControl.cs: Fixed endless loop in certain cases when
8462 replacing the current selection
8464 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8467 - Honors NewValue changes in Scroll events allowing apps to change it
8468 - Adds First and Last Scroll events
8469 - Fixes Thumb events
8471 2005-03-07 Peter Bartok <pbartok@novell.com>
8473 * Hwnd.cs: Added DefaultClientRectangle property
8474 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8475 more detailed debug information
8477 - Fixed size-change feedback loop, where we would pull an old size
8478 off the queue and mistakenly change our window's size to an
8480 - Now compressing ConfigureNotify events, to reduce looping and
8482 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8485 2005-03-07 Jackson Harper <jackson@ximian.com>
8487 * Binding.cs: Push data pushes from data -> property. Check if the
8488 property is readonly when attempting to set it.
8490 2005-03-07 Jackson Harper <jackson@ximian.com>
8492 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8493 instead of IsSubclassOf. Pulling data now sets the value on the
8495 * PropertyManager.cs:
8496 * CurrencyManager.cs: Just need to pull data when updating now,
8497 because PullData will set the value on the control.
8499 2005-03-04 Jackson Harper <jackson@ximian.com>
8501 * Binding.cs: Implement data type parsing and converting on pulled
8502 data. TODO: Are there more ways the data can be converted?
8504 2005-03-04 Jackson Harper <jackson@ximian.com>
8506 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8507 controls Validating method so we can repull the data when the
8508 control loses focus.
8510 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8513 - Fixes null string format
8516 - Adds enum type checks
8517 - Fixes redrawing and recalc need after changing some properties
8518 - Fixes on focus_item set after the event
8519 - Fixes adding columns after the control has been created
8521 * ThemeWin32Classic.cs:
8522 - Fixes CheckBox focus rectangle
8523 - Fixes ColumnHeader drawing
8526 2005-03-03 Jackson Harper <jackson@ximian.com>
8528 * Binding.cs: Bind to <Property>Changed events so we can detect
8529 when properties are changed and update the data.
8531 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8534 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8535 - Fixes ImageList constructor with ImageList container
8536 - Fixes image scaling (wrong parameters at DrawImage)
8538 2005-02-02 Jackson Harper <jackson@ximian.com>
8540 * Binding.cs: Make property searches case-insensitive. Eliminate
8541 some duplicated code.
8543 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8546 - Handle focus event
8547 - Fix scrollbar events
8548 - Discard highlighted item if remove it
8549 - Fixes SelectedItem with strings
8551 2005-03-01 Peter Bartok <pbartok@novell.com>
8554 - Fixed Visible property, now follows (once again) parent chain
8555 to return false if any control in the chain is visible=false
8556 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8557 - Fixed several places where is_visible instead of Visible was used
8558 - Implemented FIXME related to focus selection when setting focused
8559 control to be invisible
8561 * XplatUIWin32.cs: Now using proper method to find out if window is
8562 visible. Thanks to Jordi for pointing it out
8564 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8566 * ComboBox.cs: show/hide scrollbar instead of creating it
8568 2005-02-27 Jackson Harper <jackson@ximian.com>
8570 * CurrencyManager.cs: Add PositionChanged stuff.
8572 2005-02-27 Peter Bartok <pbartok@novell.com>
8574 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8575 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8576 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8578 - Implemented GetMenuDC()
8579 - Implemented GetMenuOrigin()
8580 - Implemented ReleaseMenuDC()
8581 - Implemented generation of WM_NCPAINT message
8582 - Implemented generation and handling of WM_NCCALCSIZE message
8583 * Form.cs: Added debug helper message for Jordi's menu work
8585 - Modified ClientRect property; added setter, fixed getter to handle
8586 setting of ClientRect
8587 - Added MenuOrigin property
8589 2005-02-26 Peter Bartok <pbartok@novell.com>
8592 - Destroys the caret if a window that's being destroyed contains it
8593 - Ignores expose events coming from the X11 queue for windows that
8594 already are destroyed
8595 - Now uses the proper variable for handling DestroyNotify, before we
8596 marked the wrong window as destroyed
8597 - Improved/added some debug output
8599 2005-02-26 Peter Bartok <pbartok@novell.com>
8601 * X11Keyboard.cs: Fixes to work on 64bit systems
8603 2005-02-26 Peter Bartok <pbartok@novell.com>
8606 - Now calling OnHandleDestroyed from DestroyHandle()
8607 instead of Dispose()
8608 - Removed bogus call to controls.Remove() from DestroyHandle()
8610 2005-02-26 Peter Bartok <pbartok@novell.com>
8612 * Control.cs: Properly destroy child windows when our handle is
8615 2005-02-25 Peter Bartok <pbartok@novell.com>
8618 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8619 - Alphabetized Static Methods and Subclasses
8622 - Added XException class to allow custom handling of X11 exceptions
8623 - Created custom X11 error handler, tied into XException class
8624 - Added support for MONO_XEXCEPTIONS env var to allow the user
8625 to either throw an exception on X errors or continue running
8626 after displaying the error
8627 - Added handling of DestroyNotify message
8628 - Added handler for CreateNotify message (still disabled)
8629 - Improved (tried to at least) Where method to provide file and lineno
8631 - Added XErrorHandler delegate
8632 - Added XRequest enumeration (to suppor translation of errors)
8634 2005-02-25 Jackson Harper <jackson@ximian.com>
8636 * PropertyManager.cs: Implement editing features
8637 * CurrencyManager.cs:
8638 * Binding.cs: First attempt at UpdateIsBinding
8639 * BindingManagerBase.cs: Call UpdateIsBinding before
8640 pushing/pulling data.
8642 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8644 * MenuAPI.cs: Respect disabled items
8645 * ThemeWin32Classic.cs
8646 - Caches ImageAttributes creation for DrawImageDisabled
8647 - Fixes vertical menu line drawing
8648 - Draws disabled arrows in disable menu items
8650 2005-02-24 Peter Bartok <pbartok@novell.com>
8653 - Added UserData property to allow associating arbitrary objects
8655 - Fixed leak; now removing Hwnd references from static windows array
8657 - Fixed Graphics leak in PaintEventEnd
8658 - Removed usage of HandleData, switched over to Hwnd class
8659 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8661 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8663 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8664 * ScrollBar.cs: Fixes bug
8665 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8666 keyboard navigation enhancements
8668 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8670 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8671 * GroupBox.cs: Add control styles
8672 * Label.cs: Add control styles
8673 * UpDownBase.cs: Add control styles
8674 * ListBox.cs: Add control styles
8675 * XplatUIWin32.cs: Fixes wrong parameter order
8678 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8680 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8682 2005-02-23 Jackson Harper <jackson@ximian.com>
8684 * PropertyManager.cs: Implement property binding. This doesn't
8685 seem to work yet though as (I think) there are some bugs in
8686 System.ComponentModel.PropertyDescriptor.
8687 * BindingContext.cs: Use new PropertyManager constructor.
8689 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8691 * ProgressBar.cs: use clip region in ProgressBar
8692 * ThemeWin32Classic.cs: use clip region in ProgressBar
8694 2004-02-22 Jackson Harper <jackson@ximian.com>
8696 * BindingsCollection.cs: Remove some debug code.
8698 2005-02-22 Jackson Harper <jackson@ximian.com>
8700 * BindingContext.cs:
8701 * ControlBindingsCollection.cs:
8702 * CurrencyManager.cs:
8704 * BindingManagerBase.cs: Initial implementation
8705 * BindingsCollection.cs: Add an internal contains method that the
8706 BindingManagerBase uses to ensure bindings aren't added twice to
8708 * PropertyManager.cs: Stubbed out.
8710 * ContainerControl.cs: Hook up databinding
8712 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8715 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8716 Fixed Invalidate/Update chain.
8717 Fixed tons of other minor bugs (this is almost a complete rewrite).
8719 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8721 * ComboBox.cs: do subcontrol creation when the control is created
8723 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8725 * Label.cs: fixes image drawing (image and imagelist)
8726 * ThemeWin32Classic.cs: cache brushes
8728 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8730 * Form.cs: Move menu drawing code to Theme class
8731 * ComboBox.cs: Move ComboBox drawing code to Theme class
8732 * MenuItem.cs: Move menu drawing code to Theme class
8733 * MenuAPI.cs: Move menu drawing code to Theme class
8734 * ThemeWin32Classic.cs: New methods
8735 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8736 * ListBox.cs: Move Listbox drawing code to Theme class
8737 * Theme.cs: New methods
8739 2005-02-20 Peter Bartok <pbartok@novell.com>
8742 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8743 only process mnemonics on those)
8744 - Fixed event sequence for key handling; first calling
8745 ProcessKeyEventArgs now
8747 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8748 for processing non-character keys
8749 - Fixed WM_CHAR to generate proper event sequence before processing
8750 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8753 2005-02-19 Peter Bartok <pbartok@novell.com>
8755 * UserControl.cs: Added TextChanged event; added attributes
8756 * SizeGrip.cs: Implemented resizing and optional display of grip
8757 * Form.cs: Fixed attribute
8758 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8759 Changed meaning of ScrollWindow bool argument; instead of the
8760 clear attribute (which will be true usually anyway), it gives the
8761 option of moving child controls as well.
8763 - Changed to match new ScrollWindow argument
8764 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8765 now handles the implicit parent window a WM puts around us
8766 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8768 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8769 * TreeView.cs: Adjusted to new ScrollWindow arguments
8771 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8773 * Form.cs: Menu integration with non-client area
8774 * MenuItem.cs: Menu integration with non-client area
8775 * MenuAPI.cs: Menu integration with non-client area
8777 2005-02-18 Peter Bartok <pbartok@novell.com>
8779 * MethodInvoker.cs: Added
8780 * MdiLayout.cs: Added
8781 * SendKeys.cs: Started implementation
8782 * ErrorIconAlignment.cs: Added
8784 2005-02-18 Peter Bartok <pbartok@novell.com>
8786 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8787 * Form.cs: Added handling for Menu-related Non-client messages
8789 2005-02-17 Peter Bartok <pbartok@novell.com>
8791 * UpDownBase.cs: Fixed typo, compilation errors
8792 * DomainUpDown.cs: Fixed attribute value
8794 2005-02-16 Miguel de Icaza <miguel@novell.com>
8796 * UpDownBase.cs: Attach entry events.
8798 Add ForeColor property, Focused, InterceptArrowKeys (interception
8801 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8804 - Redraw non client are on Setmenu
8805 - Calc proper menu starting point
8807 2005-02-17 Peter Bartok <pbartok@novell.com>
8809 * Application.cs: Fixed message_filter check
8811 2005-02-17 Peter Bartok <pbartok@novell.com>
8813 * Application.cs: Now calls registered message filters
8814 * DockStyle.cs: Fixed attribute
8815 * Form.cs: Fixed attribute
8816 * Menu.cs: Fixed attribute
8817 * ToolTip.cs: Fixed attribute
8818 * TreeNode.cs: Added missing attributes and arranged in regions
8819 * PropertyGrid.cs: Fixed signatures
8820 * TreeNodeCollection.cs: Added attributes
8821 * Splitter.cs: Added missing attributes; arranged into regions
8822 * TabPage.cs: Added missing attributes; arranged into regions
8823 * TextBoxBase.cs: Added missing attributes
8824 * TextBox.cs: Added missing attributes
8825 * ArrangeDirection.cs: Added missing attributes
8826 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8827 * ToolBarButton.cs: Fixed attributes
8828 * AnchorStyles.cs: Fixed attribute
8829 * TrackBar.cs: Fixed attributes
8830 * TabControl.cs: Added missing attributes and arranged into regions
8831 * ToolBar.cs: Fixed attribute
8832 * StatusBar.cs: Fixed signature, organized into regions and added
8834 * StatusBarPanel.cs: Fixed attributes
8835 * ContentsResizedEventArgs.cs: Implemented
8836 * ContentsResizedEventHandler.cs: Implemented
8837 * DateBoldEventArgs.cs: Implemented
8838 * DateBoldEventHandler.cs: Implemented
8839 * UpDownEventArgs.cs: Implemented
8840 * UpDownEventHandler.cs: Implemented
8842 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8844 * Form.cs: first Menu NC refactoring
8845 * MenuAPI.cs: first Menu NC refactoring
8847 2005-02-16 Peter Bartok <pbartok@novell.com>
8849 * ImeMode.cs: Added missing attributes
8850 * Menu.cs: Fixed attribute
8851 * GroupBox.cs: Fixed attribute
8852 * Label.cs: Fixed attribute
8853 * ColorDialog.cs (RunDialog): Removed TODO attribute
8854 * ComboBox.cs: Fixed attributes
8855 * ListControl.cs: Added missing attributes
8856 * PropertyGrid.cs: Fixed attributes
8857 * Control.cs: Fixed attributes
8858 * ListViewItem.cs: Added TypeConverter attribute
8859 * NotifyIcon.cs: Fixed attributes
8860 * ListView.cs: Fixed attributes
8861 * ButtonBase.cs: Fixed attribute
8862 * ImageList.cs: Added missing attributes
8863 * ContainerControl.cs: Fixed signature
8864 * CheckedListBox.cs: Fixed attribute; added missing attributes
8865 * Panel.cs: Fixed attributes
8866 * PropertyTabChangedEventArgs.cs: Added missing attribute
8867 * PropertyValueChangedEventArgs.cs: Added missing attribute
8868 * Binding.cs: Fixed attribute
8869 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8870 * ListBox.cs: Fixed attribute; added missing attributes;
8871 * ScrollableControl.cs: Added missing attributes
8872 * PictureBox.cs: Added missing attributes; implemented missing property
8873 * DateTimePicker.cs: Added missing attributes
8874 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8875 * MonthCalendar.cs: Fixed attributes
8876 * StatusBarPanel.cs: Added missing attributes
8877 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8879 2005-02-16 Peter Bartok <pbartok@novell.com>
8881 * TextBoxBase.cs: The previous method to enforce height yet remember
8882 the requested high was less than ideal, this is an attempt to do
8884 * Control.cs: Added comment about possible problem
8885 * Copyright: Updated format
8886 * GridItemType.cs: Fixed swapped values
8888 2005-02-15 Jackson Harper <jackson@ximian.com>
8890 * BaseCollection.cs: Use property so we never access an
8891 uninitialized list. Also initialize the list in the property.
8893 2005-02-15 Peter Bartok <pbartok@novell.com>
8895 * GroupBox.cs (ProcessMnemonic): Implemented
8896 * Label.cs (ProcessMnemonic): Implemented
8897 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8900 2005-02-15 Peter Bartok <pbartok@novell.com>
8902 * RadioButton.cs (ProcessMnemonic): Implemented
8903 * CheckBox.cs (ProcessMnemonic): Implemented
8905 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8907 - Added internal method to allow calling ProcessMnemonic from other
8909 * ContainerControl.cs:
8910 - Started support for handling validation chain handling
8911 - Implemented ProcessMnemonic support
8912 - Added Select() call to Active, to make sure the active control
8914 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8916 * ThemeWin32Classic.cs:
8917 - DrawCheckBox(): Fixed stringformat to show hotkeys
8918 - DrawRadioButton(): Fixed stringformat to show hotkeys
8919 * CommonDialog.cs: Removed WndProc override, not needed
8921 2005-02-14 Peter Bartok <pbartok@novell.com>
8923 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8924 missed those in the rewrite
8926 2005-02-14 Miguel de Icaza <miguel@novell.com>
8928 * NumericUpDown.cs (Increment, ToString): Add.
8929 (DecimalPlaces): implement.
8933 * UpDownBase.cs: Add the designer attributes.
8935 2005-02-13 Peter Bartok <pbartok@novell.com>
8937 * Panel.cs: Removed border_style, now in Control
8938 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8939 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8941 2005-02-13 Peter Bartok <pbartok@novell.com>
8943 * MouseButtons.cs: Added missing attributes
8944 * XplatUIStructs.cs: Added enumeration for title styles
8945 * LeftRightAlignment.cs: Added missing attributes
8946 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8947 it compatible with Graphics.FromHwnd()
8948 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8949 * Keys.cs: Added missing attributes
8950 * SelectionRange.cs: Added missing attributes
8951 * SelectionRangeConverter.cs: Added
8953 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8954 ReleaseMenuDC methods
8955 - Renamed ReleaseWindow to UngrabWindow
8956 - Added proper startup notice to allow version identification
8958 - Added missing attributes
8959 - Removed FormParent concept
8960 * Label.cs: Removed border_style field, now in Control
8961 * RadioButton.cs: Now properly selects RadioButton when focus is
8963 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8965 - Added missing attributes
8966 - Added borderstyle handling
8967 - Removed FormParent concept support
8968 - Fixed calls to XplatUI to match changed APIs
8969 - Fixed bug that would case us to use disposed Graphics objects
8970 - Removed unneeded internal methods
8971 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8972 - SelectNextControl(): Fixed to properly check common parents
8973 * TextBoxBase.cs: Removed border_style field (now in Control)
8975 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8976 fixed calculations for form size
8977 - Added support for localized strings and icons
8978 - Improved form size calculations, added border
8979 * ListView.cs: Removed border_style field (now in Control)
8980 * X11Structs.cs: Moved several structs from X11 driver here
8981 * X11Keyboard.cs: Changed debug message
8982 * Application.cs: Removed FormParent concept support
8984 - Resetting end_modal flag
8985 - Removed FormParent concept support
8986 * NativeWindow.cs: Removed FormParent concept support
8987 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8988 Client area and Non-Client whole window to allow support for WM_NC
8990 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8991 prevent using it until it supports Hwnd as per Geoff Norton's request
8992 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8993 * PictureBox.cs: Removed border_style field, now in Control
8994 * XplatUIWin32.cs: Added new driver methods
8996 2005-02-12 Peter Bartok <pbartok@novell.com>
8998 * OpacityConverter.cs: Implemented
8999 * Hwnd.cs: Internal class to support drivers that need to emulate
9000 client area/non-client area window behaviour
9002 2005-02-11 Peter Bartok <pbartok@novell.com>
9004 * KeysConverter.cs: Implemented
9006 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9008 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9009 * LinkLabel: Added missing attributes
9010 * MainMenu.cs: fixes ToString
9011 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9012 * ListBox.cs: fixes event position
9013 * TrackBar.cs: adds missing attributes and events
9015 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9017 * MenuItem.cs: Use SystemInformation and bug fixes
9018 * MenuAPI.cs: Use SystemInformation and bug fixes
9020 2005-02-09 Jackson Harper <jackson@ximian.com>
9022 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9023 their keystate otherwise things like VK_MENU get stuck "on".
9025 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9027 * ListBox.cs: Fixes AddRange bug
9029 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9032 - Add missing attributes
9033 - Add missing method
9035 * CheckedListBox.cs: Added missing attributes
9036 - Add missing attributes
9037 - Remove extra method
9039 * ComboBox.cs: Added missing attributes
9040 * VScrollBar.cs: Added missing attributes
9041 * ScrollBar.cs: Added missing attributes
9042 * ListBox.cs: Fixes signature, add missing consts
9043 * LinkArea.cs: Added missing attributes
9046 2005-02-08 Peter Bartok <pbartok@novell.com>
9048 * Menu.cs: Added missing attributes
9049 * MainMenu.cs: Added missing attributes
9050 * GroupBox.cs: Added missing attributes
9051 * Label.cs: Added missing attributes
9052 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9054 - Added Instance and Options properties
9055 - Added missing attributes
9056 * Cursor.cs: Made Serializable
9057 * NotifyIcon: Added missing attributes
9058 * MenuItem.cs: Added missing attributes
9059 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9060 * Panel.cs: Added Missing attributes
9061 * MonthCalendar.cs: Fixed CreateParams
9063 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9067 - Fixes issues with links
9068 - Adds the class attributes
9070 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9073 - Fixes button when no items available in dropdown
9074 - Fixes repainting problems
9075 - Adds the class attributes
9077 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9079 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9080 the current theme. Cache these on startup.
9082 2005-02-07 Jackson Harper <jackson@ximian.com>
9084 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9085 the scrollbar buttons when they are depressed.
9087 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9089 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9090 Get the display size from the main displayid. We currently dont
9091 support multiple display configurations.
9093 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9095 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9097 2005-02-07 Miguel de Icaza <miguel@novell.com>
9099 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9101 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9103 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9105 2005-02-04 Jackson Harper <jackson@ximian.com>
9107 * ThemeWin32Classic.cs: Respect the clipping rect when
9108 drawing. Only fill the intersection of clips and rects so there
9109 isn't a lot of large fills.
9110 * ScrollBar.cs: Pass the correct clipping rect to the theme
9111 engine. Remove some debug code.
9113 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9115 * DateTimePicker.cs:
9116 - Fixed crash on DateTime.Parse, use Constructor instead
9118 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9122 - Owner draw support (MeasureItem and DrawItem)
9124 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9127 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9128 - Fixes MenuItems.Add range
9130 - MergeMenu and Clone and CloneMenu functions
9132 2005-02-03 Jackson Harper <jackson@ximian.com>
9134 * ScrollBar.cs: Make abstract
9135 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9138 2005-02-03 Jackson Harper <jackson@ximian.com>
9140 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9141 all the unneeded refreshes and uses invalidates with properly
9144 2005-02-03 Peter Bartok <pbartok@novell.com>
9146 * ComponentModel.cs: Added
9147 * IDataGridEditingService.cs: Added
9148 * Timer.cs: Added missing attributes
9149 * ToolTip.cs: Added missing attributes
9151 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9153 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9155 2005-02-03 Peter Bartok <pbartok@novell.com>
9157 * ListBox.cs: Added missing attributes
9159 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9162 - Fixes font height after font change
9163 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9165 2005-02-02 Peter Bartok <pbartok@novell.com>
9167 * HandleData.cs: Introduced static methods to allow class
9168 to be more self-contained and track it's own HandleData objects
9169 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9170 HandleData to use new static methods
9172 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9175 - Fixes default size and PreferredHeight
9177 - ObjectCollection.Insert implementation
9183 - ObjectCollection.Insert implementation
9184 - No selection after clean
9187 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9189 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9191 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9194 - Caches ItemHeight calculation for OwnerDrawVariable
9195 - Handles dropdown properly
9196 - Fixes several minor bugs
9198 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9201 - Fixes 71946 and 71950
9202 - Fixes changing Multicolumn on the fly
9203 - Fixes keyboard navigation on Multicolumn listboxes
9205 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9207 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9210 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9212 * XplatUIOSX.cs: Allow applications to actually exit.
9214 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9216 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9217 their parent at creation time rather than lazily later. Fixes a major
9218 regression we were experiencing.
9220 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9222 * ThemeWin32Classic.cs: more date time picker painting fixes
9223 * DateTimePicker.cs: more monthcalendar drop down fixes
9224 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9226 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9229 - When moving the thumb going outside the control should stop the moving
9230 - Adds the firing of missing events
9231 - Fixes no button show if Size is not specified
9232 - End / Home keys for keyboard navigation
9234 2005-01-30 Peter Bartok <pbartok@novell.com>
9236 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9237 sanity check to prevent theoretical loop
9238 * XplatUIWin32.cs (SetVisible): Removed debug output
9239 * XplatUIX11.cs (SystrayChange): Added sanity check
9240 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9241 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9242 behaviour, valid until the X11 client window rewrite is done
9243 * TextBox.cs (ctor): Setting proper default foreground and background
9246 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9248 * Theme: Added DrawDateTimePicker to interface
9249 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9250 * DateTimePicker.cs: Created (still needs keys and painting code)
9251 * DateTimePickerFormat.cs: added
9252 * MonthCalendar.cs: fixed CreateParams for popup window mode
9254 2005-01-29 Peter Bartok <pbartok@novell.com>
9256 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9257 this should also the calculations for ligher/darker
9258 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9260 2005-01-29 Peter Bartok <pbartok@novell.com>
9262 * ArrangeDirection.cs: Added
9263 * ArrangeStartingPositon.cs: Added
9264 * SystemInformation.cs: Implemented
9265 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9266 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9267 used by SystemInformation class
9268 * X11Strucs.cs: Added XSizeHints structure
9270 - Fixed CreateParams to make sure the menu window is always visible
9271 - TrackPopupMenu: Added check to make sure we don't draw the
9274 2005-01-29 Peter Bartok <pbartok@novell.com>
9276 * HandleData.cs: Added method for altering invalid area
9277 * TextBoxBase.cs: Implemented TextLength
9279 2005-01-28 Peter Bartok <pbartok@novell.com>
9281 * XplatUIX11.cs: Improvement over last patch, not sending
9282 the WM_PAINT directly anymore, instead we scroll any pending
9283 exposed areas and let the system pick out the WM_PAINT later
9285 2005-01-28 Peter Bartok <pbartok@novell.com>
9287 * SWF.csproj: Deleted, no longer used. Instead,
9288 Managed.Windows.Forms/SWF.csproj should be used
9289 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9290 directly, to avoid a potential race condition with the next
9293 2005-01-28 Peter Bartok <pbartok@novell.com>
9295 * XplatUI.cs: Made class internal
9297 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9299 * CheckedListBox.cs:
9302 - Missing methods and events
9304 2005-01-27 Peter Bartok <pbartok@novell.com>
9306 * Application.cs (Run): Don't use form if we don't have one
9308 2005-01-27 Peter Bartok <pbartok@novell.com>
9310 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9312 2005-01-27 Peter Bartok <pbartok@novell.com>
9314 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9315 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9316 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9317 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9318 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9319 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9320 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9321 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9322 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9323 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9324 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9325 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9327 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9330 - Draw focus on Simple Combobox
9331 - Fixes drawing issues
9334 2005-01-27 Peter Bartok <pbartok@novell.com>
9337 - Place window in default location, instead of hardcoded 0/0
9338 - Send initial LocationChanged event
9340 - UpdateBounds after creation to find out where the WM placed us
9341 - Make sure that if the ParentForm changes location the Form
9343 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9344 to the root, but to whatever the WM placed around us.
9345 Translate to root coordinates before returning toplevel
9347 * XplatUIWin32.cs: Removed debug output
9348 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9349 flag to GetWindowPos, to allow translation of coordinates on X11
9351 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9353 * ListBox.cs: connect LostFocus Event
9355 2005-01-27 Peter Bartok <pbartok@novell.com>
9357 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9358 XplatUIX11.cs: Extended the Systray API
9359 * Form.cs: Removed debug output
9360 * Application.cs: Fixed focus assignment, always need to call
9361 XplatUI.Activate() since Form.Activate() has rules that may
9363 * NotifyIcon.cs: Should be complete now
9364 * ToolTip.cs: Worked around possible timer bug
9366 2005-01-27 Jackson Harper <jackson@ximian.com>
9369 - Only invalidate the effected tabs when the
9370 selected index changes. This reduces drawing and gets rid of some
9372 - Only refresh if the tabs need to be shifted, otherwise only
9373 invalidate the slider button.
9374 - On windows the tabs are not filled to right if the slider is
9377 2005-01-27 Jackson Harper <jackson@ximian.com>
9379 * TabControl.cs: Only refresh on mouseup if we are showing the
9380 slider. Also only invalidate the button whose state has changed.
9382 2005-01-26 Peter Bartok <pbartok@novell.com>
9384 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9385 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9386 and SystrayRemove() methods
9387 * XplatUIOSX.cs: Stubbed Systray methods
9389 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9391 - Fixed broken XChangeProperty calls (marshalling messed up things)
9392 * X11Structs.cs: Added enums and structs required for Size hinting
9393 * NotifyIcon.cs: Added & implemented
9395 2005-01-26 Jackson Harper <jackson@ximian.com>
9397 * TabControl.cs: Space vertically layed out tabs properly.
9399 2005-01-26 Peter Bartok <pbartok@novell.com>
9401 * Form.cs (CreateClientParams): Always set the location to 0,0
9402 since we're a child window.
9404 * Control.cs (SetVisibleCore): Always explicitly setting the location
9405 of a toplevel window, apparently X11 doesn't like to move windows
9406 while they're not mapped.
9408 2005-01-26 Jackson Harper <jackson@ximian.com>
9410 * TabControl.cs: Implement FillToRight size mode with vertically
9413 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9415 * ControlPaint.cs, ThemeWin32Classic.cs
9416 - Fixes DrawFocusRectangle
9418 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9421 - MenuBar tracking only starts when item is first clicked
9422 - Fixes menu hidding for multiple subitems
9423 - Unselect item in MenuBar when item Executed
9426 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9429 - IsInputKey for ListBox
9432 - Shift and Control item selection
9433 - Implement SelectionMode.MultiExtended
9436 - IsInputKey implemented
9437 - Do not generate OnTextChangedEdit on internal txt changes
9439 2005-01-23 Peter Bartok <pbartok@novell.com>
9441 * AccessibleObject.cs: Partially implemented Select()
9442 * MonthCalendar.cs: Added missing attributes and events
9443 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9444 form can properly override CreateParams.
9445 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9446 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9447 Control performs Invalidate & Update
9448 * NativeWindow (CreateHandle): Added special handling for Form
9449 and Form.FormParent classes to allow overriding of From.CreateParams
9451 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9453 - ControlNativeWindow: Added Owner property
9454 - Removed usage of Refresh() on property changes, changed into
9455 Invalidate(), we need to wait until the queue is processed for
9456 updates, direct calls might cause problems if not all vars for
9457 Paint are initialized
9458 - Added call to UpdateStyles() when creating the window, to set any
9459 styles that CreateWindow might have ignored.
9460 - Added support for Form CreateParent overrides to UpdateStyles()
9461 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9462 CreateParams are now properly overridable
9463 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9464 CreateParams are now properly overridable
9466 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9468 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9471 Capture LostFocus and OnTextBoxChanged. The later introduces a
9472 recursive invocation that I have not figured out yet.
9474 Reset the timer when not using (it was accumulating).
9477 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9478 user has made changes that require validation.
9480 Reset changing to avoid loops.
9482 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9484 * NumericUpDown.cs: Display value at startup.
9486 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9489 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9490 filled in. Added some basic parsing of text.
9492 Still missing the OnXXX method overrides, and figuring out the
9493 events that must be emitted.
9495 * UpDownBase.cs: Handle UserEdit on the Text property.
9497 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9500 - Fixes IntegralHeight
9503 2005-01-21 Jackson Harper <jackson@ximian.com>
9505 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9506 is set so that the page visibility is updated and the tabs are
9509 2005-01-21 Jackson Harper <jackson@ximian.com>
9511 * TabControl.cs: Use cliping rectangle for blitting. Give the
9512 theme the clipping rect so we can do clipping while
9513 drawing. Remove some debug code.
9515 2005-01-21 Jackson Harper <jackson@ximian.com>
9517 * TabPage.cs: Add a new method so tab pages can force the tab
9518 control to recalculate the tab page sizes.
9519 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9522 2005-01-20 Jackson Harper <jackson@ximian.com>
9524 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9526 2005-01-20 Jackson Harper <jackson@ximian.com>
9528 * TreeView.cs: Set the bounds for nodes properly. They were
9529 getting screwed up when checkboxes were not enabled, but images
9532 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9535 - Owner draw support
9538 2005-01-20 Jackson Harper <jackson@ximian.com>
9540 * XplatUIStructs.cs: More misc keys
9541 * X11Keyboard.cs: Ignore some control keys.
9543 2005-01-20 Jackson Harper <jackson@ximian.com>
9545 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9546 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9548 2005-01-19 Peter Bartok <pbartok@novell.com>
9550 * Control.cs: Un-selecting the control when it is loosing focus
9552 2005-01-19 Jackson Harper <jackson@ximian.com>
9554 * TreeView.cs: Hook up to the text controls leave event so we can
9555 end editing when the users clicks outside the text box.
9557 2005-01-19 Jackson Harper <jackson@ximian.com>
9559 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9560 get set in the conversion array.
9562 2005-01-19 Peter Bartok <pbartok@novell.com>
9564 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9565 focus is properly set
9567 - Added missing attributes
9568 - removed styles, those are already set in the base class
9570 - Added missing attributes
9571 - Added clip window styles
9572 * CheckBox.cs: Added missing attributes
9574 - FormParentWindow.CreateParams: Added required clip styles
9575 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9576 also filters modifier keys
9578 - Added assignment of Accept and Cancel button to enable Enter
9579 and Esc keys in MessageBox dialogs
9580 - FormParentWindow.CreateParams: Added required clip styles
9581 * RadioButton.cs: Added missing attributes
9582 * TextControl.cs: No longer draws selection if control does not
9585 - Now draws simple rectangle around test area to make it obvious
9586 there's a control. This is a hack until we properly support borders
9587 - A few simple fixes to support selections better, now erases selected
9588 text when typing, and resets selection when using movement keys
9590 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9592 * UpDownBase.cs: Added some new properties.
9594 * DomainUpDown.cs: Implement a lot to get my test working.
9596 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9598 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9600 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9602 * OSXStructs (WindowAttributes): Fixed csc complaints
9604 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9607 OSXStructs.cs: Initial refactor to move enums and consts into
9608 OSXStructs and use them in the driver for greater readability.
9610 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9612 * XplatUIOSX.cs: Initial support for Standard Cursors.
9613 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9615 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9617 * ComboBox.cs: ability to change style when the ctrl is already
9618 created, missing methods and events, bug fixes, signature fixes
9620 2005-01-19 Peter Bartok <pbartok@novell.com>
9622 * Cursors.cs (ctor): Added ctor to fix signature
9624 2005-01-18 Peter Bartok <pbartok@novell.com>
9626 * Button.cs: Implemented DoubleClick event
9628 - Fixed keyboard handling to behave like MS, where the press of
9629 Spacebar is equivalent to a mousedown, and the key release is
9630 equivalent to mouseup. Now a spacebar push will give the same
9631 visual feedback like a mouse click.
9632 - Added missing attributes
9633 - Added ImeModeChanged event
9634 - Added support for generating DoubleClick event for derived classes
9636 - Implemented DoubleClick event
9637 - Added missing attributes
9638 * CommonDialog.cs: Added missing attribute
9639 * ContextMenu.cs: Added missing attributes
9641 - AutoChecked buttons do not allow to be unselected when clicked
9642 (otherwise we might end up with no selected buttons in a group)
9643 - Added missing attributes
9644 - Implemented DoubleClickEvent
9645 * ThreadExceptionDialog.cs: Enabled TextBox code
9647 2005-01-18 Peter Bartok <pbartok@novell.com>
9649 * Form.cs: Removed debug output
9650 * Button.cs: Added support for DoubleClick method
9652 2005-01-18 Peter Bartok <pbartok@novell.com>
9655 - Added method to parent window that allows triggering size
9656 calculations when a menu is added/removed
9657 - set_Menu: Cleaned up mess from early days of Form and Control,
9658 now properly triggers a recalc when a menu is added/removed
9659 - Added case to select form itself as focused form if no child
9661 - Added PerformLayout call when showing dialog, to ensure properly
9664 - Select(): Made internal so Form can access it
9665 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9667 * Application.cs (Run): Removed hack and calls PerformLayout instead
9668 to trigger calculation when Form becomes visible
9670 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9672 * ComboBox.cs: fixes for ownerdraw
9674 2005-01-18 Peter Bartok <pbartok@novell.com>
9677 - Sentinel is no longer static, each Document gets it's own, this
9678 avoids locking or alternatively overwrite problems when more
9679 than one text control is used simultaneously.
9680 - Switched to use Hilight and HilightText brushes for text selection
9682 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9684 2005-01-18 Peter Bartok <pbartok@novell.com>
9687 - Hooked up the following events:
9695 o SystemColorsChanged
9698 - Removed debug output
9699 - Added a call to the current theme's ResetDefaults when a color change
9701 * Form.cs: Now setting the proper ImeMode
9702 * Theme.cs: Defined a method to force recreation of cached resources
9703 and rereading of system defaults (ResetDefaults())
9704 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9706 2005-01-17 Peter Bartok <pbartok@novell.com>
9708 * Control.cs: Added missing attributes
9710 2005-01-17 Jackson Harper <jackson@ximian.com>
9712 * TreeNode.cs: Implement editing. Add missing properties selected
9714 * TreeView.cs: Implement node editing. Also some fixes to use
9715 Invalidate (invalid area) instead of Refresh when selecting.
9717 2005-01-17 Peter Bartok <pbartok@novell.com>
9720 - Implemented InvokeGotFocus() method
9721 - Implemented InvokeLostFocus() method
9722 - Implemented InvokePaint() method
9723 - Implemented InvokePaintBackground() method
9724 - Implemented InvokeClick() method
9725 - Implemented FindForm() method
9726 - Implemented RectangleToClient() method
9727 - Implemented ClientToRectangle() method
9728 - Implemented ResetBackColor() method
9729 - Implemented ResetCursor() method
9730 - Implemented ResetFont() method
9731 - Implemented ResteForeColor() method
9732 - Implemented ResetImeMode() method
9733 - Implemented ResetLeftToRight() method
9734 - Implemented ResetText() method
9735 - Implemented Scale() methods
9736 - Implemented ScaleCore() method
9737 - Implemented Update() method
9738 - Removed unused variables
9739 - Stubbed AccessibilityNotifyClients and
9740 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9742 - Now setting proper default for RightToLeft property
9743 - Fixed bug in SetClientSizeCore that would cause windows to get
9745 - Now sending Click/DoubleClick events
9746 - Now selecting controls when left mouse button is clicked on
9748 * AccessibleEvents.cs: Added
9749 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9750 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9751 * XplatUIWin32.cs: Implemented UpdateWindow() method
9752 * XplatUIX11.cs: Implemented UpdateWindow() method
9753 * Form.cs: Removed stray semicolon causing CS0162 warning
9754 * ThemeWin32Classic.cs: Fixed unused variable warnings
9755 * ScrollableControl.cs: Now calls base method for ScaleCore
9756 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9757 style to avoid interference with internal click handler (which is
9758 different than standard Control click handling)
9760 - Now unchecks all sibling radio buttons when control is
9761 selected (Fixes #68756)
9762 - Removed internal tabstop variable, using the one inherited from
9765 2005-01-17 Jackson Harper <jackson@ximian.com>
9767 * NavigateEventArgs.cs: Fix base type.
9768 * LinkLabel.cs: Sig fix
9770 2005-01-17 Jackson Harper <jackson@ximian.com>
9772 * TreeView.cs: Only invalidate the effected nodes bounds when
9775 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9777 * XplatUIWin32.cs: fixes Win32 marshaling
9778 * XplatUIX11.cs: fixes method signature
9780 2005-01-17 Peter Bartok <pbartok@novell.com>
9782 * XplatUIX11.cs: Clean up resources when we no longer need them
9784 2005-01-17 Peter Bartok <pbartok@novell.com>
9786 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9787 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9788 and DestroyCursor() methods.
9789 * Cursor.cs: Partially implemented, now supports standard cursors;
9790 still contains some debug code
9791 * Cursors.cs: Implemented class
9793 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9795 - Implemented Cursor property
9796 - Replaced break; with return; more straightforwar and possibly
9798 - Now properly setting the result for WM_HELP
9799 * X11Structs.cs: Added CursorFontShape enum
9800 * XplatUIStructs.cs:
9801 - Added StdCursor enum (to support DefineStdCursor() method)
9802 - Added HitTest enum (to support sending WM_SETCURSOR message)
9804 - Now sends the WM_SETCURSOR message
9805 - Implemented new cursor methods
9806 * XplatUIOSX.cs: Stubbed new cursor methods
9808 - Implemented new cursor methods
9809 - Added GetSystemMetrics function and associated enumeration
9811 2005-01-15 Peter Bartok <pbartok@novell.com>
9814 - WndProc(): Now handles EnableNotifyMessage
9815 - SelectNextControl(): Fixed bug where if no child or sibling
9816 controls exist we looped endlessly
9818 2005-01-14 Jackson Harper <jackson@ximian.com>
9820 * TreeView.cs: Recalculate the tab pages when a new one is added
9821 so that the proper bounding rects are created.
9823 2005-01-14 Jackson Harper <jackson@ximian.com>
9825 * TreeView.cs: Draw a gray box instead of a grip in the lower
9826 right hand corner when there are both horizontal and vertical
9829 2005-01-14 Jackson Harper <jackson@ximian.com>
9831 * Control.cs: When erasing backgrounds use FromHwnd instead of
9832 FromHdc when there is a NULL wparam. This occurs on the X driver.
9833 * XplatUIX11.cs: Set the wparam to NULL.
9835 2005-01-13 Jackson Harper <jackson@ximian.com>
9837 * PictureBox.cs: Implement missing methods (except ToString, need
9838 to test that on windows) and events. When visibility is changed we
9839 need to redraw the image because the buffers are killed. When size
9840 is changed refresh if the sizemode needs it.
9842 2005-01-13 Peter Bartok <pbartok@novell.com>
9844 * Control.cs (SelectNextControl): Was using wrong method to select
9847 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9849 * ComboBox.cs: fixes dropstyle
9851 2005-01-13 Peter Bartok <pbartok@novell.com>
9854 - Implemented Select() override
9855 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9856 - Now sets keyboard focus on startup
9857 * Control.cs (SelectNextControl): Now properly handles directed=true
9859 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9860 - Added (really bad) focus rectangle (mostly for testing)
9861 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9862 to enforce redraw on focus changes
9863 * ContainerControl.cs:
9864 - Fixed detection of Shift-Tab key presses
9865 - Fixed traversal with arrow keys
9866 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9867 gonna keep this or if it's complete yet
9869 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9871 * ComboBox.cs: missing properties, fixes
9873 2005-01-13 Peter Bartok <pbartok@novell.com>
9875 * Panel.cs (ctor): Setting Selectable window style to off
9876 * Splitter.cs (ctor): Setting Selectable window style to off
9877 * GroupBox.cs (ctor): Setting Selectable window style to off
9878 * Label.cs (ctor): Setting Selectable window style to off
9880 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9882 * UpDownBase.cs (InitTimer): If the timer has been already
9885 Use a TextBox instead of a Label.
9887 2005-01-12 Jackson Harper <jackson@ximian.com>
9889 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9890 draw the connecting node lines (when ShowLines is true).
9891 * TreeNode.cs: The nodes index can now be updated. This is used
9892 when a node collection is sorted.
9893 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9894 insert or an existing unsorted node collection can be sorted.
9896 2005-01-12 Peter Bartok <pbartok@novell.com>
9898 * ContainerControl.cs: Implemented ProcessDialogKeys()
9900 2005-01-12 Peter Bartok <pbartok@novell.com>
9903 - Implemented SelectNextControl() method
9904 - Several focus related bug fixes
9905 - Fixed Docking calculations to match MS documentation and
9908 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9910 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9913 2005-01-12 Peter Bartok <pbartok@novell.com>
9916 - Fixed broken Contains() method
9917 - Implemented GetNextControl() method. Finally. This is the pre-
9918 requisite for focus handling.
9920 2005-01-12 Peter Bartok <pbartok@novell.com>
9922 * OSXStrucs.cs: Added
9924 2005-01-12 Peter Bartok <pbartok@novell.com>
9927 - Removed PeekMessageFlags
9928 - Implemented SetWindowStyle() method
9929 * XplatUIStructs.cs: Added PeekMessageFlags
9930 * X11Structs: Added missing border_width field to XWindowChanges struct
9932 - PeekMessage: Now throws exception if flags which are not yet
9933 supported are passed
9934 - Implemented SetWindowStyle() method
9935 - Fixed SetZOrder to handle AfterHwnd properly
9936 * XplatUI.cs: Added SetWindowStyle() method
9937 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9939 - Implemented UpdateStyles() method
9940 - Implemented UpdateZOrder() method
9941 * XplatUIOSX.cs: Added SetWindowStyle() stub
9943 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9945 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9949 2005-01-11 Jackson Harper <jackson@ximian.com>
9951 * TreeView.cs: Still need to draw lines to siblings even if out of
9952 the current node is out of the clip.
9954 2005-01-11 Jackson Harper <jackson@ximian.com>
9956 * TreeView.cs: When setting the hbar/vbar/grip position use
9957 SetBounds so that perform layout is only called once. Also suspend
9958 and resume layout so layout is only done once for all controls.
9959 - Removed some debug fluff
9960 * SizeGrip.cs: Call base implmentation in overriding methods.
9961 - When visibility is changed the drawing buffers are killed so we
9964 2005-01-11 Jackson Harper <jackson@ximian.com>
9966 * TreeView.cs: Calculate the open node count while drawing. This
9967 saves us an entire tree traversal for every paint operation. Use
9968 a member var for the open node count so less vars are passed around.
9970 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9973 - fixed selection to use mousemove, not mouse polling on timer
9974 * ThemeWin32Classic.cs
9975 - removed redundant unused variable "no_more_content"
9977 2005-01-11 Peter Bartok <pbartok@novell.com>
9979 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9980 are pending, so it now calls PeekMessage instead of GetMessage;
9981 implemented a incomplete version of PeekMessage
9983 2005-01-11 Peter Bartok <pbartok@novell.com>
9985 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9987 * TextBoxBase.cs: Added sending of TextChanged event
9989 2005-01-10 Jackson Harper <jackson@ximian.com>
9991 * TreeView.cs: Try not to draw outside the clipping rectangle on
9994 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
9996 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
9998 2005-01-10 Jackson Harper <jackson@ximian.com>
10001 - Implement fast scrolling. Now only the newly
10002 exposed nodes are drawn and the old image is moved using the
10003 XplatUI::ScrollWindow method.
10004 - Factor in height of nodes when calculating whether or not the
10005 node is in the clipping rect.
10007 2005-01-10 Jackson Harper <jackson@ximian.com>
10009 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10011 2005-01-10 Peter Bartok <pbartok@novell.com>
10013 * Application.cs: Added temporary hack to resolve all our resize
10014 required issues on startup. This will get fixed properly at
10015 some point in the future
10017 2005-01-10 Jackson Harper <jackson@ximian.com>
10019 * SizeGrip.cs: New internal class that is used as a sizing
10020 grip control...hence the name.
10022 2005-01-10 Peter Bartok <pbartok@novell.com>
10024 * Control.cs: Implemented proper TabIndex handling, now assigning
10025 a tabindex when a control is added to a container
10026 * GroupBox.cs (ctor): Now sets the Container style bit, required
10027 for Control.GetNextControl()
10029 2005-01-09 Jackson Harper <jackson@ximian.com>
10031 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10033 2005-01-09 Peter Bartok <pbartok@novell.com>
10035 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10036 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10037 an overload for ScrollWindow to allow only scrolling a rectangle
10039 2005-01-09 Peter Bartok <pbartok@novell.com>
10042 - Implemented SetDesktopBounds method
10043 - Implemented SetDesktopLocation method
10045 2005-01-08 Jackson Harper <jackson@ximian.com>
10047 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10048 the node count has changed, this removes to VScroll::Refresh calls
10051 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10053 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10055 2005-01-07 Jackson Harper <jackson@ximian.com>
10057 * TreeNode.cs: Just update the single node when it is
10058 checked. Don't refresh after toggling, the Expand/Collapse already
10060 * TreeView.cs: Respect clipping a little more when drawing. Try
10061 not to redraw things that don't need to be redrawn. Just hide the
10062 scrollbars when they are no longer needed instead of removing
10063 them, so they don't have to be created again and again.
10065 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10067 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10068 coordinates to window space to place the caret properly, FIXED.
10069 Implement GetWindowState & SetWindowState
10071 2005-01-06 Peter Bartok <pbartok@novell.com>
10074 - Implemented ClientSize property
10075 - Implemented DesktopBounds property
10076 - Implemented DesktopLocation property
10077 - Implemented IsRestrictedWindow property
10078 - Implemented Size property
10079 - Implemented TopLevel property
10080 - Implemented FormWindowState property
10082 - Implemented GetTopLevel() method
10083 - Implemented SetTopLevel() method
10084 * X11Structs.cs (Atom):
10085 - Added AnyPropertyType definition
10086 - Added MapState definiton and updated XWindowAttribute struct
10087 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10088 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10089 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10091 - Implemented GetWindowState() and SetWindowState() methods
10092 - Fixed Win32GetWindowLong return type
10094 - Introduced central function for sending NET_WM messages
10095 - Implemented GetWindowState() and SetWindowState() methods
10096 * TextBoxBase.cs (set_Lines):
10097 - Now uses Foreground color for text added via Text property (Duh!)
10098 - Added code to remember programmatically requested size (fixes
10099 behaviour when Multiline is set after Size)
10100 - Added AutoSize logic
10102 2005-01-06 Jackson Harper <jackson@ximian.com>
10104 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10106 2005-01-06 Jackson Harper <jackson@ximian.com>
10108 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10109 set to less then 0.
10111 2005-01-06 Jackson Harper <jackson@ximian.com>
10113 * ScrollableControl.cs: Lazy init the scrollbars.
10115 2005-01-06 Jackson Harper <jackson@ximian.com>
10117 * Theme.cs: Speed up getting pens and solid brushes, by using
10118 their ARGB as a hash instead of tostring and not calling Contains.
10120 2005-01-06 Peter Bartok <pbartok@novell.com>
10123 - Implemented OnActivated and OnDeactivate event trigger
10124 - Implemented Activate() method
10125 - Fixed ShowDialog() to activate the form that was active before
10126 the dialog was shown
10128 - Added global active_window var that tracks the currently active
10130 - Now always grabs Property changes from the root window to always
10131 catch changes on the active window property
10132 - Added code to PropertyNotify handler to send Active/Inactive
10133 messages when state changes. This puts X11 and Win32 en par on
10134 WM_ACTIVATE notifications (except for double notifications when
10135 the user clicks away from our modal window to another one of our
10138 2005-01-05 Jackson Harper <jackson@ximian.com>
10140 * ImageList.cs: Implment ctor
10142 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10144 * XplatUIOSX.cs: Implement Activate/SetTopmost
10146 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10148 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10150 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10152 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10154 2005-01-05 Peter Bartok <pbartok@novell.com>
10156 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10157 XplatUIOSX.cs: Added GetActive method to return the currently
10158 active window for the application (or null, if none is active)
10160 - Implemented ActiveForm
10161 - Commented out owner assignment for modal dialogs (causes problems
10162 on Win32, since the owner will be disabled)
10163 - Reworked some Active/Focus handling (still incomplete)
10164 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10165 (causes problems on Win32, since the owner will be disabled)
10166 * IWin32Window: Added ComVisible attribute
10168 2005-01-05 Peter Bartok <pbartok@novell.com>
10170 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10171 required XplatUI functions.
10173 2005-01-05 Peter Bartok <pbartok@novell.com>
10175 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10176 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10177 to implement focus and activation handling; still incomplete and
10180 2005-01-04 Peter Bartok <pbartok@novell.com>
10182 * TextBoxBase.cs: Changed access level for Document property to
10183 match switch to internal for TextControl
10185 2005-01-04 Peter Bartok <pbartok@novell.com>
10187 * AccessibleObject: Added ComVisible attribute
10189 2005-01-04 Jackson Harper <jackson@ximian.com>
10191 * X11Keyboard.cs: Remove unneeded var.
10193 2005-01-04 Jackson Harper <jackson@ximian.com>
10195 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10197 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10198 ClientMessage. This makes apps exit cleanly (more often).
10200 2005-01-04 Jackson Harper <jackson@ximian.com>
10202 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10203 handling focus, return correct colors and fonts,
10204 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10205 handle selection, horizontal scrolling, and mouse interaction.
10207 2005-01-04 Peter Bartok <pbartok@novell.com>
10209 * ICommandExecutor.cs: Added
10210 * IDataGridColumnStyleEditingNotificationService.cs: Added
10211 * IFeatureSupport.cs: Added
10212 * IFileReaderService.cs: Added
10213 * IDataObject.cs: Added ComVisible attribute
10214 * AmbientProperties.cs: Added
10215 * BaseCollection.cs: Added missing attributes
10216 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10217 * BaseCollection.cs: Added missing attributes
10218 * Binding.cs: Added TypeConverter attribute
10219 * BindingContext.cs: Added DefaultEvent attribute
10220 * BindingsCollection.cs: Added DefaultEvent attribute
10221 * Button.cs: Added DefaultValue attribute
10222 * DragEventArgs.cs: Added ComVisible attribute
10223 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10224 * KeyEventArgs.cs: Added ComVisible attribute
10225 * KeyPressEventArgs.cs: Added ComVisible attribute
10226 * MouseEventArgs.cs: Added ComVisible attribute
10227 * NavigateEventArgs.cs: Added
10228 * NavigateEventHandler.cs: Added
10229 * FeatureSupport.cs: Added
10230 * OSFeature.cs: Added
10231 * Theme.cs: Added abstract Version property to support OSFeature
10232 * ThemeWin32Classic.cs: Added Version property to
10233 support OSFeature.Themes
10234 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10235 the proper styles to avoid background drawing are set, also doesn't
10237 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10238 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10239 * ScrollEventArgs.cs: Added ComVisible attribute
10240 * SplitterEventArgs.cs: Added ComVisible attribute
10241 * AccessibleSelection.cs: Added Flags attribute
10242 * Appearance.cs: Added ComVisible attribute
10243 * Border3DSide.cs: Added ComVisible attribute
10244 * Border3DStyle.cs: Added ComVisible attribute
10245 * BorderStyle.cs: Added ComVisible attribute
10246 * DragAction.cs: Added ComVisible attribute
10247 * ErrorBlinkStyle.cs: Added
10248 * ScrollEventType.cs: Added ComVisible attribute
10249 * AnchorStyles.cs: Added Editor attribute
10250 * DockStyle.cs: Added Editor attribute
10251 * HorizontalAlignment.cs: Added ComVisible attribute
10252 * HelpEventArgs.cs: Added ComVisible attribute
10253 * PaintEventArgs.cs: Added IDisposable
10255 2005-01-04 Peter Bartok <pbartok@novell.com>
10257 * TextControl.cs: Switched Line, LineTag and Document classes to
10260 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10262 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10263 Simple mode, fixes, IntegralHeight, etc.
10265 2005-01-04 Peter Bartok <pbartok@novell.com>
10267 * TextBoxBase.cs: Using proper font variable now
10269 2005-01-04 Peter Bartok <pbartok@novell.com>
10271 * Form.cs (ShowDialog): Set parent to owner, if provided
10272 * GroupBox.cs: Removed unused vars
10274 - Added GetHashCode() for Document and LineTag classes
10275 - Removed unused variables
10276 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10277 to allow translation between continuous char position and line/pos
10278 * CheckBox.cs: Removed vars that are provided by base class
10279 * RadioButton.cs: Removed vars that are provided by base class, added
10280 new keyword where required
10281 * LinkLabel.cs: Added new keyword where required
10282 * Control.cs (WndProc): Removed unused variable
10284 - Finished SelectionLength property
10285 - Implemented SelectionStart property
10286 - Implemented Text property
10287 - Removed unused vars
10288 * MessageBox.cs: Added new keyword where required
10289 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10291 * MenuAPI.cs: Added new keyword where required
10292 * ButtonBase.cs: Removed vars that are provided by base class, added
10293 new keyword where required
10294 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10295 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10297 * Application.cs (Run): Now triggers the ThreadExit event
10298 * CommonDialog.cs: Added new keyword where required; now properly sets
10299 parent (owner) for dialog
10300 * XplatUIX11.cs: Commented out unused vars
10301 * StatusBar.cs: Fixed signature for Text property
10302 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10304 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10306 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10307 TrackBar.cs, MonthCalendar.cs: remove unused vars
10309 2005-01-03 Jackson Harper <jackson@ximian.com>
10311 * ThemeWin32Classic.cs:
10312 * X11Keyboard.cs: Remove unused vars.
10314 2005-01-03 Peter Bartok <pbartok@novell.com>
10317 - set_Text: Tied into TextControl
10318 - set_TextAlignment: Tied into TextControl
10320 - Added alignment properties and implemented alignment handling
10321 and drawing (still has a bug, not generating proper expose events)
10322 - Added new Line() constructor to allow passing the line alignment
10323 - Fixed selection setting, properly handling end<start now
10324 - Added aligment considerations to RecalculateDocument()
10326 - Now properly enforces control height for single line controls
10327 - Added support for CharacterCasing
10328 - Added IsInputKey override
10329 - Fixed Keys.Enter logic
10330 - Added SetBoundsCore override
10331 - Fixed mouse selection handling
10333 2005-01-03 Jackson Harper <jackson@ximian.com>
10336 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10337 - Checkboxes are always aligned to the bottom of the node,
10338 regardless of item height.
10339 - Use the node bounds to draw the text so we can center it when
10340 the item height is greater then the font height.
10341 - Node::Bounds are only the text part of the node.
10342 * TreeNode.cs: New method to combine collapsing and unchecking all
10345 2005-01-02 Jackson Harper <jackson@ximian.com>
10347 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10348 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10349 tree when a check is changed. TODO: Only refresh the checked node.
10351 2004-12-30 Jackson Harper <jackson@ximian.com>
10353 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10354 * TreeNode.cs: When collapsing make sure to never collapse the
10357 2004-12-29 Jackson Harper <jackson@ximian.com>
10359 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10361 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10363 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10365 2004-12-28 Peter Bartok <pbartok@novell.com>
10367 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10370 2004-12-28 Peter Bartok <pbartok@novell.com>
10372 * Control.cs (WndProc): Added WM_HELP handler, now generates
10373 HelpRequested event
10374 * Form.cs: Added HelpButton property and required support code
10375 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10377 2004-12-28 Peter Bartok <pbartok@novell.com>
10380 - Made DialogForm.owner variable internal
10381 - Added check to ensure owner form is set before setting
10382 owner properties in CreateParams
10384 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10386 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10387 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10388 GetCursorPos. Fix major visibility issues. Rework the windowing
10389 system to support borderless/titleless windows (implements menus).
10390 Fix GetWindowPos. Implement initial background color support for
10393 2004-12-28 Peter Bartok <pbartok@novell.com>
10395 * Form.cs (get_CreateParams): Make sure we have an owner before using
10396 the owner variable. Implement proper default if no owner exists
10398 2004-12-28 Peter Bartok <pbartok@novell.com>
10400 * In preparation for making Managed.Windows.Forms the default build target
10401 for System.Windows.Forms, the following stubbed files were added.
10402 Dialogs are currently being implemented by contributors and are only
10403 short-term place holders.
10404 * ColorDialog.cs: Initial check-in (minmal stub)
10405 * DataGrid.cs: Initial check-in (minimal stub)
10406 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10407 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10408 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10409 * FontDialog.cs: Initial check-in (minimal stub)
10410 * FileDialog.cs: Initial check-in (minimal stub)
10411 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10412 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10413 * OpenFileDialog: Initial check-in (minimal stub)
10414 * IComponentEditorPageSite.cs: Initial check-in
10415 * Splitter.cs: Initial check-in (for Jackson)
10416 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10417 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10418 * TextBox.cs: Initial check-in; still needs some wiring to
10419 TextControl backend
10420 * Form.cs: Implemented ControlBox property
10421 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10422 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10423 * TextControl.cs: Added selection functionality; added todo header
10425 - Implemented Lines property
10426 - Implemented TextHeight property
10427 - Implemented SelectedText property
10428 - Implemented SelectionLength property
10429 - Implemented SelectAll method
10430 - Implemented ToString method
10431 - Removed and cleaned up some debug code
10432 - Implemented (still buggy) mouse text selection
10434 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10436 * ComboBox.cs: Complete DropDownList implementation, fixes.
10438 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10440 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10441 * ComboBoxStyle.cs: ComboBoxStyle enum
10442 * ComboBox.cs: Initial work on ComboBox control
10444 2004-12-21 Peter Bartok <pbartok@novell.com>
10446 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10447 forward so that anything that creates a window gets the default,
10448 also no longer uses Visible property in CreateParams to avoid
10449 walking up the parent chain and possibly get the wrong visible
10450 status. Fixed IsVisible to no longer walk up to the parent.
10452 2004-12-21 Peter Bartok <pbartok@novell.com>
10454 * Form.cs (ShowDialog): Unset modality for the proper window
10456 2004-12-20 Peter Bartok <pbartok@novell.com>
10458 * CommonDialog.cs: Initial check-in
10460 2004-12-20 Peter Bartok <pbartok@novell.com>
10462 * Control.cs (Visible): Now uses the parent window instead of the
10463 client area window for the property
10466 - ShowDialog(): Now uses the proper window for modality
10467 - The default visibility state for the form parent is now false. This
10468 will prevent the user from seeing all the changes to the form and
10469 its controls before the application hits Application.Run()
10470 - Removed some stale commented out code
10473 - Added FindWindow() method to have a method to check for existence
10475 - Added ability to override default exception handling (for example
10476 when debugging with VS.Net; to do this the ExternalExceptionHandler
10478 - Removed some useless debug output
10481 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10482 not working as expected
10483 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10484 property to allow switching back to the modal window if focus is
10485 given to another one of our windows (Application Modal)
10486 - Now only sets override_redirect if we create a window
10488 - Moved EventMask selection before mapping of newly created window
10489 so we can catch the map event as well
10490 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10491 - Added various Atom related DllImports
10492 - Implemented Exit() method
10493 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10494 in the CreateParams
10496 * MessageBox.cs: Now properly deals with the FormParent window by
10497 providing an override the FormParent CreateParams property to
10498 set as POPUP instead of OVERLAPPED window.
10500 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10502 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10503 Minor code cleanup.
10505 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10507 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10509 2004-12-18 Peter Bartok <pbartok@novell.com>
10511 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10512 implementing SetModal() method
10514 2004-12-18 Peter Bartok <pbartok@novell.com>
10516 * X11Structs.cs (XGCValues): Fixed type of function element
10517 * XplatUI.cs: Added ScrollWindow() method
10518 * XplatUIDriver.cs: Added ScrollWindow() abstract
10519 * XplatUIWin32.cs: Implemented ScrollWindow() method
10520 * XplatUIX11.cs: Implemented ScrollWindow() method
10521 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10523 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10525 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10526 Some more keyboard support (INCOMPLETE)
10528 2004-12-17 Peter Bartok <pbartok@novell.com>
10531 - Added color attribute to line tags.
10532 - Added color argument to all functions dealing with tags
10533 - Added color argument support to various functions
10534 - Fixed miss-calculation of baseline/shift in certain circumstances
10536 * TextBoxBase.cs: Added new color option to test code
10538 2004-12-17 Jackson Harper <jackson@ximian.com>
10541 * MonthCalendar.cs: Signature fixes
10543 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10545 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10546 keyboard event moved it. Create a new graphics context for each paint resolves this
10548 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10550 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10551 Make caret exist and go blink blink. Initial keyboard support.
10552 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10555 2004-12-17 Jackson Harper <jackson@ximian.com>
10557 * XplatUIStructs.cs: Updated set of virtual keycodes.
10558 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10560 2004-12-17 Jackson Harper <jackson@ximian.com>
10562 * XplatUIX11.cs: Prune old keyboard code.
10564 2004-12-17 Jackson Harper <jackson@ximian.com>
10566 * XplatUIX11.cs: When generating mouse wparams get the modifier
10567 keys from the ModifierKeys property.
10569 2004-12-17 Jackson Harper <jackson@ximian.com>
10571 * X11Keyboard.cs: Send up/down input when generating
10572 messages. Remove some unused vars.
10574 2004-12-17 Jackson Harper <jackson@ximian.com>
10577 * TreeView.cs: get rid of warnings.
10579 2004-12-17 Jackson Harper <jackson@ximian.com>
10581 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10583 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10585 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10586 CheckedListBox.cs: Implementation
10588 2004-12-17 Peter Bartok <pbartok@novell.com>
10590 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10592 2004-12-16 Peter Bartok <pbartok@novell.com>
10595 - InsertCharAtCaret(): Fixed start pos fixup
10596 - CaretLine_get: No longer derives the line from the tag, the tag
10597 could be stale if lines in the document have been added or deleted
10598 - RebalanceAfterDelete(): Fixed bug in balancing code
10599 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10600 - Line.Streamline(): Now can also elminate leading empty tags
10601 - DumpTree(): Added a few more tests and prevented exception on
10603 - Added Debug section for Combining lines
10604 - Delete(): Now copies all remaining properties of a line
10607 - Left mousebutton now sets the caret (and middle button still acts
10608 as formatting tester, which must go away soon)
10609 - Added Debug section for Deleting/Combining lines
10610 - Fixed calculations for UpdateView after Combining lines
10612 2004-12-16 Peter Bartok <pbartok@novell.com>
10614 * TextControl.cs: Now properly aligns text on a baseline, using the
10615 new XplatUI.GetFontMetrics() method. Simplified several calculations
10616 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10619 2004-12-16 Peter Bartok <pbartok@novell.com>
10621 * XplatUI.cs: Added GetFontMetrics() method
10622 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10623 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10624 into libgdiplus, our private GetFontMetrics function
10625 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10626 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10628 2004-12-16 Jackson Harper <jackson@ximain.com>
10630 * XplatUIStruct.cs: Add enum for dead keys
10631 * X11Keyboard.cs: Map and unmap dead keys.
10633 2004-12-16 Jackson Harper <jackson@ximian.com>
10635 * X11Keyboard.cs: Detect and use the num lock mask.
10637 2004-12-16 Peter Bartok <pbartok@novell.com>
10639 * Control.cs (CreateGraphics): Added check to make sure the
10640 handle of the window exists before calling Graphics.FromHwnd()
10642 2004-12-16 Peter Bartok <pbartok@novell.com>
10644 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10645 contains a lot of code that's not supposed to be there for the
10646 real thing, but required for developing/testing the textbox
10649 2004-12-16 Peter Bartok <pbartok@novell.com>
10652 - Fixed Streamline method
10653 - Added FindTag method to Line
10654 - Added DumpTree method for debugging
10655 - Added DecrementLines() method for deleting lines
10656 - Fixed UpdateView to update the cursor to end-of-line on single-line
10658 - Added PositionCaret() method
10659 - Fixed MoveCaret(LineDown) to move into the last line, too
10660 - Added InsertChar overload
10661 - Fixed InsertChar tag offset calculations
10662 - Added DeleteChar() method
10663 - Added Combine() method for folding lines
10664 - Fixed Delete() method, no longer allocates wasted Line object and
10665 now copies all properties when swapping nodes
10666 - Delete() method now updates document line counter
10668 2004-12-15 Jackson Harper <jackson@ximian.com>
10670 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10671 * X11Keyboard.cs: Expose the currently selected modifier keys
10672 through a property.
10674 2004-12-15 Peter Bartok <pbartok@novell.com>
10676 * TextControl.cs: Initial check-in. Still incomplete
10678 2004-12-15 Jackson Harper <jackson@ximian.com>
10681 * TreeView.cs: Fix build on csc (second time today ;-))
10683 2004-12-15 Jackson Harper <jackson@ximian.com>
10685 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10686 is calculated and use this for click testing.
10687 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10689 2004-12-15 Jackson Harper <jackson@ximian.com>
10691 * TreeView.cs: Pass the nodes image index to the image list when
10692 drawing that image.
10694 2004-12-15 Jackson Harper <jackson@ximian.com>
10696 * X11Keyboard.cs: Set messages hwnd.
10697 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10698 post_message calls.
10700 2004-12-15 Jackson Harper <jackson@ximian.com>
10702 * X11Keyboard.cs: Fix to compile with csc.
10704 2004-12-15 Jackson Harper <jackson@ximian.com>
10706 * X11Structs.cs: Add key mask values
10707 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10708 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10709 down/up foo into WM_CHAR foo
10710 * KeyboardLayouts.cs: Common keyboard layouts
10711 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10712 post messages into the main queue.
10714 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10716 * Button.cs: implement ProcessMnemonic
10717 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10719 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10720 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10722 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10724 * MonthCalendar.cs: Implemented click-hold for next/previous month
10727 2004-12-11 Peter Bartok <pbartok@novell.com>
10730 - Added XKeyboardState (moved from XplatUIX11.cs)
10731 - Added XCreateGC related enums and structures
10732 - Added GXFunction for XSetFunction
10734 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10736 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10737 CaretVisible() calls
10739 * ToolTip.cs: Added code to prevent stealing focus from app windows
10741 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10742 DestroyCaret, SetCaretPos and CaretVisible)
10745 - Added implementation for caret functions
10746 - Moved hover variables into a struct, to make it a bit easier
10747 on the eyes and to debug
10748 - Removed XKeyboardState (moved to XplatUIX11.cs)
10749 - Moved Keyboard properties into the properties region
10751 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10752 call to get a graphics context for our control
10754 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10756 * TreeView.cs: Fixed bug. No matter what color was set it would always
10757 return SystemColors.Window
10759 * XplatUIWin32.cs: Implemented caret overrides
10761 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10763 * ListBox.cs: fire events, implement missing methods and properties,
10766 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10768 * MonthCalendar.cs: invalidation bug fixing
10769 * ThemeWin32Classic.cs: paint fixing
10771 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10773 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10774 prepare the CGContextRef there now.
10776 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10778 * MonthCalendar.cs:
10779 - optimisationL only invalidate areas that have changed
10780 * ThemeWin32Classic.cs:
10781 - only paint parts that intersect with clip_area
10783 2004-12-09 Peter Bartok <pbartok@novell.com>
10785 * Application.cs: Undid changes from r37004 which cause problems
10788 2004-12-09 Ravindra <rkumar@novell.com>
10790 * ToolBar.cs: Added support for displaying ContextMenu
10791 attached to a button on ToolBar.
10792 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10795 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10797 * Label.cs: autosize works in text change and removes unnecessary
10800 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10802 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10805 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10807 * XplatUIOSX.cs: Added mouse move/click/grab support
10808 Remove some debugging WriteLines not needed anymore.
10809 Add window resizing/positioning.
10810 Fix visibility on reparenting.
10812 2004-12-08 Peter Bartok <pbartok@novell.com>
10814 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10816 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10818 * XplatUIOSX.cs: Initial checkin
10819 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10821 2004-12-03 Ravindra <rkumar@novell.com>
10823 * ListView.cs: Added some keybindings and fixed scrolling.
10824 ScrollBars listen to ValueChanged event instead of Scroll
10825 Event. This would let us take care of all changes being
10826 done in the scrollbars' values programmatically or manually.
10827 * ListView.cs (CanMultiselect): Added a check for shift key.
10828 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10829 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10830 of ListViewSubItemCollection as well.
10832 2004-12-06 Peter Bartok <pbartok@novell.com>
10834 * Control.cs (Parent): Added check and exception to prevent
10837 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10839 * ListBox.cs: implemented clipping, selection single and multiple,
10842 2004-12-03 Ravindra <rkumar@novell.com>
10844 * ListView.cs (ListView_KeyDown):
10845 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10846 when CTRL key is pressed.
10847 * ListViewItem.cs (Selected): Fixed setting the property.
10849 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10851 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10853 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10854 MinimizeBox, ShowInTaskbar, TopMost properties.
10856 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10857 will be implemented).
10859 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10861 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10863 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10866 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10868 * TreeView.cs: BackColor is Colors.Window.
10870 2004-12-01 Jackson Harper <jackson@ximian.com>
10872 * TreeView.cs: When resizing the tree if the user is making it
10873 smaller we don't get expose events, so we need to handle adding
10874 the horizontal scrollbar in the size changed handler as well as
10875 the expose handler.
10877 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10879 * DrawItemState.cs: fixes wrong enum values
10881 2004-12-01 Jackson Harper <jackson@ximian.com>
10883 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10885 2004-12-01 Jackson Harper <jackson@ximian.com>
10887 * NodeLabelEditEventArgs.cs:
10888 * NodeLabelEditEventHandler.cs:
10889 * OpenTreeNodeEnumerator.cs:
10891 * TreeNodeCollection.cs:
10893 * TreeViewAction.cs:
10894 * TreeViewCancelEventArgs.cs:
10895 * TreeViewCancelEventHandler.cs:
10896 * TreeViewEventArgs.cs:
10897 * TreeViewEventHandler.cs: Initial implementation.
10899 2004-12-01 Ravindra <rkumar@novell.com>
10901 * ListView.cs (CalculateListView): Fixed scrolling related
10902 calculations. Also, removed some debug statements from other
10904 * ListViewItem.cs: Changed access to 'selected' instance variable
10905 from private to internal.
10906 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10908 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10910 * ThemeWin32Classic.cs: remove cache of brush and pens for
10911 specific controls and use the global system, fixes scrollbutton
10912 bugs (for small sizes, disabled, etc)
10914 * ScrollBar.cs: does not show the thumb for very small controls
10915 (as MS) and allow smaller buttons that the regular size
10917 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10919 * UpDownBase.cs: Add abstract methods for the interface.
10920 Add new virtual methods (need to be hooked up to TextEntry when it
10922 Add override methods for most features.
10923 Computes the size, forces the height of the text entry.
10925 * NumericUpDown.cs: Put here the current testing code.
10927 * Set eol-style property on all files that do not have mixed line
10928 endings, to minimize the future problems. There are still a few
10929 files with mixed endings, and someone should choose whether they
10930 want to move it or not.
10932 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10934 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10937 2004-11-30 Ravindra <rkumar@novell.com>
10939 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10940 drawing and replaced use of SystemColors by theme colors.
10941 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10942 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10943 same ListViewItem is being added more than once.
10945 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10947 * MonthCalendar.cs:
10948 - ControlStyles love to make the control not flicker
10950 2004-11-30 Peter Bartok <pbartok@novell.com>
10952 * CharacterCasing.cs: Added
10954 2004-11-29 Peter Bartok <pbartok@novell.com>
10956 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10957 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10958 I am removing these files as they conflict with already completed
10959 work. While it is fantastic to get contributions to MWF, I
10960 respectfully ask that everyone please coordinate their contributions
10961 through mono-winforms-list or #mono-winforms at this time. We're
10962 explicitly avoiding stubbing and don't want controls that don't have
10963 their basic functionality implemented in svn. Please also see
10964 http://www.mono-project.com/contributing/winforms.html
10967 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10969 * Application.cs (ModalRun): Don't hang after exit.
10971 * Theme.cs: New TreeViewDefaultSize property.
10973 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10974 with less hardcoded SystemColors constant.
10975 Implemented TreeViewDefaultSize.
10977 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10978 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10981 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10983 * MonthCalendar.cs:
10984 - Fix NextMonthDate and PrevMonthDate click moving calendar
10986 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10988 * MonthCalendar.cs:
10989 - Fix usage of ScrollChange Property when scrolling months
10991 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10993 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
10994 - Fixes menu destroying
10995 - Support adding and removing items on already created menus
10997 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10999 * MonthCalendar.cs:
11000 - Re-worked all bolded dates handling to match win32
11001 * ThemeWin32Classic.cs:
11002 - Fixed rendering with bolded dates
11004 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11006 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11007 - Horizontal scroolbar
11012 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11014 * MonthCalendar.cs:
11015 - Fix Usage of MaxSelectionCount from SelectionRange
11016 - Fixed Shift + Cursor Selection
11017 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11018 - Fixed normal cursor selection to be compat with win32
11019 - Fixed Shift + Mouse Click selection
11021 2004-11-24 Peter Bartok <pbartok@novell.com>
11023 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11024 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11026 - CreatedKeyBoardMsg now updates keystate with Alt key
11027 - Added workaround for timer crash to CheckTimers, Jackson will
11028 develop a proper fix and check in later
11029 - Implemented DispatchMessage
11030 - Removed calling the native window proc from GetMessage (call
11031 now moved to DispatchMessage)
11033 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11034 the keydata (Fixes bug #69831)
11037 - (DispatchMessage): Switched to return IntPtr
11038 - Added DllImport for SetFocus
11040 2004-11-24 Ravindra <rkumar@novell.com>
11042 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11043 background drawing.
11044 * ListViewItem.cs: Fixed various properties, calculations
11045 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11046 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11047 and some internal properties. Fixed MouseDown handler and Paint
11050 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11052 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11054 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11056 * ContainerControl.cs: correct accidental check in of local changes
11058 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11060 * ThemeWin32Classic.cs:
11061 - Fixed Drawing Last month in grid (sometimes not showing)
11062 * MonthCalendar.cs:
11063 - Fixed title width calculation bug (makeing title small)
11065 2004-11-23 Peter Bartok <pbartok@novell.com>
11068 - Added generation of WM_MOUSEHOVER event
11069 - Added missing assignment of async_method atom
11070 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11072 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11074 * ThemeWin32Classic.cs:
11075 - Fixed Drawing of today circle when showtodaycircle not set
11076 - fixed drawing of first and last month in the grid (gay dates)
11077 * MonthCalendar.cs:
11078 - Fixed Drawing of today circle
11079 - Fixed drawing of grady dates
11080 - Fixed HitTest for today link when ShowToday set to false
11081 - Fixed DefaultSize to obey ShowToday
11083 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11085 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11086 * System.Windows.Forms/Theme.cs
11087 * MonthCalendar.cs: added for MonthCalendar
11088 * SelectionRange.cs: added for MonthCalendar
11089 * Day.cs: added for MonthCalendar: added for MonthCalendar
11090 * DateRangeEventArgs.cs: added for MonthCalendar
11091 * DateRangeEventHandler.cs: added for MonthCalendar
11093 2004-11-22 Ravindra <rkumar@novell.com>
11095 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11098 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11100 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11103 * NumericUpDown.cs: Added new implementation.
11104 * UpDownBase.cs: Added new implementation.
11106 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11109 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11112 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11115 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11117 * Timer.cs (Dispose): Should call the base dispose when
11120 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11122 * ScrollBar.cs: updates thumb position when max, min or increment
11125 2004-11-21 Ravindra <rkumar@novell.com>
11127 * ListView.cs: Implemented item selection, activation and
11128 column header style. Fixed properties to do a redraw, if
11129 required. Added support for MouseHover, DoubleClick, KeyDown
11130 and KeyUp event handling and some minor fixes.
11131 * ListViewItem.cs: Fixed constructor.
11132 * ThemeWin32Classic.cs: Improved drawing for ListView.
11134 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11136 * ThemeWin32Classic.cs: initial listbox drawing code
11137 * DrawMode.cs: new enumerator
11138 * ListControl.cs: stubbed class
11139 * ListBox.cs: initial implementation
11140 * Theme.cs: new methods definitions
11141 * SelectionMode.cs: new enumerator
11143 2004-11-17 Peter Bartok <pbartok@novell.com>
11145 * XplatUIWin32.cs: Added double-click events to the class style
11146 * Control.cs (WndProc):
11147 - Added handling of click-count to MouseDown/ MouseUp events.
11148 - Added handling of middle and right mouse buttons
11149 - Removed old debug code
11151 2004-11-17 Jackson Harper <jackson@ximian.com>
11153 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11155 2004-11-17 Ravindra <rkumar@novell.com>
11157 * ListView.cs: Added event handling for MouseMove/Up/Down.
11158 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11159 * ThemeWin32Classic.cs: We need to clear the graphics context and
11160 draw column header in a proper state.
11163 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11165 * Menu.cs: fixes signature
11167 2004-11-16 Peter Bartok <pbartok@novell.com>
11169 * XplatUIX11.cs (GetMessage): Implemented generation of
11170 double click mouse messages
11172 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11174 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11177 2004-11-11 Peter Bartok <pbartok@novell.com>
11179 * HandleData.cs: Added Visible property
11180 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11182 * XplatUIX11.cs: Removed old debug leftovers
11183 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11184 * Control.cs (WndProc): Removed old debug leftovers,
11185 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11186 needed WM_SIZE handling
11188 2004-11-11 Jackson Harper <jackson@ximian.com>
11190 * OwnerDrawPropertyBag.cs:
11191 * TreeViewImageIndexConverter.cs: Initial implementation
11193 2004-11-10 Jackson Harper <jackson@ximian.com>
11195 * ThemeWin32Classic.cs:
11196 * TabControl.cs: instead of moving tabs by the slider pos just
11197 start drawing at the tab that is offset by the slider. This way
11198 scrolling always moves by exactly one tab.
11200 2004-11-10 Jackson Harper <jackson@ximian.com>
11202 * TabControl.cs: You can only scroll left when the slider has
11203 already ben moved right.
11205 2004-11-10 Jackson Harper <jackson@ximian.com>
11207 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11210 2004-11-10 Jackson Harper <jackson@ximian.com>
11212 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11215 2004-11-09 Jackson Harper <jackson@ximian.com>
11217 * TabControl.cs (CalcXPos): New helper method so we can determine
11218 the proper place to start drawing vertical tabs.
11219 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11221 2004-11-09 Jackson Harper <jackson@ximian.com>
11223 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11224 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11225 and Bottom, left and right are illegal values for this and
11226 multiline is enabled when the alignment is set to left or right.
11227 (DrawTab): Each alignment block should draw the text itself now
11228 because Left requires special love. Also add rendering for Left
11231 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11233 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11234 does not destroy the windows, removes debugging messages
11236 2004-11-09 jba <jba-mono@optusnet.com.au>
11238 * ThemeWin32Classic.cs
11239 (DrawButtonBase): Fix verticle text rect clipping in windows
11240 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11241 rendering and incorrect text rect clipping
11242 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11243 rendering and incorrect text rect clipping
11245 2004-11-08 Jackson Harper <jackson@ximian.com>
11247 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11248 bottom when they are bottom aligned so the bottoms of the tabs get
11250 * TabControl.cs (DropRow): Move rows up instead of down when the
11251 tab control is bottom aligned.
11253 2004-11-08 13:59 pbartok
11256 - Added handling for various window styles
11257 - Added handling for popup windows
11258 - Added SetTopmost handling
11260 2004-11-08 13:55 pbartok
11263 - Added argument to SetTopmost method
11264 - Fixed broken ClientToScreen function
11266 2004-11-08 13:53 pbartok
11268 * XplatUIStructs.cs:
11269 - Added missing WS_EX styles
11271 2004-11-08 13:53 pbartok
11273 * XplatUI.cs, XplatUIDriver.cs:
11274 - Added argument to SetTopmost
11276 2004-11-08 13:52 pbartok
11279 - Added XSetWindowAttributes structure
11280 - Improved XWindowAttributes structure
11281 - Added SetWindowValuemask enum
11282 - Added window creation arguments enum
11283 - Added gravity enum
11284 - Added Motif hints structure
11285 - Added various Motif flags and enums
11286 - Added PropertyMode enum for property functions
11288 2004-11-08 13:50 pbartok
11291 - Fixed arguments for updated SetTopmost method
11293 2004-11-08 13:49 pbartok
11296 - Fixed arguments for updated SetTopmost function
11297 - Fixed usage of PointToClient
11299 2004-11-08 13:44 pbartok
11302 - Added Clipping of children and siblings
11304 2004-11-08 13:41 pbartok
11307 - Removed SetMenuBarWindow call. We do this in Form.cs
11309 2004-11-08 13:40 jackson
11311 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11312 scrolling jimmi in the correct location with bottom aligned tabs
11314 2004-11-08 13:36 pbartok
11316 * ContainerControl.cs:
11317 - Implemented BindingContext
11318 - Implemented ParentForm
11320 2004-11-08 12:46 jackson
11322 * TabControl.cs: Put bottom rendered tabs in the right location
11324 2004-11-08 07:15 jordi
11326 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11329 2004-11-05 17:30 jackson
11331 * TabControl.cs: When selected tabs are expanded make sure they
11332 don't go beyond the edges of the tab control
11334 2004-11-05 14:57 jackson
11336 * TabControl.cs: Reset show_slider so if the control is resized to
11337 a size where it is no longer needed it's not displayed anymore
11339 2004-11-05 13:16 jackson
11341 * TabControl.cs: Make tab pages non visible when added to the
11344 2004-11-05 12:42 jackson
11346 * TabControl.cs: Implement SizeMode.FillToRight
11348 2004-11-05 12:16 jackson
11350 * Control.cs: Do not call CreateHandle if the handle is already
11353 2004-11-05 11:46 jackson
11355 * TabControl.cs: Remove superflous call to CalcTabRows
11357 2004-11-05 09:07 jackson
11359 * XplatUIX11.cs: Update for Mono.Posix changes
11361 2004-11-05 07:00 ravindra
11363 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11366 2004-11-04 22:47 jba
11368 * ThemeWin32Classic.cs:
11369 - Fix Button rendering for FlatStyle = Flat or Popup
11370 - Fix RadioButton and CheckBox rendering when Appearance = Button
11371 (normal and flatstyle).
11372 - Correct outer rectangle color when drawing focus rectangle
11373 - Adjust button bounds to be 1 px smaller when focused
11374 - Make button not draw sunken 3d border when pushed (windows compat)
11375 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11376 - Offset the text in RadioButton and Checkbox when being rendered as
11378 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11380 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11381 - Fixed disabled text rendering for normally rendered radiobuttons
11383 2004-11-04 10:26 jackson
11385 * TabControl.cs: Recalculate tab rows when resizing
11387 2004-11-04 07:47 jordi
11389 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11390 collection completion, drawing issues, missing features
11392 2004-11-04 05:03 ravindra
11395 - We need to recalculate the Thumb area when
11396 LargeChange/maximum/minimum values are changed.
11397 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11398 than minimum. This is required to handle the case if large_change is
11399 more than max, and use LargeChange property instead of large_change
11401 - We return max+1 when large_change is more than max, like MS does.
11403 2004-11-04 04:29 ravindra
11405 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11406 - Changed default value signatures (prefixed all with ListView).
11407 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11409 - Fixed calculations for ListViewItem and implemented Clone()
11412 2004-11-04 04:26 ravindra
11414 * Theme.cs, ThemeWin32Classic.cs:
11415 - Changed default ListView values signatures (prefixed all with
11417 - Fixed default size values for VScrollBar and HScrollBar.
11418 - Fixed DrawListViewItem method.
11420 2004-11-04 04:05 ravindra
11422 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11424 2004-11-04 04:04 ravindra
11426 * ImageList.cs: Implemented the missing overload for Draw method.
11428 2004-11-03 19:29 jackson
11430 * TabControl.cs: Handle dropping rows on selection properly
11432 2004-11-03 11:59 jackson
11434 * TabControl.cs: remove debug code
11436 2004-11-03 11:52 jackson
11438 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11439 the scrolly widgerywoo
11441 2004-11-02 13:52 jackson
11443 * TabControl.cs: Resize the tab pages and tabs when the tab control
11446 2004-11-02 13:40 jackson
11448 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11449 selected tab to the bottom
11451 2004-11-02 13:39 jackson
11453 * TabPage.cs: Store the tab pages row
11455 2004-11-02 12:33 jordi
11457 * MenuItem.cs: fixes handle creation
11459 2004-11-02 11:42 jackson
11461 * TabControl.cs: signature fix
11463 2004-11-02 08:56 jackson
11465 * TabControl.cs: Calculate whether the tab is on an edge properly.
11466 Remove top secret debugging code
11468 2004-11-01 19:57 jackson
11470 * TabControl.cs: Add click handling, and proper sizing
11472 2004-11-01 19:47 jackson
11474 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11477 2004-11-01 19:39 jackson
11479 * TabPage.cs: add internal property to store the bounds of a tab
11482 2004-10-30 04:23 ravindra
11484 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11487 2004-10-30 04:21 ravindra
11489 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11490 fixed calculations.
11492 2004-10-30 03:06 pbartok
11495 - Removed extension of DllImported libs
11497 2004-10-29 09:55 jordi
11499 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11500 navigation, itemcollection completion, menu fixes
11502 2004-10-27 22:58 pbartok
11505 - Now throws a nice error message when no X display could be opened
11507 2004-10-26 13:51 jordi
11509 * ListView.cs: removes warning
11511 2004-10-26 03:55 ravindra
11513 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11514 ThemeWin32Classic.cs: Some formatting for my last checkins.
11516 2004-10-26 03:36 ravindra
11518 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11519 control and default values.
11521 2004-10-26 03:35 ravindra
11523 * Theme.cs: Added some default values for ListView control.
11525 2004-10-26 03:33 ravindra
11527 * ToolBar.cs: ToolBar should use the user specified button size, if
11528 there is any. Added a size_specified flag for the same.
11530 2004-10-26 03:33 ravindra
11532 * ColumnHeader.cs: Added some internal members and calculations for
11535 2004-10-26 03:32 ravindra
11537 * ListViewItem.cs: Calculations for ListViewItem.
11539 2004-10-26 03:31 ravindra
11541 * ListView.cs: Added some internal members and calculations for
11544 2004-10-22 13:31 jordi
11546 * MenuAPI.cs: speedup menus drawing
11548 2004-10-22 13:16 jackson
11550 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11553 2004-10-22 11:49 jackson
11557 2004-10-22 11:41 jackson
11559 * Control.cs: Check to see if the window should have its background
11560 repainted by X when drawing.
11562 2004-10-22 11:31 jackson
11564 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11565 clear is true, this way we do not get flicker from X repainting the
11568 2004-10-22 11:28 jackson
11570 * XEventQueue.cs: Queue properly
11572 2004-10-21 09:38 jackson
11574 * XEventQueue.cs: Fix access modifier
11576 2004-10-21 09:36 jackson
11578 * XEventQueue.cs: Don't loose messages
11580 2004-10-21 09:22 jackson
11582 * XEventQueue.cs: Don't loose messages
11584 2004-10-20 04:15 jordi
11586 * BootMode.cs: enum need it by SystemInfo
11588 2004-10-19 21:58 pbartok
11591 - Small sanity check
11593 2004-10-19 21:56 pbartok
11596 - Added private FormParentWindow class which acts as the container
11597 for our form and as the non-client area where menus are drawn
11598 - Added/Moved required tie-ins to Jordi's menus
11599 - Fixed/Implemented the FormStartPosition functionality
11601 2004-10-19 21:52 pbartok
11604 - Removed unneeded locals
11605 - Added code to all size and location properties to understand and
11606 deal with the parent container of Form
11608 2004-10-19 21:33 pbartok
11611 - Fixed to deal with new Form subclasses for menus
11613 2004-10-19 17:48 jackson
11615 * XEventQueue.cs: commit correct version of file
11617 2004-10-19 16:50 jackson
11619 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11621 2004-10-19 16:15 jordi
11623 * MenuAPI.cs: MenuBarCalcSize returns the height
11625 2004-10-19 08:31 pbartok
11628 - Added missing call to PreProcessMessage before calling OnXXXKey
11631 2004-10-19 00:04 ravindra
11633 * ToolTip.cs: Fixed constructor.
11635 2004-10-18 09:31 jordi
11637 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11639 2004-10-18 09:26 jordi
11641 * MenuItem.cs: fixes MenuItem class signature
11643 2004-10-18 08:56 jordi
11645 * MenuAPI.cs: prevents windows from showing in the taskbar
11647 2004-10-18 00:28 ravindra
11649 * ToolTip.cs: Suppressed a warning message.
11651 2004-10-18 00:27 ravindra
11653 * Control.cs: Default value of visible property must be true.
11655 2004-10-17 23:19 pbartok
11658 - Complete implementation
11660 2004-10-17 23:19 pbartok
11663 - Added EnableWindow method
11664 - Added SetModal stub
11665 - Added generation of WM_ACTIVATE message (still needs testing)
11666 - Added SetTopMost stub
11667 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11669 2004-10-17 23:17 pbartok
11672 - Removed VirtualKeys to XplatUIStructs
11673 - Implemented SetTopMost method
11674 - Implemented EnableWindow method
11675 - Bugfix in ScreenToClient()
11676 - Bugfixes in ClientToScreen()
11678 2004-10-17 22:51 pbartok
11680 * XplatUIStructs.cs:
11681 - Added WS_EX styles to WindowStyles enumeration
11683 2004-10-17 22:50 pbartok
11685 * XplatUI.cs, XplatUIDriver.cs:
11686 - Added method for enabling/disabling windows
11687 - Added method for setting window modality
11688 - Added method for setting topmost window
11690 2004-10-17 22:49 pbartok
11692 * ThemeWin32Classic.cs:
11693 - Added ToolTip drawing code
11695 2004-10-17 22:49 pbartok
11698 - Added ToolTip abstracts
11700 2004-10-17 22:47 pbartok
11703 - Fixed Form.ControlCollection to handle owner relations
11704 - Added Owner/OwnedForms handling
11705 - Implemented Z-Ordering for owned forms
11706 - Removed unneeded private overload of ShowDialog
11707 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11709 - Fixed Close(), had wrong default
11710 - Added firing of OnLoad event
11711 - Added some commented out debug code for Ownership handling
11713 2004-10-17 22:16 pbartok
11716 - Fixed/implemented flat list of controls
11718 2004-10-17 22:14 pbartok
11721 - Added code to simulate modal dialogs on Win32
11723 2004-10-17 16:11 jordi
11725 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11728 2004-10-17 13:39 jordi
11730 * MenuAPI.cs: menu drawing fixes
11732 2004-10-15 09:10 ravindra
11734 * StructFormat.cs: General Enum.
11736 2004-10-15 09:09 ravindra
11738 * SizeGripStyle.cs: Enum for Form.
11740 2004-10-15 09:08 ravindra
11742 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11743 in Theme for ListView.
11745 2004-10-15 09:06 ravindra
11747 * ColumnHeader.cs: Flushing some formatting changes.
11749 2004-10-15 09:05 ravindra
11751 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11754 2004-10-15 09:03 ravindra
11756 * ListView.cs: Implemented Paint method and fixed coding style.
11758 2004-10-15 07:34 jordi
11760 * MenuAPI.cs: fix for X11
11762 2004-10-15 07:32 ravindra
11764 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11765 - Renamed Paint() method to Draw() for clarity. Also, moved
11766 DrawImage() to OnPaint().
11768 2004-10-15 07:25 ravindra
11770 * CheckBox.cs, RadioButton.cs:
11771 - Removed Redraw (), we get it from ButtonBase.
11772 - Implemented Paint (), to do class specific painting.
11774 2004-10-15 07:16 ravindra
11777 - Redraw () is not virtual now.
11778 - Added an internal virtual method Paint (), so that
11779 derived classes can do their painting on their own.
11780 - Modified OnPaint () to call Paint ().
11782 2004-10-15 06:43 jordi
11784 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11785 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11787 2004-10-15 00:30 ravindra
11790 - MessageBox on windows does not have min/max buttons.
11791 This change in CreateParams fixes this on Windows. We
11792 still need to implement this windowstyle behavior in
11795 2004-10-14 05:14 ravindra
11798 - Changed Redraw () to do a Refresh () always.
11799 - Fixed the MouseMove event handling when mouse is pressed,
11800 ie drag event handling.
11801 - Replaced the usage of ToolBarButton.Pressed property to
11802 ToolBarButton.pressed internal variable.
11804 2004-10-14 05:10 ravindra
11806 * ToolBarButton.cs:
11807 - Added an internal member 'inside' to handle mouse move
11808 with mouse pressed ie mouse drag event.
11809 - Changed 'Pressed' property to return true only when
11810 'inside' and 'pressed' are both true.
11811 - Some coding style love.
11813 2004-10-14 00:17 ravindra
11815 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11818 2004-10-14 00:15 ravindra
11820 * ButtonBase.cs: Redraw () related improvements.
11822 2004-10-14 00:14 ravindra
11824 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11825 removed unnecessary calls to Button.Show () method.
11827 2004-10-13 17:50 pbartok
11831 - Removed destroying of window until we solve the problem of X
11832 destroying the window before us on shutdown
11834 2004-10-13 16:32 pbartok
11837 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11839 2004-10-13 14:18 pbartok
11842 - Added code to destroy the X window
11844 2004-10-13 14:18 pbartok
11847 - Added code to destroy a window
11849 2004-10-13 14:12 pbartok
11852 - Added the Redraw on Resize that got dropped in the last rev
11854 2004-10-13 09:06 pbartok
11856 * ThemeWin32Classic.cs:
11857 - Path from John BouAntoun:
11858 * Fix check rendering (centre correctly for normal style, offset
11859 correctly for FlatStyle).
11860 * Fix border color usage (use backcolor) for FlatStyle.Popup
11861 * Use checkbox.Capture instead of checkbox.is_pressed when
11862 rendering flatstyle states.
11864 2004-10-12 21:48 pbartok
11866 * ThemeWin32Classic.cs:
11867 - Removed all occurences of SystemColors and replaced them with the
11868 matching theme color
11870 2004-10-12 21:41 pbartok
11872 * ThemeWin32Classic.cs:
11873 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11874 him using the function for flatstyle drawing
11875 - Changed functions to use the new version of CPDrawBorder3D
11877 2004-10-12 21:15 pbartok
11880 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11881 match MS documentation. They need to return defined colors if the
11882 passed color matches the configured control color. Thanks to John
11883 BouAntoun for pointing this out.
11885 2004-10-12 20:57 pbartok
11888 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11891 2004-10-12 20:46 pbartok
11894 - Fix from John BouAntoun: Now properly sets the Appearance property
11896 2004-10-12 20:45 pbartok
11898 * ThemeWin32Classic.cs:
11899 - Fixes from John BouAntoun: now handles forecolors and backcolors
11900 for flatstyle rendered controls much better; It also fixes normal
11901 checkbox rendering when pushed or disabled.
11903 2004-10-08 02:50 jordi
11905 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11908 2004-10-07 08:56 jordi
11910 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11912 2004-10-06 03:59 jordi
11914 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11915 XplatUIWin32.cs: removes warnings from compilation
11917 2004-10-05 12:23 jackson
11919 * RadioButton.cs: Fix ctor
11921 2004-10-05 11:10 pbartok
11924 - Partial implementation by Benjamin Dasnois
11926 2004-10-05 10:15 jackson
11928 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11931 2004-10-05 03:07 ravindra
11934 - Removed a private method, Draw ().
11935 - Fixed the ButtonDropDown event handling.
11936 - Fixed MouseMove event handling.
11938 2004-10-05 03:04 ravindra
11940 * ThemeWin32Classic.cs:
11941 - Added DrawListView method and ListViewDefaultSize property.
11942 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11943 - Changed DOS style CRLF to Unix format (dos2unix).
11945 2004-10-05 03:03 ravindra
11948 - Added DrawListView method and ListViewDefaultSize property.
11950 2004-10-05 02:42 ravindra
11952 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11953 clicks on DropDown arrow.
11955 2004-10-04 22:56 jackson
11957 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11958 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11959 Control handle the buffers, derived classes should not have to
11960 CreateBuffers themselves.
11962 2004-10-04 21:20 jackson
11964 * StatusBar.cs: The control handles resizing the buffers now.
11966 2004-10-04 21:18 jackson
11968 * Control.cs: When resizing the buffers should be invalidated. This
11969 should be handled in Control not in derived classes.
11971 2004-10-04 14:45 jackson
11975 2004-10-04 02:14 pbartok
11977 * LeftRightAlignment.cs:
11980 2004-10-04 01:09 jordi
11982 * ThemeWin32Classic.cs: fixes right button position causing right
11983 button not showing on horizontal scrollbars
11985 2004-10-02 13:12 pbartok
11988 - Simplified the Invalidate method by using an X call instead of
11989 generating the expose ourselves
11990 - Added an expose when the window background is changed
11991 - Implemented ClientToScreen method
11993 2004-10-02 13:08 pbartok
11996 - Added Win32EnableWindow method (test for implementing modal
11998 - Added ClientToScreen method and imports
12000 2004-10-02 13:07 pbartok
12002 * XplatUI.cs, XplatUIDriver.cs:
12003 - Added ClientToScreen coordinate translation method
12005 2004-10-02 13:06 pbartok
12007 * KeyPressEventArgs.cs:
12008 - Fixed access level for constructor
12010 2004-10-02 13:06 pbartok
12013 - Changed access level for the window_collection hash table
12015 2004-10-02 13:05 pbartok
12018 - Added KeyPreview property
12019 - Added Menu property (still incomplete, pending Jordi's menu work)
12020 - Implemented ProcessCmdKey
12021 - Implemented ProcessDialogKey
12022 - Implemented ProcessKeyPreview
12024 2004-10-02 13:02 pbartok
12027 - Added private method to get the Control object from the window
12029 - Implemented ContextMenu property
12030 - Implemented PointToScreen
12031 - Implemented PreProcessMessage
12032 - Implemented IsInputChar
12033 - Implemented IsInputKey
12034 - Implemented ProcessCmdKey
12035 - Completed ProcessKeyEventArgs
12036 - Fixed message loop to call the proper chain of functions on key
12038 - Implemented ProcessDialogChar
12039 - Implemented ProcessDialogKey
12040 - Implemented ProcessKeyMessage
12041 - Implemented ProcessKeyPreview
12042 - Added RaiseDragEvent stub (MS internal method)
12043 - Added RaiseKeyEvent stub (MS internal method)
12044 - Added RaiseMouseEvent stub (MS Internal method)
12045 - Added RaisePaintEvent stub (MS Internal method)
12046 - Added ResetMouseEventArgs stub (MS Internal method)
12047 - Implemented RtlTranslateAlignment
12048 - Implemented RtlTranslateContent
12049 - Implemented RtlTranslateHorizontal
12050 - Implemented RtlTranslateLeftRight
12051 - Added generation of KeyPress event
12053 2004-10-02 05:57 ravindra
12055 * ListViewItem.cs: Added attributes.
12057 2004-10-02 05:32 ravindra
12059 * ListView.cs: Added attributes.
12061 2004-10-01 11:53 jackson
12063 * Form.cs: Implement the Close method so work on MessageBox can
12066 2004-09-30 14:06 pbartok
12071 2004-09-30 11:34 jackson
12073 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12075 2004-09-30 07:26 ravindra
12077 * ListViewItemConverter.cs: Converter for ListViewItem.
12079 2004-09-30 07:26 ravindra
12081 * SortOrder.cs: Enum for ListView control.
12083 2004-09-30 07:25 ravindra
12085 * ColumnHeader.cs: Supporting class for ListView control.
12087 2004-09-30 07:24 ravindra
12089 * ListView.cs, ListViewItem.cs: Initial implementation.
12091 2004-09-30 07:20 ravindra
12093 * ItemActivation.cs: Enum for ListView Control.
12095 2004-09-29 20:29 pbartok
12098 - Added lookup of pixel value for background color; tries to get a
12099 color 'close' to the requested color, it avoids having to create a
12100 colormap. Depending on the display this could mean the used color
12101 is slightly off the desired color. Might have to change it to a more
12102 resource intensive colormap approach, but it will work as a
12103 workaround to avoid red screens.
12105 2004-09-29 14:27 jackson
12107 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12109 2004-09-28 12:44 pbartok
12111 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12112 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12113 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12114 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12115 TrackBar.cs, VScrollBar.cs:
12116 - Streamlined Theme interfaces:
12117 * Each DrawXXX method for a control now is passed the object for
12118 the control to be drawn in order to allow accessing any state the
12119 theme might require
12121 * ControlPaint methods for the theme now have a CP prefix to avoid
12122 name clashes with the Draw methods for controls
12124 * Every control now retrieves it's DefaultSize from the current
12127 2004-09-28 12:17 jackson
12129 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12132 2004-09-24 14:57 jackson
12134 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12135 Gives us a nice little performance boost.
12137 2004-09-24 12:02 jackson
12139 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12140 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12141 Control and supporting classes. Initial checkin
12143 2004-09-23 13:08 jackson
12145 * Form.cs: Temp build fixage
12147 2004-09-23 01:39 ravindra
12149 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12150 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12151 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12152 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12153 EventHandlers needed by ListView Control.
12155 2004-09-22 14:12 pbartok
12157 * ScrollableControl.cs:
12158 - Implemented DockPadding property
12159 - Implemented AutoScroll property
12160 - Implemented AutoScrollMargin property
12161 - Implemented AutoScrollMinSize property
12162 - Implemented AutoScrollPosition property
12163 - Implemented DisplayRectangle property (still incomplete)
12164 - Implemented CreateParams property
12165 - Implemented HScroll property
12166 - Implemented VScroll property
12167 - Implemented OnVisibleChanged property
12169 2004-09-22 14:09 pbartok
12172 - Added Form.ControllCollection class
12173 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12174 RemoveOwnedForm (still incomplete, missing on-top and common
12175 minimize/maximize behaviour)
12176 - Added StartPosition property (still incomplete, does not use when
12178 - Added ShowDialog() methods (still incomplete, missing forcing the
12181 2004-09-22 14:05 pbartok
12184 - Added message loop for modal dialogs
12186 2004-09-22 14:02 pbartok
12189 - Fixed wrong types for events
12191 2004-09-22 14:00 pbartok
12193 * Shortcut.cs, FormWindowState.cs:
12194 - Fixed wrong values
12196 2004-09-22 12:01 jackson
12198 * Control.cs: Text is never null
12200 2004-09-20 22:14 pbartok
12203 - Fixed accessibility level for Idle handler
12205 2004-09-20 18:54 jackson
12207 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12208 XplatUIX11.cs: New message loop that uses poll so we don't get a
12211 2004-09-17 10:43 pbartok
12214 - Fixed behaviour of arrow buttons. Now properly behaves like
12215 Buttons (and like Microsoft's scrollbar arrow buttons)
12217 2004-09-17 10:14 pbartok
12220 - Added missing release of keyboard/mouse capture
12222 2004-09-17 06:18 jordi
12224 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12225 Theme.cs: Very early menu support
12227 2004-09-16 17:45 pbartok
12230 - Fixed sending a window to the front
12231 - Added overload for SetWindowPos to avoid casting
12233 2004-09-16 17:44 pbartok
12236 - Added SendToBack and BringToFront methods
12238 2004-09-16 07:00 ravindra
12240 * Copyright: Added Novell URL.
12242 2004-09-16 07:00 ravindra
12244 * ToolBar.cs: Invalidate should be done before redrawing.
12246 2004-09-15 21:19 ravindra
12248 * ColumnHeaderStyle.cs: Enum for ListView Control.
12250 2004-09-15 21:18 ravindra
12252 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12255 2004-09-13 18:26 jackson
12257 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12260 2004-09-13 18:13 jackson
12262 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12263 a second thread and post messages into the main threads message
12264 queue. This makes timing much more consistent. Both win2K and XP
12265 have a minimum timer value of 15 milliseconds, so we now do this
12268 2004-09-13 15:18 pbartok
12270 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12272 - Added Z-Ordering methods
12274 2004-09-13 10:56 pbartok
12277 - Fixed #region names
12278 - Moved properties and methods into their proper #regions
12280 2004-09-13 10:51 pbartok
12283 - Added Accept and CancelButton properties
12284 - Added ProcessDialogKey() method
12286 2004-09-13 08:18 pbartok
12288 * IWindowTarget.cs:
12291 2004-09-10 21:50 pbartok
12294 - Added DoDragDrop() [incomplete]
12295 - Properly implemented 'Visible' handling
12296 - Added SetVisibleCore()
12297 - Implemented FindChildAtPoint()
12298 - Implemented GetContainerControl()
12299 - Implemented Hide()
12301 2004-09-10 19:28 pbartok
12304 - Moved methods into their appropriate #regions
12305 - Reordered methods within regions alphabetically
12307 2004-09-10 18:57 pbartok
12309 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12310 - Added method to retrieve text from window
12312 2004-09-10 18:56 pbartok
12315 - Moved some internal functions into the internal region
12316 - Implemented FontHeight
12317 - Implemented RenderRightToLeft
12318 - Implemented ResizeRedraw
12319 - Implemented ShowFocusCues
12320 - Implemented ShowKeyboardCues
12321 - Implemented FromChildHandle
12322 - Implemented FromHandle
12323 - Implemented IsMnemonic
12324 - Implemented ReflectMessage
12325 - All public and protected Static Methods are now complete
12327 2004-09-10 16:54 pbartok
12330 - Implemented remaining missing public instance properties
12331 - Alphabetized some out of order properties
12333 2004-09-10 05:51 ravindra
12335 * PictureBox.cs: Added a check for null image.
12337 2004-09-10 00:59 jordi
12339 * GroupBox.cs: remove cvs tag
12341 2004-09-09 05:25 ravindra
12343 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12345 2004-09-09 05:23 ravindra
12347 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12350 2004-09-09 02:28 pbartok
12352 * ThemeWin32Classic.cs:
12353 - Improve disabled string look
12355 2004-09-09 01:15 jordi
12357 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12360 2004-09-08 23:56 ravindra
12362 * ItemBoundsPortion.cs: It's enum, not a class!
12364 2004-09-08 23:47 ravindra
12366 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12369 2004-09-08 21:13 ravindra
12371 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12374 2004-09-08 21:03 ravindra
12376 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12379 2004-09-08 21:01 ravindra
12381 * ScrollableControl.cs: Removed unreachable code.
12383 2004-09-08 06:45 jordi
12385 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12387 2004-09-08 01:00 jackson
12389 * XplatUIX11.cs: Only run the timers when updating the message
12390 queue. This effectively gives X messages a higher priority then
12391 timer messages. Timers still need love though
12393 2004-09-07 14:01 jackson
12395 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12396 this for us and the handle is no longer valid.
12398 2004-09-07 13:59 jackson
12400 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12401 loop that manages to not crash. TODO: Add poll and cleanup timers
12403 2004-09-07 11:12 jordi
12405 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12407 2004-09-07 03:40 jordi
12409 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12410 fixes, methods, multiple links
12412 2004-09-06 06:55 jordi
12414 * Control.cs: Caches ClientRectangle rectangle value
12416 2004-09-05 02:03 jordi
12418 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12421 2004-09-04 11:10 jordi
12423 * Label.cs: Refresh when font changed
12425 2004-09-02 16:24 pbartok
12428 - Added sanity check to creation of double buffer bitmap
12430 2004-09-02 16:24 pbartok
12433 - Fixed selection of text color
12434 - Fixed handling of resize event; now properly recreates double
12436 - Added missing assignment of TextAlignment
12437 - Added proper default for TextAlignment
12439 2004-09-02 14:26 pbartok
12442 - Added missing RadioButton.RadioButtonAccessibleObject class
12444 2004-09-02 14:26 pbartok
12447 - Added missing Control.ControlAccessibleObject class
12448 - Started to implement Select()ion mechanisms, still very incomplete
12450 2004-09-02 14:25 pbartok
12452 * AccessibleObject.cs:
12453 - Added missing methods
12455 2004-09-02 14:23 pbartok
12457 * AccessibleNavigation.cs, AccessibleSelection.cs:
12460 2004-09-02 10:32 jordi
12462 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12463 pool for pens, brushes, and hatchbruses
12465 2004-09-01 15:30 jackson
12467 * StatusBar.cs: Fix typo
12469 2004-09-01 14:44 pbartok
12474 2004-09-01 14:39 pbartok
12476 * Button.cs, RadioButton.cs:
12477 - Functional initial check-in
12479 2004-09-01 14:01 pbartok
12482 - Added missing default
12483 - Added missing region mark
12485 2004-09-01 09:10 jordi
12487 * Label.cs: fixes method signatures, new methods, events, fixes
12490 2004-09-01 07:19 jordi
12492 * Control.cs: Init string variables with an empty object
12494 2004-09-01 04:20 jordi
12496 * Control.cs: fires OnFontChanged event
12498 2004-08-31 20:07 pbartok
12501 - Enabled display of strings
12503 2004-08-31 20:05 pbartok
12506 - Added (partial) implementation of DialogResult; rest needs to be
12507 implemented when the modal loop code is done
12509 2004-08-31 19:55 pbartok
12512 - Fixed to match the removal of the needs_redraw concept
12514 2004-08-31 19:55 pbartok
12517 - Removed the rather odd split between 'needs redraw' and redrawing
12518 - Now handles the events that require regeneration (ambient
12519 properties and size)
12521 2004-08-31 19:41 pbartok
12524 - Added firing of BackColorChanged event
12525 - Added TopLevelControl property
12526 - Fixed handling of WM_ERASEBKGRND message
12528 2004-08-31 12:49 pbartok
12534 2004-08-31 12:48 pbartok
12537 - Finished (famous last words)
12539 2004-08-31 04:35 jordi
12541 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12542 scrolling bugs, adds new methods
12544 2004-08-30 14:42 pbartok
12547 - Implemented CheckBox drawing code
12549 2004-08-30 14:42 pbartok
12552 - Made Redraw() and CheckRedraw() virtual
12553 - Improved mouse up/down/move logic to properly track buttons
12555 2004-08-30 09:44 pbartok
12558 - Updated to fix broken build. Not complete yet.
12560 2004-08-30 09:28 pbartok
12565 2004-08-30 09:17 pbartok
12570 2004-08-27 16:12 ravindra
12572 * ToolBarButton.cs: Added TypeConverter attribute.
12574 2004-08-27 16:07 ravindra
12576 * ImageIndexConverter.cs: Implemented.
12578 2004-08-27 14:17 pbartok
12581 - Removed unneeded stack vars
12582 - First attempt to fix sizing issues when layout is suspended
12584 2004-08-25 15:35 jordi
12586 * ScrollBar.cs: more fixes to scrollbar
12588 2004-08-25 14:04 ravindra
12590 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12591 Added the missing divider code and grip for ToolBar Control.
12593 2004-08-25 13:20 pbartok
12596 - Control now properly passes the ambient background color to child
12599 2004-08-25 13:20 jordi
12601 * ScrollBar.cs: small bug fix regarding bar position
12603 2004-08-25 12:33 pbartok
12606 - Now only calls SetTimer or KillTimer if the enabled state has
12609 2004-08-25 12:33 pbartok
12612 - Fixed timer handling, now seems to work
12613 - Improved error message for window creation
12615 2004-08-25 12:32 pbartok
12618 - Fixed generation of MouseUp message
12620 2004-08-25 12:29 jordi
12622 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12623 and fixes for progressbar
12625 2004-08-24 18:43 ravindra
12627 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12628 in ToolBar control.
12630 2004-08-24 17:15 pbartok
12634 - Added missing events
12637 2004-08-24 17:14 pbartok
12639 * StatusBar.cs, PictureBox.cs:
12640 - Now uses Control's CreateParams
12642 2004-08-24 16:36 pbartok
12645 - Fixed background color handling
12646 - Fixed sending of enter/leave events on a grab
12648 2004-08-24 16:35 pbartok
12651 - Refined definitions for CrossingEvent
12653 2004-08-24 12:37 jordi
12655 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12656 formmating, methods signature, and adds missing events
12658 2004-08-24 12:24 jordi
12660 * Control.cs: fire OnEnabledChanged event
12662 2004-08-24 11:17 pbartok
12665 - Implemented SetTimer() and KillTimer()
12667 2004-08-24 11:16 pbartok
12670 - Now uses Remove instead of Add to kill the timer
12672 2004-08-24 10:16 jackson
12674 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12675 picture boxes in the theme now. Draw picture box borders and obey
12678 2004-08-24 05:49 jackson
12680 * Timer.cs: Remove top secret debugging code
12682 2004-08-24 05:34 jackson
12684 * PictureBox.cs: Temp hack to make picture boxes draw their full
12687 2004-08-24 05:29 jackson
12689 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12690 XplatUIX11.cs: Move timers to the driver level. On X they are
12691 queued by the driver and checked on idle.
12693 2004-08-24 01:07 jackson
12695 * XplatUIX11.cs: Use a queue for async messages instead of passing
12696 them as ClientMessages since that was totally broken. Also simply
12697 check for events and return an idle message if none are found. This
12698 gives us an idle handler, and prevents deadlocking when no messages
12701 2004-08-23 18:19 ravindra
12703 * XplatUIWin32.cs: Removed the unwanted destructor.
12705 2004-08-23 17:27 pbartok
12708 - Finishing touches. Works now, just needs some optimizations.
12710 2004-08-23 16:53 jordi
12712 * ScrollBar.cs: small fix
12714 2004-08-23 16:45 pbartok
12717 - Removed debug output
12720 2004-08-23 16:43 jordi
12722 * ScrollBar.cs: [no log message]
12724 2004-08-23 16:10 pbartok
12727 - Fixed handling of WM_CLOSE message
12728 - Removed debug output
12730 2004-08-23 16:09 pbartok
12733 - Added handling of Idle event
12734 - Added handling of form closing
12735 - Fixed reporting of MessageLoop property
12736 - Removed some unneeded code, should provide a bit of a speedup
12738 2004-08-23 15:22 pbartok
12741 - Added InitLayout() method
12742 - Added code to properly perform layout when Anchor or Dock property
12744 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12745 LAMESPEC, tried to do it in a way that makes sense
12747 2004-08-23 14:10 jordi
12749 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12750 properties and methods
12752 2004-08-23 13:55 pbartok
12755 - Properly fixed Jordi's last fix
12756 - Now uses Cursor's Position property instead of calling XplatUI
12759 2004-08-23 13:44 jordi
12761 * PaintEventHandler.cs: Adding missing attribute
12763 2004-08-23 13:39 pbartok
12766 - Implemented Position property
12768 2004-08-23 13:39 pbartok
12770 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12771 - Added method to move mouse cursor
12773 2004-08-23 13:39 pbartok
12776 - Fixed setting of background color
12777 - Added method to move mouse cursor
12779 2004-08-23 13:16 jordi
12781 * Control.cs: avoids null exception
12783 2004-08-22 17:46 jackson
12785 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12788 2004-08-22 17:40 jackson
12790 * XplatUIX11.cs: Add some missing locks
12792 2004-08-22 15:10 pbartok
12794 * Control.cs, Form.cs:
12795 - Removed OverlappedWindow style from Control, instead it's default
12797 - Made form windows OverlappedWindow by default
12799 2004-08-22 13:34 jackson
12801 * ScrollBar.cs: Update the position through the Value property so
12802 the OnValueChanged event is raised.
12804 2004-08-22 12:04 pbartok
12807 - Added Cursor.cs and UserControl.cs
12809 2004-08-22 12:03 pbartok
12812 - Started implementation, not usable yet
12814 2004-08-22 12:00 pbartok
12817 - Implemented UserControl (complete)
12819 2004-08-21 19:20 ravindra
12821 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12823 2004-08-21 18:49 ravindra
12825 * ToolBar.cs: Probably this completes the missing attributes in
12828 2004-08-21 18:03 ravindra
12830 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12831 Fixed toolbar control signatures.
12833 2004-08-21 16:32 pbartok
12838 2004-08-21 16:30 pbartok
12843 2004-08-21 16:19 pbartok
12845 * Control.cs, Label.cs:
12848 2004-08-21 15:57 pbartok
12851 - Added loads of debug output for development
12852 - Fixed typo in method name
12854 2004-08-21 15:52 pbartok
12856 * ToolBarButtonClickEventArgs.cs:
12857 - Added missing base class
12859 2004-08-21 14:53 pbartok
12862 - Updated to match new GrabWindow signature
12864 2004-08-21 14:51 pbartok
12866 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12867 - Added method to get default display size
12869 2004-08-21 14:23 pbartok
12871 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12872 - Added method to query current grab state
12873 - Added argument to allow confining a grab to a window
12875 2004-08-21 14:22 pbartok
12878 - Added [Flags] attribute so that modifiers can be used in bitwise
12881 2004-08-21 14:21 pbartok
12883 * TrackBar.cs, ScrollBar.cs:
12884 - Replaced direct XplatUI calls with their Control counterpart
12886 2004-08-21 13:32 pbartok
12889 - Implemented Created property
12891 2004-08-21 13:28 pbartok
12894 - Implemented ContainsFocus
12896 2004-08-21 13:26 pbartok
12899 - Implemented CausesValidation
12901 2004-08-21 13:21 pbartok
12904 - Implemented CanFocus
12905 - Implemented CanSelect
12906 - Implemented Capture
12908 2004-08-21 12:35 pbartok
12911 - Fixed bug with Async message handling
12912 - Implemented getting the ModifierKeys
12914 2004-08-21 12:32 jackson
12916 * AsyncMethodResult.cs: Make sure we have the mutex before we
12917 release it. Fixes BeginInvoke on windows
12919 2004-08-21 11:31 pbartok
12921 * XplatUIWin32.cs, XplatUIX11.cs:
12922 - Drivers now return proper mouse state
12924 2004-08-21 10:54 jackson
12926 * Control.cs: Implement EndInvoke
12928 2004-08-21 10:48 jackson
12930 * Timer.cs: Remove unneeded finalizer
12932 2004-08-20 19:52 ravindra
12934 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12935 in mouse event handling in the ToolBar control.
12937 2004-08-20 19:50 ravindra
12939 * ImageList.cs: Changed draw method to use the arguments passed in
12942 2004-08-20 18:58 pbartok
12944 * XplatUIStructs.cs:
12945 - Added private message for async communication
12947 2004-08-20 17:38 ravindra
12949 * Control.cs: Made RightToLeft property virtual and removed a
12952 2004-08-20 14:39 jordi
12954 * ThemeGtk.cs: use style_attach
12956 2004-08-20 14:39 pbartok
12959 - Added jackson's Async code from X11 to Win32
12961 2004-08-20 14:09 pbartok
12964 - Added all new files
12966 2004-08-20 14:09 pbartok
12969 - Added call to set window background color
12971 2004-08-20 14:03 pbartok
12973 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12974 - Added method for setting the window background
12976 2004-08-20 14:02 pbartok
12979 - Added method for setting the background color
12980 - Added handling for erasing the window background
12982 2004-08-20 13:45 jordi
12984 * TrackBar.cs: fixes timer, new properties and methods
12986 2004-08-20 13:34 jackson
12988 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12991 2004-08-20 13:22 jackson
12993 * Timer.cs: Timer Tick events are now handed through Controls Async
12994 mechanism so the callbacks are executed in the same thread as X
12996 2004-08-20 13:19 jackson
12998 * XplatUIDriver.cs: Expose functionality to send async messages
13001 2004-08-20 13:18 jackson
13003 * Control.cs: Implement Begininvoke
13005 2004-08-20 13:14 jackson
13007 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13008 messages through the driver
13010 2004-08-20 13:12 jackson
13012 * XplatUIX11.cs: Lock before all X operations. Also added Async
13013 method functionality through XSendEvent
13015 2004-08-20 13:11 jackson
13017 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13018 This will screw up on 64 bit systems)
13020 2004-08-20 13:10 jackson
13022 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13023 Async messages through X/Win32
13025 2004-08-19 19:39 pbartok
13028 - Updated code to match new HandleData.DeviceContext type
13030 2004-08-19 19:38 pbartok
13033 - Made DeviceContext a generic object to allow usage from various
13035 - Added support for queueing Windows messages
13037 2004-08-19 19:37 pbartok
13040 - Added generation of MouseEnter, MouseLeave and MouseHover events
13041 - Added cleanup on EndPaint
13043 2004-08-19 19:17 pbartok
13046 - Added handling of WM_MOUSEHOVER
13047 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13050 2004-08-19 18:55 jordi
13052 * ThemeGtk.cs: fixes button order
13054 2004-08-19 18:12 jordi
13056 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13058 2004-08-19 17:09 pbartok
13061 - Added Right property
13062 - Added RightToLeft property
13064 2004-08-19 16:27 jordi
13066 * ThemeGtk.cs: experimental GTK theme support
13068 2004-08-19 16:26 jordi
13070 * ITheme.cs, Theme.cs: move themes from an interface to a class
13072 2004-08-19 16:25 jordi
13074 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13077 2004-08-19 16:04 pbartok
13080 - Added colormap basics
13081 - Added a way to re-initialize with a different display handle
13082 - Fixed setting of the window background color
13083 - Added various X11 imports related to colors and colormaps
13085 2004-08-19 15:51 pbartok
13088 - Removed packing hints (Paolo suggested this a while back)
13089 - fixed colormap type
13090 - Added default Atom types
13091 - Added Screen and color structs and enums
13093 2004-08-19 15:39 pbartok
13096 - Added missing Draw() method
13097 - Added missing RecreateHandle event
13099 2004-08-19 15:30 pbartok
13102 - Added handling of WM_CLOSE
13104 2004-08-18 13:16 jordi
13106 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13109 2004-08-18 09:56 jordi
13111 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13113 2004-08-17 15:31 ravindra
13115 * SWF.csproj: Updated project.
13117 2004-08-17 15:25 pbartok
13120 - Drawing improvement; don't call UpdateBounds if we are not visible
13121 (or have been minimized)
13123 2004-08-17 15:24 pbartok
13126 - Finished IsVisible
13127 - Added Win32GetWindowPlacement
13129 2004-08-17 15:08 jackson
13131 * Panel.cs: Initial checkin of the Panel
13133 2004-08-17 14:25 pbartok
13136 - Fixed broken handling of default window sizes
13138 2004-08-17 13:29 jackson
13140 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13141 has a large startup time.
13143 2004-08-17 10:25 jackson
13145 * HandleData.cs: union areas properly
13147 2004-08-17 10:12 jackson
13149 * HandleData.cs: union areas properly
13151 2004-08-16 20:00 ravindra
13153 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13155 2004-08-16 18:48 ravindra
13157 * ToolBar.cs: Added attributes.
13159 2004-08-16 17:17 ravindra
13161 * SWF.csproj: Updated project.
13163 2004-08-16 17:16 jackson
13165 * XplatUIX11.cs: Check for more expose events before sending a
13166 WM_PAINT so they can all be grouped together. This makes dragging a
13167 window across another window redraw in a sane way.
13169 2004-08-16 15:47 pbartok
13172 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13173 support OnMouseEnter/Leave()
13174 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13177 2004-08-16 15:46 pbartok
13179 * XplatUIStructs.cs, XplatUIX11.cs:
13180 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13181 OnMouseEnter/Leave()
13183 2004-08-16 15:34 jackson
13185 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13186 sure messages get the message field set to WM_NULL if they are not
13189 2004-08-16 15:24 jackson
13191 * HandleData.cs: HandleData is used for storing message information
13194 2004-08-15 17:23 ravindra
13196 * ColorDepth.cs: Added attribute.
13198 2004-08-15 17:23 ravindra
13200 * SWF.csproj: Updated project for ToolBar Control.
13202 2004-08-15 17:20 ravindra
13204 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13205 control and also dos2unix format.
13207 2004-08-15 17:13 ravindra
13209 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13210 ToolBarButtonClickEventArgs.cs,
13211 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13212 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13214 2004-08-15 15:31 pbartok
13217 - First (mostly) working version
13219 2004-08-13 16:15 pbartok
13222 - Fixed Anchor default
13224 2004-08-13 15:43 pbartok
13227 - Changed GetCursorPos signature
13229 2004-08-13 15:42 pbartok
13231 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13232 - Changed signature for GetCursorPos
13234 2004-08-13 15:25 pbartok
13238 - Fixed resizing/exposure handling
13240 2004-08-13 15:22 jordi
13242 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13245 2004-08-13 14:55 jordi
13247 * TrackBar.cs: change from wndproc to events
13249 2004-08-13 13:00 jordi
13251 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13252 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13254 2004-08-13 12:53 pbartok
13257 - Changed GetWindowPos to also provide client area size
13258 - Fixed broken prototypes for several win32 functions
13260 2004-08-13 12:53 pbartok
13262 * XplatUI.cs, XplatUIDriver.cs:
13263 - Changed GetWindowPos to also provide client area size
13265 2004-08-13 12:52 pbartok
13268 - Added generation of WM_POSCHANGED
13269 - Changed GetWindowPos to also provide client area size
13271 2004-08-13 12:52 pbartok
13274 - Added Dispose() and destructor
13275 - Fixed resizing and bounds calculation
13277 - Added memory savings for invisible windows
13279 2004-08-13 12:46 jordi
13281 * TrackBar.cs: adds timer and grap window
13283 2004-08-13 10:25 jackson
13285 * Timer.cs: SWF Timer
13287 2004-08-12 16:59 pbartok
13289 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13290 - Implemented method to get current mouse position
13292 2004-08-12 14:29 jordi
13294 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13295 enhancement, fix mouse problems, highli thumb, etc
13297 2004-08-12 13:31 pbartok
13300 - Fixed Anchoring bugs
13302 2004-08-12 13:01 jackson
13304 * StatusBar.cs: Don't forget things
13306 2004-08-12 12:54 jackson
13308 * ThemeWin32Classic.cs: Handle owner draw status bars
13310 2004-08-12 12:54 jackson
13312 * StatusBar.cs: Implement missing properties, events, and methods.
13313 Handle mouse clicking
13315 2004-08-12 10:19 jackson
13317 * StatusBarPanelClickEventArgs.cs,
13318 StatusBarPanelClickEventHandler.cs: Classes for handling status
13319 bar panel click events
13321 2004-08-12 10:10 jackson
13323 * Control.cs: Add missing properties
13325 2004-08-12 09:46 pbartok
13327 * BindingsManagerBase.cs:
13328 - Name changed to BindingManagerBase.cs
13330 2004-08-12 09:25 jordi
13332 * ScrollableControl.cs: calls ctrlbase instead of exeception
13334 2004-08-11 16:28 pbartok
13336 * InputLanguageChangingEventArgs.cs:
13337 - Never check in before compiling. Fixes the last check-in
13339 2004-08-11 16:26 pbartok
13341 * InputLanguageChangingEventArgs.cs:
13342 - More signature fixes
13344 2004-08-11 16:20 pbartok
13346 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13347 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13348 ImageListStreamer.cs, InputLanguage.cs,
13349 InputLanguageChangedEventArgs.cs,
13350 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13351 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13352 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13353 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13356 2004-08-11 16:16 pbartok
13360 - Added .Net 1.1 method
13362 2004-08-11 15:25 pbartok
13365 - Fixed BindingManagerBase.cs filename
13367 2004-08-11 15:22 pbartok
13369 * BindingManagerBase.cs:
13370 - Was checked in with wrong filename
13372 2004-08-11 14:50 pbartok
13377 2004-08-11 13:41 jordi
13379 * XplatUIWin32.cs: Fixes ClientRect
13381 2004-08-11 13:19 pbartok
13383 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13385 - We had SetWindowPos and MoveWindow to set window positions and
13386 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13387 keep SetWindowPos as matching counterpart
13388 - Added some X11 sanity checking
13390 2004-08-11 12:59 pbartok
13393 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13394 (It seems that SetBounds is just a front for SetBoundsCore and
13395 SetBoundsCore updates the underlying window system and
13396 UpdateBounds is responsible for updating the variables associated
13397 with the Control and sending the events)
13398 - Major cleanup of Size handling; we now have two sizes, client_size
13399 and bounds. Bounds defines the window with decorations, client_size
13402 2004-08-11 12:55 pbartok
13404 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13405 - Added method to calculate difference between decorated window and
13408 2004-08-11 12:54 pbartok
13411 - Forcing redraw on resize
13413 2004-08-11 11:43 pbartok
13416 - Removed disposing of the actual images when the list is disposed
13418 2004-08-11 09:13 pbartok
13421 - Now properly reparents windows
13423 2004-08-11 08:37 pbartok
13428 2004-08-11 07:47 pbartok
13431 - Rewrote the collection stuff. Might not be as fast now, not
13432 keeping the number of children around and accessible directly, but
13433 it's more straightforward
13435 2004-08-11 07:44 pbartok
13437 * AccessibleObject.cs:
13438 - Fixed to match ControlCollection rewrite
13440 2004-08-11 07:43 pbartok
13443 - Added missing creation of the collection list
13445 2004-08-10 20:08 jackson
13447 * StatusBar.cs: Get the paint message from WndProc
13449 2004-08-10 19:31 jackson
13451 * ThemeWin32Classic.cs: Create Brushes as little as possible
13453 2004-08-10 19:20 jackson
13455 * UICues.cs: Add Flags attribute
13457 2004-08-10 19:19 jackson
13459 * StatusBarPanel.cs: Signature cleanup
13461 2004-08-10 19:10 jackson
13463 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13464 Initial implementation of status bar item drawing
13466 2004-08-10 17:27 jordi
13468 * TrackBar.cs: add missing methods, properties, and restructure to
13471 2004-08-10 16:24 jackson
13473 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13474 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13477 2004-08-10 13:21 jordi
13479 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13480 enhancements and standarize on win colors defaults
13482 2004-08-10 12:52 jackson
13484 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13485 ThemeWin32Classic.cs: Implement DrawItem functionality
13487 2004-08-10 12:47 jordi
13489 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13491 2004-08-10 12:32 jordi
13493 * Control.cs: throw ontextchange event
13495 2004-08-10 11:43 pbartok
13498 - Added more to the still unfinished Dock/Anchor layout code
13500 2004-08-10 11:39 pbartok
13502 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13503 - Added GetWindowPos method
13505 2004-08-10 11:36 pbartok
13508 - Implemented several methods
13510 2004-08-10 09:47 jackson
13512 * TrackBar.cs: Allow control to handle buffering
13514 2004-08-10 09:41 jackson
13516 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13518 2004-08-10 09:24 jackson
13520 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13522 2004-08-10 09:09 jackson
13524 * StatusBar.cs: Let Control handle all the buffering.
13526 2004-08-10 09:08 jackson
13528 * Control.cs: Control will now handle the buffering code, so each
13529 control does not have to implement this.
13531 2004-08-10 08:34 jackson
13533 * XplatUIDriver.cs: Use default colors from the theme
13535 2004-08-09 17:12 pbartok
13538 - Fixed several bugs Ravindra pointed out
13540 2004-08-09 16:11 pbartok
13543 - Added incomplete dock layout code
13544 - Added support for mouse wheel
13546 2004-08-09 16:09 pbartok
13549 - Added handling for middle and right mousebutton
13550 - Added handling for mouse wheel
13551 - Added handling for key state and mouse state and position
13552 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13555 2004-08-09 15:40 jackson
13557 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13558 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13561 2004-08-09 15:37 jackson
13563 * StatusBar.cs: Initial implementation of StatusBar
13565 2004-08-09 15:36 jackson
13567 * ITheme.cs: Add support for drawing status bar and getting status
13570 2004-08-09 15:35 pbartok
13575 2004-08-09 15:34 jackson
13577 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13578 status bar item sizes
13580 2004-08-09 15:21 jackson
13582 * ThemeWin32Classic.cs: Use known colors for default control
13585 2004-08-09 15:12 jackson
13587 * ThemeWin32Classic.cs: Make the default font static, it is static
13588 in control so this doesn't change functionality and creating fonts
13591 2004-08-09 14:56 pbartok
13594 - Added GrabMode enum
13596 2004-08-09 14:55 pbartok
13598 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13599 - Removed Run method, was only required for initial development
13601 2004-08-09 14:51 pbartok
13603 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13604 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13607 2004-08-09 13:48 pbartok
13610 - Fixed default sizing for child windows
13612 2004-08-09 12:56 pbartok
13615 - Added generation of WM_DESTROY message
13616 - Added handling of window manager induced shutdown
13618 2004-08-09 11:31 jackson
13620 * ThemeWin32Classic.cs: New names for control properties
13622 2004-08-09 11:25 jackson
13624 * Control.cs: Use new color names
13626 2004-08-09 11:02 jackson
13628 * XplatUI.cs: Get default window properties from the theme
13630 2004-08-09 11:01 jackson
13632 * ITheme.cs: The theme engine now controls default window
13635 2004-08-09 11:00 jackson
13637 * ThemeWin32Classic.cs: Add default window color properties
13639 2004-08-09 10:17 jackson
13641 * ThemeWin32Classic.cs: Use correct default back color
13643 2004-08-09 10:05 jackson
13645 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13648 2004-08-09 09:56 jackson
13650 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13652 2004-08-09 09:54 jackson
13654 * Control.cs: Get default properties from the theme.
13656 2004-08-09 09:53 jackson
13658 * ITheme.cs: Themes now handle default control properties
13660 2004-08-09 09:53 jackson
13662 * ThemeWin32Classic.cs: Themes now handle default control
13663 properties so coloring will be consistent
13665 2004-08-08 16:54 jordi
13667 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13669 2004-08-08 15:08 jordi
13671 * XplatUIX11.cs: fixes keyboard crash
13673 2004-08-08 13:47 jordi
13675 * Label.cs: add cvs header info
13677 2004-08-08 12:09 jackson
13679 * ThemeWin32Classic.cs: Add pen_buttonface
13681 2004-08-08 11:52 jordi
13683 * Label.cs, LinkLabel.cs: [no log message]
13685 2004-08-08 11:34 jordi
13687 * ThemeWin32Classic.cs: Use Windows Standard Colours
13689 2004-08-07 17:32 jordi
13691 * TrackBar.cs: throw exceptions of invalid enums values
13693 2004-08-07 17:31 jordi
13695 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13698 2004-08-07 16:56 jackson
13700 * HorizontalAlignment.cs: Initial checkin
13702 2004-08-07 13:16 jordi
13704 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13707 2004-08-07 13:05 jordi
13709 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13710 GetSysColor defines
13712 2004-08-06 18:01 pbartok
13714 * ThemeWin32Classic.cs:
13715 - Fixed some rounding issues with float/int
13717 2004-08-06 18:00 jackson
13719 * DockStyle.cs, AnchorStyles.cs:
13721 Add flags and serializable attributes.
13723 2004-08-06 17:46 pbartok
13726 - Implemented GetParent
13728 2004-08-06 17:18 pbartok
13731 - Fixed some rounding issues with float/int
13733 2004-08-06 17:17 pbartok
13735 * X11Structs.cs, XplatUIX11.cs:
13736 - Fixed Refresh and Invalidate
13738 2004-08-06 15:30 pbartok
13740 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13741 - Fixed recursive loop when resizing
13742 - Improved/fixed redrawing on expose messages
13744 2004-08-06 09:53 jordi
13746 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13747 keyboard navigation
13749 2004-08-06 08:02 pbartok
13751 * X11Structs.cs, XplatUIX11.cs:
13752 - Fixed reparenting
13753 - Fixed window border creation
13755 2004-08-05 15:38 pbartok
13758 - Attempted fix for reparenting problems
13760 2004-08-04 15:14 pbartok
13763 - Fixed Invalidation bug (calculated wrong client area)
13764 - Added ClientSize setter
13766 2004-08-04 15:13 pbartok
13769 - Added AutoScale properties
13771 2004-08-04 15:13 pbartok
13774 - Added latest files
13776 2004-08-04 14:11 pbartok
13778 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13780 - Added Invalidate handling
13782 2004-08-03 17:09 jordi
13784 * XplatUIDriver.cs: fixes spelling mistake
13786 2004-07-27 09:53 jordi
13788 * TrackBar.cs: fixes trackbar events, def classname, methods
13791 2004-07-27 09:29 jordi
13793 * ScrollBar.cs: fixes scrollbar events
13795 2004-07-27 04:38 jordi
13797 * Control.cs: changes to be able to run winforms samples
13799 2004-07-26 11:42 jordi
13801 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13802 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13804 2004-07-26 05:41 jordi
13806 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13807 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13810 2004-07-22 09:22 jordi
13812 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13813 check link overlapping, implement events, and fixes
13815 2004-07-21 10:28 jordi
13817 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13819 2004-07-21 10:19 jordi
13821 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13822 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13823 LinkLabelLinkClickedEventArgs.cs,
13824 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13825 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13828 2004-07-19 13:09 jordi
13830 * Control.cs, Label.cs: label control re-written: added missing
13831 functionlity, events, and properties
13833 2004-07-19 10:49 jordi
13835 * Control.cs: fixes SetBounds logic
13837 2004-07-19 01:29 jordi
13839 * Control.cs: Call RefreshWindow only if the window has created
13841 2004-07-15 14:05 pbartok
13843 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13844 - Implemented ImageList and ImageList.ImageCollection classes
13845 - Added ColorDepth enumeration
13846 - Updated SWF VS.Net project
13848 2004-07-15 11:06 jordi
13850 * XplatUIStructs.cs: added MsgButons enum
13852 2004-07-15 11:03 jordi
13854 * Control.cs: added basic mouse handeling events
13856 2004-07-15 03:38 jordi
13858 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13859 Vertical TrackBar control implementation
13861 2004-07-13 09:33 jordi
13863 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13865 2004-07-13 09:31 jordi
13867 * Control.cs, Form.cs: commit: new properties and fixes form size
13870 2004-07-09 14:13 miguel
13872 * ProgressBar.cs: Spelling
13874 2004-07-09 11:25 pbartok
13877 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13880 2004-07-09 11:17 miguel
13882 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13884 * ProgressBar.cs: Fixed spelling for `block'
13886 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13889 Avoid using the += on rect.X, that exposed a bug in the compiler.
13891 2004-07-08 23:21 pbartok
13893 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13894 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13895 BaseCollection.cs, Binding.cs, BindingContext.cs,
13896 BindingMemberInfo.cs, BindingsCollection.cs,
13897 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13898 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13899 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13900 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13901 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13902 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13903 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13904 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13905 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13906 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13907 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13908 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13909 InputLanguageChangedEventArgs.cs,
13910 InputLanguageChangedEventHandler.cs,
13911 InputLanguageChangingEventArgs.cs,
13912 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13913 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13914 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13915 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13916 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13917 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13918 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13919 QueryAccessibilityHelpEventArgs.cs,
13920 QueryAccessibilityHelpEventHandler.cs,
13921 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13922 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13923 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13924 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13925 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13926 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13927 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13928 XplatUIX11.cs, lang.cs: