1 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
3 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
4 than WM_SYSKEY, don't throw if get something unexpected (#78507)
6 2006-05-26 Jackson Harper <jackson@ximian.com>
9 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
10 values, it's faster and it's all we care about (we don't care if
11 the names aren't equal).
12 * KeyboardLayouts.cs: Eliminate some dead code.
14 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
16 * XplatUIX11.cs: Once again, attempting to get layout just right.
18 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
20 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
21 the sizes of each link section, that will result in sizes that
22 match DrawString's layout (Fixes #78391)
24 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
26 * FileDialog.cs: If AddExtension property is true autocomplete the
27 extensions in SaveFileDialog correctly. Fixes bug #78453.
28 Set MyNetwork and MyComputer to "C:\" for windows. This should
29 fix part 8 of bug #78446 for now.
31 2006-05-26 Chris Toshok <toshok@ximian.com>
33 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
34 invalidate the current row header if we need to, but presumably
35 we'll invalidate the row corrsponding to the bounds or
37 (GridHScrolled): switch back to this method, as it's part of the
39 (GridVScrolled): same.
40 (OnMouseWheel): hack up something that more or less works. Call
41 GridHScrolled/GridVScrolled directly, instead of duplicating much
43 (EnsureCellVisibility): reinstate a bunch of this code, since we
44 can't just set the scrollbar Value and expect to do all the work
45 in the ValueChanged handler. Also, Call Update() after scrolling
46 in one direction so the other XplatX11.ScrollWindow call has the
47 proper stuff in the proper places.
48 (EditCell): set is_editing to true before calling .Edit.
50 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
51 don't bother comparing first.
52 (OnKeyPress): call grid.ColumnStartedEditing before calling
53 base.OnKeyPress. this will set is_changing and invalidate the row
55 (ProcessKeyMessage): for WM_CHAR messages, call
56 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
59 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
60 it's done in the DataGrid.
61 (NextState): call grid.ColumnStartedEditing, which takes care of
62 invalidating the row header (and setting is_changing).
64 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
65 here. it's done in the DataGrid.
67 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
69 * Control.cs: allow changing the cursor when the mouse position is
70 out of bounds but Capture is set.
71 * LinkLabel.cs: handle the case when the mouse button is pressed on the
72 linklabel but released somewhere else.
74 2006-05-25 Jackson Harper <jackson@ximian.com>
76 * TreeView.cs: When we get focus if there is no selected node make
78 - Remove some uneeded setup code from Draw.
79 * TreeNodeCollection.cs: If the tree doesn't have a top node when
80 a new node is inserted make the new node the top.
82 * Timer.cs: Use Utc time so that no local time zone stuff needs to
83 be used (should be faster).
85 2006-05-25 Chris Toshok <toshok@ximian.com>
87 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
88 problem with the last commit.
90 2006-05-25 Chris Toshok <toshok@ximian.com>
92 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
93 need the invalidate call here, while scrolling right-to-left via
94 the left arrow key (i.e. moving the editing cell while scrolling).
96 * DataGrid.cs (.ctor): remove the initialization of
97 ctrl_pressed/shift_pressed. We no longer track them using key
98 up/down handlers, but by using Control.ModifierKeys. Also, switch
99 to using ValueChanged handlers on the scrollbars instead of
100 Scrolled event handlers. This simplifies a bunch of the scrolling
102 (GridHValueChanged): rename from GridHScrolled, and change it to
103 work with the new event args.
104 (GridVValueChanged): same.
105 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
106 (OnMouseWheel): actually scroll the datagrid. Don't change the
108 (ProcessGridKey): correct all the keyboard navigation stuff I
109 could find. Ctrl up/down/left/right/home/end work now.
110 (EnsureCellVisibility): correct method name spelling. Also,
111 simplify this a touch by not explicitly calling the
112 ScrollToRow/ScrollToColumnInPixels methods. We just set the
114 (OnKeyUpDG): no need for this method now.
116 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
118 * LinkLabel.cs: display the OverrideCursor when hovering the label.
121 2006-05-25 Chris Toshok <toshok@ximian.com>
123 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
126 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
128 * Application.cs: Moved setting of is_modal and closing to before
129 we create the control, to allow the event handlers called as a
130 result of creation affect closing. Also removed Gonzalo's previous
131 change to setting DialogResult, the behaviour has been moved to
134 - ShowDialog(): Removed explicit creation of the form, let RunLoop
136 - ShowDialog(): If no dialog result is set, we need to return Cancel
137 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
138 the close is cancelled
140 2006-05-25 Jackson Harper <jackson@ximian.com>
142 * StatusBar.cs: We only need to update the sizes of the other
143 panels when we have auto size contents. Also we are only updating
144 the contents of the panel, not the borders, so compensate for the
145 border width (TODO: get this width from the theme somehow).
146 * TreeView.cs: Scrollable is true by default
147 - Use invalidate instead of refresh where needed
148 - Factor the scrollable value into scrollbar updating
149 - Update the scrollbars if the Scrollable property is altered
150 - Update the selected node if its ImageIndex is changed
151 - Handle null nodes in UpdateNode (mainly so we don't have to
152 check if selected is null when updating it
153 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
154 are factored into the visible count
155 - Use VisibleCount for clarity in the code
156 - When the font is changed we need to recurse through all the
157 nodes and invalidate their sizes
159 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161 * Application.cs: set the DialogResult to fixed when the main form is
162 hidden or destroyed while being modal.
164 2006-05-25 Miguel de Icaza <miguel@novell.com>
166 * Theme.cs: Use Tangoified messagebox icons.
168 (GetSizedResourceImage): Also cope with width = 0 and do not
169 trigger a warning in that case (0 means "give me your icon from
170 the resouce, no special size needed).
172 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
174 * Application.cs: Leave runloop if the the main modal form is
175 hidden (fixes #78484)
177 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
179 * BindingContext.cs : reject null datasource in Contains() and
181 * CurrencyManager.cs : check data_member validity when data_source
182 is dataset. When it is late binding, the initial position is -1.
184 2006-05-24 Jackson Harper <jackson@ximian.com>
186 * TreeNodeCollection.cs: Dont't recalculate the visible order on
187 inserted nodes that aren't visible. This changes the
188 max_visible_order which confuses scrollbar settings.
189 - Use the enumerator to get the prev node instead of duplicating
191 * TreeView.cs: Use new method for setting scrollbar values
192 - Don't set the bounds every time the scrollbar is updated
193 - When updating below the root node use an invalidate instead of a
194 refresh to prevent the child controls (scrollbars) from being
195 refreshed. (UpdateBelow still needs to be reworked anyways).
196 - Reenable SetBottom now that visible orders are set correctly,
197 added some debug code incase we ever get bad values there again.
198 - Set the scrollbar max to 2 less then the max value, this
199 compensates for the max value being one above the node count, and
200 for scrollbars adding one extra "notch".
201 - When drawing image nodes if there is an imagelist we draw the
202 first image in the list if the supplied image index is out of the
205 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
207 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
208 we receive a size change from the WM (Fixes #78503)
210 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
212 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
213 rectangle (Fixes #78501)
215 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
218 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
220 - Fixed MouseMove to no longer switch pressed state unless the left
221 mouse button is pressed. Atsushi provided the original patch (#78485)
223 2006-05-24 Jackson Harper <jackson@ximian.com>
225 * ScrollBar.cs: New internal methods that allow us to change a
226 couple values on the scrollbar (the most common case is maximum
227 and large change) without getting multiple invalidates.
229 2006-05-24 Chris Toshok <toshok@ximian.com>
231 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
232 (Edit): save off the original state in oldState, and set
233 grid.is_editing to true.
234 (OnKeyDown): abort editing if escape is pressed. also, call
235 NextState if space is pressed.
236 (OnMouseDown): call NextState.
237 (NextState): factor out shared code from OnKeyDown and OnMouseDown
238 here. Also, only invalidate the row header once (on the initial
239 is_changing switch) to save on redraws.
241 2006-05-24 Chris Toshok <toshok@ximian.com>
243 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
244 if the value in the cell is different than it was before. This
245 keeps us from triggering a layout when we move around a datarid
246 with a highlighted cell.
247 (Edit): suspend layout when creating/positining the text box, and
248 resume passing false so we don't ever actually re-layout.
249 (ReleaseHostedControl): same.
250 (EnsureTextBox): reformat slightly, and set WordWrap to false.
252 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
253 control-key sequences should go to the datagrid - remove that
254 lock. Also, modify the conditions under which we move between
255 cells when moving the cursor within a cell, and remove the "this"
256 and "base" from field accesses. We weren't even consistent, given
257 they all were in the base class.
259 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
261 * Binding.cs : (.ctor)
262 An obvious NRE fix for BindingTest.CtorNullTest().
264 2006-05-23 Chris Toshok <toshok@ximian.com>
266 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
267 them between lines. This fixes some quirks editing cells in the
270 2006-05-23 Jackson Harper <jackson@ximian.com>
272 * TreeView.cs: Use begin/end update when doing expand/collapse all
273 so that we don't get flicker on the scrollbar.
275 2006-05-23 Jackson Harper <jackson@ximian.com>
277 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
278 treenode calculations to be independant of the painting code. To
279 do this nodes track a visible order which is calculated by the
281 - Call new methods for expanding/collapsing nodes. These methods
282 use scrollwindow so we don't have to update everything below the
284 * TreeView.cs: Refactored drawing and scrolling code. We don't
285 need to update nodes when drawing anymore or calculate scrollbar
287 - Added new methods for expanding/collapsing nodes. These methods
288 use ScrollWindow so as to not have to redraw all the nodes below.
289 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
290 we add/remove nodes or sort.
291 - Handle removing the selected and the top node properly.
293 2006-05-23 Chris Toshok <toshok@ximian.com>
295 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
296 maybe this should actually happen in the datagrid code?
297 (EndEdit): no need to invalidate anything, given that
298 ReleaseHostedControl causes the datagrid to relayout, which
299 invalidates everything anyway.
301 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
303 (set_SelectionBackColor): call InvalidateSelection instead of
305 (set_SelectionForeColor): same.
306 (BeginEdit): Flesh this out a bit.
307 (CancelEditing): only do any of this if we're editing/adding.
309 (OnMouseDown): there's no need to cancel editing here, it's done
311 (SetCurrentCell): only invalidate the current row header if it's a
312 different row than the new one.
313 (ShiftSelection): fix this to work like MS does.
314 (ResetSelection): factor out the invalidation of selected_rows to
316 (SetDataSource): cancel any editing that's going on.
318 * DataGridColumnStyle.cs
319 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
320 call the non-interface version.
322 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
323 header rectangle with the clip rectangle so we don't redraw the
324 entire header for just a small area. Gets rid of the last flicker
325 when horizontally scrolling.
326 (DataGridPaintRow): same.
328 2006-05-23 Mike Kestner <mkestner@novell.com>
330 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
331 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
332 poorly placed checkbox on the MS control. Fixes Alex's unfiled
335 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
337 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
338 and this fixes #78493
340 2006-05-23 Miguel de Icaza <miguel@novell.com>
342 * Theme.cs (GetSizedResourceImage): Scale images if the proper
345 * FileDialog.cs: Do not change the background for the side bar as
346 it wont work nicely with the theme, and also reduces the artifacts
347 in rendering the icons (which I want to fix too).
349 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
350 resources, not resgen resources.
352 (PlatformDefaultHandler): Pull images using the new API.
354 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
356 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
357 a reference to the hwnd and will not remove it unless there are
358 no pending exposures (fixes #78341)
359 * XplatUI.cs: Improved debug
361 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
363 * MenuAPI.cs : don't handle OnClick event when it was not the left
364 button. Fixed bug #78487.
366 2006-05-23 Mike Kestner <mkestner@novell.com>
368 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
369 prefer submenus to the top menu for item lookup, to avoid popping down
372 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
374 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
375 Graphics.FillRectangle as the visual results are really bad (even
376 on win). We now draw perfect arrows (and perfect shadows when the
377 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
378 Pen.DashPattern to draw the dots of each line.
380 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
382 * FileDialog.cs: Update the filename combobox when navigating through
383 the ListView with the cursor keys. Fixes part 7 of bug #78446.
385 2006-05-22 Mike Kestner <mkestner@novell.com>
387 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
390 2006-05-22 Mike Kestner <mkestner@novell.com>
392 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
393 requests. Fix a misspelled parameter and a copy paste exception error
396 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
398 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
399 to get the same width/height (5/13) on X11 as the default font has on
400 win32. This means that our DefaultFont emSize is smaller than the
401 the MS SWF equivalent (even thought the width/height stays the same)
403 2006-05-20 Jackson Harper <jackson@ximian.com>
406 * MdiWindowManager.cs:
407 * InternalWindowManager.cs: Make sure to use the border width from
410 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
412 * PrintDialog.cs: Implements printer details
414 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
416 * FileDialog.cs: Added focus handling for PopupButtonPanel.
417 Fixes part 1 and 2 of bug #78446
419 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
421 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
422 instead of sticking to the first ever calculated value
424 2006-05-19 Mike Kestner <mkestner@novell.com>
426 * ComboBox.cs: fix mouse motion selection to use MousePosition and
427 PointToClient, since Capture is set. Fixes #78344.
429 2006-05-19 Mike Kestner <mkestner@novell.com>
431 * ListView.cs: match MS behavior in Details view where items are not
432 drawn if Columns.Count == 0.
433 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
434 Use a separate pen to draw the check, since changing the width affects
435 the box as well. Fixes #78454.
437 2006-05-18 Miguel de Icaza <miguel@novell.com>
439 * ListView.cs: ArgumentOutOfRangeException, single versions of the
440 exception should throw the name of the invalid argument.
442 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
443 there are no files listed.
445 2006-05-18 Jackson Harper <jackson@ximian.com>
447 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
450 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
452 * Control.cs: Brought back our old UpdateZOrder method as a private
453 function and switched our calls from UpdateZOrder to the new one.
454 This fixes the Paint.Net canvas disappearing bug.
456 2006-05-18 Jackson Harper <jackson@ximian.com>
459 * ThemeWin32Classic.cs:
460 * InternalWindowManager.cs: Move the drawing into the theme,
461 expose everything the theme should need from the window manager.
463 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
465 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
466 from the call to NativeWindow to avoid walking up the parent chain
467 further than needed (speeds up setting cursors and avoids setting
468 the wrong cursor if a parent has another cursor defined)
469 * Cursor.cs: When loading an icon as cursor, MS uses the center of
470 the icon as hotspot, not what's contained as hotspot in the icon
471 file. This fixes the perceived drawing offset seen with Paint.Net
473 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
476 - Store the calculated rectangle in Hwnd object and use it when
477 setting the client size
478 - Force Toolwindows to always be type Dock, to ensure they're on top
480 2006-05-18 Mike Kestner <mkestner@novell.com>
482 * ComboBox.cs: first pass at ComboBox rework. Layout is more
483 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
484 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
485 Substantial refactoring to remove confusing nested classes. Coding
486 standard and Get+Set->property refactorings. Shift to index based
487 highlighting in ComboListBox instead of constantly using IndexOf and
488 Items[]. Add invalidations on resize for DropDownList to fix ugliness
489 in FileDialog growth. Draw borders manually since Simple mode needs
490 to look like two independent controls. Make listbox border
491 conditional to DropDownStyle. Improved OwnerDraw support.
493 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
495 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
496 Don't set the disposed graphics to null, so we can throw the "right"
497 exception if the graphics is reused later (added a flag to avoid
498 double disposing). Some behaviours are different under 2.0 and are
499 filled under bug #78448.
501 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
503 * Control.cs: When double-buffering is enabled, we need to reset
504 our graphics context between paint calls. Otherwise, any
505 transformations and other alterations on the context will
506 become cumulative (#77734)
508 2006-05-18 Mike Kestner <mkestner@novell.com>
510 * ListView.cs: do focused item selection like MS on clicks.
511 Rework focus handling for ItemControl so LostFocus invalidates as
513 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
514 the ListView ItemControl has focus.
516 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
518 * XplatUIX11.cs: If client_window ends up being width or height zero
519 due to border settings, move it off window inside whole_window (#78433)
521 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
523 * Mime.cs: Shrink the mime file cache correctly.
525 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
527 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
529 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
531 * XplatUIX11.cs (AddExpose): More sanity checks
533 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
536 - AddExpose: Don't add expose ranges outside the size of our
538 - Cast opacity values to Int32 to avoid crashes with certain
540 - Added disabled code paths that protect against illegal cross-
541 thread painting (Developers.exe)
543 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
545 * ProgressBar.cs: Invalidate the control when it's resized
546 since block size is based on control size. (#78388)
548 2006-05-16 Miguel de Icaza <miguel@novell.com>
550 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
551 of setting the incoming argument to the "reset" value, we set the
552 this.datamember to string.empty (before we were invalidating the
557 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
559 * Form.cs: Only apply transparency settings after the form
560 is created. (Fixes #77800)
562 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
564 * ApplicationContext.cs: Grab the HandleDestroyed event so
565 we know when to fire OnMainFormClosed
567 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
569 * Application.cs: Introduced sub-class to allow tracking of
570 threads and centralized triggering of the event mess for
571 ThreadExit, AppExit, etc.. (#76156)
573 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
576 - Do not return a null icon index value for a mime subclass.
577 Instead try the main mime type class too.
578 - Seems that some newer distributions don't have a link to some
579 gnome default icons anymore. So check the default gnome dir too.
582 2006-05-16 Jackson Harper <jackson@ximian.com>
584 * MdiClient.cs: Don't paint the parent background image if we have
585 our own background image.
587 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
590 - PerformLayout: Do not shrink space filled by DockStyle.Fill
591 controls, all filled controls are supposed to overlap (#78080)
592 - UpdateZOrder is supposed to update the control's z-order in the
593 parent's z-order chain. Fixed to behave like that
594 - BringToFront: Removed obsolete code
595 - SendToBack: Simplyfied
596 - SetChildIndex: Trigger layout calculations when Z-order changes
597 since layout is done by z-order
599 2006-05-16 Chris Toshok <toshok@ximian.com>
602 * DataGrid.cs (set_AlternatingBackColor): use
603 grid_drawing.InvalidateCells instead of Refresh().
604 (set_BackColor): call grid_drawing.InvalidateCells.
605 (set_BackgroundColor): use Invalidate instead of Refresh.
607 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
608 invalidate the cell area.
610 2006-05-15 Chris Toshok <toshok@ximian.com>
613 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
614 on to DataGridPaintRow.
615 (DataGridPaintRow): take a clip argument, and only draw the cells
616 which intersect it. same with the not_usedarea.
618 * Theme.cs (DataGridPaintRow) add @clip parameter.
620 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
621 XplatUI.ScrollWindow.
624 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
625 with last column which was causing a gray swath to appear with the
626 XplatUI.ScrollWindow code.
628 2006-05-15 Chris Toshok <toshok@ximian.com>
630 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
631 use XplatUI.ScrollWindow.
632 (VerticalScrollEvent): use XplatUI.ScrollWindow.
634 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
636 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
638 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
640 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
641 file since there are no equivalent X11 cursors
643 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
645 * MonthCalendar.cs : DateTimePicker should reflect selected date
646 on mouse*up*, not mouse*down*. Fixed originally reported part of
649 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
651 * TabControl.cs : When argument index is equal or more than tab
652 count, just ignore. Fixed bug #78395.
654 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
656 * Control.cs: Dispose all child controls when control is diposed (#78394)
658 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
660 * ColorDialog.cs: Finally it is possible to select the color with
663 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
665 * PrintDialog.cs: Fix typo
667 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
669 * PrintDialog.cs: PrintDialog is not resizable
670 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
671 color. Made some ToolBar drawing methods protected virtual.
673 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
675 * PrintDialog.cs: Implementation of the PrintDialog
677 2006-05-12 Chris Toshok <toshok@ximian.com>
679 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
680 thumb, instead use MoveThumb. This has the side effect of making
681 most of the other thumb moving machinery use MoveThumb as well.
682 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
683 need to actually invalidate the rectangle where the new thumb will
685 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
686 We force an Update() after, so it's not as fast as it could be,
687 but at least there's zero flicker and no droppings.
688 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
689 (UpdateThumbPos): add another argument (dirty), which says whether
690 or not to calculate/add dirty regions which we later invalidate.
691 For cases where we know we're going to use MoveThumb, we pass
692 false for this. Otherwise, pass true.
694 2006-05-12 Jackson Harper <jackson@ximian.com>
696 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
699 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
701 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
702 and GetClipRegion methods and UserClipWontExposeParent property.
703 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
704 overriding UserClipWontExposeParent property, setting to false, since
705 Win32 handles the required expose messages to draw our clipped parent
707 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
708 PaintEventStart to set the user clip region if set.
710 - Now internally tracking the Region for the control since we need to
711 store it if the handle is not yet created and only set it when it
712 becomes created. Before setting the region forced handle creation
713 - Added code to draw the parents underneath a user-clipped region
714 * Hwnd.cs: Added UserClip property
716 2006-05-12 Chris Toshok <toshok@ximian.com>
718 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
721 (set_SmallChange): same.
722 (OnMouseUpSB): remove the call to refresh when releasing the
723 thumb. We shouldn't need it.
725 2006-05-12 Miguel de Icaza <miguel@novell.com>
727 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
728 AutoSize set to None, we do not need to relayout everything, we
729 just need to invalidate the current region.
731 (Draw): Do not draw the entire ClientArea, just redraw the
732 clip area being passed.
734 * MdiClient.cs: Make MdiClient constructor with the Form argument
737 2006-05-12 Jackson Harper <jackson@ximian.com>
739 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
740 parents background image, but strangely not their own.
741 - (DrawStatusBarPanel): Take into account horizontal alignment
742 when drawing the strings and icons.
744 2006-05-12 Mike Kestner <mkestner@novell.com>
746 * ListBox.cs: avoid invalidations for focus when the collection is
749 2006-05-12 Chris Toshok <toshok@ximian.com>
751 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
752 invalidate the entire thumb area. Call InvalidateDirty which
753 limits the redraw to the thumb itself and surrounding pixels.
755 * XplatUIX11.cs (ScrollWindow): optimize copying.
757 2006-05-12 Chris Toshok <toshok@ximian.com>
759 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
760 Figure out the positioning/layout in a single pass instead of
761 multiple recursive invocations. Speeds up the initial display of
762 the data grid. Also, make many things private that were
763 originally public but unused outside this class.
765 2006-05-11 Jackson Harper <jackson@ximian.com>
767 * MdiClient.cs: Improved layout code.
769 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
771 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
774 2006-05-11 Chris Toshok <toshok@ximian.com>
776 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
777 union of that will always be {0,0,width,height}.
779 2006-05-11 Jackson Harper <jackson@ximian.com>
781 * Form.cs: Match MS's DefaultSize for forms (they must have
782 changed the size in sp2).
784 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
786 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
788 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
790 * TextControl.cs : Fixed bug #78109. This incorrect position
791 comparison caused crash on automatic line split.
792 * TextBoxBase.cs : reduce duplicate code.
794 2006-05-10 Jackson Harper <jackson@ximian.com>
796 * MdiClient.cs: Active form is only sent to the back when using
797 the Next form functionality, when a form is clicked the current
798 active shouldn't be sent to the back.
799 - Layout the mdi windows when the container is first made visible.
800 * Form.cs: Give the MdiClient a ref to the containing form when we
803 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
805 * LinkLabel.cs : link_font could be uninitialized, so populate one
806 before actual use. Fixed bug #78340.
808 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
810 * XplatUIX11.cs : clipboard format native value is IntPtr.
813 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
816 - Instead of showing context menus directly we send WM_CONTEXTMENU,
817 which is passed up the parent chain by DefWndProc
818 - We now handle WM_CONTEXTMENU to display any menu, or pass it
819 to DefWndProc (#77956)
820 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
822 2006-05-10 Jackson Harper <jackson@ximian.com>
824 * MdiClient.cs: We need to remove the controls from the mdi
825 collection, when we close the window.
826 * MdiWindowManager.cs: Special handling of closing mdi windows.
827 * InternalWindowManager.cs: Make the close method virtual so the
828 mdi window manager can handle it specially.
830 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
833 - Recalculate grid when the data source has changed
834 - Matches styles provided by user from all data sources types
835 * DataGridTableStyle.cs: For columns that provided by the user set the
836 with the preferred value is there was unassigned.
837 * CurrencyManager.cs: throw OnItemChanged event
839 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
841 * PictureBox.cs: Don't animate until handle is created. Start animation
842 when handle is created.
844 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
846 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
848 * XEventQueue.cs: We don't need to provide the extra info
850 2006-05-10 Jackson Harper <jackson@ximian.com>
852 * MdiClient.cs: If the mdi clients parent form has a background
853 image set, we draw that background image for the mdi area's
856 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
858 * TextBoxBase.cs: Set IBeam cursor (#78347)
860 2006-05-10 Mike Kestner <mkestner@novell.com>
862 * ToolBar.cs: fix some text padding issues with ButtonSize
863 calculation. Update the default size to match MS documentation.
864 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
865 button size. Fixes #78296.
867 2006-05-10 Mike Kestner <mkestner@novell.com>
869 * ListBox.cs: use is_visible for scrollbar positioning in case the
870 control isn't on screen yet. Fix off by one with Right vs Width
871 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
873 2006-05-10 Jackson Harper <jackson@ximian.com>
875 * X11Dnd.cs: Drop to a control with another control on top of it.
876 * ToolBar.cs: Work on a copy of the buttons list, so that it can
877 be modified in click handlers. TODO: Look for similar problems in
880 2006-05-09 Jackson Harper <jackson@ximian.com>
882 * Form.cs: Window managers need the old window state when setting
884 * InternalWindowManager.cs: Allow the base mdi window manager to
885 handle more of the MDI only stuff (like maximize buttons).
886 * MdiWindowManager.cs: Fix some snafus in changing the window
887 state. Add all the menu functionality, for both popup and
889 * MdiClient.cs: When a new form is selected the currently
890 activated form is sent to the back, this matches MS.
891 - Implement a new method to activate the next mdi child window.
893 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
896 - Added new InternalCapture method to allow controls to prevent
897 the capture behaviour on the click handlers
898 - Switched to use InternalCapture
900 - Using InternalCapture to prevent mouse captures from being released
901 on mouse button release (Fixes #78100)
902 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
903 returns Form borders if a caption is present. (Fixes #78310)
905 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
907 * TreeNode.cs: Changed serialization .ctor to not require every field
908 to be present. (#78265)
909 * OwnerDrawPropertyBag.cs: Added serialization .ctor
911 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
913 * MimeIcon.cs: for is faster than foreach for strings.
915 2006-05-05 Mike Kestner <mkestner@novell.com>
917 * CheckedListBox.cs: update check handling code to not use selected.
918 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
919 behavior for visual feedback, motion response, shift/ctrl handling,
920 and properly deal with all 4 selection modes. Updates to bounds
921 handling logic. Add scroll wheel support. [Fixes #77842]
923 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
926 - Moved adding of Implicit controls into .ctor. That way, subsequent
927 creation of the controls will not cause them to think they are
928 toplevel windows (fixes #78200 header problem)
929 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
930 - Switched visibility setting of header control to use internal field
931 to avoid triggering handle creation
932 - Now checking if handle is created before causing a refresh when items
933 are added (This makes us now match handle creation time with MS)
934 * Splitter.cs: Removed loading of private splitter cursor, switched to
935 Cursors version now that that is loading the right ones
936 * Cursors.cs: Load proper splitter cursors from resources
937 * Cursor.cs: Added second method of loading resource cursors for the
938 VS.Net users amongst us
940 2006-05-05 Mike Kestner <mkestner@novell.com>
942 * ListView.cs: give header_control a minimum size based on the
945 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
947 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
948 window seems to do that with metacity, so set that type. (#78120)
950 2006-05-05 Mike Kestner <mkestner@novell.com>
952 * ListViewItem.cs: fix Details mode checkbox layout bug.
953 * ThemeWin32Classic.cs: draw a ListView column header for unused space
954 at the end of the header, if it exists. [Fixes for #78200]
956 2006-05-04 Jackson Harper <jackson@ximian.com>
958 * MdiClient.cs: Add a helper property to get the container form.
959 * MdiWindowManager.cs: We have to make sure to use the menu origin
960 when drawing the icons and buttons, this fixes maximized window
961 icons/buttons on win32.
962 * InternalWindowManager.cs: Reset the restore captions when a
963 window goes from Maximized to Minimized and vice versa. Move the
964 DrawMaximizedButtons into the MdiWindowManager source, tool
965 windows can't be maximized. NOTE: This could use a little
966 refactoring if time ever permits.
968 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
970 * TextBox.cs: Add MWFCategoryAttributes
971 * TextBoxBase.cs: Add MWFCategoryAttributes
972 * Form.cs: Add MWFCategoryAttributes
974 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
976 * Control.cs: Add MWFCategoryAttributes
977 * ScrollableControl.cs: Add MWFCategoryAttributes
979 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
981 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
982 Divider is true. Fix a little glitch in PropertyToolBar
985 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
988 - Dispose: Call base.Dispose, this causes the disposed event
989 to be fired (and probably other, more important stuff)
990 - SetVisibleCore: Set is_visible to true after creating the
991 window so that the window still gets created invisible (if
992 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
993 to generate a WM_ACTIVE message
994 * Form.cs: Call Dispose when we want to destroy the window, instead of
995 just destroying the handle (Dispose will do that for us)
997 - RootWindow also needs a queue, so we can properly process the
998 property change events from RootWindow (like Activate)
999 - Generatic synthetic WM_ACTIVE message when the active window is
1002 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1004 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1007 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1009 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1010 for determining width and height (image might not be assigned if
1011 we're drawing an imagelist)
1013 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1015 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1016 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1018 * Theme.cs: No longer returns hardcoded menu height, instead calls
1020 * Form.cs (OnLoad): Scaling happens before triggering Load events
1023 2006-05-01 Mike Kestner <mkestner@novell.com>
1025 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1027 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1029 * TextBoxBase.cs: Removed Fixme
1030 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1032 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1035 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1036 the rectangle relative to the parent, considering borders. We
1037 don't really want that.
1038 - ScrollWindow: Fixed warning to be more understandable
1039 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1040 scrollbars and scroll only the visible area
1041 * RichTextBox.cs: Removed debug output
1043 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1045 * NumericUpDown.cs (Text): Just use base
1046 * UpDownBase.cs: Ensure txtView is created before using it
1048 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1050 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1051 casting to IntPtr to avoid 64bit overflow errors
1053 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1056 - AllowDrop: Don't force handle creation.
1057 - CreateHandle: Added call to tell driver if we're allowed to drop
1059 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1061 * FileDialog.cs: Remember the last directory not only for the
1062 current instance but also for new FileDialog instances.
1064 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1066 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1067 broke sending async messages
1069 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1072 - ScrollWindow: Fixed method. We finally generate expose events again
1073 for scrolled areas. This was causing 'garbage' when scrolling
1074 textbox and other controls that used ScrollWindow
1075 - Switched from using the regular queue for paint events to the MS
1076 model of 'generating' paint events when the queue is empty.
1077 We use the new XQueueEvent.Paint subclass to store which windows
1079 - AddExpose now takes the x/y/width/height of the exposed area
1080 and inserts the window into the paint queue if not already there
1081 - InvalidateWholeWindow: Switched to use new AddExpose method
1082 - UpdateMessageQueue: Added which queue to monitor for paint events
1083 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1084 the unlikely case nothing above handles it. We reset the expose
1085 pending states to get them off the queue.
1086 - GetMessage: Now pulls a paint event if no other events are in the
1088 - Invalidate: Switched to new AddExpose method
1089 - PeekMessage: Updated to understand pending paint events
1090 - UpdateWindow: Fixed logic bug. We were only updating if the window
1091 didn't need updating. Also switched to sending WM_PAINT directly,
1093 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1094 and random access Remove(). The random access is needed to handle
1095 UpdateWindow() where a WM_PAINT is sent directly without accessing
1097 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1098 allow for better feedback when scrolling. Scrollbars are small and
1099 the immediate update should make it 'feel' more responsive without
1100 slowing things down. ScrollBar still needs it's invaliate logic
1101 updated to not always invalidate the whole bar on certain changes.
1103 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1106 (BackColor): if the control does not support a transparent background,
1107 return the default backcolor when the parent backcolor is transparent.
1109 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1111 * Application.cs: Updated to new StartLoop/GetMessage API
1112 * RichTextBox.cs: Provide some output on RTF parsing errors
1113 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1114 new queue_id argument to GetMessage and PeekMessage to allow faster
1115 handling of per-thread queues in drivers.
1116 * Hwnd.cs: Added Queue tracking and property
1117 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1118 * XEventQueue.cs: Added thread trackingA
1119 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1121 - Implemented new per-thread queue
1122 - GetMessage: Fixed return/break behaviour on several cases. We were
1123 returning stale messages in some cases, instead of just processing
1126 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1128 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1130 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1132 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1133 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1135 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1137 * PropertyGridView.cs: Fix drop down width.
1139 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1141 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1142 a mess in DrawToolBar, so I removed one of them.
1144 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1146 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1147 needed (clip). Otherwise we get artifacts.
1149 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1151 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1153 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1154 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1155 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1156 if it matches the scale base font (avoids unneeded scaling)
1158 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1160 * X11DesktopColors.cs: One gtk_init_check should be enough
1162 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1164 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1167 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1170 - Generate OnTextChanged for Backspace even if we're only deleting
1171 the current selection
1172 - When setting the Text property, only select all text if the
1173 control does not have focus when it is being set. Otherwise
1174 just place the cursor at the beginning of the control
1176 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1178 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1179 Added a little helper to draw PropertyGrid ToolBar with a different
1180 border and a different BackColor.
1181 * PropertyGrid.cs: Some background parts didn't get painted with the
1182 correct background color. Added a class that helps us to draw the
1183 correct border for PropertyGridView and a class that helps us to
1184 draw ToolBars with a different backcolor
1185 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1187 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1189 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1190 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1192 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1194 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1195 into the palette entries. Also, since we're working on a copy
1196 we needed to copy the palette back onto the bitmap.
1197 * Cursor.cs: Same fix as XplatUIWin32.cs.
1199 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1201 * ImageListStreamer.cs: Need to read the var (or we're off)
1203 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1205 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1206 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1207 TextBoxBase.cs: Unused var fixes
1208 * AxHost.cs: Small 2.0 fix
1209 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1210 as it seems that is what at least Metacity expects. This will make
1211 icons show up on 64bit platforms. We still have some 64bit size
1212 issues, though, since the startup app window size still won't match.
1214 2006-04-25 Mike Kestner <mkestner@novell.com>
1216 * *.cs: cleanup newly reported exception var unused warnings.
1218 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1220 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1223 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1225 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1226 image. The image position is always the same, no matter if the
1227 button is pressed or not.
1229 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1231 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1232 selection and set the correct filename for SaveFileDialog.
1233 Patch by Emery Conrad.
1235 2006-04-24 Mike Kestner <mkestner@novell.com>
1237 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1238 check for item.X outside the ClientRect instead of item.Y. Fixes
1241 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1243 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1244 trust that value blindly and do some sanity check. Fixes bug #77814.
1246 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1248 * ImageListStreamer.cs: save the mask as a 1bpp image.
1250 2006-04-21 Mike Kestner <mkestner@novell.com>
1252 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1253 pass Checked and Indeterminate to the Theme Engine. Improve
1254 encapsulation with ListBox.
1255 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1256 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1257 nested types. Move all CheckState functionality to CheckedListBox.
1258 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1259 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1260 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1261 single base list. Fix scrollbar sizing and placement to mirror MS.
1262 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1264 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1265 for CheckedListBox by using new DrawItemState info. Center the
1266 checkboxes on the items. Use new StringFormat property.
1268 2006-04-18 Jackson Harper <jackson@ximian.com>
1270 * Form.cs: MdiChildren don't do default locations the same way as
1271 regular forms. This prevents a crash when trying to position the
1274 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1276 * PropertyGridTextBox.cs: Formatting, copyright
1277 * PropertiesTab.cs: Formatting
1278 * PropertyGrid.cs: Formatting
1279 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1280 click toggling of values
1282 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1284 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1285 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1286 every time a control is created
1287 * Application.cs: Removed obsolete EnableRTLMirroring method
1289 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1291 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1292 SelectedIndex to -1. Fixes bug #78121.
1294 2006-04-17 Jackson Harper <jackson@ximian.com>
1296 * Binding.cs: Handle null values for Current and BindingContext.
1297 This occurs when binding is a little delayed.
1298 * CurrencyManager.cs: return null for Current when there are no
1300 - Hookup to the listchanged event on the DataView and update
1301 bindings when the list is changed. This fixes late binding of
1304 2006-04-17 Jackson Harper <jackson@ximian.com>
1307 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1310 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1312 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1314 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1315 with the correct ButtonState
1317 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1319 * XplatUIX11.cs: Improved distinguishing between window types to
1320 tell the WM a type closer to what the app wants (Fixes #78107)
1322 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1324 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1327 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1329 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1330 drawing code to reflect the size grip changes
1332 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1334 * ImageListStreamer.cs: fix handling of the mask that follows the main
1335 bitmap when deserializing and serialize it properly. The generated mask
1336 should better be a 1bpp image, but I'll do that later.
1338 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1340 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1341 path doesn't fit into some of our Current.Places
1343 2006-04-13 Jackson Harper <jackson@ximian.com>
1345 * ComboBox.cs: Use borders instead of drawing our own decorations,
1346 try to obey correct rules for heights.
1349 * ThemeClearLooks.cs:
1350 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1351 this is now handled by borders.
1352 - Remove unused DrawListBoxDecorationSize method.
1354 2006-04-13 Mike Kestner <mkestner@novell.com>
1356 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1359 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1361 * ThemeWin32Classic.cs:
1362 - Fixed CPDrawStringDisabled
1363 - Corrected drawing of disabled menu items
1364 - Fixed drawing of disabled radio buttons (bug #78095)
1365 - Draw check in a disabled CheckBox with color ControlDark
1367 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1369 * Form.cs: Use the provided width when calculating the menu size;
1370 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1371 and ClientSize.Width won't be updated yet
1372 * Application.cs: Use Visible instead of Show() to make form visible,
1373 this way we create the handle later and menusize is considered
1375 2006-04-12 Mike Kestner <mkestner@novell.com>
1377 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1380 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1382 * TextBox.cs: Implemented context menu
1384 2006-04-12 Mike Kestner <mkestner@novell.com>
1386 * ListView.cs: implement box selection. fixes #77838.
1387 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1389 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1391 * XplatUIX11.cs: Added setting of window type when transient window
1392 is created (metacity would move it otherwise)
1393 * X11Structs.cs: Added WINDOW_TYPE atoms
1394 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1395 background (the control is Opaque but still wants transparent
1398 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1400 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1401 that set Opaque but don't mean it (like all ButtonBase-derived
1402 controls) to still draw their background
1403 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1406 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1408 * Control.cs (PaintControlBackground): Set the graphics object
1409 on our PaintEvent to null to prevent it from being disposed
1410 when the PaintEvent gets disposed
1412 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1414 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1415 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1417 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1420 - Added transparency check to BackColor property. Transparent
1421 backgrounds are only allowed if the control styles permit it
1422 - Added recursive painting of parent control background and
1423 foreground if a control with a transparent backcolor is drawn
1424 (Thanks to Tim Ringenback for providing his 'hack' as a base
1425 for this patch) Fixes #77985 and #78026.
1426 - Added Opaque style check before calling OnPaintBackground, no
1427 need to draw the background if the control is opaque
1428 - Removed ControlAccessibleObject owner variable (inherited from
1429 base, no need to define again)
1430 - Added some documentation links explaining the drawing events
1433 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1435 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1436 that the affected control is the located at the left border of our
1437 parent (Fixes #77936)
1439 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1441 * TextBoxBase.cs: When rendering disabled or readonly controls,
1442 draw the background with 'Control' instead of 'Window' color as
1443 long as the user hasn't specifically set a color
1445 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1447 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1448 since that won't be updated if the user types text (only if it's
1449 programatically set)
1451 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1453 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1454 layout changes do to app-triggered resizes will have the proper
1455 display rectangle for layout
1457 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1459 * ThemeWin32Classic.cs:
1460 - Make use of the SystemBrushes and SystemPens wherever possible
1461 - Corrected some highlight colors
1462 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1464 * Theme.cs: Added Empty field to CPColor struct
1466 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1468 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1469 is displayed when calculating the display rectangle. Thanks to Mike
1470 for teaching me the err of my ways.
1472 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1474 * ScrollableControl.cs:
1475 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1476 (instead of 0,0) and we now return the real width/height instead of
1477 just the clientrectangle, adjusted for padding. The rectangle is
1478 now cached and created by the new CalculateDisplayRectangle method.
1479 - Created new CalculateDisplayRectange method, which basically does
1480 what get_DisplayRectangle() did originally, but now using the
1481 right edge instead of DisplayRectangle to determine the size of
1483 - get_Canvas(): Fixed it to properly calculate canvas for
1484 right/bottom controls which seem to be placed to the right/bottom
1485 of any controls that have a fixed location
1486 - Removed TODO that's taken care of
1487 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1488 and SetDisplayRectLocation according to new MSDN2 docs
1489 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1490 event when that is called, this is added for compatibility
1491 - ScrollControlIntoView(): Implemented.
1492 - Switched scrollbars to be implicit, they shouldn't be selectable
1493 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1494 call it when the active control is set/changed
1495 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1496 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1497 implicit_control variable (used for native Win32 message generation)
1498 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1499 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1500 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1501 * XplatUIStructs.cs: Added ScrollBarCommands enum
1503 2006-04-10 Jackson Harper <jackson@ximian.com>
1506 * CheckedListBox.cs:
1513 * PrintPreviewControl.cs:
1519 * UpDownBase.cs: Fixup base event overrides.
1521 2006-04-06 Mike Kestner <mkestner@novell.com>
1523 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1524 all user-initiated value changes to min <= value <= max-thumbsz+1.
1525 (set_Value): check for vert/horiz when calculating new thumb position.
1526 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1528 (OnMouseMoveSB): refactor the thumb dragging code and refine
1529 invalidation logic to reduce flicker.
1530 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1531 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1532 (UpdateThumbPosition): small code readability cleanup
1534 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1536 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1539 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1541 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1543 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1545 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1546 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1547 This dramatically reduces the number of Pen.Dispose calls.
1548 Where possible call ResPool methods only once instead of calling it
1549 over and over again (for example for the same color).
1551 2006-04-06 Mike Kestner <mkestner@novell.com>
1553 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1554 Also remove an unused private field on the collection. Fixes #77972.
1556 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1558 * ThemeNice.cs: Added ToolBar drawing code
1560 2006-04-06 Mike Kestner <mkestner@novell.com>
1562 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1563 I'm assuming that means we need to look up the toplevel for the
1564 provided control. Fixes the crash trace in #77911 but exposes another
1565 crash in some strange reflection usage in NDocGui.
1567 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1569 * ThemeNice.cs: Gave it a little silver touch and added Images
1571 * FontDialog.cs: FontDialog is not resizable
1572 * FileDialg.cs: Added SizeGripStyle.Show
1574 2006-04-05 Jackson Harper <jackson@ximian.com>
1576 * KeyboardLayouts.cs: Remove warning.
1578 2006-04-05 Jackson Harper <jackson@ximian.com>
1580 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1581 all of our controls instead of Paint +=.
1596 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1597 use OnPaintInternal. Remove Width/Height and Visible checks in
1598 paint handler, this is done at a higher level now.
1599 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1600 * PaintEventArgs.cs: Add a handled flag so controls that don't
1601 want anymore painting after OnPaintInternal can make sure OnPaint
1604 2006-04-05 Mike Kestner <mkestner@novell.com>
1606 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1607 state of the form, so that we don't process events when Modal dialogs
1608 are up. Fixes #77922.
1610 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1612 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1615 2006-04-05 Mike Kestner <mkestner@novell.com>
1617 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1619 2006-04-05 Mike Kestner <mkestner@novell.com>
1621 * ListView.cs (HeaderMouseMove): null guarding for the over column
1622 when setting up the drag_to_index. Fixes #78015.
1624 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1626 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1627 in the taskbar. Transient windows seem to accomplish that.
1629 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1632 - Re-enabled CreateParams.X/Y code for FormStartPosition
1633 - Added code for manual placement when creating the Control
1634 - Incomplete patch to treat MDI forms differently when
1635 setting the ClientSizeCore. (Still need to figure out handling
1638 - When we're explicitly setting the X/Y position of a non-Child
1639 window, let the WM know. Metacity really wants this.
1641 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1643 * ThemeNice.cs: Added CPDrawButton
1645 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1647 * ThemeNice.cs: Changed the color for focused buttons and activated
1648 the arrows for small scroll buttons.
1650 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1652 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1653 anymore. Changed some method modifiers to protected (virtual)
1654 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1656 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1657 Updated drawing of menus, buttons and progressbars; added
1660 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1662 * ImageListStreamer.cs: implemented serialization/deserialization
1665 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1667 * ThemeWin32Classic.cs:
1668 - Removed all the DrawFrameControl stuff; CPDrawButton,
1669 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1671 - Updated and corrected the drawing code of CPDrawButton,
1672 CPDrawCheckBox and CPDrawRadioButton to better match ms
1673 - Updated theme checkbox and radiobutton code to use the CP*
1676 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1678 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1681 2006-03-31 Jackson Harper <jackson@ximian.com>
1683 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1685 * UpDownBase.cs: Don't CreateGraphics manually, use a
1686 Refresh. Ideally we would invalidate the correct areas here.
1688 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1691 - We now track the mapping state of windows. If a window (or
1692 one of it's parents) is not mapped we no longer permit
1693 WM_PAINT messages to be generated since we'd otherwise get
1694 lots of BadMatch X errors. Jackson did all the work figuring
1696 - Destroying the caret if the window it's contained in is
1697 destroyed. Can't use regular DestroyCaret method since it
1698 might fall into a drawing function (trying to remove the
1699 caret) and with that generate new BadMatch errors. Again,
1700 Jackson tracked this down.
1701 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1702 make sure we send the messages to all windows. (The old code
1703 would send the WM_DESTROY to the window, and then all child
1704 windows would be 'gone' because the WM_DESTROY handle lookup
1705 would no longer find the destroyed window)
1706 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1707 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1709 2006-03-31 Jackson Harper <jackson@ximian.com>
1711 * ScrollableControl.cs: Dont recalc if we are not visible.
1713 2006-03-31 Mike Kestner <mkestner@novell.com>
1715 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1716 the visibility branch.
1718 2006-03-31 Jackson Harper <jackson@ximian.com>
1720 * ScrollBar.cs: Cap values when incrementing/decrementing.
1722 2006-03-31 Mike Kestner <mkestner@novell.com>
1724 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1725 * ToolTip.cs: guard against timer expirations with no active control.
1726 Not sure why it happened.
1728 2006-03-31 Mike Kestner <mkestner@novell.com>
1730 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1732 * ToolTip.cs: Position the tooltip based on where the cursor is at
1733 popup time, not at MouseEnter time. Add a Down state so that we don't
1734 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1735 positioning offset. Lookup DisplaySize at positioning time, since it
1736 can theoretically change during invocation.
1737 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1738 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1740 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1742 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1743 Fixes behaviour when the Text property of the box is String.Empty
1745 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1747 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1748 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1751 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1753 * FileDialog.cs: Visual enhancement for the popup buttons in
1756 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1758 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1761 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1763 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1764 highlighted menu items to match ms
1766 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1768 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1770 2006-03-30 Mike Kestner <mkestner@novell.com>
1772 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1773 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1774 go active to account for HotLight to Selected transition.
1775 * MenuItem.cs: add internal Selected prop. Fill out the Status
1776 property by calculating it from item info. Add HotLight,
1777 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1779 2006-03-30 Mike Kestner <mkestner@novell.com>
1781 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1783 2006-03-29 Jackson Harper <jackson@ximian.com>
1785 * Form.cs: Implement TODO.
1787 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1789 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1790 missing proper dialog setup in the constructor
1792 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1794 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1796 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1797 - Fixed ResetBindings and removed TODO
1798 - Added check for cross-thread calls to get_Handle()
1799 - Added Marshaller attribute for set_Font to satisfy class status
1800 * FontDialog.cs: Removed TODOs that seemed implemented
1801 * UpDownBase.cs: Removed unneeded TODO and Fixme
1802 * MessageBox.cs: Implemented support for Default button and removed TODO
1803 * FileDialog.cs: Removed obsolete TODO
1804 * DomainUpDown.cs: Removed obsolete TODO
1805 * ButtonBase.cs: Removed obsolete TODO
1806 * XplatUIWin32.cs: Removed obsolete TODO
1808 - Removed obsolete TODO
1809 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1810 internal status updates
1811 - Making sure the active control is selected when the control is created
1812 * CurrencyManager.cs: Removed obsolete TODO
1814 2006-03-29 Mike Kestner <mkestner@novell.com>
1816 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1817 of PrintPreviewDialog and RichTextBox.
1819 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1821 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1822 DarkDark, Light and LightLight colors for a specific color
1823 * ThemeWin32Classic.cs:
1824 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1826 - Make use of the new ResPool helper CPColor
1827 - Draw ProgressBar and StatusBar with correct 3D borders
1829 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1831 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1833 2006-03-28 Mike Kestner <mkestner@novell.com>
1835 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1836 calculating col/row counts.
1838 2006-03-28 Mike Kestner <mkestner@novell.com>
1844 switch to explicit interface method implementation for some methods
1845 corcompare identifies as inconsistent with MS.
1847 2006-03-28 Mike Kestner <mkestner@novell.com>
1851 add a few missing methods from the class status output.
1853 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1855 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1858 2006-03-28 Mike Kestner <mkestner@novell.com>
1860 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1862 2006-03-27 Mike Kestner <mkestner@novell.com>
1864 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1865 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1867 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1869 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1871 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1873 * ThemeWin32Classic.cs:
1874 - GroupBox: Inserted a little gap between the text and the lines
1876 - Made the code in CPDrawBorder3D more readable
1877 - Corrected the drawing location of the up and down arrows in
1880 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1882 * ControlPaint.cs: Corrected line widths in DrawBorder for
1883 ButtonBorderStyle Inset and Outset
1885 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1887 * ThemeWin32Classic.cs:
1888 - Rewrote the totally broken CPDrawBorder3D method. That was
1889 one of the main problems for the terrific ThemeWin32Classic
1891 - Updated and corrected Button drawing
1892 - Correct the dimensions of the SizeGrip to match ms ones
1893 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1894 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1895 Border3DStyle.Sunken to match ms.
1897 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1899 * ThemeWin32Classic.cs: First small part of the "de-uglify
1900 ThemeWin32Classic" effort, SizeGrip
1902 2006-03-24 Jackson Harper <jackson@ximian.com>
1904 * XplatUIX11.cs: Give a max idle time of one second, this matches
1905 MS and forces an Idle event every second when there are no other
1906 events in the queue.
1908 2006-03-24 Mike Kestner <mkestner@novell.com>
1910 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1911 * ListView.Item.cs: fix layout issues with null image lists and images
1912 smaller than checkbox size.
1913 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1914 mode like MS does. It's weird, but consistent. ;-)
1917 2006-03-24 Mike Kestner <mkestner@novell.com>
1919 * ListView.cs: Scroll wheel support for the item control. Fixes
1922 2006-03-23 Jackson Harper <jackson@ximian.com>
1924 * ScrollableControl.cs: Special case negative sized areas, not
1926 * MonthCalendar.cs: Save the rect of the clicked date so we can
1927 use it for invalidation.
1928 - Try to cut down on the number of invalidates
1929 - Invalidate the rect the mouse is over and was over when moving
1930 the mouse, so we get the focus box following the cursor.
1932 2006-03-23 Mike Kestner <mkestner@novell.com>
1934 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
1935 focus rectangle drawing. Fixes #77835.
1937 2006-03-23 Mike Kestner <mkestner@novell.com>
1939 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
1940 the if and else if and reverting back to the original == check on the
1943 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1945 * FontDialog.cs: Update the example panel if the selected index of
1946 the fontListBox changes.
1948 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
1950 * FileDialog.cs: Make FileDialog remember which directory it was in
1951 last in the same execution.
1953 2006-03-22 Mike Kestner <mkestner@novell.com>
1955 * FileDialog.cs: make the DropDownMenu on the toolbar display
1956 RadioChecks since they are mutually exclusive and that's what MS does.
1958 2006-03-22 Mike Kestner <mkestner@novell.com>
1960 * Theme.cs: add Color param to CPDrawMenuGlyph.
1961 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
1962 checks and radio marks and arrows are visible on highlighted items.
1963 * ControlPaint.cs: update to use new Theme signature.
1965 2006-03-22 Mike Kestner <mkestner@novell.com>
1967 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
1968 is active. Fixes #77870.
1970 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1972 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
1973 to be focused/selected after startup
1975 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
1978 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
1979 CustomColors and ShowHelp properties
1980 - Some internal rewrites to get better results when using the
1983 2006-03-22 Mike Kestner <mkestner@novell.com>
1985 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
1986 HoverSelection. Fixes #77836.
1988 2006-03-22 Mike Kestner <mkestner@novell.com>
1990 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
1991 ToggleButtons. (De)Sensitize the Back button around a stack count of
1992 1, not 0. Update ButtonSize based on a pixel count of the win32
1993 control. Adjust the toolbar size/location for new button size.
1995 2006-03-22 Jackson Harper <jackson@ximian.com>
1997 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
1999 * ScrollBar.cs: When doing increments and decrements we need to
2000 set the Value property so that ValueChanged gets raised. A
2001 possible optimization here would be to make an internal SetValue
2002 that doesn't invalidate immediately.
2003 * ToolTip.cs: Tooltips get added to their container (when
2004 supplied) so they get disposed when the container is disposed.
2005 - Don't create tooltips for String.Empty. This prevents all these
2006 little 2-3 pixel windows from showing up when running nunit-gui
2008 * Form.cs: Don't set topmost when setting the owner if the handles
2009 haven't been created yet. The topmost set will happen when the
2010 handles are created.
2012 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2015 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2016 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2017 visible (to allow them to recalculate their sizes)
2019 2006-03-21 Mike Kestner <mkestner@novell.com>
2021 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2022 methods. Removed a ton of redundant code. Still not really happy with
2023 the border rendering, but I think that's mainly because of the
2024 ControlDarkDark being black instead of a dark grey. Depending on how
2025 close we want to be, we might want to revisit those color choices.
2026 Among the new features added during the refactor were DropDownArrow
2027 pressed rendering, Disabled image rendering. Proper flat appearance
2028 boundary rendering. Removed the Divider and Wrapping dividers since I
2029 can't figure out any combination of themes and conditions to make the
2030 MS control draw a horizontal line on a toolbar despite what the
2031 Divider property docs indicate.
2032 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2033 conditions and incorrect layout. Updated to coding standard.
2034 * ToolBarButton.cs: refactored layout and positioning code from
2035 ToolBar to here. Invalidate wherever possible instead of forcing
2036 redraws of the whole toolbar.
2037 (Known remaining issues: explicit ButtonSize smaller than provided
2040 2006-03-21 Mike Kestner <mkestner@novell.com>
2042 * ContextMenu.cs (Show): use the position parameter instead of just
2043 showing at the MousePosition.
2045 2006-03-21 Jackson Harper <jackson@ximian.com>
2047 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2048 control handle this.
2049 * TreeNodeCollection.cs: If we are clearing the root node we need
2050 to reset top_node so calcs can still happen.
2051 * ThemeWin32Classic.cs: This is a Flags so we need to check
2054 2006-03-21 Jackson Harper <jackson@ximian.com>
2056 * DataGrid.cs: Create columns when the binding context has been
2058 * X11Structs.cs: Keysyms are uints.
2059 - Add size to fix build.
2061 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2063 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2065 - Added ResetMouseHover method to allow controls to retrigger
2066 hovering if they need it more than once
2067 - Implemented MouseHoverTime and MouseHoverSize properties
2068 * Timer.cs: Start() must reset the interval
2069 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2072 2006-03-21 Jackson Harper <jackson@ximian.com>
2074 * X11Keyboard.cs: improved layout detection. Move the nonchar
2075 tables into this file.
2076 * KeyboardLayouts.cs: Move the tables into resource files.
2078 2006-03-21 Mike Kestner <mkestner@novell.com>
2080 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2082 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2084 * Mime.cs: Various speed optimizations. Looking up mime types
2085 is now 2 times faster than before
2087 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2089 * CreateParams.cs: Added internal menu field
2091 - Switched call order for UpdateBounds; now we always call
2092 the one that also takes ClientSize, and we're calculating the
2093 client size via driver method in the others. The previous
2094 method of tracking client size by difference wasn't working
2095 for forms where even the starting client size wouldn't match
2096 the overall form size (due to borders) (Part of fix for #77729)
2097 - CreateParams(): Do not use parent.Handle unless the handle is
2098 already created. Causes havoc with Nexxia and throws off our
2099 creation of controls
2101 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2102 - Switched handling of ConfigureNotify over to new PerformNCCalc
2103 method (consolidates code)
2104 - Changed RequestNCRecalc to use new PerformNCCalc method
2105 - Added calls to RequestNCRecalc when menus and borders are changed
2106 to allow app to set NC size. (Part of fix for #77729) This matches
2107 when MS send a WM_NCRECALC on Win32 windows.
2108 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2109 (Part of fix for #77729). This matches what MS does, they also
2110 send that message when the form is made visible.
2111 - XException.GetMessage: Improved usability of X errors by including
2112 a translation of the window into Hwnd and Control class
2113 - Improved debug info for window creation, reparenting and destruction
2114 - Created helper method WindowIsMapped() [Currently not used]
2115 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2117 - CreateParams: Now setting our menu on the new internal menu field
2118 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2119 avoid calculating the same property twice
2121 - Improved usability of ToString() for debugging purposes
2122 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2123 determine the height of the menu, instead of just the font. This
2124 required to also create a graphics context and to keep a bmp
2125 around (for performance reasons)
2127 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2129 * MenuAPI.cs: Added OnMouseUp method
2131 - Now remembering the requested client size, avoids size errors
2132 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2133 instead of base if the menu is active. This is required due to
2134 control now capturing and releasing on down/up and it would
2135 prematurely release our menu capture
2137 2006-03-17 Jackson Harper <jackson@ximian.com>
2139 * KeyboardLayouts.cs: Add the czech layouts.
2141 2006-03-16 Jackson Harper <jackson@ximian.com>
2143 * Control.cs: Use the viewport space when sizing not the controls
2144 client size, so things like ScrollableControl that effect the
2145 viewport size (when scrollbars are added) are computed correctly.
2146 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2148 - Handle creating BindingManagers for null data sources.
2149 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2150 source, otherwise when rows are added they are added to the 'fake'
2151 datasource and we will crash when trying to set the position in
2153 - Use Implicit scrollbars on the datagrid so they arent
2156 2006-03-16 Jackson Harper <jackson@ximian.com>
2159 * InternalWindowManager.cs:
2160 * MdiWindowManager.cs:
2161 * X11Keyboard.cs: I really want Mike to love me again (fix
2164 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2167 - OnMouseDown: Switch to editing mode when clicking on the cell
2168 even if we're clicking on the cell that's currently
2170 - ProcessGridKey: Left/Right now wrap like MS.Net does
2171 - ProcessGridKey: Tab now knows to add a new row when tab is
2172 pressed in the cell of the last column of the
2174 - ProcessGridKey: Enter now adds another row if pressed in the last
2175 row and selectes the new row, same column cell
2176 - ProcessGridKey: Home/End navigate columns, not rows, like
2177 originally implemented
2178 - Broke ProcessKeyPreview code out into an extra Internal method
2179 so it can be called from the edit code
2180 * DataGridTextBox.cs (ProcessKeyMessage):
2181 - Switched to accept Tab keypresses
2182 - Added F2 handling to allow jumping to the end of the edited cell
2183 - Added logic to allow moving caret left/right inside edited cell
2184 and making the edited cell jump when the caret hits cell borders
2185 - Tab and Enter are now passed to the datagrid after being handled
2187 - Removed capture code now that Control handles it
2188 - set_SelectionStart now ensures caret is visible
2190 2006-03-16 Jackson Harper <jackson@ximian.com>
2192 * TrackBar.cs: Debackwards the increment/decrement for handling
2193 mouse clicks on the bar with vertical trackbars.
2194 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2197 2006-03-16 Mike Kestner <mkestner@novell.com>
2199 * ListView.cs: make shift/ctrl keyboard and mouse selection
2200 consistent with the MS control. Fix a bug in
2201 SelectedListViewItemCollection.Clear that was pissing me off for the
2202 better part of a day because the collection was being altered
2203 underneath us as we walked the list.
2205 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2207 * Control.cs: Not sure how we could miss this so long, but it seems
2208 that MS.Net has Capture set all the way from before calling
2209 OnMouseDown through sending the mouse events until after
2210 OnMouseUp. This will fix DataGrid's selection being set to end
2211 at the location of the MouseUp.
2213 2006-03-15 Jackson Harper <jackson@ximian.com>
2215 * BindingContext.cs: Check the binding after its added so that it
2216 can initialize the binding managers and hookup to events.
2217 * Binding.cs: Data members seem to sometimes include rows/cols in
2218 the format Row.Column we now take this into account.
2219 - Hookup to the position changed event so we can update the
2220 control when the position has changed in the data set.
2221 * CurrencyManager.cs: Take into account the row/col naming
2222 convention when creating dataset tables.
2223 * BindingContext.cs: Using a newer better way of storing
2224 datasource/datamember pairs. Hopefully this better matches MS for
2225 looking up binding managers.
2228 2006-03-15 Jackson Harper <jackson@ximian.com>
2230 * BindingContext.cs: The currency manager needs the data member
2231 name, if the member is a data set we use the name to find the
2233 * CurrencyManager.cs: When creating the list prefer an IList over
2235 - Attempt to create a DataTable from a DataSet (TODO: might need
2236 some better error checking here, although MS doesn't seem to have much)
2237 - If we have a DataTable create a view and use it as our list.
2239 2006-03-15 Mike Kestner <mkestner@novell.com>
2241 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2242 keyboard navigation. Support Up/Down/Left/Right selection correctly
2243 for all 4 View modes.
2244 * ListViewItem.cs: add internal row/col fields for icon layouts.
2246 2006-03-15 Jackson Harper <jackson@ximian.com>
2248 * TabControl.cs: Redraw the tabs when we resize so their newly
2249 calculated sizes are drawn on screen.
2250 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2251 composite characters.
2252 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2253 - filter events so that composite characters can be created
2255 * X11Structs.cs: Add XIMProperties enum.
2257 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2259 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2262 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2264 * Control.cs (PerformLayout): We don't need to consider visiblity
2265 for anchoring, only for docking. This fixes 'whacky' alignment
2266 in listbox and other controls that use implicit scrollbars after
2267 the previous PerformLayout patch
2268 * ListBox.cs: Switched to use implicit scrollbars
2270 2006-03-14 Mike Kestner <mkestner@novell.com>
2274 - chain up the "new event" overrides to base and use
2275 OnEvent to raise them. Part of fix for bug #76509.
2277 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2279 * FileDialog.cs: Do not select an item in the parent directory
2282 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2284 * Control.cs (PerformLayout): It would seem that we considered
2285 invisible windows for our layout. Not quite the right thing
2286 to do. Now we don't any longer, thereby fixing bug #76889.
2288 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2290 * Control.cs (CanFocus): I goofed. A control can have focus
2291 even though it's not selectable. Made it match MS docs.
2293 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2295 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2296 center by default (fixes #76895)
2297 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2298 all uses of Border3DSides.All with the explicit ORd together
2299 Left|Right|Top|Bottom because I assume that nobody was aware
2300 that All also implies a center fill. Most places I checked had
2302 * ProgressBarStyle.cs: Added
2304 2006-03-13 Mike Kestner <mkestner@novell.com>
2306 * ListView.cs: fix breakage in drag shadow header positioning
2307 from Peter's csc compilation fix.
2309 2006-03-13 Mike Kestner <mkestner@novell.com>
2311 * ListView.cs: fix NRE produced by backspacing twice in a focused
2314 2006-03-13 Mike Kestner <mkestner@novell.com>
2316 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2318 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2320 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2322 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2323 the allowed size before making programmatic size changes
2325 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2327 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2328 set, metacity is broken and will still use the emty sizes in
2329 the struct. (Fix for #77089)
2331 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2333 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2334 WindowExStyles and marked both enums as Flags
2335 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2336 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2337 to match WindowStyles split
2339 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2340 - Updated to match WindowStyles split
2342 - Fixed FosterParent creation, was using ExStyle on the Style field
2343 (This should help with Popup focus issues)
2344 - Updated to match WindowStyles split
2346 2006-03-13 Jackson Harper <jackson@ximian.com>
2348 * MdiWindowManager.cs: Use the system menu height. Fixes some
2349 strange sizing issues.
2351 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2353 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2355 - Scroll to caret after inserting text (#77672)
2356 - Make scroll range one pixel higher, fixes off-by-one error (and
2357 makes underlines visible on the last line)
2359 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2361 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2362 the keyboard state from being stuck with keys in 'pressed' state when
2363 focus is switched away via keyboard
2364 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2365 reset the keyboard if no X11 KeyUp events are expected to come
2366 * X11Structs.cs: Switched type of Visible to bool to match driver
2368 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2371 - Switched caret to be just 1 pixel wide, matches MS and looks less
2373 - Moved caret display 1 pixel down from the top of the control
2375 - InsertCharAtCharet: Update the selection start if moving the caret
2376 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2377 - No longer always creating the caret when the caret methods are
2378 called. Only the actual ShowCaret/HideCaret will do that now
2379 - Only setting caret visible if the owner control has focus
2380 - UpdateView: Added invalidation-shortcut logic for center and right
2381 aligned text. Previously we'd update all according to the left
2382 logic which caused drawing errors. Also fixed height of invalidated
2383 areas, now properly invalidating the whole area (was off-by-one)
2384 - owner_HandleCreated: Always generate the document when the
2385 handle is created; this ensures that
2387 - Fixed situation where caret would disappear under the right
2388 window border, also improved scrolling behaviour on left-
2390 - Fixed right-aligned textboxes to have a border to the
2391 right instead of the caret being under the right border
2393 - Switched from 'nested' to simple visible/not visible tracking
2394 for caret (part of fix for #77671)
2395 - No longer passing through translated FocusIn/FocusOut messages
2396 since we were notifying too often and the wrong windows. Instead
2397 we just notify our focussed window of receiving or loosing focus
2398 * XplatUIWin32.cs: Switched from 'nested' show/hide
2399 counting for caret to simple visible yes/no behaviour (part of
2402 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2404 * Mime.cs: Remove debug code...
2406 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2408 * MimeGenerated.cs: Removed
2409 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2410 and subclasses) from /usr/(local/)share/mime and
2411 $HOME/.local/share/mime.
2413 2006-03-10 Jackson Harper <jackson@ximian.com>
2415 * MdiWindowManager.cs: Recalc the NC area when a window is
2416 maximized/restored so that the menu area is drawn on forms that
2419 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2421 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2422 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2423 us to force a WM_NCCALCRESIZE message being sent. This is needed
2426 2006-03-10 Jackson Harper <jackson@ximian.com>
2428 * Form.cs: We need to use the ActiveMenu when calculating menu
2430 - Fix nullref when the window manager hasn't been created yet.
2431 * Control.cs: Fix nullref when we try to bring a control to the
2432 front that has no parent.
2433 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2435 - Add a dummy item to the maximized menu so it always has the
2436 correct height. Otherwise when there are no menus we don't get our
2440 2006-03-10 Jackson Harper <jackson@ximian.com>
2442 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2444 * Form.cs: Make the window_state internal so the window managers
2446 - When an MDI child is maximized let its window manager create the
2447 main menu (so it can add its icon).
2448 - Notify the window managers of state changes
2449 - Let the window manager paint its buttons and handle button
2450 clicks on the menu when it is maximized.
2451 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2452 window manager, since tool windows don't use it, only mdi windows.
2453 - Tell the main form that we don't want it to handle NCPAINT
2454 itself to avoid extra painting.
2455 - Handle clicks on a maximized windows menu.
2456 - Handle window state changes
2457 - Handle minimize/maximize clicks correctly by setting the window state.
2458 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2459 when clicking on the forms icon).
2460 - New method to create a forms maximized menu. This is its normal
2462 - Handle window state changes.
2463 - Handle sizing of maximized windows. Maximized windows are just
2464 drawn bigger then the parent visible area. All controls are still
2465 there, they are just outside the visible area (this matches windows).
2466 * MdiClient.cs: No scrollbars when a child window is maximized.
2467 - Let the children windows figure out how big they should be when
2468 sizing maximized windows.
2469 - Implement a version of ArrangeIconicWindows somewhat similar to
2470 Windows version. There are some little differences, but I don't
2471 think any app will rely on the layout of minimized mdi windows.
2473 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2475 * Padding.cs: Several fixes to allow compiling with csc 2.0
2477 2006-03-09 Jackson Harper <jackson@ximian.com>
2480 * MenuItem.cs: Cheap hack so we can add items to the list without
2481 the events being raised. This allows adding mdi items during
2482 drawing. TODO: Should probably find a better time to add the items.
2484 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2486 * ThemeWin32Classic.cs:
2487 - CheckBox_DrawText: Added logic to not wrap if not enough space
2488 is available (Fix for bug #77727)
2489 - RadioButton_DrawText: Added logic not to wrap if not enough
2490 space is available (Fix for bug #77727). Also removed some
2491 duplicate code, DrawString always drawing the regular text
2492 before hitting the if statement.
2494 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2496 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2498 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2500 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2501 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2502 methods. Moved the new 2.0 properties into alphabetical order with
2503 other properties and added MonoTODO tags
2505 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2507 * AutoScaleMode.cs: Added. Fix build.
2509 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2511 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2512 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2513 and was requiring premature handle creation for calls from above
2514 * Form.cs, Control.cs: Removed handle arguments from calls to
2515 CalculateClientRect()
2517 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2519 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2520 drag_column.column_rect is MarshalByRef and can't be used that way
2522 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2524 * AxHost.cs: Added deserialization constructor for
2525 AxHost+State (fixes 77743)
2527 2006-03-09 Mike Kestner <mkestner@novell.com>
2530 - Added column drag reordering for details view.
2531 - fixed behavior when mouse is dragged off column and
2532 AllowColumnReorder is false.
2533 * ColumnHeader.cs: clone the format too in Clone.
2534 * Theme.cs: add DrawListViewHeaderDragDetails method.
2535 * ThemeWin32Classic.cs:
2536 - impl new method for drawing drag column shadows and targets.
2537 - support column offset for details mode in DrawListViewItem.
2539 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2541 * TextControl.cs: Reset the char_count when the document is cleared
2542 (Fixes bug reported on mono-winforms mailing list)
2544 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2546 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2547 of calling base we simply process the key ourselves, since both
2548 DefWindowProc and the handled method would set m.Result.
2551 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2553 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2554 method also moves the window; instead implemented a copy of
2555 Control.ScaleCore (Part of fix for #77456)
2557 - Created new CreateGraphicsInternal method to allow providing
2558 a graphics context when no handle is created without triggering
2559 handle creation. (Part of fix for #77456)
2560 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2562 - Switched Constructor to require TextBoxBase instead of Control (to
2563 allow uncast access to CreateGraphicsInternal)
2564 - Safeguarded use of owner.Handle property. No longer accessing it
2565 unless the handle is already created.
2566 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2567 - Now triggering a recalc when owning control becomes visible
2568 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2569 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2570 premature handle creation (Part of fix for #77456)
2572 - We now only destroy our double-buffering buffers when the
2573 control is resized or disposed, but not when visibility
2574 changes. (The code even re-created them twice every time)
2575 - Now requiring a redraw of the buffer on visibility changes
2576 (fixes bug 77654 part 2)
2577 - Not passing OnParentVisibleChanged up unless the control
2579 - CanFocus: Fixed to match MS documentation
2580 - Focus: Fixed to return actual focus state and to check if
2581 setting focus is legal before setting it
2583 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2585 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2586 when to draw focus rectangle by looking at parent focus and
2587 selected state instead. This fixes TabPages on Linux sometimes
2588 having none or multiple focus rectangles.
2589 * XplatUIX11.cs (SetFocus):
2590 - Don't set the focus if the same window already has focus
2591 - Use SendMessage instead of PostMessage (like it's Win32
2592 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2593 to match MS behaviour
2594 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2597 2006-03-07 Jackson Harper <jackson@ximian.com>
2599 * PictureBox.cs: Revert line I accidently committed last week.
2601 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2604 - Added new IsRecreating and ParentIsRecreating properties to
2605 allow testing if RecreateHandle has been called on ourselves
2606 or one of our parents
2607 - WndProc(WM_DESTROY): If our control handle is being recreated
2608 we immediately need to create the handle when receiving the
2609 destroy, that way our child windows find a valid parent handle
2610 when they themselves are being recreated upon WM_DESTROY receipt
2611 (fix for bug #77654 part 1)
2613 - DestroyWindow: WM_DESTROY must be sent to our own window before
2614 notifying any child windows. MS documents that child windows
2615 are still valid when WM_DESTROY is received. (Control now relies on
2617 - Added some fine-grain debug options
2619 2006-03-06 Jackson Harper <jackson@ximian.com>
2621 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2622 box and base calculations off this.
2623 * MdiChildContext.cs:
2624 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2627 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2629 * Splitter.cs: In situations where the affected control is added
2630 to the parent's control list after the splitter, we would not
2631 populate affected. Now we try populating it on mousedown, if
2632 it's not already set, and force it to be re-set whenever our
2635 2006-03-03 Matt Hargett <matt@use.net>
2637 * Control.cs: implement Control.Padding
2638 * Padding.cs: -Padding.All returns -1 when constructing with the
2639 implicit default ctor
2640 -Padding.ToString() matches MS.NET
2641 * ContainerControl.cs: implement
2642 ContainerControl.AutoScaleDimensions
2643 * ListControl.cs: implement ListControl.FormattingEnabled
2644 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2646 * TabPage.cs: Implement UseVisualStyleBackColor.
2647 * PictureBox.cs: Implement PictureBox.InitialImage.
2649 2006-03-03 Mike Kestner <mkestner@novell.com>
2651 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2652 event declarations to proxy to base event.
2653 * ListViewItem.cs: update to use ItemControl.
2654 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2655 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2656 column header label rendering for 0 width columns.
2658 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2660 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2661 that causes the control to be created. Fixes #77476.
2663 2006-03-02 Jackson Harper <jackson@ximian.com>
2665 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2668 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2670 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2671 passed in for the EventArgs (fixes #77690)
2673 2006-03-01 Jackson Harper <jackson@ximian.com>
2675 * ScrollBar.cs: Refresh afterbeing resized.
2677 2006-02-28 Mike Kestner <mkestner@novell.com>
2679 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2680 Clean up a tracker compile warning.
2681 * MenuItem.cs: add internal PerformPopup method.
2684 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2686 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2687 implicit expose) when the text is set to null
2689 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2691 * RichTextBox.cs (FlushText): When newline is true, we always
2692 need to split the line, even if no text is on it and we may
2693 never eat newlines. (Fixes #77669)
2695 2006-02-28 Mike Kestner <mkestner@novell.com>
2697 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2698 and set Selected instead.
2699 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2702 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2704 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2706 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2709 - Got rid of the panel. All controls are now directly added to
2711 - It is now possible to set a font with the Font property
2712 - MinSize and MaxSize property do now what they should
2713 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2714 - Searching and selecting a font with the font textbox works now,
2715 the same applies to the style and size textbox
2716 - Draw the correct 3D border in the example panel
2717 - Fixed a little mem leak (unused fonts didn't get disposed)
2718 - Many other internal updates/rewrites...
2721 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2724 - InsertRTFFromStream: Added 'number of characters inserted' argument
2725 - set_SelectedRTF: Now using the number of characters to calculate
2726 the new location for the selection and cursor (x/y cannot be used
2727 due to potentially already wrapped text)
2729 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2731 * TextControl.cs: Added property and implemented means to allow
2732 disabling recalculation of a document (can be used to speed up
2733 multiple inserts and is needed to make RTF inserts predictable, see
2735 * RichTextBox.cs: Using the new NoRecalc property of Document to
2736 keep x/y insert locations predictable. Also makes it faster inserting
2739 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2741 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2742 it's easier for a child control to handle the other messages without
2743 having to duplicate the special functionality
2745 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2746 code to handle processing the key ourselves, in order to get
2747 access to the result of KeyEventArgs.Handled. We now only call
2748 ProcessKey if they key hasn't been handled already. Fixes #77526.
2749 - set_Text: If null or empty string is given, just clear the
2750 document. Fixes part of #77526
2752 2006-02-27 Jackson Harper <jackson@ximian.com>
2754 * SizeGrip.cs: Paint the background color before painting the grip
2755 so things look right.
2756 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2758 2006-02-27 Mike Kestner <mkestner@novell.com>
2761 - Restructure layout and invalidation model to remove a ton of
2762 flicker from the control and speed up performance in general.
2763 - Add manual column resize, flickers like crazy, but I already have
2764 some ideas on how I'll fix that. (#76822)
2765 - Merge the three Icon-based views into a single layout method.
2766 - Move item selection interaction logic from the item since
2767 interaction with the collections is more appropriate to the view.
2768 - Deselection on non-item clicks.
2770 - Encapsulate most of the layout. Add some internal props to trigger
2771 layout. Move to a model where Items invalidate themselves instead
2772 of just invalidating the whole control every time something changes.
2773 - Invalidate on Text/Caption changes.
2774 - switch to an offset based layout model to avoid having to absolute
2775 position every element on item moves.
2776 - correct checkbox layout to conform to MS layout.
2777 * ThemeWin32Classic.cs:
2778 - refactor some column header drawing code.
2779 - fix string justification for column headers (#76821)
2780 - make SmallIcon labels top justified for compat with MS impl.
2781 * ThemeClearlooks.cs:
2782 - adjust to new ListViewItem internal checkbox bounds api.
2784 2006-02-27 Jackson Harper <jackson@ximian.com>
2786 * Control.cs: Change where implicit controls fall in the zorder.
2787 They are now on top of all children.
2788 - Synced AddImplicit code with Add
2789 - Removed unused enumerator.
2790 * SizeGrip.cs: Remove the TODO as its been TODONE.
2792 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2794 * TextControl.cs(Insert): Combine the last lines unless the insertion
2795 string ends with \n\n, otherwise we leave one line too many (Fixes
2796 something I noticed with the testapp for #77526; the bug itself was
2797 already fixed in the previous checkin)
2799 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2802 - SelectionColor and SelectionFont methods no longer set absolute
2803 styles. Instead, the keep font or color respectively (This
2804 resolves a long-standing FIXME in the code)
2805 - When flushing RTF text, the insert code now considers text trailing
2806 behind the insertion point (Fixes the bug where when replacing
2807 the selected text via SelectedRTF the remainder of the line behind
2808 the selection would stay on the first insertion line)
2810 - AppendText now updates the selection points after inserting text
2811 - AppendText now ensures that the last tag (sometimes 0-length) of
2812 the document is used for the style information (Fixes part of
2815 - Created new FontDefiniton class to allow describing partial style
2817 - StreamLine() now takes a lines argument, to allow it to decide
2818 whether an encountered zero-length tag is the last in the document
2819 (which must be kept to not loose the font/color contained in it,
2821 - Created Combine() and Split() methods for Marker structs, to
2822 support marker updates due to reformatted documents (soft line
2824 - Implemented Document.CaretTag setter
2825 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2826 of the last line (Not the cause, but also exposed by bug #77220)
2827 - Added LineTag argument to InsertString method, to allow callers
2828 to force a certain tag to be used (required to force use of the
2829 trailing zero-length tag of a document)
2830 - Now updating markers in Combine(), to avoid stale tag markers
2831 - Added some method descriptions to aid maintenance
2832 - Implemented new FormatText concept, allowing additive/subtractive
2833 formatting by only specifying the components that are to be
2834 changed. This was needed for resolving the RTB.SelectedColor/
2835 RTB.SelectedFont fixmes
2836 - Added Break() support method to allow breaking up linetags (used
2837 for partial formatting)
2838 - Added GenerateTextFormat() method. It is used for partial
2839 formatting and allows to generate a full font/color from given
2840 attributes and an existing tag.
2842 2006-02-26 Jackson Harper <jackson@ximian.com>
2844 * XplatUIX11.cs: Use the correct caption height.
2845 - Translate hittest coordinates to screen coords to match MS.
2846 * XplatUIWin32.cs: When we create MDI windows we need to reset
2847 some of the style flags, so we get a nice blank window, and can
2848 draw all the decorations ourselves.
2849 - Set a clipping rectangle on the non client paint event, the
2850 window manager drawing code needs one.
2851 * Form.cs: The window manager needs to know when the window state
2853 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2854 don't need to factor in border and title sizes in these
2855 methods. TODO: Remove the args and fix the call points.
2856 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2858 - Let the driver set the cursors.
2859 - Improve active window handling
2860 - Correct sizes for title bars and buttons.
2861 - Match MS drawing better
2862 * MdiWindowManager.cs: We don't need to handle border style
2863 updates specially anymore.
2864 - Check for scrollbars when windows are done moving
2865 - Handle Active properly.
2866 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2867 correctly. I am spewing the exception though, so we don't hide the
2870 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2872 * DataGridViewRowPostPaintEventArgs.cs,
2873 DataGridViewCellPaintingEventArgs.cs,
2874 DataGridViewRowCollection.cs,
2875 DataGridViewRowPrePaintEventArgs.cs,
2876 DataGridViewCell.cs: Clear a few warnings and implement a few
2877 exceptions that should be thrown.
2879 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2881 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2882 'inheriting' our parent's (non-default) cursor. (Part of
2885 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2887 * XplatUIX11.cs: Fixed cast to make csc happy
2889 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2891 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2892 it's for the client area (part of fix for #77479 and needed
2893 for MDI window cursor handling)
2895 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2896 the appropriate default cursors and also passing the message
2898 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2899 for non-client areas
2901 2006-02-15 Jackson Harper <jackson@ximian.com>
2903 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2904 is a real MDI window
2906 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2908 * X11DesktopColors.cs: Instead of checking the desktop session
2909 string for "KDE" check if it starts with "KDE"
2911 2006-02-10 Jackson Harper <jackson@ximian.com>
2913 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2916 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2918 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
2921 - Got rid of the panel. All controls are now directly added to
2923 - Changed to mono coding style
2925 2006-02-10 Jackson Harper <jackson@ximian.com>
2927 * InternalWindowManager.cs: We don't need the set visibility to
2928 false hack anymore now that peter has written beautiful shutdown
2931 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
2933 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
2934 where already explicitly destroyed
2936 2006-02-10 Jackson Harper <jackson@ximian.com>
2938 * MdiClient.cs: Handle the case where windows are too high or to
2939 the left and we need scrollbars.
2941 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
2943 * MimeIcon.cs: Added some icons
2946 - Got rid of the panel. All controls are now directly added to
2948 - Changed to mono coding style
2949 - On Linux "My Computer" and "My Network" will now show some
2950 more usefull information. A new class, MasterMount, gathers
2951 this information from /proc/mount. Updated MWFFileView to make
2952 use of this information
2953 - Fixed a bug that caused FileDialog to crash when
2954 ".recently_used" file had a zero size
2955 - FilterIndex does now what it should
2957 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
2960 2006-02-09 Jackson Harper <jackson@ximian.com>
2962 * ComboBox.cs: Don't touch if null.
2964 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
2966 * Cursor.cs: 64bit safeness fix
2967 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
2969 2006-02-09 Jackson Harper <jackson@ximian.com>
2971 * Form.cs: If a form is made into an MDI form update the styles so
2972 all the props can get set correctly.
2973 - Kill the mdi_container when we dont need it anymore.
2974 * InternalWindowManager.cs: Add missing NOT
2976 2006-02-08 Jackson Harper <jackson@ximian.com>
2978 * InternalWindowManager.cs: Respek clipping when drawing MDi
2981 2006-02-08 Jackson Harper <jackson@ximian.com>
2983 * Hwnd.cs: Add bits to track non client expose events.
2984 * XplatUIX11.cs: Track non client expose events on the hwnd. This
2985 gives us a proper invalid rect and will allow for some nice
2986 optimizations with NC client drawing
2987 - MDI windows are children windows, so move their style handling
2988 into the child window block.
2989 * InternalWindowManager.cs: Remove a state reset that was
2990 getting invoked at the wrong time. Fixes managed windows getting
2991 into a 'stuck' captured state.
2993 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
2995 * TextControl.cs (Document.ctor): Now initializing
2996 selection_anchor. Fixes #77493
2998 2006-02-07 Jackson Harper <jackson@ximian.com>
3000 * TrackBar.cs: The increment/decrements were backwards.
3002 2006-02-07 Mike Kestner <mkestner@novell.com>
3004 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3005 to the instance itself.
3007 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3009 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3010 on ulongs and pointers, the size differs between 32bit and 64bit
3013 2006-02-07 Mike Kestner <mkestner@novell.com>
3015 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3016 for 64 bit platforms to work around a metacity bug.
3018 2006-02-07 Jackson Harper <jackson@ximian.com>
3020 * TrackBar.cs: Process the input keys we need, and hookup to
3021 KeyDown instead of using WndProc, so we get key messages.
3023 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3025 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3027 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3028 we need to translate the XdndVersion atoms array before sending it
3030 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3033 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3034 number of bits for the property, not the number of bytes. The
3035 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3036 but would not crash since it specified 8 bits instead of 4 bits)
3037 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3038 defined as XID -> long in the C headers)
3039 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3040 references since those are now IntPtr to begin with
3041 - Switched all Atom.XXX 'int' casts to IntPtr casts
3042 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3043 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3044 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3046 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3047 - Changed atom in HoverStruct to be IntPtr
3049 - Removed local DllImports, switched code to use those from XplatUIX11
3050 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3052 2006-02-06 Mike Kestner <mkestner@novell.com>
3054 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3055 method signatures in the import region. There may still be some
3056 lingering struct marshaling issues, as I didn't drill down into those.
3059 2006-02-06 Jackson Harper <jackson@ximian.com>
3061 * ComboBox.cs: Dont manually set the top_item, this is computed
3062 when the scrollbar position is set.
3064 2006-02-06 Mike Kestner <mkestner@novell.com>
3066 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3067 startup crashes on amd64. There's other fixes needed. All pinvoke
3068 usage of Atom needs to be mapped to IntPtr for example. And there are
3069 likely other int/long issues to be addressed.
3071 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3073 * FileDialog.cs: One more...
3075 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3077 * FileDialog.cs: Next try
3079 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3081 * FileDialog.cs: First part of fix for #77464
3083 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3085 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3086 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3087 AcceptButton border drawing.
3089 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3091 * Form.cs: Moved positioning of form after auto scaling is applied,
3092 otherwise it would possibly use wrong form size.
3094 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3096 * Control.cs (RecreateHandle): No need to re-create any child
3097 controls, the child windows will get destroyed automatically by
3098 the windowing system or driver, and re-created when the handle
3099 is being accessed the first time. Fixes #77456
3100 * Form.cs: No longer setting the form to closing if the handle is
3101 being recreated. This seems like the right thing to do, don't
3102 have a bug or testcase for this, though.
3104 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3106 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3107 controls to avoid unwanted side effects
3109 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3112 - ScaleCore needs to scale the bounds, not the ClientSize of the
3113 control. Fixes #77416.
3114 - DefaultSize is 0,0 for control
3116 - DefaultSize is 100, 20
3117 - SetBoundsCore: Now enforcing the height, no matter if the provided
3118 height is more or less than the preferred one, as long as AutoSize
3120 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3122 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3125 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3126 call unless both performLayout is true *and* we have a pending
3128 - ResumeLayout: MS does not completely nest Suspend and Resume,
3129 they bottom out at 0, fixed our code to match that.
3130 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3131 SetBoundsCore, we were updating even when we shouldn't. This fixes
3132 swf-anchors mis-anchoring when resizing the app fast and lots.
3133 - UpdateDistances: Now only setting the left and top distance if
3134 we have a parent and are not suspended, this is based on
3135 a suggestion by Don Edvaldson in bug #77355.
3136 - OnVisibleChanged: Fixed logic when to create the control. We may
3137 not create the control if we have no parent or if it's not visible;
3138 switched to using Visible property instead of is_visible field
3139 since the property also considers parent states. This fixes a bug
3140 when starting Paint.Net
3142 2006-02-02 Jackson Harper <jackson@ximian.com>
3144 * Form.cs: If the forms handle hasn't been created yet don't call
3145 into xplatui to make it top most, just set the topmost flag on the
3146 form in CreateParams
3147 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3149 2006-02-01 Jackson Harper <jackson@ximian.com>
3151 * ScrollableControl.cs: Refactored the Recalculate method a
3152 little, this wasn't handling all the variants of bottom and right
3153 bars needed to be added and added/removed based on their
3154 counterparts being added/removed (which changes the drawable
3155 size). Also we special case client widths and heights of 0 and
3156 don't add the scrollbar for those.
3158 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3161 - Added method to get AbsoluteGeometry(); currently unused, but might
3162 be used in the future, if we try again to figure out toplevel
3163 coordinates with some more crappy window managers
3164 - Added FrameExtents() method to retrieve the WM set decoration size
3165 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3166 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3168 - Added whacky_wm tracking var for metacity
3169 - Added logic to have default menu height if the actual menu height
3170 has not yet been calculated (part of fix for #77426)
3171 * Form.cs: Keep track whether client size has been set and re-set
3172 it if a menu is added/removed afterwards (Fixes #77426)
3174 2006-01-31 Jackson Harper <jackson@ximian.com>
3176 * Control.cs: When a new Site is set on the component attempt to
3177 pull the AmbientProperties from it.
3179 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3181 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3182 in the background of the owning form. Fixes #77332
3184 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3186 * MimeIcon.cs: Fix for #77409
3188 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3190 * XplatUIX11GTK.cs: Initial import
3192 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3194 * FixedSizeTextBox: fixes class signature
3196 2006-01-30 Jackson Harper <jackson@ximian.com>
3198 * FixedSizeTextBox.cs: New internal class that represents a
3199 textBox that will not be scaled.
3202 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3205 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3207 * XplatUIX11.cs: Retrieve default screen number instead of
3208 assuming 0. Attempted fix for #77318
3210 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3213 - GetWindowPos: When a window is parented by FosterParent, use
3214 the desktop instead of FosterParent as the base to get coordinates
3215 - CreateWindow: Don't make FosterParent the parent window for Popups
3216 if we don't want a taskbar entry, Popups automatically don't get one
3217 * Hwnd.cs: Need to call remove to actually remove the key from the
3220 2006-01-30 Mike Kestner <mkestner@novell.com>
3222 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3224 2006-01-30 Jackson Harper <jackson@ximian.com>
3227 * TreeNode.cs: Raise events no matter how the treenode is
3228 checked. Patch by Don Edvalson.
3230 2006-01-30 Jackson Harper <jackson@ximian.com>
3232 * TreeNode.cs: Signature fix.
3234 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3236 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3238 2006-01-20 Mike Kestner <mkestner@novell.com>
3240 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3241 event forwarding when menus are active.
3242 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3243 Most of the patch is pdb's with a little rework.
3245 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3247 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3248 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3249 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3250 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3251 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3252 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3253 the PaintWindowDecorations method
3254 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3255 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3256 * MenuAPI.cs: Made tracker window invisible
3258 - Removed GetMenuDC and ReleaseMenuDC methods
3259 - Implemented the client=false path for PaintEventStart and
3262 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3264 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3265 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3268 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3270 - CreateParams: Reworked the styles to match MS look'n'feel,
3271 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3272 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3274 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3276 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3277 window is not mapped, since otherwise every form that's being
3278 created is considered minimized, which is wrong.
3279 * Form.cs: Catching the exception and returning our internal value
3282 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3284 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3285 SetWindowMinMax() to have means to tell the driver about the minimum,
3286 maximum and maximized state window sizes. (Part of the fix for #76485)
3288 - Implemented tracking of minimum and maximum window size, now calling
3289 new SetWindowMinMax() driver method to tell the driver (Part of the
3291 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3292 (Completes fix for #76485)
3293 - Calling new SetWindowMinMax driver method when the handle for a
3294 form is created, to make sure the driver knows about it even if
3295 the values have been set before the window was created
3296 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3297 to avoid messing up our anchoring calculations (partial fix
3299 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3301 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3302 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3303 (and presumably other freedesktop.org compliant WMs). Left the
3304 assumption unmapped=minimized, needed for SetVisible to work.
3305 - Now setting the window state when creating windows
3306 - Fixed SetVisible to consider/set the window state when mapping
3307 a Form. We cannot set the state before it's mapped, and we cannot
3308 use Form.WindowState once it's mapped (since it would ask the
3309 driver and get 'normal'. Therefore, we grab the state before
3310 mapping, map, and then set state.
3311 - Implmemented SetWindowMinMax method; Metacity does not seem to
3312 honor the ZoomHints, though.
3314 - Removed MINMAXINFO (moved to XplatUIStructs)
3315 - Added SetWindowMinMax stub (on Win32 the only way to set that
3316 information is in response to the WM_GETMINMAXINFO message, which
3317 is handled in Form.cs)
3318 - Added logic to SetVisible to set the proper window state when a
3319 form is made visible (fixes #75720)
3321 2006-01-26 Jackson Harper <jackson@ximian.com>
3323 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3324 same way we handle them with Invoke.
3326 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3329 - Added tracking of window state so CreateParams can return
3330 the appropriate style
3331 - Moved setting of WS_CAPTION style in CreateParams to allow
3332 styles without caption
3333 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3334 control if the TextBox property is accessed. Fixes #77345
3336 - get_Created: now uses is_disposed and is_created to determine
3337 return value (suggested by Jackson)
3338 - CreateHandle: No longer exits if the handle is being recreated
3339 - RecreateHandle: If the handle is not yet created call the
3340 appropriate method to create either control or handle. If the
3341 control is already created CreateHandle will simply exit instead
3342 of just creating the handle
3343 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3344 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3347 - When DestroyWindow is called, instead of waiting for the
3348 DestroyNotification from X11, we directly post it to the WndProc
3349 and immediately dispose the hwnd object.
3350 Same applies to DestroyChildWindows, and this obsoletes the
3351 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3352 child windows before our own, to avoid X11 errors.
3353 - Removed the direct sending of WM_PAINT on UpdateWindow
3355 - Reworked DoEvents and GetMessage to allow access to internal queue
3356 even when trying non-blocking access to the queue. Fixes #77335.
3357 Based on a patch suggestion by Don Edvalson. The new private
3358 GetMessage can now also be used as a backend for a PeekMessage
3360 * XplatUI.cs: Improved debug output for CreateWindow
3362 2006-01-25 Jackson Harper <jackson@ximian.com>
3364 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3366 2006-01-24 Jackson Harper <jackson@ximian.com>
3368 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3369 when we have a MaxDropItems lower then the selected index.
3371 2006-01-24 Jackson Harper <jackson@ximian.com>
3373 * Control.cs: Don't allow selection of non visible controls, allow
3374 selection of controls without parents.
3376 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3378 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3379 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3381 2006-01-23 Jackson Harper <jackson@ximian.com>
3383 * UpDownBase.cs: Make the textbox handle all the selection and
3384 tabbing. This fixes tabing to updown controls.
3386 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3388 * TextBoxBase.cs: fixes exception thown the object was null
3390 2006-01-23 Jackson Harper <jackson@ximian.com>
3392 * ButtonBase.cs: Just use the base CreateParams. They set
3393 visibility and enabled correctly.
3396 * MonthCalendar.cs: Lets let the base set as much of the
3397 createparams as possible so we don't have duplicate code all over
3400 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3402 * ThemeGtk.cs: Added TrackBar and some experimental code to
3403 get double buffering back
3405 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3407 * DataGrid.cs: Allows row number set internally higher than the last
3408 when creating a new row. Restores the editing functionality.
3410 2006-01-20 Mike Kestner <mkestner@novell.com>
3412 * MimeIcon.cs: delay Image creation until the icons are accessed
3413 instead of creating 190 scaled images on GnomeHandler startup.
3415 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3417 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3418 first call base before processing the event. Fixes #77279
3420 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3422 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3423 that the stride for the GDI bitmap would match the stride of
3426 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3428 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3430 2006-01-19 Jackson Harper <jackson@ximian.com>
3432 * ComboBox.cs: Hookup the text controls keydown event so we get
3433 those when the text control has the focus.
3435 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3437 * Label.cs: Now using the base events instead of defining new ones;
3438 this allows us to just call the base properties without having to
3439 duplicate all base property logic
3441 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3443 * Label.cs: A label by default is not a tabstop (Fixes one of our
3444 failing nunit tests)
3446 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3448 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3449 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3451 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3453 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3454 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3457 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3458 constructor creates images that can't be saved. Part of the fix
3460 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3461 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3462 bug fix for handling window state in forms properly)
3464 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3466 * ThemeGtk.cs: Simplify ScrollBar drawing
3468 2006-01-18 Jackson Harper <jackson@ximian.com>
3470 * Splitter.cs: Set the default dock style for the splitter control
3473 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3475 * ThemeGtk.cs: Corrected StateType and ShadowType for
3478 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3480 * Control.cs: Make use of Theme.DoubleBufferingSupported
3482 - Added drawing for flat style buttons
3483 - Added ScrollBar drawing
3485 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3487 * ThemeClearlooks.cs: Removed some unneeded code.
3488 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3490 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3492 * LinkLabel.cs: We need to update the hover drawing when
3493 leaving the control as well.
3495 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3497 * DataGrid.cs: Clicking on non empty areas in the columns
3498 area was giving an exception
3500 2006-01-17 Jackson Harper <jackson@ximian.com>
3502 * ThemeWin32Classic.cs:
3503 * ListView.cs: Do not draw/clip the headers when the header style
3506 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3508 * DataGrid.cs: Fixes 77260
3510 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3512 * DataGrid.cs: Clicking on a column on a empty grid was giving
3515 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3517 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3518 or any keypress will crash the grid.
3520 2006-01-17 Mike Kestner <mkestner@novell.com>
3522 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3523 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3524 invisible/previously-visible items.
3527 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3529 * ThemeClearlooks.cs:
3530 - Added CL_Draw_Button method; now other theme controls that are
3531 not derived from button or do not have a button can draw buttons
3533 - Updated ComboBox drawing
3534 - Beautified RadioButton drawing
3535 - Corrected drawing of bottom and left tabs
3536 - Beautified DateTimePicker and MonthCalendar
3537 - Added CPDrawButton and CPDrawRadioButton
3539 2006-01-16 Jackson Harper <jackson@ximian.com>
3541 * ComboBox.cs: Set the initial value of the scrollbar to the
3542 current index. Reduce the numbers of refreshs and IndexOfs called.
3544 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3546 * FileDialog.cs: When the file listview is focused hitting the
3547 backspace key moves the fileview to the parent directory
3549 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3552 - Added RecreateHandle call when changing taskbar visibility to
3553 trigger reparenting in Win32 driver (Fixes #75719)
3554 - If a window has minimize or maximize buttons, it cannot have
3557 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3558 the toplevel form with FosterParent (A toolwindow not on the
3559 taskbar) (Fixes #75719)
3560 - Made FosterParent a toolwindow
3562 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3564 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3566 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3568 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3569 is currently over that control, make sure that tooltip_window.Text
3572 2006-01-13 Mike Kestner <mkestner@novell.com>
3574 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3576 2006-01-13 Jackson Harper <jackson@ximian.com>
3578 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3579 value passed. Also redraw the selected node when we recieve
3580 focus, so tabbing between trees works correctly.
3582 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3584 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3585 ~/.gconf/%gconf-tree.xml, so use
3586 .gconf/desktop/gnome/interface/%gconf.xml
3588 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3590 * TextControl.cs: Draw text in gray if control is disabled
3592 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3594 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3595 make sure it's always visible. Fixes #76680.
3597 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3599 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3601 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3603 * PageSetupDialog.cs: Added.
3604 * PrintDialog.cs: Attributes.
3605 * PrintPreviewControl.cs: Updates.
3606 * PrintPreviewDialog.cs: Updates.
3608 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3610 * Control.cs: Undid my selection check fix, since it's not needed
3612 - Now considering the presence of hscroll/vscroll when sizing
3613 vscroll/hscroll respectively. Fixed bug #77077
3614 - Added Left/Up/Down/Right to IsInputKey list to prevent
3615 ContainerControl from stealing them. This fixes what I broke
3616 with my last checkin.
3618 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3620 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3621 I finally understand how the property can be set without a setter :-)
3623 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3626 - Switched RunLoop to use static Message.Create to create a
3628 - Added PreProcessMessage call in runloop for keyboard events; this
3629 is part of the fix for #77219, I overlooked this originally in the
3630 MSDN doc for PreProcessMessage
3632 - Removed call to PreProcessMessage from handling of keyboard
3633 messages; it's supposed to be done in the message pump
3634 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3635 per MSDN documentation.
3636 - IsInputChar: All chars are input chars by default; removed the
3637 parent calling chain, MS does not document that
3638 - PreProcessMessage: If IsInputChar is true, we want to return false
3639 to allow dispatching of the message
3640 - When selecting the next control, now also check that we're not
3641 selecting ourselves again and therefore return a false positive.
3643 - Tried to match return values for IsInputKey and ProcessDialogKey
3644 to what MS returns; moved processing of our special keys outside
3645 ProcessDialogKey since MS does not seem to return true on those.
3646 - Moved code that previously was in ProcessDialogKey into new private
3647 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3648 - Reworked handling of WM_CHAR to not have to duplicate code from
3649 Control.cs anymore, instead we simply call down to base.
3651 2006-01-12 Jackson Harper <jackson@ximian.com>
3653 * ComboBox.cs: We always need to refresh the text area when
3654 EndUpdate is called. Fixes the combobox in the file dialog.
3655 * Control.cs: Don't create the creator_thread until the controls
3656 handle is created. Also in InvokeRequired we check if the
3657 creator_thread is null. This gives the effect of InvokeRequired
3658 returning true if the controls handle is not created yet, and
3661 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3664 - Added StartLoop() driver method. This is used to allow drivers to
3665 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3666 loop for a particular thread
3667 - Added EndLoop() driver method. This is called once the message
3668 pump for the thread is shut down
3669 - Added SupportsTransparency method to allow the driver to indicate
3670 opacity support for windows
3672 - Removed TODO attribute, completed AllowTransparency property
3673 - Added documented logic to Opacity
3674 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3675 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3676 versions of CompatibleTextRendering
3677 * X11Structs.cs: Added opacity atom to our atom enumeration
3678 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3679 of a form might be set before it's reparented by the WM, and we need
3680 the opacity value without calling up to Form)
3681 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3682 SupportsTransparency() driver methods
3683 * Application.cs: Now calling StartLoop and EndLoop driver methods
3685 - Added opacity atom registration
3686 - Added StartLoop()/EndLoop() methods. They're empty right now but
3687 will need to get implemented when we switch to a per-thread queue
3688 - Implemented SupportsTransparency() method
3689 - Implemented SetWindowTransparency() method
3690 - Added support for setting the opacity value when a window is
3691 reparented (since the opacity needs to be set on the WM frame)
3692 * XplatUIOSX.cs, XplatUIWin32.cs:
3693 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3695 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3697 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3699 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3701 * FileDialog.cs: Added ToolTip for MWFFileView
3702 * MimeIcon.cs: Rewrote GnomeHandler.
3703 - Get currently used gnome icon theme from
3704 ($HOME)/.gconf/%gconf-tree.xml
3705 - Make use of inherited icon themes
3706 - Support SVG icon themes like Tango via librsvg
3708 2006-01-12 Miguel de Icaza <miguel@novell.com>
3710 Revert's Jackson's revert which broke 2.0 builds. Fix both
3713 * Application.cs: Move the use_compatible_text_rendering outside
3714 the NET_2_0 define. If we ever need to use the
3715 use_compatible_text_rendering on the individual controls they will
3716 access the variable from the common shared code paths.
3718 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3721 - Added more granular debug options
3722 - Added method to print both window text and id
3723 - Switched debug output to use new Window() debug method
3724 - Added IsEnabled() driver method
3725 - Added EnableWindow() driver method
3727 - Removed end_modal; no longer needed, new loop handles termination
3728 via 'closing' variable
3729 - If form is modal, setting DialogResult will now initiate loop
3730 termination via 'closing' variable
3731 - Added support for is_enabled/WS_DISABLED to CreateParams
3732 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3734 - Removed code that's now in RunLoop from ShowDialog()
3735 - Added various documented sanity checks to ShowDialog()
3736 - Added handling of WM_DESTROY message; we set 'closing' on getting
3737 the message to indicate the message pump to terminate
3738 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3739 send by the Application.ExitThread method. (We send the message
3740 to destroy the window after all other events have been
3741 processed through the queue, instead of destroying the handle
3743 - Moved code from Close() method to WM_CLOSE handler; added logic
3744 to only send close-related events if the form is not displayed
3746 * Splitter.cs (..ctor): Fixed typo in resource name
3748 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3750 - set_Cursor: Now only setting calling into XplatUI if the handle for
3751 the control is already created; this avoids implict handle creation
3752 or crashes if it's not created
3753 - set_Enabled: Now setting the enabled state via the new driver method
3754 instead of just tracking it
3755 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3756 - CreateControl: Reordered event firing and method calls to more
3757 closely fire events in the order MS does. Now setting the
3758 enabled state in the driver when creating the control.
3759 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3761 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3762 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3763 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3765 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3766 - Added EnabledHwnd property to easily allow a driver to find the
3767 handle of the first enabled window in the parent chain (this is
3768 used by drivers to pass up input events of disabled windows)
3769 * XplatUIDriver.cs: Added IsEnabled() method
3771 - Removed crude and obsolete exiting tracking variable
3772 - Removed internal ModalRun(); replaced by RunLoop()
3773 - Implemented private CloseForms() method to allow closing all
3774 windows owned by a particular (or all) threads
3775 - Exit() now properly closes all windows without forcing the message
3777 - Removed obsolete InternalExit() method
3778 - Changed Run() methods to use new RunLoop() message pump
3779 - Implemented new RunLoop() method for both modal and non-modal forms
3781 - get_CreateParams: Added setting of WS_DISABLED
3782 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3783 invoked via Form.ShowDialog()
3784 * NativeWindow.cs: We don't remove the window from the collection when
3785 the handle is destroyed; there might still be messages for it in the
3786 queue (mainly the resulting WM_DESTROY); instead it will be removed
3787 when Control calls InvalidateHandle in the WM_DESTROY handler
3789 - CreateWindow: Added logic to handle the WS_DISABLED window style
3790 - EnableWindow: Implemented based on Hwnd.Enabled
3791 - GetMessage: Reset PostQuitState so the method can be called again
3792 - Implemented support for disabled windows (passing messages to the
3793 first enabled parent) in handling all input messages
3794 - Added optimizations for handling Expose events
3795 - Implemeted new driver method IsEnabled()
3796 - Now always resetting paint pending tracking vars when we start paint
3797 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3798 * XplatUIOSX.cs: Added IsEnabled method stub
3799 * XplatUIWin32.cs: Implemented new IsEnabled() method
3801 2006-01-11 Jackson Harper <jackson@ximian.com>
3803 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3804 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3806 * ColorDialog.cs: Clear out the old form before adding the new
3809 2006-01-11 Jackson Harper <jackson@ximian.com>
3811 * X11Dnd.cs: Make sure to add all the text formats when adding
3812 strings to the data object.
3813 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3814 do some redrawing too. Also change the UpdateNode to an
3815 UpdateBelow so the newly added node gets painted.
3817 2006-01-11 Miguel de Icaza <miguel@novell.com>
3819 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3820 LinkLabel.cs, PropertyGrid.cs: Implement the
3821 UseCompatibleTextRendering property for 2.x
3823 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3825 2006-01-11 Jackson Harper <jackson@ximian.com>
3827 * TreeView.cs: Use the property for setting the selected node so
3828 the correct events get raised.
3829 * TreeNode.cs: Update the tree when the fore/back colours of a
3832 2006-01-10 Jackson Harper <jackson@ximian.com>
3834 * TreeView.cs: Allow setting SelectedNode to null.
3836 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3838 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3840 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3842 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3844 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3846 * PrintDialog.cs: Added attributes and set default property values.
3848 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3850 * PrintControllerWithStatusDialog.cs:
3851 Added PrintControllerWithStatusDialog.
3853 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3855 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3856 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3858 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3860 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3862 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3864 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3865 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3867 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3869 * MimeIcon.cs: Added internal class SVGUtil.
3871 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3873 * FileDialog.cs: Don't crash if there are two files with the
3874 same name but different locations.
3876 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3878 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3879 dates across multiple month grids. Used to not highlight entire
3880 month, but does now.
3882 2006-01-06 Jackson Harper <jackson@ximian.com>
3884 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3885 message loop. Change timer intervals to numbers that seem more
3888 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3890 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3891 object for location info since screen object is now implemented.
3893 2006-01-05 Jackson Harper <jackson@ximian.com>
3895 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3896 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3897 AsyncMethodResult, this is because we ALWAYS want the
3898 ManualResetEvent to get set.
3899 * Control.cs: When disposing use an async invoke to call shutdown
3900 code, so that thigns don't block on the finalizer thread. Also
3901 check if we even have a message loop before trying to send
3902 messages, if we don't then don't bother sending messages.
3903 - No more weak references for async methods
3904 * XplatUIDriver.cs: No more weak references for async methods.
3906 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3908 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3909 returns two FontFamily with the same name
3911 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3913 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3914 drawing disabled text. Instead using the ColorGrayText color
3916 2006-01-04 Jackson Harper <jackson@ximian.com>
3918 * TreeNode.cs: redraw the node when its image index is changed.
3920 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3922 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
3923 time I checked there are no others like it.
3925 2006-01-04 Jackson Harper <jackson@ximian.com>
3927 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
3928 this gives the behavoir I was looking for.
3929 * Control.cs: Special case Invoking EventHandlers, this matches MS
3930 and fixes part of bug #76326.
3932 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3934 * ThemeClearlooks.cs, FileDialog.cs:
3935 - Reflect the latest Theme class changes
3936 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
3939 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3941 * Theme.cs: Cache UI resource images and resize them if needed
3943 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3945 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
3946 is called. This fixes the crash in Nexxia when setting the font
3947 attributes in the chat. [However, RTF needs a look-over to make sure
3948 that all SelectionXXX methods handle the special case that selection
3949 is empty and therefore the change must be applied to all text starting
3950 at the cursor/selection start]
3952 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3954 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
3955 XplatUIOSX.cs: Added SendMessage and PostMessage methods
3956 * X11Keyboard.cs: Switched to new way of calling PostMessage
3958 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
3960 * Theme.cs: Added theme interface for images to allow the theme to
3961 control what images are used for things like FileDialog, MessageBox
3963 * MessageBox.cs: Now uses the new Theme icon/image interfaces
3965 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
3968 - Removed some dead code
3969 - Opening a recently used file does work now
3970 - Small UI enhancements
3973 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3975 * FileDialog.cs: Forgot too add __MonoCS__
3977 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
3979 * FileDialog.cs: We are able to read recently used files now let's
3980 go on and write them.
3982 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
3984 * FileDialog.cs: Breathe some life into "last open"/"recently used"
3986 * MimeIcon.cs: Do a check for the top level media type also
3988 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
3990 * ThemeClearlooks.cs:
3991 - Added CPDrawStringDisabled
3992 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
3993 some chars if the text doesn't fit into text_rect
3994 - DrawListViewItem: If View = View.LargeIcon center the image;
3995 rewrote the drawing of ListViewItem.Text if View =
3998 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4000 * MimeIcon.cs: Use default KDE icon theme if there is no
4001 "48x48" directory for the current icon theme, fixes #77114
4002 * Mime.cs: Disable not working and actually not used code.
4003 * ThemeWin32Classic.cs:
4004 - Replace "new SolidBrush" in GetControlBackBrush and
4005 GetControlForeBrush with ResPool.GetSolidBrush
4006 - Changed DrawListViewItem from private to protected virtual
4008 - Added form.MaximizeBox = true
4009 - Don't throw an exception if there is a broken symbolic link
4011 2005-12-23 Jackson Harper <jackson@ximian.com>
4013 * TabControl.cs: Give the panels focus, keyboard navigation is
4014 fixed so this works correctly now.
4015 - We need these key events also.
4016 * ToolBar.cs: Remove some of the poor mans double buffering.
4018 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4020 * ComboBox.cs: The internal TextBox now returns the focus.
4022 2005-12-23 Jackson Harper <jackson@ximian.com>
4024 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4026 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4028 * Control.cs: Removed debug code
4029 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4032 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4034 * Control.cs: When creating the control, update the Z-order after
4035 all it's children are created, too. (Fixes nexxia not showing
4038 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4040 * Control.cs: Do not update the anchoring distances if layout is
4041 suspended, instead do it once layout is resumed
4043 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4046 - After many hours of debugging, for both Jackson and
4047 myself, it turns out that it helps to set the parent of a control
4048 if you want to actually see it onscreen. In the spirit of that
4049 discovery, we're now setting the parent of the control and
4050 it's children when the control's handle is created. This fix
4051 will make Lutz Roeder's Reflector run happily.
4052 - now just creating the handle instead of the whole control when
4053 getting a graphics context for the control.
4055 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4057 * ScrollableControl.cs: When calculating the canvas, don't consider
4058 the scrollbar widths. Instead, predict if horizontal scrollbar
4059 will affect canvas when deciding on vertical display and vice versa.
4061 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4063 * RichTextBox.cs: Set default RTF font for documents that don't
4064 have a font table (Fixes #77076)
4066 2005-12-22 Jackson Harper <jackson@ximian.com>
4068 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4069 clipboard. This prevents a NullRef in that case.
4070 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4071 clipboard. PRIMARY is for the currently selected text only. (We
4072 should implement PRIMARY at some point.
4074 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4076 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4077 a Unicode function with a structure that was defined in Ansi way.
4080 2005-12-21 Jackson Harper <jackson@ximian.com>
4082 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4083 on. Because thats how it rolls. (and this avoids it using ambient
4085 * ThemeWin32Classic.cs: Use the proper back color for filling.
4086 * Menu.cs: Use the system menu bar color for drawing menu
4087 bars. Using the window back color will bring ambient colours into
4090 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4092 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4093 Bitmaps were created and not disposed.
4095 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4097 * Control.cs (CreateControl): Don't do anything if the control is
4098 already created, otherwise we'd fire the OnCreated event more than
4101 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4103 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4104 will always match. Instead return -1. Fixes #76464.
4106 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4108 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4109 neither the beginning nor the end of the line (Fixes bug #76479)
4111 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4114 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4115 where handle is invalid
4116 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4117 instead of slower linear search
4118 * NativeWindow.cs: Don't remove the window from the hashtable until
4119 after the driver has destroyed it (since the driver might use
4120 Control.FromHandle to lookup the control object
4121 * Hwnd.cs: Added DestroyPending property to track if a window is
4122 already destroyed as far as the driver is concerned and only hasn't
4123 yet notified the control
4125 - Activate(): Check if the window is still valid before using the
4127 - Implemented DestroyChildWindow() method to mark child windows as
4128 destroyed when a window is destroyed. This prevents situations
4129 where we might call an X method based on queued events for a
4130 window that already has been destroyed but we haven't yet pulled
4131 the destroy method from the queue.
4132 - Added a call to the new DestroyChildWindow() method to the drivers
4133 DestroyWindow code. Also now marking the destroyed window itself
4136 2005-12-20 Jackson Harper <jackson@ximian.com>
4139 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4140 anymore. Just do them when needed, also track the rects of panels
4141 so that we can optimize refreshing more in the future.
4143 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4145 * ColorDialog.cs: Fixed focus drawing in small color controls
4147 2005-12-19 Jackson Harper <jackson@ximian.com>
4149 * InternalWindowManager.cs:
4150 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4151 moving windows works properly.
4153 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4156 - Removed call to InitLayout() from SetBoundsCore(); doc says
4157 it's only called when a control is added to a container
4158 - Split InitLayout logic, moved to separate UpdateDistances() method
4159 since we need to perform those calculations more often than just
4160 when adding the control to a container. (Needed to fix #77022)
4161 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4162 - Reduced the OnBindingContextChanged events count, don't send them
4163 unless the control is created, we still aren't totally matching
4164 MS, but I can't quite figure out some of their rules
4166 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4168 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4171 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4173 * ThemeClearlooks.cs:
4174 - Updated ProgressBar drawing
4175 - Corrected drawing of ScrollBars and scroll buttons
4176 - Some temporary fixes for minor pixel artefacts
4178 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4181 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4182 cause events to be sent in the same order as MS does.
4183 - Added ChangeParent() method to trigger various OnXXXChanged events
4184 that need to be fired when a parent changes (This is a reworking
4185 of the patch from r54254, with the X11 errors fixed)
4186 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4187 since on MS we get OnLayoutChanged events when calling Clear()
4188 - Changed Enabled property to consider parent state as well, if a
4189 parent is not enabled, the control will not be either
4190 - Changed Parent property to simply call Controls.Add() since that
4191 now does all the work required, this way we avoid code duplication
4192 - Threw in a few OnBindingsContextChanged calls to try and match
4193 when MS sends them. We seem to send a few too many, though.
4194 - Added call to CreateControl when adding the control to a parent.
4195 We were never calling CreateControl. Still needs some work, in
4196 some places we treat HandleCreated and ControlCreated as equal,
4198 - Removed obsolete commented out code from UpdateZOrder()
4200 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4202 * ThemeClearlooks.cs: Updated TrackBar drawing.
4204 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4206 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4208 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4210 * FileDialog.cs: Add the Help button and the open readonly
4211 checkbox only if needed
4213 2005-12-16 Jackson Harper <jackson@ximian.com>
4215 * Control.cs: Make sure we have an active menu before trying to
4216 process commands on it. Prevents menu-less forms from crashing
4217 when Alt is pressed.
4218 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4220 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4223 2005-12-16 Jackson Harper <jackson@ximian.com>
4225 * InternalWindowManager.cs: Don't translate tool windows screen
4226 coordinates. This fixes windows 'bouncing' around when being moved.
4228 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4231 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4232 not quite MS compatible, MS uses that number only for single line
4233 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4235 - Now enforcing the MaxLength limit when entering characters
4236 - Added argument to internal Paste() method to track if it's called
4237 from programatically or via keyboard, since keyboard driven pastes
4238 need to enforce max-length
4239 - Added logic to Paste to only paste as many chars as MaxLength
4241 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4243 - Added Length property to return number of characters in document
4244 - Added private CharCount property which only tracks actual chars
4245 in the document (no linefeeds) and fires event when CharCount
4247 - Added tracking of character count to all methods that alter it
4248 - Added LengthChanged event to allow applications to subscribe
4249 to any changes to the document
4251 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4254 - Removed local password_char field (moved to TextBoxBase)
4255 - Now setting the document's password var when password is
4258 - Added password_char field (needed here so MultiLine can
4260 - Added logic to MultiLine property setter to set the document's
4261 variable when password display is allowed
4262 - Removed debug code and made some debug code conditional
4264 - Added RecalculatePasswordLine() method to handle special password
4266 - Added PasswordChar property, also added related tracking vars
4267 - Draw() method now uses local text var for grabbing text to draw,
4268 this var is set to line.text unless we're doing password display,
4269 then it is set to the pre-generated all-password-chars line
4270 - Added calling RecalculatePasswordLine() method for password lines
4272 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4275 - Added Reparented property to allow tracking of Window Manager
4276 reparenting actions (which affect X/Y calculations of toplevel
4278 - Made ToString() print window handles in hex
4280 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4281 determine if X/Y needs offsetting
4282 - AddConfigureNotify(): Fixed offset calculations
4283 - Now adds ReparentNotify messages into the queue
4284 - Now processes ReparentNotify messages and causes a
4285 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4286 is reparented (as most likely it's X/Y coordinates are changed
4289 2005-12-14 Jackson Harper <jackson@ximian.com>
4291 * XplatUIX11.cs: Tool windows still need to respek focus.
4293 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4295 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4296 have a working release
4298 2005-12-13 Jackson Harper <jackson@ximian.com>
4300 * Form.cs: Update styles after setting the border style regardless
4301 of whether or not the window is using a window manager.
4303 2005-12-13 Jackson Harper <jackson@ximian.com>
4305 * Form.cs: We now hook into an internal window manager instead of just an
4306 MDI subsystem, this is so we can have properly behaving tool windows.
4307 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4308 * InternalWindowManager.cs: New internal class that acts as a
4309 window manager for tool windows and as a base for mdi windows.
4310 * MdiWindowManager.cs: New class that acts as a window manager for
4313 2005-12-12 Jackson Harper <jackson@ximian.com>
4315 * Control.cs: Updates so we match behavoir for for implicit
4316 controls. Fixes explosions in MDI.
4318 2005-12-12 Jackson Harper <jackson@ximian.com>
4320 * Control.cs: Implement Invalidate (Region).
4322 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4325 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4326 the same events as MS does. MS fires events for each property
4327 except, for unknown reasons, Cursor, when the control is reparented.
4328 I can't seem to totally match add/remove since MS also fires some
4329 VisibleChanged events, which makes no sense. Consolidated the
4330 parenting code into a separate method so it can be called from
4331 both Add and Remove. set_Parent no longer needs any special logic
4332 as it calls the parent's add method which implicitly fires
4334 - Removed some obsolete code and debug output
4335 - Enabled state is inherited from parents, if this is enabled
4337 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4339 * Form.cs: Removed commented out code
4341 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4344 - Added internal version of Invoke, with additional argument
4345 indicating if we're calling it from a Dispose() handler. That
4346 way we can avoid BeginInvoke throwing an exception if we're
4347 calling for an already destroyed window.
4348 - Added a dispose argument to BeginInvokeInternal, and made the
4349 check if a valid window handle chain exists conditional on
4350 it not being a dispose call
4351 - Removed code in DestroyHandle to destroy our children. Since we
4352 now handle the WM_DESTROY message we will catch all our children
4354 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4356 - Added a field to track the application context of the form.
4357 - No need to set closing variable as response to WM_CLOSE, instead
4358 we destroy the window. We also call PostQuitMessage if the form
4359 has an application context (which makes it the main app form,
4360 which, when closed terminates the app)
4362 - Dropped Exit() method, it's naming was confusing
4363 - Added PostQuitMessage() which causes GetMessage to return false
4364 once the message queue is empty
4365 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4367 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4368 no longer a valid XplatUI method, but left it in since it's used
4369 internally. Added empty PostQuitMessage() method.
4370 * MenuAPI.cs: Replaced call to Exit() with call to
4371 PostQuitMessage, even though this is probably no longer needed.
4372 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4373 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4375 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4376 - Removed old debug code that would call XplatUI for exception
4377 display, enabled standard exception handling (Still not enabled
4378 though, until NativeWindow's ExternalExceptionHandler define
4381 - Added internal method to allow control to update NativeWindow
4382 after a window has been destroyed
4383 - Added handling of already destroyed windows when calling i
4385 - Added removal of handle from list on ReleaseHandle
4387 - Dropped GetMessageResult var and related code
4388 - Added PostQuitState to field to track if PostQuitMessage has been
4390 - Dropped Exit() method
4391 - Added PostQuitMessage() method
4392 - GetMessage now will return false if PostQuitState is set and no
4393 more messages are in the queue.
4394 - Expose handler will no longer generate WM_PAINT messages if we are
4395 in PostQuitState since it's very likely any windows have already
4396 been destroyed, and since Hwnd won't get updated until we have
4397 processed the DestroyNotify we'd be causing X errors.
4399 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4401 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4402 Thanks to Mike for pointing out the err of my ways.
4404 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4406 * Control.cs(PreProcessMessage): Moved menu handling back, but
4407 after all other key handling, to match MS (who handles Menu in
4409 * Menu.cs (WndProc): Removed my brainfart
4411 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4413 * Control.cs(PreProcessMessage): Removed special menu handling
4414 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4416 2005-12-07 Mike Kestner <mkestner@novell.com>
4418 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4419 state according in tracker.
4420 * Menu.cs : promote tracker field to base class and provide a tracker
4421 lookup capability. Add/Remove shortcuts dynamically if the top menu
4422 has a tracker. Unparent items that are removed from the collection.
4423 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4424 * Theme*.cs: add always_show_hotkeys field to support configurability
4425 of mnemonic display. win32 doesn't show mnemonics until Alt is
4428 2005-12-07 Jackson Harper <jackson@ximian.com>
4430 * MdiChildContext.cs: Use Control.ResetCursor.
4431 * Control.cs: ResetCursor needs to set the property so that the
4432 correct XplatUI call gets made.
4434 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4436 * Control.cs: More fixes to make our key events match MS. We
4437 were not setting the modifier state on KeyData, and we were
4438 not generating any events when Alt was pressed with a key
4439 since handling of WM_SYSxxx was missing for the OnKey methods.
4441 2005-12-07 Jackson Harper <jackson@ximian.com>
4443 * MdiChildContext.cs: reenable the sizing code.
4444 - When the mouse leaves a window reset its cursor.
4446 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4448 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4450 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4452 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4453 widths of Fixed3D borders
4455 2005-12-07 Jackson Harper <jackson@ximian.com>
4457 * MdiClient.cs: Fix warnings. Earn Mike's love.
4459 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4461 * ThemeClearlooks.cs:
4462 - Adjusted mouse over button color
4463 - Added first parts of CheckBox drawing
4464 - Added correct color for selected text background
4465 - Fixed ComboBox drawing
4466 - Added CPDrawBorder3D and CPDrawBorder
4468 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4470 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4472 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4474 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4475 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4476 alert users via sound. We could add an enum arg with different
4477 types of alerts in the future
4479 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4481 * Control.cs: Fix behaviour problems pointed out by Mike
4483 2005-12-05 Mike Kestner <mkestner@novell.com>
4485 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4486 prop setters. Calls parent.Refresh for now, but could be maybe be
4487 optimized with an internal method on StatusBar at some point.
4490 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4492 * RichTextBox.cs: Implemented get_SelectionColor
4494 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4496 * ThemeClearlooks.cs:
4498 - Draw black button border only if button is Form.AcceptButton
4499 - Draw correct button color for pressed RadioButton if the mouse
4500 has entered the button
4501 - Updated ProgressBar drawing!
4502 - Updated CPDrawSizeGrip drawing
4503 - Updated StatusBarPanel drawing
4505 2005-12-05 Mike Kestner <mkestner@novell.com>
4507 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4508 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4510 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4512 * ThemeClearlooks.cs: Initial check-in, activate with
4513 export MONO_THEME=clearlooks
4514 * ThemeEngine.cs: Added ThemeClearlooks
4516 2005-12-03 Mike Kestner <mkestner@novell.com>
4518 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4521 2005-12-02 Jackson Harper <jackson@ximian.com>
4523 * Form.cs: If the child form has no menu the default main menu is
4524 used as the active menu.
4526 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4528 * ListBox.cs: Check if any items exist before trying to resolve
4529 coordinates into items
4531 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4533 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4534 as the second color for the background hatch
4536 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4538 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4539 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4540 sure that what we pass to FormatText is always 1-based. Fixes #76885
4542 2005-11-29 Miguel de Icaza <miguel@novell.com>
4544 * NumericUpDown.cs (EndInit): When we are done initializing,
4545 reflect any updates on the UI.
4547 2005-12-02 Jackson Harper <jackson@ximian.com>
4549 * ImplicitHScrollBar.cs:
4550 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4551 their container controls.
4552 * TreeView.cs: Use the new implicit scrollbars.
4554 2005-12-02 Jackson Harper <jackson@ximian.com>
4556 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4558 * TreeNodeCollection.cs: If we remove the topnode we need to
4559 update topnode to the next node in line.
4560 - When clearing nodes go through the same process as removing
4561 them, so they get depareneted and checked if they are top node.
4563 2005-12-01 Jackson Harper <jackson@ximian.com>
4565 * TreeView.cs: When imagelists are used the image area is
4566 selectable as well as the text.
4567 - If there are no selected nodes select the first one.
4568 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4569 so don't do it more then we need to.
4571 2005-12-01 Jackson Harper <jackson@ximian.com>
4573 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4574 that arrows can be scaled.
4576 2005-12-01 Jackson Harper <jackson@ximian.com>
4578 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4579 fail. Patch by Dieter Bremes
4581 2005-11-30 Jackson Harper <jackson@ximian.com>
4583 * Form.cs: Property is 2.0 only
4584 * PrintDialog.cs: Signature fix.
4586 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4589 - No longer artificially moves text 2 pixels down (now that we have
4590 borders this is no longer needed)
4591 - Added calcs for left, hanging and right indent
4593 2005-11-23 Mike Kestner <mkestner@novell.com>
4595 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4597 2005-11-30 Jackson Harper <jackson@ximian.com>
4599 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4600 get cloned as part of CloneMenu ().
4601 * Menu.cs: Make sure the parent of the items get set correctly
4602 when they are added. And the owners are notified of the changes.
4603 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4604 we can change the menu being displayed/handled by the form without
4605 changing the menu assosciated with the form.
4606 - Don't let Mdi children draw/handle menus.
4608 2005-11-30 Jackson Harper <jackson@ximian.com>
4610 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4611 a MenuChanged event. Just to make the API a little more
4614 * MenuItem.cs: Use the new OnMenuChanged
4615 * MdiChildContext.cs: Handle menu merging.
4616 * Form.cs: Implement MergedMenu.
4618 2005-11-30 Jackson Harper <jackson@ximian.com>
4620 * Menu.cs: We were misusing Add. Add goes behind the specified
4621 index according to the docs, and does not replace the specified
4622 index. So I added an Insert method.
4624 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4626 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4627 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4629 * RichTextBox.cs: Added calls to base for DnD events
4631 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4634 - Fixed drag-selection related crash; style fixes
4635 - Implemented undo class
4636 o Implemented method to capture document state for specified
4637 range in document tree
4638 o Implemented method to restore captured document state
4639 o Implemented cursor tracking
4640 o Implemented basic undo stack
4641 - Added undo cursor tracking to methods altering cursor location
4642 - Added undo tracking to selection deletion (still missing
4643 other text-altering hookups)
4645 - Added SelectionLength property
4646 - Implemented CanPaste()
4647 - Implemented Paste()
4648 - Added missing protected methods
4649 - Fixed RTF->Document conversion; now uses font index 0 and color
4650 index 0 as the default font for the parsed text
4651 - Fixed RTF<->Document font size translation
4652 - Fixed RTF generation, now properly handles cross-tag boundaries
4653 for single line selection
4654 - No longer always appends blank line to generated RTF
4656 - Added missing attributes
4657 - Hooked up undo-related methods
4659 - Implemented Copy()
4660 - Implemented Paste()
4662 - Fixed caret mis-behaviour on backspace across line-boundaries
4664 2005-11-29 Jackson Harper <jackson@ximian.com>
4666 * MdiClient.cs: Add a method for activating mdi children. Very
4667 basic right now. I imagine someday it might need more girth.
4668 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4669 children windows names are added to the menu item.
4670 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4671 mdilist. This happens regardless of whether or not there are any
4672 mdi windows to see in the list, and according to my tests happens
4673 before the items are even added. Also happens if there isn't even
4674 an mdi client to get windows from.
4676 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4678 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4679 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4681 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4683 * DataGridTableStyle.cs:
4684 - Create always the styles for the missing columns even if they are
4685 provided by the user (not default table style)
4688 - Fixes SetDataBinding (always re-attach source)
4689 - Fixes SetNewDataSource (only clear styles if they are not for
4691 - Expands OnTableStylesCollectionChanged to handle style refresh
4694 2005-11-29 Jackson Harper <jackson@ximian.com>
4696 * FileDialog.cs: Implement missing bits, remove some dead
4698 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4699 creation of the panel so that the options set on the dialog are
4700 seen when the panel is created.
4701 * TreeView.cs: raise a click when items are clicked.
4703 2005-11-29 Jackson Harper <jackson@ximian.com>
4705 * MdiClient.cs: Pass some signature methods through to base.
4707 2005-11-28 Jackson Harper <jackson@ximian.com>
4709 * ListView.cs: Raise the click event when items are clicked.
4711 2005-11-28 Jackson Harper <jackson@ximian.com>
4713 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4716 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4718 * ThemeNice.cs: - Removed 1 pixel bitmaps
4719 - Use SmoothingMode.AntiAlias where it makes sense
4720 (ScrollButton arrow for example)
4721 - Enhanced Button focus drawing
4722 - Fixed ComboBox drawing (no artefacts anymore, focus
4723 rectangle is back again, reduced size of ComboButton, etc.)
4724 - Fixed RadioButton focus drawing for Appearence.Button
4725 - Slight ScrollButton redesign
4726 - Some LinearGradientBrush size fixes
4727 - GroupBoxes have now rounded edges
4728 - Fixed StatusBar drawing
4730 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4732 * ThemeNice.cs: - Remove dead code
4733 - use correct background colors for menus, etc.
4734 - Fake pixel drawing with 1 pixel bitmaps
4736 2005-11-24 Jackson Harper <jackson@ximian.com>
4738 * MdiClient.cs: Size the scrollbars when resizing the window.
4739 - Resize the maximized windows when the client is resized
4740 * Form.cs: Make the child context available
4742 2005-11-23 Jackson Harper <jackson@ximian.com>
4744 * MdiChildContext.cs: Don't size windows if they are maximized.
4746 2005-11-23 Mike Kestner <mkestner@novell.com>
4748 * ContextMenu.cs: use MenuTracker.
4749 * Control.cs: remove menu handle usage.
4750 * Form.cs: remove menu handle usage.
4751 * Hwnd.cs: remove menu handle usage.
4752 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4753 motion and clicks to the new Tracker handlers.
4754 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4756 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4757 Killed the MENU and MENUITEM data types and associated collections
4758 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4759 MenuTracker class that exposes the leftovers from the old MenuAPI
4760 static methods. Restructured Capture handling so that only one grab is
4761 done for the entire menu hierarchy instead of handing off grabs to
4762 submenus. Tracker now has an invisible control to Capture when active.
4763 * MenuItem.cs: add sizing accessors, kill Create
4765 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4766 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4767 MENU(ITEM). remove menu handle usage, use Menu directly.
4768 * XplatUIDriver.cs: remove menu handle usage.
4769 * XplatUIOSX.cs: remove menu handle usage.
4770 * XplatUIWin32.cs: remove menu handle usage.
4771 * XplatUIX11.cs: remove menu handle usage.
4773 2005-11-22 Jackson Harper <jackson@ximian.com>
4775 * Hwnd.cs: Don't compute the menu size for
4776 DefaultClientRectangle.
4777 - Reenable menu sizes being computed for GetClienRectangle.
4778 * Form.cs: Remove comment of trechery
4780 2005-11-22 Jackson Harper <jackson@ximian.com>
4782 * Hwnd.cs: The adjustments for the menu bar are made when it is
4783 attached to the form.
4785 2005-11-19 Jackson Harper <jackson@ximian.com>
4787 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4788 (just like on windows).
4790 2005-11-19 Jackson Harper <jackson@ximian.com>
4792 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4793 use real buttons anymore because they are in non client area. The
4794 one TODO here is that I need to somehow invalidate a section of
4795 the non client area.
4797 2005-11-18 Jackson Harper <jackson@ximian.com>
4799 * Control.cs: Put the enum check back in now that MDI doesnt have
4800 to use this to set border styles.
4801 * Form.cs: Only set mdi child windows borders if the handle has
4803 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4804 this directly on to the driver.
4805 - Get the move start position before adjusting for the titlebar
4806 height, this fixes the windows "skipping" when they are first
4809 2005-11-18 Jackson Harper <jackson@ximian.com>
4811 * XplatUIX11.cs: Just compute the mdi borders separately as they
4812 don't totally match up with normal form borders.
4814 2005-11-18 Jackson Harper <jackson@ximian.com>
4816 * Control.cs: Set WS_ styles for borders, so that the driver does
4817 not have to retrieve the control instance to figure out what kind
4818 of borders it should have.
4819 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4820 driver can know its an mdi child easily.
4821 * XplatUIX11.cs: Get the border styles and whether the window is
4822 MDI from the Styles and ExStyles params instead of having to get a
4823 control. This prevents a chicken and egg problem.
4825 2005-11-18 Jackson Harper <jackson@ximian.com>
4827 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4829 2005-11-18 Jackson Harper <jackson@ximian.com>
4831 * MdiClient.cs: Calculate when to add and remove scrollbars
4833 * MdiChildContext.cs: Adjust the y position to take the titlebar
4835 - No height for FormBorderStyle.None
4837 2005-11-18 Jackson Harper <jackson@ximian.com>
4839 * Control.cs: Allow non enum values to be used for
4840 InternalBorderStyle. MDI does this to set a special border style.
4841 - New utility methods for converting points to/from client coords
4842 - Add the newly created control to the Controls collection before
4843 updating its style. This way UpdateStyle can walk the control
4844 heirarchy to find the control if needed.
4845 so I don't need to create a new Point object all the time.
4846 * Form.cs: Let MDI windows handle their border styles.
4847 - Set styles on MDI windows so the correct title style is derived.
4848 * MdiChildContext.cs: Move all the painting and window handling
4849 into the non client area.
4850 - Use correct sizing and put correct buttons on frames based on
4851 the FormBorderStyle.
4852 - Notify the mdi client about scrolling
4853 - Need to handle the buttons ourselves now, because they are all
4854 in non client areas and we can't add controls there.
4855 * MdiClient.cs: Halfway to scrolling, this implementation is
4856 somewhat broken though, we need to check to make sure other
4857 windows aren't causing scrolling before removing the bars. Also
4858 the bars need to be drawn on top, maybe I can switch implicit
4859 controls to be on top.
4860 * Hwnd.cs: caption_height and tool_caption_height are now
4861 properties of an hwnd, this way they can be set by the driver
4862 based on the type of window they are. In X11 the window manager
4863 handles the decorations so caption_height is zero unless its an
4865 - Add 3 pixel borders for MDI windows (0xFFFF).
4866 - Get rid of some code duplication, have DefaultClientRectanle
4867 just call GetClientRectangle.
4868 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4870 - Set border styles differently for mdi windows.
4871 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4874 2005-11-15 Mike Kestner <mkestner@novell.com>
4876 * Menu.cs: when adding an item to the collection, if item is already
4877 parented, remove it from the parent.
4879 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4881 * X11DesktopColors.cs: Added KDE support
4883 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4886 - Clipboard methods now can translate Rtf format
4887 - No longer removes clipboard contents whenever a new format is added
4888 to allow placing multiple formats on the clipboard
4889 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4890 will place all formats contained in it onto the clipboard. Also
4891 now cleans the clipboard before placing a new object onto it
4893 - Implemented set_Rtf
4894 - Implemented set_SelectedRtf
4895 - Created InsertRTFFromStream() method to allow single code base
4896 for all properties and methods that insert RTF into document
4897 - Removed debug output
4899 - Fixed Delete(int) to fix up line numbers
4900 - Fixed ReplaceSelection to combine start and end line
4901 - Fixed serious DeleteChars bug that would leave the document tree
4903 - Improved DumpTree with several logic checks to detect broken
4905 - Removed debug lines
4906 - Fixed Caret.WordForward/WordBack moving code, now always also
4907 updates caret.tag (fixes crash when word-selecting across tag
4908 boundaries via keyboard)
4909 - Added Insert() method for inserting multiline text into documents
4910 - Fixed DeleteChars() calculation errors that would cause a broken
4911 tag chain with multiple tag lines
4912 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4913 - Split() no longer moves caret if split is at caret location
4914 - ReplaceSelection() now updates the cursor and re-displays it
4915 - ReplaceSelection() now uses new Insert() method to avoid code
4917 - FormatText() can now handle formatting partial lines
4919 - Append now uses new TextControl.Insert() method (this avoids
4921 - Implemented Ctrl-X (Cut) (
4922 - Implemented Ctrl-C (Copy)
4923 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
4924 regeneration when pasting text; roundtripping Copy&Paste within
4925 edit control still fails due to some calculation bugs in GenerateRTF)
4926 - The Delete key will now remove the current selection if it is visible
4927 * TextBox.cs: Removed debug lines
4928 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
4929 driver to be initialized and can't therefore be done via a static ctor)
4931 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
4933 * TextControl.cs: Added backend code for finding char arrays and strings
4935 - Added mouse wheel scroll support
4936 - Added support for VScroll and HScroll events
4938 - Implemented all seven Find() variants
4939 - Implemented GetCharFromPosition()
4940 - Implemented GetCharIndexFromPosition()
4941 - Implemented GetLineFromIndex()
4942 - Implemented GetPositionFromCharIndex();
4943 - Implemented SaveFile for PlainText and UnicodeText
4944 - Fixed set_Font, now setting a new font applies that font to
4946 - Implemented generic Document to RTF converter
4947 - Implemented SaveFile for RichText format (still missing unicode
4948 conversion for non-ansi chars)
4949 - Implemented get_Rtf
4950 - Implemented get_SelectedRtf
4952 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
4954 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
4955 to allow any captures to be released before triggering OnClick. This
4956 way a click handler may capture the mouse without interference.
4957 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
4958 This way we send them even though X may not allow a grab (if the window
4959 isn't visible, for example)
4961 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
4963 * DataGridViewRowEventArgs.cs: DataGridView implementation
4964 * DataGridViewElement.cs: DataGridView implementation
4965 * DataGridViewComboBoxCell.cs: DataGridView implementation
4966 * DataGridViewDataErrorContexts.cs: DataGridView implementation
4967 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
4968 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
4969 * ImageLayout.cs: DataGridView implementation
4970 * DataGridViewComboBoxColumn.cs: DataGridView implementation
4971 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
4972 * DataGridViewSelectionMode.cs: DataGridView implementation
4973 * IDataGridViewEditingControl.cs: DataGridView implementation
4974 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
4975 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
4976 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
4977 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
4978 * DataGridViewColumnSortMode.cs: DataGridView implementation
4979 * DataGridView.cs: DataGridView implementation
4980 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
4981 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
4982 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
4983 * Padding.cs: DataGridView implementation
4984 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
4985 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
4986 * DataGridViewRowEventHandler.cs: DataGridView implementation
4987 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
4988 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
4989 * DataGridViewButtonCell.cs: DataGridView implementation
4990 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
4991 * DataGridViewEditMode.cs: DataGridView implementation
4992 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
4993 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
4994 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
4995 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
4996 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
4997 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
4998 * DataGridViewCellEventHandler.cs: DataGridView implementation
4999 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5000 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5001 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5002 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5003 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5004 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5005 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5006 * QuestionEventArgs.cs: DataGridView implementation
5007 * IDataGridViewEditingCell.cs: DataGridView implementation
5008 * DataGridViewTriState.cs: DataGridView implementation
5009 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5010 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5011 * DataGridViewColumnCollection.cs: DataGridView implementation
5012 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5013 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5014 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5015 * DataGridViewColumn.cs: DataGridView implementation
5016 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5017 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5018 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5019 * DataGridViewRow.cs: DataGridView implementation
5020 * DataGridViewImageCellLayout.cs: DataGridView implementation
5021 * DataGridViewImageCell.cs: DataGridView implementation
5022 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5023 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5024 * DataGridViewHeaderCell.cs: DataGridView implementation
5025 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5026 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5027 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5028 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5029 * QuestionEventHandler.cs: DataGridView implementation
5030 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5031 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5032 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5033 * DataGridViewCell.cs: DataGridView implementation
5034 * DataGridViewCellEventArgs.cs: DataGridView implementation
5035 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5036 * DataGridViewCellStyle.cs: DataGridView implementation
5037 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5038 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5039 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5040 * TextFormatFlags.cs: DataGridView implementation
5041 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5042 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5043 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5044 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5045 * DataGridViewButtonColumn.cs: DataGridView implementation
5046 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5047 * HandledMouseEventArgs.cs: DataGridView implementation
5048 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5049 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5050 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5051 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5052 * DataGridViewRowCollection.cs: DataGridView implementation
5053 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5054 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5055 * DataGridViewHitTestType.cs: DataGridView implementation
5056 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5057 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5058 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5059 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5060 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5061 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5062 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5063 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5064 * DataGridViewContentAlignment.cs: DataGridView implementation
5065 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5066 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5067 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5068 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5069 * DataGridViewPaintParts.cs: DataGridView implementation
5070 * DataGridViewCellCollection.cs: DataGridView implementation
5071 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5072 * DataGridViewImageColumn.cs: DataGridView implementation
5073 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5074 * DataGridViewElementStates.cs: DataGridView implementation
5075 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5076 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5077 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5078 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5079 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5080 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5081 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5082 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5083 * DataGridViewTextBoxCell.cs: DataGridView implementation
5084 * DataGridViewBand.cs: DataGridView implementation
5085 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5086 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5087 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5088 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5089 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5090 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5091 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5092 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5093 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5094 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5095 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5097 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5099 * ThemeWin32Classic.cs:
5100 - Draw the outside focus rectangle around buttons
5101 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5102 doesn't use end caps for every dash of a line anymore. This
5103 workaround ignores the forecolor.
5105 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5107 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5110 2005-11-07 Jackson Harper <jackson@ximian.com>
5112 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5114 2005-11-07 Jackson Harper <jackson@ximian.com>
5116 * ScrollableControl.cs: Calculate the maximum and change vars
5117 (more) correctly so that scrollbars appear as a sensible size.
5119 2005-11-04 Jackson Harper <jackson@ximian.com>
5121 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5123 * TreeView.cs: When the tree is sorted null out the top_node so
5124 that it is recalculated.
5125 - Use dotted lines instead of dashed lines to match MS better.
5127 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5130 - Implements key search for items. Useful when browsing files with FileDialog
5131 - When changing view mode or when clear the items reset scrollbar positions
5133 2005-11-04 Jackson Harper <jackson@ximian.com>
5135 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5136 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5137 as to what the method may do as there is no real way of creating a
5138 derived CurrencyManager and calling the method.
5140 2005-11-03 Jackson Harper <jackson@ximian.com>
5142 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5143 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5144 method which seems to just be used internally to refresh the tabs.
5146 2005-11-03 Jackson Harper <jackson@ximian.com>
5148 * TabControl.cs: Implement the remove method. Fix some broken
5151 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5153 * DateTimePicker.cs:
5154 - Added missing DateTimePickerAccessibleObject class
5155 - Added missing events
5156 - Added OnFontChanged method
5157 * Form.cs: Added missing attributes
5158 * TreeView.cs: Added missing attributes
5160 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5162 * GridItemCollection.cs: Fix signatures
5164 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5166 * XplatUI.cs: Updated build rev/date
5167 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5168 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5169 * Application.cs: Trigger context-specific ExitThread events
5171 2005-11-03 Jackson Harper <jackson@ximian.com>
5175 * GridTableStylesCollection.cs:
5180 * MonthCalendar.cs: Signature fixes
5182 2005-11-03 Jackson Harper <jackson@ximian.com>
5184 * TreeNodeCollection.cs: Remove should not be virtual.
5185 * TreeView.cs: Implement the last of the missing methods.
5187 2005-11-03 Jackson Harper <jackson@ximian.com>
5189 * TreeNodeConverter.cs: Implement to get off my class-status back.
5191 2005-11-03 Jackson Harper <jackson@ximian.com>
5193 * TreeView.cs: Hookup the bits for drag and drop.
5194 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5195 that nodes can be moved from tree to tree easily this just causes
5196 all sorts of problems.
5197 * TreeNodeCollection: Don't need to give treenodes an index and
5198 treeview anymore when they are added, these are computed on the
5199 fly. Also make sure to remove a node before its added.
5201 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5204 - Added CaretSelection enum
5205 - Added comparison methods to Marker struct, makes selection code
5207 - Added SelectionStart and SelectionEnd as 'moveable' location for
5208 the CaretDirection enum and handler
5209 - Added selection_prev variable to track optimized invalidation for
5210 word and line selection
5211 - Added SelectionVisible property (returns true if there is a valid
5213 - Switched CaretHasFocus to only display the caret if there is no
5215 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5216 using the direct character index; should be much faster
5217 - Added various conditional debug statements
5218 - Fixed invalidation calculation for selection ranges
5219 - Added ExpandSelection() method to support word and line selection
5220 - Switched SetSelectionToCaret to use new Marker compare overloads
5221 - Added central IsWordSeparator() method to determine word
5222 separators/whitespace and FindWordSeparator() to streamline common
5223 usage of IsWordSeparator()
5225 - Removed unneeded grabbed variable, it was just mirroring
5227 - No longer firing OnTextChanged event when Text setter is called,
5228 since the base will fire the event for us
5229 - Added handling of Ctrl-Up/Down selection
5230 - Added handling of Shift-Cursorkey selection
5231 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5233 - Added handling of Shift and Ctrl-Shift-Home/End selection
5234 - Removed some debug output
5235 - Added handling for single/double/tripple-click to place caret/
5236 select word/select line respectively (Fixes bug #76031)
5237 - Added support for drag expansion of word/line selection
5238 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5241 2005-11-02 Jackson Harper <jackson@ximian.com>
5243 * X11Dnd.cs: If the drag is going to and from a MWF window just
5244 copy the data instead of sending it out through the X Selection
5247 2005-11-02 Jackson Harper <jackson@ximian.com>
5250 * XplatUIX11.cs: When in a drag we don't want motion notify
5251 messages to get passed on to the other controls. This prevents
5252 mouse move messages from showing up in the drag source.
5254 2005-11-02 Jackson Harper <jackson@ximian.com>
5256 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5257 the correct button is release to end a drag.
5258 * XplatUIX11.cs: Make the button state internal so the drag system
5259 can access it. Dragging needs to know about all button releases,
5260 not just left button.
5262 2005-11-02 Miguel de Icaza <miguel@novell.com>
5264 * Form.cs (Icon): If the icon is null, reset the icon to the
5267 * Cursor.cs: When writing the AND-mask bitmap do not include the
5268 number of colors, but hardcode those to two (black and white),
5269 fixes the loading of color cursors (Paint Dot Net).
5271 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5272 turn off autoscaling.
5274 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5276 2005-11-02 Jackson Harper <jackson@ximian.com>
5278 * X11Dnd.cs: Make sure to send a status message if the pointer
5279 enters a control that can not accept a drop, otherwise the cursor
5280 isn't updated correctly. Also tried to compress the lines of code
5283 2005-11-02 Jackson Harper <jackson@ximian.com>
5285 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5286 set actions correctly. This isn't perfect as XDND and win32 have
5287 some differences on how you allow actions. I'll clear this up by
5288 adding a path for drag from MWF to MWF windows.
5289 * XplatUIX11.cs: Hook into the dnd system.
5291 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5293 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5294 previously shown but they are no longer need it. Very obvious when
5295 browsing files with FileDialog.
5297 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5299 * Control.cs: We always need to call OnPaintBackground. We pretty much
5300 ignore AllPaintingInWmPaint and always do the painting there, whether
5301 it's set or not, since we always ignore the WM_ERASEBKGND message
5302 (which we don't generate on X11). This fixes #76616.
5303 * Panel.cs: Removed unneeded background painting. This happens properly
5304 in Control.cs already
5306 2005-10-31 Mike Kestner <mkestner@novell.com>
5308 * Menu.cs: Add items to collection before setting their index.
5309 * MenuItem.cs : add range checking with ArgumentException like MS.
5312 2005-10-31 Jackson Harper <jackson@ximian.com>
5314 * ListBox.cs: Invalidate if the area is visible at all not just
5315 contained in the visible rect. Fixes unselection of semi visible
5318 2005-10-31 Jackson Harper <jackson@ximian.com>
5320 * Control.cs: Consistently name the dnd methods. Make them
5321 internal so we can override them to match some MS behavoir
5323 * Win32DnD.cs: Use the new consistent names.
5325 2005-10-31 Jackson Harper <jackson@ximian.com>
5327 * TreeView.cs: Don't draw the selected node when we lose focus.
5329 2005-10-31 Jackson Harper <jackson@ximian.com>
5331 * X11Dnd.cs: We still need to reset the state even though a full
5332 reset isn't being done, otherwise status's still get sent all over
5335 2005-10-31 Jackson Harper <jackson@ximian.com>
5337 * Control.cs: Make the dnd_aware flag internal so the dnd
5338 subsystem can check it. Catch exceptions thrown in dnd handlers to
5340 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5341 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5342 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5343 flags to reduce the number of dnd enters/status's sent.
5345 2005-10-31 Jackson Harper <jackson@ximian.com>
5347 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5349 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5351 * PictureBox.cs: Fixes 76512
5353 2005-10-28 Jackson Harper <jackson@ximian.com>
5355 * X11Dnd.cs: Early implementation to support winforms being a drag
5356 source for data on X11. Also restructured the converters so they
5357 can go both ways now.
5358 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5360 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5362 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5365 2005-10-27 Jackson Harper <jackson@ximian.com>
5367 * TreeNode.cs: Implement serialization so my DnD examples will work.
5369 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5371 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5372 TreeView.cs: Don't dispose objects that are not owned.
5374 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5376 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5377 should retrieve the current cursor and report that, but XplatUI
5378 doesn't (yet) have an interface for that (and I'm not sure I even
5380 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5381 until any message loop processing is done (and the WM_SETCURSOR
5382 replaces the cursor to the proper one)
5384 - Fixed override behaviour, we can't set the cursor globally on X11,
5385 just for our windows.
5386 - Invalidating the System.Drawing X11 display handle when we are
5388 * Control.cs: Fix to make csc happy
5390 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5393 - get_Text: Add last line (without trailing newline) to returned
5395 - get_TextLength: Count last line in returned length
5396 - ToString: Call Text property instead of duplicating code
5398 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5400 * ImageList.cs: Dispose ImageAttributes objects.
5402 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5404 * ImageList.cs: Use attribute constructors with less arguments where
5407 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5409 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5410 Use typeof instead of strings when assembly is referenced. Added
5413 2005-10-21 Jackson Harper <jackson@ximian.com>
5415 * ListView.cs: Raise a double click event. Also tried to somewhat
5416 fix when the selectedindexchanged event is raised. Its still
5419 2005-10-21 Jackson Harper <jackson@ximian.com>
5421 * TreeView.cs: New method to invalidate the plus minus area of a
5422 node without invalidating the whole node (maybe this can be used
5423 in some more places).
5424 * TreeNodeCollection.cs: When adding to an empty node we need to
5425 invalidate its plus minus area so the little block shows up.
5427 2005-10-21 Jackson Harper <jackson@ximian.com>
5429 * TreeView.cs: Make sure that when we invalidate a node the bounds
5430 are big enough to cover the selected box and the focus
5431 rectangle. Use a different colour for the lines connecting nodes
5432 so they show up with all themes.
5434 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5436 * NativeWindow.cs: Don't call anything that could call into the driver,
5437 we might be on a different thread.
5439 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5441 * Control.cs(Dispose): Since Dispose might run on a different thread,
5442 make sure that we call methods that could call into the driver via
5443 invoke, to avoid thread issues
5445 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5447 * XplatUI.cs: Removed finalizer
5448 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5449 not allowing to be called on the finalizer thread.
5451 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5454 - Reverted r51889 and r51891.
5455 - Added ImageListItem class that stores unmodified image items and image
5456 properties required to create list images until handle is created.
5457 - Added AddItem and moved image creation logic to AddItemInternal.
5458 - Added CreateHandle method that creates images based on unmodified items.
5459 - Added DestroyHandle that changes state to store unmodified items.
5460 - Add and AddStrip methods no more create handle.
5461 - ReduceColorDepth has no return value.
5462 - Dispose destroys handle.
5463 - Modified other methods to reflect the above changes.
5464 - Implemented key support.
5465 - Added profile 2.0 members and attributes.
5466 - Added private Reset and ShouldSerialize methods that provide the same
5467 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5468 them as they are private.
5469 - Added some more comments about implementation details.
5471 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5473 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5475 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5477 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5479 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5481 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5482 * DataGridColumnStyle.cs: Remove debug message
5484 2005-10-20 Jackson Harper <jackson@ximian.com>
5486 * TreeView.cs: We can always get input keys regardless of whether
5487 or not editing is enabled. They are used for navigation.
5489 2005-10-20 Jackson Harper <jackson@ximian.com>
5491 * TreeNode.cs: Use the viewport rect for determining if a node
5492 needs to be moved for visibility. Don't use Begin/End edit. This
5493 calls a full refresh when its done.
5494 * TreeView.cs: New SetBottom works correctly. Make the viewport
5495 rect property internal so the treenodes can see it. When clicking
5496 on a node we need to ensure that its visible because it might just
5497 be partly visible when clicked.
5499 2005-10-20 Jackson Harper <jackson@ximian.com>
5501 * TreeNodeCollection.cs: Remove debug code.
5503 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5505 * Datagrid.cs: Implements column sorting in Datagrid
5506 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5508 2005-10-20 Jackson Harper <jackson@ximian.com>
5510 * TreeNodeCollection.cs: Remove items properly. Update the correct
5511 area after removing them.
5513 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5515 * Datagrid.cs: Should not call base.OnPaintBackground
5517 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5519 * XplatUIX11.cs (GetMessage):
5520 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5521 window instead of client window
5522 - Now properly calculates NC_xBUTTONUP message coordinates
5523 - ScreenToMenu now properly calculates it's coordinates of whole
5524 window, since menus are in the whole window, not in the client
5526 - Added WholeToScreen coordinate translation method
5528 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5530 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5531 want to return a message, loop back to the beginning of the function
5532 and grab the next real message to process instead.
5534 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5536 * Splitter.cs: Properly set limits if no filler control is used
5538 2005-10-19 Jackson Harper <jackson@ximian.com>
5540 * ColorDialog.cs: Don't show the help button if it is not enabled
5541 instead of disabling it (this is what MS does). Don't create the
5542 panel until the dialog is run, otherwise the vars (such as
5543 ShowHelp) are not set yet.
5545 2005-10-19 Jackson Harper <jackson@ximian.com>
5547 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5548 are reduced when adding nodes.
5550 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5553 2005-10-19 Jackson Harper <jackson@ximian.com>
5555 * FolderBrowserDialog.cs: End editing our treeview so the window
5556 actually gets refreshed.
5558 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5560 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5561 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5564 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5566 * MenuAPI.cs: Returns after Hidding window
5567 * XplatUIX11.cs: Added TODO found while debugging menu issues
5569 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5571 * XplatUIX11.cs: Do not re-map the whole window when it's size
5572 becomes non-zero unless it's supposed to be actually visible
5574 2005-10-18 Jackson Harper <jackson@ximian.com>
5576 * TreeView.cs: We don't need to keep a count anymore.
5577 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5578 use the Grow method.
5580 2005-10-18 Jackson Harper <jackson@ximian.com>
5582 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5583 implement it manually here.
5585 2005-10-18 Jackson Harper <jackson@ximian.com>
5587 * ImageList.cs: Dont kill the list when the colour depth is
5588 changed, just change the colour depth of all the images.
5589 - Same goes for setting the image size. Just resize them all
5590 instead of killing the list softly.
5592 2005-10-18 Jackson Harper <jackson@ximian.com>
5594 * Control.cs: Don't invalidate empty rectangles.
5596 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5599 - Adds checked item to the Checked/Item lists (where empty before)
5600 - Do not add items to the Selected lists if they are already present
5602 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5603 - When deleting items make sure that we delete them for the Selected
5604 and Checked list also.
5606 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5608 * Label.cs: Dispose objects no longer used
5609 * ThemeWin32Classic.cs: Dispose objects no longer used
5611 2005-10-18 Jackson Harper <jackson@ximian.com>
5613 * TabControl.cs: Don't refresh the whole control when the tabs are
5614 scrolled, we just need to refresh the tab area.
5616 2005-10-17 Jackson Harper <jackson@ximian.com>
5618 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5619 after handle when we need it.
5621 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5623 * Control.cs: When the parent size changes, recalculate anchor
5624 positions. Partial fix for #76462
5626 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5628 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5631 2005-10-17 Jackson Harper <jackson@ximian.com>
5633 * MonthCalendar.cs: Don't create the numeric up down until our
5634 handle is created. Otherwise our handle is created in the
5635 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5638 2005-10-17 Jackson Harper <jackson@ximian.com>
5640 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5643 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5644 * TreeNode.cs : small logical fix (was using local var instead of field)
5646 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5648 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5650 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5652 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5654 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5657 - Re-implemented anchoring code. My first version was really broken.
5658 This fixes bug #76033. Unlike the previous implementation we will
5659 no longer have round errors since all numbers are calculated from
5660 scratch every time. Removed various anchor-related obsolete vars.
5661 - InitLayout no longer causes layout event firing and layout to be
5664 2005-10-16 Jackson Harper <jackson@ximian.com>
5666 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5669 2005-10-16 Jackson Harper <jackson@ximian.com>
5671 * TabControl.cs: Remove debug code.
5673 2005-10-16 Jackson Harper <jackson@ximian.com>
5675 * XEventQueue.cs: Increase the default queue size (very simple
5676 apps needed to grow the queue).
5677 * Hwnd.cs: No finalizer so we don't need to suppress
5678 finalization. Compute the invalid area manually so a new rectangle
5679 does not newto be created.
5680 * ScrollableControl.cs: Don't set any params (otherwise visibility
5681 isn't set correctly).
5682 * MdiChildContext.cs: New constructor takes the mdi parent so it
5683 doesn't have to be computed and avoids a crash on windows. Draw
5684 the window icon properly, and allow the text to be seen.
5685 * Form.cs: Use new MdiChildContext constructor. Make sure the
5686 child context isn't null in wndproc.
5687 * TabControl.cs: Don't set focus, this is muddling keyboard
5688 behavoir. Expand the tab rows when a window size increase will
5689 allow extra tabs to be seen. Don't allow tabs smaller than the
5690 width of a window to be scrolled out of view.
5692 * TreeView.cs: Use measure string to calculate a nodes width, the
5693 width is cached and only updated when the text or the font is
5694 changed. Don't check for expand/collapse clicks on the first level
5695 nodes if root lines are disabled.
5697 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5699 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5701 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5703 * DataGridBoolColumn.cs: fixes warning
5705 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5707 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5708 to match more to match more precisely the MS Net behavior
5710 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5712 * Hwnd.cs: Added field to track if window is mapped
5714 - Unmap windows if they become 0-size, re-map when
5715 they are >0 again; fixes #76035
5716 - Re-set our error handler after initializing X11Desktop
5717 to override any error handlers Gtk or whatever was called
5720 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5722 * CheckedListBox.cs: Removed unused vars
5723 * ListView.cs: Fixed signatures
5724 * RichTextBox.cs: Removed unused vars
5725 * TextBoxBase.cs: Removed unused vars
5726 * XplatUIWin32.cs: Removed unused vars
5727 * XplatUIX11.cs: Removed unused vars
5728 * XplatUI.cs: Updated version and date to latest published
5730 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5732 * Cursor.cs: Added private .ctor to work around a bug in
5733 resourceset (Thanks to Geoff Norton for the help on this)
5734 * SplitterEventArgs.cs: Made fields accessible so we don't
5735 waste boatloads of objects and can reuse the same one
5737 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5738 any captions and borders when generating screen coordinates
5739 * Splitter.cs: Reimplemented control, now fully complete, uses
5740 rubberband drawing, supports and obeys all properties, has
5743 2005-10-13 Miguel de Icaza <miguel@novell.com>
5745 * Form.cs (Form): Setup default values for autoscale and
5746 autoscale_base_size; Make these instance variables, not static
5749 (OnLoad): on the first load, adjust the size of the form.
5751 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5753 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5754 width argument to DrawReversibleRectangle()
5755 * XplatUIWin32.cs, XplatUIX11.cs:
5756 - Implemented width for DrawReversibleRectangle()
5757 - Added logic to DrawReversibleRectangle that recognizes a zero
5758 width or height and only draws a line in that situation
5760 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5762 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5763 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5764 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5765 method (it uses our FosterParent window to get a graphics context)
5767 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5769 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5770 and SetWindowBackground methods
5772 - Setting proper ControlStyles
5773 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5774 EraseWindowBackground, instead we draw the window background
5775 ourselves in PaintControlBackground. This behaviour is
5776 required to match MS, where, when OnPaintBackground is not
5777 called, the background is not drawn.
5778 - Removed unneeded Refresh() in set_Text
5779 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5781 - Created DeriveStyles method to translate from CreateParams to
5782 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5783 matches FormBorderStyle enum values)
5784 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5785 style calculations into single DeriveStyles method
5786 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5787 from redrawing the whole window on any resize or expose.
5788 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5789 all styles were applied to our whole/client window appropriately
5790 - Removed EraseWindowBackground() and SetWindowBackground() methods
5791 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5792 no longer clear/redraw the background through X
5793 - Removed handling of erase_pending bit, we have no use for it (or
5796 - Removed generation and handling of WM_ERASEBKGND message
5797 - Removed EraseWindowBackground() and SetWindowBackground() methods
5798 - Removed handling of hwnd.ErasePending flag
5800 - Removed EraseWindowBackground() and SetWindowBackground() methods
5801 - We no longer call EraseWindowBackground on PaintEventStart, we
5802 ignore the fErase flag, erasing is handled in Control in the
5804 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5805 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5806 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5807 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5808 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5809 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5810 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5812 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5814 * PropertyGrids.cs: Get sub properties
5815 * PropertyGridView.cs: Fix drawing code
5817 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5819 * ListBox.cs: Fixes 76383
5821 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5823 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5824 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5825 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5828 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5830 * ComboBox.cs: Fixes border drawing
5832 2005-10-10 Miguel de Icaza <miguel@novell.com>
5834 * MimeIcon.cs: Ignore errors if the file can not be read.
5836 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5838 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5839 - Fixed border calculations
5840 - Fixed horizontal scrolling in single column listboxes
5841 - Fixed drawing issues
5843 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5845 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5846 FormBorderStyle enum
5847 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5848 code to determine FormBorderStyles from CreateParams
5850 - Fixed bug where we'd set the wrong window styles if we were
5851 not creating an MDI window
5852 - Added call to XplatUI.SetBorderStyle when form borders are set
5853 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5855 - Removed obsolete edge style
5856 - Switched from BorderStyle to FormBorderStyle
5858 2005-10-10 Jackson Harper <jackson@ximian.com>
5860 * Form.cs: Use the property to get the window handle instead of
5861 accessing it directly. Prevents a null reference exception.
5863 2005-10-10 Jackson Harper <jackson@ximian.com>
5865 * TreeView.cs: Don't adjust the rect given to DrawString now that
5866 our libgdiplus draws correctly.
5868 2005-10-08 Jackson Harper <jackson@ximian.com>
5870 * TreeView.cs: Don't try to find the clicked on node if there are
5871 no nodes in the tree.
5873 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5879 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5881 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5882 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5884 Use ResPool for brushes and dispose System.Drawing objects that
5885 are not used anymore.
5887 2005-10-07 Jackson Harper <jackson@ximian.com>
5889 * MdiChildContext.cs: Use the new borders instead of drawing them
5892 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5894 * Calling UpdateBounds after changing the window's BorderStyle
5895 since the style can change the ClientSize
5897 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5899 * Control.cs: Made PaintControlBackground virtual
5900 * Panel.cs: Overriding PaintControlBackground instead of using paint
5901 event; paint event method was interfering with 'real' users of the
5904 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5906 * ThemeWin32Classic.cs: remove border drawing since it is handled
5907 by the base control class now and was causing double border drawing.
5909 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5911 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5912 but it does seem to match MS behaviour. This fixes bug #75324
5914 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5916 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5917 somewhat hackish looking
5919 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5922 - We now accept Enter even if AcceptEnter is false, if the containing
5923 form does not have an AcceptButton configured (fixes bug #76355)
5924 - Calculations are now fixed to no longer use Width/Height, but
5925 ClientSize.Width/Height, since we now support borders (this was
5926 a result of fixing borders and therefore bug #76166)
5927 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
5928 true (fixes bug #76354)
5930 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5933 - Defaulting BorderStyle and setting it in XplatUI when our window
5935 - Added enum check to InternalBorderStyle setter
5937 - Added drawing of window borders
5938 - Now properly calculates WM decorations offset for toplevel
5939 windows (fixes bug #74763)
5941 - Implemented BorderStyles for windows (we're letting win32 draw
5943 - Fixed the signature for SetWindowLong
5944 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
5945 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
5947 * UpDownBase.cs: Remove drawing of borders, this is handled by
5948 the driver, outside the client area
5949 * ListView.cs: Removed bogus border calculations. The control should
5950 be oblivious to borders, since those are not part of the client
5952 * X11DesktopColors.cs: Commented out (currently) unneeded variables
5953 * ThemeWin32Classic.cs: Removed border calculations from ListView
5956 2005-10-06 Jackson Harper <jackson@ximian.com>
5958 * MdiChildContext.cs: Clear out the old virtual position remove
5959 all the unneeded calls to CreateGraphics.
5961 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5963 * TextControl.cs: Use proper color for highlighted text; fixes #76350
5965 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5968 - Added loading and setting of our new default icon
5969 - Only set icon if window is already created
5971 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5974 - Do not explicitly set the foreground and background colors, to
5975 allow inheriting from parents (fixes #76302)
5976 - Use Control's InternalBorderStyle property to deal with borders
5978 2005-10-06 Jackson Harper <jackson@ximian.com>
5980 * MdiChildContext.cs: Use the new xplatui function to draw a
5983 2005-10-06 Jackson Harper <jackson@ximian.com>
5985 * Form.cs: Add the parent before creating the child context cause
5986 we need the parent when setting up the child.
5988 2005-10-06 Jackson Harper <jackson@ximian.com>
5990 * FolderBrowserDialog.cs: redo the tree population code so a
5991 second thread isn't used. Should be a lot faster and more stable
5994 2005-10-05 Jackson Harper <jackson@ximian.com>
5996 * TreeView.cs: There are no expand/collapse boxes if the node has
5999 2005-10-05 Jackson Harper <jackson@ximian.com>
6001 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6003 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6005 * FileDialog.cs: Fix InitialDirectory
6007 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6010 - Fixes changing between styles
6012 - Fixes last item crashing when navigating with keyboard
6014 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6016 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6018 2005-10-05 Jackson Harper <jackson@ximian.com>
6020 * TreeView.cs: If updating the root node do a full refresh.
6021 * TreeNode.cs: The root node should be expanded by default. Also
6022 added a utility prop to tell if we are the root node.
6023 * TreeNodeCollection.cs: Only refresh if the node we are being
6024 added to is expanded. Also added a comment on a potential
6027 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6029 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6030 in dispose method. Fixes #76330
6032 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6034 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6036 - Implements vertical and horizontal scrolling using XplatUI
6037 - Fixes keyboard navagation
6038 - Fixes EnsureVisible
6040 - Handles and draws focus properly
6043 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6045 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6046 Create handle. NET_2_0: Destroy handle when value is null.
6048 2005-10-03 Jackson Harper <jackson@ximian.com>
6050 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6051 revert and a new patch to prevent the thumb from refreshing so
6054 2005-10-02 Jackson Harper <jackson@ximian.com>
6056 * ScrollBar.cs: Don't update position if it hasn't actually
6057 changed. This occurs when you hold down the increment/decrement
6058 buttons and the thumb gets to the max/min.
6060 2005-10-01 Jackson Harper <jackson@ximian.com>
6063 * MdiChildContext.cs:
6064 * MdiClient.cs: Implement ActiveMdiChild in Form.
6066 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6068 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6070 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6072 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6075 2005-09-30 Jackson Harper <jackson@ximian.com>
6077 * ListBox.cs: Don't do a full refresh unless some data has
6080 2005-09-30 Jackson Harper <jackson@ximian.com>
6082 * TreeView.cs: Make sure that the checkboxes size is factored in
6083 even when not visible.
6085 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6087 * FileDialog.cs: Fix Jordi's build break
6089 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6092 - Use standard the Windows colours for the combobox as espected
6093 - Dispose objects that use resouces when no longer need them
6095 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6097 * X11DesktopColors.cs: Initial incomplete implementation
6098 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6100 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6103 - Switched Theme color names to match the names defined in
6104 System.Drawing.KnownColors. Life's hard enough, no need to make
6106 - Added setters to all theme color properties so themes can set
6107 their color schemes. The setters also propagate the color changes
6108 to System.Drawing.KnownColors via reflection
6109 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6110 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6111 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6112 use the new, more logical theme color names
6113 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6115 * ThemeWin32Classic.cs:
6116 - Removed code to set the old classic Windows colors. Instead it
6117 now relies on the colors returned by System.Drawing.KnownColors
6118 which will be either modern static colors (Unix) or colors
6119 read from the user's configuration (Win32)
6120 - Updated to use the new, more logical theme color names
6121 - Switched DataGrid drawing code to use only Theme colors instead of
6122 a mix of System.Drawing.KnownColors and Theme colors
6123 - DrawFrameControl(): Removed code that fills the button area, the
6124 fill would overwrite any previous fill done by a control. This
6126 - Added DrawReversibleRectangle() stub
6127 * ScrollableControl.cs: Set visible state to false when scrollbars
6128 are removed (pdn fix)
6129 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6130 DrawReversibleRectangle() method to allow drawing primitive
6132 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6134 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6136 * ImageList.cs: Add(Icon): Create handle.
6138 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6141 * ThemeWin32Classic.cs:
6144 - Issues with drawing
6146 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6148 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6149 source has to be the ImageList.
6151 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6153 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6155 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6157 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6159 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6161 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6163 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6164 * GridItem.cs: Fixed TODOs
6165 * GridItemCollection.cs: Added ICollection interface
6167 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6169 * ImageList.cs: Resize icons when needed.
6171 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6174 - Fixes GetBounds and returns on screen rects
6176 - Fixes vertical and horzintal scrolling of items
6177 * ThemeWin32Classic.cs:
6180 2005-09-29 Raja R Harinath <harinath@gmail.com>
6182 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6184 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6186 * ImageList.cs: Added comments about handle creation. Moved Handle,
6187 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6188 Handle is created in Add methods.
6190 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6192 * DataGridDrawingLogic.cs:
6193 - Takes rows into account on Colum calculations
6194 - Returns the column when clickig
6196 - Fixes default HitTestInfo values
6197 - Fixes HitTestInfo.ToString
6198 - Fixes ResetBackColor
6200 2005-09-28 Jackson Harper <jackson@ximian.com>
6202 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6203 sizing or cursor changes). Also added some temp code to draw the
6204 titlebars text (Makes dev a little easier).
6206 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6208 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6210 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6212 * ListBox.cs: Fixes bug 76253
6214 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6216 * ImageList.cs: Added comments about the current implementation. Added
6217 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6218 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6219 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6220 with Bitmap.LockBits for better performance. Revised the whole file to
6221 match MS.NET behaviour and provide better performance. Non-public
6222 interface members are calling public members even when they throw
6223 NotSupportedException for better maintainability. Moved ColorDepth,
6224 ImageSize, ImageStream and TransparentColor implementations to
6225 ImageCollection for better performance as these properties are not used
6227 * ImageListStreamer.cs: Added a new internal constructor that takes an
6228 ImageList.ImageCollection and serializes Images based on
6229 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6230 match ImageList property name.
6232 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6234 * ListBox.cs: Fixes IndexFromPoint for last item
6236 2005-09-27 Jackson Harper <jackson@ximian.com>
6238 * Form.cs: Set the position of new mdi children correctly.
6240 2005-09-27 Jackson Harper <jackson@ximian.com>
6242 * MdiClient.cs: New mdi children need to be added to the back of
6243 the controls collection so the zorder is set correctly. Also add a
6244 count of all the child windows that have been created.
6246 2005-09-27 Jackson Harper <jackson@ximian.com>
6248 * Form.cs (CreateParams): Setup MDI forms correctly.
6250 2005-09-27 Jackson Harper <jackson@ximian.com>
6252 * MdiChildContext.cs:
6259 * ScrollableControl.cs:
6260 * ComboBox.cs: Add implicit controls using the new implict control
6261 functionality in ControlCollection. Also try to block multiple
6262 control add in a suspend/resume layout to save some cycles.
6264 2005-09-27 Jackson Harper <jackson@ximian.com>
6266 * Control.cs: Add functionality to the controls collection to add
6267 'implicit controls' these are controls that are created by the
6268 containing control but should not be exposed to the user. Such as
6269 scrollbars in the treeview.
6270 * Form.cs: The list var of the ControlsCollection is no longer
6271 available because of the potential of implicit controls getting
6272 ignored by someone accessing the list directly.
6274 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6276 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6277 loose it's parent. (Fixed bug introduced in r49103 when we added
6278 setting the child parent to null on Remove)
6280 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6282 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6283 * Splitter.cs: Added missing attributes for BorderStyle property.
6284 * TextBoxBase.cs: Marked Calculate* methods internal.
6285 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6288 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6290 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6292 2005-09-25 Jackson Harper <jackson@ximian.com>
6294 * TreeView.cs: Update the node bounds correctly regardless of
6295 whether the node is visible.
6297 2005-09-25 Jackson Harper <jackson@ximian.com>
6299 * ImageList.cs: Don't dispose the image after it is added to the
6300 image list. Only reformat images that need to be resized.
6302 2005-09-25 Jackson Harper <jackson@ximian.com>
6304 * ImageList.cs: Don't set the format when changing the image.
6306 2005-09-25 Jackson Harper <jackson@ximian.com>
6308 * TreeView.cs: We can't just assume the node has a font. Use the
6309 treeviews font if no node font is available.
6311 2005-09-25 Jackson Harper <jackson@ximian.com>
6313 * TreeView.cs: Allow the scrollbars to be reset with negative
6315 - Don't add scrollbars to negative sized windows.
6317 2005-09-23 Jackson Harper <jackson@ximian.com>
6319 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6320 old Mono.Posix. Also remove some stray code that shouldn't have
6323 2005-09-23 Jackson Harper <jackson@ximian.com>
6325 * TreeView.cs: Attempt at proper sizing of the horizontal
6326 scrollbar. Also don't resize the scrollbars unless they are
6329 2005-09-23 Jackson Harper <jackson@ximian.com>
6331 * TreeView.cs: We don't need to expand the invalid area when the
6332 selection changes, as this is all drawn in the node's bounding
6333 box. The area needs to be expanded (previous typo was contracting
6334 it) when the focus rect moves.
6336 2005-09-23 Jackson Harper <jackson@ximian.com>
6338 * TreeView.cs: Display the selection box under the correct
6339 circumstances. We were rendering white text with no selection box
6342 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6344 * TextControl.cs(Split): Now updates selection start/end if it points
6345 into a line that's being split. Fixes a FIXME and bug #75258
6347 2005-09-23 Jackson Harper <jackson@ximian.com>
6350 * ListControl.cs: Don't use the path when retrieving binding
6351 managers from the binding context. My bat sense tells me that the
6352 path is only used on insertion.
6354 2005-09-22 Jackson Harper <jackson@ximian.com>
6356 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6358 2005-09-22 Jackson Harper <jackson@ximian.com>
6360 * Splitter.cs: There are special cursors used for splitting.
6361 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6363 2005-09-22 Jackson Harper <jackson@ximian.com>
6365 * Splitter.cs: Change the cursor appropriately when the splitter
6366 is moused over, so the user actually knows there is a splitter
6369 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6371 * Label.cs : Fix ToString method to give same output as MS.NET
6373 2005-09-22 Jackson Harper <jackson@ximian.com>
6375 * TreeView.cs: Create the scrollbars when the handle is created
6376 and add them right away, just make them invisble. Also account for
6377 the window being shrunk vertically to the point that the vert
6378 scrollbar needs to be added.
6379 - Remove some 0.5 adjustments to get around anti aliasing issues.
6381 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6383 * MainMenu.cs: Fixes default value
6384 * MenuItem.cs: Fixes default value
6386 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6388 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6390 2005-09-21 Jackson Harper <jackson@ximian.com>
6392 * Control.cs: Don't try to set the border style on the window if
6393 it hasn't been created. When the window is created the border
6396 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6398 * Control.cs (Update): Don't call XplatUI if we don't have a
6401 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6403 * ContainerControl.cs: Instead of throwing an exception, print
6404 a one-time warning about Validate not being implemented
6405 * XplatUIWin32.cs: Removed debug output
6407 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6409 * Control.cs: Only set XplatUI background if we expect the windowing
6410 system to handle the background. This stops controls that draw their
6411 own background from flickering
6413 * XplatUIX11.cs: Support custom visuals and colormaps for window
6414 creation. This allows, amongst other things, using MWF X11 windows
6417 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6419 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6420 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6421 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6422 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6423 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6424 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6425 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6426 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6427 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6428 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6429 GridColumnStylesCollection.cs,
6430 IDataGridColumnStyleEditingNotificationService.cs,
6431 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6432 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6433 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6434 TreeNodeCollection.cs, AmbientProperties.cs,
6435 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6436 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6437 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6438 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6439 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6440 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6441 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6442 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6443 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6444 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6445 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6446 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6447 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6448 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6449 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6450 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6451 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6452 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6453 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6454 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6455 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6456 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6457 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6458 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6459 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6460 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6461 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6462 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6463 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6464 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6465 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6466 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6467 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6468 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6469 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6470 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6471 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6473 2005-09-21 Jackson Harper <jackson@ximian.com>
6475 * TreeNode.cs: Call Before/After Expand not Collapse when
6478 2005-09-20 Jackson Harper <jackson@ximian.com>
6480 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6482 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6486 - Fixes proper storing of subitems
6487 - Fixes not updated items
6489 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6491 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6492 things if our window handle isn't created yet. Also disabled
6493 debug for TextBoxBase
6495 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6497 * MenuAPI.cs: Remove filtering of events to allow menu usage
6499 2005-09-20 Miguel de Icaza <miguel@novell.com>
6501 * Cursor.cs: Allow null to be passed to Cursor.Current.
6503 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6505 * ThemeWin32Classic.cs:
6506 - Change some private methods/fields to protected virtual so that
6507 they can be accessed and overriden in derived classes
6508 - First refactoring of some methods. Derived themes now don't
6509 need to duplicate the complete code from ThemeWin32Classic
6511 - Added nice StatusBar
6512 - Derive from ThemeWin32Classic and not Theme
6513 - Removed duplicate ThemeWin32Classic code
6515 2005-09-20 Miguel de Icaza <miguel@novell.com>
6517 * Control.cs (ControlCollection.Add): If the value null is passed
6518 the control is ignored.
6522 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6524 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6525 PostQuitMessage state.
6526 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6528 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6530 * Application.cs: Our constructor will never get called, move
6531 initialization to fields; fixes bug #75933
6533 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6536 - Allow files to be selected properly using file name
6538 - Add ability to change diretory (absolute / relative)
6539 using file name combo box.
6541 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6544 - Fixes Multicolumn listboxes item wrong calculations
6545 - Allows to click when only one item is in the listbox
6546 - Fixes crash when no items using keyboard navigation
6548 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6550 * ComboBox.cs: Reverted almost everything from the latest patch which
6553 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6556 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6558 - When DropDownStyle is Simple, it does not show scrollbar
6559 to the last item of the list.
6560 - When DropDownStyle is Simple, it crashed when the list was
6561 scrolled down with the down cursor key.
6562 - Fixed a bug that when DropDownStyle is DropDownList, the
6563 selected item was not shown.
6564 - The position of the selected item was not preserved when
6565 the next dropdown happened.
6566 * ThemeWin32Classic.cs:
6567 - Items were wrapped at the right end.
6568 * CheckedListBox.cs:
6571 - Items should be fully shown.
6572 - When resizing and vertical scrollbar disappeared, the item
6573 of index 0 should be on the top of the list.
6574 - GetItemRectangle should consider the size of ver. scrollbar
6576 - SizingGrip area should not be allocated when it is not
6578 - Now it reflects MinWidth of the containing panel and
6579 fixed a crash that happens when its width becomes so small.
6581 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6583 * CheckedListBox.cs: Fixes bug 76028
6584 * ListBox.cs: Fixes bug 76028
6586 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6588 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6589 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6591 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6593 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6595 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6597 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6599 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6601 * IRootGridEntry.cs: Added
6602 * PropertyGridCommands.cs: Added
6603 * PropertiesTab.cs: Added missing methods and property
6604 * PropertyGridView.cs: Made class internal
6605 * PropertyGridTextBox.cs: Made class internal
6607 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6609 * MimeIcon.cs: Try to check some other environment variables
6610 if "DESKTOP_SESSION" returns "default"
6612 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6614 * ThemeNice.cs: Corrected background colors (e.g. menus)
6615 * ColorDialog.cs: Use correct background colors for controls
6617 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6619 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6621 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6623 * RichTextBox.cs: Added initial implementation
6624 * lang.cs: Removed. Was accidentally checked in long time ago
6625 * TODO: Removed. Contents were obsolete
6627 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6629 * PropertiesTab.cs : Added
6631 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6633 * PropertyGrid.cs : Update
6634 * PropertyGridView.cs : Update
6635 * System.Windows.Forms.resx : Added images and strings
6637 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6639 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6641 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6643 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6644 a busy loop right after the Ungrab the X11 display is otherwise
6647 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6649 * ThemeWin32Classic.cs: Optimise the use of clipping
6651 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6653 * DataGrid.cs: fixes recursion bug
6655 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6658 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6661 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6663 * ThemeNice.cs: Draw nice ProgressBars
6665 2005-09-01 Miguel de Icaza <miguel@novell.com>
6667 * VScrollBar.cs: Another buglet found by Aaron's tool.
6669 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6672 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6675 - Added nicer menu drawing
6679 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6681 * CreateParams.cs (ToString): Made output match MS
6682 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6683 handle is already created (to avoid forcing window creation)
6684 * XplatUIX11.cs: Set window text to caption after creating window,
6685 in case Text was set before window was created
6686 * Form.cs: Use this.Text instead of a static string as caption
6688 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6690 * NotifyIcon.cs: Don't set the window to visible; this screws
6691 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6692 OnPaint without a bitmap)
6693 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6694 happen very often anyway; we could add the check to the WM_PAINT
6695 event generation code
6697 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6699 * NotifyIcon.cs: Fill the icon area with a background color, to
6700 avoid 'residue' when transparent icons are drawn
6702 - Handle whole_window == client_window when destroying windows
6703 - SystrayAdd(): Set client_window to whole_window value to
6704 get mouse and other events passed to NotifyIcon
6706 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6708 * Form.cs: Set proper default for Opacity property
6710 - ShowSystray(): Don't bother creating telling the OS
6711 about the systray item if no icon is provided
6712 - Now handles WM_NCPAINT message to deal with whole/client window
6714 - Create window as visible to not get caught by Expose optimization
6715 * Hwnd.cs: Removed debug message
6716 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6717 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6718 PaintEventStart/End to use new client argument
6720 - Commented out debug messages
6721 - Switched PaintEventStart/End to use new client argument
6722 * XplatUI.cs: Added client window bool to PaintEventStart()/
6723 PaintEventEnd() calls, to support drawing in non-client areas
6725 - Added client window bool to PaintEventStart()/PaintEventEnd()
6726 calls, to support drawing in non-client areas
6727 - Added conditional compile to allow using MWF BeginInvoke
6730 - Added some conditional debug output
6731 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6732 whole/client window split
6733 - Implemented handling of client argument to PaintEventStart()/End()
6735 - Throw exception if BeginInvoke() is called and the window handle
6736 or one of the window's parent handles is not created
6737 - Added conditional compile to allow using MWF BeginInvoke on
6739 - get_Parent(): Only sets parent if handle is created. This avoids
6740 forcing window handle creation when parent is set.
6741 - Now fires Layout and Parent changed events in proper order
6742 - Switched to use Handle instead of window.Handle for Z-Order setting,
6743 the get_Parent() patch above causes us to possibly get null for 'window'
6744 - Implemented handling of client argument to PaintEventStart()/End()
6745 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6747 - Now sends a Refresh() to all child windows when Refresh() is called
6749 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6751 * Form.cs: Added (non-functional) Opacity property
6752 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6754 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6755 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6756 use export MONO_THEME=nice to activate it.
6757 Currently supported controls:
6761 - TabControl (TabAlignment.Top only, other will follow)
6762 * ThemeEngine.cs: Add theme nice
6763 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6766 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6768 * Splitter.cs: Resize docked control and its neighbor.
6770 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6771 -- Making Windows with Menus layout correctly --
6772 * Form.cs : The first leg of the fix
6773 Menu setter - adjust Client Size as needed to make space for the menu
6774 SetClientSizeCore - doesn't call base version to be able to pass the
6775 menu handle to XplatUI.CalculateWindowRect
6776 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6777 * XplatUIX11.cs: The critical second leg of the fix
6778 GetWindowPos needs to use a recalculated client_rect
6779 so that resizing the window doesn't break layout of child controls.
6780 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6783 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6785 * Label.cs: Now properly recalculates width and height on Font and Text
6786 changes if AutoSize is set
6788 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6789 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6791 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6793 * ImageList.cs: Makes ToString method compatible with MS
6795 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6797 * MenuAPI.cs: fixes bug 75716
6799 2005-08-11 Umadevi S <sumadevi@novell.com>
6800 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6802 2005-08-11 Umadevi S <sumadevi@novell.com>
6803 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6805 2005-08-10 Umadevi S <sumadevi@novell.com>
6806 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6808 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6810 * Menu.cs: fixes bug 75700
6811 * MenuAPI.cs: fixes navigation issues
6813 2005-08-09 Umadevi S <sumadevi@novell.com>
6814 * CheckedListBox.cs - simple fix for GetItemChecked.
6816 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6818 * ComboBox.cs: Serveral fixes
6819 * ListBox.cs: Serveral fixes
6821 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6823 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6824 * ListBox.cs: Fixes FindString methods
6826 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6828 * DataGrid.cs: fixes bugs exposed by new tests
6830 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6832 * Mime.cs: Compile Mono assembly references only if compiling
6833 with Mono (Allows to build with VS.Net again)
6835 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6837 * Control.cs (PaintControlBackground): Draw background image
6839 (CheckForIllegalCrossThreadCalls): Stubbed.
6841 * Form.cs (OnCreateControl): Center when should be centered.
6843 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6845 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6847 * Binding.cs: Binding to properties should be case unsensitive
6849 2005-07-18 vlindos@nucleusys.com
6851 * DataGrid.cs: fixes setmember order
6853 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6855 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6856 * FileDialog.cs: FileDialog is now resizable and uses the new
6859 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6861 * DataGridTextBoxColumn.cs: default value
6862 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6863 * GridTableStylesCollection.cs: fixes checking MappingName
6864 * DataGridDrawingLogic.cs: fixes drawing logic issues
6865 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6866 * DataGrid.cs: fixes
6868 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6870 * MimeGenerated.cs: Use case sensitive comparer for
6871 NameValueCollections
6873 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6875 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6876 * ThemeWin32Classic.cs: bug fixes, code refactoring
6877 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6878 * DataGrid.cs: bug fixes, code refactoring
6879 * DataGridTextBox.cs: bug fixes, code refactoring
6880 * DataGridColumnStyle.cs: bug fixes, code refactoring
6881 * Theme.cs: bug fixes, code refactoring
6883 2005-07-01 Peter Bartok <pbartok@novell.com>
6885 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6886 and other text box usage
6888 2005-07-01 Jackson Harper <jackson@ximian.com>
6890 * TabControl.cs: Make sure the bottom of the tab covers the pages
6893 2005-06-30 Peter Bartok <pbartok@novell.com>
6895 * Form.cs (ShowDialog): Assign owner of the dialog
6896 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6897 might have been moved to a tag with different height
6899 2005-06-30 Jackson Harper <jackson@ximian.com>
6901 * Form.cs: Don't create an infinite loop when setting focus
6902 * MenuItem.cs: Don't dirty the parents if we don't have any
6904 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6906 * LibSupport.cs: Rename
6908 2005-06-29 Peter Bartok <pbartok@novell.com>
6910 * TextBoxBase.cs: Re-align caret after deleting a character
6912 - DeleteChars(): Ensure that tag covers the provided position
6913 - StreamLine(): Drop reference for dropped tag
6915 2005-06-29 Peter Bartok <pbartok@novell.com>
6918 - Selections now work properly, anchoring at the initial location
6919 and properly extending in either direction (SetSelectionToCaret(),
6920 SetSelectionStart() and SetSelectionEnd())
6921 - No longer redraws the whole control on selection change, now
6922 calculates delta between previous and new selection and only
6923 invalidates/redraws that area
6924 - Fixed FindPos() math off-by-one errors
6925 - Changed DeleteChars() to verify the provided tag covers the
6926 provided position, selections may have a tag that doesn't cover
6927 the position if the selection is at a tag border
6928 - Fixed off-by-one errors in DeleteChars()
6929 - Added missing streamlining check in DeleteChars() to remove
6931 - Implemented Invalidate() method, now properly calculates exposures
6932 between two given lines/positions
6933 - Implemented SetSelection()
6934 - Obsoleted and removed FixupSelection()
6935 - Improved RecalculateDocument() logic, removing code duplication
6937 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6939 * LibSupport.cs: changes to match different input/output arguments.
6941 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6943 * LibSupport.cs: added libsupport.so init routine.
6945 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
6947 * ControlBindingsCollection.cs
6948 - Throws an exception on null datasource when adding
6949 - Checks for duplicated bindings when adding
6951 2005-06-28 Jackson Harper <jackson@ximian.com>
6953 * TreeView.cs (OnKeyDown): Support left and right properly
6954 (navigates as well as expanding and collapsing.
6955 - Add support for Multiply, this expands all the selected nodes
6959 2005-06-28 Jackson Harper <jackson@ximian.com>
6961 * TreeView.cs: Implement keyboard navigation, currently supports,
6962 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
6963 support for toggling checkboxes with the space bar.
6965 2005-06-28 Jackson Harper <jackson@ximian.com>
6967 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
6970 2005-06-28 Jackson Harper <jackson@ximian.com>
6972 * TreeView.cs: Add missing event.
6974 2005-06-27 Peter Bartok <pbartok@novell.com>
6977 - Made line ending size configurable (now allows for counting
6978 lineendings as \n or \r\n)
6979 - Added margin to viewport to keep caret visible on right side
6980 - Fixed translation routines for line/pos to documentpos to consider
6981 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
6982 - Fixed some line-endings to be unix style
6983 - Fixed Document.FormatText to perform it's calculations 1-based
6984 - Added descriptions for a few methods that might otherwise get
6986 - Added NOTE section with some basic conventions to remember at
6988 - Major fixup for RichTextBox selection drawing:
6989 * Fixed crashes when multiple tags on a single line were selected
6990 * fixed selection box drawing not overlaying text
6991 * fixed bogus offset calculation for tags not starting at index 1
6992 * Switched behaviour from using multiple Substrings of a
6993 StringBuilder.ToString() to using multiple
6994 StringBuilder.ToString(start, length) statements, hoping this is
6995 faster (kept original version commented out in the code, in case
6996 original version was faster)
6997 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
6999 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7002 2005-06-27 Jackson Harper <jackson@ximian.com>
7004 * TabControl.cs: Move to the left and right with the arrow
7005 keys. These keys don't cycle beyond first and last like
7006 tab. Refresh all the tabs when scrolling them to the left or
7009 2005-06-27 Jackson Harper <jackson@ximian.com>
7012 - ToString: Added method
7013 - CreateParams: Remove TODO and comment
7014 - OnKeyDown: Cycle through bounds properly.
7015 - SelectedIndex: Scroll to the right or left if we need to
7016 display the newly selected tab.
7018 2005-06-23 Jackson Harper <jackson@ximian.com>
7020 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7023 2005-06-23 Jackson Harper <jackson@ximian.com>
7025 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7026 CTRL-SHIFT-TAB, and HOME, END are there any others?
7028 2005-06-23 Jackson Harper <jackson@ximian.com>
7030 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7032 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7034 * DataGridTextBoxColumn.cs: fixes and enhancements
7035 * ThemeWin32Classic.cs: fixes and enhancements
7036 * DataGridBoolColumn.cs: fixes and enhancements
7037 * DataGridDrawingLogic.cs: fixes and enhancements
7038 * CurrencyManager.cs: fixes and enhancements
7039 * DataGrid.cs: fixes and enhancements
7040 * DataGridColumnStyle.cs: fixes and enhancements
7042 2005-06-22 Jackson Harper <jackson@ximian.com>
7044 * TabControl.cs: Add some missing methods that just call into the
7045 base. Make the TabPageCollection's IList interface behave in the
7046 same manner as the MS implementation.
7048 2005-06-22 Peter Bartok <pbartok@novell.com>
7050 * TextControl.cs: Added sanity check
7052 - Fixed wrapping behaviour, don't set wrap on single line controls
7053 (this fixes the breakage of colordialog introduced in an earlier
7055 - Added rudimentary support for autoscrolling right-aligned controls
7056 (still needs fixing, also, center alignment scroll is missing)
7058 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7060 * ScrollBar.cs: Fixes thumbpos on Maximum values
7062 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7064 * PropertyGridView.cs: Pass context information to UITypeEditors
7066 2005-06-21 Peter Bartok <pbartok@novell.com>
7069 - Now calling PositionCaret with absolute space coordinates
7070 - Enabled vertical scrolling
7071 - Better tracking of scrollbar changes, tied into WidthChange
7073 - Improved cursor tracking
7074 - Removed debug output
7076 - PositionCaret coordinates are now works in absolute space, not
7078 - Improved tracking of document size
7079 - Added events for width and height changes
7081 2005-06-21 Peter Bartok <pbartok@novell.com>
7083 * Form.cs: Set focus to active control when form is activated
7085 - Added word-wrap functionality to RecalculateLine()
7086 - Added some short function descriptions for VS.Net to aid in
7087 writing dependent controls
7088 - Added Caret property, returning the current coords of the caret
7089 - Added ViewPortWidth and ViewPortHeight properties
7090 - Added Wrap property
7091 - Added CaretMoved event
7092 - Removed some old debug code
7093 - Split() can now create soft splits
7094 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7095 - Added method to format existing text
7096 - Fixed size/alignment calculations to use viewport
7097 - RecalculateDocument now can handle changing line-numbers while
7101 - Added some wrap logic, we don't wrap if alignment is not left
7102 - Added casts for scrollbar var, base class switched types to
7103 also support RichTextBoxA
7104 - Implemented handling of scrollbar visibility flags
7107 - Switched scrollbars type to RichTextBoxScrollBars to support
7109 - Added tracking of canvas width/height
7110 - Switched scrollbars to be not selectable (to keep focus on text)
7111 - Added central CalculateDocument() method to handle all redraw
7113 - Added ReadOnly support
7114 - Added WordWrap support
7115 - Fixed handling of Enter key (we now treat it as a DialogKey)
7116 - Fixed caret positioning when h or v scroll is not zero
7117 - Fixed placing/generation of vertical scrollbar
7118 - Added CalculateScrollBars() method to allow updating scrollbar
7119 limits and visibility
7120 - Fixed handling of horizontal scroll
7121 - Added handling of vertical scroll
7122 - Implemented auto-'jump' when caret moves to close to a left or
7123 right border and there is text to be scrolled into view (currently
7124 there's the potential for a stack overflow, until a bug in
7127 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7129 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7131 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7135 - return application/x-zerosize for files with size zero
7136 (if no extension pattern matches).
7137 - check matches collection for strings too.
7138 - return only the first mime type if the name value
7139 collection has more than one mime type.
7141 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7143 * PropertyGrid.cs: Cleaned up some TODOs
7144 * PropertyGridView.cs: Added support for UITypeEditors
7146 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7148 * DataGrid.cs: clears cached value
7150 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7152 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7153 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7154 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7155 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7157 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7159 * ThemeWin32Classic.cs: fixes colour
7161 2005-06-15 Peter Bartok <pbartok@novell.com>
7163 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7164 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7165 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7166 * Control.cs: Added some MWFCategory and MWFDescription attributes
7167 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7169 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7171 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7174 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7176 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7177 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7178 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7179 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7180 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7181 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7183 2005-06-13 Jackson Harper <jackson@ximian.com>
7185 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7186 isn't printed when the user enables dropping. (X11 does accept
7189 2005-06-13 Jackson Harper <jackson@ximian.com>
7191 * TreeView.cs: Remove some TODOS.
7193 2005-06-13 Jackson Harper <jackson@ximian.com>
7195 * Form.cs: Hook into the mdi framework.
7196 * MdiClient.cs: Use the base control collections add method so
7197 parents get setup correctly. Set the default back colour and dock
7199 * MdiChildContext.cs: New class, this bad actor handles an
7200 instance of an MDI window. Right now there is only basic
7201 support. You can drag, close, and resize windows. Minimize and
7202 Maximize are partially implemented.
7204 2005-06-13 Jackson Harper <jackson@ximian.com>
7206 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7207 freaky when both vals are negative. NOTE: There are probably other
7208 places in XplatUIX11 that this needs to be done.
7210 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7212 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7213 * DataGridColumnStyle.cs: fixes signature
7215 2005-06-12 Jackson Harper <jackson@ximian.com>
7217 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7220 2005-06-11 Jackson Harper <jackson@ximian.com>
7222 * StatusBarPanel.cs: Signature cleanups. Implement
7225 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7227 * DataGridTextBoxColumn.cs: Honors aligment
7228 * GridColumnStylesCollection.cs: Contains is case unsensitive
7229 * GridTableStylesCollection.cs: several fixes
7230 * DataGridTableStyle.cs: default column creation
7231 * DataGridDrawingLogic.cs: fixes
7232 * CurrencyManager.cs: ListName property
7233 * DataGrid.cs: multiple styles support
7234 * DataGridColumnStyle.cs: fixes
7237 2005-06-10 Peter Bartok <pbartok@novell.com>
7239 * Control.cs(Select): Moved SetFocus call to avoid potential
7240 loops if controls change the active control when getting focus
7241 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7244 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7246 * ImageListConverter.cs: Implemented
7248 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7250 * MonthCalendar.cs: Wired in NumericUpDown control for year
7252 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7254 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7255 DoubleClick events, since they are not meant to be fired.
7257 2005-06-09 Peter Bartok <pbartok@novell.com>
7259 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7260 Jonathan's standalone controls into MWF, implemented missing
7261 events, attributes and methods; added xxxAccessible classes
7262 * AccessibleObject.cs: Made fields internal so other classes
7263 can change them if needed
7265 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7267 * UpDownBase.cs: Complete implementation
7268 * NumericUpDown.cs: Complete implementation
7269 * DomainUpDown.cs: Complete implementation
7271 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7273 * DataGridTextBoxColumn.cs: drawing fixes
7274 * DataGridCell.cs: fixes ToString method to match MSNet
7275 * DataGridTableStyle.cs: fixes
7276 * DataGridBoolColumn.cs: fixes, drawing
7277 * DataGridDrawingLogic.cs: fixes, new methods
7278 * DataGridTextBox.cs: Keyboard and fixes
7280 - Keyboard navigation
7282 - Row selection (single, multiple, deletion, etc)
7285 2005-06-07 Jackson Harper <jackson@ximian.com>
7287 * ThemeWin32Classic.cs: Clear the background area when drawing
7290 2005-06-06 Peter Bartok <pbartok@novell.com>
7292 * ImageListStreamer.cs: Fixed signature for GetData
7293 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7295 - Added missing ChildAccessibleObject class
7296 - Added missing OnXXXFocus overrides, switched to using those
7297 instead of the event handler
7299 - Added Parent property for ControlAccessibleObject
7302 - Added ResetBindings()
7303 * ListBindingConverter.cs: Implemented some methods
7304 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7305 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7306 * ContainerControl.cs: Fixed signature, now subscribing to the
7307 ControlRemoved event instead of overriding the handler, LAMESPEC
7308 * CurrencyManager.cs: Added missing attribute
7309 * MonthCalendar.cs: Added missing properties
7311 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7313 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7315 2005-06-06 Gaurav Vaish and Ankit Jain
7317 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7318 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7320 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7322 * Control.cs: fixes CreateParams Width / Height.
7324 2005-06-05 Peter Bartok <pbartok@novell.com>
7326 * Win32DnD.cs: Removed compilation warnings
7328 2005-06-05 Peter Bartok <pbartok@novell.com>
7330 * Control.cs (CreateParams): Since we don't know if one of the
7331 properties we use is overridden, lets make sure if we fail accessing
7332 we continue with a backup plan
7334 2005-06-05 Peter Bartok <pbartok@novell.com>
7337 - Removed debug output
7338 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7340 - Plugged resource leak
7341 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7344 2005-06-05 Peter Bartok <pbartok@novell.com>
7346 * XplatUIWin32.cs: Removed DnD code
7347 * Win32DnD.cs: Implemented drop source and drop target functionality
7349 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7351 * UpDownBase.cs: remove duplicate addition of event, enable some code
7352 that was commented out.
7353 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7354 Validate input when a key is pressed. It works fine now for every
7355 combination of Hexadecimal. Only missing some drawing love when sharing
7356 space with other controls.
7358 2005-06-04 Peter Bartok <pbartok@novell.com>
7361 - We need to pass a window for DragDrop, so enable callback events
7362 - Added DnD callback events when being a DragSource
7363 * XplatUI.cs (StartDrag): Added window handle argument
7364 * XplatUIDriver.cs (StartDrag): Added window handle argument
7365 * QueryContinueDragEventArgs: Made fields internally accessible so
7366 drivers can set them
7367 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7370 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7372 * DataGridTextBoxColumn.cs: column text editing
7373 * DataGridTableStyle.cs: Respect columns styles created by the user
7374 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7375 * DataGridBoolColumn.cs: bool column editing
7376 * DataGrid.cs: fixes to scrolling, properties, etc
7377 * DataGridTextBox.cs: handle keyboard
7378 * DataGridColumnStyle.cs: fixes
7380 2005-06-02 Jackson Harper <jackson@ximian.com>
7382 * ImageListStreamer.cs: Somewhat broken implementation of
7383 GetObjectData. The RLE needs some work to match MS properly.
7385 2005-06-02 Jackson Harper <jackson@ximian.com>
7387 * X11Dnd.cs: Attempting to keep at least one file in MWF
7390 2005-06-02 Peter Bartok <pbartok@novell.com>
7392 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7395 2005-06-02 Peter Bartok <pbartok@novell.com>
7397 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7398 * XplatUI.cs: Added DoDragDrop() method
7399 * XplatUIDriver.cs: Added DoDragDrop() method
7401 2005-06-02 Jackson Harper <jackson@ximian.com>
7403 * Splitter.cs: Implement BorderStyle.
7405 2005-06-02 Jackson Harper <jackson@ximian.com>
7407 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7408 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7411 2005-06-02 Peter Bartok <pbartok@novell.com>
7415 - Fixed broken insertion code for SetData, now also
7416 overwrites any existing entry of the same format name
7417 * Hwnd.cs: Added list of pointers that automatically gets
7418 freed when the window is disposed
7419 * XplatUI.cs: Call driver initialization method when loading
7422 - OnDragLeave takes EventArgs, not DragEventArgs
7423 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7425 - Forces style update when drop state changes
7426 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7427 not perfect since we cannot (yet) call the IDataObject.GetData()
7428 method, we keep getting 0x80004005 error, dunno why)
7430 2005-06-02 Peter Bartok <pbartok@novell.com>
7432 * DragEventArgs.cs: Make fields internal so we can cache the
7433 object and re-set the fields from XplatUI
7435 2005-06-02 Jackson Harper <jackson@ximian.com>
7437 * Control.cs: Add some internal methods so the DnD subsystem can
7438 raise DnD events. Also call into the driver when AllowDrop is set.
7440 * XplatUIDriver.cs: New method for setting whether or not a window
7441 is allowed to accept drag and drop messages.
7443 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7445 * ScrollBar.cs: Make sure that values sent in Scroll events
7446 are always between Maximum and Minimum.
7448 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7450 * Menu.cs: Call MenuChanged when menuitem visibility has been
7452 * MenuItem.cs: Rebuild menu when item is (not) visible.
7453 * MainMenu.cs: MainMenu has special MenuChanged.
7454 * Theme.cs: Caption and FrameBorderSize are not fixed.
7455 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7456 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7458 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7459 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7461 2005-05-30 Jackson Harper <jackson@ximian.com>
7463 * DataFormat.cs: We can't statically initialize this stuff because
7464 it calls into the xplatui and could create a loop. So we lazy init
7467 2005-05-28 Jackson Harper <jackson@ximian.com>
7469 * Control.cs: Proper implementation of Product(Name/Version).
7471 2005-05-27 Jackson Harper <jackson@ximian.com>
7473 * DataObject.cs: Dont crash if no data is found.
7475 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7476 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7477 as per status page, guessing it should be set to true
7479 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7481 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7482 * DataGridTableStyle.cs: set proper formatting text, def header text
7483 * ThemeWin32Classic.cs: new themable paramaters
7484 * DataGridBoolColumn.cs: paint check box, get data, fixes
7485 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7486 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7487 * DataGridColumnStyle.cs: fixes
7488 * Theme.cs: new themable paramaters
7490 2005-05-26 Peter Bartok <pbartok@novell.com>
7492 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7494 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7495 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7497 2005-05-24 Peter Bartok <pbartok@novell.com>
7499 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7500 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7501 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7502 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7503 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7504 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7505 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7506 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7507 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7508 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7509 missing attributes, etc
7510 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7512 2005-05-24 Peter Bartok <pbartok@novell.com>
7514 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7515 when user tries to get help
7516 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7517 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7518 to suppress warnings
7519 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7520 avoid unreachable code warning
7522 2005-05-20 Peter Bartok <pbartok@novell.com>
7524 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7526 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7528 * DataGridTextBoxColumn.cs: Basic painting methods
7529 * DataGridTableStyle.cs: Set table style in the column
7530 * ThemeWin32Classic.cs: Use Theme for colors
7531 * DataGridDrawingLogic.cs: Implement more drawing
7532 * DataGrid.cs: drawing, theming, enhacements, fixes
7533 * DataGridColumnStyle.cs: fixes, drawing
7534 * Theme.cs: theming for Datagrid
7536 2005-05-20 Peter Bartok <pbartok@novell.com>
7538 * Cursor.cs: Implemented GetObjectData() method
7540 2005-05-20 Peter Bartok <pbartok@novell.com>
7542 * Cursors.cs: Added setting of cursor name
7544 - Implemented constructors
7545 - Implemented Draw and DrawStretched
7546 - Implemented Current property
7547 - Implemented == and != operators
7548 - Implemented Dispose()
7549 - Implemented ToString
7550 - Added missing attributes
7552 - Added missing reset for OverrideCursor when DoEvents is called
7553 - Fixed creation of cursor, logic was wrong
7555 - Added missing reset for OverrideCursor when DoEvents is called
7556 - Fixed creation of cursor, bit arrays were swapped
7557 * Clipboard.cs: Removed obsolete MonoTODO attribute
7559 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7561 * ComboBox.cs: fixes OnSelectedItemChanged
7562 * ControlBindingsCollection.cs: fixes item range check
7564 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7567 - Calc preferred height properly
7568 - Implement missing properties
7570 * NumericUpDown.cs: Implement missing events
7572 2005-05-19 Jackson Harper <jackson@ximian.com>
7574 * TabControl.cs: New method that resizes the tab pages before
7575 redrawing them. This as needed as the control is double buffered
7576 and sizing will not be recalculated unless ResizeTabPages is
7578 * TabPage.cs: Set base.Text instead of Text in the constructor so
7579 that UpdateOwner does not get called. Use the new Redraw method of
7580 TabControl instead of Refresh so the sizing is recalculated.
7581 * ThemeWin32Classic.cs: Draw the text for button tabs.
7583 2005-05-19 Jackson Harper <jackson@ximian.com>
7585 * Control.cs: Paint control background images. Fix typo where
7586 PaintControlBackground was not getting called correctly.
7588 2005-05-19 Peter Bartok <pbartok@novell.com>
7590 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7591 I can investigate, apparently I broke FileDialog
7593 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7595 * AxHost.cs: Some simple properties.
7596 * Control.cs: window must be accessible after ctor.
7597 * Form.cs: Added TransparencyKey property.
7598 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7599 * XplatUIWin32.cs: SetBorderStyle implemented.
7601 2005-05-18 Peter Bartok <pbartok@novell.com>
7603 * DataObject.cs: Entries are not global but particular to the
7604 DataObject, now it behaves that way
7605 * XplatUIWin32.cs: Implemented Clipboard methods
7606 * Clipboard.cs: Implemented
7607 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7608 * XplatUIOSX.cs: Updated to final clipboard prototypes
7609 * XplatUIX11.cs: Implemented Clipboard methods
7610 * XplatUIDriver.cs: Updated to final clipboard prototypes
7611 * XplatUIStructs.cs:
7612 - Added BITMAPINFOHEADER struct
7613 - Added ClipboardFormats enum
7615 - Added ClipboardStruct
7616 - Added Atom enum items for clipboard types
7617 - Fixed atom types for Selection event structures
7619 - Added internal properties and methods for drivers to enumerate
7621 - Switched initialization method to allow drivers to assign their
7622 own IDs even for the MS predefined clipboard IDs
7623 * XplatUI.cs: Updated to final clipboard interface
7625 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7626 * PropertyGridView.cs: Fixed compiler warnings.
7628 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7629 * PropertyGrid.cs: Added some event calls
7630 * PropertyGridView.cs: Change drawing code to use double buffering
7631 * PropertyGridTextBox.cs: Changed Text property name
7632 * GridItem.cs: Added Bounds property.
7633 * GridEntry.cs: Added Bounds property.
7635 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7637 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7638 since GetType() may not return the correct type if the object is
7641 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7643 * TreeNodeCollection.cs: fixes get/set item ranges
7645 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7647 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7649 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7651 * ComboBox.cs: Fix item range comparation
7652 * ListView.cs: Fix item range comparation
7654 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7657 - Clear example panel when OnPaint is called
7658 - Better solution for displaying the example panel text
7659 - Select default indexes in the ListBoxes
7661 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7663 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7665 2005-05-11 Peter Bartok <pbartok@novell.com>
7667 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7668 * SelectionRangeConverter.cs: Implemented
7669 * PropertyGrid.cs: Fixed attribute value
7671 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7672 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7673 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7674 that's common to all drivers. First methods to go there are
7675 Sebastien Pouliot's CAS Stack Propagation helper methods
7676 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7677 Sebastien Pouliot for CAS Stack Propagation
7679 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7682 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7684 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7686 * DataGridTextBoxColumn.cs: fixed some members
7687 * GridColumnStylesCollection.cs: indexed column is case insensitive
7688 * DataGridTableStyle.cs: fixes
7689 * ThemeWin32Classic.cs: add new theme parameter
7690 * Theme.cs: add new theme parameter
7691 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7692 * DataGrid.cs: fixes, new internal properties, etc.
7693 * DataGridColumnStyle.cs: allows to set grid value
7696 2005-05-10 Peter Bartok <pbartok@novell.com>
7698 * AccessibleObject.cs:
7699 - Removed MonoTODO attribute on help, method is correct
7700 - Fixed Bounds property
7701 * AxHost.cs: Moved MonoTODO
7702 * ButtonBase.cs: Now setting AccessibleObject properties
7703 * RadioButton.cs: Setting proper AccessibleObject role
7704 * CheckBox.cs: Setting proper AccessibleObject role
7705 * ControlBindingsCollection.cs: Added properties, methods and attributes
7706 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7707 userdefined DataFormats.Format items as well
7708 * ListControl.cs: Removed data_member from the public eye
7709 * OpenFileDialog.cs:
7711 - Added missing attributes
7712 * SaveFileDialog.cs: Added missing attributes
7713 * ImageListStreamer.cs: Fixed code that caused warnings
7714 * LinkLabel.cs: Removed unreachable code
7715 * TreeView.cs: Fixed code that caused warnings
7716 * PropertyGridView.cs: Fixed code that caused warnings
7717 * GridColumnStylesCollection.cs: Added missing attributes
7718 * GridTableStylesCollection: Added missing attribute
7719 * PropertyManager: Added .ctor
7720 * SecurityIDType: Added
7721 * DataObject.cs: Implemented class
7722 * LinkArea.cs: Added missing attribute
7724 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7726 * RadioButton.cs: call base method to allow to fire OnClick event
7727 * UpDownBase.cs: OnMouseUp call base method
7728 * CheckedListBox.cs: call base method before returning
7729 * TrackBar.cs: call base method before returning
7732 2005-05-10 Peter Bartok <pbartok@novell.com>
7734 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7737 2005-05-10 Peter Bartok <pbartok@novell.com>
7739 * DataFormats.cs: Implemented
7740 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7741 XplatUIX11.cs: Added Clipboard APIs
7742 * XplatUIWin32.cs: Implemented Clipboard APIs
7743 * FolderBrowserDialog.cs: Added missing event, attributes
7745 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7747 * CheckBox.cs: call base method to allow to fire OnClick event
7749 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7751 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7753 2005-05-06 Peter Bartok <pbartok@novell.com>
7755 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7756 * Screen.cs: Implemented
7757 * HelpNavigator.cs: Added
7758 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7760 * HelpProvider.cs: Implemented all we can do until we have a CHM
7761 help library (which means that "What's This" does work now)
7763 2005-05-06 Jackson Harper <jackson@ximian.com>
7765 * XplatUIX11.cs: Fix waking up the main loop.
7767 2005-05-05 Peter Bartok <pbartok@novell.com>
7769 * XplatUI.cs: Updated revision
7770 * Form.cs: Removed enless loop
7771 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7772 * Label.cs (OnPaint): Added call to base.OnPaint()
7773 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7774 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7775 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7777 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7778 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7779 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7780 reuse of ToolTipWindow by other controls
7781 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7782 * XplatUIX11.cs: Now clipping drawing area (experimental)
7783 * PictureBox.cs: Moved base.OnPaint() call to end of method
7784 * Theme.cs: Fixed ToolTip abstracts to match new format
7785 * ErrorProvider.cs: Implemented
7787 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7789 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7793 - Implements LinkBehavior
7796 2005-05-03 Jackson Harper <jackson@ximian.com>
7798 * ListView.cs: Calculate the scrollbar positioning on resize and
7799 paint, so they get put in the correct place.
7801 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7803 * ColorDialogs.cs: The small color panels are now handled by
7804 SmallColorControl. This fixes drawing of the focus rectangle
7805 and adds a 3D border.
7807 2005-05-03 Peter Bartok <pbartok@novell.com>
7809 * Control.cs: Modified version of Jonathan Chamber's fix for
7812 2005-05-03 Jackson Harper <jackson@ximian.com>
7814 * ListView.cs: Remove redraw variable. Control now handles whether
7815 or not a redraw needs to be done, and will only raise the paint
7816 event if redrawing is needed.
7818 2005-05-03 Jackson Harper <jackson@ximian.com>
7820 * Splitter.cs: No decorations for the splitter form. Cache the
7823 2005-05-03 Jackson Harper <jackson@ximian.com>
7825 * TreeView.cs: Use dashed lines to connect nodes. Use the
7826 ControlPaint method for drawing the focus rect instead of doing
7829 2005-05-02 Peter Bartok <pbartok@novell.com>
7831 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7833 2005-04-29 Jackson Harper <jackson@ximian.com>
7835 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7836 entire image buffer. Just clear the clipping rectangle.
7838 2005-04-29 Jackson Harper <jackson@ximian.com>
7840 * ThemeWin32Classic.cs: Don't draw list view items that are
7841 outside the clipping rectangle.
7843 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7845 * ListBox.cs: added horizontal item scroll
7847 2005-04-29 Jackson Harper <jackson@ximian.com>
7849 * ThemeWin32Classic.cs: Remove some old debug code that was
7850 causing flicker with the new double buffering code.
7852 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7854 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7855 behave like combobox and comboboxlist (still not sure if this is
7858 2005-04-28 Jackson Harper <jackson@ximian.com>
7860 * ThemeWin32Classic.cs: Don't fill the middle of progress
7861 bars. This fills areas outside of the clip bounds that don't need
7864 2005-04-28 Jackson Harper <jackson@ximian.com>
7866 * Control.cs: Don't expose functionality to touch the image buffers.
7868 * ListView.cs: We do not need to (and no longer can) manipulate
7869 the image buffers directly. All of this is handled by Control.
7871 2005-04-28 Peter Bartok <pbartok@novell.com>
7873 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7874 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7875 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7877 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7880 - Adjust control's height for non-simple comboboxes (bug fix)
7882 * MenuAPI.cs: remove unused var
7883 * ScrollBar.cs: remove unsed var
7885 * ListBox.cs: unselect items when clearing
7887 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7889 * ListControl.cs: honors OnPositionChanged and default Selected Item
7890 * ListBox.cs: unselect items when clearing
7892 2005-04-27 Jackson Harper <jackson@ximian.com>
7894 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7895 if a "correct" keyboard is not found. This will make us not crash,
7896 but might give some users bad keyboard layouts...seems to be the
7897 same thing rewind does.
7899 2005-04-27 Jackson Harper <jackson@ximian.com>
7901 * BindingManagerBase.cs: Attach the current/position changed
7902 handlers to their respective events.
7904 2005-04-27 Jackson Harper <jackson@ximian.com>
7906 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7908 * ThemeWin32Classic.cs: Don't fill the background for picture
7909 boxes. This could overright user drawing.
7910 * ComboBox.cs: Just fill the clipping rect not the entire client
7911 rect when drawing the background. This prevents pieces of the
7912 image buffer from getting overwritten and is theoretically faster.
7914 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7916 * ComboBox.cs: Databinding support fixes, fire missing events
7917 * ListControl.cs: implement missing methods and properties, fixes
7918 * ThemeWin32Classic.cs: Databiding support on Drawing
7919 * CheckedListBox.cs: Databinding support fixes, fire missing events
7920 * ListBox.cs: Databinding support fixes, fire missing events
7922 2005-04-25 Peter Bartok <pbartok@novell.com>
7924 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
7926 2005-04-25 Jackson Harper <jackson@ximian.com>
7928 * TreeView.cs: Use the horizontal scrollbars height not width when
7929 determining how much of the client area is available.
7931 2005-04-25 Jackson Harper <jackson@ximian.com>
7933 * Control.cs: Double buffering is handled differently now. As per
7934 the spec, the extra buffer is created in the WM_PAINT message and
7935 passed down to the control's drawing code.
7943 * PropertyGridView.cs:
7955 * DateTimePicker.cs:
7957 * TreeView.cs: Update to new double buffering system.
7958 * MonthCalendar.cs: Uncomment block, as Capture is now
7959 working. Update to new double buffering
7960 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
7961 * PaintEventArgs.cs: New internal method allows us to set the
7962 graphics object. This is used for double buffering.
7963 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
7964 rectangle. The internal paint_area var has been removed from
7965 StatusBar. The clipping rect should be used instead.
7966 * Theme.cs: Give the PictureBox drawing method a clipping rect.
7967 * TabPage.cs: The RefreshTabs method was removed, so just call the
7968 tab controls Refresh method now.
7969 * TabControl.cs: Update to new double buffering. Make sure the
7970 handle is created before sizing the tab pages, otherwise we will
7971 get stuck in a loop.
7973 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
7975 * LinkLabel.cs: Fix typo, bug #74719; patch
7976 from Borja Sanchez Zamorano
7978 2005-04-22 Jackson Harper <jackson@ximian.com>
7980 * TreeNode.cs: Implement Handle stuff.
7981 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
7983 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
7985 * DataGridTextBoxColumn.cs: call base constructors, fixes
7986 * GridColumnStylesCollection.cs: missing events, methods, and functionality
7987 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
7988 * DataGridTableStyle.cs: implements create default column styles
7989 * DataGridBoolColumn.cs: which types can handle
7990 * DataGrid.cs: missing methods, fixes, new functionality
7991 * DataGridColumnStyle.cs: fixes
7993 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
7994 * FolderBrowserDialog.cs:
7995 - Use a thread to fill the TreeView
7996 - Adjusted some sizes
7998 2005-04-19 Peter Bartok <pbartok@novell.com>
8000 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8001 property. Fixes #74360.
8003 2005-04-19 Jackson Harper <jackson@ximian.com>
8005 * XEventQueue.cs: Lock when getting the lockqueue size.
8006 * PictureBox.cs: Call base OnPaint
8008 2005-04-19 Peter Bartok <pbartok@novell.com>
8010 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8011 messages were no longer being processed (this broke BeginInvoke)
8014 2005-04-18 Jackson Harper <jackson@ximian.com>
8016 * TreeView.cs: buglet that caused node images to get drawn
8017 regardless of whether or not they were in the clipping rectangle.
8019 2005-04-18 Jackson Harper <jackson@ximian.com>
8021 * CurrencyManager.cs: There are four rules for GetItemProperties:
8022 - If the type is an array use the element type of the array
8023 - If the type is a typed list, use the type
8024 - If the list contains an Item property that is not an object, use
8026 - use the first element of the list if there are any elements in
8029 2005-04-17 Jackson Harper <jackson@ximian.oom>
8031 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8032 click. This handles offsets for scrolling properly and reduces
8033 memory. Also fixed GetNode to not offset now that TopNode works
8035 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8037 2005-04-17 Jackson Harper <jackson@ximian.com>
8039 * CursorConverter.cs: Initial implementation.
8041 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8043 * ListControl.cs: work towards complex data binding support on ListControl
8044 * CurrencyManager.cs: work towards complex data binding support on ListControl
8045 * ListBox.cs: work towards complex data binding support on ListControl
8048 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8050 * GridTableStylesCollection.cs: fixes name and constructor
8051 * DataGridTableStyle.cs: fixes
8052 * DataGridBoolColumn.cs: fixes names and constructors
8053 * DataGrid.cs: define methods and properties. Some init implementations
8054 * DataGridCell.cs: define methods and properties. Some init implementations
8055 * GridTablesFactory.cs: Define methods and properties
8057 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8059 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8060 graphics port changes. We still want the coordinates in global screen
8063 2005-04-14 Jackson Harper <jackson@ximian.com>
8065 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8066 check plus minus or checkbox clicks unless those features are enabled.
8068 2005-04-14 Jackson Harper <jackson@ximian.com>
8070 * TreeView.cs: Add methods for setting the top and bottom visible
8071 nodes. TreeNode::EnsureVisible uses these methods.
8072 * TreeNode.cs: Implement EnsureVisible
8074 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8076 * Form.cs: Pospone menu assignation if the window has not been created yet
8077 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8080 2005-04-12 Jackson Harper <jackson@ximian.com>
8082 * TreeView.cs: Set the TopNode properly when scrolling
8083 occurs. This has the added benifit of reducing the amount of
8084 walking that needs to be done when drawing. Also removed an old
8086 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8088 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8090 * Timer.cs: fixes interval setting when the timer is already enabled
8092 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8094 * FolderBrowserDialog.cs: First approach
8096 2005-04-09 Peter Bartok <pbartok@novell.com>
8098 * FolderBrowserDialog: Added
8100 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8102 * LinkLabel.cs: move drawing code into the theme
8103 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8104 * Theme.cs: define DrawLinkLabel method
8106 2005-04-05 Jackson Harper <jackson@ximian.com>
8108 * BindingContext.cs: Use weak references so these bad actors don't
8109 stay alive longer then they need to.
8111 2005-04-05 Jackson Harper <jackson@ximian.com>
8113 * ListControl.cs: Basic implementation of complex databinding.
8115 * ListBox.cs: Add calls to ListControl databinding methods.
8117 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8120 - Don't change PopupButtonState to Normal when the
8121 PopupButton gets pressed several times.
8122 - Renamed ButtonPanel to PopupButtonPanel
8124 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8126 * ColorDialog.cs: Use cached objects instead of creating them
8127 * LinkLabel.cs: Use cached objects instead of creating them
8128 * Splitter.cs: Use cached objects instead of creating them
8129 * FontDialog.cs: Use cached objects instead of creating them
8130 * PropertyGridView.cs: Use cached objects instead of creating them
8131 * MessageBox.cs: Use cached objects instead of creating them
8132 * FileDialog.cs: Use cached objects instead of creating them
8133 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8134 * TreeView.cs: Use cached objects instead of creating them
8136 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8138 * Control.cs: use Equals to compare the font since no == op
8139 * ScrollBar.cs: use Equals to compare the font since no == op
8141 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8143 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8145 2005-04-01 Jackson Harper <jackson@ximian.com>
8147 * Binding.cs: Implement IsBinding.
8148 * BindingManagerBase.cs:
8149 * PropertyManager.cs:
8150 * CurrencyManager.cs: Add IsSuspended property.
8152 2005-04-01 Jackson Harper <jackson@ximian.com>
8154 * Binding.cs: Had some IsAssignableFrom calls backwards.
8156 2005-04-01 Jackson Harper <jackson@ximian.com>
8158 * Binding.cs: Handle null data members when pulling data.
8159 * PropertyManager.cs: Handle the data member being a property that
8162 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8164 * DataGridTextBoxColumn.cs: fixes signature
8165 * DataGrid.cs: calls right constructor
8167 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8169 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8170 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8171 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8172 * DataGridTableStyle.cs: implements DataGridTableStyle
8173 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8174 * DataGridTextBox.cs: implements DataGridTextBox
8175 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8177 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8179 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8181 2005-03-29 Peter Bartok <pbartok@novell.com>
8184 - Properly implemented CompanyName property
8185 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8186 returns a path that includes CompanyName, ProductName and
8187 Version (fixes bug #70330)
8189 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8191 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8194 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8196 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8198 - Added ReadOnly CheckBox
8199 - Further refactoring: moved some code from Open-/SaveFileDialog
8202 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8204 * OpenFileDialog.cs: Fixed CheckFileExists
8206 Moved FileView and DirComboBox outside FileDialog class.
8207 They can now be used outside FileDialog
8209 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8211 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8212 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8214 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8216 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8217 - Added missing CreatePrompt property in SaveDialog
8218 - Overall SaveDialog handling should be better now
8219 - Added non standard ShowHiddenFiles property
8220 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8221 - Added InitialDirectory and RestoreDirectory support
8223 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8225 * FileDialog.cs: Made dirComboBox usable
8227 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8229 * FileDialog.cs: Added Filter support (case sensitiv)
8231 2005-03-24 Jackson Harper <jackson@ximian.com>
8233 * TabControl.cs: Need a couple more pixels for the lines.
8235 2005-03-23 Jackson Harper <jackson@ximian.com>
8237 * TabControl.cs: Give the tab page focus when it is selected.
8239 2005-03-23 Jackson Harper <jackson@ximian.com>
8241 * TabControl.cs: Account for the drawing of tabs borders when
8242 invalidating. If the slider was clicked dont do click detection on
8245 2005-03-23 Jackson Harper <jackson@ximian.com>
8247 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8249 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8251 * CategoryGridEntry.cs: Added
8252 * GridItem.cs: Added helper properties
8253 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8254 * GridEntry.cs: Updated code for collection
8255 * PropertyGrid.cs: Cleaned up some formatting
8256 * PropertyGridView.cs: Added drop down functionality for enums.
8257 * GridItemCollection.cs: Added enumerator logic
8258 * PropertyGridEntry.cs: Added
8260 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8263 - Removed unnecessary commented code
8264 - Fixed handling for entering the filename manually in the combobox
8266 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8268 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8270 2005-03-18 Peter Bartok <pbartok@novell.com>
8272 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8273 them being touching the border
8275 2005-03-18 Peter Bartok <pbartok@novell.com>
8277 * TextControl.cs: Quick hack to center text better
8279 2005-03-18 Peter Bartok <pbartok@novell.com>
8282 - Don't throw NotImplemented exceptions, just print a notice once
8283 instead (requested by Miguel). This makes running existing SWF
8286 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8287 - Added context menu trigger on right click
8288 * Panel.cs: Trigger invalidate on resize
8290 - Removed old double-buffer drawing
8291 - Added ResizeRedraw style to force proper update of statusbar
8293 - Removed debug output
8294 * ThemeWin32Classic.cs:
8295 - Fixed drawing of status bar, now draws Text property if there
8296 are no defined panels
8298 2005-03-18 Jackson Harper <jackson@ximian.com>
8300 * ImageList.cs: When the image stream is set pull all the images
8302 * ImageListStreamer.cs: Implement reading image list streams.
8304 2005-03-18 Peter Bartok <pbartok@novell.com>
8306 * ThemeWin32Classic.cs (DrawPictureBox):
8307 - Fixed calculations for centered drawing
8308 - Fixed drawing for normal mode, not scaling the image on normal
8310 2005-03-18 Peter Bartok <pbartok@novell.com>
8312 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8315 - Made Open/Save button the accept button for FileDialog
8316 - Tied the cancel button to the IButtonControl cancel button
8317 - Save/Open now properly builds the pathname
8318 - Now handles user-entered text
8319 - Preventing crash on right-click if no item is selected
8320 - Fixed Text property, now uses contents of textbox
8321 - Fixed SelectedText property, now just returns the text part that
8322 is selected in the text box
8324 2005-03-18 Jackson Harper <jackson@ximian.com>
8326 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8327 rect, make sure to de-adjust the interior rect after drawing the
8330 2005-03-18 Peter Bartok <pbartok@novell.com>
8332 * MenuAPI.cs: Remove menu *before* executing selected action to
8333 prevent the menu from 'hanging around'
8335 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8337 * XplatUIOSX.cs: Implemented WorkingArea property
8339 2005-03-17 Peter Bartok <pbartok@novell.com>
8341 * XplatUIX11.cs: Fixed menu coord calculations
8342 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8343 for calculating offsets
8345 2005-03-17 Peter Bartok <pbartok@novell.com>
8347 * Hwnd.cs: Do not consider menu presence for default client
8348 rectangle location/size
8349 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8350 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8351 translation functions
8352 * FileDialog.cs: Fixed (what I presume is a) typo
8354 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8356 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8357 X access (avoids X-Async errors)
8359 2005-03-16 Jackson Harper <jackson@ximian.com>
8361 * TabControl.cs: Raise the SelectedIndexChanged event.
8363 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8365 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8366 - Removed vertical ToolBar and replaced it with a custom panel
8367 (desktop and home button already work)
8368 - Added Help button (some controls get resized or relocated then)
8369 - Draw correct text depending on Open or Save.
8370 - Fixed some typos...
8372 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8375 - Only change Maximum and Minimum when need it (bug fix)
8377 2005-03-15 Peter Bartok <pbartok@novell.com>
8379 * Form.cs: Use Handle for icon, to trigger creation if
8380 the window does not yet exist
8382 - CanSelect: Slight performance improvement
8383 - Focus(): Preventing possible recursion
8384 - Invalidate(): Removed ControlStyle based clear flag setting
8385 - WM_PAINT: fixed logic for calling OnPaintBackground
8386 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8387 EraseWindowBackground if the control doesn't paint background
8389 - Moved EraseWindowBackground() method to internal methods
8390 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8391 is sent via SendMessage on BeginPaint call on Win32
8393 - Added EraseWindowBackground() method
8394 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8395 PaintEventStart, which more closely matches Win32 behaviour
8396 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8397 - Fixed SetFocus() to properly deal with client and whole windows
8398 * Hwnd.cs: Added ErasePending property
8399 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8400 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8402 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8405 - Fix hard loop when timers exist.
8406 - Fix bugs with middle and right click for 3 button mice.
8408 2005-03-11 Peter Bartok <pbartok@novell.com>
8411 - get_WorkingArea: Need to call X directly, GetWindowPos only
8412 returns cached data now
8413 - Added sanity check to GetWindowPos hwnd usage
8415 2005-03-11 Jackson Harper <jackson@ximian.com>
8417 * BindingManagerBase.cs: This method isn't used anymore as
8418 PullData now updates the data in the control.
8420 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8422 * Form.cs: fixes menu drawing on X11
8423 * MenuAPI.cs: fixes menu drawing on X11
8425 2005-03-11 Peter Bartok <pbartok@novell.com>
8427 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8428 from Jonathan Gilbert; should fix bug #73606
8429 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8430 in Screen coordinates. Thanks, Jordi.
8431 * Form.cs: Added missing attribute
8433 2005-03-11 Peter Bartok <pbartok@novell.com>
8436 - Rudimentary Mdi support
8437 - Removed outdated FormParent code
8438 - Implemented lots of missing properties and methods, still missing
8439 transparency support
8440 - Added missing attributes
8441 - Implemented support for MaximumBounds
8442 - Added firing of various events
8443 * XplatUI.cs: Added SetIcon() method
8444 * XplatUIDriver.cs: Added SetIcon() abstract
8445 * XplatUIOSX.cs: Stubbed out SetIcon() method
8447 - Implemented SetIcon() support
8448 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8449 - Switched to unix line endings
8451 - Made POINT internal so for can access it as part of MINMAX
8452 - Implemented SetIcon() support
8453 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8454 native Mdi support again, might have to go managed)
8455 * Control.cs: Now fires the StyleChanged event
8456 * MdiClient.cs: Added; still mostly empty
8458 2005-03-10 Peter Bartok <pbartok@novell.com>
8460 * SaveFileDialog.cs: Added emtpy file
8462 2005-03-08 Peter Bartok <pbartok@novell.com>
8464 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8465 in turn triggers OnCreateContro) when creating a handle for the
8467 * TextControl.cs: Fixed endless loop in certain cases when
8468 replacing the current selection
8470 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8473 - Honors NewValue changes in Scroll events allowing apps to change it
8474 - Adds First and Last Scroll events
8475 - Fixes Thumb events
8477 2005-03-07 Peter Bartok <pbartok@novell.com>
8479 * Hwnd.cs: Added DefaultClientRectangle property
8480 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8481 more detailed debug information
8483 - Fixed size-change feedback loop, where we would pull an old size
8484 off the queue and mistakenly change our window's size to an
8486 - Now compressing ConfigureNotify events, to reduce looping and
8488 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8491 2005-03-07 Jackson Harper <jackson@ximian.com>
8493 * Binding.cs: Push data pushes from data -> property. Check if the
8494 property is readonly when attempting to set it.
8496 2005-03-07 Jackson Harper <jackson@ximian.com>
8498 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8499 instead of IsSubclassOf. Pulling data now sets the value on the
8501 * PropertyManager.cs:
8502 * CurrencyManager.cs: Just need to pull data when updating now,
8503 because PullData will set the value on the control.
8505 2005-03-04 Jackson Harper <jackson@ximian.com>
8507 * Binding.cs: Implement data type parsing and converting on pulled
8508 data. TODO: Are there more ways the data can be converted?
8510 2005-03-04 Jackson Harper <jackson@ximian.com>
8512 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8513 controls Validating method so we can repull the data when the
8514 control loses focus.
8516 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8519 - Fixes null string format
8522 - Adds enum type checks
8523 - Fixes redrawing and recalc need after changing some properties
8524 - Fixes on focus_item set after the event
8525 - Fixes adding columns after the control has been created
8527 * ThemeWin32Classic.cs:
8528 - Fixes CheckBox focus rectangle
8529 - Fixes ColumnHeader drawing
8532 2005-03-03 Jackson Harper <jackson@ximian.com>
8534 * Binding.cs: Bind to <Property>Changed events so we can detect
8535 when properties are changed and update the data.
8537 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8540 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8541 - Fixes ImageList constructor with ImageList container
8542 - Fixes image scaling (wrong parameters at DrawImage)
8544 2005-02-02 Jackson Harper <jackson@ximian.com>
8546 * Binding.cs: Make property searches case-insensitive. Eliminate
8547 some duplicated code.
8549 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8552 - Handle focus event
8553 - Fix scrollbar events
8554 - Discard highlighted item if remove it
8555 - Fixes SelectedItem with strings
8557 2005-03-01 Peter Bartok <pbartok@novell.com>
8560 - Fixed Visible property, now follows (once again) parent chain
8561 to return false if any control in the chain is visible=false
8562 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8563 - Fixed several places where is_visible instead of Visible was used
8564 - Implemented FIXME related to focus selection when setting focused
8565 control to be invisible
8567 * XplatUIWin32.cs: Now using proper method to find out if window is
8568 visible. Thanks to Jordi for pointing it out
8570 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8572 * ComboBox.cs: show/hide scrollbar instead of creating it
8574 2005-02-27 Jackson Harper <jackson@ximian.com>
8576 * CurrencyManager.cs: Add PositionChanged stuff.
8578 2005-02-27 Peter Bartok <pbartok@novell.com>
8580 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8581 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8582 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8584 - Implemented GetMenuDC()
8585 - Implemented GetMenuOrigin()
8586 - Implemented ReleaseMenuDC()
8587 - Implemented generation of WM_NCPAINT message
8588 - Implemented generation and handling of WM_NCCALCSIZE message
8589 * Form.cs: Added debug helper message for Jordi's menu work
8591 - Modified ClientRect property; added setter, fixed getter to handle
8592 setting of ClientRect
8593 - Added MenuOrigin property
8595 2005-02-26 Peter Bartok <pbartok@novell.com>
8598 - Destroys the caret if a window that's being destroyed contains it
8599 - Ignores expose events coming from the X11 queue for windows that
8600 already are destroyed
8601 - Now uses the proper variable for handling DestroyNotify, before we
8602 marked the wrong window as destroyed
8603 - Improved/added some debug output
8605 2005-02-26 Peter Bartok <pbartok@novell.com>
8607 * X11Keyboard.cs: Fixes to work on 64bit systems
8609 2005-02-26 Peter Bartok <pbartok@novell.com>
8612 - Now calling OnHandleDestroyed from DestroyHandle()
8613 instead of Dispose()
8614 - Removed bogus call to controls.Remove() from DestroyHandle()
8616 2005-02-26 Peter Bartok <pbartok@novell.com>
8618 * Control.cs: Properly destroy child windows when our handle is
8621 2005-02-25 Peter Bartok <pbartok@novell.com>
8624 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8625 - Alphabetized Static Methods and Subclasses
8628 - Added XException class to allow custom handling of X11 exceptions
8629 - Created custom X11 error handler, tied into XException class
8630 - Added support for MONO_XEXCEPTIONS env var to allow the user
8631 to either throw an exception on X errors or continue running
8632 after displaying the error
8633 - Added handling of DestroyNotify message
8634 - Added handler for CreateNotify message (still disabled)
8635 - Improved (tried to at least) Where method to provide file and lineno
8637 - Added XErrorHandler delegate
8638 - Added XRequest enumeration (to suppor translation of errors)
8640 2005-02-25 Jackson Harper <jackson@ximian.com>
8642 * PropertyManager.cs: Implement editing features
8643 * CurrencyManager.cs:
8644 * Binding.cs: First attempt at UpdateIsBinding
8645 * BindingManagerBase.cs: Call UpdateIsBinding before
8646 pushing/pulling data.
8648 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8650 * MenuAPI.cs: Respect disabled items
8651 * ThemeWin32Classic.cs
8652 - Caches ImageAttributes creation for DrawImageDisabled
8653 - Fixes vertical menu line drawing
8654 - Draws disabled arrows in disable menu items
8656 2005-02-24 Peter Bartok <pbartok@novell.com>
8659 - Added UserData property to allow associating arbitrary objects
8661 - Fixed leak; now removing Hwnd references from static windows array
8663 - Fixed Graphics leak in PaintEventEnd
8664 - Removed usage of HandleData, switched over to Hwnd class
8665 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8667 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8669 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8670 * ScrollBar.cs: Fixes bug
8671 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8672 keyboard navigation enhancements
8674 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8676 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8677 * GroupBox.cs: Add control styles
8678 * Label.cs: Add control styles
8679 * UpDownBase.cs: Add control styles
8680 * ListBox.cs: Add control styles
8681 * XplatUIWin32.cs: Fixes wrong parameter order
8684 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8686 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8688 2005-02-23 Jackson Harper <jackson@ximian.com>
8690 * PropertyManager.cs: Implement property binding. This doesn't
8691 seem to work yet though as (I think) there are some bugs in
8692 System.ComponentModel.PropertyDescriptor.
8693 * BindingContext.cs: Use new PropertyManager constructor.
8695 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8697 * ProgressBar.cs: use clip region in ProgressBar
8698 * ThemeWin32Classic.cs: use clip region in ProgressBar
8700 2004-02-22 Jackson Harper <jackson@ximian.com>
8702 * BindingsCollection.cs: Remove some debug code.
8704 2005-02-22 Jackson Harper <jackson@ximian.com>
8706 * BindingContext.cs:
8707 * ControlBindingsCollection.cs:
8708 * CurrencyManager.cs:
8710 * BindingManagerBase.cs: Initial implementation
8711 * BindingsCollection.cs: Add an internal contains method that the
8712 BindingManagerBase uses to ensure bindings aren't added twice to
8714 * PropertyManager.cs: Stubbed out.
8716 * ContainerControl.cs: Hook up databinding
8718 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8721 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8722 Fixed Invalidate/Update chain.
8723 Fixed tons of other minor bugs (this is almost a complete rewrite).
8725 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8727 * ComboBox.cs: do subcontrol creation when the control is created
8729 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8731 * Label.cs: fixes image drawing (image and imagelist)
8732 * ThemeWin32Classic.cs: cache brushes
8734 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8736 * Form.cs: Move menu drawing code to Theme class
8737 * ComboBox.cs: Move ComboBox drawing code to Theme class
8738 * MenuItem.cs: Move menu drawing code to Theme class
8739 * MenuAPI.cs: Move menu drawing code to Theme class
8740 * ThemeWin32Classic.cs: New methods
8741 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8742 * ListBox.cs: Move Listbox drawing code to Theme class
8743 * Theme.cs: New methods
8745 2005-02-20 Peter Bartok <pbartok@novell.com>
8748 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8749 only process mnemonics on those)
8750 - Fixed event sequence for key handling; first calling
8751 ProcessKeyEventArgs now
8753 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8754 for processing non-character keys
8755 - Fixed WM_CHAR to generate proper event sequence before processing
8756 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8759 2005-02-19 Peter Bartok <pbartok@novell.com>
8761 * UserControl.cs: Added TextChanged event; added attributes
8762 * SizeGrip.cs: Implemented resizing and optional display of grip
8763 * Form.cs: Fixed attribute
8764 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8765 Changed meaning of ScrollWindow bool argument; instead of the
8766 clear attribute (which will be true usually anyway), it gives the
8767 option of moving child controls as well.
8769 - Changed to match new ScrollWindow argument
8770 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8771 now handles the implicit parent window a WM puts around us
8772 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8774 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8775 * TreeView.cs: Adjusted to new ScrollWindow arguments
8777 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8779 * Form.cs: Menu integration with non-client area
8780 * MenuItem.cs: Menu integration with non-client area
8781 * MenuAPI.cs: Menu integration with non-client area
8783 2005-02-18 Peter Bartok <pbartok@novell.com>
8785 * MethodInvoker.cs: Added
8786 * MdiLayout.cs: Added
8787 * SendKeys.cs: Started implementation
8788 * ErrorIconAlignment.cs: Added
8790 2005-02-18 Peter Bartok <pbartok@novell.com>
8792 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8793 * Form.cs: Added handling for Menu-related Non-client messages
8795 2005-02-17 Peter Bartok <pbartok@novell.com>
8797 * UpDownBase.cs: Fixed typo, compilation errors
8798 * DomainUpDown.cs: Fixed attribute value
8800 2005-02-16 Miguel de Icaza <miguel@novell.com>
8802 * UpDownBase.cs: Attach entry events.
8804 Add ForeColor property, Focused, InterceptArrowKeys (interception
8807 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8810 - Redraw non client are on Setmenu
8811 - Calc proper menu starting point
8813 2005-02-17 Peter Bartok <pbartok@novell.com>
8815 * Application.cs: Fixed message_filter check
8817 2005-02-17 Peter Bartok <pbartok@novell.com>
8819 * Application.cs: Now calls registered message filters
8820 * DockStyle.cs: Fixed attribute
8821 * Form.cs: Fixed attribute
8822 * Menu.cs: Fixed attribute
8823 * ToolTip.cs: Fixed attribute
8824 * TreeNode.cs: Added missing attributes and arranged in regions
8825 * PropertyGrid.cs: Fixed signatures
8826 * TreeNodeCollection.cs: Added attributes
8827 * Splitter.cs: Added missing attributes; arranged into regions
8828 * TabPage.cs: Added missing attributes; arranged into regions
8829 * TextBoxBase.cs: Added missing attributes
8830 * TextBox.cs: Added missing attributes
8831 * ArrangeDirection.cs: Added missing attributes
8832 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8833 * ToolBarButton.cs: Fixed attributes
8834 * AnchorStyles.cs: Fixed attribute
8835 * TrackBar.cs: Fixed attributes
8836 * TabControl.cs: Added missing attributes and arranged into regions
8837 * ToolBar.cs: Fixed attribute
8838 * StatusBar.cs: Fixed signature, organized into regions and added
8840 * StatusBarPanel.cs: Fixed attributes
8841 * ContentsResizedEventArgs.cs: Implemented
8842 * ContentsResizedEventHandler.cs: Implemented
8843 * DateBoldEventArgs.cs: Implemented
8844 * DateBoldEventHandler.cs: Implemented
8845 * UpDownEventArgs.cs: Implemented
8846 * UpDownEventHandler.cs: Implemented
8848 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8850 * Form.cs: first Menu NC refactoring
8851 * MenuAPI.cs: first Menu NC refactoring
8853 2005-02-16 Peter Bartok <pbartok@novell.com>
8855 * ImeMode.cs: Added missing attributes
8856 * Menu.cs: Fixed attribute
8857 * GroupBox.cs: Fixed attribute
8858 * Label.cs: Fixed attribute
8859 * ColorDialog.cs (RunDialog): Removed TODO attribute
8860 * ComboBox.cs: Fixed attributes
8861 * ListControl.cs: Added missing attributes
8862 * PropertyGrid.cs: Fixed attributes
8863 * Control.cs: Fixed attributes
8864 * ListViewItem.cs: Added TypeConverter attribute
8865 * NotifyIcon.cs: Fixed attributes
8866 * ListView.cs: Fixed attributes
8867 * ButtonBase.cs: Fixed attribute
8868 * ImageList.cs: Added missing attributes
8869 * ContainerControl.cs: Fixed signature
8870 * CheckedListBox.cs: Fixed attribute; added missing attributes
8871 * Panel.cs: Fixed attributes
8872 * PropertyTabChangedEventArgs.cs: Added missing attribute
8873 * PropertyValueChangedEventArgs.cs: Added missing attribute
8874 * Binding.cs: Fixed attribute
8875 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8876 * ListBox.cs: Fixed attribute; added missing attributes;
8877 * ScrollableControl.cs: Added missing attributes
8878 * PictureBox.cs: Added missing attributes; implemented missing property
8879 * DateTimePicker.cs: Added missing attributes
8880 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8881 * MonthCalendar.cs: Fixed attributes
8882 * StatusBarPanel.cs: Added missing attributes
8883 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8885 2005-02-16 Peter Bartok <pbartok@novell.com>
8887 * TextBoxBase.cs: The previous method to enforce height yet remember
8888 the requested high was less than ideal, this is an attempt to do
8890 * Control.cs: Added comment about possible problem
8891 * Copyright: Updated format
8892 * GridItemType.cs: Fixed swapped values
8894 2005-02-15 Jackson Harper <jackson@ximian.com>
8896 * BaseCollection.cs: Use property so we never access an
8897 uninitialized list. Also initialize the list in the property.
8899 2005-02-15 Peter Bartok <pbartok@novell.com>
8901 * GroupBox.cs (ProcessMnemonic): Implemented
8902 * Label.cs (ProcessMnemonic): Implemented
8903 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8906 2005-02-15 Peter Bartok <pbartok@novell.com>
8908 * RadioButton.cs (ProcessMnemonic): Implemented
8909 * CheckBox.cs (ProcessMnemonic): Implemented
8911 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8913 - Added internal method to allow calling ProcessMnemonic from other
8915 * ContainerControl.cs:
8916 - Started support for handling validation chain handling
8917 - Implemented ProcessMnemonic support
8918 - Added Select() call to Active, to make sure the active control
8920 * Form.cs: Setting toplevel flag for Forms (this was lost in the
8922 * ThemeWin32Classic.cs:
8923 - DrawCheckBox(): Fixed stringformat to show hotkeys
8924 - DrawRadioButton(): Fixed stringformat to show hotkeys
8925 * CommonDialog.cs: Removed WndProc override, not needed
8927 2005-02-14 Peter Bartok <pbartok@novell.com>
8929 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
8930 missed those in the rewrite
8932 2005-02-14 Miguel de Icaza <miguel@novell.com>
8934 * NumericUpDown.cs (Increment, ToString): Add.
8935 (DecimalPlaces): implement.
8939 * UpDownBase.cs: Add the designer attributes.
8941 2005-02-13 Peter Bartok <pbartok@novell.com>
8943 * Panel.cs: Removed border_style, now in Control
8944 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
8945 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
8947 2005-02-13 Peter Bartok <pbartok@novell.com>
8949 * MouseButtons.cs: Added missing attributes
8950 * XplatUIStructs.cs: Added enumeration for title styles
8951 * LeftRightAlignment.cs: Added missing attributes
8952 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
8953 it compatible with Graphics.FromHwnd()
8954 * SelectedGridItemChangedEventArgs.cs: Fixed property type
8955 * Keys.cs: Added missing attributes
8956 * SelectionRange.cs: Added missing attributes
8957 * SelectionRangeConverter.cs: Added
8959 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
8960 ReleaseMenuDC methods
8961 - Renamed ReleaseWindow to UngrabWindow
8962 - Added proper startup notice to allow version identification
8964 - Added missing attributes
8965 - Removed FormParent concept
8966 * Label.cs: Removed border_style field, now in Control
8967 * RadioButton.cs: Now properly selects RadioButton when focus is
8969 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
8971 - Added missing attributes
8972 - Added borderstyle handling
8973 - Removed FormParent concept support
8974 - Fixed calls to XplatUI to match changed APIs
8975 - Fixed bug that would case us to use disposed Graphics objects
8976 - Removed unneeded internal methods
8977 - PerformLayout(): Fixed to handle DockStyle.Fill properly
8978 - SelectNextControl(): Fixed to properly check common parents
8979 * TextBoxBase.cs: Removed border_style field (now in Control)
8981 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
8982 fixed calculations for form size
8983 - Added support for localized strings and icons
8984 - Improved form size calculations, added border
8985 * ListView.cs: Removed border_style field (now in Control)
8986 * X11Structs.cs: Moved several structs from X11 driver here
8987 * X11Keyboard.cs: Changed debug message
8988 * Application.cs: Removed FormParent concept support
8990 - Resetting end_modal flag
8991 - Removed FormParent concept support
8992 * NativeWindow.cs: Removed FormParent concept support
8993 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
8994 Client area and Non-Client whole window to allow support for WM_NC
8996 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
8997 prevent using it until it supports Hwnd as per Geoff Norton's request
8998 * ToolBar.cs: Fixed drawing, was not doing proper drawing
8999 * PictureBox.cs: Removed border_style field, now in Control
9000 * XplatUIWin32.cs: Added new driver methods
9002 2005-02-12 Peter Bartok <pbartok@novell.com>
9004 * OpacityConverter.cs: Implemented
9005 * Hwnd.cs: Internal class to support drivers that need to emulate
9006 client area/non-client area window behaviour
9008 2005-02-11 Peter Bartok <pbartok@novell.com>
9010 * KeysConverter.cs: Implemented
9012 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9014 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9015 * LinkLabel: Added missing attributes
9016 * MainMenu.cs: fixes ToString
9017 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9018 * ListBox.cs: fixes event position
9019 * TrackBar.cs: adds missing attributes and events
9021 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9023 * MenuItem.cs: Use SystemInformation and bug fixes
9024 * MenuAPI.cs: Use SystemInformation and bug fixes
9026 2005-02-09 Jackson Harper <jackson@ximian.com>
9028 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9029 their keystate otherwise things like VK_MENU get stuck "on".
9031 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9033 * ListBox.cs: Fixes AddRange bug
9035 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9038 - Add missing attributes
9039 - Add missing method
9041 * CheckedListBox.cs: Added missing attributes
9042 - Add missing attributes
9043 - Remove extra method
9045 * ComboBox.cs: Added missing attributes
9046 * VScrollBar.cs: Added missing attributes
9047 * ScrollBar.cs: Added missing attributes
9048 * ListBox.cs: Fixes signature, add missing consts
9049 * LinkArea.cs: Added missing attributes
9052 2005-02-08 Peter Bartok <pbartok@novell.com>
9054 * Menu.cs: Added missing attributes
9055 * MainMenu.cs: Added missing attributes
9056 * GroupBox.cs: Added missing attributes
9057 * Label.cs: Added missing attributes
9058 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9060 - Added Instance and Options properties
9061 - Added missing attributes
9062 * Cursor.cs: Made Serializable
9063 * NotifyIcon: Added missing attributes
9064 * MenuItem.cs: Added missing attributes
9065 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9066 * Panel.cs: Added Missing attributes
9067 * MonthCalendar.cs: Fixed CreateParams
9069 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9073 - Fixes issues with links
9074 - Adds the class attributes
9076 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9079 - Fixes button when no items available in dropdown
9080 - Fixes repainting problems
9081 - Adds the class attributes
9083 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9085 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9086 the current theme. Cache these on startup.
9088 2005-02-07 Jackson Harper <jackson@ximian.com>
9090 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9091 the scrollbar buttons when they are depressed.
9093 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9095 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9096 Get the display size from the main displayid. We currently dont
9097 support multiple display configurations.
9099 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9101 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9103 2005-02-07 Miguel de Icaza <miguel@novell.com>
9105 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9107 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9109 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9111 2005-02-04 Jackson Harper <jackson@ximian.com>
9113 * ThemeWin32Classic.cs: Respect the clipping rect when
9114 drawing. Only fill the intersection of clips and rects so there
9115 isn't a lot of large fills.
9116 * ScrollBar.cs: Pass the correct clipping rect to the theme
9117 engine. Remove some debug code.
9119 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9121 * DateTimePicker.cs:
9122 - Fixed crash on DateTime.Parse, use Constructor instead
9124 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9128 - Owner draw support (MeasureItem and DrawItem)
9130 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9133 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9134 - Fixes MenuItems.Add range
9136 - MergeMenu and Clone and CloneMenu functions
9138 2005-02-03 Jackson Harper <jackson@ximian.com>
9140 * ScrollBar.cs: Make abstract
9141 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9144 2005-02-03 Jackson Harper <jackson@ximian.com>
9146 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9147 all the unneeded refreshes and uses invalidates with properly
9150 2005-02-03 Peter Bartok <pbartok@novell.com>
9152 * ComponentModel.cs: Added
9153 * IDataGridEditingService.cs: Added
9154 * Timer.cs: Added missing attributes
9155 * ToolTip.cs: Added missing attributes
9157 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9159 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9161 2005-02-03 Peter Bartok <pbartok@novell.com>
9163 * ListBox.cs: Added missing attributes
9165 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9168 - Fixes font height after font change
9169 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9171 2005-02-02 Peter Bartok <pbartok@novell.com>
9173 * HandleData.cs: Introduced static methods to allow class
9174 to be more self-contained and track it's own HandleData objects
9175 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9176 HandleData to use new static methods
9178 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9181 - Fixes default size and PreferredHeight
9183 - ObjectCollection.Insert implementation
9189 - ObjectCollection.Insert implementation
9190 - No selection after clean
9193 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9195 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9197 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9200 - Caches ItemHeight calculation for OwnerDrawVariable
9201 - Handles dropdown properly
9202 - Fixes several minor bugs
9204 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9207 - Fixes 71946 and 71950
9208 - Fixes changing Multicolumn on the fly
9209 - Fixes keyboard navigation on Multicolumn listboxes
9211 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9213 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9216 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9218 * XplatUIOSX.cs: Allow applications to actually exit.
9220 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9222 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9223 their parent at creation time rather than lazily later. Fixes a major
9224 regression we were experiencing.
9226 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9228 * ThemeWin32Classic.cs: more date time picker painting fixes
9229 * DateTimePicker.cs: more monthcalendar drop down fixes
9230 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9232 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9235 - When moving the thumb going outside the control should stop the moving
9236 - Adds the firing of missing events
9237 - Fixes no button show if Size is not specified
9238 - End / Home keys for keyboard navigation
9240 2005-01-30 Peter Bartok <pbartok@novell.com>
9242 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9243 sanity check to prevent theoretical loop
9244 * XplatUIWin32.cs (SetVisible): Removed debug output
9245 * XplatUIX11.cs (SystrayChange): Added sanity check
9246 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9247 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9248 behaviour, valid until the X11 client window rewrite is done
9249 * TextBox.cs (ctor): Setting proper default foreground and background
9252 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9254 * Theme: Added DrawDateTimePicker to interface
9255 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9256 * DateTimePicker.cs: Created (still needs keys and painting code)
9257 * DateTimePickerFormat.cs: added
9258 * MonthCalendar.cs: fixed CreateParams for popup window mode
9260 2005-01-29 Peter Bartok <pbartok@novell.com>
9262 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9263 this should also the calculations for ligher/darker
9264 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9266 2005-01-29 Peter Bartok <pbartok@novell.com>
9268 * ArrangeDirection.cs: Added
9269 * ArrangeStartingPositon.cs: Added
9270 * SystemInformation.cs: Implemented
9271 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9272 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9273 used by SystemInformation class
9274 * X11Strucs.cs: Added XSizeHints structure
9276 - Fixed CreateParams to make sure the menu window is always visible
9277 - TrackPopupMenu: Added check to make sure we don't draw the
9280 2005-01-29 Peter Bartok <pbartok@novell.com>
9282 * HandleData.cs: Added method for altering invalid area
9283 * TextBoxBase.cs: Implemented TextLength
9285 2005-01-28 Peter Bartok <pbartok@novell.com>
9287 * XplatUIX11.cs: Improvement over last patch, not sending
9288 the WM_PAINT directly anymore, instead we scroll any pending
9289 exposed areas and let the system pick out the WM_PAINT later
9291 2005-01-28 Peter Bartok <pbartok@novell.com>
9293 * SWF.csproj: Deleted, no longer used. Instead,
9294 Managed.Windows.Forms/SWF.csproj should be used
9295 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9296 directly, to avoid a potential race condition with the next
9299 2005-01-28 Peter Bartok <pbartok@novell.com>
9301 * XplatUI.cs: Made class internal
9303 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9305 * CheckedListBox.cs:
9308 - Missing methods and events
9310 2005-01-27 Peter Bartok <pbartok@novell.com>
9312 * Application.cs (Run): Don't use form if we don't have one
9314 2005-01-27 Peter Bartok <pbartok@novell.com>
9316 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9318 2005-01-27 Peter Bartok <pbartok@novell.com>
9320 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9321 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9322 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9323 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9324 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9325 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9326 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9327 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9328 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9329 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9330 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9331 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9333 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9336 - Draw focus on Simple Combobox
9337 - Fixes drawing issues
9340 2005-01-27 Peter Bartok <pbartok@novell.com>
9343 - Place window in default location, instead of hardcoded 0/0
9344 - Send initial LocationChanged event
9346 - UpdateBounds after creation to find out where the WM placed us
9347 - Make sure that if the ParentForm changes location the Form
9349 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9350 to the root, but to whatever the WM placed around us.
9351 Translate to root coordinates before returning toplevel
9353 * XplatUIWin32.cs: Removed debug output
9354 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9355 flag to GetWindowPos, to allow translation of coordinates on X11
9357 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9359 * ListBox.cs: connect LostFocus Event
9361 2005-01-27 Peter Bartok <pbartok@novell.com>
9363 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9364 XplatUIX11.cs: Extended the Systray API
9365 * Form.cs: Removed debug output
9366 * Application.cs: Fixed focus assignment, always need to call
9367 XplatUI.Activate() since Form.Activate() has rules that may
9369 * NotifyIcon.cs: Should be complete now
9370 * ToolTip.cs: Worked around possible timer bug
9372 2005-01-27 Jackson Harper <jackson@ximian.com>
9375 - Only invalidate the effected tabs when the
9376 selected index changes. This reduces drawing and gets rid of some
9378 - Only refresh if the tabs need to be shifted, otherwise only
9379 invalidate the slider button.
9380 - On windows the tabs are not filled to right if the slider is
9383 2005-01-27 Jackson Harper <jackson@ximian.com>
9385 * TabControl.cs: Only refresh on mouseup if we are showing the
9386 slider. Also only invalidate the button whose state has changed.
9388 2005-01-26 Peter Bartok <pbartok@novell.com>
9390 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9391 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9392 and SystrayRemove() methods
9393 * XplatUIOSX.cs: Stubbed Systray methods
9395 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9397 - Fixed broken XChangeProperty calls (marshalling messed up things)
9398 * X11Structs.cs: Added enums and structs required for Size hinting
9399 * NotifyIcon.cs: Added & implemented
9401 2005-01-26 Jackson Harper <jackson@ximian.com>
9403 * TabControl.cs: Space vertically layed out tabs properly.
9405 2005-01-26 Peter Bartok <pbartok@novell.com>
9407 * Form.cs (CreateClientParams): Always set the location to 0,0
9408 since we're a child window.
9410 * Control.cs (SetVisibleCore): Always explicitly setting the location
9411 of a toplevel window, apparently X11 doesn't like to move windows
9412 while they're not mapped.
9414 2005-01-26 Jackson Harper <jackson@ximian.com>
9416 * TabControl.cs: Implement FillToRight size mode with vertically
9419 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9421 * ControlPaint.cs, ThemeWin32Classic.cs
9422 - Fixes DrawFocusRectangle
9424 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9427 - MenuBar tracking only starts when item is first clicked
9428 - Fixes menu hidding for multiple subitems
9429 - Unselect item in MenuBar when item Executed
9432 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9435 - IsInputKey for ListBox
9438 - Shift and Control item selection
9439 - Implement SelectionMode.MultiExtended
9442 - IsInputKey implemented
9443 - Do not generate OnTextChangedEdit on internal txt changes
9445 2005-01-23 Peter Bartok <pbartok@novell.com>
9447 * AccessibleObject.cs: Partially implemented Select()
9448 * MonthCalendar.cs: Added missing attributes and events
9449 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9450 form can properly override CreateParams.
9451 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9452 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9453 Control performs Invalidate & Update
9454 * NativeWindow (CreateHandle): Added special handling for Form
9455 and Form.FormParent classes to allow overriding of From.CreateParams
9457 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9459 - ControlNativeWindow: Added Owner property
9460 - Removed usage of Refresh() on property changes, changed into
9461 Invalidate(), we need to wait until the queue is processed for
9462 updates, direct calls might cause problems if not all vars for
9463 Paint are initialized
9464 - Added call to UpdateStyles() when creating the window, to set any
9465 styles that CreateWindow might have ignored.
9466 - Added support for Form CreateParent overrides to UpdateStyles()
9467 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9468 CreateParams are now properly overridable
9469 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9470 CreateParams are now properly overridable
9472 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9474 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9477 Capture LostFocus and OnTextBoxChanged. The later introduces a
9478 recursive invocation that I have not figured out yet.
9480 Reset the timer when not using (it was accumulating).
9483 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9484 user has made changes that require validation.
9486 Reset changing to avoid loops.
9488 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9490 * NumericUpDown.cs: Display value at startup.
9492 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9495 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9496 filled in. Added some basic parsing of text.
9498 Still missing the OnXXX method overrides, and figuring out the
9499 events that must be emitted.
9501 * UpDownBase.cs: Handle UserEdit on the Text property.
9503 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9506 - Fixes IntegralHeight
9509 2005-01-21 Jackson Harper <jackson@ximian.com>
9511 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9512 is set so that the page visibility is updated and the tabs are
9515 2005-01-21 Jackson Harper <jackson@ximian.com>
9517 * TabControl.cs: Use cliping rectangle for blitting. Give the
9518 theme the clipping rect so we can do clipping while
9519 drawing. Remove some debug code.
9521 2005-01-21 Jackson Harper <jackson@ximian.com>
9523 * TabPage.cs: Add a new method so tab pages can force the tab
9524 control to recalculate the tab page sizes.
9525 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9528 2005-01-20 Jackson Harper <jackson@ximian.com>
9530 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9532 2005-01-20 Jackson Harper <jackson@ximian.com>
9534 * TreeView.cs: Set the bounds for nodes properly. They were
9535 getting screwed up when checkboxes were not enabled, but images
9538 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9541 - Owner draw support
9544 2005-01-20 Jackson Harper <jackson@ximian.com>
9546 * XplatUIStructs.cs: More misc keys
9547 * X11Keyboard.cs: Ignore some control keys.
9549 2005-01-20 Jackson Harper <jackson@ximian.com>
9551 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9552 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9554 2005-01-19 Peter Bartok <pbartok@novell.com>
9556 * Control.cs: Un-selecting the control when it is loosing focus
9558 2005-01-19 Jackson Harper <jackson@ximian.com>
9560 * TreeView.cs: Hook up to the text controls leave event so we can
9561 end editing when the users clicks outside the text box.
9563 2005-01-19 Jackson Harper <jackson@ximian.com>
9565 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9566 get set in the conversion array.
9568 2005-01-19 Peter Bartok <pbartok@novell.com>
9570 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9571 focus is properly set
9573 - Added missing attributes
9574 - removed styles, those are already set in the base class
9576 - Added missing attributes
9577 - Added clip window styles
9578 * CheckBox.cs: Added missing attributes
9580 - FormParentWindow.CreateParams: Added required clip styles
9581 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9582 also filters modifier keys
9584 - Added assignment of Accept and Cancel button to enable Enter
9585 and Esc keys in MessageBox dialogs
9586 - FormParentWindow.CreateParams: Added required clip styles
9587 * RadioButton.cs: Added missing attributes
9588 * TextControl.cs: No longer draws selection if control does not
9591 - Now draws simple rectangle around test area to make it obvious
9592 there's a control. This is a hack until we properly support borders
9593 - A few simple fixes to support selections better, now erases selected
9594 text when typing, and resets selection when using movement keys
9596 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9598 * UpDownBase.cs: Added some new properties.
9600 * DomainUpDown.cs: Implement a lot to get my test working.
9602 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9604 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9606 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9608 * OSXStructs (WindowAttributes): Fixed csc complaints
9610 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9613 OSXStructs.cs: Initial refactor to move enums and consts into
9614 OSXStructs and use them in the driver for greater readability.
9616 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9618 * XplatUIOSX.cs: Initial support for Standard Cursors.
9619 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9621 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9623 * ComboBox.cs: ability to change style when the ctrl is already
9624 created, missing methods and events, bug fixes, signature fixes
9626 2005-01-19 Peter Bartok <pbartok@novell.com>
9628 * Cursors.cs (ctor): Added ctor to fix signature
9630 2005-01-18 Peter Bartok <pbartok@novell.com>
9632 * Button.cs: Implemented DoubleClick event
9634 - Fixed keyboard handling to behave like MS, where the press of
9635 Spacebar is equivalent to a mousedown, and the key release is
9636 equivalent to mouseup. Now a spacebar push will give the same
9637 visual feedback like a mouse click.
9638 - Added missing attributes
9639 - Added ImeModeChanged event
9640 - Added support for generating DoubleClick event for derived classes
9642 - Implemented DoubleClick event
9643 - Added missing attributes
9644 * CommonDialog.cs: Added missing attribute
9645 * ContextMenu.cs: Added missing attributes
9647 - AutoChecked buttons do not allow to be unselected when clicked
9648 (otherwise we might end up with no selected buttons in a group)
9649 - Added missing attributes
9650 - Implemented DoubleClickEvent
9651 * ThreadExceptionDialog.cs: Enabled TextBox code
9653 2005-01-18 Peter Bartok <pbartok@novell.com>
9655 * Form.cs: Removed debug output
9656 * Button.cs: Added support for DoubleClick method
9658 2005-01-18 Peter Bartok <pbartok@novell.com>
9661 - Added method to parent window that allows triggering size
9662 calculations when a menu is added/removed
9663 - set_Menu: Cleaned up mess from early days of Form and Control,
9664 now properly triggers a recalc when a menu is added/removed
9665 - Added case to select form itself as focused form if no child
9667 - Added PerformLayout call when showing dialog, to ensure properly
9670 - Select(): Made internal so Form can access it
9671 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9673 * Application.cs (Run): Removed hack and calls PerformLayout instead
9674 to trigger calculation when Form becomes visible
9676 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9678 * ComboBox.cs: fixes for ownerdraw
9680 2005-01-18 Peter Bartok <pbartok@novell.com>
9683 - Sentinel is no longer static, each Document gets it's own, this
9684 avoids locking or alternatively overwrite problems when more
9685 than one text control is used simultaneously.
9686 - Switched to use Hilight and HilightText brushes for text selection
9688 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9690 2005-01-18 Peter Bartok <pbartok@novell.com>
9693 - Hooked up the following events:
9701 o SystemColorsChanged
9704 - Removed debug output
9705 - Added a call to the current theme's ResetDefaults when a color change
9707 * Form.cs: Now setting the proper ImeMode
9708 * Theme.cs: Defined a method to force recreation of cached resources
9709 and rereading of system defaults (ResetDefaults())
9710 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9712 2005-01-17 Peter Bartok <pbartok@novell.com>
9714 * Control.cs: Added missing attributes
9716 2005-01-17 Jackson Harper <jackson@ximian.com>
9718 * TreeNode.cs: Implement editing. Add missing properties selected
9720 * TreeView.cs: Implement node editing. Also some fixes to use
9721 Invalidate (invalid area) instead of Refresh when selecting.
9723 2005-01-17 Peter Bartok <pbartok@novell.com>
9726 - Implemented InvokeGotFocus() method
9727 - Implemented InvokeLostFocus() method
9728 - Implemented InvokePaint() method
9729 - Implemented InvokePaintBackground() method
9730 - Implemented InvokeClick() method
9731 - Implemented FindForm() method
9732 - Implemented RectangleToClient() method
9733 - Implemented ClientToRectangle() method
9734 - Implemented ResetBackColor() method
9735 - Implemented ResetCursor() method
9736 - Implemented ResetFont() method
9737 - Implemented ResteForeColor() method
9738 - Implemented ResetImeMode() method
9739 - Implemented ResetLeftToRight() method
9740 - Implemented ResetText() method
9741 - Implemented Scale() methods
9742 - Implemented ScaleCore() method
9743 - Implemented Update() method
9744 - Removed unused variables
9745 - Stubbed AccessibilityNotifyClients and
9746 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9748 - Now setting proper default for RightToLeft property
9749 - Fixed bug in SetClientSizeCore that would cause windows to get
9751 - Now sending Click/DoubleClick events
9752 - Now selecting controls when left mouse button is clicked on
9754 * AccessibleEvents.cs: Added
9755 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9756 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9757 * XplatUIWin32.cs: Implemented UpdateWindow() method
9758 * XplatUIX11.cs: Implemented UpdateWindow() method
9759 * Form.cs: Removed stray semicolon causing CS0162 warning
9760 * ThemeWin32Classic.cs: Fixed unused variable warnings
9761 * ScrollableControl.cs: Now calls base method for ScaleCore
9762 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9763 style to avoid interference with internal click handler (which is
9764 different than standard Control click handling)
9766 - Now unchecks all sibling radio buttons when control is
9767 selected (Fixes #68756)
9768 - Removed internal tabstop variable, using the one inherited from
9771 2005-01-17 Jackson Harper <jackson@ximian.com>
9773 * NavigateEventArgs.cs: Fix base type.
9774 * LinkLabel.cs: Sig fix
9776 2005-01-17 Jackson Harper <jackson@ximian.com>
9778 * TreeView.cs: Only invalidate the effected nodes bounds when
9781 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9783 * XplatUIWin32.cs: fixes Win32 marshaling
9784 * XplatUIX11.cs: fixes method signature
9786 2005-01-17 Peter Bartok <pbartok@novell.com>
9788 * XplatUIX11.cs: Clean up resources when we no longer need them
9790 2005-01-17 Peter Bartok <pbartok@novell.com>
9792 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9793 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9794 and DestroyCursor() methods.
9795 * Cursor.cs: Partially implemented, now supports standard cursors;
9796 still contains some debug code
9797 * Cursors.cs: Implemented class
9799 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9801 - Implemented Cursor property
9802 - Replaced break; with return; more straightforwar and possibly
9804 - Now properly setting the result for WM_HELP
9805 * X11Structs.cs: Added CursorFontShape enum
9806 * XplatUIStructs.cs:
9807 - Added StdCursor enum (to support DefineStdCursor() method)
9808 - Added HitTest enum (to support sending WM_SETCURSOR message)
9810 - Now sends the WM_SETCURSOR message
9811 - Implemented new cursor methods
9812 * XplatUIOSX.cs: Stubbed new cursor methods
9814 - Implemented new cursor methods
9815 - Added GetSystemMetrics function and associated enumeration
9817 2005-01-15 Peter Bartok <pbartok@novell.com>
9820 - WndProc(): Now handles EnableNotifyMessage
9821 - SelectNextControl(): Fixed bug where if no child or sibling
9822 controls exist we looped endlessly
9824 2005-01-14 Jackson Harper <jackson@ximian.com>
9826 * TreeView.cs: Recalculate the tab pages when a new one is added
9827 so that the proper bounding rects are created.
9829 2005-01-14 Jackson Harper <jackson@ximian.com>
9831 * TreeView.cs: Draw a gray box instead of a grip in the lower
9832 right hand corner when there are both horizontal and vertical
9835 2005-01-14 Jackson Harper <jackson@ximian.com>
9837 * Control.cs: When erasing backgrounds use FromHwnd instead of
9838 FromHdc when there is a NULL wparam. This occurs on the X driver.
9839 * XplatUIX11.cs: Set the wparam to NULL.
9841 2005-01-13 Jackson Harper <jackson@ximian.com>
9843 * PictureBox.cs: Implement missing methods (except ToString, need
9844 to test that on windows) and events. When visibility is changed we
9845 need to redraw the image because the buffers are killed. When size
9846 is changed refresh if the sizemode needs it.
9848 2005-01-13 Peter Bartok <pbartok@novell.com>
9850 * Control.cs (SelectNextControl): Was using wrong method to select
9853 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9855 * ComboBox.cs: fixes dropstyle
9857 2005-01-13 Peter Bartok <pbartok@novell.com>
9860 - Implemented Select() override
9861 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9862 - Now sets keyboard focus on startup
9863 * Control.cs (SelectNextControl): Now properly handles directed=true
9865 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9866 - Added (really bad) focus rectangle (mostly for testing)
9867 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9868 to enforce redraw on focus changes
9869 * ContainerControl.cs:
9870 - Fixed detection of Shift-Tab key presses
9871 - Fixed traversal with arrow keys
9872 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9873 gonna keep this or if it's complete yet
9875 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9877 * ComboBox.cs: missing properties, fixes
9879 2005-01-13 Peter Bartok <pbartok@novell.com>
9881 * Panel.cs (ctor): Setting Selectable window style to off
9882 * Splitter.cs (ctor): Setting Selectable window style to off
9883 * GroupBox.cs (ctor): Setting Selectable window style to off
9884 * Label.cs (ctor): Setting Selectable window style to off
9886 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9888 * UpDownBase.cs (InitTimer): If the timer has been already
9891 Use a TextBox instead of a Label.
9893 2005-01-12 Jackson Harper <jackson@ximian.com>
9895 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9896 draw the connecting node lines (when ShowLines is true).
9897 * TreeNode.cs: The nodes index can now be updated. This is used
9898 when a node collection is sorted.
9899 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9900 insert or an existing unsorted node collection can be sorted.
9902 2005-01-12 Peter Bartok <pbartok@novell.com>
9904 * ContainerControl.cs: Implemented ProcessDialogKeys()
9906 2005-01-12 Peter Bartok <pbartok@novell.com>
9909 - Implemented SelectNextControl() method
9910 - Several focus related bug fixes
9911 - Fixed Docking calculations to match MS documentation and
9914 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9916 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
9919 2005-01-12 Peter Bartok <pbartok@novell.com>
9922 - Fixed broken Contains() method
9923 - Implemented GetNextControl() method. Finally. This is the pre-
9924 requisite for focus handling.
9926 2005-01-12 Peter Bartok <pbartok@novell.com>
9928 * OSXStrucs.cs: Added
9930 2005-01-12 Peter Bartok <pbartok@novell.com>
9933 - Removed PeekMessageFlags
9934 - Implemented SetWindowStyle() method
9935 * XplatUIStructs.cs: Added PeekMessageFlags
9936 * X11Structs: Added missing border_width field to XWindowChanges struct
9938 - PeekMessage: Now throws exception if flags which are not yet
9939 supported are passed
9940 - Implemented SetWindowStyle() method
9941 - Fixed SetZOrder to handle AfterHwnd properly
9942 * XplatUI.cs: Added SetWindowStyle() method
9943 * XplatUIDriver.cs: Added SetWindowStyle() abstract
9945 - Implemented UpdateStyles() method
9946 - Implemented UpdateZOrder() method
9947 * XplatUIOSX.cs: Added SetWindowStyle() stub
9949 2005-01-12 Geoff Norton <gnorton@customerdna.com>
9951 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
9955 2005-01-11 Jackson Harper <jackson@ximian.com>
9957 * TreeView.cs: Still need to draw lines to siblings even if out of
9958 the current node is out of the clip.
9960 2005-01-11 Jackson Harper <jackson@ximian.com>
9962 * TreeView.cs: When setting the hbar/vbar/grip position use
9963 SetBounds so that perform layout is only called once. Also suspend
9964 and resume layout so layout is only done once for all controls.
9965 - Removed some debug fluff
9966 * SizeGrip.cs: Call base implmentation in overriding methods.
9967 - When visibility is changed the drawing buffers are killed so we
9970 2005-01-11 Jackson Harper <jackson@ximian.com>
9972 * TreeView.cs: Calculate the open node count while drawing. This
9973 saves us an entire tree traversal for every paint operation. Use
9974 a member var for the open node count so less vars are passed around.
9976 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
9979 - fixed selection to use mousemove, not mouse polling on timer
9980 * ThemeWin32Classic.cs
9981 - removed redundant unused variable "no_more_content"
9983 2005-01-11 Peter Bartok <pbartok@novell.com>
9985 * XplatUIX11.cs (DoEvents): Needs to return when no more events
9986 are pending, so it now calls PeekMessage instead of GetMessage;
9987 implemented a incomplete version of PeekMessage
9989 2005-01-11 Peter Bartok <pbartok@novell.com>
9991 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
9993 * TextBoxBase.cs: Added sending of TextChanged event
9995 2005-01-10 Jackson Harper <jackson@ximian.com>
9997 * TreeView.cs: Try not to draw outside the clipping rectangle on
10000 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10002 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10004 2005-01-10 Jackson Harper <jackson@ximian.com>
10007 - Implement fast scrolling. Now only the newly
10008 exposed nodes are drawn and the old image is moved using the
10009 XplatUI::ScrollWindow method.
10010 - Factor in height of nodes when calculating whether or not the
10011 node is in the clipping rect.
10013 2005-01-10 Jackson Harper <jackson@ximian.com>
10015 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10017 2005-01-10 Peter Bartok <pbartok@novell.com>
10019 * Application.cs: Added temporary hack to resolve all our resize
10020 required issues on startup. This will get fixed properly at
10021 some point in the future
10023 2005-01-10 Jackson Harper <jackson@ximian.com>
10025 * SizeGrip.cs: New internal class that is used as a sizing
10026 grip control...hence the name.
10028 2005-01-10 Peter Bartok <pbartok@novell.com>
10030 * Control.cs: Implemented proper TabIndex handling, now assigning
10031 a tabindex when a control is added to a container
10032 * GroupBox.cs (ctor): Now sets the Container style bit, required
10033 for Control.GetNextControl()
10035 2005-01-09 Jackson Harper <jackson@ximian.com>
10037 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10039 2005-01-09 Peter Bartok <pbartok@novell.com>
10041 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10042 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10043 an overload for ScrollWindow to allow only scrolling a rectangle
10045 2005-01-09 Peter Bartok <pbartok@novell.com>
10048 - Implemented SetDesktopBounds method
10049 - Implemented SetDesktopLocation method
10051 2005-01-08 Jackson Harper <jackson@ximian.com>
10053 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10054 the node count has changed, this removes to VScroll::Refresh calls
10057 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10059 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10061 2005-01-07 Jackson Harper <jackson@ximian.com>
10063 * TreeNode.cs: Just update the single node when it is
10064 checked. Don't refresh after toggling, the Expand/Collapse already
10066 * TreeView.cs: Respect clipping a little more when drawing. Try
10067 not to redraw things that don't need to be redrawn. Just hide the
10068 scrollbars when they are no longer needed instead of removing
10069 them, so they don't have to be created again and again.
10071 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10073 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10074 coordinates to window space to place the caret properly, FIXED.
10075 Implement GetWindowState & SetWindowState
10077 2005-01-06 Peter Bartok <pbartok@novell.com>
10080 - Implemented ClientSize property
10081 - Implemented DesktopBounds property
10082 - Implemented DesktopLocation property
10083 - Implemented IsRestrictedWindow property
10084 - Implemented Size property
10085 - Implemented TopLevel property
10086 - Implemented FormWindowState property
10088 - Implemented GetTopLevel() method
10089 - Implemented SetTopLevel() method
10090 * X11Structs.cs (Atom):
10091 - Added AnyPropertyType definition
10092 - Added MapState definiton and updated XWindowAttribute struct
10093 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10094 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10095 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10097 - Implemented GetWindowState() and SetWindowState() methods
10098 - Fixed Win32GetWindowLong return type
10100 - Introduced central function for sending NET_WM messages
10101 - Implemented GetWindowState() and SetWindowState() methods
10102 * TextBoxBase.cs (set_Lines):
10103 - Now uses Foreground color for text added via Text property (Duh!)
10104 - Added code to remember programmatically requested size (fixes
10105 behaviour when Multiline is set after Size)
10106 - Added AutoSize logic
10108 2005-01-06 Jackson Harper <jackson@ximian.com>
10110 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10112 2005-01-06 Jackson Harper <jackson@ximian.com>
10114 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10115 set to less then 0.
10117 2005-01-06 Jackson Harper <jackson@ximian.com>
10119 * ScrollableControl.cs: Lazy init the scrollbars.
10121 2005-01-06 Jackson Harper <jackson@ximian.com>
10123 * Theme.cs: Speed up getting pens and solid brushes, by using
10124 their ARGB as a hash instead of tostring and not calling Contains.
10126 2005-01-06 Peter Bartok <pbartok@novell.com>
10129 - Implemented OnActivated and OnDeactivate event trigger
10130 - Implemented Activate() method
10131 - Fixed ShowDialog() to activate the form that was active before
10132 the dialog was shown
10134 - Added global active_window var that tracks the currently active
10136 - Now always grabs Property changes from the root window to always
10137 catch changes on the active window property
10138 - Added code to PropertyNotify handler to send Active/Inactive
10139 messages when state changes. This puts X11 and Win32 en par on
10140 WM_ACTIVATE notifications (except for double notifications when
10141 the user clicks away from our modal window to another one of our
10144 2005-01-05 Jackson Harper <jackson@ximian.com>
10146 * ImageList.cs: Implment ctor
10148 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10150 * XplatUIOSX.cs: Implement Activate/SetTopmost
10152 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10154 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10156 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10158 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10160 2005-01-05 Peter Bartok <pbartok@novell.com>
10162 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10163 XplatUIOSX.cs: Added GetActive method to return the currently
10164 active window for the application (or null, if none is active)
10166 - Implemented ActiveForm
10167 - Commented out owner assignment for modal dialogs (causes problems
10168 on Win32, since the owner will be disabled)
10169 - Reworked some Active/Focus handling (still incomplete)
10170 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10171 (causes problems on Win32, since the owner will be disabled)
10172 * IWin32Window: Added ComVisible attribute
10174 2005-01-05 Peter Bartok <pbartok@novell.com>
10176 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10177 required XplatUI functions.
10179 2005-01-05 Peter Bartok <pbartok@novell.com>
10181 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10182 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10183 to implement focus and activation handling; still incomplete and
10186 2005-01-04 Peter Bartok <pbartok@novell.com>
10188 * TextBoxBase.cs: Changed access level for Document property to
10189 match switch to internal for TextControl
10191 2005-01-04 Peter Bartok <pbartok@novell.com>
10193 * AccessibleObject: Added ComVisible attribute
10195 2005-01-04 Jackson Harper <jackson@ximian.com>
10197 * X11Keyboard.cs: Remove unneeded var.
10199 2005-01-04 Jackson Harper <jackson@ximian.com>
10201 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10203 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10204 ClientMessage. This makes apps exit cleanly (more often).
10206 2005-01-04 Jackson Harper <jackson@ximian.com>
10208 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10209 handling focus, return correct colors and fonts,
10210 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10211 handle selection, horizontal scrolling, and mouse interaction.
10213 2005-01-04 Peter Bartok <pbartok@novell.com>
10215 * ICommandExecutor.cs: Added
10216 * IDataGridColumnStyleEditingNotificationService.cs: Added
10217 * IFeatureSupport.cs: Added
10218 * IFileReaderService.cs: Added
10219 * IDataObject.cs: Added ComVisible attribute
10220 * AmbientProperties.cs: Added
10221 * BaseCollection.cs: Added missing attributes
10222 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10223 * BaseCollection.cs: Added missing attributes
10224 * Binding.cs: Added TypeConverter attribute
10225 * BindingContext.cs: Added DefaultEvent attribute
10226 * BindingsCollection.cs: Added DefaultEvent attribute
10227 * Button.cs: Added DefaultValue attribute
10228 * DragEventArgs.cs: Added ComVisible attribute
10229 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10230 * KeyEventArgs.cs: Added ComVisible attribute
10231 * KeyPressEventArgs.cs: Added ComVisible attribute
10232 * MouseEventArgs.cs: Added ComVisible attribute
10233 * NavigateEventArgs.cs: Added
10234 * NavigateEventHandler.cs: Added
10235 * FeatureSupport.cs: Added
10236 * OSFeature.cs: Added
10237 * Theme.cs: Added abstract Version property to support OSFeature
10238 * ThemeWin32Classic.cs: Added Version property to
10239 support OSFeature.Themes
10240 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10241 the proper styles to avoid background drawing are set, also doesn't
10243 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10244 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10245 * ScrollEventArgs.cs: Added ComVisible attribute
10246 * SplitterEventArgs.cs: Added ComVisible attribute
10247 * AccessibleSelection.cs: Added Flags attribute
10248 * Appearance.cs: Added ComVisible attribute
10249 * Border3DSide.cs: Added ComVisible attribute
10250 * Border3DStyle.cs: Added ComVisible attribute
10251 * BorderStyle.cs: Added ComVisible attribute
10252 * DragAction.cs: Added ComVisible attribute
10253 * ErrorBlinkStyle.cs: Added
10254 * ScrollEventType.cs: Added ComVisible attribute
10255 * AnchorStyles.cs: Added Editor attribute
10256 * DockStyle.cs: Added Editor attribute
10257 * HorizontalAlignment.cs: Added ComVisible attribute
10258 * HelpEventArgs.cs: Added ComVisible attribute
10259 * PaintEventArgs.cs: Added IDisposable
10261 2005-01-04 Peter Bartok <pbartok@novell.com>
10263 * TextControl.cs: Switched Line, LineTag and Document classes to
10266 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10268 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10269 Simple mode, fixes, IntegralHeight, etc.
10271 2005-01-04 Peter Bartok <pbartok@novell.com>
10273 * TextBoxBase.cs: Using proper font variable now
10275 2005-01-04 Peter Bartok <pbartok@novell.com>
10277 * Form.cs (ShowDialog): Set parent to owner, if provided
10278 * GroupBox.cs: Removed unused vars
10280 - Added GetHashCode() for Document and LineTag classes
10281 - Removed unused variables
10282 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10283 to allow translation between continuous char position and line/pos
10284 * CheckBox.cs: Removed vars that are provided by base class
10285 * RadioButton.cs: Removed vars that are provided by base class, added
10286 new keyword where required
10287 * LinkLabel.cs: Added new keyword where required
10288 * Control.cs (WndProc): Removed unused variable
10290 - Finished SelectionLength property
10291 - Implemented SelectionStart property
10292 - Implemented Text property
10293 - Removed unused vars
10294 * MessageBox.cs: Added new keyword where required
10295 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10297 * MenuAPI.cs: Added new keyword where required
10298 * ButtonBase.cs: Removed vars that are provided by base class, added
10299 new keyword where required
10300 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10301 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10303 * Application.cs (Run): Now triggers the ThreadExit event
10304 * CommonDialog.cs: Added new keyword where required; now properly sets
10305 parent (owner) for dialog
10306 * XplatUIX11.cs: Commented out unused vars
10307 * StatusBar.cs: Fixed signature for Text property
10308 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10310 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10312 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10313 TrackBar.cs, MonthCalendar.cs: remove unused vars
10315 2005-01-03 Jackson Harper <jackson@ximian.com>
10317 * ThemeWin32Classic.cs:
10318 * X11Keyboard.cs: Remove unused vars.
10320 2005-01-03 Peter Bartok <pbartok@novell.com>
10323 - set_Text: Tied into TextControl
10324 - set_TextAlignment: Tied into TextControl
10326 - Added alignment properties and implemented alignment handling
10327 and drawing (still has a bug, not generating proper expose events)
10328 - Added new Line() constructor to allow passing the line alignment
10329 - Fixed selection setting, properly handling end<start now
10330 - Added aligment considerations to RecalculateDocument()
10332 - Now properly enforces control height for single line controls
10333 - Added support for CharacterCasing
10334 - Added IsInputKey override
10335 - Fixed Keys.Enter logic
10336 - Added SetBoundsCore override
10337 - Fixed mouse selection handling
10339 2005-01-03 Jackson Harper <jackson@ximian.com>
10342 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10343 - Checkboxes are always aligned to the bottom of the node,
10344 regardless of item height.
10345 - Use the node bounds to draw the text so we can center it when
10346 the item height is greater then the font height.
10347 - Node::Bounds are only the text part of the node.
10348 * TreeNode.cs: New method to combine collapsing and unchecking all
10351 2005-01-02 Jackson Harper <jackson@ximian.com>
10353 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10354 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10355 tree when a check is changed. TODO: Only refresh the checked node.
10357 2004-12-30 Jackson Harper <jackson@ximian.com>
10359 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10360 * TreeNode.cs: When collapsing make sure to never collapse the
10363 2004-12-29 Jackson Harper <jackson@ximian.com>
10365 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10367 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10369 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10371 2004-12-28 Peter Bartok <pbartok@novell.com>
10373 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10376 2004-12-28 Peter Bartok <pbartok@novell.com>
10378 * Control.cs (WndProc): Added WM_HELP handler, now generates
10379 HelpRequested event
10380 * Form.cs: Added HelpButton property and required support code
10381 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10383 2004-12-28 Peter Bartok <pbartok@novell.com>
10386 - Made DialogForm.owner variable internal
10387 - Added check to ensure owner form is set before setting
10388 owner properties in CreateParams
10390 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10392 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10393 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10394 GetCursorPos. Fix major visibility issues. Rework the windowing
10395 system to support borderless/titleless windows (implements menus).
10396 Fix GetWindowPos. Implement initial background color support for
10399 2004-12-28 Peter Bartok <pbartok@novell.com>
10401 * Form.cs (get_CreateParams): Make sure we have an owner before using
10402 the owner variable. Implement proper default if no owner exists
10404 2004-12-28 Peter Bartok <pbartok@novell.com>
10406 * In preparation for making Managed.Windows.Forms the default build target
10407 for System.Windows.Forms, the following stubbed files were added.
10408 Dialogs are currently being implemented by contributors and are only
10409 short-term place holders.
10410 * ColorDialog.cs: Initial check-in (minmal stub)
10411 * DataGrid.cs: Initial check-in (minimal stub)
10412 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10413 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10414 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10415 * FontDialog.cs: Initial check-in (minimal stub)
10416 * FileDialog.cs: Initial check-in (minimal stub)
10417 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10418 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10419 * OpenFileDialog: Initial check-in (minimal stub)
10420 * IComponentEditorPageSite.cs: Initial check-in
10421 * Splitter.cs: Initial check-in (for Jackson)
10422 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10423 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10424 * TextBox.cs: Initial check-in; still needs some wiring to
10425 TextControl backend
10426 * Form.cs: Implemented ControlBox property
10427 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10428 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10429 * TextControl.cs: Added selection functionality; added todo header
10431 - Implemented Lines property
10432 - Implemented TextHeight property
10433 - Implemented SelectedText property
10434 - Implemented SelectionLength property
10435 - Implemented SelectAll method
10436 - Implemented ToString method
10437 - Removed and cleaned up some debug code
10438 - Implemented (still buggy) mouse text selection
10440 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10442 * ComboBox.cs: Complete DropDownList implementation, fixes.
10444 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10446 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10447 * ComboBoxStyle.cs: ComboBoxStyle enum
10448 * ComboBox.cs: Initial work on ComboBox control
10450 2004-12-21 Peter Bartok <pbartok@novell.com>
10452 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10453 forward so that anything that creates a window gets the default,
10454 also no longer uses Visible property in CreateParams to avoid
10455 walking up the parent chain and possibly get the wrong visible
10456 status. Fixed IsVisible to no longer walk up to the parent.
10458 2004-12-21 Peter Bartok <pbartok@novell.com>
10460 * Form.cs (ShowDialog): Unset modality for the proper window
10462 2004-12-20 Peter Bartok <pbartok@novell.com>
10464 * CommonDialog.cs: Initial check-in
10466 2004-12-20 Peter Bartok <pbartok@novell.com>
10468 * Control.cs (Visible): Now uses the parent window instead of the
10469 client area window for the property
10472 - ShowDialog(): Now uses the proper window for modality
10473 - The default visibility state for the form parent is now false. This
10474 will prevent the user from seeing all the changes to the form and
10475 its controls before the application hits Application.Run()
10476 - Removed some stale commented out code
10479 - Added FindWindow() method to have a method to check for existence
10481 - Added ability to override default exception handling (for example
10482 when debugging with VS.Net; to do this the ExternalExceptionHandler
10484 - Removed some useless debug output
10487 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10488 not working as expected
10489 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10490 property to allow switching back to the modal window if focus is
10491 given to another one of our windows (Application Modal)
10492 - Now only sets override_redirect if we create a window
10494 - Moved EventMask selection before mapping of newly created window
10495 so we can catch the map event as well
10496 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10497 - Added various Atom related DllImports
10498 - Implemented Exit() method
10499 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10500 in the CreateParams
10502 * MessageBox.cs: Now properly deals with the FormParent window by
10503 providing an override the FormParent CreateParams property to
10504 set as POPUP instead of OVERLAPPED window.
10506 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10508 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10509 Minor code cleanup.
10511 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10513 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10515 2004-12-18 Peter Bartok <pbartok@novell.com>
10517 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10518 implementing SetModal() method
10520 2004-12-18 Peter Bartok <pbartok@novell.com>
10522 * X11Structs.cs (XGCValues): Fixed type of function element
10523 * XplatUI.cs: Added ScrollWindow() method
10524 * XplatUIDriver.cs: Added ScrollWindow() abstract
10525 * XplatUIWin32.cs: Implemented ScrollWindow() method
10526 * XplatUIX11.cs: Implemented ScrollWindow() method
10527 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10529 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10531 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10532 Some more keyboard support (INCOMPLETE)
10534 2004-12-17 Peter Bartok <pbartok@novell.com>
10537 - Added color attribute to line tags.
10538 - Added color argument to all functions dealing with tags
10539 - Added color argument support to various functions
10540 - Fixed miss-calculation of baseline/shift in certain circumstances
10542 * TextBoxBase.cs: Added new color option to test code
10544 2004-12-17 Jackson Harper <jackson@ximian.com>
10547 * MonthCalendar.cs: Signature fixes
10549 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10551 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10552 keyboard event moved it. Create a new graphics context for each paint resolves this
10554 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10556 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10557 Make caret exist and go blink blink. Initial keyboard support.
10558 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10561 2004-12-17 Jackson Harper <jackson@ximian.com>
10563 * XplatUIStructs.cs: Updated set of virtual keycodes.
10564 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10566 2004-12-17 Jackson Harper <jackson@ximian.com>
10568 * XplatUIX11.cs: Prune old keyboard code.
10570 2004-12-17 Jackson Harper <jackson@ximian.com>
10572 * XplatUIX11.cs: When generating mouse wparams get the modifier
10573 keys from the ModifierKeys property.
10575 2004-12-17 Jackson Harper <jackson@ximian.com>
10577 * X11Keyboard.cs: Send up/down input when generating
10578 messages. Remove some unused vars.
10580 2004-12-17 Jackson Harper <jackson@ximian.com>
10583 * TreeView.cs: get rid of warnings.
10585 2004-12-17 Jackson Harper <jackson@ximian.com>
10587 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10589 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10591 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10592 CheckedListBox.cs: Implementation
10594 2004-12-17 Peter Bartok <pbartok@novell.com>
10596 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10598 2004-12-16 Peter Bartok <pbartok@novell.com>
10601 - InsertCharAtCaret(): Fixed start pos fixup
10602 - CaretLine_get: No longer derives the line from the tag, the tag
10603 could be stale if lines in the document have been added or deleted
10604 - RebalanceAfterDelete(): Fixed bug in balancing code
10605 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10606 - Line.Streamline(): Now can also elminate leading empty tags
10607 - DumpTree(): Added a few more tests and prevented exception on
10609 - Added Debug section for Combining lines
10610 - Delete(): Now copies all remaining properties of a line
10613 - Left mousebutton now sets the caret (and middle button still acts
10614 as formatting tester, which must go away soon)
10615 - Added Debug section for Deleting/Combining lines
10616 - Fixed calculations for UpdateView after Combining lines
10618 2004-12-16 Peter Bartok <pbartok@novell.com>
10620 * TextControl.cs: Now properly aligns text on a baseline, using the
10621 new XplatUI.GetFontMetrics() method. Simplified several calculations
10622 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10625 2004-12-16 Peter Bartok <pbartok@novell.com>
10627 * XplatUI.cs: Added GetFontMetrics() method
10628 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10629 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10630 into libgdiplus, our private GetFontMetrics function
10631 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10632 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10634 2004-12-16 Jackson Harper <jackson@ximain.com>
10636 * XplatUIStruct.cs: Add enum for dead keys
10637 * X11Keyboard.cs: Map and unmap dead keys.
10639 2004-12-16 Jackson Harper <jackson@ximian.com>
10641 * X11Keyboard.cs: Detect and use the num lock mask.
10643 2004-12-16 Peter Bartok <pbartok@novell.com>
10645 * Control.cs (CreateGraphics): Added check to make sure the
10646 handle of the window exists before calling Graphics.FromHwnd()
10648 2004-12-16 Peter Bartok <pbartok@novell.com>
10650 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10651 contains a lot of code that's not supposed to be there for the
10652 real thing, but required for developing/testing the textbox
10655 2004-12-16 Peter Bartok <pbartok@novell.com>
10658 - Fixed Streamline method
10659 - Added FindTag method to Line
10660 - Added DumpTree method for debugging
10661 - Added DecrementLines() method for deleting lines
10662 - Fixed UpdateView to update the cursor to end-of-line on single-line
10664 - Added PositionCaret() method
10665 - Fixed MoveCaret(LineDown) to move into the last line, too
10666 - Added InsertChar overload
10667 - Fixed InsertChar tag offset calculations
10668 - Added DeleteChar() method
10669 - Added Combine() method for folding lines
10670 - Fixed Delete() method, no longer allocates wasted Line object and
10671 now copies all properties when swapping nodes
10672 - Delete() method now updates document line counter
10674 2004-12-15 Jackson Harper <jackson@ximian.com>
10676 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10677 * X11Keyboard.cs: Expose the currently selected modifier keys
10678 through a property.
10680 2004-12-15 Peter Bartok <pbartok@novell.com>
10682 * TextControl.cs: Initial check-in. Still incomplete
10684 2004-12-15 Jackson Harper <jackson@ximian.com>
10687 * TreeView.cs: Fix build on csc (second time today ;-))
10689 2004-12-15 Jackson Harper <jackson@ximian.com>
10691 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10692 is calculated and use this for click testing.
10693 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10695 2004-12-15 Jackson Harper <jackson@ximian.com>
10697 * TreeView.cs: Pass the nodes image index to the image list when
10698 drawing that image.
10700 2004-12-15 Jackson Harper <jackson@ximian.com>
10702 * X11Keyboard.cs: Set messages hwnd.
10703 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10704 post_message calls.
10706 2004-12-15 Jackson Harper <jackson@ximian.com>
10708 * X11Keyboard.cs: Fix to compile with csc.
10710 2004-12-15 Jackson Harper <jackson@ximian.com>
10712 * X11Structs.cs: Add key mask values
10713 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10714 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10715 down/up foo into WM_CHAR foo
10716 * KeyboardLayouts.cs: Common keyboard layouts
10717 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10718 post messages into the main queue.
10720 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10722 * Button.cs: implement ProcessMnemonic
10723 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10725 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10726 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10728 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10730 * MonthCalendar.cs: Implemented click-hold for next/previous month
10733 2004-12-11 Peter Bartok <pbartok@novell.com>
10736 - Added XKeyboardState (moved from XplatUIX11.cs)
10737 - Added XCreateGC related enums and structures
10738 - Added GXFunction for XSetFunction
10740 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10742 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10743 CaretVisible() calls
10745 * ToolTip.cs: Added code to prevent stealing focus from app windows
10747 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10748 DestroyCaret, SetCaretPos and CaretVisible)
10751 - Added implementation for caret functions
10752 - Moved hover variables into a struct, to make it a bit easier
10753 on the eyes and to debug
10754 - Removed XKeyboardState (moved to XplatUIX11.cs)
10755 - Moved Keyboard properties into the properties region
10757 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10758 call to get a graphics context for our control
10760 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10762 * TreeView.cs: Fixed bug. No matter what color was set it would always
10763 return SystemColors.Window
10765 * XplatUIWin32.cs: Implemented caret overrides
10767 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10769 * ListBox.cs: fire events, implement missing methods and properties,
10772 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10774 * MonthCalendar.cs: invalidation bug fixing
10775 * ThemeWin32Classic.cs: paint fixing
10777 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10779 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10780 prepare the CGContextRef there now.
10782 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10784 * MonthCalendar.cs:
10785 - optimisationL only invalidate areas that have changed
10786 * ThemeWin32Classic.cs:
10787 - only paint parts that intersect with clip_area
10789 2004-12-09 Peter Bartok <pbartok@novell.com>
10791 * Application.cs: Undid changes from r37004 which cause problems
10794 2004-12-09 Ravindra <rkumar@novell.com>
10796 * ToolBar.cs: Added support for displaying ContextMenu
10797 attached to a button on ToolBar.
10798 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10801 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10803 * Label.cs: autosize works in text change and removes unnecessary
10806 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10808 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10811 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10813 * XplatUIOSX.cs: Added mouse move/click/grab support
10814 Remove some debugging WriteLines not needed anymore.
10815 Add window resizing/positioning.
10816 Fix visibility on reparenting.
10818 2004-12-08 Peter Bartok <pbartok@novell.com>
10820 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10822 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10824 * XplatUIOSX.cs: Initial checkin
10825 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10827 2004-12-03 Ravindra <rkumar@novell.com>
10829 * ListView.cs: Added some keybindings and fixed scrolling.
10830 ScrollBars listen to ValueChanged event instead of Scroll
10831 Event. This would let us take care of all changes being
10832 done in the scrollbars' values programmatically or manually.
10833 * ListView.cs (CanMultiselect): Added a check for shift key.
10834 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10835 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10836 of ListViewSubItemCollection as well.
10838 2004-12-06 Peter Bartok <pbartok@novell.com>
10840 * Control.cs (Parent): Added check and exception to prevent
10843 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10845 * ListBox.cs: implemented clipping, selection single and multiple,
10848 2004-12-03 Ravindra <rkumar@novell.com>
10850 * ListView.cs (ListView_KeyDown):
10851 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10852 when CTRL key is pressed.
10853 * ListViewItem.cs (Selected): Fixed setting the property.
10855 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10857 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10859 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10860 MinimizeBox, ShowInTaskbar, TopMost properties.
10862 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10863 will be implemented).
10865 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10867 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10869 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10872 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10874 * TreeView.cs: BackColor is Colors.Window.
10876 2004-12-01 Jackson Harper <jackson@ximian.com>
10878 * TreeView.cs: When resizing the tree if the user is making it
10879 smaller we don't get expose events, so we need to handle adding
10880 the horizontal scrollbar in the size changed handler as well as
10881 the expose handler.
10883 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10885 * DrawItemState.cs: fixes wrong enum values
10887 2004-12-01 Jackson Harper <jackson@ximian.com>
10889 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10891 2004-12-01 Jackson Harper <jackson@ximian.com>
10893 * NodeLabelEditEventArgs.cs:
10894 * NodeLabelEditEventHandler.cs:
10895 * OpenTreeNodeEnumerator.cs:
10897 * TreeNodeCollection.cs:
10899 * TreeViewAction.cs:
10900 * TreeViewCancelEventArgs.cs:
10901 * TreeViewCancelEventHandler.cs:
10902 * TreeViewEventArgs.cs:
10903 * TreeViewEventHandler.cs: Initial implementation.
10905 2004-12-01 Ravindra <rkumar@novell.com>
10907 * ListView.cs (CalculateListView): Fixed scrolling related
10908 calculations. Also, removed some debug statements from other
10910 * ListViewItem.cs: Changed access to 'selected' instance variable
10911 from private to internal.
10912 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10914 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10916 * ThemeWin32Classic.cs: remove cache of brush and pens for
10917 specific controls and use the global system, fixes scrollbutton
10918 bugs (for small sizes, disabled, etc)
10920 * ScrollBar.cs: does not show the thumb for very small controls
10921 (as MS) and allow smaller buttons that the regular size
10923 2004-12-01 Miguel de Icaza <miguel@ximian.com>
10925 * UpDownBase.cs: Add abstract methods for the interface.
10926 Add new virtual methods (need to be hooked up to TextEntry when it
10928 Add override methods for most features.
10929 Computes the size, forces the height of the text entry.
10931 * NumericUpDown.cs: Put here the current testing code.
10933 * Set eol-style property on all files that do not have mixed line
10934 endings, to minimize the future problems. There are still a few
10935 files with mixed endings, and someone should choose whether they
10936 want to move it or not.
10938 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
10940 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
10943 2004-11-30 Ravindra <rkumar@novell.com>
10945 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
10946 drawing and replaced use of SystemColors by theme colors.
10947 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
10948 * ListView.cs (ListViewItemCollection.Add): Throw exception when
10949 same ListViewItem is being added more than once.
10951 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
10953 * MonthCalendar.cs:
10954 - ControlStyles love to make the control not flicker
10956 2004-11-30 Peter Bartok <pbartok@novell.com>
10958 * CharacterCasing.cs: Added
10960 2004-11-29 Peter Bartok <pbartok@novell.com>
10962 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10963 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
10964 I am removing these files as they conflict with already completed
10965 work. While it is fantastic to get contributions to MWF, I
10966 respectfully ask that everyone please coordinate their contributions
10967 through mono-winforms-list or #mono-winforms at this time. We're
10968 explicitly avoiding stubbing and don't want controls that don't have
10969 their basic functionality implemented in svn. Please also see
10970 http://www.mono-project.com/contributing/winforms.html
10973 2004-11-29 Marek Safar <marek.safar@seznam.cz>
10975 * Application.cs (ModalRun): Don't hang after exit.
10977 * Theme.cs: New TreeViewDefaultSize property.
10979 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
10980 with less hardcoded SystemColors constant.
10981 Implemented TreeViewDefaultSize.
10983 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
10984 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
10987 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
10989 * MonthCalendar.cs:
10990 - Fix NextMonthDate and PrevMonthDate click moving calendar
10992 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
10994 * MonthCalendar.cs:
10995 - Fix usage of ScrollChange Property when scrolling months
10997 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
10999 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11000 - Fixes menu destroying
11001 - Support adding and removing items on already created menus
11003 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11005 * MonthCalendar.cs:
11006 - Re-worked all bolded dates handling to match win32
11007 * ThemeWin32Classic.cs:
11008 - Fixed rendering with bolded dates
11010 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11012 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11013 - Horizontal scroolbar
11018 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11020 * MonthCalendar.cs:
11021 - Fix Usage of MaxSelectionCount from SelectionRange
11022 - Fixed Shift + Cursor Selection
11023 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11024 - Fixed normal cursor selection to be compat with win32
11025 - Fixed Shift + Mouse Click selection
11027 2004-11-24 Peter Bartok <pbartok@novell.com>
11029 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11030 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11032 - CreatedKeyBoardMsg now updates keystate with Alt key
11033 - Added workaround for timer crash to CheckTimers, Jackson will
11034 develop a proper fix and check in later
11035 - Implemented DispatchMessage
11036 - Removed calling the native window proc from GetMessage (call
11037 now moved to DispatchMessage)
11039 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11040 the keydata (Fixes bug #69831)
11043 - (DispatchMessage): Switched to return IntPtr
11044 - Added DllImport for SetFocus
11046 2004-11-24 Ravindra <rkumar@novell.com>
11048 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11049 background drawing.
11050 * ListViewItem.cs: Fixed various properties, calculations
11051 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11052 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11053 and some internal properties. Fixed MouseDown handler and Paint
11056 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11058 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11060 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11062 * ContainerControl.cs: correct accidental check in of local changes
11064 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11066 * ThemeWin32Classic.cs:
11067 - Fixed Drawing Last month in grid (sometimes not showing)
11068 * MonthCalendar.cs:
11069 - Fixed title width calculation bug (makeing title small)
11071 2004-11-23 Peter Bartok <pbartok@novell.com>
11074 - Added generation of WM_MOUSEHOVER event
11075 - Added missing assignment of async_method atom
11076 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11078 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11080 * ThemeWin32Classic.cs:
11081 - Fixed Drawing of today circle when showtodaycircle not set
11082 - fixed drawing of first and last month in the grid (gay dates)
11083 * MonthCalendar.cs:
11084 - Fixed Drawing of today circle
11085 - Fixed drawing of grady dates
11086 - Fixed HitTest for today link when ShowToday set to false
11087 - Fixed DefaultSize to obey ShowToday
11089 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11091 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11092 * System.Windows.Forms/Theme.cs
11093 * MonthCalendar.cs: added for MonthCalendar
11094 * SelectionRange.cs: added for MonthCalendar
11095 * Day.cs: added for MonthCalendar: added for MonthCalendar
11096 * DateRangeEventArgs.cs: added for MonthCalendar
11097 * DateRangeEventHandler.cs: added for MonthCalendar
11099 2004-11-22 Ravindra <rkumar@novell.com>
11101 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11104 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11106 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11109 * NumericUpDown.cs: Added new implementation.
11110 * UpDownBase.cs: Added new implementation.
11112 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11115 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11118 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11121 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11123 * Timer.cs (Dispose): Should call the base dispose when
11126 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11128 * ScrollBar.cs: updates thumb position when max, min or increment
11131 2004-11-21 Ravindra <rkumar@novell.com>
11133 * ListView.cs: Implemented item selection, activation and
11134 column header style. Fixed properties to do a redraw, if
11135 required. Added support for MouseHover, DoubleClick, KeyDown
11136 and KeyUp event handling and some minor fixes.
11137 * ListViewItem.cs: Fixed constructor.
11138 * ThemeWin32Classic.cs: Improved drawing for ListView.
11140 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11142 * ThemeWin32Classic.cs: initial listbox drawing code
11143 * DrawMode.cs: new enumerator
11144 * ListControl.cs: stubbed class
11145 * ListBox.cs: initial implementation
11146 * Theme.cs: new methods definitions
11147 * SelectionMode.cs: new enumerator
11149 2004-11-17 Peter Bartok <pbartok@novell.com>
11151 * XplatUIWin32.cs: Added double-click events to the class style
11152 * Control.cs (WndProc):
11153 - Added handling of click-count to MouseDown/ MouseUp events.
11154 - Added handling of middle and right mouse buttons
11155 - Removed old debug code
11157 2004-11-17 Jackson Harper <jackson@ximian.com>
11159 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11161 2004-11-17 Ravindra <rkumar@novell.com>
11163 * ListView.cs: Added event handling for MouseMove/Up/Down.
11164 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11165 * ThemeWin32Classic.cs: We need to clear the graphics context and
11166 draw column header in a proper state.
11169 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11171 * Menu.cs: fixes signature
11173 2004-11-16 Peter Bartok <pbartok@novell.com>
11175 * XplatUIX11.cs (GetMessage): Implemented generation of
11176 double click mouse messages
11178 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11180 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11183 2004-11-11 Peter Bartok <pbartok@novell.com>
11185 * HandleData.cs: Added Visible property
11186 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11188 * XplatUIX11.cs: Removed old debug leftovers
11189 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11190 * Control.cs (WndProc): Removed old debug leftovers,
11191 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11192 needed WM_SIZE handling
11194 2004-11-11 Jackson Harper <jackson@ximian.com>
11196 * OwnerDrawPropertyBag.cs:
11197 * TreeViewImageIndexConverter.cs: Initial implementation
11199 2004-11-10 Jackson Harper <jackson@ximian.com>
11201 * ThemeWin32Classic.cs:
11202 * TabControl.cs: instead of moving tabs by the slider pos just
11203 start drawing at the tab that is offset by the slider. This way
11204 scrolling always moves by exactly one tab.
11206 2004-11-10 Jackson Harper <jackson@ximian.com>
11208 * TabControl.cs: You can only scroll left when the slider has
11209 already ben moved right.
11211 2004-11-10 Jackson Harper <jackson@ximian.com>
11213 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11216 2004-11-10 Jackson Harper <jackson@ximian.com>
11218 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11221 2004-11-09 Jackson Harper <jackson@ximian.com>
11223 * TabControl.cs (CalcXPos): New helper method so we can determine
11224 the proper place to start drawing vertical tabs.
11225 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11227 2004-11-09 Jackson Harper <jackson@ximian.com>
11229 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11230 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11231 and Bottom, left and right are illegal values for this and
11232 multiline is enabled when the alignment is set to left or right.
11233 (DrawTab): Each alignment block should draw the text itself now
11234 because Left requires special love. Also add rendering for Left
11237 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11239 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11240 does not destroy the windows, removes debugging messages
11242 2004-11-09 jba <jba-mono@optusnet.com.au>
11244 * ThemeWin32Classic.cs
11245 (DrawButtonBase): Fix verticle text rect clipping in windows
11246 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11247 rendering and incorrect text rect clipping
11248 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11249 rendering and incorrect text rect clipping
11251 2004-11-08 Jackson Harper <jackson@ximian.com>
11253 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11254 bottom when they are bottom aligned so the bottoms of the tabs get
11256 * TabControl.cs (DropRow): Move rows up instead of down when the
11257 tab control is bottom aligned.
11259 2004-11-08 13:59 pbartok
11262 - Added handling for various window styles
11263 - Added handling for popup windows
11264 - Added SetTopmost handling
11266 2004-11-08 13:55 pbartok
11269 - Added argument to SetTopmost method
11270 - Fixed broken ClientToScreen function
11272 2004-11-08 13:53 pbartok
11274 * XplatUIStructs.cs:
11275 - Added missing WS_EX styles
11277 2004-11-08 13:53 pbartok
11279 * XplatUI.cs, XplatUIDriver.cs:
11280 - Added argument to SetTopmost
11282 2004-11-08 13:52 pbartok
11285 - Added XSetWindowAttributes structure
11286 - Improved XWindowAttributes structure
11287 - Added SetWindowValuemask enum
11288 - Added window creation arguments enum
11289 - Added gravity enum
11290 - Added Motif hints structure
11291 - Added various Motif flags and enums
11292 - Added PropertyMode enum for property functions
11294 2004-11-08 13:50 pbartok
11297 - Fixed arguments for updated SetTopmost method
11299 2004-11-08 13:49 pbartok
11302 - Fixed arguments for updated SetTopmost function
11303 - Fixed usage of PointToClient
11305 2004-11-08 13:44 pbartok
11308 - Added Clipping of children and siblings
11310 2004-11-08 13:41 pbartok
11313 - Removed SetMenuBarWindow call. We do this in Form.cs
11315 2004-11-08 13:40 jackson
11317 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11318 scrolling jimmi in the correct location with bottom aligned tabs
11320 2004-11-08 13:36 pbartok
11322 * ContainerControl.cs:
11323 - Implemented BindingContext
11324 - Implemented ParentForm
11326 2004-11-08 12:46 jackson
11328 * TabControl.cs: Put bottom rendered tabs in the right location
11330 2004-11-08 07:15 jordi
11332 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11335 2004-11-05 17:30 jackson
11337 * TabControl.cs: When selected tabs are expanded make sure they
11338 don't go beyond the edges of the tab control
11340 2004-11-05 14:57 jackson
11342 * TabControl.cs: Reset show_slider so if the control is resized to
11343 a size where it is no longer needed it's not displayed anymore
11345 2004-11-05 13:16 jackson
11347 * TabControl.cs: Make tab pages non visible when added to the
11350 2004-11-05 12:42 jackson
11352 * TabControl.cs: Implement SizeMode.FillToRight
11354 2004-11-05 12:16 jackson
11356 * Control.cs: Do not call CreateHandle if the handle is already
11359 2004-11-05 11:46 jackson
11361 * TabControl.cs: Remove superflous call to CalcTabRows
11363 2004-11-05 09:07 jackson
11365 * XplatUIX11.cs: Update for Mono.Posix changes
11367 2004-11-05 07:00 ravindra
11369 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11372 2004-11-04 22:47 jba
11374 * ThemeWin32Classic.cs:
11375 - Fix Button rendering for FlatStyle = Flat or Popup
11376 - Fix RadioButton and CheckBox rendering when Appearance = Button
11377 (normal and flatstyle).
11378 - Correct outer rectangle color when drawing focus rectangle
11379 - Adjust button bounds to be 1 px smaller when focused
11380 - Make button not draw sunken 3d border when pushed (windows compat)
11381 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11382 - Offset the text in RadioButton and Checkbox when being rendered as
11384 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11386 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11387 - Fixed disabled text rendering for normally rendered radiobuttons
11389 2004-11-04 10:26 jackson
11391 * TabControl.cs: Recalculate tab rows when resizing
11393 2004-11-04 07:47 jordi
11395 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11396 collection completion, drawing issues, missing features
11398 2004-11-04 05:03 ravindra
11401 - We need to recalculate the Thumb area when
11402 LargeChange/maximum/minimum values are changed.
11403 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11404 than minimum. This is required to handle the case if large_change is
11405 more than max, and use LargeChange property instead of large_change
11407 - We return max+1 when large_change is more than max, like MS does.
11409 2004-11-04 04:29 ravindra
11411 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11412 - Changed default value signatures (prefixed all with ListView).
11413 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11415 - Fixed calculations for ListViewItem and implemented Clone()
11418 2004-11-04 04:26 ravindra
11420 * Theme.cs, ThemeWin32Classic.cs:
11421 - Changed default ListView values signatures (prefixed all with
11423 - Fixed default size values for VScrollBar and HScrollBar.
11424 - Fixed DrawListViewItem method.
11426 2004-11-04 04:05 ravindra
11428 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11430 2004-11-04 04:04 ravindra
11432 * ImageList.cs: Implemented the missing overload for Draw method.
11434 2004-11-03 19:29 jackson
11436 * TabControl.cs: Handle dropping rows on selection properly
11438 2004-11-03 11:59 jackson
11440 * TabControl.cs: remove debug code
11442 2004-11-03 11:52 jackson
11444 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11445 the scrolly widgerywoo
11447 2004-11-02 13:52 jackson
11449 * TabControl.cs: Resize the tab pages and tabs when the tab control
11452 2004-11-02 13:40 jackson
11454 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11455 selected tab to the bottom
11457 2004-11-02 13:39 jackson
11459 * TabPage.cs: Store the tab pages row
11461 2004-11-02 12:33 jordi
11463 * MenuItem.cs: fixes handle creation
11465 2004-11-02 11:42 jackson
11467 * TabControl.cs: signature fix
11469 2004-11-02 08:56 jackson
11471 * TabControl.cs: Calculate whether the tab is on an edge properly.
11472 Remove top secret debugging code
11474 2004-11-01 19:57 jackson
11476 * TabControl.cs: Add click handling, and proper sizing
11478 2004-11-01 19:47 jackson
11480 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11483 2004-11-01 19:39 jackson
11485 * TabPage.cs: add internal property to store the bounds of a tab
11488 2004-10-30 04:23 ravindra
11490 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11493 2004-10-30 04:21 ravindra
11495 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11496 fixed calculations.
11498 2004-10-30 03:06 pbartok
11501 - Removed extension of DllImported libs
11503 2004-10-29 09:55 jordi
11505 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11506 navigation, itemcollection completion, menu fixes
11508 2004-10-27 22:58 pbartok
11511 - Now throws a nice error message when no X display could be opened
11513 2004-10-26 13:51 jordi
11515 * ListView.cs: removes warning
11517 2004-10-26 03:55 ravindra
11519 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11520 ThemeWin32Classic.cs: Some formatting for my last checkins.
11522 2004-10-26 03:36 ravindra
11524 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11525 control and default values.
11527 2004-10-26 03:35 ravindra
11529 * Theme.cs: Added some default values for ListView control.
11531 2004-10-26 03:33 ravindra
11533 * ToolBar.cs: ToolBar should use the user specified button size, if
11534 there is any. Added a size_specified flag for the same.
11536 2004-10-26 03:33 ravindra
11538 * ColumnHeader.cs: Added some internal members and calculations for
11541 2004-10-26 03:32 ravindra
11543 * ListViewItem.cs: Calculations for ListViewItem.
11545 2004-10-26 03:31 ravindra
11547 * ListView.cs: Added some internal members and calculations for
11550 2004-10-22 13:31 jordi
11552 * MenuAPI.cs: speedup menus drawing
11554 2004-10-22 13:16 jackson
11556 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11559 2004-10-22 11:49 jackson
11563 2004-10-22 11:41 jackson
11565 * Control.cs: Check to see if the window should have its background
11566 repainted by X when drawing.
11568 2004-10-22 11:31 jackson
11570 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11571 clear is true, this way we do not get flicker from X repainting the
11574 2004-10-22 11:28 jackson
11576 * XEventQueue.cs: Queue properly
11578 2004-10-21 09:38 jackson
11580 * XEventQueue.cs: Fix access modifier
11582 2004-10-21 09:36 jackson
11584 * XEventQueue.cs: Don't loose messages
11586 2004-10-21 09:22 jackson
11588 * XEventQueue.cs: Don't loose messages
11590 2004-10-20 04:15 jordi
11592 * BootMode.cs: enum need it by SystemInfo
11594 2004-10-19 21:58 pbartok
11597 - Small sanity check
11599 2004-10-19 21:56 pbartok
11602 - Added private FormParentWindow class which acts as the container
11603 for our form and as the non-client area where menus are drawn
11604 - Added/Moved required tie-ins to Jordi's menus
11605 - Fixed/Implemented the FormStartPosition functionality
11607 2004-10-19 21:52 pbartok
11610 - Removed unneeded locals
11611 - Added code to all size and location properties to understand and
11612 deal with the parent container of Form
11614 2004-10-19 21:33 pbartok
11617 - Fixed to deal with new Form subclasses for menus
11619 2004-10-19 17:48 jackson
11621 * XEventQueue.cs: commit correct version of file
11623 2004-10-19 16:50 jackson
11625 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11627 2004-10-19 16:15 jordi
11629 * MenuAPI.cs: MenuBarCalcSize returns the height
11631 2004-10-19 08:31 pbartok
11634 - Added missing call to PreProcessMessage before calling OnXXXKey
11637 2004-10-19 00:04 ravindra
11639 * ToolTip.cs: Fixed constructor.
11641 2004-10-18 09:31 jordi
11643 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11645 2004-10-18 09:26 jordi
11647 * MenuItem.cs: fixes MenuItem class signature
11649 2004-10-18 08:56 jordi
11651 * MenuAPI.cs: prevents windows from showing in the taskbar
11653 2004-10-18 00:28 ravindra
11655 * ToolTip.cs: Suppressed a warning message.
11657 2004-10-18 00:27 ravindra
11659 * Control.cs: Default value of visible property must be true.
11661 2004-10-17 23:19 pbartok
11664 - Complete implementation
11666 2004-10-17 23:19 pbartok
11669 - Added EnableWindow method
11670 - Added SetModal stub
11671 - Added generation of WM_ACTIVATE message (still needs testing)
11672 - Added SetTopMost stub
11673 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11675 2004-10-17 23:17 pbartok
11678 - Removed VirtualKeys to XplatUIStructs
11679 - Implemented SetTopMost method
11680 - Implemented EnableWindow method
11681 - Bugfix in ScreenToClient()
11682 - Bugfixes in ClientToScreen()
11684 2004-10-17 22:51 pbartok
11686 * XplatUIStructs.cs:
11687 - Added WS_EX styles to WindowStyles enumeration
11689 2004-10-17 22:50 pbartok
11691 * XplatUI.cs, XplatUIDriver.cs:
11692 - Added method for enabling/disabling windows
11693 - Added method for setting window modality
11694 - Added method for setting topmost window
11696 2004-10-17 22:49 pbartok
11698 * ThemeWin32Classic.cs:
11699 - Added ToolTip drawing code
11701 2004-10-17 22:49 pbartok
11704 - Added ToolTip abstracts
11706 2004-10-17 22:47 pbartok
11709 - Fixed Form.ControlCollection to handle owner relations
11710 - Added Owner/OwnedForms handling
11711 - Implemented Z-Ordering for owned forms
11712 - Removed unneeded private overload of ShowDialog
11713 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11715 - Fixed Close(), had wrong default
11716 - Added firing of OnLoad event
11717 - Added some commented out debug code for Ownership handling
11719 2004-10-17 22:16 pbartok
11722 - Fixed/implemented flat list of controls
11724 2004-10-17 22:14 pbartok
11727 - Added code to simulate modal dialogs on Win32
11729 2004-10-17 16:11 jordi
11731 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11734 2004-10-17 13:39 jordi
11736 * MenuAPI.cs: menu drawing fixes
11738 2004-10-15 09:10 ravindra
11740 * StructFormat.cs: General Enum.
11742 2004-10-15 09:09 ravindra
11744 * SizeGripStyle.cs: Enum for Form.
11746 2004-10-15 09:08 ravindra
11748 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11749 in Theme for ListView.
11751 2004-10-15 09:06 ravindra
11753 * ColumnHeader.cs: Flushing some formatting changes.
11755 2004-10-15 09:05 ravindra
11757 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11760 2004-10-15 09:03 ravindra
11762 * ListView.cs: Implemented Paint method and fixed coding style.
11764 2004-10-15 07:34 jordi
11766 * MenuAPI.cs: fix for X11
11768 2004-10-15 07:32 ravindra
11770 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11771 - Renamed Paint() method to Draw() for clarity. Also, moved
11772 DrawImage() to OnPaint().
11774 2004-10-15 07:25 ravindra
11776 * CheckBox.cs, RadioButton.cs:
11777 - Removed Redraw (), we get it from ButtonBase.
11778 - Implemented Paint (), to do class specific painting.
11780 2004-10-15 07:16 ravindra
11783 - Redraw () is not virtual now.
11784 - Added an internal virtual method Paint (), so that
11785 derived classes can do their painting on their own.
11786 - Modified OnPaint () to call Paint ().
11788 2004-10-15 06:43 jordi
11790 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11791 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11793 2004-10-15 00:30 ravindra
11796 - MessageBox on windows does not have min/max buttons.
11797 This change in CreateParams fixes this on Windows. We
11798 still need to implement this windowstyle behavior in
11801 2004-10-14 05:14 ravindra
11804 - Changed Redraw () to do a Refresh () always.
11805 - Fixed the MouseMove event handling when mouse is pressed,
11806 ie drag event handling.
11807 - Replaced the usage of ToolBarButton.Pressed property to
11808 ToolBarButton.pressed internal variable.
11810 2004-10-14 05:10 ravindra
11812 * ToolBarButton.cs:
11813 - Added an internal member 'inside' to handle mouse move
11814 with mouse pressed ie mouse drag event.
11815 - Changed 'Pressed' property to return true only when
11816 'inside' and 'pressed' are both true.
11817 - Some coding style love.
11819 2004-10-14 00:17 ravindra
11821 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11824 2004-10-14 00:15 ravindra
11826 * ButtonBase.cs: Redraw () related improvements.
11828 2004-10-14 00:14 ravindra
11830 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11831 removed unnecessary calls to Button.Show () method.
11833 2004-10-13 17:50 pbartok
11837 - Removed destroying of window until we solve the problem of X
11838 destroying the window before us on shutdown
11840 2004-10-13 16:32 pbartok
11843 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11845 2004-10-13 14:18 pbartok
11848 - Added code to destroy the X window
11850 2004-10-13 14:18 pbartok
11853 - Added code to destroy a window
11855 2004-10-13 14:12 pbartok
11858 - Added the Redraw on Resize that got dropped in the last rev
11860 2004-10-13 09:06 pbartok
11862 * ThemeWin32Classic.cs:
11863 - Path from John BouAntoun:
11864 * Fix check rendering (centre correctly for normal style, offset
11865 correctly for FlatStyle).
11866 * Fix border color usage (use backcolor) for FlatStyle.Popup
11867 * Use checkbox.Capture instead of checkbox.is_pressed when
11868 rendering flatstyle states.
11870 2004-10-12 21:48 pbartok
11872 * ThemeWin32Classic.cs:
11873 - Removed all occurences of SystemColors and replaced them with the
11874 matching theme color
11876 2004-10-12 21:41 pbartok
11878 * ThemeWin32Classic.cs:
11879 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11880 him using the function for flatstyle drawing
11881 - Changed functions to use the new version of CPDrawBorder3D
11883 2004-10-12 21:15 pbartok
11886 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11887 match MS documentation. They need to return defined colors if the
11888 passed color matches the configured control color. Thanks to John
11889 BouAntoun for pointing this out.
11891 2004-10-12 20:57 pbartok
11894 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11897 2004-10-12 20:46 pbartok
11900 - Fix from John BouAntoun: Now properly sets the Appearance property
11902 2004-10-12 20:45 pbartok
11904 * ThemeWin32Classic.cs:
11905 - Fixes from John BouAntoun: now handles forecolors and backcolors
11906 for flatstyle rendered controls much better; It also fixes normal
11907 checkbox rendering when pushed or disabled.
11909 2004-10-08 02:50 jordi
11911 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11914 2004-10-07 08:56 jordi
11916 * ThemeWin32Classic.cs: Removes deletion of cached brushes
11918 2004-10-06 03:59 jordi
11920 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
11921 XplatUIWin32.cs: removes warnings from compilation
11923 2004-10-05 12:23 jackson
11925 * RadioButton.cs: Fix ctor
11927 2004-10-05 11:10 pbartok
11930 - Partial implementation by Benjamin Dasnois
11932 2004-10-05 10:15 jackson
11934 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
11937 2004-10-05 03:07 ravindra
11940 - Removed a private method, Draw ().
11941 - Fixed the ButtonDropDown event handling.
11942 - Fixed MouseMove event handling.
11944 2004-10-05 03:04 ravindra
11946 * ThemeWin32Classic.cs:
11947 - Added DrawListView method and ListViewDefaultSize property.
11948 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
11949 - Changed DOS style CRLF to Unix format (dos2unix).
11951 2004-10-05 03:03 ravindra
11954 - Added DrawListView method and ListViewDefaultSize property.
11956 2004-10-05 02:42 ravindra
11958 * ToolBarButton.cs: Added an internal member dd_pressed to handle
11959 clicks on DropDown arrow.
11961 2004-10-04 22:56 jackson
11963 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
11964 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
11965 Control handle the buffers, derived classes should not have to
11966 CreateBuffers themselves.
11968 2004-10-04 21:20 jackson
11970 * StatusBar.cs: The control handles resizing the buffers now.
11972 2004-10-04 21:18 jackson
11974 * Control.cs: When resizing the buffers should be invalidated. This
11975 should be handled in Control not in derived classes.
11977 2004-10-04 14:45 jackson
11981 2004-10-04 02:14 pbartok
11983 * LeftRightAlignment.cs:
11986 2004-10-04 01:09 jordi
11988 * ThemeWin32Classic.cs: fixes right button position causing right
11989 button not showing on horizontal scrollbars
11991 2004-10-02 13:12 pbartok
11994 - Simplified the Invalidate method by using an X call instead of
11995 generating the expose ourselves
11996 - Added an expose when the window background is changed
11997 - Implemented ClientToScreen method
11999 2004-10-02 13:08 pbartok
12002 - Added Win32EnableWindow method (test for implementing modal
12004 - Added ClientToScreen method and imports
12006 2004-10-02 13:07 pbartok
12008 * XplatUI.cs, XplatUIDriver.cs:
12009 - Added ClientToScreen coordinate translation method
12011 2004-10-02 13:06 pbartok
12013 * KeyPressEventArgs.cs:
12014 - Fixed access level for constructor
12016 2004-10-02 13:06 pbartok
12019 - Changed access level for the window_collection hash table
12021 2004-10-02 13:05 pbartok
12024 - Added KeyPreview property
12025 - Added Menu property (still incomplete, pending Jordi's menu work)
12026 - Implemented ProcessCmdKey
12027 - Implemented ProcessDialogKey
12028 - Implemented ProcessKeyPreview
12030 2004-10-02 13:02 pbartok
12033 - Added private method to get the Control object from the window
12035 - Implemented ContextMenu property
12036 - Implemented PointToScreen
12037 - Implemented PreProcessMessage
12038 - Implemented IsInputChar
12039 - Implemented IsInputKey
12040 - Implemented ProcessCmdKey
12041 - Completed ProcessKeyEventArgs
12042 - Fixed message loop to call the proper chain of functions on key
12044 - Implemented ProcessDialogChar
12045 - Implemented ProcessDialogKey
12046 - Implemented ProcessKeyMessage
12047 - Implemented ProcessKeyPreview
12048 - Added RaiseDragEvent stub (MS internal method)
12049 - Added RaiseKeyEvent stub (MS internal method)
12050 - Added RaiseMouseEvent stub (MS Internal method)
12051 - Added RaisePaintEvent stub (MS Internal method)
12052 - Added ResetMouseEventArgs stub (MS Internal method)
12053 - Implemented RtlTranslateAlignment
12054 - Implemented RtlTranslateContent
12055 - Implemented RtlTranslateHorizontal
12056 - Implemented RtlTranslateLeftRight
12057 - Added generation of KeyPress event
12059 2004-10-02 05:57 ravindra
12061 * ListViewItem.cs: Added attributes.
12063 2004-10-02 05:32 ravindra
12065 * ListView.cs: Added attributes.
12067 2004-10-01 11:53 jackson
12069 * Form.cs: Implement the Close method so work on MessageBox can
12072 2004-09-30 14:06 pbartok
12077 2004-09-30 11:34 jackson
12079 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12081 2004-09-30 07:26 ravindra
12083 * ListViewItemConverter.cs: Converter for ListViewItem.
12085 2004-09-30 07:26 ravindra
12087 * SortOrder.cs: Enum for ListView control.
12089 2004-09-30 07:25 ravindra
12091 * ColumnHeader.cs: Supporting class for ListView control.
12093 2004-09-30 07:24 ravindra
12095 * ListView.cs, ListViewItem.cs: Initial implementation.
12097 2004-09-30 07:20 ravindra
12099 * ItemActivation.cs: Enum for ListView Control.
12101 2004-09-29 20:29 pbartok
12104 - Added lookup of pixel value for background color; tries to get a
12105 color 'close' to the requested color, it avoids having to create a
12106 colormap. Depending on the display this could mean the used color
12107 is slightly off the desired color. Might have to change it to a more
12108 resource intensive colormap approach, but it will work as a
12109 workaround to avoid red screens.
12111 2004-09-29 14:27 jackson
12113 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12115 2004-09-28 12:44 pbartok
12117 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12118 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12119 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12120 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12121 TrackBar.cs, VScrollBar.cs:
12122 - Streamlined Theme interfaces:
12123 * Each DrawXXX method for a control now is passed the object for
12124 the control to be drawn in order to allow accessing any state the
12125 theme might require
12127 * ControlPaint methods for the theme now have a CP prefix to avoid
12128 name clashes with the Draw methods for controls
12130 * Every control now retrieves it's DefaultSize from the current
12133 2004-09-28 12:17 jackson
12135 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12138 2004-09-24 14:57 jackson
12140 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12141 Gives us a nice little performance boost.
12143 2004-09-24 12:02 jackson
12145 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12146 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12147 Control and supporting classes. Initial checkin
12149 2004-09-23 13:08 jackson
12151 * Form.cs: Temp build fixage
12153 2004-09-23 01:39 ravindra
12155 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12156 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12157 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12158 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12159 EventHandlers needed by ListView Control.
12161 2004-09-22 14:12 pbartok
12163 * ScrollableControl.cs:
12164 - Implemented DockPadding property
12165 - Implemented AutoScroll property
12166 - Implemented AutoScrollMargin property
12167 - Implemented AutoScrollMinSize property
12168 - Implemented AutoScrollPosition property
12169 - Implemented DisplayRectangle property (still incomplete)
12170 - Implemented CreateParams property
12171 - Implemented HScroll property
12172 - Implemented VScroll property
12173 - Implemented OnVisibleChanged property
12175 2004-09-22 14:09 pbartok
12178 - Added Form.ControllCollection class
12179 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12180 RemoveOwnedForm (still incomplete, missing on-top and common
12181 minimize/maximize behaviour)
12182 - Added StartPosition property (still incomplete, does not use when
12184 - Added ShowDialog() methods (still incomplete, missing forcing the
12187 2004-09-22 14:05 pbartok
12190 - Added message loop for modal dialogs
12192 2004-09-22 14:02 pbartok
12195 - Fixed wrong types for events
12197 2004-09-22 14:00 pbartok
12199 * Shortcut.cs, FormWindowState.cs:
12200 - Fixed wrong values
12202 2004-09-22 12:01 jackson
12204 * Control.cs: Text is never null
12206 2004-09-20 22:14 pbartok
12209 - Fixed accessibility level for Idle handler
12211 2004-09-20 18:54 jackson
12213 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12214 XplatUIX11.cs: New message loop that uses poll so we don't get a
12217 2004-09-17 10:43 pbartok
12220 - Fixed behaviour of arrow buttons. Now properly behaves like
12221 Buttons (and like Microsoft's scrollbar arrow buttons)
12223 2004-09-17 10:14 pbartok
12226 - Added missing release of keyboard/mouse capture
12228 2004-09-17 06:18 jordi
12230 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12231 Theme.cs: Very early menu support
12233 2004-09-16 17:45 pbartok
12236 - Fixed sending a window to the front
12237 - Added overload for SetWindowPos to avoid casting
12239 2004-09-16 17:44 pbartok
12242 - Added SendToBack and BringToFront methods
12244 2004-09-16 07:00 ravindra
12246 * Copyright: Added Novell URL.
12248 2004-09-16 07:00 ravindra
12250 * ToolBar.cs: Invalidate should be done before redrawing.
12252 2004-09-15 21:19 ravindra
12254 * ColumnHeaderStyle.cs: Enum for ListView Control.
12256 2004-09-15 21:18 ravindra
12258 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12261 2004-09-13 18:26 jackson
12263 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12266 2004-09-13 18:13 jackson
12268 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12269 a second thread and post messages into the main threads message
12270 queue. This makes timing much more consistent. Both win2K and XP
12271 have a minimum timer value of 15 milliseconds, so we now do this
12274 2004-09-13 15:18 pbartok
12276 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12278 - Added Z-Ordering methods
12280 2004-09-13 10:56 pbartok
12283 - Fixed #region names
12284 - Moved properties and methods into their proper #regions
12286 2004-09-13 10:51 pbartok
12289 - Added Accept and CancelButton properties
12290 - Added ProcessDialogKey() method
12292 2004-09-13 08:18 pbartok
12294 * IWindowTarget.cs:
12297 2004-09-10 21:50 pbartok
12300 - Added DoDragDrop() [incomplete]
12301 - Properly implemented 'Visible' handling
12302 - Added SetVisibleCore()
12303 - Implemented FindChildAtPoint()
12304 - Implemented GetContainerControl()
12305 - Implemented Hide()
12307 2004-09-10 19:28 pbartok
12310 - Moved methods into their appropriate #regions
12311 - Reordered methods within regions alphabetically
12313 2004-09-10 18:57 pbartok
12315 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12316 - Added method to retrieve text from window
12318 2004-09-10 18:56 pbartok
12321 - Moved some internal functions into the internal region
12322 - Implemented FontHeight
12323 - Implemented RenderRightToLeft
12324 - Implemented ResizeRedraw
12325 - Implemented ShowFocusCues
12326 - Implemented ShowKeyboardCues
12327 - Implemented FromChildHandle
12328 - Implemented FromHandle
12329 - Implemented IsMnemonic
12330 - Implemented ReflectMessage
12331 - All public and protected Static Methods are now complete
12333 2004-09-10 16:54 pbartok
12336 - Implemented remaining missing public instance properties
12337 - Alphabetized some out of order properties
12339 2004-09-10 05:51 ravindra
12341 * PictureBox.cs: Added a check for null image.
12343 2004-09-10 00:59 jordi
12345 * GroupBox.cs: remove cvs tag
12347 2004-09-09 05:25 ravindra
12349 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12351 2004-09-09 05:23 ravindra
12353 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12356 2004-09-09 02:28 pbartok
12358 * ThemeWin32Classic.cs:
12359 - Improve disabled string look
12361 2004-09-09 01:15 jordi
12363 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12366 2004-09-08 23:56 ravindra
12368 * ItemBoundsPortion.cs: It's enum, not a class!
12370 2004-09-08 23:47 ravindra
12372 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12375 2004-09-08 21:13 ravindra
12377 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12380 2004-09-08 21:03 ravindra
12382 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12385 2004-09-08 21:01 ravindra
12387 * ScrollableControl.cs: Removed unreachable code.
12389 2004-09-08 06:45 jordi
12391 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12393 2004-09-08 01:00 jackson
12395 * XplatUIX11.cs: Only run the timers when updating the message
12396 queue. This effectively gives X messages a higher priority then
12397 timer messages. Timers still need love though
12399 2004-09-07 14:01 jackson
12401 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12402 this for us and the handle is no longer valid.
12404 2004-09-07 13:59 jackson
12406 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12407 loop that manages to not crash. TODO: Add poll and cleanup timers
12409 2004-09-07 11:12 jordi
12411 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12413 2004-09-07 03:40 jordi
12415 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12416 fixes, methods, multiple links
12418 2004-09-06 06:55 jordi
12420 * Control.cs: Caches ClientRectangle rectangle value
12422 2004-09-05 02:03 jordi
12424 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12427 2004-09-04 11:10 jordi
12429 * Label.cs: Refresh when font changed
12431 2004-09-02 16:24 pbartok
12434 - Added sanity check to creation of double buffer bitmap
12436 2004-09-02 16:24 pbartok
12439 - Fixed selection of text color
12440 - Fixed handling of resize event; now properly recreates double
12442 - Added missing assignment of TextAlignment
12443 - Added proper default for TextAlignment
12445 2004-09-02 14:26 pbartok
12448 - Added missing RadioButton.RadioButtonAccessibleObject class
12450 2004-09-02 14:26 pbartok
12453 - Added missing Control.ControlAccessibleObject class
12454 - Started to implement Select()ion mechanisms, still very incomplete
12456 2004-09-02 14:25 pbartok
12458 * AccessibleObject.cs:
12459 - Added missing methods
12461 2004-09-02 14:23 pbartok
12463 * AccessibleNavigation.cs, AccessibleSelection.cs:
12466 2004-09-02 10:32 jordi
12468 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12469 pool for pens, brushes, and hatchbruses
12471 2004-09-01 15:30 jackson
12473 * StatusBar.cs: Fix typo
12475 2004-09-01 14:44 pbartok
12480 2004-09-01 14:39 pbartok
12482 * Button.cs, RadioButton.cs:
12483 - Functional initial check-in
12485 2004-09-01 14:01 pbartok
12488 - Added missing default
12489 - Added missing region mark
12491 2004-09-01 09:10 jordi
12493 * Label.cs: fixes method signatures, new methods, events, fixes
12496 2004-09-01 07:19 jordi
12498 * Control.cs: Init string variables with an empty object
12500 2004-09-01 04:20 jordi
12502 * Control.cs: fires OnFontChanged event
12504 2004-08-31 20:07 pbartok
12507 - Enabled display of strings
12509 2004-08-31 20:05 pbartok
12512 - Added (partial) implementation of DialogResult; rest needs to be
12513 implemented when the modal loop code is done
12515 2004-08-31 19:55 pbartok
12518 - Fixed to match the removal of the needs_redraw concept
12520 2004-08-31 19:55 pbartok
12523 - Removed the rather odd split between 'needs redraw' and redrawing
12524 - Now handles the events that require regeneration (ambient
12525 properties and size)
12527 2004-08-31 19:41 pbartok
12530 - Added firing of BackColorChanged event
12531 - Added TopLevelControl property
12532 - Fixed handling of WM_ERASEBKGRND message
12534 2004-08-31 12:49 pbartok
12540 2004-08-31 12:48 pbartok
12543 - Finished (famous last words)
12545 2004-08-31 04:35 jordi
12547 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12548 scrolling bugs, adds new methods
12550 2004-08-30 14:42 pbartok
12553 - Implemented CheckBox drawing code
12555 2004-08-30 14:42 pbartok
12558 - Made Redraw() and CheckRedraw() virtual
12559 - Improved mouse up/down/move logic to properly track buttons
12561 2004-08-30 09:44 pbartok
12564 - Updated to fix broken build. Not complete yet.
12566 2004-08-30 09:28 pbartok
12571 2004-08-30 09:17 pbartok
12576 2004-08-27 16:12 ravindra
12578 * ToolBarButton.cs: Added TypeConverter attribute.
12580 2004-08-27 16:07 ravindra
12582 * ImageIndexConverter.cs: Implemented.
12584 2004-08-27 14:17 pbartok
12587 - Removed unneeded stack vars
12588 - First attempt to fix sizing issues when layout is suspended
12590 2004-08-25 15:35 jordi
12592 * ScrollBar.cs: more fixes to scrollbar
12594 2004-08-25 14:04 ravindra
12596 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12597 Added the missing divider code and grip for ToolBar Control.
12599 2004-08-25 13:20 pbartok
12602 - Control now properly passes the ambient background color to child
12605 2004-08-25 13:20 jordi
12607 * ScrollBar.cs: small bug fix regarding bar position
12609 2004-08-25 12:33 pbartok
12612 - Now only calls SetTimer or KillTimer if the enabled state has
12615 2004-08-25 12:33 pbartok
12618 - Fixed timer handling, now seems to work
12619 - Improved error message for window creation
12621 2004-08-25 12:32 pbartok
12624 - Fixed generation of MouseUp message
12626 2004-08-25 12:29 jordi
12628 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12629 and fixes for progressbar
12631 2004-08-24 18:43 ravindra
12633 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12634 in ToolBar control.
12636 2004-08-24 17:15 pbartok
12640 - Added missing events
12643 2004-08-24 17:14 pbartok
12645 * StatusBar.cs, PictureBox.cs:
12646 - Now uses Control's CreateParams
12648 2004-08-24 16:36 pbartok
12651 - Fixed background color handling
12652 - Fixed sending of enter/leave events on a grab
12654 2004-08-24 16:35 pbartok
12657 - Refined definitions for CrossingEvent
12659 2004-08-24 12:37 jordi
12661 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12662 formmating, methods signature, and adds missing events
12664 2004-08-24 12:24 jordi
12666 * Control.cs: fire OnEnabledChanged event
12668 2004-08-24 11:17 pbartok
12671 - Implemented SetTimer() and KillTimer()
12673 2004-08-24 11:16 pbartok
12676 - Now uses Remove instead of Add to kill the timer
12678 2004-08-24 10:16 jackson
12680 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12681 picture boxes in the theme now. Draw picture box borders and obey
12684 2004-08-24 05:49 jackson
12686 * Timer.cs: Remove top secret debugging code
12688 2004-08-24 05:34 jackson
12690 * PictureBox.cs: Temp hack to make picture boxes draw their full
12693 2004-08-24 05:29 jackson
12695 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12696 XplatUIX11.cs: Move timers to the driver level. On X they are
12697 queued by the driver and checked on idle.
12699 2004-08-24 01:07 jackson
12701 * XplatUIX11.cs: Use a queue for async messages instead of passing
12702 them as ClientMessages since that was totally broken. Also simply
12703 check for events and return an idle message if none are found. This
12704 gives us an idle handler, and prevents deadlocking when no messages
12707 2004-08-23 18:19 ravindra
12709 * XplatUIWin32.cs: Removed the unwanted destructor.
12711 2004-08-23 17:27 pbartok
12714 - Finishing touches. Works now, just needs some optimizations.
12716 2004-08-23 16:53 jordi
12718 * ScrollBar.cs: small fix
12720 2004-08-23 16:45 pbartok
12723 - Removed debug output
12726 2004-08-23 16:43 jordi
12728 * ScrollBar.cs: [no log message]
12730 2004-08-23 16:10 pbartok
12733 - Fixed handling of WM_CLOSE message
12734 - Removed debug output
12736 2004-08-23 16:09 pbartok
12739 - Added handling of Idle event
12740 - Added handling of form closing
12741 - Fixed reporting of MessageLoop property
12742 - Removed some unneeded code, should provide a bit of a speedup
12744 2004-08-23 15:22 pbartok
12747 - Added InitLayout() method
12748 - Added code to properly perform layout when Anchor or Dock property
12750 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12751 LAMESPEC, tried to do it in a way that makes sense
12753 2004-08-23 14:10 jordi
12755 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12756 properties and methods
12758 2004-08-23 13:55 pbartok
12761 - Properly fixed Jordi's last fix
12762 - Now uses Cursor's Position property instead of calling XplatUI
12765 2004-08-23 13:44 jordi
12767 * PaintEventHandler.cs: Adding missing attribute
12769 2004-08-23 13:39 pbartok
12772 - Implemented Position property
12774 2004-08-23 13:39 pbartok
12776 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12777 - Added method to move mouse cursor
12779 2004-08-23 13:39 pbartok
12782 - Fixed setting of background color
12783 - Added method to move mouse cursor
12785 2004-08-23 13:16 jordi
12787 * Control.cs: avoids null exception
12789 2004-08-22 17:46 jackson
12791 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12794 2004-08-22 17:40 jackson
12796 * XplatUIX11.cs: Add some missing locks
12798 2004-08-22 15:10 pbartok
12800 * Control.cs, Form.cs:
12801 - Removed OverlappedWindow style from Control, instead it's default
12803 - Made form windows OverlappedWindow by default
12805 2004-08-22 13:34 jackson
12807 * ScrollBar.cs: Update the position through the Value property so
12808 the OnValueChanged event is raised.
12810 2004-08-22 12:04 pbartok
12813 - Added Cursor.cs and UserControl.cs
12815 2004-08-22 12:03 pbartok
12818 - Started implementation, not usable yet
12820 2004-08-22 12:00 pbartok
12823 - Implemented UserControl (complete)
12825 2004-08-21 19:20 ravindra
12827 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12829 2004-08-21 18:49 ravindra
12831 * ToolBar.cs: Probably this completes the missing attributes in
12834 2004-08-21 18:03 ravindra
12836 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12837 Fixed toolbar control signatures.
12839 2004-08-21 16:32 pbartok
12844 2004-08-21 16:30 pbartok
12849 2004-08-21 16:19 pbartok
12851 * Control.cs, Label.cs:
12854 2004-08-21 15:57 pbartok
12857 - Added loads of debug output for development
12858 - Fixed typo in method name
12860 2004-08-21 15:52 pbartok
12862 * ToolBarButtonClickEventArgs.cs:
12863 - Added missing base class
12865 2004-08-21 14:53 pbartok
12868 - Updated to match new GrabWindow signature
12870 2004-08-21 14:51 pbartok
12872 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12873 - Added method to get default display size
12875 2004-08-21 14:23 pbartok
12877 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12878 - Added method to query current grab state
12879 - Added argument to allow confining a grab to a window
12881 2004-08-21 14:22 pbartok
12884 - Added [Flags] attribute so that modifiers can be used in bitwise
12887 2004-08-21 14:21 pbartok
12889 * TrackBar.cs, ScrollBar.cs:
12890 - Replaced direct XplatUI calls with their Control counterpart
12892 2004-08-21 13:32 pbartok
12895 - Implemented Created property
12897 2004-08-21 13:28 pbartok
12900 - Implemented ContainsFocus
12902 2004-08-21 13:26 pbartok
12905 - Implemented CausesValidation
12907 2004-08-21 13:21 pbartok
12910 - Implemented CanFocus
12911 - Implemented CanSelect
12912 - Implemented Capture
12914 2004-08-21 12:35 pbartok
12917 - Fixed bug with Async message handling
12918 - Implemented getting the ModifierKeys
12920 2004-08-21 12:32 jackson
12922 * AsyncMethodResult.cs: Make sure we have the mutex before we
12923 release it. Fixes BeginInvoke on windows
12925 2004-08-21 11:31 pbartok
12927 * XplatUIWin32.cs, XplatUIX11.cs:
12928 - Drivers now return proper mouse state
12930 2004-08-21 10:54 jackson
12932 * Control.cs: Implement EndInvoke
12934 2004-08-21 10:48 jackson
12936 * Timer.cs: Remove unneeded finalizer
12938 2004-08-20 19:52 ravindra
12940 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
12941 in mouse event handling in the ToolBar control.
12943 2004-08-20 19:50 ravindra
12945 * ImageList.cs: Changed draw method to use the arguments passed in
12948 2004-08-20 18:58 pbartok
12950 * XplatUIStructs.cs:
12951 - Added private message for async communication
12953 2004-08-20 17:38 ravindra
12955 * Control.cs: Made RightToLeft property virtual and removed a
12958 2004-08-20 14:39 jordi
12960 * ThemeGtk.cs: use style_attach
12962 2004-08-20 14:39 pbartok
12965 - Added jackson's Async code from X11 to Win32
12967 2004-08-20 14:09 pbartok
12970 - Added all new files
12972 2004-08-20 14:09 pbartok
12975 - Added call to set window background color
12977 2004-08-20 14:03 pbartok
12979 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
12980 - Added method for setting the window background
12982 2004-08-20 14:02 pbartok
12985 - Added method for setting the background color
12986 - Added handling for erasing the window background
12988 2004-08-20 13:45 jordi
12990 * TrackBar.cs: fixes timer, new properties and methods
12992 2004-08-20 13:34 jackson
12994 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
12997 2004-08-20 13:22 jackson
12999 * Timer.cs: Timer Tick events are now handed through Controls Async
13000 mechanism so the callbacks are executed in the same thread as X
13002 2004-08-20 13:19 jackson
13004 * XplatUIDriver.cs: Expose functionality to send async messages
13007 2004-08-20 13:18 jackson
13009 * Control.cs: Implement Begininvoke
13011 2004-08-20 13:14 jackson
13013 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13014 messages through the driver
13016 2004-08-20 13:12 jackson
13018 * XplatUIX11.cs: Lock before all X operations. Also added Async
13019 method functionality through XSendEvent
13021 2004-08-20 13:11 jackson
13023 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13024 This will screw up on 64 bit systems)
13026 2004-08-20 13:10 jackson
13028 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13029 Async messages through X/Win32
13031 2004-08-19 19:39 pbartok
13034 - Updated code to match new HandleData.DeviceContext type
13036 2004-08-19 19:38 pbartok
13039 - Made DeviceContext a generic object to allow usage from various
13041 - Added support for queueing Windows messages
13043 2004-08-19 19:37 pbartok
13046 - Added generation of MouseEnter, MouseLeave and MouseHover events
13047 - Added cleanup on EndPaint
13049 2004-08-19 19:17 pbartok
13052 - Added handling of WM_MOUSEHOVER
13053 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13056 2004-08-19 18:55 jordi
13058 * ThemeGtk.cs: fixes button order
13060 2004-08-19 18:12 jordi
13062 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13064 2004-08-19 17:09 pbartok
13067 - Added Right property
13068 - Added RightToLeft property
13070 2004-08-19 16:27 jordi
13072 * ThemeGtk.cs: experimental GTK theme support
13074 2004-08-19 16:26 jordi
13076 * ITheme.cs, Theme.cs: move themes from an interface to a class
13078 2004-08-19 16:25 jordi
13080 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13083 2004-08-19 16:04 pbartok
13086 - Added colormap basics
13087 - Added a way to re-initialize with a different display handle
13088 - Fixed setting of the window background color
13089 - Added various X11 imports related to colors and colormaps
13091 2004-08-19 15:51 pbartok
13094 - Removed packing hints (Paolo suggested this a while back)
13095 - fixed colormap type
13096 - Added default Atom types
13097 - Added Screen and color structs and enums
13099 2004-08-19 15:39 pbartok
13102 - Added missing Draw() method
13103 - Added missing RecreateHandle event
13105 2004-08-19 15:30 pbartok
13108 - Added handling of WM_CLOSE
13110 2004-08-18 13:16 jordi
13112 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13115 2004-08-18 09:56 jordi
13117 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13119 2004-08-17 15:31 ravindra
13121 * SWF.csproj: Updated project.
13123 2004-08-17 15:25 pbartok
13126 - Drawing improvement; don't call UpdateBounds if we are not visible
13127 (or have been minimized)
13129 2004-08-17 15:24 pbartok
13132 - Finished IsVisible
13133 - Added Win32GetWindowPlacement
13135 2004-08-17 15:08 jackson
13137 * Panel.cs: Initial checkin of the Panel
13139 2004-08-17 14:25 pbartok
13142 - Fixed broken handling of default window sizes
13144 2004-08-17 13:29 jackson
13146 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13147 has a large startup time.
13149 2004-08-17 10:25 jackson
13151 * HandleData.cs: union areas properly
13153 2004-08-17 10:12 jackson
13155 * HandleData.cs: union areas properly
13157 2004-08-16 20:00 ravindra
13159 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13161 2004-08-16 18:48 ravindra
13163 * ToolBar.cs: Added attributes.
13165 2004-08-16 17:17 ravindra
13167 * SWF.csproj: Updated project.
13169 2004-08-16 17:16 jackson
13171 * XplatUIX11.cs: Check for more expose events before sending a
13172 WM_PAINT so they can all be grouped together. This makes dragging a
13173 window across another window redraw in a sane way.
13175 2004-08-16 15:47 pbartok
13178 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13179 support OnMouseEnter/Leave()
13180 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13183 2004-08-16 15:46 pbartok
13185 * XplatUIStructs.cs, XplatUIX11.cs:
13186 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13187 OnMouseEnter/Leave()
13189 2004-08-16 15:34 jackson
13191 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13192 sure messages get the message field set to WM_NULL if they are not
13195 2004-08-16 15:24 jackson
13197 * HandleData.cs: HandleData is used for storing message information
13200 2004-08-15 17:23 ravindra
13202 * ColorDepth.cs: Added attribute.
13204 2004-08-15 17:23 ravindra
13206 * SWF.csproj: Updated project for ToolBar Control.
13208 2004-08-15 17:20 ravindra
13210 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13211 control and also dos2unix format.
13213 2004-08-15 17:13 ravindra
13215 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13216 ToolBarButtonClickEventArgs.cs,
13217 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13218 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13220 2004-08-15 15:31 pbartok
13223 - First (mostly) working version
13225 2004-08-13 16:15 pbartok
13228 - Fixed Anchor default
13230 2004-08-13 15:43 pbartok
13233 - Changed GetCursorPos signature
13235 2004-08-13 15:42 pbartok
13237 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13238 - Changed signature for GetCursorPos
13240 2004-08-13 15:25 pbartok
13244 - Fixed resizing/exposure handling
13246 2004-08-13 15:22 jordi
13248 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13251 2004-08-13 14:55 jordi
13253 * TrackBar.cs: change from wndproc to events
13255 2004-08-13 13:00 jordi
13257 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13258 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13260 2004-08-13 12:53 pbartok
13263 - Changed GetWindowPos to also provide client area size
13264 - Fixed broken prototypes for several win32 functions
13266 2004-08-13 12:53 pbartok
13268 * XplatUI.cs, XplatUIDriver.cs:
13269 - Changed GetWindowPos to also provide client area size
13271 2004-08-13 12:52 pbartok
13274 - Added generation of WM_POSCHANGED
13275 - Changed GetWindowPos to also provide client area size
13277 2004-08-13 12:52 pbartok
13280 - Added Dispose() and destructor
13281 - Fixed resizing and bounds calculation
13283 - Added memory savings for invisible windows
13285 2004-08-13 12:46 jordi
13287 * TrackBar.cs: adds timer and grap window
13289 2004-08-13 10:25 jackson
13291 * Timer.cs: SWF Timer
13293 2004-08-12 16:59 pbartok
13295 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13296 - Implemented method to get current mouse position
13298 2004-08-12 14:29 jordi
13300 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13301 enhancement, fix mouse problems, highli thumb, etc
13303 2004-08-12 13:31 pbartok
13306 - Fixed Anchoring bugs
13308 2004-08-12 13:01 jackson
13310 * StatusBar.cs: Don't forget things
13312 2004-08-12 12:54 jackson
13314 * ThemeWin32Classic.cs: Handle owner draw status bars
13316 2004-08-12 12:54 jackson
13318 * StatusBar.cs: Implement missing properties, events, and methods.
13319 Handle mouse clicking
13321 2004-08-12 10:19 jackson
13323 * StatusBarPanelClickEventArgs.cs,
13324 StatusBarPanelClickEventHandler.cs: Classes for handling status
13325 bar panel click events
13327 2004-08-12 10:10 jackson
13329 * Control.cs: Add missing properties
13331 2004-08-12 09:46 pbartok
13333 * BindingsManagerBase.cs:
13334 - Name changed to BindingManagerBase.cs
13336 2004-08-12 09:25 jordi
13338 * ScrollableControl.cs: calls ctrlbase instead of exeception
13340 2004-08-11 16:28 pbartok
13342 * InputLanguageChangingEventArgs.cs:
13343 - Never check in before compiling. Fixes the last check-in
13345 2004-08-11 16:26 pbartok
13347 * InputLanguageChangingEventArgs.cs:
13348 - More signature fixes
13350 2004-08-11 16:20 pbartok
13352 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13353 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13354 ImageListStreamer.cs, InputLanguage.cs,
13355 InputLanguageChangedEventArgs.cs,
13356 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13357 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13358 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13359 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13362 2004-08-11 16:16 pbartok
13366 - Added .Net 1.1 method
13368 2004-08-11 15:25 pbartok
13371 - Fixed BindingManagerBase.cs filename
13373 2004-08-11 15:22 pbartok
13375 * BindingManagerBase.cs:
13376 - Was checked in with wrong filename
13378 2004-08-11 14:50 pbartok
13383 2004-08-11 13:41 jordi
13385 * XplatUIWin32.cs: Fixes ClientRect
13387 2004-08-11 13:19 pbartok
13389 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13391 - We had SetWindowPos and MoveWindow to set window positions and
13392 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13393 keep SetWindowPos as matching counterpart
13394 - Added some X11 sanity checking
13396 2004-08-11 12:59 pbartok
13399 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13400 (It seems that SetBounds is just a front for SetBoundsCore and
13401 SetBoundsCore updates the underlying window system and
13402 UpdateBounds is responsible for updating the variables associated
13403 with the Control and sending the events)
13404 - Major cleanup of Size handling; we now have two sizes, client_size
13405 and bounds. Bounds defines the window with decorations, client_size
13408 2004-08-11 12:55 pbartok
13410 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13411 - Added method to calculate difference between decorated window and
13414 2004-08-11 12:54 pbartok
13417 - Forcing redraw on resize
13419 2004-08-11 11:43 pbartok
13422 - Removed disposing of the actual images when the list is disposed
13424 2004-08-11 09:13 pbartok
13427 - Now properly reparents windows
13429 2004-08-11 08:37 pbartok
13434 2004-08-11 07:47 pbartok
13437 - Rewrote the collection stuff. Might not be as fast now, not
13438 keeping the number of children around and accessible directly, but
13439 it's more straightforward
13441 2004-08-11 07:44 pbartok
13443 * AccessibleObject.cs:
13444 - Fixed to match ControlCollection rewrite
13446 2004-08-11 07:43 pbartok
13449 - Added missing creation of the collection list
13451 2004-08-10 20:08 jackson
13453 * StatusBar.cs: Get the paint message from WndProc
13455 2004-08-10 19:31 jackson
13457 * ThemeWin32Classic.cs: Create Brushes as little as possible
13459 2004-08-10 19:20 jackson
13461 * UICues.cs: Add Flags attribute
13463 2004-08-10 19:19 jackson
13465 * StatusBarPanel.cs: Signature cleanup
13467 2004-08-10 19:10 jackson
13469 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13470 Initial implementation of status bar item drawing
13472 2004-08-10 17:27 jordi
13474 * TrackBar.cs: add missing methods, properties, and restructure to
13477 2004-08-10 16:24 jackson
13479 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13480 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13483 2004-08-10 13:21 jordi
13485 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13486 enhancements and standarize on win colors defaults
13488 2004-08-10 12:52 jackson
13490 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13491 ThemeWin32Classic.cs: Implement DrawItem functionality
13493 2004-08-10 12:47 jordi
13495 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13497 2004-08-10 12:32 jordi
13499 * Control.cs: throw ontextchange event
13501 2004-08-10 11:43 pbartok
13504 - Added more to the still unfinished Dock/Anchor layout code
13506 2004-08-10 11:39 pbartok
13508 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13509 - Added GetWindowPos method
13511 2004-08-10 11:36 pbartok
13514 - Implemented several methods
13516 2004-08-10 09:47 jackson
13518 * TrackBar.cs: Allow control to handle buffering
13520 2004-08-10 09:41 jackson
13522 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13524 2004-08-10 09:24 jackson
13526 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13528 2004-08-10 09:09 jackson
13530 * StatusBar.cs: Let Control handle all the buffering.
13532 2004-08-10 09:08 jackson
13534 * Control.cs: Control will now handle the buffering code, so each
13535 control does not have to implement this.
13537 2004-08-10 08:34 jackson
13539 * XplatUIDriver.cs: Use default colors from the theme
13541 2004-08-09 17:12 pbartok
13544 - Fixed several bugs Ravindra pointed out
13546 2004-08-09 16:11 pbartok
13549 - Added incomplete dock layout code
13550 - Added support for mouse wheel
13552 2004-08-09 16:09 pbartok
13555 - Added handling for middle and right mousebutton
13556 - Added handling for mouse wheel
13557 - Added handling for key state and mouse state and position
13558 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13561 2004-08-09 15:40 jackson
13563 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13564 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13567 2004-08-09 15:37 jackson
13569 * StatusBar.cs: Initial implementation of StatusBar
13571 2004-08-09 15:36 jackson
13573 * ITheme.cs: Add support for drawing status bar and getting status
13576 2004-08-09 15:35 pbartok
13581 2004-08-09 15:34 jackson
13583 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13584 status bar item sizes
13586 2004-08-09 15:21 jackson
13588 * ThemeWin32Classic.cs: Use known colors for default control
13591 2004-08-09 15:12 jackson
13593 * ThemeWin32Classic.cs: Make the default font static, it is static
13594 in control so this doesn't change functionality and creating fonts
13597 2004-08-09 14:56 pbartok
13600 - Added GrabMode enum
13602 2004-08-09 14:55 pbartok
13604 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13605 - Removed Run method, was only required for initial development
13607 2004-08-09 14:51 pbartok
13609 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13610 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13613 2004-08-09 13:48 pbartok
13616 - Fixed default sizing for child windows
13618 2004-08-09 12:56 pbartok
13621 - Added generation of WM_DESTROY message
13622 - Added handling of window manager induced shutdown
13624 2004-08-09 11:31 jackson
13626 * ThemeWin32Classic.cs: New names for control properties
13628 2004-08-09 11:25 jackson
13630 * Control.cs: Use new color names
13632 2004-08-09 11:02 jackson
13634 * XplatUI.cs: Get default window properties from the theme
13636 2004-08-09 11:01 jackson
13638 * ITheme.cs: The theme engine now controls default window
13641 2004-08-09 11:00 jackson
13643 * ThemeWin32Classic.cs: Add default window color properties
13645 2004-08-09 10:17 jackson
13647 * ThemeWin32Classic.cs: Use correct default back color
13649 2004-08-09 10:05 jackson
13651 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13654 2004-08-09 09:56 jackson
13656 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13658 2004-08-09 09:54 jackson
13660 * Control.cs: Get default properties from the theme.
13662 2004-08-09 09:53 jackson
13664 * ITheme.cs: Themes now handle default control properties
13666 2004-08-09 09:53 jackson
13668 * ThemeWin32Classic.cs: Themes now handle default control
13669 properties so coloring will be consistent
13671 2004-08-08 16:54 jordi
13673 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13675 2004-08-08 15:08 jordi
13677 * XplatUIX11.cs: fixes keyboard crash
13679 2004-08-08 13:47 jordi
13681 * Label.cs: add cvs header info
13683 2004-08-08 12:09 jackson
13685 * ThemeWin32Classic.cs: Add pen_buttonface
13687 2004-08-08 11:52 jordi
13689 * Label.cs, LinkLabel.cs: [no log message]
13691 2004-08-08 11:34 jordi
13693 * ThemeWin32Classic.cs: Use Windows Standard Colours
13695 2004-08-07 17:32 jordi
13697 * TrackBar.cs: throw exceptions of invalid enums values
13699 2004-08-07 17:31 jordi
13701 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13704 2004-08-07 16:56 jackson
13706 * HorizontalAlignment.cs: Initial checkin
13708 2004-08-07 13:16 jordi
13710 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13713 2004-08-07 13:05 jordi
13715 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13716 GetSysColor defines
13718 2004-08-06 18:01 pbartok
13720 * ThemeWin32Classic.cs:
13721 - Fixed some rounding issues with float/int
13723 2004-08-06 18:00 jackson
13725 * DockStyle.cs, AnchorStyles.cs:
13727 Add flags and serializable attributes.
13729 2004-08-06 17:46 pbartok
13732 - Implemented GetParent
13734 2004-08-06 17:18 pbartok
13737 - Fixed some rounding issues with float/int
13739 2004-08-06 17:17 pbartok
13741 * X11Structs.cs, XplatUIX11.cs:
13742 - Fixed Refresh and Invalidate
13744 2004-08-06 15:30 pbartok
13746 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13747 - Fixed recursive loop when resizing
13748 - Improved/fixed redrawing on expose messages
13750 2004-08-06 09:53 jordi
13752 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13753 keyboard navigation
13755 2004-08-06 08:02 pbartok
13757 * X11Structs.cs, XplatUIX11.cs:
13758 - Fixed reparenting
13759 - Fixed window border creation
13761 2004-08-05 15:38 pbartok
13764 - Attempted fix for reparenting problems
13766 2004-08-04 15:14 pbartok
13769 - Fixed Invalidation bug (calculated wrong client area)
13770 - Added ClientSize setter
13772 2004-08-04 15:13 pbartok
13775 - Added AutoScale properties
13777 2004-08-04 15:13 pbartok
13780 - Added latest files
13782 2004-08-04 14:11 pbartok
13784 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13786 - Added Invalidate handling
13788 2004-08-03 17:09 jordi
13790 * XplatUIDriver.cs: fixes spelling mistake
13792 2004-07-27 09:53 jordi
13794 * TrackBar.cs: fixes trackbar events, def classname, methods
13797 2004-07-27 09:29 jordi
13799 * ScrollBar.cs: fixes scrollbar events
13801 2004-07-27 04:38 jordi
13803 * Control.cs: changes to be able to run winforms samples
13805 2004-07-26 11:42 jordi
13807 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13808 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13810 2004-07-26 05:41 jordi
13812 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13813 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13816 2004-07-22 09:22 jordi
13818 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13819 check link overlapping, implement events, and fixes
13821 2004-07-21 10:28 jordi
13823 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13825 2004-07-21 10:19 jordi
13827 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13828 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13829 LinkLabelLinkClickedEventArgs.cs,
13830 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13831 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13834 2004-07-19 13:09 jordi
13836 * Control.cs, Label.cs: label control re-written: added missing
13837 functionlity, events, and properties
13839 2004-07-19 10:49 jordi
13841 * Control.cs: fixes SetBounds logic
13843 2004-07-19 01:29 jordi
13845 * Control.cs: Call RefreshWindow only if the window has created
13847 2004-07-15 14:05 pbartok
13849 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13850 - Implemented ImageList and ImageList.ImageCollection classes
13851 - Added ColorDepth enumeration
13852 - Updated SWF VS.Net project
13854 2004-07-15 11:06 jordi
13856 * XplatUIStructs.cs: added MsgButons enum
13858 2004-07-15 11:03 jordi
13860 * Control.cs: added basic mouse handeling events
13862 2004-07-15 03:38 jordi
13864 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13865 Vertical TrackBar control implementation
13867 2004-07-13 09:33 jordi
13869 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13871 2004-07-13 09:31 jordi
13873 * Control.cs, Form.cs: commit: new properties and fixes form size
13876 2004-07-09 14:13 miguel
13878 * ProgressBar.cs: Spelling
13880 2004-07-09 11:25 pbartok
13883 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13886 2004-07-09 11:17 miguel
13888 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13890 * ProgressBar.cs: Fixed spelling for `block'
13892 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13895 Avoid using the += on rect.X, that exposed a bug in the compiler.
13897 2004-07-08 23:21 pbartok
13899 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13900 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13901 BaseCollection.cs, Binding.cs, BindingContext.cs,
13902 BindingMemberInfo.cs, BindingsCollection.cs,
13903 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13904 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13905 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13906 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13907 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13908 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13909 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13910 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13911 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13912 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13913 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13914 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13915 InputLanguageChangedEventArgs.cs,
13916 InputLanguageChangedEventHandler.cs,
13917 InputLanguageChangingEventArgs.cs,
13918 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
13919 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
13920 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
13921 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
13922 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
13923 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
13924 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
13925 QueryAccessibilityHelpEventArgs.cs,
13926 QueryAccessibilityHelpEventHandler.cs,
13927 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
13928 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
13929 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
13930 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
13931 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
13932 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
13933 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
13934 XplatUIX11.cs, lang.cs: