1 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
3 * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
4 SendMessage directly calling window procedures, which in turn might
7 2006-06-01 Peter Dennis Bartok <pbartok@novell.com>
9 * Control.cs: Don't handle WM_SETFOCUS if the same window already
10 has focus (works around X11 sending a FocusIn after our SetFocus)
11 * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
13 2006-06-01 Alexander Olk <alex.olk@googlemail.com>
15 * Mime.cs: Fix for the NET_2_0 build.
16 NameValueCollection needs StringComparer now.
18 2006-05-31 Chris Toshok <toshok@ximian.com>
20 * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
21 return (via an out parameter) the starting X of the column.
22 (UpdateVisibleColumn): track change to FromPixelToColumn.
23 (HitTest): add a ColumnResize case here.
24 (DrawResizeLine): new function, probably poorly named.
26 * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
27 only need to keep one reference.
28 (set_ListManager): same.
29 (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
30 Also, add support for HitTestType.ColumnResize.
31 (OnMouseMove): add column resize behavior here, and change the
32 cursor to the correct one as we move around the datagrid.
33 (OnMouseUp): terminate the column resize if we're resizing.
34 (ProcessGridKey): from the MS docs, Alt-0 enters the null value
36 (ConnectListManagerEvents): use cached_currencymgr.
37 (DisconnectListManagerEvents): fill this in, using
39 (SetCurrentCell): remove cached_currencymgr_events handling.
40 (SetDataMember): only call DisconnectListManagerEvents if
41 cached_currencymgr is != null.
42 (SetDataSource): same.
43 (OnListManagerCurrentChanged): cached_currencymgr_events ->
46 2006-05-31 Jackson Harper <jackson@ximian.com>
48 * BindingManagerBase.cs: Remove somedebug code that creeped into
50 * TreeNode.cs: We get the indent level dynamically right now, so
51 don't track it as a member.
52 * TreeNodeCollection.cs: Make sure all nodes added to the list
53 have parents, treeviews/topnodes setup properly.
54 - Don't attempt to track indent level.
56 2006-05-30 Jackson Harper <jackson@ximian.com>
58 * BindingContext.cs: Create the currency manager tables here.
59 This allows us to more easily create null tables (when bad data
60 members are used), and more easily create related currency
62 * CurrencyManager.cs: All the table creation stuff is done by the
64 - Current should throw an exception if listposition is -1.
65 - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
68 2006-05-30 Mike Kestner <mkestner@novell.com>
70 * ListView.cs: allow reexpansion of zero-width column headers.
73 2006-05-28 Chris Toshok <toshok@ximian.com>
75 * CurrencyManager.cs (get_Current): after the late binding
76 listposition = -1 fix, we need to guard against it here and return
77 null, otherwise we raise an exception (which is swallowed
78 elsewhere, and breaks datagrid databinding.)
80 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
82 * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
83 than WM_SYSKEY, don't throw if get something unexpected (#78507)
85 2006-05-26 Jackson Harper <jackson@ximian.com>
88 * ThemeWin32Classic.cs: For color comparisons just use the ARGB
89 values, it's faster and it's all we care about (we don't care if
90 the names aren't equal).
91 * KeyboardLayouts.cs: Eliminate some dead code.
93 * X11Keyboard.cs: Lazy init keyboard detection.
94 - Cleanup access modifiers a little.
96 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
98 * XplatUIX11.cs: Once again, attempting to get layout just right.
100 2006-05-26 Peter Dennis Bartok <pbartok@novell.com>
102 * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
103 the sizes of each link section, that will result in sizes that
104 match DrawString's layout (Fixes #78391)
106 2006-05-27 Alexander Olk <alex.olk@googlemail.com>
108 * FileDialog.cs: If AddExtension property is true autocomplete the
109 extensions in SaveFileDialog correctly. Fixes bug #78453.
110 Set MyNetwork and MyComputer to "C:\" for windows. This should
111 fix part 8 of bug #78446 for now.
113 2006-05-26 Chris Toshok <toshok@ximian.com>
115 * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
116 invalidate the current row header if we need to, but presumably
117 we'll invalidate the row corrsponding to the bounds or
119 (GridHScrolled): switch back to this method, as it's part of the
121 (GridVScrolled): same.
122 (OnMouseWheel): hack up something that more or less works. Call
123 GridHScrolled/GridVScrolled directly, instead of duplicating much
125 (EnsureCellVisibility): reinstate a bunch of this code, since we
126 can't just set the scrollbar Value and expect to do all the work
127 in the ValueChanged handler. Also, Call Update() after scrolling
128 in one direction so the other XplatX11.ScrollWindow call has the
129 proper stuff in the proper places.
130 (EditCell): set is_editing to true before calling .Edit.
132 * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
133 don't bother comparing first.
134 (OnKeyPress): call grid.ColumnStartedEditing before calling
135 base.OnKeyPress. this will set is_changing and invalidate the row
137 (ProcessKeyMessage): for WM_CHAR messages, call
138 ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
141 * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
142 it's done in the DataGrid.
143 (NextState): call grid.ColumnStartedEditing, which takes care of
144 invalidating the row header (and setting is_changing).
146 * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
147 here. it's done in the DataGrid.
149 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151 * Control.cs: allow changing the cursor when the mouse position is
152 out of bounds but Capture is set.
153 * LinkLabel.cs: handle the case when the mouse button is pressed on the
154 linklabel but released somewhere else.
156 2006-05-25 Jackson Harper <jackson@ximian.com>
158 * TreeView.cs: When we get focus if there is no selected node make
160 - Remove some uneeded setup code from Draw.
161 * TreeNodeCollection.cs: If the tree doesn't have a top node when
162 a new node is inserted make the new node the top.
164 * Timer.cs: Use Utc time so that no local time zone stuff needs to
165 be used (should be faster).
167 2006-05-25 Chris Toshok <toshok@ximian.com>
169 * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
170 problem with the last commit.
172 2006-05-25 Chris Toshok <toshok@ximian.com>
174 * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
175 need the invalidate call here, while scrolling right-to-left via
176 the left arrow key (i.e. moving the editing cell while scrolling).
178 * DataGrid.cs (.ctor): remove the initialization of
179 ctrl_pressed/shift_pressed. We no longer track them using key
180 up/down handlers, but by using Control.ModifierKeys. Also, switch
181 to using ValueChanged handlers on the scrollbars instead of
182 Scrolled event handlers. This simplifies a bunch of the scrolling
184 (GridHValueChanged): rename from GridHScrolled, and change it to
185 work with the new event args.
186 (GridVValueChanged): same.
187 (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
188 (OnMouseWheel): actually scroll the datagrid. Don't change the
190 (ProcessGridKey): correct all the keyboard navigation stuff I
191 could find. Ctrl up/down/left/right/home/end work now.
192 (EnsureCellVisibility): correct method name spelling. Also,
193 simplify this a touch by not explicitly calling the
194 ScrollToRow/ScrollToColumnInPixels methods. We just set the
196 (OnKeyUpDG): no need for this method now.
198 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
200 * LinkLabel.cs: display the OverrideCursor when hovering the label.
203 2006-05-25 Chris Toshok <toshok@ximian.com>
205 * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
208 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
210 * Application.cs: Moved setting of is_modal and closing to before
211 we create the control, to allow the event handlers called as a
212 result of creation affect closing. Also removed Gonzalo's previous
213 change to setting DialogResult, the behaviour has been moved to
216 - ShowDialog(): Removed explicit creation of the form, let RunLoop
218 - ShowDialog(): If no dialog result is set, we need to return Cancel
219 - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
220 the close is cancelled
222 2006-05-25 Jackson Harper <jackson@ximian.com>
224 * StatusBar.cs: We only need to update the sizes of the other
225 panels when we have auto size contents. Also we are only updating
226 the contents of the panel, not the borders, so compensate for the
227 border width (TODO: get this width from the theme somehow).
228 * TreeView.cs: Scrollable is true by default
229 - Use invalidate instead of refresh where needed
230 - Factor the scrollable value into scrollbar updating
231 - Update the scrollbars if the Scrollable property is altered
232 - Update the selected node if its ImageIndex is changed
233 - Handle null nodes in UpdateNode (mainly so we don't have to
234 check if selected is null when updating it
235 - Fix VisibleCount to use the ViewportRectangle so that scrollbars
236 are factored into the visible count
237 - Use VisibleCount for clarity in the code
238 - When the font is changed we need to recurse through all the
239 nodes and invalidate their sizes
241 2006-05-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
243 * Application.cs: set the DialogResult to fixed when the main form is
244 hidden or destroyed while being modal.
246 2006-05-25 Miguel de Icaza <miguel@novell.com>
248 * Theme.cs: Use Tangoified messagebox icons.
250 (GetSizedResourceImage): Also cope with width = 0 and do not
251 trigger a warning in that case (0 means "give me your icon from
252 the resouce, no special size needed).
254 2006-05-25 Peter Dennis Bartok <pbartok@novell.com>
256 * Application.cs: Leave runloop if the the main modal form is
257 hidden (fixes #78484)
259 2006-05-25 Atsushi Enomoto <atsushi@ximian.com>
261 * BindingContext.cs : reject null datasource in Contains() and
263 * CurrencyManager.cs : check data_member validity when data_source
264 is dataset. When it is late binding, the initial position is -1.
266 2006-05-24 Jackson Harper <jackson@ximian.com>
268 * TreeNodeCollection.cs: Dont't recalculate the visible order on
269 inserted nodes that aren't visible. This changes the
270 max_visible_order which confuses scrollbar settings.
271 - Use the enumerator to get the prev node instead of duplicating
273 * TreeView.cs: Use new method for setting scrollbar values
274 - Don't set the bounds every time the scrollbar is updated
275 - When updating below the root node use an invalidate instead of a
276 refresh to prevent the child controls (scrollbars) from being
277 refreshed. (UpdateBelow still needs to be reworked anyways).
278 - Reenable SetBottom now that visible orders are set correctly,
279 added some debug code incase we ever get bad values there again.
280 - Set the scrollbar max to 2 less then the max value, this
281 compensates for the max value being one above the node count, and
282 for scrollbars adding one extra "notch".
283 - When drawing image nodes if there is an imagelist we draw the
284 first image in the list if the supplied image index is out of the
287 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
289 * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
290 we receive a size change from the WM (Fixes #78503)
292 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
294 * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
295 rectangle (Fixes #78501)
297 2006-05-24 Peter Dennis Bartok <pbartok@novell.com>
300 - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
302 - Fixed MouseMove to no longer switch pressed state unless the left
303 mouse button is pressed. Atsushi provided the original patch (#78485)
305 2006-05-24 Jackson Harper <jackson@ximian.com>
307 * ScrollBar.cs: New internal methods that allow us to change a
308 couple values on the scrollbar (the most common case is maximum
309 and large change) without getting multiple invalidates.
311 2006-05-24 Chris Toshok <toshok@ximian.com>
313 * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
314 (Edit): save off the original state in oldState, and set
315 grid.is_editing to true.
316 (OnKeyDown): abort editing if escape is pressed. also, call
317 NextState if space is pressed.
318 (OnMouseDown): call NextState.
319 (NextState): factor out shared code from OnKeyDown and OnMouseDown
320 here. Also, only invalidate the row header once (on the initial
321 is_changing switch) to save on redraws.
323 2006-05-24 Chris Toshok <toshok@ximian.com>
325 * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
326 if the value in the cell is different than it was before. This
327 keeps us from triggering a layout when we move around a datarid
328 with a highlighted cell.
329 (Edit): suspend layout when creating/positining the text box, and
330 resume passing false so we don't ever actually re-layout.
331 (ReleaseHostedControl): same.
332 (EnsureTextBox): reformat slightly, and set WordWrap to false.
334 * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
335 control-key sequences should go to the datagrid - remove that
336 lock. Also, modify the conditions under which we move between
337 cells when moving the cursor within a cell, and remove the "this"
338 and "base" from field accesses. We weren't even consistent, given
339 they all were in the base class.
341 2006-05-24 Atsushi Enomoto <atsushi@ximian.com>
343 * Binding.cs : (.ctor)
344 An obvious NRE fix for BindingTest.CtorNullTest().
346 2006-05-23 Chris Toshok <toshok@ximian.com>
348 * TextBoxBase.cs (get_Text): don't add a trailing newline, add
349 them between lines. This fixes some quirks editing cells in the
352 2006-05-23 Jackson Harper <jackson@ximian.com>
354 * TreeView.cs: Use begin/end update when doing expand/collapse all
355 so that we don't get flicker on the scrollbar.
357 2006-05-23 Jackson Harper <jackson@ximian.com>
359 * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
360 treenode calculations to be independant of the painting code. To
361 do this nodes track a visible order which is calculated by the
363 - Call new methods for expanding/collapsing nodes. These methods
364 use scrollwindow so we don't have to update everything below the
366 * TreeView.cs: Refactored drawing and scrolling code. We don't
367 need to update nodes when drawing anymore or calculate scrollbar
369 - Added new methods for expanding/collapsing nodes. These methods
370 use ScrollWindow so as to not have to redraw all the nodes below.
371 * TreeNodeCollection.cs: Recalc visible order and scrollbars when
372 we add/remove nodes or sort.
373 - Handle removing the selected and the top node properly.
375 2006-05-23 Chris Toshok <toshok@ximian.com>
377 * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
378 maybe this should actually happen in the datagrid code?
379 (EndEdit): no need to invalidate anything, given that
380 ReleaseHostedControl causes the datagrid to relayout, which
381 invalidates everything anyway.
383 * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
385 (set_SelectionBackColor): call InvalidateSelection instead of
387 (set_SelectionForeColor): same.
388 (BeginEdit): Flesh this out a bit.
389 (CancelEditing): only do any of this if we're editing/adding.
391 (OnMouseDown): there's no need to cancel editing here, it's done
393 (SetCurrentCell): only invalidate the current row header if it's a
394 different row than the new one.
395 (ShiftSelection): fix this to work like MS does.
396 (ResetSelection): factor out the invalidation of selected_rows to
398 (SetDataSource): cancel any editing that's going on.
400 * DataGridColumnStyle.cs
401 (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
402 call the non-interface version.
404 * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
405 header rectangle with the clip rectangle so we don't redraw the
406 entire header for just a small area. Gets rid of the last flicker
407 when horizontally scrolling.
408 (DataGridPaintRow): same.
410 2006-05-23 Mike Kestner <mkestner@novell.com>
412 * ListViewItem.cs: remove size for line hack from LargeIcon layout.
413 * ThemeWin32Classic.cs: don't draw line. it's really the top of a
414 poorly placed checkbox on the MS control. Fixes Alex's unfiled
417 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
419 * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
420 and this fixes #78493
422 2006-05-23 Miguel de Icaza <miguel@novell.com>
424 * Theme.cs (GetSizedResourceImage): Scale images if the proper
427 * FileDialog.cs: Do not change the background for the side bar as
428 it wont work nicely with the theme, and also reduces the artifacts
429 in rendering the icons (which I want to fix too).
431 * MimeIcon.cs (ResourceImageLoader): Load images from assembly
432 resources, not resgen resources.
434 (PlatformDefaultHandler): Pull images using the new API.
436 2006-05-23 Peter Dennis Bartok <pbartok@novell.com>
438 * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
439 a reference to the hwnd and will not remove it unless there are
440 no pending exposures (fixes #78341)
441 * XplatUI.cs: Improved debug
443 2006-05-23 Atsushi Enomoto <atsushi@ximian.com>
445 * MenuAPI.cs : don't handle OnClick event when it was not the left
446 button. Fixed bug #78487.
448 2006-05-23 Mike Kestner <mkestner@novell.com>
450 * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
451 prefer submenus to the top menu for item lookup, to avoid popping down
454 2006-05-23 Alexander Olk <alex.olk@googlemail.com>
456 * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
457 Graphics.FillRectangle as the visual results are really bad (even
458 on win). We now draw perfect arrows (and perfect shadows when the
459 scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
460 Pen.DashPattern to draw the dots of each line.
462 2006-05-22 Alexander Olk <alex.olk@googlemail.com>
464 * FileDialog.cs: Update the filename combobox when navigating through
465 the ListView with the cursor keys. Fixes part 7 of bug #78446.
467 2006-05-22 Mike Kestner <mkestner@novell.com>
469 * ListView.cs: raise SelectedIndexChanged on keyboard selection.
472 2006-05-22 Mike Kestner <mkestner@novell.com>
474 * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
475 requests. Fix a misspelled parameter and a copy paste exception error
478 2006-05-22 Peter Dennis Bartok <pbartok@novell.com>
480 * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
481 to get the same width/height (5/13) on X11 as the default font has on
482 win32. This means that our DefaultFont emSize is smaller than the
483 the MS SWF equivalent (even thought the width/height stays the same)
485 2006-05-20 Jackson Harper <jackson@ximian.com>
488 * MdiWindowManager.cs:
489 * InternalWindowManager.cs: Make sure to use the border width from
492 2006-05-20 Jordi Mas i Hernandez <jordimash@gmail.com>
494 * PrintDialog.cs: Implements printer details
496 2006-05-19 Alexander Olk <alex.olk@googlemail.com>
498 * FileDialog.cs: Added focus handling for PopupButtonPanel.
499 Fixes part 1 and 2 of bug #78446
501 2006-05-19 Peter Dennis Bartok <pbartok@novell.com>
503 * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
504 instead of sticking to the first ever calculated value
506 2006-05-19 Mike Kestner <mkestner@novell.com>
508 * ComboBox.cs: fix mouse motion selection to use MousePosition and
509 PointToClient, since Capture is set. Fixes #78344.
511 2006-05-19 Mike Kestner <mkestner@novell.com>
513 * ListView.cs: match MS behavior in Details view where items are not
514 drawn if Columns.Count == 0.
515 * ThemeWin32Classic.cs: only highlight ListView selection if focused.
516 Use a separate pen to draw the check, since changing the width affects
517 the box as well. Fixes #78454.
519 2006-05-18 Miguel de Icaza <miguel@novell.com>
521 * ListView.cs: ArgumentOutOfRangeException, single versions of the
522 exception should throw the name of the invalid argument.
524 * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
525 there are no files listed.
527 2006-05-18 Jackson Harper <jackson@ximian.com>
529 * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
532 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
534 * Control.cs: Brought back our old UpdateZOrder method as a private
535 function and switched our calls from UpdateZOrder to the new one.
536 This fixes the Paint.Net canvas disappearing bug.
538 2006-05-18 Jackson Harper <jackson@ximian.com>
541 * ThemeWin32Classic.cs:
542 * InternalWindowManager.cs: Move the drawing into the theme,
543 expose everything the theme should need from the window manager.
545 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
547 * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
548 from the call to NativeWindow to avoid walking up the parent chain
549 further than needed (speeds up setting cursors and avoids setting
550 the wrong cursor if a parent has another cursor defined)
551 * Cursor.cs: When loading an icon as cursor, MS uses the center of
552 the icon as hotspot, not what's contained as hotspot in the icon
553 file. This fixes the perceived drawing offset seen with Paint.Net
555 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
558 - Store the calculated rectangle in Hwnd object and use it when
559 setting the client size
560 - Force Toolwindows to always be type Dock, to ensure they're on top
562 2006-05-18 Mike Kestner <mkestner@novell.com>
564 * ComboBox.cs: first pass at ComboBox rework. Layout is more
565 consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
566 Correctly initialize textcontrol and ListBox on DropDownStyle changes.
567 Substantial refactoring to remove confusing nested classes. Coding
568 standard and Get+Set->property refactorings. Shift to index based
569 highlighting in ComboListBox instead of constantly using IndexOf and
570 Items[]. Add invalidations on resize for DropDownList to fix ugliness
571 in FileDialog growth. Draw borders manually since Simple mode needs
572 to look like two independent controls. Make listbox border
573 conditional to DropDownStyle. Improved OwnerDraw support.
575 2006-05-18 Sebastien Pouliot <sebastien@ximian.com>
577 * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
578 Don't set the disposed graphics to null, so we can throw the "right"
579 exception if the graphics is reused later (added a flag to avoid
580 double disposing). Some behaviours are different under 2.0 and are
581 filled under bug #78448.
583 2006-05-18 Peter Dennis Bartok <pbartok@novell.com>
585 * Control.cs: When double-buffering is enabled, we need to reset
586 our graphics context between paint calls. Otherwise, any
587 transformations and other alterations on the context will
588 become cumulative (#77734)
590 2006-05-18 Mike Kestner <mkestner@novell.com>
592 * ListView.cs: do focused item selection like MS on clicks.
593 Rework focus handling for ItemControl so LostFocus invalidates as
595 * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
596 the ListView ItemControl has focus.
598 2006-05-17 Peter Dennis Bartok <pbartok@novell.com>
600 * XplatUIX11.cs: If client_window ends up being width or height zero
601 due to border settings, move it off window inside whole_window (#78433)
603 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
605 * Mime.cs: Shrink the mime file cache correctly.
607 2006-05-17 Alexander Olk <alex.olk@googlemail.com>
609 * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
611 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
613 * XplatUIX11.cs (AddExpose): More sanity checks
615 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
618 - AddExpose: Don't add expose ranges outside the size of our
620 - Cast opacity values to Int32 to avoid crashes with certain
622 - Added disabled code paths that protect against illegal cross-
623 thread painting (Developers.exe)
625 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
627 * ProgressBar.cs: Invalidate the control when it's resized
628 since block size is based on control size. (#78388)
630 2006-05-16 Miguel de Icaza <miguel@novell.com>
632 * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
633 of setting the incoming argument to the "reset" value, we set the
634 this.datamember to string.empty (before we were invalidating the
639 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
641 * Form.cs: Only apply transparency settings after the form
642 is created. (Fixes #77800)
644 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
646 * ApplicationContext.cs: Grab the HandleDestroyed event so
647 we know when to fire OnMainFormClosed
649 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
651 * Application.cs: Introduced sub-class to allow tracking of
652 threads and centralized triggering of the event mess for
653 ThreadExit, AppExit, etc.. (#76156)
655 2006-05-16 Alexander Olk <alex.olk@googlemail.com>
658 - Do not return a null icon index value for a mime subclass.
659 Instead try the main mime type class too.
660 - Seems that some newer distributions don't have a link to some
661 gnome default icons anymore. So check the default gnome dir too.
664 2006-05-16 Jackson Harper <jackson@ximian.com>
666 * MdiClient.cs: Don't paint the parent background image if we have
667 our own background image.
669 2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
672 - PerformLayout: Do not shrink space filled by DockStyle.Fill
673 controls, all filled controls are supposed to overlap (#78080)
674 - UpdateZOrder is supposed to update the control's z-order in the
675 parent's z-order chain. Fixed to behave like that
676 - BringToFront: Removed obsolete code
677 - SendToBack: Simplyfied
678 - SetChildIndex: Trigger layout calculations when Z-order changes
679 since layout is done by z-order
681 2006-05-16 Chris Toshok <toshok@ximian.com>
684 * DataGrid.cs (set_AlternatingBackColor): use
685 grid_drawing.InvalidateCells instead of Refresh().
686 (set_BackColor): call grid_drawing.InvalidateCells.
687 (set_BackgroundColor): use Invalidate instead of Refresh.
689 * DataGridDrawingLogic.cs (InvalidateCells): new function, just
690 invalidate the cell area.
692 2006-05-15 Chris Toshok <toshok@ximian.com>
695 * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
696 on to DataGridPaintRow.
697 (DataGridPaintRow): take a clip argument, and only draw the cells
698 which intersect it. same with the not_usedarea.
700 * Theme.cs (DataGridPaintRow) add @clip parameter.
702 * DataGrid.cs (ScrollToColumnInPixels): simplify, use
703 XplatUI.ScrollWindow.
706 * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
707 with last column which was causing a gray swath to appear with the
708 XplatUI.ScrollWindow code.
710 2006-05-15 Chris Toshok <toshok@ximian.com>
712 * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
713 use XplatUI.ScrollWindow.
714 (VerticalScrollEvent): use XplatUI.ScrollWindow.
716 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
718 * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
720 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
722 * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
723 file since there are no equivalent X11 cursors
725 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
727 * MonthCalendar.cs : DateTimePicker should reflect selected date
728 on mouse*up*, not mouse*down*. Fixed originally reported part of
731 2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
733 * TabControl.cs : When argument index is equal or more than tab
734 count, just ignore. Fixed bug #78395.
736 2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
738 * Control.cs: Dispose all child controls when control is diposed (#78394)
740 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
742 * ColorDialog.cs: Finally it is possible to select the color with
745 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
747 * PrintDialog.cs: Fix typo
749 2006-05-14 Alexander Olk <alex.olk@googlemail.com>
751 * PrintDialog.cs: PrintDialog is not resizable
752 * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
753 color. Made some ToolBar drawing methods protected virtual.
755 2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
757 * PrintDialog.cs: Implementation of the PrintDialog
759 2006-05-12 Chris Toshok <toshok@ximian.com>
761 * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
762 thumb, instead use MoveThumb. This has the side effect of making
763 most of the other thumb moving machinery use MoveThumb as well.
764 (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
765 need to actually invalidate the rectangle where the new thumb will
767 (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
768 We force an Update() after, so it's not as fast as it could be,
769 but at least there's zero flicker and no droppings.
770 (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
771 (UpdateThumbPos): add another argument (dirty), which says whether
772 or not to calculate/add dirty regions which we later invalidate.
773 For cases where we know we're going to use MoveThumb, we pass
774 false for this. Otherwise, pass true.
776 2006-05-12 Jackson Harper <jackson@ximian.com>
778 * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
781 2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
783 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
784 and GetClipRegion methods and UserClipWontExposeParent property.
785 * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
786 overriding UserClipWontExposeParent property, setting to false, since
787 Win32 handles the required expose messages to draw our clipped parent
789 * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
790 PaintEventStart to set the user clip region if set.
792 - Now internally tracking the Region for the control since we need to
793 store it if the handle is not yet created and only set it when it
794 becomes created. Before setting the region forced handle creation
795 - Added code to draw the parents underneath a user-clipped region
796 * Hwnd.cs: Added UserClip property
798 2006-05-12 Chris Toshok <toshok@ximian.com>
800 * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
803 (set_SmallChange): same.
804 (OnMouseUpSB): remove the call to refresh when releasing the
805 thumb. We shouldn't need it.
807 2006-05-12 Miguel de Icaza <miguel@novell.com>
809 * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
810 AutoSize set to None, we do not need to relayout everything, we
811 just need to invalidate the current region.
813 (Draw): Do not draw the entire ClientArea, just redraw the
814 clip area being passed.
816 * MdiClient.cs: Make MdiClient constructor with the Form argument
819 2006-05-12 Jackson Harper <jackson@ximian.com>
821 * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
822 parents background image, but strangely not their own.
823 - (DrawStatusBarPanel): Take into account horizontal alignment
824 when drawing the strings and icons.
826 2006-05-12 Mike Kestner <mkestner@novell.com>
828 * ListBox.cs: avoid invalidations for focus when the collection is
831 2006-05-12 Chris Toshok <toshok@ximian.com>
833 * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
834 invalidate the entire thumb area. Call InvalidateDirty which
835 limits the redraw to the thumb itself and surrounding pixels.
837 * XplatUIX11.cs (ScrollWindow): optimize copying.
839 2006-05-12 Chris Toshok <toshok@ximian.com>
841 * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
842 Figure out the positioning/layout in a single pass instead of
843 multiple recursive invocations. Speeds up the initial display of
844 the data grid. Also, make many things private that were
845 originally public but unused outside this class.
847 2006-05-11 Jackson Harper <jackson@ximian.com>
849 * MdiClient.cs: Improved layout code.
851 2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
853 * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
856 2006-05-11 Chris Toshok <toshok@ximian.com>
858 * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
859 union of that will always be {0,0,width,height}.
861 2006-05-11 Jackson Harper <jackson@ximian.com>
863 * Form.cs: Match MS's DefaultSize for forms (they must have
864 changed the size in sp2).
866 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
868 * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
870 2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
872 * TextControl.cs : Fixed bug #78109. This incorrect position
873 comparison caused crash on automatic line split.
874 * TextBoxBase.cs : reduce duplicate code.
876 2006-05-10 Jackson Harper <jackson@ximian.com>
878 * MdiClient.cs: Active form is only sent to the back when using
879 the Next form functionality, when a form is clicked the current
880 active shouldn't be sent to the back.
881 - Layout the mdi windows when the container is first made visible.
882 * Form.cs: Give the MdiClient a ref to the containing form when we
885 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
887 * LinkLabel.cs : link_font could be uninitialized, so populate one
888 before actual use. Fixed bug #78340.
890 2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
892 * XplatUIX11.cs : clipboard format native value is IntPtr.
895 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
898 - Instead of showing context menus directly we send WM_CONTEXTMENU,
899 which is passed up the parent chain by DefWndProc
900 - We now handle WM_CONTEXTMENU to display any menu, or pass it
901 to DefWndProc (#77956)
902 * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
904 2006-05-10 Jackson Harper <jackson@ximian.com>
906 * MdiClient.cs: We need to remove the controls from the mdi
907 collection, when we close the window.
908 * MdiWindowManager.cs: Special handling of closing mdi windows.
909 * InternalWindowManager.cs: Make the close method virtual so the
910 mdi window manager can handle it specially.
912 2006-05-10 Jordi Mas i Hernandez <jordimash@gmail.com>
915 - Recalculate grid when the data source has changed
916 - Matches styles provided by user from all data sources types
917 * DataGridTableStyle.cs: For columns that provided by the user set the
918 with the preferred value is there was unassigned.
919 * CurrencyManager.cs: throw OnItemChanged event
921 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
923 * PictureBox.cs: Don't animate until handle is created. Start animation
924 when handle is created.
926 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
928 * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
930 * XEventQueue.cs: We don't need to provide the extra info
932 2006-05-10 Jackson Harper <jackson@ximian.com>
934 * MdiClient.cs: If the mdi clients parent form has a background
935 image set, we draw that background image for the mdi area's
938 2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
940 * TextBoxBase.cs: Set IBeam cursor (#78347)
942 2006-05-10 Mike Kestner <mkestner@novell.com>
944 * ToolBar.cs: fix some text padding issues with ButtonSize
945 calculation. Update the default size to match MS documentation.
946 * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
947 button size. Fixes #78296.
949 2006-05-10 Mike Kestner <mkestner@novell.com>
951 * ListBox.cs: use is_visible for scrollbar positioning in case the
952 control isn't on screen yet. Fix off by one with Right vs Width
953 usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
955 2006-05-10 Jackson Harper <jackson@ximian.com>
957 * X11Dnd.cs: Drop to a control with another control on top of it.
958 * ToolBar.cs: Work on a copy of the buttons list, so that it can
959 be modified in click handlers. TODO: Look for similar problems in
962 2006-05-09 Jackson Harper <jackson@ximian.com>
964 * Form.cs: Window managers need the old window state when setting
966 * InternalWindowManager.cs: Allow the base mdi window manager to
967 handle more of the MDI only stuff (like maximize buttons).
968 * MdiWindowManager.cs: Fix some snafus in changing the window
969 state. Add all the menu functionality, for both popup and
971 * MdiClient.cs: When a new form is selected the currently
972 activated form is sent to the back, this matches MS.
973 - Implement a new method to activate the next mdi child window.
975 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
978 - Added new InternalCapture method to allow controls to prevent
979 the capture behaviour on the click handlers
980 - Switched to use InternalCapture
982 - Using InternalCapture to prevent mouse captures from being released
983 on mouse button release (Fixes #78100)
984 * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
985 returns Form borders if a caption is present. (Fixes #78310)
987 2006-05-08 Peter Dennis Bartok <pbartok@novell.com>
989 * TreeNode.cs: Changed serialization .ctor to not require every field
990 to be present. (#78265)
991 * OwnerDrawPropertyBag.cs: Added serialization .ctor
993 2006-05-05 Alexander Olk <alex.olk@googlemail.com>
995 * MimeIcon.cs: for is faster than foreach for strings.
997 2006-05-05 Mike Kestner <mkestner@novell.com>
999 * CheckedListBox.cs: update check handling code to not use selected.
1000 * ListBox.cs: rewrite of mouse selection handling to correspond to MS
1001 behavior for visual feedback, motion response, shift/ctrl handling,
1002 and properly deal with all 4 selection modes. Updates to bounds
1003 handling logic. Add scroll wheel support. [Fixes #77842]
1005 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1008 - Moved adding of Implicit controls into .ctor. That way, subsequent
1009 creation of the controls will not cause them to think they are
1010 toplevel windows (fixes #78200 header problem)
1011 - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
1012 - Switched visibility setting of header control to use internal field
1013 to avoid triggering handle creation
1014 - Now checking if handle is created before causing a refresh when items
1015 are added (This makes us now match handle creation time with MS)
1016 * Splitter.cs: Removed loading of private splitter cursor, switched to
1017 Cursors version now that that is loading the right ones
1018 * Cursors.cs: Load proper splitter cursors from resources
1019 * Cursor.cs: Added second method of loading resource cursors for the
1020 VS.Net users amongst us
1022 2006-05-05 Mike Kestner <mkestner@novell.com>
1024 * ListView.cs: give header_control a minimum size based on the
1027 2006-05-05 Peter Dennis Bartok <pbartok@novell.com>
1029 * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
1030 window seems to do that with metacity, so set that type. (#78120)
1032 2006-05-05 Mike Kestner <mkestner@novell.com>
1034 * ListViewItem.cs: fix Details mode checkbox layout bug.
1035 * ThemeWin32Classic.cs: draw a ListView column header for unused space
1036 at the end of the header, if it exists. [Fixes for #78200]
1038 2006-05-04 Jackson Harper <jackson@ximian.com>
1040 * MdiClient.cs: Add a helper property to get the container form.
1041 * MdiWindowManager.cs: We have to make sure to use the menu origin
1042 when drawing the icons and buttons, this fixes maximized window
1043 icons/buttons on win32.
1044 * InternalWindowManager.cs: Reset the restore captions when a
1045 window goes from Maximized to Minimized and vice versa. Move the
1046 DrawMaximizedButtons into the MdiWindowManager source, tool
1047 windows can't be maximized. NOTE: This could use a little
1048 refactoring if time ever permits.
1050 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1052 * TextBox.cs: Add MWFCategoryAttributes
1053 * TextBoxBase.cs: Add MWFCategoryAttributes
1054 * Form.cs: Add MWFCategoryAttributes
1056 2006-05-03 Jonathan Chambers <jonathan.chambers@ansys.com>
1058 * Control.cs: Add MWFCategoryAttributes
1059 * ScrollableControl.cs: Add MWFCategoryAttributes
1061 2006-05-03 Alexander Olk <alex.olk@googlemail.com>
1063 * ThemeWin32Classic.cs: Draw the ToolBar top border only if
1064 Divider is true. Fix a little glitch in PropertyToolBar
1067 2006-05-02 Peter Dennis Bartok <pbartok@novell.com>
1070 - Dispose: Call base.Dispose, this causes the disposed event
1071 to be fired (and probably other, more important stuff)
1072 - SetVisibleCore: Set is_visible to true after creating the
1073 window so that the window still gets created invisible (if
1074 WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
1075 to generate a WM_ACTIVE message
1076 * Form.cs: Call Dispose when we want to destroy the window, instead of
1077 just destroying the handle (Dispose will do that for us)
1079 - RootWindow also needs a queue, so we can properly process the
1080 property change events from RootWindow (like Activate)
1081 - Generatic synthetic WM_ACTIVE message when the active window is
1084 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1086 * LinkLabel.cs: Trigger a recalc of our label dimensions when
1089 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1091 * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
1092 for determining width and height (image might not be assigned if
1093 we're drawing an imagelist)
1095 2006-05-01 Peter Dennis Bartok <pbartok@novell.com>
1097 * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
1098 * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
1100 * Theme.cs: No longer returns hardcoded menu height, instead calls
1102 * Form.cs (OnLoad): Scaling happens before triggering Load events
1105 2006-05-01 Mike Kestner <mkestner@novell.com>
1107 * MenuItem.cs: fix NRE for text == null. Fixes #78250.
1109 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1111 * TextBoxBase.cs: Removed Fixme
1112 * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
1114 2006-04-30 Peter Dennis Bartok <pbartok@novell.com>
1117 - ScrollWindow: We were passing hwnd.ClientRectangle which returns
1118 the rectangle relative to the parent, considering borders. We
1119 don't really want that.
1120 - ScrollWindow: Fixed warning to be more understandable
1121 * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
1122 scrollbars and scroll only the visible area
1123 * RichTextBox.cs: Removed debug output
1125 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1127 * NumericUpDown.cs (Text): Just use base
1128 * UpDownBase.cs: Ensure txtView is created before using it
1130 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1132 * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
1133 casting to IntPtr to avoid 64bit overflow errors
1135 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1138 - AllowDrop: Don't force handle creation.
1139 - CreateHandle: Added call to tell driver if we're allowed to drop
1141 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1143 * FileDialog.cs: Remember the last directory not only for the
1144 current instance but also for new FileDialog instances.
1146 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1148 * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
1149 broke sending async messages
1151 2006-04-29 Peter Dennis Bartok <pbartok@novell.com>
1154 - ScrollWindow: Fixed method. We finally generate expose events again
1155 for scrolled areas. This was causing 'garbage' when scrolling
1156 textbox and other controls that used ScrollWindow
1157 - Switched from using the regular queue for paint events to the MS
1158 model of 'generating' paint events when the queue is empty.
1159 We use the new XQueueEvent.Paint subclass to store which windows
1161 - AddExpose now takes the x/y/width/height of the exposed area
1162 and inserts the window into the paint queue if not already there
1163 - InvalidateWholeWindow: Switched to use new AddExpose method
1164 - UpdateMessageQueue: Added which queue to monitor for paint events
1165 - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
1166 the unlikely case nothing above handles it. We reset the expose
1167 pending states to get them off the queue.
1168 - GetMessage: Now pulls a paint event if no other events are in the
1170 - Invalidate: Switched to new AddExpose method
1171 - PeekMessage: Updated to understand pending paint events
1172 - UpdateWindow: Fixed logic bug. We were only updating if the window
1173 didn't need updating. Also switched to sending WM_PAINT directly,
1175 * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
1176 and random access Remove(). The random access is needed to handle
1177 UpdateWindow() where a WM_PAINT is sent directly without accessing
1179 * ScrollBar.cs: Added Update() calls to cause immediate updates to
1180 allow for better feedback when scrolling. Scrollbars are small and
1181 the immediate update should make it 'feel' more responsive without
1182 slowing things down. ScrollBar still needs it's invaliate logic
1183 updated to not always invalidate the whole bar on certain changes.
1185 2006-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1188 (BackColor): if the control does not support a transparent background,
1189 return the default backcolor when the parent backcolor is transparent.
1191 2006-04-28 Peter Dennis Bartok <pbartok@novell.com>
1193 * Application.cs: Updated to new StartLoop/GetMessage API
1194 * RichTextBox.cs: Provide some output on RTF parsing errors
1195 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
1196 new queue_id argument to GetMessage and PeekMessage to allow faster
1197 handling of per-thread queues in drivers.
1198 * Hwnd.cs: Added Queue tracking and property
1199 * MenuAPI.cs: Updated to new StartLoop/GetMessage API
1200 * XEventQueue.cs: Added thread trackingA
1201 * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
1203 - Implemented new per-thread queue
1204 - GetMessage: Fixed return/break behaviour on several cases. We were
1205 returning stale messages in some cases, instead of just processing
1208 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1210 * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
1212 2006-04-27 Peter Dennis Bartok <pbartok@novell.com>
1214 * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
1215 fixed off-by-one comparisons between Width/Height and Right/Bottom.
1217 2006-04-27 Jonathan Chambers <jonathan.chambers@ansys.com>
1219 * PropertyGridView.cs: Fix drop down width.
1221 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1223 * ThemeWin32Classic.cs: Peter thinks that three additional lines are
1224 a mess in DrawToolBar, so I removed one of them.
1226 2006-04-27 Alexander Olk <alex.olk@googlemail.com>
1228 * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
1229 needed (clip). Otherwise we get artifacts.
1231 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1233 * FixedSizeTextBox.cs: Added constructor to allow specifying which
1235 * UpDownBase.cs: Set the spinner control to be fixed height vertical,
1236 and switched FixedSizeTextBox to only be fixed vertical (#78116)
1237 * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
1238 if it matches the scale base font (avoids unneeded scaling)
1240 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1242 * X11DesktopColors.cs: One gtk_init_check should be enough
1244 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1246 * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
1249 2006-04-26 Peter Dennis Bartok <pbartok@novell.com>
1252 - Generate OnTextChanged for Backspace even if we're only deleting
1253 the current selection
1254 - When setting the Text property, only select all text if the
1255 control does not have focus when it is being set. Otherwise
1256 just place the cursor at the beginning of the control
1258 2006-04-26 Alexander Olk <alex.olk@googlemail.com>
1260 * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
1261 Added a little helper to draw PropertyGrid ToolBar with a different
1262 border and a different BackColor.
1263 * PropertyGrid.cs: Some background parts didn't get painted with the
1264 correct background color. Added a class that helps us to draw the
1265 correct border for PropertyGridView and a class that helps us to
1266 draw ToolBars with a different backcolor
1267 * PropertyGridView.cs: Draw PlusMinus with the correct colors.
1269 2006-04-25 Jonathan Chambers <jonathan.chambers@ansys.com>
1271 * PropertyGrid.cs: Bug 78196, font size, and splitter location.
1272 * PropertyGridView.cs: Bug 78196, font size, and splitter location.
1274 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1276 * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
1277 into the palette entries. Also, since we're working on a copy
1278 we needed to copy the palette back onto the bitmap.
1279 * Cursor.cs: Same fix as XplatUIWin32.cs.
1281 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1283 * ImageListStreamer.cs: Need to read the var (or we're off)
1285 2006-04-25 Peter Dennis Bartok <pbartok@novell.com>
1287 * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
1288 XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
1289 TextBoxBase.cs: Unused var fixes
1290 * AxHost.cs: Small 2.0 fix
1291 * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
1292 as it seems that is what at least Metacity expects. This will make
1293 icons show up on 64bit platforms. We still have some 64bit size
1294 issues, though, since the startup app window size still won't match.
1296 2006-04-25 Mike Kestner <mkestner@novell.com>
1298 * *.cs: cleanup newly reported exception var unused warnings.
1300 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1302 * ThemeWin32Classic.cs: Button image alignment now matches exactly
1305 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1307 * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
1308 image. The image position is always the same, no matter if the
1309 button is pressed or not.
1311 2006-04-25 Alexander Olk <alex.olk@googlemail.com>
1313 * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
1314 selection and set the correct filename for SaveFileDialog.
1315 Patch by Emery Conrad.
1317 2006-04-24 Mike Kestner <mkestner@novell.com>
1319 * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
1320 check for item.X outside the ClientRect instead of item.Y. Fixes
1323 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1325 * ImageListStreamer.cs: some images store a wrong grow factor, so don't
1326 trust that value blindly and do some sanity check. Fixes bug #77814.
1328 2006-04-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1330 * ImageListStreamer.cs: save the mask as a 1bpp image.
1332 2006-04-21 Mike Kestner <mkestner@novell.com>
1334 * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
1335 pass Checked and Indeterminate to the Theme Engine. Improve
1336 encapsulation with ListBox.
1337 * ListBox.cs: Keep a StringFormat instead of calculating it every item
1338 draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
1339 nested types. Move all CheckState functionality to CheckedListBox.
1340 Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
1341 OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
1342 ScrollAlwaysVisible handling. Refactor "selected" collections to use a
1343 single base list. Fix scrollbar sizing and placement to mirror MS.
1344 * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
1346 * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
1347 for CheckedListBox by using new DrawItemState info. Center the
1348 checkboxes on the items. Use new StringFormat property.
1350 2006-04-18 Jackson Harper <jackson@ximian.com>
1352 * Form.cs: MdiChildren don't do default locations the same way as
1353 regular forms. This prevents a crash when trying to position the
1356 2006-04-17 Jonathan Chambers <jonathan.chambers@ansys.com>
1358 * PropertyGridTextBox.cs: Formatting, copyright
1359 * PropertiesTab.cs: Formatting
1360 * PropertyGrid.cs: Formatting
1361 * PropertyGridView.cs: Formatting, fix drop down, enabled double
1362 click toggling of values
1364 2006-04-17 Peter Dennis Bartok <pbartok@novell.com>
1366 * KeyPressEventArgs: Added 2.0 only setter for KeyChar
1367 * Control.cs (.ctor): verify_thread_handle is static, don't reset
1368 every time a control is created
1369 * Application.cs: Removed obsolete EnableRTLMirroring method
1371 2006-04-18 Gert Driesen <drieseng@users.sourceforge.net>
1373 * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
1374 SelectedIndex to -1. Fixes bug #78121.
1376 2006-04-17 Jackson Harper <jackson@ximian.com>
1378 * Binding.cs: Handle null values for Current and BindingContext.
1379 This occurs when binding is a little delayed.
1380 * CurrencyManager.cs: return null for Current when there are no
1382 - Hookup to the listchanged event on the DataView and update
1383 bindings when the list is changed. This fixes late binding of
1386 2006-04-17 Jackson Harper <jackson@ximian.com>
1389 * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
1392 2006-04-15 Alexander Olk <alex.olk@googlemail.com>
1394 * ThemeWin32Classic.cs: Draw disabled combo button in the correct
1396 * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
1397 with the correct ButtonState
1399 2006-04-14 Peter Dennis Bartok <pbartok@novell.com>
1401 * XplatUIX11.cs: Improved distinguishing between window types to
1402 tell the WM a type closer to what the app wants (Fixes #78107)
1404 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1406 * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
1409 2006-04-14 Alexander Olk <alex.olk@googlemail.com>
1411 * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
1412 drawing code to reflect the size grip changes
1414 2006-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1416 * ImageListStreamer.cs: fix handling of the mask that follows the main
1417 bitmap when deserializing and serialize it properly. The generated mask
1418 should better be a 1bpp image, but I'll do that later.
1420 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1422 * FileDialog.cs: Show something in the DirComboBox on *nix if the
1423 path doesn't fit into some of our Current.Places
1425 2006-04-13 Jackson Harper <jackson@ximian.com>
1427 * ComboBox.cs: Use borders instead of drawing our own decorations,
1428 try to obey correct rules for heights.
1431 * ThemeClearLooks.cs:
1432 * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
1433 this is now handled by borders.
1434 - Remove unused DrawListBoxDecorationSize method.
1436 2006-04-13 Mike Kestner <mkestner@novell.com>
1438 * MenuAPI.cs: null guarding for the disbled click check fixes crash
1441 2006-04-13 Alexander Olk <alex.olk@googlemail.com>
1443 * ThemeWin32Classic.cs:
1444 - Fixed CPDrawStringDisabled
1445 - Corrected drawing of disabled menu items
1446 - Fixed drawing of disabled radio buttons (bug #78095)
1447 - Draw check in a disabled CheckBox with color ControlDark
1449 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1451 * Form.cs: Use the provided width when calculating the menu size;
1452 when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
1453 and ClientSize.Width won't be updated yet
1454 * Application.cs: Use Visible instead of Show() to make form visible,
1455 this way we create the handle later and menusize is considered
1457 2006-04-12 Mike Kestner <mkestner@novell.com>
1459 * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
1462 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1464 * TextBox.cs: Implemented context menu
1466 2006-04-12 Mike Kestner <mkestner@novell.com>
1468 * ListView.cs: implement box selection. fixes #77838.
1469 * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
1471 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1473 * XplatUIX11.cs: Added setting of window type when transient window
1474 is created (metacity would move it otherwise)
1475 * X11Structs.cs: Added WINDOW_TYPE atoms
1476 * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
1477 background (the control is Opaque but still wants transparent
1480 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1482 * Control.cs: Added OnPaintBackgroundInternal to allow controls
1483 that set Opaque but don't mean it (like all ButtonBase-derived
1484 controls) to still draw their background
1485 * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
1488 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1490 * Control.cs (PaintControlBackground): Set the graphics object
1491 on our PaintEvent to null to prevent it from being disposed
1492 when the PaintEvent gets disposed
1494 2006-04-12 Alexander Olk <alex.olk@googlemail.com>
1496 * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
1497 * ThemeNice.cs, ThemeClearlooks.cs: fix typo
1499 2006-04-12 Peter Dennis Bartok <pbartok@novell.com>
1502 - Added transparency check to BackColor property. Transparent
1503 backgrounds are only allowed if the control styles permit it
1504 - Added recursive painting of parent control background and
1505 foreground if a control with a transparent backcolor is drawn
1506 (Thanks to Tim Ringenback for providing his 'hack' as a base
1507 for this patch) Fixes #77985 and #78026.
1508 - Added Opaque style check before calling OnPaintBackground, no
1509 need to draw the background if the control is opaque
1510 - Removed ControlAccessibleObject owner variable (inherited from
1511 base, no need to define again)
1512 - Added some documentation links explaining the drawing events
1515 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1517 * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
1518 that the affected control is the located at the left border of our
1519 parent (Fixes #77936)
1521 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1523 * TextBoxBase.cs: When rendering disabled or readonly controls,
1524 draw the background with 'Control' instead of 'Window' color as
1525 long as the user hasn't specifically set a color
1527 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1529 * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
1530 since that won't be updated if the user types text (only if it's
1531 programatically set)
1533 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1535 * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
1536 layout changes do to app-triggered resizes will have the proper
1537 display rectangle for layout
1539 2006-04-11 Alexander Olk <alex.olk@googlemail.com>
1541 * ThemeWin32Classic.cs:
1542 - Make use of the SystemBrushes and SystemPens wherever possible
1543 - Corrected some highlight colors
1544 - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
1546 * Theme.cs: Added Empty field to CPColor struct
1548 2006-04-11 Peter Dennis Bartok <pbartok@novell.com>
1550 * ScrollabeControl.cs: We need to consider whether or not a scrollbar
1551 is displayed when calculating the display rectangle. Thanks to Mike
1552 for teaching me the err of my ways.
1554 2006-04-10 Peter Dennis Bartok <pbartok@novell.com>
1556 * ScrollableControl.cs:
1557 - Rewrote DisplayRectangle code, now returning the proper x/y coords
1558 (instead of 0,0) and we now return the real width/height instead of
1559 just the clientrectangle, adjusted for padding. The rectangle is
1560 now cached and created by the new CalculateDisplayRectangle method.
1561 - Created new CalculateDisplayRectange method, which basically does
1562 what get_DisplayRectangle() did originally, but now using the
1563 right edge instead of DisplayRectangle to determine the size of
1565 - get_Canvas(): Fixed it to properly calculate canvas for
1566 right/bottom controls which seem to be placed to the right/bottom
1567 of any controls that have a fixed location
1568 - Removed TODO that's taken care of
1569 - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
1570 and SetDisplayRectLocation according to new MSDN2 docs
1571 - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
1572 event when that is called, this is added for compatibility
1573 - ScrollControlIntoView(): Implemented.
1574 - Switched scrollbars to be implicit, they shouldn't be selectable
1575 * ContainerControl: Now that ScrollControlIntoView is implemented, we
1576 call it when the active control is set/changed
1577 * ScrollBar.cs: Added support for generating Win32 scrollbar messages
1578 * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
1579 implicit_control variable (used for native Win32 message generation)
1580 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
1581 HorizontalScrollBarHeight and VerticalScrollBarWidth properties
1582 * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
1583 * XplatUIStructs.cs: Added ScrollBarCommands enum
1585 2006-04-10 Jackson Harper <jackson@ximian.com>
1588 * CheckedListBox.cs:
1595 * PrintPreviewControl.cs:
1601 * UpDownBase.cs: Fixup base event overrides.
1603 2006-04-06 Mike Kestner <mkestner@novell.com>
1605 * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
1606 all user-initiated value changes to min <= value <= max-thumbsz+1.
1607 (set_Value): check for vert/horiz when calculating new thumb position.
1608 (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
1610 (OnMouseMoveSB): refactor the thumb dragging code and refine
1611 invalidation logic to reduce flicker.
1612 (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
1613 (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
1614 (UpdateThumbPosition): small code readability cleanup
1616 2006-04-10 Alexander Olk <alex.olk@googlemail.com>
1618 * ThemeNice.cs: Small UI polishing. Draw borders a little bit
1621 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1623 * ThemeNice.cs: Use a better graphics effect when a button is pressed
1625 2006-04-08 Alexander Olk <alex.olk@googlemail.com>
1627 * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
1628 * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
1629 This dramatically reduces the number of Pen.Dispose calls.
1630 Where possible call ResPool methods only once instead of calling it
1631 over and over again (for example for the same color).
1633 2006-04-06 Mike Kestner <mkestner@novell.com>
1635 * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
1636 Also remove an unused private field on the collection. Fixes #77972.
1638 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1640 * ThemeNice.cs: Added ToolBar drawing code
1642 2006-04-06 Mike Kestner <mkestner@novell.com>
1644 * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
1645 I'm assuming that means we need to look up the toplevel for the
1646 provided control. Fixes the crash trace in #77911 but exposes another
1647 crash in some strange reflection usage in NDocGui.
1649 2006-04-06 Alexander Olk <alex.olk@googlemail.com>
1651 * ThemeNice.cs: Gave it a little silver touch and added Images
1653 * FontDialog.cs: FontDialog is not resizable
1654 * FileDialg.cs: Added SizeGripStyle.Show
1656 2006-04-05 Jackson Harper <jackson@ximian.com>
1658 * KeyboardLayouts.cs: Remove warning.
1660 2006-04-05 Jackson Harper <jackson@ximian.com>
1662 * Control.cs: Enable OnPaintInternal so we can use it for drawing
1663 all of our controls instead of Paint +=.
1678 * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
1679 use OnPaintInternal. Remove Width/Height and Visible checks in
1680 paint handler, this is done at a higher level now.
1681 * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
1682 * PaintEventArgs.cs: Add a handled flag so controls that don't
1683 want anymore painting after OnPaintInternal can make sure OnPaint
1686 2006-04-05 Mike Kestner <mkestner@novell.com>
1688 * Form.cs: fix the menu WndProc hacks to respect the native enabled
1689 state of the form, so that we don't process events when Modal dialogs
1690 are up. Fixes #77922.
1692 2006-04-05 Alexander Olk <alex.olk@googlemail.com>
1694 * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
1697 2006-04-05 Mike Kestner <mkestner@novell.com>
1699 * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
1701 2006-04-05 Mike Kestner <mkestner@novell.com>
1703 * ListView.cs (HeaderMouseMove): null guarding for the over column
1704 when setting up the drag_to_index. Fixes #78015.
1706 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1708 * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
1709 in the taskbar. Transient windows seem to accomplish that.
1711 2006-04-04 Peter Dennis Bartok <pbartok@novell.com>
1714 - Re-enabled CreateParams.X/Y code for FormStartPosition
1715 - Added code for manual placement when creating the Control
1716 - Incomplete patch to treat MDI forms differently when
1717 setting the ClientSizeCore. (Still need to figure out handling
1720 - When we're explicitly setting the X/Y position of a non-Child
1721 window, let the WM know. Metacity really wants this.
1723 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1725 * ThemeNice.cs: Added CPDrawButton
1727 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1729 * ThemeNice.cs: Changed the color for focused buttons and activated
1730 the arrows for small scroll buttons.
1732 2006-04-04 Alexander Olk <alex.olk@googlemail.com>
1734 * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
1735 anymore. Changed some method modifiers to protected (virtual)
1736 * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
1738 * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
1739 Updated drawing of menus, buttons and progressbars; added
1742 2006-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1744 * ImageListStreamer.cs: implemented serialization/deserialization
1747 2006-04-03 Alexander Olk <alex.olk@googlemail.com>
1749 * ThemeWin32Classic.cs:
1750 - Removed all the DrawFrameControl stuff; CPDrawButton,
1751 CPDrawCheckBox and CPDrawRadioButton are now handled directly
1753 - Updated and corrected the drawing code of CPDrawButton,
1754 CPDrawCheckBox and CPDrawRadioButton to better match ms
1755 - Updated theme checkbox and radiobutton code to use the CP*
1758 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1760 * XplatUIX11.cs: Enable clipping again now that the libgdiplus
1763 2006-03-31 Jackson Harper <jackson@ximian.com>
1765 * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
1767 * UpDownBase.cs: Don't CreateGraphics manually, use a
1768 Refresh. Ideally we would invalidate the correct areas here.
1770 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1773 - We now track the mapping state of windows. If a window (or
1774 one of it's parents) is not mapped we no longer permit
1775 WM_PAINT messages to be generated since we'd otherwise get
1776 lots of BadMatch X errors. Jackson did all the work figuring
1778 - Destroying the caret if the window it's contained in is
1779 destroyed. Can't use regular DestroyCaret method since it
1780 might fall into a drawing function (trying to remove the
1781 caret) and with that generate new BadMatch errors. Again,
1782 Jackson tracked this down.
1783 - Changed DestroyChildWindows to SendWMDestroyMessages, we now
1784 make sure we send the messages to all windows. (The old code
1785 would send the WM_DESTROY to the window, and then all child
1786 windows would be 'gone' because the WM_DESTROY handle lookup
1787 would no longer find the destroyed window)
1788 * Hwnd.cs: Added Mapping property to track mapping state of hwnd
1789 * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
1791 2006-03-31 Jackson Harper <jackson@ximian.com>
1793 * ScrollableControl.cs: Dont recalc if we are not visible.
1795 2006-03-31 Mike Kestner <mkestner@novell.com>
1797 * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
1798 the visibility branch.
1800 2006-03-31 Jackson Harper <jackson@ximian.com>
1802 * ScrollBar.cs: Cap values when incrementing/decrementing.
1804 2006-03-31 Mike Kestner <mkestner@novell.com>
1806 * MenuAPI.cs: setup menu.tracker for popup/context menus.
1807 * ToolTip.cs: guard against timer expirations with no active control.
1808 Not sure why it happened.
1810 2006-03-31 Mike Kestner <mkestner@novell.com>
1812 * ThemeWin32Classic.cs: add some horizontal padding space for the tip
1814 * ToolTip.cs: Position the tooltip based on where the cursor is at
1815 popup time, not at MouseEnter time. Add a Down state so that we don't
1816 redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
1817 positioning offset. Lookup DisplaySize at positioning time, since it
1818 can theoretically change during invocation.
1819 * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
1820 * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
1822 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1824 * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
1825 Fixes behaviour when the Text property of the box is String.Empty
1827 2006-03-31 Peter Dennis Bartok <pbartok@novell.com>
1829 * XplatUIX11.cs: Only send mouseleave for our client windows, not
1830 for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
1833 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1835 * FileDialog.cs: Visual enhancement for the popup buttons in
1838 2006-03-31 Alexander Olk <alex.olk@googlemail.com>
1840 * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
1843 2006-03-30 Alexander Olk <alex.olk@googlemail.com>
1845 * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
1846 highlighted menu items to match ms
1848 2006-03-30 Peter Dennis Bartok <pbartok@novell.com>
1850 * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
1852 2006-03-30 Mike Kestner <mkestner@novell.com>
1854 * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
1855 * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
1856 go active to account for HotLight to Selected transition.
1857 * MenuItem.cs: add internal Selected prop. Fill out the Status
1858 property by calculating it from item info. Add HotLight,
1859 NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
1861 2006-03-30 Mike Kestner <mkestner@novell.com>
1863 * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
1865 2006-03-29 Jackson Harper <jackson@ximian.com>
1867 * Form.cs: Implement TODO.
1869 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1871 * PrintPreviewDialog.cs: Implemented missing methods and events; still
1872 missing proper dialog setup in the constructor
1874 2006-03-29 Peter Dennis Bartok <pbartok@novell.com>
1876 * ProgressBar.cs: Added 2.0 Style property that apps seem to use
1878 - Implemented CheckForIllegalCrossThreadCalls, removed TODO
1879 - Fixed ResetBindings and removed TODO
1880 - Added check for cross-thread calls to get_Handle()
1881 - Added Marshaller attribute for set_Font to satisfy class status
1882 * FontDialog.cs: Removed TODOs that seemed implemented
1883 * UpDownBase.cs: Removed unneeded TODO and Fixme
1884 * MessageBox.cs: Implemented support for Default button and removed TODO
1885 * FileDialog.cs: Removed obsolete TODO
1886 * DomainUpDown.cs: Removed obsolete TODO
1887 * ButtonBase.cs: Removed obsolete TODO
1888 * XplatUIWin32.cs: Removed obsolete TODO
1890 - Removed obsolete TODO
1891 - Calling CheckAcceptButton when the acceptbutton is changed to allow
1892 internal status updates
1893 - Making sure the active control is selected when the control is created
1894 * CurrencyManager.cs: Removed obsolete TODO
1896 2006-03-29 Mike Kestner <mkestner@novell.com>
1898 * *.cs: fix remaining corcompare issues for 1.1 API with the exception
1899 of PrintPreviewDialog and RichTextBox.
1901 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1903 * Theme.cs: Added a little helper to SystemResPool to get the Dark,
1904 DarkDark, Light and LightLight colors for a specific color
1905 * ThemeWin32Classic.cs:
1906 - Use Button drawing code to draw RadioButtons and CheckBoxes with
1908 - Make use of the new ResPool helper CPColor
1909 - Draw ProgressBar and StatusBar with correct 3D borders
1911 2006-03-29 Alexander Olk <alex.olk@googlemail.com>
1913 * ColorDialog.cs: Return selected color. Fixes bug #77940.
1915 2006-03-28 Mike Kestner <mkestner@novell.com>
1917 * ListView.cs: fix Icon layout to plan for scrollbar widths when
1918 calculating col/row counts.
1920 2006-03-28 Mike Kestner <mkestner@novell.com>
1926 switch to explicit interface method implementation for some methods
1927 corcompare identifies as inconsistent with MS.
1929 2006-03-28 Mike Kestner <mkestner@novell.com>
1933 add a few missing methods from the class status output.
1935 2006-03-28 Alexander Olk <alex.olk@googlemail.com>
1937 * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
1940 2006-03-28 Mike Kestner <mkestner@novell.com>
1942 * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
1944 2006-03-27 Mike Kestner <mkestner@novell.com>
1946 * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
1947 the Hilight state to adapt to Alex's CPDrawBorder3D changes.
1949 2006-03-27 Alexander Olk <alex.olk@googlemail.com>
1951 * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
1953 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1955 * ThemeWin32Classic.cs:
1956 - GroupBox: Inserted a little gap between the text and the lines
1958 - Made the code in CPDrawBorder3D more readable
1959 - Corrected the drawing location of the up and down arrows in
1962 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1964 * ControlPaint.cs: Corrected line widths in DrawBorder for
1965 ButtonBorderStyle Inset and Outset
1967 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1969 * ThemeWin32Classic.cs:
1970 - Rewrote the totally broken CPDrawBorder3D method. That was
1971 one of the main problems for the terrific ThemeWin32Classic
1973 - Updated and corrected Button drawing
1974 - Correct the dimensions of the SizeGrip to match ms ones
1975 - Removed a small drawing glitch in DrawComboBoxEditDecorations
1976 * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
1977 Border3DStyle.Sunken to match ms.
1979 2006-03-25 Alexander Olk <alex.olk@googlemail.com>
1981 * ThemeWin32Classic.cs: First small part of the "de-uglify
1982 ThemeWin32Classic" effort, SizeGrip
1984 2006-03-24 Jackson Harper <jackson@ximian.com>
1986 * XplatUIX11.cs: Give a max idle time of one second, this matches
1987 MS and forces an Idle event every second when there are no other
1988 events in the queue.
1990 2006-03-24 Mike Kestner <mkestner@novell.com>
1992 * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
1993 * ListView.Item.cs: fix layout issues with null image lists and images
1994 smaller than checkbox size.
1995 * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
1996 mode like MS does. It's weird, but consistent. ;-)
1999 2006-03-24 Mike Kestner <mkestner@novell.com>
2001 * ListView.cs: Scroll wheel support for the item control. Fixes
2004 2006-03-23 Jackson Harper <jackson@ximian.com>
2006 * ScrollableControl.cs: Special case negative sized areas, not
2008 * MonthCalendar.cs: Save the rect of the clicked date so we can
2009 use it for invalidation.
2010 - Try to cut down on the number of invalidates
2011 - Invalidate the rect the mouse is over and was over when moving
2012 the mouse, so we get the focus box following the cursor.
2014 2006-03-23 Mike Kestner <mkestner@novell.com>
2016 * ThemeWin32Classic.cs: fix FullRowSelect selection background and
2017 focus rectangle drawing. Fixes #77835.
2019 2006-03-23 Mike Kestner <mkestner@novell.com>
2021 * XplatUIX11.cs: rework the fix for #77828 by changing the order of
2022 the if and else if and reverting back to the original == check on the
2025 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2027 * FontDialog.cs: Update the example panel if the selected index of
2028 the fontListBox changes.
2030 2006-03-23 Alexander Olk <alex.olk@googlemail.com>
2032 * FileDialog.cs: Make FileDialog remember which directory it was in
2033 last in the same execution.
2035 2006-03-22 Mike Kestner <mkestner@novell.com>
2037 * FileDialog.cs: make the DropDownMenu on the toolbar display
2038 RadioChecks since they are mutually exclusive and that's what MS does.
2040 2006-03-22 Mike Kestner <mkestner@novell.com>
2042 * Theme.cs: add Color param to CPDrawMenuGlyph.
2043 * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
2044 checks and radio marks and arrows are visible on highlighted items.
2045 * ControlPaint.cs: update to use new Theme signature.
2047 2006-03-22 Mike Kestner <mkestner@novell.com>
2049 * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
2050 is active. Fixes #77870.
2052 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2054 * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
2055 to be focused/selected after startup
2057 2006-03-22 Alexander Olk <alex.olk@googlemail.com>
2060 - Corrected behaviour of Color, AllowFullOpen, FullOpen,
2061 CustomColors and ShowHelp properties
2062 - Some internal rewrites to get better results when using the
2065 2006-03-22 Mike Kestner <mkestner@novell.com>
2067 * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
2068 HoverSelection. Fixes #77836.
2070 2006-03-22 Mike Kestner <mkestner@novell.com>
2072 * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
2073 ToggleButtons. (De)Sensitize the Back button around a stack count of
2074 1, not 0. Update ButtonSize based on a pixel count of the win32
2075 control. Adjust the toolbar size/location for new button size.
2077 2006-03-22 Jackson Harper <jackson@ximian.com>
2079 * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
2081 * ScrollBar.cs: When doing increments and decrements we need to
2082 set the Value property so that ValueChanged gets raised. A
2083 possible optimization here would be to make an internal SetValue
2084 that doesn't invalidate immediately.
2085 * ToolTip.cs: Tooltips get added to their container (when
2086 supplied) so they get disposed when the container is disposed.
2087 - Don't create tooltips for String.Empty. This prevents all these
2088 little 2-3 pixel windows from showing up when running nunit-gui
2090 * Form.cs: Don't set topmost when setting the owner if the handles
2091 haven't been created yet. The topmost set will happen when the
2092 handles are created.
2094 2006-03-22 Peter Dennis Bartok <pbartok@novell.com>
2097 - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
2098 - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
2099 visible (to allow them to recalculate their sizes)
2101 2006-03-21 Mike Kestner <mkestner@novell.com>
2103 * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
2104 methods. Removed a ton of redundant code. Still not really happy with
2105 the border rendering, but I think that's mainly because of the
2106 ControlDarkDark being black instead of a dark grey. Depending on how
2107 close we want to be, we might want to revisit those color choices.
2108 Among the new features added during the refactor were DropDownArrow
2109 pressed rendering, Disabled image rendering. Proper flat appearance
2110 boundary rendering. Removed the Divider and Wrapping dividers since I
2111 can't figure out any combination of themes and conditions to make the
2112 MS control draw a horizontal line on a toolbar despite what the
2113 Divider property docs indicate.
2114 * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
2115 conditions and incorrect layout. Updated to coding standard.
2116 * ToolBarButton.cs: refactored layout and positioning code from
2117 ToolBar to here. Invalidate wherever possible instead of forcing
2118 redraws of the whole toolbar.
2119 (Known remaining issues: explicit ButtonSize smaller than provided
2122 2006-03-21 Mike Kestner <mkestner@novell.com>
2124 * ContextMenu.cs (Show): use the position parameter instead of just
2125 showing at the MousePosition.
2127 2006-03-21 Jackson Harper <jackson@ximian.com>
2129 * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
2130 control handle this.
2131 * TreeNodeCollection.cs: If we are clearing the root node we need
2132 to reset top_node so calcs can still happen.
2133 * ThemeWin32Classic.cs: This is a Flags so we need to check
2136 2006-03-21 Jackson Harper <jackson@ximian.com>
2138 * DataGrid.cs: Create columns when the binding context has been
2140 * X11Structs.cs: Keysyms are uints.
2141 - Add size to fix build.
2143 2006-03-21 Peter Dennis Bartok <pbartok@novell.com>
2145 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2147 - Added ResetMouseHover method to allow controls to retrigger
2148 hovering if they need it more than once
2149 - Implemented MouseHoverTime and MouseHoverSize properties
2150 * Timer.cs: Start() must reset the interval
2151 * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
2154 2006-03-21 Jackson Harper <jackson@ximian.com>
2156 * X11Keyboard.cs: improved layout detection. Move the nonchar
2157 tables into this file.
2158 * KeyboardLayouts.cs: Move the tables into resource files.
2160 2006-03-21 Mike Kestner <mkestner@novell.com>
2162 * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
2164 2006-03-21 Alexander Olk <alex.olk@googlemail.com>
2166 * Mime.cs: Various speed optimizations. Looking up mime types
2167 is now 2 times faster than before
2169 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2171 * CreateParams.cs: Added internal menu field
2173 - Switched call order for UpdateBounds; now we always call
2174 the one that also takes ClientSize, and we're calculating the
2175 client size via driver method in the others. The previous
2176 method of tracking client size by difference wasn't working
2177 for forms where even the starting client size wouldn't match
2178 the overall form size (due to borders) (Part of fix for #77729)
2179 - CreateParams(): Do not use parent.Handle unless the handle is
2180 already created. Causes havoc with Nexxia and throws off our
2181 creation of controls
2183 - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
2184 - Switched handling of ConfigureNotify over to new PerformNCCalc
2185 method (consolidates code)
2186 - Changed RequestNCRecalc to use new PerformNCCalc method
2187 - Added calls to RequestNCRecalc when menus and borders are changed
2188 to allow app to set NC size. (Part of fix for #77729) This matches
2189 when MS send a WM_NCRECALC on Win32 windows.
2190 - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
2191 (Part of fix for #77729). This matches what MS does, they also
2192 send that message when the form is made visible.
2193 - XException.GetMessage: Improved usability of X errors by including
2194 a translation of the window into Hwnd and Control class
2195 - Improved debug info for window creation, reparenting and destruction
2196 - Created helper method WindowIsMapped() [Currently not used]
2197 * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
2199 - CreateParams: Now setting our menu on the new internal menu field
2200 - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
2201 avoid calculating the same property twice
2203 - Improved usability of ToString() for debugging purposes
2204 - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
2205 determine the height of the menu, instead of just the font. This
2206 required to also create a graphics context and to keep a bmp
2207 around (for performance reasons)
2209 2006-03-17 Peter Dennis Bartok <pbartok@novell.com>
2211 * MenuAPI.cs: Added OnMouseUp method
2213 - Now remembering the requested client size, avoids size errors
2214 - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
2215 instead of base if the menu is active. This is required due to
2216 control now capturing and releasing on down/up and it would
2217 prematurely release our menu capture
2219 2006-03-17 Jackson Harper <jackson@ximian.com>
2221 * KeyboardLayouts.cs: Add the czech layouts.
2223 2006-03-16 Jackson Harper <jackson@ximian.com>
2225 * Control.cs: Use the viewport space when sizing not the controls
2226 client size, so things like ScrollableControl that effect the
2227 viewport size (when scrollbars are added) are computed correctly.
2228 * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
2230 - Handle creating BindingManagers for null data sources.
2231 * DataGrid.cs: Bind the cached_currencymgr_events to the real data
2232 source, otherwise when rows are added they are added to the 'fake'
2233 datasource and we will crash when trying to set the position in
2235 - Use Implicit scrollbars on the datagrid so they arent
2238 2006-03-16 Jackson Harper <jackson@ximian.com>
2241 * InternalWindowManager.cs:
2242 * MdiWindowManager.cs:
2243 * X11Keyboard.cs: I really want Mike to love me again (fix
2246 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2249 - OnMouseDown: Switch to editing mode when clicking on the cell
2250 even if we're clicking on the cell that's currently
2252 - ProcessGridKey: Left/Right now wrap like MS.Net does
2253 - ProcessGridKey: Tab now knows to add a new row when tab is
2254 pressed in the cell of the last column of the
2256 - ProcessGridKey: Enter now adds another row if pressed in the last
2257 row and selectes the new row, same column cell
2258 - ProcessGridKey: Home/End navigate columns, not rows, like
2259 originally implemented
2260 - Broke ProcessKeyPreview code out into an extra Internal method
2261 so it can be called from the edit code
2262 * DataGridTextBox.cs (ProcessKeyMessage):
2263 - Switched to accept Tab keypresses
2264 - Added F2 handling to allow jumping to the end of the edited cell
2265 - Added logic to allow moving caret left/right inside edited cell
2266 and making the edited cell jump when the caret hits cell borders
2267 - Tab and Enter are now passed to the datagrid after being handled
2269 - Removed capture code now that Control handles it
2270 - set_SelectionStart now ensures caret is visible
2272 2006-03-16 Jackson Harper <jackson@ximian.com>
2274 * TrackBar.cs: Debackwards the increment/decrement for handling
2275 mouse clicks on the bar with vertical trackbars.
2276 * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
2279 2006-03-16 Mike Kestner <mkestner@novell.com>
2281 * ListView.cs: make shift/ctrl keyboard and mouse selection
2282 consistent with the MS control. Fix a bug in
2283 SelectedListViewItemCollection.Clear that was pissing me off for the
2284 better part of a day because the collection was being altered
2285 underneath us as we walked the list.
2287 2006-03-16 Peter Dennis Bartok <pbartok@novell.com>
2289 * Control.cs: Not sure how we could miss this so long, but it seems
2290 that MS.Net has Capture set all the way from before calling
2291 OnMouseDown through sending the mouse events until after
2292 OnMouseUp. This will fix DataGrid's selection being set to end
2293 at the location of the MouseUp.
2295 2006-03-15 Jackson Harper <jackson@ximian.com>
2297 * BindingContext.cs: Check the binding after its added so that it
2298 can initialize the binding managers and hookup to events.
2299 * Binding.cs: Data members seem to sometimes include rows/cols in
2300 the format Row.Column we now take this into account.
2301 - Hookup to the position changed event so we can update the
2302 control when the position has changed in the data set.
2303 * CurrencyManager.cs: Take into account the row/col naming
2304 convention when creating dataset tables.
2305 * BindingContext.cs: Using a newer better way of storing
2306 datasource/datamember pairs. Hopefully this better matches MS for
2307 looking up binding managers.
2310 2006-03-15 Jackson Harper <jackson@ximian.com>
2312 * BindingContext.cs: The currency manager needs the data member
2313 name, if the member is a data set we use the name to find the
2315 * CurrencyManager.cs: When creating the list prefer an IList over
2317 - Attempt to create a DataTable from a DataSet (TODO: might need
2318 some better error checking here, although MS doesn't seem to have much)
2319 - If we have a DataTable create a view and use it as our list.
2321 2006-03-15 Mike Kestner <mkestner@novell.com>
2323 * ListView.cs: keep a matrix of the icon mode layout to facilitate
2324 keyboard navigation. Support Up/Down/Left/Right selection correctly
2325 for all 4 View modes.
2326 * ListViewItem.cs: add internal row/col fields for icon layouts.
2328 2006-03-15 Jackson Harper <jackson@ximian.com>
2330 * TabControl.cs: Redraw the tabs when we resize so their newly
2331 calculated sizes are drawn on screen.
2332 * X11Keyboard.cs: Begginnings of XIM support. We also now support
2333 composite characters.
2334 * XplatUIX11.cs: Keyboard driver needs to know about focus changes
2335 - filter events so that composite characters can be created
2337 * X11Structs.cs: Add XIMProperties enum.
2339 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2341 * Control.cs (BringToFront, SendToBack): Don't use window or handle
2344 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2346 * Control.cs (PerformLayout): We don't need to consider visiblity
2347 for anchoring, only for docking. This fixes 'whacky' alignment
2348 in listbox and other controls that use implicit scrollbars after
2349 the previous PerformLayout patch
2350 * ListBox.cs: Switched to use implicit scrollbars
2352 2006-03-14 Mike Kestner <mkestner@novell.com>
2356 - chain up the "new event" overrides to base and use
2357 OnEvent to raise them. Part of fix for bug #76509.
2359 2006-03-14 Alexander Olk <alex.olk@googlemail.com>
2361 * FileDialog.cs: Do not select an item in the parent directory
2364 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2366 * Control.cs (PerformLayout): It would seem that we considered
2367 invisible windows for our layout. Not quite the right thing
2368 to do. Now we don't any longer, thereby fixing bug #76889.
2370 2006-03-14 Peter Dennis Bartok <pbartok@novell.com>
2372 * Control.cs (CanFocus): I goofed. A control can have focus
2373 even though it's not selectable. Made it match MS docs.
2375 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2377 * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
2378 center by default (fixes #76895)
2379 * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
2380 all uses of Border3DSides.All with the explicit ORd together
2381 Left|Right|Top|Bottom because I assume that nobody was aware
2382 that All also implies a center fill. Most places I checked had
2384 * ProgressBarStyle.cs: Added
2386 2006-03-13 Mike Kestner <mkestner@novell.com>
2388 * ListView.cs: fix breakage in drag shadow header positioning
2389 from Peter's csc compilation fix.
2391 2006-03-13 Mike Kestner <mkestner@novell.com>
2393 * ListView.cs: fix NRE produced by backspacing twice in a focused
2396 2006-03-13 Mike Kestner <mkestner@novell.com>
2398 * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
2400 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2402 * Hwnd.cs: Added fixed_size field to track windows whose size cannot
2404 * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
2405 the allowed size before making programmatic size changes
2407 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2409 * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
2410 set, metacity is broken and will still use the emty sizes in
2411 the struct. (Fix for #77089)
2413 2006-03-13 Peter Dennis Bartok <pbartok@novell.com>
2415 * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
2416 WindowExStyles and marked both enums as Flags
2417 * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
2418 NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
2419 to match WindowStyles split
2421 - SetWMStyles: Added cehck to not apply WM attributes to Child windows
2422 - Updated to match WindowStyles split
2424 - Fixed FosterParent creation, was using ExStyle on the Style field
2425 (This should help with Popup focus issues)
2426 - Updated to match WindowStyles split
2428 2006-03-13 Jackson Harper <jackson@ximian.com>
2430 * MdiWindowManager.cs: Use the system menu height. Fixes some
2431 strange sizing issues.
2433 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2435 * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
2437 - Scroll to caret after inserting text (#77672)
2438 - Make scroll range one pixel higher, fixes off-by-one error (and
2439 makes underlines visible on the last line)
2441 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2443 * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
2444 the keyboard state from being stuck with keys in 'pressed' state when
2445 focus is switched away via keyboard
2446 * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
2447 reset the keyboard if no X11 KeyUp events are expected to come
2448 * X11Structs.cs: Switched type of Visible to bool to match driver
2450 2006-03-12 Peter Dennis Bartok <pbartok@novell.com>
2453 - Switched caret to be just 1 pixel wide, matches MS and looks less
2455 - Moved caret display 1 pixel down from the top of the control
2457 - InsertCharAtCharet: Update the selection start if moving the caret
2458 (fixes bug #77696; based on patch suggested by kazuki@panicode.com)
2459 - No longer always creating the caret when the caret methods are
2460 called. Only the actual ShowCaret/HideCaret will do that now
2461 - Only setting caret visible if the owner control has focus
2462 - UpdateView: Added invalidation-shortcut logic for center and right
2463 aligned text. Previously we'd update all according to the left
2464 logic which caused drawing errors. Also fixed height of invalidated
2465 areas, now properly invalidating the whole area (was off-by-one)
2466 - owner_HandleCreated: Always generate the document when the
2467 handle is created; this ensures that
2469 - Fixed situation where caret would disappear under the right
2470 window border, also improved scrolling behaviour on left-
2472 - Fixed right-aligned textboxes to have a border to the
2473 right instead of the caret being under the right border
2475 - Switched from 'nested' to simple visible/not visible tracking
2476 for caret (part of fix for #77671)
2477 - No longer passing through translated FocusIn/FocusOut messages
2478 since we were notifying too often and the wrong windows. Instead
2479 we just notify our focussed window of receiving or loosing focus
2480 * XplatUIWin32.cs: Switched from 'nested' show/hide
2481 counting for caret to simple visible yes/no behaviour (part of
2484 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2486 * Mime.cs: Remove debug code...
2488 2006-03-11 Alexander Olk <alex.olk@googlemail.com>
2490 * MimeGenerated.cs: Removed
2491 * Mime.cs: Mime now reads the mime data (magic, globs, aliases
2492 and subclasses) from /usr/(local/)share/mime and
2493 $HOME/.local/share/mime.
2495 2006-03-10 Jackson Harper <jackson@ximian.com>
2497 * MdiWindowManager.cs: Recalc the NC area when a window is
2498 maximized/restored so that the menu area is drawn on forms that
2501 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2503 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
2504 XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
2505 us to force a WM_NCCALCRESIZE message being sent. This is needed
2508 2006-03-10 Jackson Harper <jackson@ximian.com>
2510 * Form.cs: We need to use the ActiveMenu when calculating menu
2512 - Fix nullref when the window manager hasn't been created yet.
2513 * Control.cs: Fix nullref when we try to bring a control to the
2514 front that has no parent.
2515 * MdiWindowManager.cs: Use the MaximizedMenu for calculating
2517 - Add a dummy item to the maximized menu so it always has the
2518 correct height. Otherwise when there are no menus we don't get our
2522 2006-03-10 Jackson Harper <jackson@ximian.com>
2524 * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
2526 * Form.cs: Make the window_state internal so the window managers
2528 - When an MDI child is maximized let its window manager create the
2529 main menu (so it can add its icon).
2530 - Notify the window managers of state changes
2531 - Let the window manager paint its buttons and handle button
2532 clicks on the menu when it is maximized.
2533 * InternalWindowManager.cs: Move the prev_bounds into the mdi
2534 window manager, since tool windows don't use it, only mdi windows.
2535 - Tell the main form that we don't want it to handle NCPAINT
2536 itself to avoid extra painting.
2537 - Handle clicks on a maximized windows menu.
2538 - Handle window state changes
2539 - Handle minimize/maximize clicks correctly by setting the window state.
2540 * MdiWindowManager.cs: Add an icon menu that (the menu you get
2541 when clicking on the forms icon).
2542 - New method to create a forms maximized menu. This is its normal
2544 - Handle window state changes.
2545 - Handle sizing of maximized windows. Maximized windows are just
2546 drawn bigger then the parent visible area. All controls are still
2547 there, they are just outside the visible area (this matches windows).
2548 * MdiClient.cs: No scrollbars when a child window is maximized.
2549 - Let the children windows figure out how big they should be when
2550 sizing maximized windows.
2551 - Implement a version of ArrangeIconicWindows somewhat similar to
2552 Windows version. There are some little differences, but I don't
2553 think any app will rely on the layout of minimized mdi windows.
2555 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2557 * Padding.cs: Several fixes to allow compiling with csc 2.0
2559 2006-03-09 Jackson Harper <jackson@ximian.com>
2562 * MenuItem.cs: Cheap hack so we can add items to the list without
2563 the events being raised. This allows adding mdi items during
2564 drawing. TODO: Should probably find a better time to add the items.
2566 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2568 * ThemeWin32Classic.cs:
2569 - CheckBox_DrawText: Added logic to not wrap if not enough space
2570 is available (Fix for bug #77727)
2571 - RadioButton_DrawText: Added logic not to wrap if not enough
2572 space is available (Fix for bug #77727). Also removed some
2573 duplicate code, DrawString always drawing the regular text
2574 before hitting the if statement.
2576 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2578 * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
2580 2006-03-10 Peter Dennis Bartok <pbartok@novell.com>
2582 * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
2583 * ContainerControl.cs: Partial implementation of some 2.0 scaling
2584 methods. Moved the new 2.0 properties into alphabetical order with
2585 other properties and added MonoTODO tags
2587 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2589 * AutoScaleMode.cs: Added. Fix build.
2591 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2593 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
2594 XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
2595 and was requiring premature handle creation for calls from above
2596 * Form.cs, Control.cs: Removed handle arguments from calls to
2597 CalculateClientRect()
2599 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2601 * ListView.cs (HeaderMouseMove): Fix csc compilation.
2602 drag_column.column_rect is MarshalByRef and can't be used that way
2604 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2606 * AxHost.cs: Added deserialization constructor for
2607 AxHost+State (fixes 77743)
2609 2006-03-09 Mike Kestner <mkestner@novell.com>
2612 - Added column drag reordering for details view.
2613 - fixed behavior when mouse is dragged off column and
2614 AllowColumnReorder is false.
2615 * ColumnHeader.cs: clone the format too in Clone.
2616 * Theme.cs: add DrawListViewHeaderDragDetails method.
2617 * ThemeWin32Classic.cs:
2618 - impl new method for drawing drag column shadows and targets.
2619 - support column offset for details mode in DrawListViewItem.
2621 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2623 * TextControl.cs: Reset the char_count when the document is cleared
2624 (Fixes bug reported on mono-winforms mailing list)
2626 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2628 * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
2629 of calling base we simply process the key ourselves, since both
2630 DefWindowProc and the handled method would set m.Result.
2633 2006-03-09 Peter Dennis Bartok <pbartok@novell.com>
2635 * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
2636 method also moves the window; instead implemented a copy of
2637 Control.ScaleCore (Part of fix for #77456)
2639 - Created new CreateGraphicsInternal method to allow providing
2640 a graphics context when no handle is created without triggering
2641 handle creation. (Part of fix for #77456)
2642 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2644 - Switched Constructor to require TextBoxBase instead of Control (to
2645 allow uncast access to CreateGraphicsInternal)
2646 - Safeguarded use of owner.Handle property. No longer accessing it
2647 unless the handle is already created.
2648 - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
2649 - Now triggering a recalc when owning control becomes visible
2650 * TextBox.cs, RichTextBox.cs: Switched to use new internal
2651 TextBoxBase.CreateGraphicsInternal() method to avoid triggering
2652 premature handle creation (Part of fix for #77456)
2654 - We now only destroy our double-buffering buffers when the
2655 control is resized or disposed, but not when visibility
2656 changes. (The code even re-created them twice every time)
2657 - Now requiring a redraw of the buffer on visibility changes
2658 (fixes bug 77654 part 2)
2659 - Not passing OnParentVisibleChanged up unless the control
2661 - CanFocus: Fixed to match MS documentation
2662 - Focus: Fixed to return actual focus state and to check if
2663 setting focus is legal before setting it
2665 2006-03-08 Peter Dennis Bartok <pbartok@novell.com>
2667 * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
2668 when to draw focus rectangle by looking at parent focus and
2669 selected state instead. This fixes TabPages on Linux sometimes
2670 having none or multiple focus rectangles.
2671 * XplatUIX11.cs (SetFocus):
2672 - Don't set the focus if the same window already has focus
2673 - Use SendMessage instead of PostMessage (like it's Win32
2674 equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
2675 to match MS behaviour
2676 * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
2679 2006-03-07 Jackson Harper <jackson@ximian.com>
2681 * PictureBox.cs: Revert line I accidently committed last week.
2683 2006-03-07 Peter Dennis Bartok <pbartok@novell.com>
2686 - Added new IsRecreating and ParentIsRecreating properties to
2687 allow testing if RecreateHandle has been called on ourselves
2688 or one of our parents
2689 - WndProc(WM_DESTROY): If our control handle is being recreated
2690 we immediately need to create the handle when receiving the
2691 destroy, that way our child windows find a valid parent handle
2692 when they themselves are being recreated upon WM_DESTROY receipt
2693 (fix for bug #77654 part 1)
2695 - DestroyWindow: WM_DESTROY must be sent to our own window before
2696 notifying any child windows. MS documents that child windows
2697 are still valid when WM_DESTROY is received. (Control now relies on
2699 - Added some fine-grain debug options
2701 2006-03-06 Jackson Harper <jackson@ximian.com>
2703 * MdiClient.cs: Redid scrolling logic a bit to create a virtual
2704 box and base calculations off this.
2705 * MdiChildContext.cs:
2706 * MdiWindowManager.cs: Don't need to ensure scrollbars here
2709 2006-03-06 Peter Dennis Bartok <pbartok@novell.com>
2711 * Splitter.cs: In situations where the affected control is added
2712 to the parent's control list after the splitter, we would not
2713 populate affected. Now we try populating it on mousedown, if
2714 it's not already set, and force it to be re-set whenever our
2717 2006-03-03 Matt Hargett <matt@use.net>
2719 * Control.cs: implement Control.Padding
2720 * Padding.cs: -Padding.All returns -1 when constructing with the
2721 implicit default ctor
2722 -Padding.ToString() matches MS.NET
2723 * ContainerControl.cs: implement
2724 ContainerControl.AutoScaleDimensions
2725 * ListControl.cs: implement ListControl.FormattingEnabled
2726 * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
2728 * TabPage.cs: Implement UseVisualStyleBackColor.
2729 * PictureBox.cs: Implement PictureBox.InitialImage.
2731 2006-03-03 Mike Kestner <mkestner@novell.com>
2733 * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
2734 event declarations to proxy to base event.
2735 * ListViewItem.cs: update to use ItemControl.
2736 * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
2737 * ThemeWin32Classic.cs: update to new ListView theme API and fix
2738 column header label rendering for 0 width columns.
2740 2006-03-03 Peter Dennis Bartok <pbartok@novell.com>
2742 * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
2743 that causes the control to be created. Fixes #77476.
2745 2006-03-02 Jackson Harper <jackson@ximian.com>
2747 * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
2750 2006-03-02 Peter Dennis Bartok <pbartok@novell.com>
2752 * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
2753 passed in for the EventArgs (fixes #77690)
2755 2006-03-01 Jackson Harper <jackson@ximian.com>
2757 * ScrollBar.cs: Refresh afterbeing resized.
2759 2006-02-28 Mike Kestner <mkestner@novell.com>
2761 * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
2762 Clean up a tracker compile warning.
2763 * MenuItem.cs: add internal PerformPopup method.
2766 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2768 * TextBoxBase.cs (set_Text): Recalculate the document (causing an
2769 implicit expose) when the text is set to null
2771 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2773 * RichTextBox.cs (FlushText): When newline is true, we always
2774 need to split the line, even if no text is on it and we may
2775 never eat newlines. (Fixes #77669)
2777 2006-02-28 Mike Kestner <mkestner@novell.com>
2779 * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
2780 and set Selected instead.
2781 * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
2784 2006-02-28 Peter Dennis Bartok <pbartok@novell.com>
2786 * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
2788 2006-02-28 Alexander Olk <alex.olk@googlemail.com>
2791 - Got rid of the panel. All controls are now directly added to
2793 - It is now possible to set a font with the Font property
2794 - MinSize and MaxSize property do now what they should
2795 - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
2796 - Searching and selecting a font with the font textbox works now,
2797 the same applies to the style and size textbox
2798 - Draw the correct 3D border in the example panel
2799 - Fixed a little mem leak (unused fonts didn't get disposed)
2800 - Many other internal updates/rewrites...
2803 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2806 - InsertRTFFromStream: Added 'number of characters inserted' argument
2807 - set_SelectedRTF: Now using the number of characters to calculate
2808 the new location for the selection and cursor (x/y cannot be used
2809 due to potentially already wrapped text)
2811 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2813 * TextControl.cs: Added property and implemented means to allow
2814 disabling recalculation of a document (can be used to speed up
2815 multiple inserts and is needed to make RTF inserts predictable, see
2817 * RichTextBox.cs: Using the new NoRecalc property of Document to
2818 keep x/y insert locations predictable. Also makes it faster inserting
2821 2006-02-27 Peter Dennis Bartok <pbartok@novell.com>
2823 * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
2824 it's easier for a child control to handle the other messages without
2825 having to duplicate the special functionality
2827 - WndProc: Removed calling base handler for WM_KEYDOWN and added
2828 code to handle processing the key ourselves, in order to get
2829 access to the result of KeyEventArgs.Handled. We now only call
2830 ProcessKey if they key hasn't been handled already. Fixes #77526.
2831 - set_Text: If null or empty string is given, just clear the
2832 document. Fixes part of #77526
2834 2006-02-27 Jackson Harper <jackson@ximian.com>
2836 * SizeGrip.cs: Paint the background color before painting the grip
2837 so things look right.
2838 * MdiClient.cs: Add the sizegrip when both scrollbars are used.
2840 2006-02-27 Mike Kestner <mkestner@novell.com>
2843 - Restructure layout and invalidation model to remove a ton of
2844 flicker from the control and speed up performance in general.
2845 - Add manual column resize, flickers like crazy, but I already have
2846 some ideas on how I'll fix that. (#76822)
2847 - Merge the three Icon-based views into a single layout method.
2848 - Move item selection interaction logic from the item since
2849 interaction with the collections is more appropriate to the view.
2850 - Deselection on non-item clicks.
2852 - Encapsulate most of the layout. Add some internal props to trigger
2853 layout. Move to a model where Items invalidate themselves instead
2854 of just invalidating the whole control every time something changes.
2855 - Invalidate on Text/Caption changes.
2856 - switch to an offset based layout model to avoid having to absolute
2857 position every element on item moves.
2858 - correct checkbox layout to conform to MS layout.
2859 * ThemeWin32Classic.cs:
2860 - refactor some column header drawing code.
2861 - fix string justification for column headers (#76821)
2862 - make SmallIcon labels top justified for compat with MS impl.
2863 * ThemeClearlooks.cs:
2864 - adjust to new ListViewItem internal checkbox bounds api.
2866 2006-02-27 Jackson Harper <jackson@ximian.com>
2868 * Control.cs: Change where implicit controls fall in the zorder.
2869 They are now on top of all children.
2870 - Synced AddImplicit code with Add
2871 - Removed unused enumerator.
2872 * SizeGrip.cs: Remove the TODO as its been TODONE.
2874 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2876 * TextControl.cs(Insert): Combine the last lines unless the insertion
2877 string ends with \n\n, otherwise we leave one line too many (Fixes
2878 something I noticed with the testapp for #77526; the bug itself was
2879 already fixed in the previous checkin)
2881 2006-02-26 Peter Dennis Bartok <pbartok@novell.com>
2884 - SelectionColor and SelectionFont methods no longer set absolute
2885 styles. Instead, the keep font or color respectively (This
2886 resolves a long-standing FIXME in the code)
2887 - When flushing RTF text, the insert code now considers text trailing
2888 behind the insertion point (Fixes the bug where when replacing
2889 the selected text via SelectedRTF the remainder of the line behind
2890 the selection would stay on the first insertion line)
2892 - AppendText now updates the selection points after inserting text
2893 - AppendText now ensures that the last tag (sometimes 0-length) of
2894 the document is used for the style information (Fixes part of
2897 - Created new FontDefiniton class to allow describing partial style
2899 - StreamLine() now takes a lines argument, to allow it to decide
2900 whether an encountered zero-length tag is the last in the document
2901 (which must be kept to not loose the font/color contained in it,
2903 - Created Combine() and Split() methods for Marker structs, to
2904 support marker updates due to reformatted documents (soft line
2906 - Implemented Document.CaretTag setter
2907 - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
2908 of the last line (Not the cause, but also exposed by bug #77220)
2909 - Added LineTag argument to InsertString method, to allow callers
2910 to force a certain tag to be used (required to force use of the
2911 trailing zero-length tag of a document)
2912 - Now updating markers in Combine(), to avoid stale tag markers
2913 - Added some method descriptions to aid maintenance
2914 - Implemented new FormatText concept, allowing additive/subtractive
2915 formatting by only specifying the components that are to be
2916 changed. This was needed for resolving the RTB.SelectedColor/
2917 RTB.SelectedFont fixmes
2918 - Added Break() support method to allow breaking up linetags (used
2919 for partial formatting)
2920 - Added GenerateTextFormat() method. It is used for partial
2921 formatting and allows to generate a full font/color from given
2922 attributes and an existing tag.
2924 2006-02-26 Jackson Harper <jackson@ximian.com>
2926 * XplatUIX11.cs: Use the correct caption height.
2927 - Translate hittest coordinates to screen coords to match MS.
2928 * XplatUIWin32.cs: When we create MDI windows we need to reset
2929 some of the style flags, so we get a nice blank window, and can
2930 draw all the decorations ourselves.
2931 - Set a clipping rectangle on the non client paint event, the
2932 window manager drawing code needs one.
2933 * Form.cs: The window manager needs to know when the window state
2935 * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
2936 don't need to factor in border and title sizes in these
2937 methods. TODO: Remove the args and fix the call points.
2938 * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
2940 - Let the driver set the cursors.
2941 - Improve active window handling
2942 - Correct sizes for title bars and buttons.
2943 - Match MS drawing better
2944 * MdiWindowManager.cs: We don't need to handle border style
2945 updates specially anymore.
2946 - Check for scrollbars when windows are done moving
2947 - Handle Active properly.
2948 * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
2949 correctly. I am spewing the exception though, so we don't hide the
2952 2006-02-26 Pedro Martinez Julia <pedromj@gmail.com>
2954 * DataGridViewRowPostPaintEventArgs.cs,
2955 DataGridViewCellPaintingEventArgs.cs,
2956 DataGridViewRowCollection.cs,
2957 DataGridViewRowPrePaintEventArgs.cs,
2958 DataGridViewCell.cs: Clear a few warnings and implement a few
2959 exceptions that should be thrown.
2961 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2963 * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
2964 'inheriting' our parent's (non-default) cursor. (Part of
2967 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2969 * XplatUIX11.cs: Fixed cast to make csc happy
2971 2006-02-22 Peter Dennis Bartok <pbartok@novell.com>
2973 * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
2974 it's for the client area (part of fix for #77479 and needed
2975 for MDI window cursor handling)
2977 - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
2978 the appropriate default cursors and also passing the message
2980 - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
2981 for non-client areas
2983 2006-02-15 Jackson Harper <jackson@ximian.com>
2985 * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
2986 is a real MDI window
2988 2006-02-14 Alexander Olk <alex.olk@googlemail.com>
2990 * X11DesktopColors.cs: Instead of checking the desktop session
2991 string for "KDE" check if it starts with "KDE"
2993 2006-02-10 Jackson Harper <jackson@ximian.com>
2995 * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
2998 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3000 * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
3003 - Got rid of the panel. All controls are now directly added to
3005 - Changed to mono coding style
3007 2006-02-10 Jackson Harper <jackson@ximian.com>
3009 * InternalWindowManager.cs: We don't need the set visibility to
3010 false hack anymore now that peter has written beautiful shutdown
3013 2006-02-10 Peter Dennis Bartok <pbartok@novell.com>
3015 * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
3016 where already explicitly destroyed
3018 2006-02-10 Jackson Harper <jackson@ximian.com>
3020 * MdiClient.cs: Handle the case where windows are too high or to
3021 the left and we need scrollbars.
3023 2006-02-10 Alexander Olk <alex.olk@googlemail.com>
3025 * MimeIcon.cs: Added some icons
3028 - Got rid of the panel. All controls are now directly added to
3030 - Changed to mono coding style
3031 - On Linux "My Computer" and "My Network" will now show some
3032 more usefull information. A new class, MasterMount, gathers
3033 this information from /proc/mount. Updated MWFFileView to make
3034 use of this information
3035 - Fixed a bug that caused FileDialog to crash when
3036 ".recently_used" file had a zero size
3037 - FilterIndex does now what it should
3039 * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
3042 2006-02-09 Jackson Harper <jackson@ximian.com>
3044 * ComboBox.cs: Don't touch if null.
3046 2006-02-09 Peter Dennis Bartok <pbartok@novell.com>
3048 * Cursor.cs: 64bit safeness fix
3049 * XplatUIX11.cs: Removed several unneeded and one moronic cast.
3051 2006-02-09 Jackson Harper <jackson@ximian.com>
3053 * Form.cs: If a form is made into an MDI form update the styles so
3054 all the props can get set correctly.
3055 - Kill the mdi_container when we dont need it anymore.
3056 * InternalWindowManager.cs: Add missing NOT
3058 2006-02-08 Jackson Harper <jackson@ximian.com>
3060 * InternalWindowManager.cs: Respek clipping when drawing MDi
3063 2006-02-08 Jackson Harper <jackson@ximian.com>
3065 * Hwnd.cs: Add bits to track non client expose events.
3066 * XplatUIX11.cs: Track non client expose events on the hwnd. This
3067 gives us a proper invalid rect and will allow for some nice
3068 optimizations with NC client drawing
3069 - MDI windows are children windows, so move their style handling
3070 into the child window block.
3071 * InternalWindowManager.cs: Remove a state reset that was
3072 getting invoked at the wrong time. Fixes managed windows getting
3073 into a 'stuck' captured state.
3075 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3077 * TextControl.cs (Document.ctor): Now initializing
3078 selection_anchor. Fixes #77493
3080 2006-02-07 Jackson Harper <jackson@ximian.com>
3082 * TrackBar.cs: The increment/decrements were backwards.
3084 2006-02-07 Mike Kestner <mkestner@novell.com>
3086 * Theme*.cs : remove ThemeEngine.Current usage as it just points back
3087 to the instance itself.
3089 2006-02-07 Peter Dennis Bartok <pbartok@novell.com>
3091 * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
3092 on ulongs and pointers, the size differs between 32bit and 64bit
3095 2006-02-07 Mike Kestner <mkestner@novell.com>
3097 * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
3098 for 64 bit platforms to work around a metacity bug.
3100 2006-02-07 Jackson Harper <jackson@ximian.com>
3102 * TrackBar.cs: Process the input keys we need, and hookup to
3103 KeyDown instead of using WndProc, so we get key messages.
3105 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3107 * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
3109 * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
3110 we need to translate the XdndVersion atoms array before sending it
3112 2006-02-06 Peter Dennis Bartok <pbartok@novell.com>
3115 - The preceeding 64bit fixes had a bug: ChangeProperty expects the
3116 number of bits for the property, not the number of bytes. The
3117 change to provide IntPtr.Size broke 32bit. (64bit was also wrong
3118 but would not crash since it specified 8 bits instead of 4 bits)
3119 - More 64bit fixes: Switched all atoms from int to IntPtr (they are
3120 defined as XID -> long in the C headers)
3121 - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
3122 references since those are now IntPtr to begin with
3123 - Switched all Atom.XXX 'int' casts to IntPtr casts
3124 - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
3125 - Fixed XInternAtom signature for 64bit, now returns an IntPtr
3126 - Added XChangeActivePointerGrab DllImport (for X11DnD)
3128 - Changed 'int' type for Atoms in XEvent structures to IntPtr
3129 - Changed atom in HoverStruct to be IntPtr
3131 - Removed local DllImports, switched code to use those from XplatUIX11
3132 - Removed/fixed casts related to the switch of Atom to be a IntPtr
3134 2006-02-06 Mike Kestner <mkestner@novell.com>
3136 * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
3137 method signatures in the import region. There may still be some
3138 lingering struct marshaling issues, as I didn't drill down into those.
3141 2006-02-06 Jackson Harper <jackson@ximian.com>
3143 * ComboBox.cs: Dont manually set the top_item, this is computed
3144 when the scrollbar position is set.
3146 2006-02-06 Mike Kestner <mkestner@novell.com>
3148 * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
3149 startup crashes on amd64. There's other fixes needed. All pinvoke
3150 usage of Atom needs to be mapped to IntPtr for example. And there are
3151 likely other int/long issues to be addressed.
3153 2006-02-04 Alexander Olk <alex.olk@googlemail.com>
3155 * FileDialog.cs: One more...
3157 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3159 * FileDialog.cs: Next try
3161 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3163 * FileDialog.cs: First part of fix for #77464
3165 2006-02-03 Alexander Olk <alex.olk@googlemail.com>
3167 * ButtonBase.cs, ContainerControl.cs, Forms.cs,
3168 ThemeWin32Classic.cs: Fix for #77458. Correct handling of
3169 AcceptButton border drawing.
3171 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3173 * Form.cs: Moved positioning of form after auto scaling is applied,
3174 otherwise it would possibly use wrong form size.
3176 2006-02-03 Peter Dennis Bartok <pbartok@novell.com>
3178 * Control.cs (RecreateHandle): No need to re-create any child
3179 controls, the child windows will get destroyed automatically by
3180 the windowing system or driver, and re-created when the handle
3181 is being accessed the first time. Fixes #77456
3182 * Form.cs: No longer setting the form to closing if the handle is
3183 being recreated. This seems like the right thing to do, don't
3184 have a bug or testcase for this, though.
3186 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3188 * FileDialog.cs: Suspend/Resume layouting when changing sizes of
3189 controls to avoid unwanted side effects
3191 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3194 - ScaleCore needs to scale the bounds, not the ClientSize of the
3195 control. Fixes #77416.
3196 - DefaultSize is 0,0 for control
3198 - DefaultSize is 100, 20
3199 - SetBoundsCore: Now enforcing the height, no matter if the provided
3200 height is more or less than the preferred one, as long as AutoSize
3202 * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
3204 2006-02-02 Peter Dennis Bartok <pbartok@novell.com>
3207 - ResumeLayout: Fixed logic when to call PerformLayout, we may not
3208 call unless both performLayout is true *and* we have a pending
3210 - ResumeLayout: MS does not completely nest Suspend and Resume,
3211 they bottom out at 0, fixed our code to match that.
3212 - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
3213 SetBoundsCore, we were updating even when we shouldn't. This fixes
3214 swf-anchors mis-anchoring when resizing the app fast and lots.
3215 - UpdateDistances: Now only setting the left and top distance if
3216 we have a parent and are not suspended, this is based on
3217 a suggestion by Don Edvaldson in bug #77355.
3218 - OnVisibleChanged: Fixed logic when to create the control. We may
3219 not create the control if we have no parent or if it's not visible;
3220 switched to using Visible property instead of is_visible field
3221 since the property also considers parent states. This fixes a bug
3222 when starting Paint.Net
3224 2006-02-02 Jackson Harper <jackson@ximian.com>
3226 * Form.cs: If the forms handle hasn't been created yet don't call
3227 into xplatui to make it top most, just set the topmost flag on the
3228 form in CreateParams
3229 * XplatUIX11.cs: Handle WS_EX_TOPMOST.
3231 2006-02-01 Jackson Harper <jackson@ximian.com>
3233 * ScrollableControl.cs: Refactored the Recalculate method a
3234 little, this wasn't handling all the variants of bottom and right
3235 bars needed to be added and added/removed based on their
3236 counterparts being added/removed (which changes the drawable
3237 size). Also we special case client widths and heights of 0 and
3238 don't add the scrollbar for those.
3240 2006-02-01 Peter Dennis Bartok <pbartok@novell.com>
3243 - Added method to get AbsoluteGeometry(); currently unused, but might
3244 be used in the future, if we try again to figure out toplevel
3245 coordinates with some more crappy window managers
3246 - Added FrameExtents() method to retrieve the WM set decoration size
3247 - Tried to fix up AddConfigureNotify and handling of ReparentNotify
3248 to deal with at least KDE, FVWM and metacity (Fixes #77092)
3250 - Added whacky_wm tracking var for metacity
3251 - Added logic to have default menu height if the actual menu height
3252 has not yet been calculated (part of fix for #77426)
3253 * Form.cs: Keep track whether client size has been set and re-set
3254 it if a menu is added/removed afterwards (Fixes #77426)
3256 2006-01-31 Jackson Harper <jackson@ximian.com>
3258 * Control.cs: When a new Site is set on the component attempt to
3259 pull the AmbientProperties from it.
3261 2006-01-31 Peter Dennis Bartok <pbartok@novell.com>
3263 * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
3264 in the background of the owning form. Fixes #77332
3266 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3268 * MimeIcon.cs: Fix for #77409
3270 2006-01-31 Alexander Olk <alex.olk@googlemail.com>
3272 * XplatUIX11GTK.cs: Initial import
3274 2006-01-31 Jordi Mas i Hernandez <jordimash@gmail.com>
3276 * FixedSizeTextBox: fixes class signature
3278 2006-01-30 Jackson Harper <jackson@ximian.com>
3280 * FixedSizeTextBox.cs: New internal class that represents a
3281 textBox that will not be scaled.
3284 * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
3287 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3289 * XplatUIX11.cs: Retrieve default screen number instead of
3290 assuming 0. Attempted fix for #77318
3292 2006-01-30 Peter Dennis Bartok <pbartok@novell.com>
3295 - GetWindowPos: When a window is parented by FosterParent, use
3296 the desktop instead of FosterParent as the base to get coordinates
3297 - CreateWindow: Don't make FosterParent the parent window for Popups
3298 if we don't want a taskbar entry, Popups automatically don't get one
3299 * Hwnd.cs: Need to call remove to actually remove the key from the
3302 2006-01-30 Mike Kestner <mkestner@novell.com>
3304 * MenuAPI.cs: adjust MainMenu item popup location to y=0.
3306 2006-01-30 Jackson Harper <jackson@ximian.com>
3309 * TreeNode.cs: Raise events no matter how the treenode is
3310 checked. Patch by Don Edvalson.
3312 2006-01-30 Jackson Harper <jackson@ximian.com>
3314 * TreeNode.cs: Signature fix.
3316 2006-01-29 Alexander Olk <alex.olk@googlemail.com>
3318 * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
3320 2006-01-20 Mike Kestner <mkestner@novell.com>
3322 * Form.cs: Add ActiveTracker property to do Captures and perform mouse
3323 event forwarding when menus are active.
3324 * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
3325 Most of the patch is pdb's with a little rework.
3327 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3329 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
3330 Removed GetMenuDC and ReleaseMenuDC methods; replaced
3331 by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
3332 * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
3333 * InternalWindowManager.cs: Added use of PaintEventStart/End to
3334 handling of WM_NCPAINT message, now passing the PaintEventArgs to
3335 the PaintWindowDecorations method
3336 * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
3337 * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
3338 * MenuAPI.cs: Made tracker window invisible
3340 - Removed GetMenuDC and ReleaseMenuDC methods
3341 - Implemented the client=false path for PaintEventStart and
3344 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3346 * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
3347 * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
3350 - MaximizeBox, MinimizeBox: Recreate the handle when setting
3352 - CreateParams: Reworked the styles to match MS look'n'feel,
3353 removed automatic setting of MinimizeBox, MaximizeBox, etc. via
3354 the WS_OVERLAPPEDWINDOW style. This fixes #76823.
3356 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3358 * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
3359 window is not mapped, since otherwise every form that's being
3360 created is considered minimized, which is wrong.
3361 * Form.cs: Catching the exception and returning our internal value
3364 2006-01-26 Peter Dennis Bartok <pbartok@novell.com>
3366 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
3367 SetWindowMinMax() to have means to tell the driver about the minimum,
3368 maximum and maximized state window sizes. (Part of the fix for #76485)
3370 - Implemented tracking of minimum and maximum window size, now calling
3371 new SetWindowMinMax() driver method to tell the driver (Part of the
3373 - Finished handling of WM_GETMINMAXINFO method, now setting all values
3374 (Completes fix for #76485)
3375 - Calling new SetWindowMinMax driver method when the handle for a
3376 form is created, to make sure the driver knows about it even if
3377 the values have been set before the window was created
3378 - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
3379 to avoid messing up our anchoring calculations (partial fix
3381 * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
3383 - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
3384 - Improved GetWindowState() to detect 'Minimized' state on Metacity
3385 (and presumably other freedesktop.org compliant WMs). Left the
3386 assumption unmapped=minimized, needed for SetVisible to work.
3387 - Now setting the window state when creating windows
3388 - Fixed SetVisible to consider/set the window state when mapping
3389 a Form. We cannot set the state before it's mapped, and we cannot
3390 use Form.WindowState once it's mapped (since it would ask the
3391 driver and get 'normal'. Therefore, we grab the state before
3392 mapping, map, and then set state.
3393 - Implmemented SetWindowMinMax method; Metacity does not seem to
3394 honor the ZoomHints, though.
3396 - Removed MINMAXINFO (moved to XplatUIStructs)
3397 - Added SetWindowMinMax stub (on Win32 the only way to set that
3398 information is in response to the WM_GETMINMAXINFO message, which
3399 is handled in Form.cs)
3400 - Added logic to SetVisible to set the proper window state when a
3401 form is made visible (fixes #75720)
3403 2006-01-26 Jackson Harper <jackson@ximian.com>
3405 * Control.cs (BeginInvoke): Automagically handle EventHandlers the
3406 same way we handle them with Invoke.
3408 2006-01-25 Peter Dennis Bartok <pbartok@novell.com>
3411 - Added tracking of window state so CreateParams can return
3412 the appropriate style
3413 - Moved setting of WS_CAPTION style in CreateParams to allow
3414 styles without caption
3415 * DataGridTextBoxColumn.cs: We are now also creating the TextBox
3416 control if the TextBox property is accessed. Fixes #77345
3418 - get_Created: now uses is_disposed and is_created to determine
3419 return value (suggested by Jackson)
3420 - CreateHandle: No longer exits if the handle is being recreated
3421 - RecreateHandle: If the handle is not yet created call the
3422 appropriate method to create either control or handle. If the
3423 control is already created CreateHandle will simply exit instead
3424 of just creating the handle
3425 * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
3426 now SendMessage WM_DESTROY directly to the control when DestroyWindow
3429 - When DestroyWindow is called, instead of waiting for the
3430 DestroyNotification from X11, we directly post it to the WndProc
3431 and immediately dispose the hwnd object.
3432 Same applies to DestroyChildWindows, and this obsoletes the
3433 expose_pending tracking. Contrary to Win32 behaviour we destroy our
3434 child windows before our own, to avoid X11 errors.
3435 - Removed the direct sending of WM_PAINT on UpdateWindow
3437 - Reworked DoEvents and GetMessage to allow access to internal queue
3438 even when trying non-blocking access to the queue. Fixes #77335.
3439 Based on a patch suggestion by Don Edvalson. The new private
3440 GetMessage can now also be used as a backend for a PeekMessage
3442 * XplatUI.cs: Improved debug output for CreateWindow
3444 2006-01-25 Jackson Harper <jackson@ximian.com>
3446 * Help.cs: Allow param to be null. Patch by Don Edvalson.
3448 2006-01-24 Jackson Harper <jackson@ximian.com>
3450 * ComboBox.cs: Clamp the max value set for the vertical scrollbar
3451 when we have a MaxDropItems lower then the selected index.
3453 2006-01-24 Jackson Harper <jackson@ximian.com>
3455 * Control.cs: Don't allow selection of non visible controls, allow
3456 selection of controls without parents.
3458 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3460 * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
3461 * DataGridDrawingLogic.cs: Add editing row only when is necessary
3463 2006-01-23 Jackson Harper <jackson@ximian.com>
3465 * UpDownBase.cs: Make the textbox handle all the selection and
3466 tabbing. This fixes tabing to updown controls.
3468 2006-01-24 Jordi Mas i Hernandez <jordimash@gmail.com>
3470 * TextBoxBase.cs: fixes exception thown the object was null
3472 2006-01-23 Jackson Harper <jackson@ximian.com>
3474 * ButtonBase.cs: Just use the base CreateParams. They set
3475 visibility and enabled correctly.
3478 * MonthCalendar.cs: Lets let the base set as much of the
3479 createparams as possible so we don't have duplicate code all over
3482 2006-01-22 Alexander Olk <alex.olk@googlemail.com>
3484 * ThemeGtk.cs: Added TrackBar and some experimental code to
3485 get double buffering back
3487 2006-01-21 Jordi Mas i Hernandez <jordimash@gmail.com>
3489 * DataGrid.cs: Allows row number set internally higher than the last
3490 when creating a new row. Restores the editing functionality.
3492 2006-01-20 Mike Kestner <mkestner@novell.com>
3494 * MimeIcon.cs: delay Image creation until the icons are accessed
3495 instead of creating 190 scaled images on GnomeHandler startup.
3497 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3499 * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
3500 first call base before processing the event. Fixes #77279
3502 2006-01-19 Peter Dennis Bartok <pbartok@novell.com>
3504 * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
3505 that the stride for the GDI bitmap would match the stride of
3508 2006-01-19 Alexander Olk <alex.olk@googlemail.com>
3510 * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
3512 2006-01-19 Jackson Harper <jackson@ximian.com>
3514 * ComboBox.cs: Hookup the text controls keydown event so we get
3515 those when the text control has the focus.
3517 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3519 * Label.cs: Now using the base events instead of defining new ones;
3520 this allows us to just call the base properties without having to
3521 duplicate all base property logic
3523 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3525 * Label.cs: A label by default is not a tabstop (Fixes one of our
3526 failing nunit tests)
3528 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3530 * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
3531 * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
3533 2006-01-18 Peter Dennis Bartok <pbartok@novell.com>
3535 * Cursor.cs: Reimplemented creating cursor bitmaps without using
3536 the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
3539 - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
3540 constructor creates images that can't be saved. Part of the fix
3542 - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
3543 - SetWindowState: Switched ShowWindow flags (part of an upcoming
3544 bug fix for handling window state in forms properly)
3546 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3548 * ThemeGtk.cs: Simplify ScrollBar drawing
3550 2006-01-18 Jackson Harper <jackson@ximian.com>
3552 * Splitter.cs: Set the default dock style for the splitter control
3555 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3557 * ThemeGtk.cs: Corrected StateType and ShadowType for
3560 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3562 * Control.cs: Make use of Theme.DoubleBufferingSupported
3564 - Added drawing for flat style buttons
3565 - Added ScrollBar drawing
3567 2006-01-18 Alexander Olk <alex.olk@googlemail.com>
3569 * ThemeClearlooks.cs: Removed some unneeded code.
3570 * ThemeGtk.cs: First part of ThemeGtk enhancements.
3572 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3574 * LinkLabel.cs: We need to update the hover drawing when
3575 leaving the control as well.
3577 2006-01-18 Jordi Mas i Hernandez <jordimash@gmail.com>
3579 * DataGrid.cs: Clicking on non empty areas in the columns
3580 area was giving an exception
3582 2006-01-17 Jackson Harper <jackson@ximian.com>
3584 * ThemeWin32Classic.cs:
3585 * ListView.cs: Do not draw/clip the headers when the header style
3588 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3590 * DataGrid.cs: Fixes 77260
3592 2006-01-17 Jordi Mas i Hernandez <jordimash@gmail.com>
3594 * DataGrid.cs: Clicking on a column on a empty grid was giving
3597 2006-01-17 Peter Dennis Bartok <pbartok@novell.com>
3599 * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
3600 or any keypress will crash the grid.
3602 2006-01-17 Mike Kestner <mkestner@novell.com>
3604 * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
3605 * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
3606 invisible/previously-visible items.
3609 2006-01-17 Alexander Olk <alex.olk@googlemail.com>
3611 * ThemeClearlooks.cs:
3612 - Added CL_Draw_Button method; now other theme controls that are
3613 not derived from button or do not have a button can draw buttons
3615 - Updated ComboBox drawing
3616 - Beautified RadioButton drawing
3617 - Corrected drawing of bottom and left tabs
3618 - Beautified DateTimePicker and MonthCalendar
3619 - Added CPDrawButton and CPDrawRadioButton
3621 2006-01-16 Jackson Harper <jackson@ximian.com>
3623 * ComboBox.cs: Set the initial value of the scrollbar to the
3624 current index. Reduce the numbers of refreshs and IndexOfs called.
3626 2006-01-14 Alexander Olk <alex.olk@googlemail.com>
3628 * FileDialog.cs: When the file listview is focused hitting the
3629 backspace key moves the fileview to the parent directory
3631 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3634 - Added RecreateHandle call when changing taskbar visibility to
3635 trigger reparenting in Win32 driver (Fixes #75719)
3636 - If a window has minimize or maximize buttons, it cannot have
3639 - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
3640 the toplevel form with FosterParent (A toolwindow not on the
3641 taskbar) (Fixes #75719)
3642 - Made FosterParent a toolwindow
3644 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3646 * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
3648 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3650 * ToolTip.cs: If SetToolTip is called from a control and the mouse
3651 is currently over that control, make sure that tooltip_window.Text
3654 2006-01-13 Mike Kestner <mkestner@novell.com>
3656 * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
3658 2006-01-13 Jackson Harper <jackson@ximian.com>
3660 * TreeView.cs: On MS GetNodeAt never actually factors in the X
3661 value passed. Also redraw the selected node when we recieve
3662 focus, so tabbing between trees works correctly.
3664 2006-01-13 Alexander Olk <alex.olk@googlemail.com>
3666 * MimeIcon.cs: GnomeHandler: older gnome versions don't have
3667 ~/.gconf/%gconf-tree.xml, so use
3668 .gconf/desktop/gnome/interface/%gconf.xml
3670 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3672 * TextControl.cs: Draw text in gray if control is disabled
3674 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3676 * TreeView.cs: Draw the focus rectangle outside the highlight, to
3677 make sure it's always visible. Fixes #76680.
3679 2006-01-13 Peter Dennis Bartok <pbartok@novell.com>
3681 * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
3683 2006-01-13 Jonathan Chambers <jonathan.chambers@ansys.com>
3685 * PageSetupDialog.cs: Added.
3686 * PrintDialog.cs: Attributes.
3687 * PrintPreviewControl.cs: Updates.
3688 * PrintPreviewDialog.cs: Updates.
3690 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3692 * Control.cs: Undid my selection check fix, since it's not needed
3694 - Now considering the presence of hscroll/vscroll when sizing
3695 vscroll/hscroll respectively. Fixed bug #77077
3696 - Added Left/Up/Down/Right to IsInputKey list to prevent
3697 ContainerControl from stealing them. This fixes what I broke
3698 with my last checkin.
3700 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3702 * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
3703 I finally understand how the property can be set without a setter :-)
3705 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3708 - Switched RunLoop to use static Message.Create to create a
3710 - Added PreProcessMessage call in runloop for keyboard events; this
3711 is part of the fix for #77219, I overlooked this originally in the
3712 MSDN doc for PreProcessMessage
3714 - Removed call to PreProcessMessage from handling of keyboard
3715 messages; it's supposed to be done in the message pump
3716 - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
3717 per MSDN documentation.
3718 - IsInputChar: All chars are input chars by default; removed the
3719 parent calling chain, MS does not document that
3720 - PreProcessMessage: If IsInputChar is true, we want to return false
3721 to allow dispatching of the message
3722 - When selecting the next control, now also check that we're not
3723 selecting ourselves again and therefore return a false positive.
3725 - Tried to match return values for IsInputKey and ProcessDialogKey
3726 to what MS returns; moved processing of our special keys outside
3727 ProcessDialogKey since MS does not seem to return true on those.
3728 - Moved code that previously was in ProcessDialogKey into new private
3729 ProcessKey method, which gets called upon receipt of WM_KEYDOWN
3730 - Reworked handling of WM_CHAR to not have to duplicate code from
3731 Control.cs anymore, instead we simply call down to base.
3733 2006-01-12 Jackson Harper <jackson@ximian.com>
3735 * ComboBox.cs: We always need to refresh the text area when
3736 EndUpdate is called. Fixes the combobox in the file dialog.
3737 * Control.cs: Don't create the creator_thread until the controls
3738 handle is created. Also in InvokeRequired we check if the
3739 creator_thread is null. This gives the effect of InvokeRequired
3740 returning true if the controls handle is not created yet, and
3743 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3746 - Added StartLoop() driver method. This is used to allow drivers to
3747 prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
3748 loop for a particular thread
3749 - Added EndLoop() driver method. This is called once the message
3750 pump for the thread is shut down
3751 - Added SupportsTransparency method to allow the driver to indicate
3752 opacity support for windows
3754 - Removed TODO attribute, completed AllowTransparency property
3755 - Added documented logic to Opacity
3756 * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
3757 ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
3758 versions of CompatibleTextRendering
3759 * X11Structs.cs: Added opacity atom to our atom enumeration
3760 * Hwnd.cs: Added opacity tracking (we need to track since the opacity
3761 of a form might be set before it's reparented by the WM, and we need
3762 the opacity value without calling up to Form)
3763 * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
3764 SupportsTransparency() driver methods
3765 * Application.cs: Now calling StartLoop and EndLoop driver methods
3767 - Added opacity atom registration
3768 - Added StartLoop()/EndLoop() methods. They're empty right now but
3769 will need to get implemented when we switch to a per-thread queue
3770 - Implemented SupportsTransparency() method
3771 - Implemented SetWindowTransparency() method
3772 - Added support for setting the opacity value when a window is
3773 reparented (since the opacity needs to be set on the WM frame)
3774 * XplatUIOSX.cs, XplatUIWin32.cs:
3775 - Added SupportsTransparency(), StartLoop() and EndLoop() methods
3777 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3779 * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
3781 2006-01-12 Alexander Olk <alex.olk@googlemail.com>
3783 * FileDialog.cs: Added ToolTip for MWFFileView
3784 * MimeIcon.cs: Rewrote GnomeHandler.
3785 - Get currently used gnome icon theme from
3786 ($HOME)/.gconf/%gconf-tree.xml
3787 - Make use of inherited icon themes
3788 - Support SVG icon themes like Tango via librsvg
3790 2006-01-12 Miguel de Icaza <miguel@novell.com>
3792 Revert's Jackson's revert which broke 2.0 builds. Fix both
3795 * Application.cs: Move the use_compatible_text_rendering outside
3796 the NET_2_0 define. If we ever need to use the
3797 use_compatible_text_rendering on the individual controls they will
3798 access the variable from the common shared code paths.
3800 2006-01-12 Peter Dennis Bartok <pbartok@novell.com>
3803 - Added more granular debug options
3804 - Added method to print both window text and id
3805 - Switched debug output to use new Window() debug method
3806 - Added IsEnabled() driver method
3807 - Added EnableWindow() driver method
3809 - Removed end_modal; no longer needed, new loop handles termination
3810 via 'closing' variable
3811 - If form is modal, setting DialogResult will now initiate loop
3812 termination via 'closing' variable
3813 - Added support for is_enabled/WS_DISABLED to CreateParams
3814 - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
3816 - Removed code that's now in RunLoop from ShowDialog()
3817 - Added various documented sanity checks to ShowDialog()
3818 - Added handling of WM_DESTROY message; we set 'closing' on getting
3819 the message to indicate the message pump to terminate
3820 - Added handling of new internal WM_CLOSE_INTERNAL message - it's
3821 send by the Application.ExitThread method. (We send the message
3822 to destroy the window after all other events have been
3823 processed through the queue, instead of destroying the handle
3825 - Moved code from Close() method to WM_CLOSE handler; added logic
3826 to only send close-related events if the form is not displayed
3828 * Splitter.cs (..ctor): Fixed typo in resource name
3830 - DrawBackgroundImage: Explicitly selecting the wrap mode for the
3832 - set_Cursor: Now only setting calling into XplatUI if the handle for
3833 the control is already created; this avoids implict handle creation
3834 or crashes if it's not created
3835 - set_Enabled: Now setting the enabled state via the new driver method
3836 instead of just tracking it
3837 - CreateParams: Added logic to set WS_DISABLED based on enabled state
3838 - CreateControl: Reordered event firing and method calls to more
3839 closely fire events in the order MS does. Now setting the
3840 enabled state in the driver when creating the control.
3841 - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
3843 * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
3844 MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
3845 * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
3847 - Added tracking of window enabled state (get_Enabled/set_Enabled)
3848 - Added EnabledHwnd property to easily allow a driver to find the
3849 handle of the first enabled window in the parent chain (this is
3850 used by drivers to pass up input events of disabled windows)
3851 * XplatUIDriver.cs: Added IsEnabled() method
3853 - Removed crude and obsolete exiting tracking variable
3854 - Removed internal ModalRun(); replaced by RunLoop()
3855 - Implemented private CloseForms() method to allow closing all
3856 windows owned by a particular (or all) threads
3857 - Exit() now properly closes all windows without forcing the message
3859 - Removed obsolete InternalExit() method
3860 - Changed Run() methods to use new RunLoop() message pump
3861 - Implemented new RunLoop() method for both modal and non-modal forms
3863 - get_CreateParams: Added setting of WS_DISABLED
3864 - Simplified ShowDialog(); now all the work is done in RunLoop(),
3865 invoked via Form.ShowDialog()
3866 * NativeWindow.cs: We don't remove the window from the collection when
3867 the handle is destroyed; there might still be messages for it in the
3868 queue (mainly the resulting WM_DESTROY); instead it will be removed
3869 when Control calls InvalidateHandle in the WM_DESTROY handler
3871 - CreateWindow: Added logic to handle the WS_DISABLED window style
3872 - EnableWindow: Implemented based on Hwnd.Enabled
3873 - GetMessage: Reset PostQuitState so the method can be called again
3874 - Implemented support for disabled windows (passing messages to the
3875 first enabled parent) in handling all input messages
3876 - Added optimizations for handling Expose events
3877 - Implemeted new driver method IsEnabled()
3878 - Now always resetting paint pending tracking vars when we start paint
3879 - Re-implemented UpdateWindow via just sending a WM_PAINT message
3880 * XplatUIOSX.cs: Added IsEnabled method stub
3881 * XplatUIWin32.cs: Implemented new IsEnabled() method
3883 2006-01-11 Jackson Harper <jackson@ximian.com>
3885 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3886 LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
3888 * ColorDialog.cs: Clear out the old form before adding the new
3891 2006-01-11 Jackson Harper <jackson@ximian.com>
3893 * X11Dnd.cs: Make sure to add all the text formats when adding
3894 strings to the data object.
3895 * TreeNodeCollection.cs: When adding to a sorted tree we need to
3896 do some redrawing too. Also change the UpdateNode to an
3897 UpdateBelow so the newly added node gets painted.
3899 2006-01-11 Miguel de Icaza <miguel@novell.com>
3901 * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
3902 LinkLabel.cs, PropertyGrid.cs: Implement the
3903 UseCompatibleTextRendering property for 2.x
3905 * Application.cs (SetCompatibleTextRenderingDefault): Add.
3907 2006-01-11 Jackson Harper <jackson@ximian.com>
3909 * TreeView.cs: Use the property for setting the selected node so
3910 the correct events get raised.
3911 * TreeNode.cs: Update the tree when the fore/back colours of a
3914 2006-01-10 Jackson Harper <jackson@ximian.com>
3916 * TreeView.cs: Allow setting SelectedNode to null.
3918 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3920 * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
3922 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3924 * PrintControllerWithStatusDialog.cs: Update page number in dialog.
3926 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3928 * PrintDialog.cs: Added attributes and set default property values.
3930 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3932 * PrintControllerWithStatusDialog.cs:
3933 Added PrintControllerWithStatusDialog.
3935 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3937 * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
3938 XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
3940 2006-01-9 Jonathan Chambers <jonathan.chambers@ansys.com>
3942 * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
3944 2006-01-09 Jonathan Chambers <jonathan.chambers@ansys.com>
3946 * ComboBox.cs: Added KeyDown event handler for processing arrow keys
3947 and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
3949 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3951 * MimeIcon.cs: Added internal class SVGUtil.
3953 2006-01-08 Alexander Olk <alex.olk@googlemail.com>
3955 * FileDialog.cs: Don't crash if there are two files with the
3956 same name but different locations.
3958 2006-01-08 John BouAntoun <jba-mono@optusnet.com.au>
3960 * MonthCalendar.cs: Fixed annoying rendering bug when selecting
3961 dates across multiple month grids. Used to not highlight entire
3962 month, but does now.
3964 2006-01-06 Jackson Harper <jackson@ximian.com>
3966 * MonthCalendar.cs: Removed DoEvents call to prevent a running
3967 message loop. Change timer intervals to numbers that seem more
3970 2006-01-06 John BouAntoun <jba-mono@optusnet.com.au>
3972 * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
3973 object for location info since screen object is now implemented.
3975 2006-01-05 Jackson Harper <jackson@ximian.com>
3977 * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
3978 * AsyncMethodResult.cs: We no longer use a WeakReference for the
3979 AsyncMethodResult, this is because we ALWAYS want the
3980 ManualResetEvent to get set.
3981 * Control.cs: When disposing use an async invoke to call shutdown
3982 code, so that thigns don't block on the finalizer thread. Also
3983 check if we even have a message loop before trying to send
3984 messages, if we don't then don't bother sending messages.
3985 - No more weak references for async methods
3986 * XplatUIDriver.cs: No more weak references for async methods.
3988 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
3990 * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
3991 returns two FontFamily with the same name
3993 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
3995 * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
3996 drawing disabled text. Instead using the ColorGrayText color
3998 2006-01-04 Jackson Harper <jackson@ximian.com>
4000 * TreeNode.cs: redraw the node when its image index is changed.
4002 2006-01-04 Peter Dennis Bartok <pbartok@novell.com>
4004 * RichTextBox.cs: Same fix as last, just for SelectionColor. This
4005 time I checked there are no others like it.
4007 2006-01-04 Jackson Harper <jackson@ximian.com>
4009 * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
4010 this gives the behavoir I was looking for.
4011 * Control.cs: Special case Invoking EventHandlers, this matches MS
4012 and fixes part of bug #76326.
4014 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4016 * ThemeClearlooks.cs, FileDialog.cs:
4017 - Reflect the latest Theme class changes
4018 - Remove Mono.Unix.Syscall.time in FileDialg and replace it
4021 2006-01-04 Alexander Olk <alex.olk@googlemail.com>
4023 * Theme.cs: Cache UI resource images and resize them if needed
4025 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4027 * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
4028 is called. This fixes the crash in Nexxia when setting the font
4029 attributes in the chat. [However, RTF needs a look-over to make sure
4030 that all SelectionXXX methods handle the special case that selection
4031 is empty and therefore the change must be applied to all text starting
4032 at the cursor/selection start]
4034 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4036 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4037 XplatUIOSX.cs: Added SendMessage and PostMessage methods
4038 * X11Keyboard.cs: Switched to new way of calling PostMessage
4040 2006-01-03 Peter Dennis Bartok <pbartok@novell.com>
4042 * Theme.cs: Added theme interface for images to allow the theme to
4043 control what images are used for things like FileDialog, MessageBox
4045 * MessageBox.cs: Now uses the new Theme icon/image interfaces
4047 2006-01-03 Alexander Olk <alex.olk@googlemail.com>
4050 - Removed some dead code
4051 - Opening a recently used file does work now
4052 - Small UI enhancements
4055 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4057 * FileDialog.cs: Forgot too add __MonoCS__
4059 2006-01-02 Alexander Olk <alex.olk@googlemail.com>
4061 * FileDialog.cs: We are able to read recently used files now let's
4062 go on and write them.
4064 2006-01-01 Alexander Olk <alex.olk@googlemail.com>
4066 * FileDialog.cs: Breathe some life into "last open"/"recently used"
4068 * MimeIcon.cs: Do a check for the top level media type also
4070 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4072 * ThemeClearlooks.cs:
4073 - Added CPDrawStringDisabled
4074 - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
4075 some chars if the text doesn't fit into text_rect
4076 - DrawListViewItem: If View = View.LargeIcon center the image;
4077 rewrote the drawing of ListViewItem.Text if View =
4080 2005-12-31 Alexander Olk <alex.olk@googlemail.com>
4082 * MimeIcon.cs: Use default KDE icon theme if there is no
4083 "48x48" directory for the current icon theme, fixes #77114
4084 * Mime.cs: Disable not working and actually not used code.
4085 * ThemeWin32Classic.cs:
4086 - Replace "new SolidBrush" in GetControlBackBrush and
4087 GetControlForeBrush with ResPool.GetSolidBrush
4088 - Changed DrawListViewItem from private to protected virtual
4090 - Added form.MaximizeBox = true
4091 - Don't throw an exception if there is a broken symbolic link
4093 2005-12-23 Jackson Harper <jackson@ximian.com>
4095 * TabControl.cs: Give the panels focus, keyboard navigation is
4096 fixed so this works correctly now.
4097 - We need these key events also.
4098 * ToolBar.cs: Remove some of the poor mans double buffering.
4100 2005-12-24 Alexander Olk <alex.olk@googlemail.com>
4102 * ComboBox.cs: The internal TextBox now returns the focus.
4104 2005-12-23 Jackson Harper <jackson@ximian.com>
4106 * ThemeWin32Classic.cs: Draw the text for all tab appearances.
4108 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4110 * Control.cs: Removed debug code
4111 * XplatUIX11.cs: Changed DestroyChildWindows to also consider
4114 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4116 * Control.cs: When creating the control, update the Z-order after
4117 all it's children are created, too. (Fixes nexxia not showing
4120 2005-12-23 Peter Dennis Bartok <pbartok@novell.com>
4122 * Control.cs: Do not update the anchoring distances if layout is
4123 suspended, instead do it once layout is resumed
4125 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4128 - After many hours of debugging, for both Jackson and
4129 myself, it turns out that it helps to set the parent of a control
4130 if you want to actually see it onscreen. In the spirit of that
4131 discovery, we're now setting the parent of the control and
4132 it's children when the control's handle is created. This fix
4133 will make Lutz Roeder's Reflector run happily.
4134 - now just creating the handle instead of the whole control when
4135 getting a graphics context for the control.
4137 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4139 * ScrollableControl.cs: When calculating the canvas, don't consider
4140 the scrollbar widths. Instead, predict if horizontal scrollbar
4141 will affect canvas when deciding on vertical display and vice versa.
4143 2005-12-22 Peter Dennis Bartok <pbartok@novell.com>
4145 * RichTextBox.cs: Set default RTF font for documents that don't
4146 have a font table (Fixes #77076)
4148 2005-12-22 Jackson Harper <jackson@ximian.com>
4150 * TextBoxBase.cs: It's difficult to do, but you can have an empty
4151 clipboard. This prevents a NullRef in that case.
4152 * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
4153 clipboard. PRIMARY is for the currently selected text only. (We
4154 should implement PRIMARY at some point.
4156 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4158 * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
4159 a Unicode function with a structure that was defined in Ansi way.
4162 2005-12-21 Jackson Harper <jackson@ximian.com>
4164 * StatusBar.cs: Statusbar handles its fore/back colours on it's
4165 on. Because thats how it rolls. (and this avoids it using ambient
4167 * ThemeWin32Classic.cs: Use the proper back color for filling.
4168 * Menu.cs: Use the system menu bar color for drawing menu
4169 bars. Using the window back color will bring ambient colours into
4172 2005-12-21 Alexander Olk <alex.olk@googlemail.com>
4174 * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
4175 Bitmaps were created and not disposed.
4177 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4179 * Control.cs (CreateControl): Don't do anything if the control is
4180 already created, otherwise we'd fire the OnCreated event more than
4183 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4185 * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
4186 will always match. Instead return -1. Fixes #76464.
4188 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4190 * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
4191 neither the beginning nor the end of the line (Fixes bug #76479)
4193 2005-12-21 Peter Dennis Bartok <pbartok@novell.com>
4196 - ControlNativeWindow.ControlFromHandle(): Now handling situation
4197 where handle is invalid
4198 - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
4199 instead of slower linear search
4200 * NativeWindow.cs: Don't remove the window from the hashtable until
4201 after the driver has destroyed it (since the driver might use
4202 Control.FromHandle to lookup the control object
4203 * Hwnd.cs: Added DestroyPending property to track if a window is
4204 already destroyed as far as the driver is concerned and only hasn't
4205 yet notified the control
4207 - Activate(): Check if the window is still valid before using the
4209 - Implemented DestroyChildWindow() method to mark child windows as
4210 destroyed when a window is destroyed. This prevents situations
4211 where we might call an X method based on queued events for a
4212 window that already has been destroyed but we haven't yet pulled
4213 the destroy method from the queue.
4214 - Added a call to the new DestroyChildWindow() method to the drivers
4215 DestroyWindow code. Also now marking the destroyed window itself
4218 2005-12-20 Jackson Harper <jackson@ximian.com>
4221 * StatusBarPanel.cs: Don't calculate panel sizes on draw
4222 anymore. Just do them when needed, also track the rects of panels
4223 so that we can optimize refreshing more in the future.
4225 2005-12-20 Alexander Olk <alex.olk@googlemail.com>
4227 * ColorDialog.cs: Fixed focus drawing in small color controls
4229 2005-12-19 Jackson Harper <jackson@ximian.com>
4231 * InternalWindowManager.cs:
4232 * MdiWindowManager.cs: Cleanup some coordinate system changes so
4233 moving windows works properly.
4235 2005-12-19 Peter Dennis Bartok <pbartok@novell.com>
4238 - Removed call to InitLayout() from SetBoundsCore(); doc says
4239 it's only called when a control is added to a container
4240 - Split InitLayout logic, moved to separate UpdateDistances() method
4241 since we need to perform those calculations more often than just
4242 when adding the control to a container. (Needed to fix #77022)
4243 - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
4244 - Reduced the OnBindingContextChanged events count, don't send them
4245 unless the control is created, we still aren't totally matching
4246 MS, but I can't quite figure out some of their rules
4248 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4250 * ThemeClearlooks.cs: Corrected distance between ProgressBar
4253 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4255 * ThemeClearlooks.cs:
4256 - Updated ProgressBar drawing
4257 - Corrected drawing of ScrollBars and scroll buttons
4258 - Some temporary fixes for minor pixel artefacts
4260 2005-12-18 Peter Dennis Bartok <pbartok@novell.com>
4263 - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
4264 cause events to be sent in the same order as MS does.
4265 - Added ChangeParent() method to trigger various OnXXXChanged events
4266 that need to be fired when a parent changes (This is a reworking
4267 of the patch from r54254, with the X11 errors fixed)
4268 - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
4269 since on MS we get OnLayoutChanged events when calling Clear()
4270 - Changed Enabled property to consider parent state as well, if a
4271 parent is not enabled, the control will not be either
4272 - Changed Parent property to simply call Controls.Add() since that
4273 now does all the work required, this way we avoid code duplication
4274 - Threw in a few OnBindingsContextChanged calls to try and match
4275 when MS sends them. We seem to send a few too many, though.
4276 - Added call to CreateControl when adding the control to a parent.
4277 We were never calling CreateControl. Still needs some work, in
4278 some places we treat HandleCreated and ControlCreated as equal,
4280 - Removed obsolete commented out code from UpdateZOrder()
4282 2005-12-18 Alexander Olk <alex.olk@googlemail.com>
4284 * ThemeClearlooks.cs: Updated TrackBar drawing.
4286 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4288 * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
4290 2005-12-17 Alexander Olk <alex.olk@googlemail.com>
4292 * FileDialog.cs: Add the Help button and the open readonly
4293 checkbox only if needed
4295 2005-12-16 Jackson Harper <jackson@ximian.com>
4297 * Control.cs: Make sure we have an active menu before trying to
4298 process commands on it. Prevents menu-less forms from crashing
4299 when Alt is pressed.
4300 * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
4302 * RichTextBox.cs: Expand statement to help out gmcs and fix the
4305 2005-12-16 Jackson Harper <jackson@ximian.com>
4307 * InternalWindowManager.cs: Don't translate tool windows screen
4308 coordinates. This fixes windows 'bouncing' around when being moved.
4310 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4313 - MaxLength now treats 2^31-1 equal to unlimited length (this is
4314 not quite MS compatible, MS uses that number only for single line
4315 and 2^32-1 for multi-line, but I figure it won't hurt keeping
4317 - Now enforcing the MaxLength limit when entering characters
4318 - Added argument to internal Paste() method to track if it's called
4319 from programatically or via keyboard, since keyboard driven pastes
4320 need to enforce max-length
4321 - Added logic to Paste to only paste as many chars as MaxLength
4323 * RichTextBox.cs: Updated to use new obey argument for internal Paste()
4325 - Added Length property to return number of characters in document
4326 - Added private CharCount property which only tracks actual chars
4327 in the document (no linefeeds) and fires event when CharCount
4329 - Added tracking of character count to all methods that alter it
4330 - Added LengthChanged event to allow applications to subscribe
4331 to any changes to the document
4333 2005-12-15 Peter Dennis Bartok <pbartok@novell.com>
4336 - Removed local password_char field (moved to TextBoxBase)
4337 - Now setting the document's password var when password is
4340 - Added password_char field (needed here so MultiLine can
4342 - Added logic to MultiLine property setter to set the document's
4343 variable when password display is allowed
4344 - Removed debug code and made some debug code conditional
4346 - Added RecalculatePasswordLine() method to handle special password
4348 - Added PasswordChar property, also added related tracking vars
4349 - Draw() method now uses local text var for grabbing text to draw,
4350 this var is set to line.text unless we're doing password display,
4351 then it is set to the pre-generated all-password-chars line
4352 - Added calling RecalculatePasswordLine() method for password lines
4354 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4357 - Added Reparented property to allow tracking of Window Manager
4358 reparenting actions (which affect X/Y calculations of toplevel
4360 - Made ToString() print window handles in hex
4362 - AddConfigureNotify(): Now uses reparented state off Hwnd to
4363 determine if X/Y needs offsetting
4364 - AddConfigureNotify(): Fixed offset calculations
4365 - Now adds ReparentNotify messages into the queue
4366 - Now processes ReparentNotify messages and causes a
4367 WM_WINDOWPOSCHANGED message to be sent upstream if a window
4368 is reparented (as most likely it's X/Y coordinates are changed
4371 2005-12-14 Jackson Harper <jackson@ximian.com>
4373 * XplatUIX11.cs: Tool windows still need to respek focus.
4375 2005-12-14 Peter Dennis Bartok <pbartok@novell.com>
4377 * Control.cs: Undid 54254 (causing XConfigure errors) so we can
4378 have a working release
4380 2005-12-13 Jackson Harper <jackson@ximian.com>
4382 * Form.cs: Update styles after setting the border style regardless
4383 of whether or not the window is using a window manager.
4385 2005-12-13 Jackson Harper <jackson@ximian.com>
4387 * Form.cs: We now hook into an internal window manager instead of just an
4388 MDI subsystem, this is so we can have properly behaving tool windows.
4389 * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
4390 * InternalWindowManager.cs: New internal class that acts as a
4391 window manager for tool windows and as a base for mdi windows.
4392 * MdiWindowManager.cs: New class that acts as a window manager for
4395 2005-12-12 Jackson Harper <jackson@ximian.com>
4397 * Control.cs: Updates so we match behavoir for for implicit
4398 controls. Fixes explosions in MDI.
4400 2005-12-12 Jackson Harper <jackson@ximian.com>
4402 * Control.cs: Implement Invalidate (Region).
4404 2005-12-12 Peter Dennis Bartok <pbartok@novell.com>
4407 - Changed handling of Controls.Add/Controls.Remove to fire (almost)
4408 the same events as MS does. MS fires events for each property
4409 except, for unknown reasons, Cursor, when the control is reparented.
4410 I can't seem to totally match add/remove since MS also fires some
4411 VisibleChanged events, which makes no sense. Consolidated the
4412 parenting code into a separate method so it can be called from
4413 both Add and Remove. set_Parent no longer needs any special logic
4414 as it calls the parent's add method which implicitly fires
4416 - Removed some obsolete code and debug output
4417 - Enabled state is inherited from parents, if this is enabled
4419 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4421 * Form.cs: Removed commented out code
4423 2005-12-08 Peter Dennis Bartok <pbartok@novell.com>
4426 - Added internal version of Invoke, with additional argument
4427 indicating if we're calling it from a Dispose() handler. That
4428 way we can avoid BeginInvoke throwing an exception if we're
4429 calling for an already destroyed window.
4430 - Added a dispose argument to BeginInvokeInternal, and made the
4431 check if a valid window handle chain exists conditional on
4432 it not being a dispose call
4433 - Removed code in DestroyHandle to destroy our children. Since we
4434 now handle the WM_DESTROY message we will catch all our children
4436 - Now calling OnHandleDestroyed from our new WM_DESTROY handler
4438 - Added a field to track the application context of the form.
4439 - No need to set closing variable as response to WM_CLOSE, instead
4440 we destroy the window. We also call PostQuitMessage if the form
4441 has an application context (which makes it the main app form,
4442 which, when closed terminates the app)
4444 - Dropped Exit() method, it's naming was confusing
4445 - Added PostQuitMessage() which causes GetMessage to return false
4446 once the message queue is empty
4447 * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
4449 * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
4450 no longer a valid XplatUI method, but left it in since it's used
4451 internally. Added empty PostQuitMessage() method.
4452 * MenuAPI.cs: Replaced call to Exit() with call to
4453 PostQuitMessage, even though this is probably no longer needed.
4454 * Hwnd.cs: Added 'pretty' ToString() to support debugging.
4455 * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
4457 - Replaced call to XplatUI.Exit() with PostQuitMessage()
4458 - Removed old debug code that would call XplatUI for exception
4459 display, enabled standard exception handling (Still not enabled
4460 though, until NativeWindow's ExternalExceptionHandler define
4463 - Added internal method to allow control to update NativeWindow
4464 after a window has been destroyed
4465 - Added handling of already destroyed windows when calling i
4467 - Added removal of handle from list on ReleaseHandle
4469 - Dropped GetMessageResult var and related code
4470 - Added PostQuitState to field to track if PostQuitMessage has been
4472 - Dropped Exit() method
4473 - Added PostQuitMessage() method
4474 - GetMessage now will return false if PostQuitState is set and no
4475 more messages are in the queue.
4476 - Expose handler will no longer generate WM_PAINT messages if we are
4477 in PostQuitState since it's very likely any windows have already
4478 been destroyed, and since Hwnd won't get updated until we have
4479 processed the DestroyNotify we'd be causing X errors.
4481 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4483 * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
4484 Thanks to Mike for pointing out the err of my ways.
4486 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4488 * Control.cs(PreProcessMessage): Moved menu handling back, but
4489 after all other key handling, to match MS (who handles Menu in
4491 * Menu.cs (WndProc): Removed my brainfart
4493 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4495 * Control.cs(PreProcessMessage): Removed special menu handling
4496 * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
4498 2005-12-07 Mike Kestner <mkestner@novell.com>
4500 * Control.cs : special case SYSKEYUP so that we can adjust keynav
4501 state according in tracker.
4502 * Menu.cs : promote tracker field to base class and provide a tracker
4503 lookup capability. Add/Remove shortcuts dynamically if the top menu
4504 has a tracker. Unparent items that are removed from the collection.
4505 * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
4506 * Theme*.cs: add always_show_hotkeys field to support configurability
4507 of mnemonic display. win32 doesn't show mnemonics until Alt is
4510 2005-12-07 Jackson Harper <jackson@ximian.com>
4512 * MdiChildContext.cs: Use Control.ResetCursor.
4513 * Control.cs: ResetCursor needs to set the property so that the
4514 correct XplatUI call gets made.
4516 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4518 * Control.cs: More fixes to make our key events match MS. We
4519 were not setting the modifier state on KeyData, and we were
4520 not generating any events when Alt was pressed with a key
4521 since handling of WM_SYSxxx was missing for the OnKey methods.
4523 2005-12-07 Jackson Harper <jackson@ximian.com>
4525 * MdiChildContext.cs: reenable the sizing code.
4526 - When the mouse leaves a window reset its cursor.
4528 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4530 * ThemeClearlooks.cs: Reflect latest Hwnd changes
4532 2005-12-07 Peter Dennis Bartok <pbartok@novell.com>
4534 * Hwnd.cs: Now using the theme 3d bordersize to calculate
4535 widths of Fixed3D borders
4537 2005-12-07 Jackson Harper <jackson@ximian.com>
4539 * MdiClient.cs: Fix warnings. Earn Mike's love.
4541 2005-12-07 Alexander Olk <alex.olk@googlemail.com>
4543 * ThemeClearlooks.cs:
4544 - Adjusted mouse over button color
4545 - Added first parts of CheckBox drawing
4546 - Added correct color for selected text background
4547 - Fixed ComboBox drawing
4548 - Added CPDrawBorder3D and CPDrawBorder
4550 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4552 * XplatUIX11.cs: Added call to XBell for AudibleAlert
4554 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4556 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
4557 XplatUIOSX.cs: Added AudibleAlert() method to have a means to
4558 alert users via sound. We could add an enum arg with different
4559 types of alerts in the future
4561 2005-12-06 Peter Dennis Bartok <pbartok@novell.com>
4563 * Control.cs: Fix behaviour problems pointed out by Mike
4565 2005-12-05 Mike Kestner <mkestner@novell.com>
4567 * StatusBarPanel.cs: add Invalidate method and hook it into all the
4568 prop setters. Calls parent.Refresh for now, but could be maybe be
4569 optimized with an internal method on StatusBar at some point.
4572 2005-12-05 Peter Dennis Bartok <pbartok@novell.com>
4574 * RichTextBox.cs: Implemented get_SelectionColor
4576 2005-12-05 Alexander Olk <alex.olk@googlemail.com>
4578 * ThemeClearlooks.cs:
4580 - Draw black button border only if button is Form.AcceptButton
4581 - Draw correct button color for pressed RadioButton if the mouse
4582 has entered the button
4583 - Updated ProgressBar drawing!
4584 - Updated CPDrawSizeGrip drawing
4585 - Updated StatusBarPanel drawing
4587 2005-12-05 Mike Kestner <mkestner@novell.com>
4589 * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
4590 * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
4592 2005-12-04 Alexander Olk <alex.olk@googlemail.com>
4594 * ThemeClearlooks.cs: Initial check-in, activate with
4595 export MONO_THEME=clearlooks
4596 * ThemeEngine.cs: Added ThemeClearlooks
4598 2005-12-03 Mike Kestner <mkestner@novell.com>
4600 * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
4603 2005-12-02 Jackson Harper <jackson@ximian.com>
4605 * Form.cs: If the child form has no menu the default main menu is
4606 used as the active menu.
4608 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4610 * ListBox.cs: Check if any items exist before trying to resolve
4611 coordinates into items
4613 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4615 * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
4616 as the second color for the background hatch
4618 2005-12-02 Peter Dennis Bartok <pbartok@novell.com>
4620 * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
4621 * RichTextBox.cs: FormatText position arguments are 1-based, now making
4622 sure that what we pass to FormatText is always 1-based. Fixes #76885
4624 2005-11-29 Miguel de Icaza <miguel@novell.com>
4626 * NumericUpDown.cs (EndInit): When we are done initializing,
4627 reflect any updates on the UI.
4629 2005-12-02 Jackson Harper <jackson@ximian.com>
4631 * ImplicitHScrollBar.cs:
4632 * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
4633 their container controls.
4634 * TreeView.cs: Use the new implicit scrollbars.
4636 2005-12-02 Jackson Harper <jackson@ximian.com>
4638 * TreeView.cs: Make top_node internal so the TreeNodeCollections
4640 * TreeNodeCollection.cs: If we remove the topnode we need to
4641 update topnode to the next node in line.
4642 - When clearing nodes go through the same process as removing
4643 them, so they get depareneted and checked if they are top node.
4645 2005-12-01 Jackson Harper <jackson@ximian.com>
4647 * TreeView.cs: When imagelists are used the image area is
4648 selectable as well as the text.
4649 - If there are no selected nodes select the first one.
4650 * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
4651 so don't do it more then we need to.
4653 2005-12-01 Jackson Harper <jackson@ximian.com>
4655 * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
4656 that arrows can be scaled.
4658 2005-12-01 Jackson Harper <jackson@ximian.com>
4660 * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
4661 fail. Patch by Dieter Bremes
4663 2005-11-30 Jackson Harper <jackson@ximian.com>
4665 * Form.cs: Property is 2.0 only
4666 * PrintDialog.cs: Signature fix.
4668 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4671 - No longer artificially moves text 2 pixels down (now that we have
4672 borders this is no longer needed)
4673 - Added calcs for left, hanging and right indent
4675 2005-11-23 Mike Kestner <mkestner@novell.com>
4677 * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
4679 2005-11-30 Jackson Harper <jackson@ximian.com>
4681 * MdiChildContext.cs: Set the cloned menus forms, as these don't
4682 get cloned as part of CloneMenu ().
4683 * Menu.cs: Make sure the parent of the items get set correctly
4684 when they are added. And the owners are notified of the changes.
4685 * Form.cs: Create an ActiveMenu property, so that when MDI is used
4686 we can change the menu being displayed/handled by the form without
4687 changing the menu assosciated with the form.
4688 - Don't let Mdi children draw/handle menus.
4690 2005-11-30 Jackson Harper <jackson@ximian.com>
4692 * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
4693 a MenuChanged event. Just to make the API a little more
4696 * MenuItem.cs: Use the new OnMenuChanged
4697 * MdiChildContext.cs: Handle menu merging.
4698 * Form.cs: Implement MergedMenu.
4700 2005-11-30 Jackson Harper <jackson@ximian.com>
4702 * Menu.cs: We were misusing Add. Add goes behind the specified
4703 index according to the docs, and does not replace the specified
4704 index. So I added an Insert method.
4706 2005-11-30 Peter Dennis Bartok <pbartok@novell.com>
4708 * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
4709 Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
4711 * RichTextBox.cs: Added calls to base for DnD events
4713 2005-11-28 Peter Dennis Bartok <pbartok@novell.com>
4716 - Fixed drag-selection related crash; style fixes
4717 - Implemented undo class
4718 o Implemented method to capture document state for specified
4719 range in document tree
4720 o Implemented method to restore captured document state
4721 o Implemented cursor tracking
4722 o Implemented basic undo stack
4723 - Added undo cursor tracking to methods altering cursor location
4724 - Added undo tracking to selection deletion (still missing
4725 other text-altering hookups)
4727 - Added SelectionLength property
4728 - Implemented CanPaste()
4729 - Implemented Paste()
4730 - Added missing protected methods
4731 - Fixed RTF->Document conversion; now uses font index 0 and color
4732 index 0 as the default font for the parsed text
4733 - Fixed RTF<->Document font size translation
4734 - Fixed RTF generation, now properly handles cross-tag boundaries
4735 for single line selection
4736 - No longer always appends blank line to generated RTF
4738 - Added missing attributes
4739 - Hooked up undo-related methods
4741 - Implemented Copy()
4742 - Implemented Paste()
4744 - Fixed caret mis-behaviour on backspace across line-boundaries
4746 2005-11-29 Jackson Harper <jackson@ximian.com>
4748 * MdiClient.cs: Add a method for activating mdi children. Very
4749 basic right now. I imagine someday it might need more girth.
4750 * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
4751 children windows names are added to the menu item.
4752 * ThemeWin32Classic.cs: Draw the arrow if the item is an
4753 mdilist. This happens regardless of whether or not there are any
4754 mdi windows to see in the list, and according to my tests happens
4755 before the items are even added. Also happens if there isn't even
4756 an mdi client to get windows from.
4758 2005-11-29 Alexander Olk <alex.olk@googlemail.com>
4760 * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
4761 * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
4763 2005-11-29 Jordi Mas i Hernandez <jordimash@gmail.com>
4765 * DataGridTableStyle.cs:
4766 - Create always the styles for the missing columns even if they are
4767 provided by the user (not default table style)
4770 - Fixes SetDataBinding (always re-attach source)
4771 - Fixes SetNewDataSource (only clear styles if they are not for
4773 - Expands OnTableStylesCollectionChanged to handle style refresh
4776 2005-11-29 Jackson Harper <jackson@ximian.com>
4778 * FileDialog.cs: Implement missing bits, remove some dead
4780 * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
4781 creation of the panel so that the options set on the dialog are
4782 seen when the panel is created.
4783 * TreeView.cs: raise a click when items are clicked.
4785 2005-11-29 Jackson Harper <jackson@ximian.com>
4787 * MdiClient.cs: Pass some signature methods through to base.
4789 2005-11-28 Jackson Harper <jackson@ximian.com>
4791 * ListView.cs: Raise the click event when items are clicked.
4793 2005-11-28 Jackson Harper <jackson@ximian.com>
4795 * MdiClient.cs: Make this algorithm even more beautiful. And fix
4798 2005-11-27 Alexander Olk <alex.olk@googlemail.com>
4800 * ThemeNice.cs: - Removed 1 pixel bitmaps
4801 - Use SmoothingMode.AntiAlias where it makes sense
4802 (ScrollButton arrow for example)
4803 - Enhanced Button focus drawing
4804 - Fixed ComboBox drawing (no artefacts anymore, focus
4805 rectangle is back again, reduced size of ComboButton, etc.)
4806 - Fixed RadioButton focus drawing for Appearence.Button
4807 - Slight ScrollButton redesign
4808 - Some LinearGradientBrush size fixes
4809 - GroupBoxes have now rounded edges
4810 - Fixed StatusBar drawing
4812 2005-11-25 Alexander Olk <alex.olk@googlemail.com>
4814 * ThemeNice.cs: - Remove dead code
4815 - use correct background colors for menus, etc.
4816 - Fake pixel drawing with 1 pixel bitmaps
4818 2005-11-24 Jackson Harper <jackson@ximian.com>
4820 * MdiClient.cs: Size the scrollbars when resizing the window.
4821 - Resize the maximized windows when the client is resized
4822 * Form.cs: Make the child context available
4824 2005-11-23 Jackson Harper <jackson@ximian.com>
4826 * MdiChildContext.cs: Don't size windows if they are maximized.
4828 2005-11-23 Mike Kestner <mkestner@novell.com>
4830 * ContextMenu.cs: use MenuTracker.
4831 * Control.cs: remove menu handle usage.
4832 * Form.cs: remove menu handle usage.
4833 * Hwnd.cs: remove menu handle usage.
4834 * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
4835 motion and clicks to the new Tracker handlers.
4836 * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
4838 * MenuAPI.cs: refactored to combine popup and menubar event handling.
4839 Killed the MENU and MENUITEM data types and associated collections
4840 since we now keep the info on Menu and MenuItem. Expanded TRACKER into
4841 MenuTracker class that exposes the leftovers from the old MenuAPI
4842 static methods. Restructured Capture handling so that only one grab is
4843 done for the entire menu hierarchy instead of handing off grabs to
4844 submenus. Tracker now has an invisible control to Capture when active.
4845 * MenuItem.cs: add sizing accessors, kill Create
4847 * Theme.cs: remove menu handle and MENU(ITEM) usage.
4848 * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
4849 MENU(ITEM). remove menu handle usage, use Menu directly.
4850 * XplatUIDriver.cs: remove menu handle usage.
4851 * XplatUIOSX.cs: remove menu handle usage.
4852 * XplatUIWin32.cs: remove menu handle usage.
4853 * XplatUIX11.cs: remove menu handle usage.
4855 2005-11-22 Jackson Harper <jackson@ximian.com>
4857 * Hwnd.cs: Don't compute the menu size for
4858 DefaultClientRectangle.
4859 - Reenable menu sizes being computed for GetClienRectangle.
4860 * Form.cs: Remove comment of trechery
4862 2005-11-22 Jackson Harper <jackson@ximian.com>
4864 * Hwnd.cs: The adjustments for the menu bar are made when it is
4865 attached to the form.
4867 2005-11-19 Jackson Harper <jackson@ximian.com>
4869 * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
4870 (just like on windows).
4872 2005-11-19 Jackson Harper <jackson@ximian.com>
4874 * MdiChildContext.cs: Handle all the buttons ourselves. We can't
4875 use real buttons anymore because they are in non client area. The
4876 one TODO here is that I need to somehow invalidate a section of
4877 the non client area.
4879 2005-11-18 Jackson Harper <jackson@ximian.com>
4881 * Control.cs: Put the enum check back in now that MDI doesnt have
4882 to use this to set border styles.
4883 * Form.cs: Only set mdi child windows borders if the handle has
4885 * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
4886 this directly on to the driver.
4887 - Get the move start position before adjusting for the titlebar
4888 height, this fixes the windows "skipping" when they are first
4891 2005-11-18 Jackson Harper <jackson@ximian.com>
4893 * XplatUIX11.cs: Just compute the mdi borders separately as they
4894 don't totally match up with normal form borders.
4896 2005-11-18 Jackson Harper <jackson@ximian.com>
4898 * Control.cs: Set WS_ styles for borders, so that the driver does
4899 not have to retrieve the control instance to figure out what kind
4900 of borders it should have.
4901 * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
4902 driver can know its an mdi child easily.
4903 * XplatUIX11.cs: Get the border styles and whether the window is
4904 MDI from the Styles and ExStyles params instead of having to get a
4905 control. This prevents a chicken and egg problem.
4907 2005-11-18 Jackson Harper <jackson@ximian.com>
4909 * MdiClient.cs: Fix typo so scrollbars show up correctly.
4911 2005-11-18 Jackson Harper <jackson@ximian.com>
4913 * MdiClient.cs: Calculate when to add and remove scrollbars
4915 * MdiChildContext.cs: Adjust the y position to take the titlebar
4917 - No height for FormBorderStyle.None
4919 2005-11-18 Jackson Harper <jackson@ximian.com>
4921 * Control.cs: Allow non enum values to be used for
4922 InternalBorderStyle. MDI does this to set a special border style.
4923 - New utility methods for converting points to/from client coords
4924 - Add the newly created control to the Controls collection before
4925 updating its style. This way UpdateStyle can walk the control
4926 heirarchy to find the control if needed.
4927 so I don't need to create a new Point object all the time.
4928 * Form.cs: Let MDI windows handle their border styles.
4929 - Set styles on MDI windows so the correct title style is derived.
4930 * MdiChildContext.cs: Move all the painting and window handling
4931 into the non client area.
4932 - Use correct sizing and put correct buttons on frames based on
4933 the FormBorderStyle.
4934 - Notify the mdi client about scrolling
4935 - Need to handle the buttons ourselves now, because they are all
4936 in non client areas and we can't add controls there.
4937 * MdiClient.cs: Halfway to scrolling, this implementation is
4938 somewhat broken though, we need to check to make sure other
4939 windows aren't causing scrolling before removing the bars. Also
4940 the bars need to be drawn on top, maybe I can switch implicit
4941 controls to be on top.
4942 * Hwnd.cs: caption_height and tool_caption_height are now
4943 properties of an hwnd, this way they can be set by the driver
4944 based on the type of window they are. In X11 the window manager
4945 handles the decorations so caption_height is zero unless its an
4947 - Add 3 pixel borders for MDI windows (0xFFFF).
4948 - Get rid of some code duplication, have DefaultClientRectanle
4949 just call GetClientRectangle.
4950 * XplatUIX11.cs: Pass caption_height and tool_caption_height to
4952 - Set border styles differently for mdi windows.
4953 * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
4956 2005-11-15 Mike Kestner <mkestner@novell.com>
4958 * Menu.cs: when adding an item to the collection, if item is already
4959 parented, remove it from the parent.
4961 2005-11-13 Alexander Olk <alex.olk@googlemail.com>
4963 * X11DesktopColors.cs: Added KDE support
4965 2005-11-11 Peter Dennis Bartok <pbartok@novell.com>
4968 - Clipboard methods now can translate Rtf format
4969 - No longer removes clipboard contents whenever a new format is added
4970 to allow placing multiple formats on the clipboard
4971 * Clipboard.cs: Clipboard now supports getting a IDataObject and
4972 will place all formats contained in it onto the clipboard. Also
4973 now cleans the clipboard before placing a new object onto it
4975 - Implemented set_Rtf
4976 - Implemented set_SelectedRtf
4977 - Created InsertRTFFromStream() method to allow single code base
4978 for all properties and methods that insert RTF into document
4979 - Removed debug output
4981 - Fixed Delete(int) to fix up line numbers
4982 - Fixed ReplaceSelection to combine start and end line
4983 - Fixed serious DeleteChars bug that would leave the document tree
4985 - Improved DumpTree with several logic checks to detect broken
4987 - Removed debug lines
4988 - Fixed Caret.WordForward/WordBack moving code, now always also
4989 updates caret.tag (fixes crash when word-selecting across tag
4990 boundaries via keyboard)
4991 - Added Insert() method for inserting multiline text into documents
4992 - Fixed DeleteChars() calculation errors that would cause a broken
4993 tag chain with multiple tag lines
4994 - DeleteChars() no longer crashes on multi-tag lines if not all tags
4995 - Split() no longer moves caret if split is at caret location
4996 - ReplaceSelection() now updates the cursor and re-displays it
4997 - ReplaceSelection() now uses new Insert() method to avoid code
4999 - FormatText() can now handle formatting partial lines
5001 - Append now uses new TextControl.Insert() method (this avoids
5003 - Implemented Ctrl-X (Cut) (
5004 - Implemented Ctrl-C (Copy)
5005 - Implemented Ctrl-V (Paste) (Still some bugs related to screen
5006 regeneration when pasting text; roundtripping Copy&Paste within
5007 edit control still fails due to some calculation bugs in GenerateRTF)
5008 - The Delete key will now remove the current selection if it is visible
5009 * TextBox.cs: Removed debug lines
5010 * XplatUI.cs: Trigger initialization of DataFormats (which requires the
5011 driver to be initialized and can't therefore be done via a static ctor)
5013 2005-11-10 Peter Dennis Bartok <pbartok@novell.com>
5015 * TextControl.cs: Added backend code for finding char arrays and strings
5017 - Added mouse wheel scroll support
5018 - Added support for VScroll and HScroll events
5020 - Implemented all seven Find() variants
5021 - Implemented GetCharFromPosition()
5022 - Implemented GetCharIndexFromPosition()
5023 - Implemented GetLineFromIndex()
5024 - Implemented GetPositionFromCharIndex();
5025 - Implemented SaveFile for PlainText and UnicodeText
5026 - Fixed set_Font, now setting a new font applies that font to
5028 - Implemented generic Document to RTF converter
5029 - Implemented SaveFile for RichText format (still missing unicode
5030 conversion for non-ansi chars)
5031 - Implemented get_Rtf
5032 - Implemented get_SelectedRtf
5034 2005-11-09 Peter Dennis Bartok <pbartok@novell.com>
5036 * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
5037 to allow any captures to be released before triggering OnClick. This
5038 way a click handler may capture the mouse without interference.
5039 * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
5040 This way we send them even though X may not allow a grab (if the window
5041 isn't visible, for example)
5043 2005-11-08 Pedro Martinez Julia <pedromj@gmail.com>
5045 * DataGridViewRowEventArgs.cs: DataGridView implementation
5046 * DataGridViewElement.cs: DataGridView implementation
5047 * DataGridViewComboBoxCell.cs: DataGridView implementation
5048 * DataGridViewDataErrorContexts.cs: DataGridView implementation
5049 * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
5050 * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
5051 * ImageLayout.cs: DataGridView implementation
5052 * DataGridViewComboBoxColumn.cs: DataGridView implementation
5053 * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
5054 * DataGridViewSelectionMode.cs: DataGridView implementation
5055 * IDataGridViewEditingControl.cs: DataGridView implementation
5056 * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
5057 * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
5058 * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
5059 * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
5060 * DataGridViewColumnSortMode.cs: DataGridView implementation
5061 * DataGridView.cs: DataGridView implementation
5062 * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
5063 * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
5064 * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
5065 * Padding.cs: DataGridView implementation
5066 * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
5067 * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
5068 * DataGridViewRowEventHandler.cs: DataGridView implementation
5069 * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
5070 * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
5071 * DataGridViewButtonCell.cs: DataGridView implementation
5072 * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
5073 * DataGridViewEditMode.cs: DataGridView implementation
5074 * DataGridViewCellValueEventArgs.cs: DataGridView implementation
5075 * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
5076 * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
5077 * DataGridViewCheckBoxColumn.cs: DataGridView implementation
5078 * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
5079 * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
5080 * DataGridViewCellEventHandler.cs: DataGridView implementation
5081 * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
5082 * DataGridViewCellStyleConverter.cs: DataGridView implementation
5083 * DataGridViewSelectedRowCollection.cs: DataGridView implementation
5084 * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
5085 * DataGridViewColumnEventArgs.cs: DataGridView implementation
5086 * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
5087 * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
5088 * QuestionEventArgs.cs: DataGridView implementation
5089 * IDataGridViewEditingCell.cs: DataGridView implementation
5090 * DataGridViewTriState.cs: DataGridView implementation
5091 * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
5092 * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
5093 * DataGridViewColumnCollection.cs: DataGridView implementation
5094 * DataGridViewCellValueEventHandler.cs: DataGridView implementation
5095 * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
5096 * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
5097 * DataGridViewColumn.cs: DataGridView implementation
5098 * DataGridViewCellBorderStyle.cs: DataGridView implementation
5099 * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
5100 * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
5101 * DataGridViewRow.cs: DataGridView implementation
5102 * DataGridViewImageCellLayout.cs: DataGridView implementation
5103 * DataGridViewImageCell.cs: DataGridView implementation
5104 * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
5105 * DataGridViewCheckBoxCell.cs: DataGridView implementation
5106 * DataGridViewHeaderCell.cs: DataGridView implementation
5107 * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
5108 * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
5109 * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
5110 * DataGridViewTextBoxColumn.cs: DataGridView implementation
5111 * QuestionEventHandler.cs: DataGridView implementation
5112 * DataGridViewCellStyleScopes.cs: DataGridView implementation
5113 * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
5114 * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
5115 * DataGridViewCell.cs: DataGridView implementation
5116 * DataGridViewCellEventArgs.cs: DataGridView implementation
5117 * DataGridViewClipboardCopyMode.cs: DataGridView implementation
5118 * DataGridViewCellStyle.cs: DataGridView implementation
5119 * DataGridViewColumnHeaderCell.cs: DataGridView implementation
5120 * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
5121 * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
5122 * TextFormatFlags.cs: DataGridView implementation
5123 * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
5124 * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
5125 * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
5126 * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
5127 * DataGridViewButtonColumn.cs: DataGridView implementation
5128 * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
5129 * HandledMouseEventArgs.cs: DataGridView implementation
5130 * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
5131 * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
5132 * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
5133 * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
5134 * DataGridViewRowCollection.cs: DataGridView implementation
5135 * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
5136 * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
5137 * DataGridViewHitTestType.cs: DataGridView implementation
5138 * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
5139 * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
5140 * DataGridViewColumnEventHandler.cs: DataGridView implementation
5141 * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
5142 * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
5143 * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
5144 * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
5145 * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
5146 * DataGridViewContentAlignment.cs: DataGridView implementation
5147 * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
5148 * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
5149 * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
5150 * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
5151 * DataGridViewPaintParts.cs: DataGridView implementation
5152 * DataGridViewCellCollection.cs: DataGridView implementation
5153 * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
5154 * DataGridViewImageColumn.cs: DataGridView implementation
5155 * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
5156 * DataGridViewElementStates.cs: DataGridView implementation
5157 * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
5158 * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
5159 * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
5160 * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
5161 * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
5162 * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
5163 * DataGridViewRowHeaderCell.cs: DataGridView implementation
5164 * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
5165 * DataGridViewTextBoxCell.cs: DataGridView implementation
5166 * DataGridViewBand.cs: DataGridView implementation
5167 * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
5168 * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
5169 * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
5170 * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
5171 * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
5172 * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
5173 * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
5174 * DataGridViewSelectedCellCollection.cs: DataGridView implementation
5175 * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
5176 * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
5177 * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
5179 2005-11-08 Peter Dennis Bartok <pbartok@novell.com>
5181 * ThemeWin32Classic.cs:
5182 - Draw the outside focus rectangle around buttons
5183 - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
5184 doesn't use end caps for every dash of a line anymore. This
5185 workaround ignores the forecolor.
5187 2005-11-08 Kornél Pál <kornelpal@hotmail.com>
5189 * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
5192 2005-11-07 Jackson Harper <jackson@ximian.com>
5194 * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
5196 2005-11-07 Jackson Harper <jackson@ximian.com>
5198 * ScrollableControl.cs: Calculate the maximum and change vars
5199 (more) correctly so that scrollbars appear as a sensible size.
5201 2005-11-04 Jackson Harper <jackson@ximian.com>
5203 * TreeNodeCollection.cs: Refresh when nodes are cleared from the
5205 * TreeView.cs: When the tree is sorted null out the top_node so
5206 that it is recalculated.
5207 - Use dotted lines instead of dashed lines to match MS better.
5209 2005-11-04 Jordi Mas i Hernandez <jordimash@gmail.com>
5212 - Implements key search for items. Useful when browsing files with FileDialog
5213 - When changing view mode or when clear the items reset scrollbar positions
5215 2005-11-04 Jackson Harper <jackson@ximian.com>
5217 * CurrencyManager.cs: Implement the MetaDataChanged event, the
5218 Reset method, and the CheckEmpty. CheckEmpty is just a total guess
5219 as to what the method may do as there is no real way of creating a
5220 derived CurrencyManager and calling the method.
5222 2005-11-03 Jackson Harper <jackson@ximian.com>
5224 * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
5225 * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
5226 method which seems to just be used internally to refresh the tabs.
5228 2005-11-03 Jackson Harper <jackson@ximian.com>
5230 * TabControl.cs: Implement the remove method. Fix some broken
5233 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5235 * DateTimePicker.cs:
5236 - Added missing DateTimePickerAccessibleObject class
5237 - Added missing events
5238 - Added OnFontChanged method
5239 * Form.cs: Added missing attributes
5240 * TreeView.cs: Added missing attributes
5242 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5244 * GridItemCollection.cs: Fix signatures
5246 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5248 * XplatUI.cs: Updated build rev/date
5249 * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
5250 DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
5251 * Application.cs: Trigger context-specific ExitThread events
5253 2005-11-03 Jackson Harper <jackson@ximian.com>
5257 * GridTableStylesCollection.cs:
5262 * MonthCalendar.cs: Signature fixes
5264 2005-11-03 Jackson Harper <jackson@ximian.com>
5266 * TreeNodeCollection.cs: Remove should not be virtual.
5267 * TreeView.cs: Implement the last of the missing methods.
5269 2005-11-03 Jackson Harper <jackson@ximian.com>
5271 * TreeNodeConverter.cs: Implement to get off my class-status back.
5273 2005-11-03 Jackson Harper <jackson@ximian.com>
5275 * TreeView.cs: Hookup the bits for drag and drop.
5276 * TreeNode.cs: Don't cache the tree_view or index anymore, now
5277 that nodes can be moved from tree to tree easily this just causes
5278 all sorts of problems.
5279 * TreeNodeCollection: Don't need to give treenodes an index and
5280 treeview anymore when they are added, these are computed on the
5281 fly. Also make sure to remove a node before its added.
5283 2005-11-03 Peter Dennis Bartok <pbartok@novell.com>
5286 - Added CaretSelection enum
5287 - Added comparison methods to Marker struct, makes selection code
5289 - Added SelectionStart and SelectionEnd as 'moveable' location for
5290 the CaretDirection enum and handler
5291 - Added selection_prev variable to track optimized invalidation for
5292 word and line selection
5293 - Added SelectionVisible property (returns true if there is a valid
5295 - Switched CaretHasFocus to only display the caret if there is no
5297 - Avoiding StringBuilder.ToString to retrieve a single char, instead
5298 using the direct character index; should be much faster
5299 - Added various conditional debug statements
5300 - Fixed invalidation calculation for selection ranges
5301 - Added ExpandSelection() method to support word and line selection
5302 - Switched SetSelectionToCaret to use new Marker compare overloads
5303 - Added central IsWordSeparator() method to determine word
5304 separators/whitespace and FindWordSeparator() to streamline common
5305 usage of IsWordSeparator()
5307 - Removed unneeded grabbed variable, it was just mirroring
5309 - No longer firing OnTextChanged event when Text setter is called,
5310 since the base will fire the event for us
5311 - Added handling of Ctrl-Up/Down selection
5312 - Added handling of Shift-Cursorkey selection
5313 - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
5315 - Added handling of Shift and Ctrl-Shift-Home/End selection
5316 - Removed some debug output
5317 - Added handling for single/double/tripple-click to place caret/
5318 select word/select line respectively (Fixes bug #76031)
5319 - Added support for drag expansion of word/line selection
5320 * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
5323 2005-11-02 Jackson Harper <jackson@ximian.com>
5325 * X11Dnd.cs: If the drag is going to and from a MWF window just
5326 copy the data instead of sending it out through the X Selection
5329 2005-11-02 Jackson Harper <jackson@ximian.com>
5332 * XplatUIX11.cs: When in a drag we don't want motion notify
5333 messages to get passed on to the other controls. This prevents
5334 mouse move messages from showing up in the drag source.
5336 2005-11-02 Jackson Harper <jackson@ximian.com>
5338 * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
5339 the correct button is release to end a drag.
5340 * XplatUIX11.cs: Make the button state internal so the drag system
5341 can access it. Dragging needs to know about all button releases,
5342 not just left button.
5344 2005-11-02 Miguel de Icaza <miguel@novell.com>
5346 * Form.cs (Icon): If the icon is null, reset the icon to the
5349 * Cursor.cs: When writing the AND-mask bitmap do not include the
5350 number of colors, but hardcode those to two (black and white),
5351 fixes the loading of color cursors (Paint Dot Net).
5353 * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
5354 turn off autoscaling.
5356 * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
5358 2005-11-02 Jackson Harper <jackson@ximian.com>
5360 * X11Dnd.cs: Make sure to send a status message if the pointer
5361 enters a control that can not accept a drop, otherwise the cursor
5362 isn't updated correctly. Also tried to compress the lines of code
5365 2005-11-02 Jackson Harper <jackson@ximian.com>
5367 * X11Dnd.cs: Change cursors based on drag action. Also attempt to
5368 set actions correctly. This isn't perfect as XDND and win32 have
5369 some differences on how you allow actions. I'll clear this up by
5370 adding a path for drag from MWF to MWF windows.
5371 * XplatUIX11.cs: Hook into the dnd system.
5373 2005-11-02 Jordi Mas i Hernandez <jmas@softcatala.org>
5375 * ListView.cs: Fixes scroll bar visibility. Hide them if they were
5376 previously shown but they are no longer need it. Very obvious when
5377 browsing files with FileDialog.
5379 2005-11-01 Peter Dennis Bartok <pbartok@novell.com>
5381 * Control.cs: We always need to call OnPaintBackground. We pretty much
5382 ignore AllPaintingInWmPaint and always do the painting there, whether
5383 it's set or not, since we always ignore the WM_ERASEBKGND message
5384 (which we don't generate on X11). This fixes #76616.
5385 * Panel.cs: Removed unneeded background painting. This happens properly
5386 in Control.cs already
5388 2005-10-31 Mike Kestner <mkestner@novell.com>
5390 * Menu.cs: Add items to collection before setting their index.
5391 * MenuItem.cs : add range checking with ArgumentException like MS.
5394 2005-10-31 Jackson Harper <jackson@ximian.com>
5396 * ListBox.cs: Invalidate if the area is visible at all not just
5397 contained in the visible rect. Fixes unselection of semi visible
5400 2005-10-31 Jackson Harper <jackson@ximian.com>
5402 * Control.cs: Consistently name the dnd methods. Make them
5403 internal so we can override them to match some MS behavoir
5405 * Win32DnD.cs: Use the new consistent names.
5407 2005-10-31 Jackson Harper <jackson@ximian.com>
5409 * TreeView.cs: Don't draw the selected node when we lose focus.
5411 2005-10-31 Jackson Harper <jackson@ximian.com>
5413 * X11Dnd.cs: We still need to reset the state even though a full
5414 reset isn't being done, otherwise status's still get sent all over
5417 2005-10-31 Jackson Harper <jackson@ximian.com>
5419 * Control.cs: Make the dnd_aware flag internal so the dnd
5420 subsystem can check it. Catch exceptions thrown in dnd handlers to
5422 * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
5423 * X11Dnd.cs: Handle null data in the converters. Set the XDND
5424 version when sending a XdndEnter. Use the control/hwnd dnd_aware
5425 flags to reduce the number of dnd enters/status's sent.
5427 2005-10-31 Jackson Harper <jackson@ximian.com>
5429 * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
5431 2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
5433 * PictureBox.cs: Fixes 76512
5435 2005-10-28 Jackson Harper <jackson@ximian.com>
5437 * X11Dnd.cs: Early implementation to support winforms being a drag
5438 source for data on X11. Also restructured the converters so they
5439 can go both ways now.
5440 * XplatUIX11.cs: Tie ins to the the Dnd stuff.
5442 2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
5444 * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
5447 2005-10-27 Jackson Harper <jackson@ximian.com>
5449 * TreeNode.cs: Implement serialization so my DnD examples will work.
5451 2005-10-24 Kornél Pál <kornelpal@hotmail.com>
5453 * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
5454 TreeView.cs: Don't dispose objects that are not owned.
5456 2005-10-24 Peter Dennis Bartok <pbartok@novell.com>
5458 * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
5459 should retrieve the current cursor and report that, but XplatUI
5460 doesn't (yet) have an interface for that (and I'm not sure I even
5462 * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
5463 until any message loop processing is done (and the WM_SETCURSOR
5464 replaces the cursor to the proper one)
5466 - Fixed override behaviour, we can't set the cursor globally on X11,
5467 just for our windows.
5468 - Invalidating the System.Drawing X11 display handle when we are
5470 * Control.cs: Fix to make csc happy
5472 2005-10-23 Peter Dennis Bartok <pbartok@novell.com>
5475 - get_Text: Add last line (without trailing newline) to returned
5477 - get_TextLength: Count last line in returned length
5478 - ToString: Call Text property instead of duplicating code
5480 2005-10-23 Kornél Pál <kornelpal@hotmail.com>
5482 * ImageList.cs: Dispose ImageAttributes objects.
5484 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5486 * ImageList.cs: Use attribute constructors with less arguments where
5489 2005-10-22 Kornél Pál <kornelpal@hotmail.com>
5491 * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
5492 Use typeof instead of strings when assembly is referenced. Added
5495 2005-10-21 Jackson Harper <jackson@ximian.com>
5497 * ListView.cs: Raise a double click event. Also tried to somewhat
5498 fix when the selectedindexchanged event is raised. Its still
5501 2005-10-21 Jackson Harper <jackson@ximian.com>
5503 * TreeView.cs: New method to invalidate the plus minus area of a
5504 node without invalidating the whole node (maybe this can be used
5505 in some more places).
5506 * TreeNodeCollection.cs: When adding to an empty node we need to
5507 invalidate its plus minus area so the little block shows up.
5509 2005-10-21 Jackson Harper <jackson@ximian.com>
5511 * TreeView.cs: Make sure that when we invalidate a node the bounds
5512 are big enough to cover the selected box and the focus
5513 rectangle. Use a different colour for the lines connecting nodes
5514 so they show up with all themes.
5516 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5518 * NativeWindow.cs: Don't call anything that could call into the driver,
5519 we might be on a different thread.
5521 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5523 * Control.cs(Dispose): Since Dispose might run on a different thread,
5524 make sure that we call methods that could call into the driver via
5525 invoke, to avoid thread issues
5527 2005-10-21 Peter Dennis Bartok <pbartok@novell.com>
5529 * XplatUI.cs: Removed finalizer
5530 * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
5531 not allowing to be called on the finalizer thread.
5533 2005-10-21 Kornél Pál <kornelpal@hotmail.com>
5536 - Reverted r51889 and r51891.
5537 - Added ImageListItem class that stores unmodified image items and image
5538 properties required to create list images until handle is created.
5539 - Added AddItem and moved image creation logic to AddItemInternal.
5540 - Added CreateHandle method that creates images based on unmodified items.
5541 - Added DestroyHandle that changes state to store unmodified items.
5542 - Add and AddStrip methods no more create handle.
5543 - ReduceColorDepth has no return value.
5544 - Dispose destroys handle.
5545 - Modified other methods to reflect the above changes.
5546 - Implemented key support.
5547 - Added profile 2.0 members and attributes.
5548 - Added private Reset and ShouldSerialize methods that provide the same
5549 behavior as MS.NET but the Visual Studio .NET designer seems to ignore
5550 them as they are private.
5551 - Added some more comments about implementation details.
5553 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5555 * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
5557 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5559 * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
5561 2005-10-21 Jordi Mas i Hernandez <jordi@ximian.com>
5563 * DataGridDrawingLogic.cs: Fixes column hit calcultation
5564 * DataGridColumnStyle.cs: Remove debug message
5566 2005-10-20 Jackson Harper <jackson@ximian.com>
5568 * TreeView.cs: We can always get input keys regardless of whether
5569 or not editing is enabled. They are used for navigation.
5571 2005-10-20 Jackson Harper <jackson@ximian.com>
5573 * TreeNode.cs: Use the viewport rect for determining if a node
5574 needs to be moved for visibility. Don't use Begin/End edit. This
5575 calls a full refresh when its done.
5576 * TreeView.cs: New SetBottom works correctly. Make the viewport
5577 rect property internal so the treenodes can see it. When clicking
5578 on a node we need to ensure that its visible because it might just
5579 be partly visible when clicked.
5581 2005-10-20 Jackson Harper <jackson@ximian.com>
5583 * TreeNodeCollection.cs: Remove debug code.
5585 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5587 * Datagrid.cs: Implements column sorting in Datagrid
5588 * DataGridColumnStyle.cs: Implements column sorting in Datagrid
5590 2005-10-20 Jackson Harper <jackson@ximian.com>
5592 * TreeNodeCollection.cs: Remove items properly. Update the correct
5593 area after removing them.
5595 2005-10-20 Jordi Mas i Hernandez <jordi@ximian.com>
5597 * Datagrid.cs: Should not call base.OnPaintBackground
5599 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5601 * XplatUIX11.cs (GetMessage):
5602 - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
5603 window instead of client window
5604 - Now properly calculates NC_xBUTTONUP message coordinates
5605 - ScreenToMenu now properly calculates it's coordinates of whole
5606 window, since menus are in the whole window, not in the client
5608 - Added WholeToScreen coordinate translation method
5610 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5612 * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
5613 want to return a message, loop back to the beginning of the function
5614 and grab the next real message to process instead.
5616 2005-10-20 Peter Dennis Bartok <pbartok@novell.com>
5618 * Splitter.cs: Properly set limits if no filler control is used
5620 2005-10-19 Jackson Harper <jackson@ximian.com>
5622 * ColorDialog.cs: Don't show the help button if it is not enabled
5623 instead of disabling it (this is what MS does). Don't create the
5624 panel until the dialog is run, otherwise the vars (such as
5625 ShowHelp) are not set yet.
5627 2005-10-19 Jackson Harper <jackson@ximian.com>
5629 * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
5630 are reduced when adding nodes.
5632 * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
5635 2005-10-19 Jackson Harper <jackson@ximian.com>
5637 * FolderBrowserDialog.cs: End editing our treeview so the window
5638 actually gets refreshed.
5640 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5642 * Control.cs: Fixed logic flip on when to call OnPaintBackground.
5643 Obsoleted handling of WM_ERASEBKGND, now always draws our background
5646 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5648 * MenuAPI.cs: Returns after Hidding window
5649 * XplatUIX11.cs: Added TODO found while debugging menu issues
5651 2005-10-18 Peter Dennis Bartok <pbartok@novell.com>
5653 * XplatUIX11.cs: Do not re-map the whole window when it's size
5654 becomes non-zero unless it's supposed to be actually visible
5656 2005-10-18 Jackson Harper <jackson@ximian.com>
5658 * TreeView.cs: We don't need to keep a count anymore.
5659 * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
5660 use the Grow method.
5662 2005-10-18 Jackson Harper <jackson@ximian.com>
5664 * TreeNodeCollection.cs: Insert is not supported on arrays, so
5665 implement it manually here.
5667 2005-10-18 Jackson Harper <jackson@ximian.com>
5669 * ImageList.cs: Dont kill the list when the colour depth is
5670 changed, just change the colour depth of all the images.
5671 - Same goes for setting the image size. Just resize them all
5672 instead of killing the list softly.
5674 2005-10-18 Jackson Harper <jackson@ximian.com>
5676 * Control.cs: Don't invalidate empty rectangles.
5678 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5681 - Adds checked item to the Checked/Item lists (where empty before)
5682 - Do not add items to the Selected lists if they are already present
5684 - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
5685 - When deleting items make sure that we delete them for the Selected
5686 and Checked list also.
5688 2005-10-18 Jordi Mas i Hernandez <jordi@ximian.com>
5690 * Label.cs: Dispose objects no longer used
5691 * ThemeWin32Classic.cs: Dispose objects no longer used
5693 2005-10-18 Jackson Harper <jackson@ximian.com>
5695 * TabControl.cs: Don't refresh the whole control when the tabs are
5696 scrolled, we just need to refresh the tab area.
5698 2005-10-17 Jackson Harper <jackson@ximian.com>
5700 * XplatUIX11.cs: Compress code a little bit. Only calculate the
5701 after handle when we need it.
5703 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5705 * Control.cs: When the parent size changes, recalculate anchor
5706 positions. Partial fix for #76462
5708 2005-10-17 Peter Dennis Bartok <pbartok@novell.com>
5710 * ThemeWin32Classic.cs: Make sure the picturebox has it's background
5713 2005-10-17 Jackson Harper <jackson@ximian.com>
5715 * MonthCalendar.cs: Don't create the numeric up down until our
5716 handle is created. Otherwise our handle is created in the
5717 constructor and we don't know if we are a WS_CHILD or WS_POPUP
5720 2005-10-17 Jackson Harper <jackson@ximian.com>
5722 * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
5725 2005-10-17 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
5726 * TreeNode.cs : small logical fix (was using local var instead of field)
5728 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5730 * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
5732 2005-10-17 Jordi Mas i Hernandez <jordi@ximian.com>
5734 * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
5736 2005-10-16 Peter Dennis Bartok <pbartok@novell.com>
5739 - Re-implemented anchoring code. My first version was really broken.
5740 This fixes bug #76033. Unlike the previous implementation we will
5741 no longer have round errors since all numbers are calculated from
5742 scratch every time. Removed various anchor-related obsolete vars.
5743 - InitLayout no longer causes layout event firing and layout to be
5746 2005-10-16 Jackson Harper <jackson@ximian.com>
5748 * Hwnd.cs: Compute invalid area correctly (fixes my last commit
5751 2005-10-16 Jackson Harper <jackson@ximian.com>
5753 * TabControl.cs: Remove debug code.
5755 2005-10-16 Jackson Harper <jackson@ximian.com>
5757 * XEventQueue.cs: Increase the default queue size (very simple
5758 apps needed to grow the queue).
5759 * Hwnd.cs: No finalizer so we don't need to suppress
5760 finalization. Compute the invalid area manually so a new rectangle
5761 does not newto be created.
5762 * ScrollableControl.cs: Don't set any params (otherwise visibility
5763 isn't set correctly).
5764 * MdiChildContext.cs: New constructor takes the mdi parent so it
5765 doesn't have to be computed and avoids a crash on windows. Draw
5766 the window icon properly, and allow the text to be seen.
5767 * Form.cs: Use new MdiChildContext constructor. Make sure the
5768 child context isn't null in wndproc.
5769 * TabControl.cs: Don't set focus, this is muddling keyboard
5770 behavoir. Expand the tab rows when a window size increase will
5771 allow extra tabs to be seen. Don't allow tabs smaller than the
5772 width of a window to be scrolled out of view.
5774 * TreeView.cs: Use measure string to calculate a nodes width, the
5775 width is cached and only updated when the text or the font is
5776 changed. Don't check for expand/collapse clicks on the first level
5777 nodes if root lines are disabled.
5779 2005-10-16 Ritvik Mayank <mritvik@novell.com>
5781 * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
5783 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5785 * DataGridBoolColumn.cs: fixes warning
5787 2005-10-16 Jordi Mas i Hernandez <jordi@ximian.com>
5789 * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
5790 to match more to match more precisely the MS Net behavior
5792 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5794 * Hwnd.cs: Added field to track if window is mapped
5796 - Unmap windows if they become 0-size, re-map when
5797 they are >0 again; fixes #76035
5798 - Re-set our error handler after initializing X11Desktop
5799 to override any error handlers Gtk or whatever was called
5802 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5804 * CheckedListBox.cs: Removed unused vars
5805 * ListView.cs: Fixed signatures
5806 * RichTextBox.cs: Removed unused vars
5807 * TextBoxBase.cs: Removed unused vars
5808 * XplatUIWin32.cs: Removed unused vars
5809 * XplatUIX11.cs: Removed unused vars
5810 * XplatUI.cs: Updated version and date to latest published
5812 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5814 * Cursor.cs: Added private .ctor to work around a bug in
5815 resourceset (Thanks to Geoff Norton for the help on this)
5816 * SplitterEventArgs.cs: Made fields accessible so we don't
5817 waste boatloads of objects and can reuse the same one
5819 * XplatUIWin32.cs(DrawReversibleLine): Now also considers
5820 any captions and borders when generating screen coordinates
5821 * Splitter.cs: Reimplemented control, now fully complete, uses
5822 rubberband drawing, supports and obeys all properties, has
5825 2005-10-13 Miguel de Icaza <miguel@novell.com>
5827 * Form.cs (Form): Setup default values for autoscale and
5828 autoscale_base_size; Make these instance variables, not static
5831 (OnLoad): on the first load, adjust the size of the form.
5833 2005-10-13 Peter Dennis Bartok <pbartok@novell.com>
5835 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
5836 width argument to DrawReversibleRectangle()
5837 * XplatUIWin32.cs, XplatUIX11.cs:
5838 - Implemented width for DrawReversibleRectangle()
5839 - Added logic to DrawReversibleRectangle that recognizes a zero
5840 width or height and only draws a line in that situation
5842 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5844 * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
5845 * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
5846 * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
5847 method (it uses our FosterParent window to get a graphics context)
5849 2005-10-12 Peter Dennis Bartok <pbartok@novell.com>
5851 * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
5852 and SetWindowBackground methods
5854 - Setting proper ControlStyles
5855 - We no longer call XplatUI.SetWindowBackground and XplatUI.
5856 EraseWindowBackground, instead we draw the window background
5857 ourselves in PaintControlBackground. This behaviour is
5858 required to match MS, where, when OnPaintBackground is not
5859 called, the background is not drawn.
5860 - Removed unneeded Refresh() in set_Text
5861 * Hwnd.cs: Dropped the ErasePending support. No longer needed
5863 - Created DeriveStyles method to translate from CreateParams to
5864 FormBorderStyle and TitleStyle, also handles BorderStyle (which
5865 matches FormBorderStyle enum values)
5866 - Consolidated SetHwndStyles and CalculateWindowRect border/title
5867 style calculations into single DeriveStyles method
5868 - Fixed CreateWindow to (finally) use Gravity. This prevents X11
5869 from redrawing the whole window on any resize or expose.
5870 - Fixed CreateWindow usage of SetWindowValuemask. Before not
5871 all styles were applied to our whole/client window appropriately
5872 - Removed EraseWindowBackground() and SetWindowBackground() methods
5873 - Removed handling of WM_ERASEBKGND message from DefWndProc, we
5874 no longer clear/redraw the background through X
5875 - Removed handling of erase_pending bit, we have no use for it (or
5878 - Removed generation and handling of WM_ERASEBKGND message
5879 - Removed EraseWindowBackground() and SetWindowBackground() methods
5880 - Removed handling of hwnd.ErasePending flag
5882 - Removed EraseWindowBackground() and SetWindowBackground() methods
5883 - We no longer call EraseWindowBackground on PaintEventStart, we
5884 ignore the fErase flag, erasing is handled in Control in the
5886 * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
5887 LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
5888 TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
5889 CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
5890 DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
5891 TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
5892 DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
5894 2005-10-12 Jonathan Chambers <jonathan.chambers@ansys.com>
5896 * PropertyGrids.cs: Get sub properties
5897 * PropertyGridView.cs: Fix drawing code
5899 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5901 * ListBox.cs: Fixes 76383
5903 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5905 * DataGridTextBoxColumn.cs: Sets location and size before attachment
5906 * ThemeWin32Classic.cs: Fixes border drawing and calculations
5907 * DataGridDrawingLogic.cs: Fixes border drawing and calculations
5910 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5912 * ComboBox.cs: Fixes border drawing
5914 2005-10-10 Miguel de Icaza <miguel@novell.com>
5916 * MimeIcon.cs: Ignore errors if the file can not be read.
5918 2005-10-11 Jordi Mas i Hernandez <jordi@ximian.com>
5920 * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
5921 - Fixed border calculations
5922 - Fixed horizontal scrolling in single column listboxes
5923 - Fixed drawing issues
5925 2005-10-10 Peter Dennis Bartok <pbartok@novell.com>
5927 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
5928 FormBorderStyle enum
5929 * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
5930 code to determine FormBorderStyles from CreateParams
5932 - Fixed bug where we'd set the wrong window styles if we were
5933 not creating an MDI window
5934 - Added call to XplatUI.SetBorderStyle when form borders are set
5935 * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
5937 - Removed obsolete edge style
5938 - Switched from BorderStyle to FormBorderStyle
5940 2005-10-10 Jackson Harper <jackson@ximian.com>
5942 * Form.cs: Use the property to get the window handle instead of
5943 accessing it directly. Prevents a null reference exception.
5945 2005-10-10 Jackson Harper <jackson@ximian.com>
5947 * TreeView.cs: Don't adjust the rect given to DrawString now that
5948 our libgdiplus draws correctly.
5950 2005-10-08 Jackson Harper <jackson@ximian.com>
5952 * TreeView.cs: Don't try to find the clicked on node if there are
5953 no nodes in the tree.
5955 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5961 2005-10-08 Alexander Olk <alex.olk@googlemail.com>
5963 * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
5964 ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
5966 Use ResPool for brushes and dispose System.Drawing objects that
5967 are not used anymore.
5969 2005-10-07 Jackson Harper <jackson@ximian.com>
5971 * MdiChildContext.cs: Use the new borders instead of drawing them
5974 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5976 * Calling UpdateBounds after changing the window's BorderStyle
5977 since the style can change the ClientSize
5979 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5981 * Control.cs: Made PaintControlBackground virtual
5982 * Panel.cs: Overriding PaintControlBackground instead of using paint
5983 event; paint event method was interfering with 'real' users of the
5986 2005-10-06 Jordi Mas i Hernandez <jordi@ximian.com>
5988 * ThemeWin32Classic.cs: remove border drawing since it is handled
5989 by the base control class now and was causing double border drawing.
5991 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5993 * Panel.cs: Redraw our background on paint. Not a pretty solution,
5994 but it does seem to match MS behaviour. This fixes bug #75324
5996 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
5998 * XplatUIX11.cs: A better DrawReversibleRectangle version, however
5999 somewhat hackish looking
6001 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6004 - We now accept Enter even if AcceptEnter is false, if the containing
6005 form does not have an AcceptButton configured (fixes bug #76355)
6006 - Calculations are now fixed to no longer use Width/Height, but
6007 ClientSize.Width/Height, since we now support borders (this was
6008 a result of fixing borders and therefore bug #76166)
6009 - We no longer show the horizontal scrollbar if TextBox.WordWrap is
6010 true (fixes bug #76354)
6012 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6015 - Defaulting BorderStyle and setting it in XplatUI when our window
6017 - Added enum check to InternalBorderStyle setter
6019 - Added drawing of window borders
6020 - Now properly calculates WM decorations offset for toplevel
6021 windows (fixes bug #74763)
6023 - Implemented BorderStyles for windows (we're letting win32 draw
6025 - Fixed the signature for SetWindowLong
6026 * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
6027 ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
6029 * UpDownBase.cs: Remove drawing of borders, this is handled by
6030 the driver, outside the client area
6031 * ListView.cs: Removed bogus border calculations. The control should
6032 be oblivious to borders, since those are not part of the client
6034 * X11DesktopColors.cs: Commented out (currently) unneeded variables
6035 * ThemeWin32Classic.cs: Removed border calculations from ListView
6038 2005-10-06 Jackson Harper <jackson@ximian.com>
6040 * MdiChildContext.cs: Clear out the old virtual position remove
6041 all the unneeded calls to CreateGraphics.
6043 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6045 * TextControl.cs: Use proper color for highlighted text; fixes #76350
6047 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6050 - Added loading and setting of our new default icon
6051 - Only set icon if window is already created
6053 2005-10-06 Peter Dennis Bartok <pbartok@novell.com>
6056 - Do not explicitly set the foreground and background colors, to
6057 allow inheriting from parents (fixes #76302)
6058 - Use Control's InternalBorderStyle property to deal with borders
6060 2005-10-06 Jackson Harper <jackson@ximian.com>
6062 * MdiChildContext.cs: Use the new xplatui function to draw a
6065 2005-10-06 Jackson Harper <jackson@ximian.com>
6067 * Form.cs: Add the parent before creating the child context cause
6068 we need the parent when setting up the child.
6070 2005-10-06 Jackson Harper <jackson@ximian.com>
6072 * FolderBrowserDialog.cs: redo the tree population code so a
6073 second thread isn't used. Should be a lot faster and more stable
6076 2005-10-05 Jackson Harper <jackson@ximian.com>
6078 * TreeView.cs: There are no expand/collapse boxes if the node has
6081 2005-10-05 Jackson Harper <jackson@ximian.com>
6083 * X11DesktopColors.cs: Get menu colours for the gtk theme.
6085 2005-10-05 Alexander Olk <alex.olk@googlemail.com>
6087 * FileDialog.cs: Fix InitialDirectory
6089 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6092 - Fixes changing between styles
6094 - Fixes last item crashing when navigating with keyboard
6096 2005-10-05 Jordi Mas i Hernandez <jordi@ximian.com>
6098 * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
6100 2005-10-05 Jackson Harper <jackson@ximian.com>
6102 * TreeView.cs: If updating the root node do a full refresh.
6103 * TreeNode.cs: The root node should be expanded by default. Also
6104 added a utility prop to tell if we are the root node.
6105 * TreeNodeCollection.cs: Only refresh if the node we are being
6106 added to is expanded. Also added a comment on a potential
6109 2005-10-04 Peter Dennis Bartok <pbartok@novell.com>
6111 * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
6112 in dispose method. Fixes #76330
6114 2005-10-04 Jordi Mas i Hernandez <jordi@ximian.com>
6116 * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
6118 - Implements vertical and horizontal scrolling using XplatUI
6119 - Fixes keyboard navagation
6120 - Fixes EnsureVisible
6122 - Handles and draws focus properly
6125 2005-10-04 Kornél Pál <kornelpal@hotmail.com>
6127 * ImageList.cs: Use upper case initials for internal fields. ImageStream:
6128 Create handle. NET_2_0: Destroy handle when value is null.
6130 2005-10-03 Jackson Harper <jackson@ximian.com>
6132 * ScrollBar.cs: My last scrollbar patch was broken. This is a
6133 revert and a new patch to prevent the thumb from refreshing so
6136 2005-10-02 Jackson Harper <jackson@ximian.com>
6138 * ScrollBar.cs: Don't update position if it hasn't actually
6139 changed. This occurs when you hold down the increment/decrement
6140 buttons and the thumb gets to the max/min.
6142 2005-10-01 Jackson Harper <jackson@ximian.com>
6145 * MdiChildContext.cs:
6146 * MdiClient.cs: Implement ActiveMdiChild in Form.
6148 2005-10-01 Jordi Mas i Hernandez <jordi@ximian.com>
6150 * ComboBox.cs: Include ComboBoxEdit flag for the edit item
6152 2005-10-01 Peter Dennis Bartok <pbartok@novell.com>
6154 * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
6157 2005-09-30 Jackson Harper <jackson@ximian.com>
6159 * ListBox.cs: Don't do a full refresh unless some data has
6162 2005-09-30 Jackson Harper <jackson@ximian.com>
6164 * TreeView.cs: Make sure that the checkboxes size is factored in
6165 even when not visible.
6167 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6169 * FileDialog.cs: Fix Jordi's build break
6171 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6174 - Use standard the Windows colours for the combobox as espected
6175 - Dispose objects that use resouces when no longer need them
6177 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6179 * X11DesktopColors.cs: Initial incomplete implementation
6180 * XplatUIX11.cs: Added call to initialize X11DesktopColors
6182 2005-09-30 Peter Dennis Bartok <pbartok@novell.com>
6185 - Switched Theme color names to match the names defined in
6186 System.Drawing.KnownColors. Life's hard enough, no need to make
6188 - Added setters to all theme color properties so themes can set
6189 their color schemes. The setters also propagate the color changes
6190 to System.Drawing.KnownColors via reflection
6191 * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
6192 ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
6193 DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
6194 use the new, more logical theme color names
6195 * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
6197 * ThemeWin32Classic.cs:
6198 - Removed code to set the old classic Windows colors. Instead it
6199 now relies on the colors returned by System.Drawing.KnownColors
6200 which will be either modern static colors (Unix) or colors
6201 read from the user's configuration (Win32)
6202 - Updated to use the new, more logical theme color names
6203 - Switched DataGrid drawing code to use only Theme colors instead of
6204 a mix of System.Drawing.KnownColors and Theme colors
6205 - DrawFrameControl(): Removed code that fills the button area, the
6206 fill would overwrite any previous fill done by a control. This
6208 - Added DrawReversibleRectangle() stub
6209 * ScrollableControl.cs: Set visible state to false when scrollbars
6210 are removed (pdn fix)
6211 * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
6212 DrawReversibleRectangle() method to allow drawing primitive
6214 * XplatUIX11.cs: Implemented DrawReversibleRectangle()
6216 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6218 * ImageList.cs: Add(Icon): Create handle.
6220 2005-09-30 Jordi Mas i Hernandez <jordi@ximian.com>
6223 * ThemeWin32Classic.cs:
6226 - Issues with drawing
6228 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6230 * ImageList.cs: Moved RecreateHandle back to ImageList as event
6231 source has to be the ImageList.
6233 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6235 * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
6237 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6239 * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
6241 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6243 * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
6245 2005-09-29 Jonathan Chambers <jonathan.chambers@ansys.com>
6246 * GridItem.cs: Fixed TODOs
6247 * GridItemCollection.cs: Added ICollection interface
6249 2005-09-30 Kornél Pál <kornelpal@hotmail.com>
6251 * ImageList.cs: Resize icons when needed.
6253 2005-09-29 Jordi Mas i Hernandez <jordi@ximian.com>
6256 - Fixes GetBounds and returns on screen rects
6258 - Fixes vertical and horzintal scrolling of items
6259 * ThemeWin32Classic.cs:
6262 2005-09-29 Raja R Harinath <harinath@gmail.com>
6264 * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
6266 2005-09-29 Kornél Pál <kornelpal@hotmail.com>
6268 * ImageList.cs: Added comments about handle creation. Moved Handle,
6269 HandleCreated and OnRecreateHandle implementations to ImageCollection.
6270 Handle is created in Add methods.
6272 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6274 * DataGridDrawingLogic.cs:
6275 - Takes rows into account on Colum calculations
6276 - Returns the column when clickig
6278 - Fixes default HitTestInfo values
6279 - Fixes HitTestInfo.ToString
6280 - Fixes ResetBackColor
6282 2005-09-28 Jackson Harper <jackson@ximian.com>
6284 * MdiChildContext.cs: Obey rules for fixed sized windows (no
6285 sizing or cursor changes). Also added some temp code to draw the
6286 titlebars text (Makes dev a little easier).
6288 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6290 * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
6292 2005-09-28 Jordi Mas i Hernandez <jordi@ximian.com>
6294 * ListBox.cs: Fixes bug 76253
6296 2005-09-28 Kornél Pál <kornelpal@hotmail.com>
6298 * ImageList.cs: Added comments about the current implementation. Added
6299 ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
6300 Format32bppArgb to preserve transparency and can use Graphics.FromImage
6301 while using the specified ColorDepth. ReduceColorDepth uses unsafe code
6302 with Bitmap.LockBits for better performance. Revised the whole file to
6303 match MS.NET behaviour and provide better performance. Non-public
6304 interface members are calling public members even when they throw
6305 NotSupportedException for better maintainability. Moved ColorDepth,
6306 ImageSize, ImageStream and TransparentColor implementations to
6307 ImageCollection for better performance as these properties are not used
6309 * ImageListStreamer.cs: Added a new internal constructor that takes an
6310 ImageList.ImageCollection and serializes Images based on
6311 ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
6312 match ImageList property name.
6314 2005-09-28 Kazuki Oikawa <kazuki@panicode.com>
6316 * ListBox.cs: Fixes IndexFromPoint for last item
6318 2005-09-27 Jackson Harper <jackson@ximian.com>
6320 * Form.cs: Set the position of new mdi children correctly.
6322 2005-09-27 Jackson Harper <jackson@ximian.com>
6324 * MdiClient.cs: New mdi children need to be added to the back of
6325 the controls collection so the zorder is set correctly. Also add a
6326 count of all the child windows that have been created.
6328 2005-09-27 Jackson Harper <jackson@ximian.com>
6330 * Form.cs (CreateParams): Setup MDI forms correctly.
6332 2005-09-27 Jackson Harper <jackson@ximian.com>
6334 * MdiChildContext.cs:
6341 * ScrollableControl.cs:
6342 * ComboBox.cs: Add implicit controls using the new implict control
6343 functionality in ControlCollection. Also try to block multiple
6344 control add in a suspend/resume layout to save some cycles.
6346 2005-09-27 Jackson Harper <jackson@ximian.com>
6348 * Control.cs: Add functionality to the controls collection to add
6349 'implicit controls' these are controls that are created by the
6350 containing control but should not be exposed to the user. Such as
6351 scrollbars in the treeview.
6352 * Form.cs: The list var of the ControlsCollection is no longer
6353 available because of the potential of implicit controls getting
6354 ignored by someone accessing the list directly.
6356 2005-09-26 Peter Dennis Bartok <pbartok@novell.com>
6358 * Control.cs: Fixed SetChildIndex; it no longer causes a child to
6359 loose it's parent. (Fixed bug introduced in r49103 when we added
6360 setting the child parent to null on Remove)
6362 2005-09-26 Gert Driesen <drieseng@users.sourceforge.net>
6364 * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
6365 * Splitter.cs: Added missing attributes for BorderStyle property.
6366 * TextBoxBase.cs: Marked Calculate* methods internal.
6367 * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
6370 2005-09-26 Jordi Mas i Hernandez <jordi@ximian.com>
6372 * ListBox.cs: Fixes navigation to the last item in multicolumn lists
6374 2005-09-25 Jackson Harper <jackson@ximian.com>
6376 * TreeView.cs: Update the node bounds correctly regardless of
6377 whether the node is visible.
6379 2005-09-25 Jackson Harper <jackson@ximian.com>
6381 * ImageList.cs: Don't dispose the image after it is added to the
6382 image list. Only reformat images that need to be resized.
6384 2005-09-25 Jackson Harper <jackson@ximian.com>
6386 * ImageList.cs: Don't set the format when changing the image.
6388 2005-09-25 Jackson Harper <jackson@ximian.com>
6390 * TreeView.cs: We can't just assume the node has a font. Use the
6391 treeviews font if no node font is available.
6393 2005-09-25 Jackson Harper <jackson@ximian.com>
6395 * TreeView.cs: Allow the scrollbars to be reset with negative
6397 - Don't add scrollbars to negative sized windows.
6399 2005-09-23 Jackson Harper <jackson@ximian.com>
6401 * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
6402 old Mono.Posix. Also remove some stray code that shouldn't have
6405 2005-09-23 Jackson Harper <jackson@ximian.com>
6407 * TreeView.cs: Attempt at proper sizing of the horizontal
6408 scrollbar. Also don't resize the scrollbars unless they are
6411 2005-09-23 Jackson Harper <jackson@ximian.com>
6413 * TreeView.cs: We don't need to expand the invalid area when the
6414 selection changes, as this is all drawn in the node's bounding
6415 box. The area needs to be expanded (previous typo was contracting
6416 it) when the focus rect moves.
6418 2005-09-23 Jackson Harper <jackson@ximian.com>
6420 * TreeView.cs: Display the selection box under the correct
6421 circumstances. We were rendering white text with no selection box
6424 2005-09-23 Peter Dennis Bartok <pbartok@novell.com>
6426 * TextControl.cs(Split): Now updates selection start/end if it points
6427 into a line that's being split. Fixes a FIXME and bug #75258
6429 2005-09-23 Jackson Harper <jackson@ximian.com>
6432 * ListControl.cs: Don't use the path when retrieving binding
6433 managers from the binding context. My bat sense tells me that the
6434 path is only used on insertion.
6436 2005-09-22 Jackson Harper <jackson@ximian.com>
6438 * Splitter.cs: Set the cursor an easier way. (Thanks peter).
6440 2005-09-22 Jackson Harper <jackson@ximian.com>
6442 * Splitter.cs: There are special cursors used for splitting.
6443 * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
6445 2005-09-22 Jackson Harper <jackson@ximian.com>
6447 * Splitter.cs: Change the cursor appropriately when the splitter
6448 is moused over, so the user actually knows there is a splitter
6451 2005-09-22 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6453 * Label.cs : Fix ToString method to give same output as MS.NET
6455 2005-09-22 Jackson Harper <jackson@ximian.com>
6457 * TreeView.cs: Create the scrollbars when the handle is created
6458 and add them right away, just make them invisble. Also account for
6459 the window being shrunk vertically to the point that the vert
6460 scrollbar needs to be added.
6461 - Remove some 0.5 adjustments to get around anti aliasing issues.
6463 2005-09-22 Jordi Mas i Hernandez <jordi@ximian.com>
6465 * MainMenu.cs: Fixes default value
6466 * MenuItem.cs: Fixes default value
6468 2005-09-22 Kazuki Oikawa <kazuki@panicode.com>
6470 * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
6472 2005-09-21 Jackson Harper <jackson@ximian.com>
6474 * Control.cs: Don't try to set the border style on the window if
6475 it hasn't been created. When the window is created the border
6478 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6480 * Control.cs (Update): Don't call XplatUI if we don't have a
6483 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6485 * ContainerControl.cs: Instead of throwing an exception, print
6486 a one-time warning about Validate not being implemented
6487 * XplatUIWin32.cs: Removed debug output
6489 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6491 * Control.cs: Only set XplatUI background if we expect the windowing
6492 system to handle the background. This stops controls that draw their
6493 own background from flickering
6495 * XplatUIX11.cs: Support custom visuals and colormaps for window
6496 creation. This allows, amongst other things, using MWF X11 windows
6499 2005-09-21 Peter Dennis Bartok <pbartok@novell.com>
6501 * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
6502 CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
6503 GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
6504 SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
6505 TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
6506 IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
6507 KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
6508 RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
6509 ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
6510 ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
6511 GridColumnStylesCollection.cs,
6512 IDataGridColumnStyleEditingNotificationService.cs,
6513 PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
6514 MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
6515 GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
6516 TreeNodeCollection.cs, AmbientProperties.cs,
6517 RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
6518 DataObject.cs, ErrorProvider.cs, Splitter.cs,
6519 DataGridLineStyle.cs, Shortcut.cs, Control.cs,
6520 FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
6521 BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
6522 IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
6523 FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
6524 IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
6525 NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
6526 PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
6527 SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
6528 FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
6529 DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
6530 ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
6531 RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
6532 MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
6533 ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
6534 CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
6535 MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
6536 NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
6537 ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
6538 SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
6539 Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
6540 RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
6541 DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
6542 ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
6543 PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
6544 DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
6545 ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
6546 AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
6547 RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
6548 CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
6549 SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
6550 Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
6551 SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
6552 ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
6553 TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
6555 2005-09-21 Jackson Harper <jackson@ximian.com>
6557 * TreeNode.cs: Call Before/After Expand not Collapse when
6560 2005-09-20 Jackson Harper <jackson@ximian.com>
6562 * XplatUIX11.cs: Use the more hand looking hand (in most themes).
6564 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6568 - Fixes proper storing of subitems
6569 - Fixes not updated items
6571 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6573 * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
6574 things if our window handle isn't created yet. Also disabled
6575 debug for TextBoxBase
6577 2005-09-20 Peter Dennis Bartok <pbartok@novell.com>
6579 * MenuAPI.cs: Remove filtering of events to allow menu usage
6581 2005-09-20 Miguel de Icaza <miguel@novell.com>
6583 * Cursor.cs: Allow null to be passed to Cursor.Current.
6585 2005-09-20 Alexander Olk <alex.olk@googlemail.com>
6587 * ThemeWin32Classic.cs:
6588 - Change some private methods/fields to protected virtual so that
6589 they can be accessed and overriden in derived classes
6590 - First refactoring of some methods. Derived themes now don't
6591 need to duplicate the complete code from ThemeWin32Classic
6593 - Added nice StatusBar
6594 - Derive from ThemeWin32Classic and not Theme
6595 - Removed duplicate ThemeWin32Classic code
6597 2005-09-20 Miguel de Icaza <miguel@novell.com>
6599 * Control.cs (ControlCollection.Add): If the value null is passed
6600 the control is ignored.
6604 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6606 * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
6607 PostQuitMessage state.
6608 * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
6610 2005-09-19 Peter Dennis Bartok <pbartok@novell.com>
6612 * Application.cs: Our constructor will never get called, move
6613 initialization to fields; fixes bug #75933
6615 2005-09-19 Hisham Mardam Bey <hisham.mardambey@gmail.com>
6618 - Allow files to be selected properly using file name
6620 - Add ability to change diretory (absolute / relative)
6621 using file name combo box.
6623 2005-09-16 Jordi Mas i Hernandez <jordi@ximian.com>
6626 - Fixes Multicolumn listboxes item wrong calculations
6627 - Allows to click when only one item is in the listbox
6628 - Fixes crash when no items using keyboard navigation
6630 2005-09-16 Alexander Olk <alex.olk@googlemail.com>
6632 * ComboBox.cs: Reverted almost everything from the latest patch which
6635 2005-09-16 Kazuki Oikawa <kazuki@panicode.com>
6638 - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
6640 - When DropDownStyle is Simple, it does not show scrollbar
6641 to the last item of the list.
6642 - When DropDownStyle is Simple, it crashed when the list was
6643 scrolled down with the down cursor key.
6644 - Fixed a bug that when DropDownStyle is DropDownList, the
6645 selected item was not shown.
6646 - The position of the selected item was not preserved when
6647 the next dropdown happened.
6648 * ThemeWin32Classic.cs:
6649 - Items were wrapped at the right end.
6650 * CheckedListBox.cs:
6653 - Items should be fully shown.
6654 - When resizing and vertical scrollbar disappeared, the item
6655 of index 0 should be on the top of the list.
6656 - GetItemRectangle should consider the size of ver. scrollbar
6658 - SizingGrip area should not be allocated when it is not
6660 - Now it reflects MinWidth of the containing panel and
6661 fixed a crash that happens when its width becomes so small.
6663 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6665 * CheckedListBox.cs: Fixes bug 76028
6666 * ListBox.cs: Fixes bug 76028
6668 2005-09-13 Jordi Mas i Hernandez <jordi@ximian.com>
6670 * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
6671 * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
6673 2005-09-12 Jordi Mas i Hernandez <jordi@ximian.com>
6675 * XplatUIX11.cs: fixes System.NullReferenceException in some situations
6677 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6679 * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
6681 2005-09-09 Jonathan Chambers <jonathan.chambers@ansys.com>
6683 * IRootGridEntry.cs: Added
6684 * PropertyGridCommands.cs: Added
6685 * PropertiesTab.cs: Added missing methods and property
6686 * PropertyGridView.cs: Made class internal
6687 * PropertyGridTextBox.cs: Made class internal
6689 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6691 * MimeIcon.cs: Try to check some other environment variables
6692 if "DESKTOP_SESSION" returns "default"
6694 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6696 * ThemeNice.cs: Corrected background colors (e.g. menus)
6697 * ColorDialog.cs: Use correct background colors for controls
6699 2005-09-09 Alexander Olk <alex.olk@googlemail.com>
6701 * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
6703 2005-09-08 Peter Dennis Bartok <pbartok@novell.com>
6705 * RichTextBox.cs: Added initial implementation
6706 * lang.cs: Removed. Was accidentally checked in long time ago
6707 * TODO: Removed. Contents were obsolete
6709 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6711 * PropertiesTab.cs : Added
6713 2005-09-06 Jonathan Chambers <jonathan.chambers@ansys.com>
6715 * PropertyGrid.cs : Update
6716 * PropertyGridView.cs : Update
6717 * System.Windows.Forms.resx : Added images and strings
6719 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6721 * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
6723 2005-09-06 Peter Dennis Bartok <pbartok@novell.com>
6725 * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
6726 a busy loop right after the Ungrab the X11 display is otherwise
6729 2005-09-06 Jordi Mas i Hernandez <jordi@ximian.com>
6731 * ThemeWin32Classic.cs: Optimise the use of clipping
6733 2005-09-05 Jordi Mas i Hernandez <jordi@ximian.com>
6735 * DataGrid.cs: fixes recursion bug
6737 2005-09-03 Alexander Olk <alex.olk@googlemail.com>
6740 - Draw RadioButton and CheckBox Buttons with DrawButtonBase
6743 2005-09-02 Alexander Olk <alex.olk@googlemail.com>
6745 * ThemeNice.cs: Draw nice ProgressBars
6747 2005-09-01 Miguel de Icaza <miguel@novell.com>
6749 * VScrollBar.cs: Another buglet found by Aaron's tool.
6751 * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
6754 2005-08-30 Alexander Olk <alex.olk@googlemail.com>
6757 - Added nicer menu drawing
6761 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6763 * CreateParams.cs (ToString): Made output match MS
6764 * Control.cs (Text): Don't set Text or Focus via XplatUI unless
6765 handle is already created (to avoid forcing window creation)
6766 * XplatUIX11.cs: Set window text to caption after creating window,
6767 in case Text was set before window was created
6768 * Form.cs: Use this.Text instead of a static string as caption
6770 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6772 * NotifyIcon.cs: Don't set the window to visible; this screws
6773 up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
6774 OnPaint without a bitmap)
6775 * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
6776 happen very often anyway; we could add the check to the WM_PAINT
6777 event generation code
6779 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6781 * NotifyIcon.cs: Fill the icon area with a background color, to
6782 avoid 'residue' when transparent icons are drawn
6784 - Handle whole_window == client_window when destroying windows
6785 - SystrayAdd(): Set client_window to whole_window value to
6786 get mouse and other events passed to NotifyIcon
6788 2005-08-30 Peter Dennis Bartok <pbartok@novell.com>
6790 * Form.cs: Set proper default for Opacity property
6792 - ShowSystray(): Don't bother creating telling the OS
6793 about the systray item if no icon is provided
6794 - Now handles WM_NCPAINT message to deal with whole/client window
6796 - Create window as visible to not get caught by Expose optimization
6797 * Hwnd.cs: Removed debug message
6798 * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
6799 StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
6800 PaintEventStart/End to use new client argument
6802 - Commented out debug messages
6803 - Switched PaintEventStart/End to use new client argument
6804 * XplatUI.cs: Added client window bool to PaintEventStart()/
6805 PaintEventEnd() calls, to support drawing in non-client areas
6807 - Added client window bool to PaintEventStart()/PaintEventEnd()
6808 calls, to support drawing in non-client areas
6809 - Added conditional compile to allow using MWF BeginInvoke
6812 - Added some conditional debug output
6813 - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
6814 whole/client window split
6815 - Implemented handling of client argument to PaintEventStart()/End()
6817 - Throw exception if BeginInvoke() is called and the window handle
6818 or one of the window's parent handles is not created
6819 - Added conditional compile to allow using MWF BeginInvoke on
6821 - get_Parent(): Only sets parent if handle is created. This avoids
6822 forcing window handle creation when parent is set.
6823 - Now fires Layout and Parent changed events in proper order
6824 - Switched to use Handle instead of window.Handle for Z-Order setting,
6825 the get_Parent() patch above causes us to possibly get null for 'window'
6826 - Implemented handling of client argument to PaintEventStart()/End()
6827 - Now reports back to windows that WM_SETCURSOR was handled (to avoid
6829 - Now sends a Refresh() to all child windows when Refresh() is called
6831 2005-08-29 Peter Dennis Bartok <pbartok@novell.com>
6833 * Form.cs: Added (non-functional) Opacity property
6834 * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
6836 2005-08-29 Alexander Olk <xenomorph2@onlinehome.de>
6837 * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
6838 use export MONO_THEME=nice to activate it.
6839 Currently supported controls:
6843 - TabControl (TabAlignment.Top only, other will follow)
6844 * ThemeEngine.cs: Add theme nice
6845 * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
6848 2005-08-25 Jonathan Chambers <jonathan.chambers@ansys.com>
6850 * Splitter.cs: Resize docked control and its neighbor.
6852 2005-08-24 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6853 -- Making Windows with Menus layout correctly --
6854 * Form.cs : The first leg of the fix
6855 Menu setter - adjust Client Size as needed to make space for the menu
6856 SetClientSizeCore - doesn't call base version to be able to pass the
6857 menu handle to XplatUI.CalculateWindowRect
6858 * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
6859 * XplatUIX11.cs: The critical second leg of the fix
6860 GetWindowPos needs to use a recalculated client_rect
6861 so that resizing the window doesn't break layout of child controls.
6862 Also a more complete rule to avoid X Server roundtrips in SetWindowPos
6865 2005-08-23 Peter Dennis Bartok <pbartok@novell.com>
6867 * Label.cs: Now properly recalculates width and height on Font and Text
6868 changes if AutoSize is set
6870 2005-08-19 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
6871 * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
6873 2005-08-19 Jordi Mas i Hernandez <jordi@ximian.com>
6875 * ImageList.cs: Makes ToString method compatible with MS
6877 2005-08-18 Jordi Mas i Hernandez <jordi@ximian.com>
6879 * MenuAPI.cs: fixes bug 75716
6881 2005-08-11 Umadevi S <sumadevi@novell.com>
6882 * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
6884 2005-08-11 Umadevi S <sumadevi@novell.com>
6885 * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
6887 2005-08-10 Umadevi S <sumadevi@novell.com>
6888 * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
6890 2005-08-07 Jordi Mas i Hernandez <jordi@ximian.com>
6892 * Menu.cs: fixes bug 75700
6893 * MenuAPI.cs: fixes navigation issues
6895 2005-08-09 Umadevi S <sumadevi@novell.com>
6896 * CheckedListBox.cs - simple fix for GetItemChecked.
6898 2005-08-08 Jordi Mas i Hernandez <jordi@ximian.com>
6900 * ComboBox.cs: Serveral fixes
6901 * ListBox.cs: Serveral fixes
6903 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6905 * ComboBox.cs: Fixes FindString methods and GetItemHeight
6906 * ListBox.cs: Fixes FindString methods
6908 2005-08-05 Jordi Mas i Hernandez <jordi@ximian.com>
6910 * DataGrid.cs: fixes bugs exposed by new tests
6912 2005-08-04 Peter Dennis Bartok <pbartok@novell.com>
6914 * Mime.cs: Compile Mono assembly references only if compiling
6915 with Mono (Allows to build with VS.Net again)
6917 2005-07-28 Marek Safar <marek.safar@seznam.cz>
6919 * Control.cs (PaintControlBackground): Draw background image
6921 (CheckForIllegalCrossThreadCalls): Stubbed.
6923 * Form.cs (OnCreateControl): Center when should be centered.
6925 * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
6927 2005-07-19 Jordi Mas i Hernandez <jordi@ximian.com>
6929 * Binding.cs: Binding to properties should be case unsensitive
6931 2005-07-18 vlindos@nucleusys.com
6933 * DataGrid.cs: fixes setmember order
6935 2005-07-07 Alexander Olk <xenomorph2@onlinehome.de>
6937 * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
6938 * FileDialog.cs: FileDialog is now resizable and uses the new
6941 2005-07-06 Jordi Mas i Hernandez <jordi@ximian.com>
6943 * DataGridTextBoxColumn.cs: default value
6944 * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
6945 * GridTableStylesCollection.cs: fixes checking MappingName
6946 * DataGridDrawingLogic.cs: fixes drawing logic issues
6947 * DataSourceHelper.cs: rewritten to make compatible with more data sources
6948 * DataGrid.cs: fixes
6950 2005-07-06 Alexander Olk <xenomorph2@onlinehome.de>
6952 * MimeGenerated.cs: Use case sensitive comparer for
6953 NameValueCollections
6955 2005-07-01 Jordi Mas i Hernandez <jordi@ximian.com>
6957 * DataGridTextBoxColumn.cs: bug fixes, code refactoring
6958 * ThemeWin32Classic.cs: bug fixes, code refactoring
6959 * DataGridDrawingLogic.cs: bug fixes, code refactoring
6960 * DataGrid.cs: bug fixes, code refactoring
6961 * DataGridTextBox.cs: bug fixes, code refactoring
6962 * DataGridColumnStyle.cs: bug fixes, code refactoring
6963 * Theme.cs: bug fixes, code refactoring
6965 2005-07-01 Peter Bartok <pbartok@novell.com>
6967 * TextControl.cs: Quick fix for the reported crash on ColorDialog
6968 and other text box usage
6970 2005-07-01 Jackson Harper <jackson@ximian.com>
6972 * TabControl.cs: Make sure the bottom of the tab covers the pages
6975 2005-06-30 Peter Bartok <pbartok@novell.com>
6977 * Form.cs (ShowDialog): Assign owner of the dialog
6978 * TextBoxBase.cs: Always refresh caret size when deleting, caret
6979 might have been moved to a tag with different height
6981 2005-06-30 Jackson Harper <jackson@ximian.com>
6983 * Form.cs: Don't create an infinite loop when setting focus
6984 * MenuItem.cs: Don't dirty the parents if we don't have any
6986 2005-06-29 Ben Maurer <bmaurer@ximian.com>
6988 * LibSupport.cs: Rename
6990 2005-06-29 Peter Bartok <pbartok@novell.com>
6992 * TextBoxBase.cs: Re-align caret after deleting a character
6994 - DeleteChars(): Ensure that tag covers the provided position
6995 - StreamLine(): Drop reference for dropped tag
6997 2005-06-29 Peter Bartok <pbartok@novell.com>
7000 - Selections now work properly, anchoring at the initial location
7001 and properly extending in either direction (SetSelectionToCaret(),
7002 SetSelectionStart() and SetSelectionEnd())
7003 - No longer redraws the whole control on selection change, now
7004 calculates delta between previous and new selection and only
7005 invalidates/redraws that area
7006 - Fixed FindPos() math off-by-one errors
7007 - Changed DeleteChars() to verify the provided tag covers the
7008 provided position, selections may have a tag that doesn't cover
7009 the position if the selection is at a tag border
7010 - Fixed off-by-one errors in DeleteChars()
7011 - Added missing streamlining check in DeleteChars() to remove
7013 - Implemented Invalidate() method, now properly calculates exposures
7014 between two given lines/positions
7015 - Implemented SetSelection()
7016 - Obsoleted and removed FixupSelection()
7017 - Improved RecalculateDocument() logic, removing code duplication
7019 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7021 * LibSupport.cs: changes to match different input/output arguments.
7023 2005-06-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7025 * LibSupport.cs: added libsupport.so init routine.
7027 2005-06-29 Jordi Mas i Hernandez <jordi@ximian.com>
7029 * ControlBindingsCollection.cs
7030 - Throws an exception on null datasource when adding
7031 - Checks for duplicated bindings when adding
7033 2005-06-28 Jackson Harper <jackson@ximian.com>
7035 * TreeView.cs (OnKeyDown): Support left and right properly
7036 (navigates as well as expanding and collapsing.
7037 - Add support for Multiply, this expands all the selected nodes
7041 2005-06-28 Jackson Harper <jackson@ximian.com>
7043 * TreeView.cs: Implement keyboard navigation, currently supports,
7044 LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
7045 support for toggling checkboxes with the space bar.
7047 2005-06-28 Jackson Harper <jackson@ximian.com>
7049 * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
7052 2005-06-28 Jackson Harper <jackson@ximian.com>
7054 * TreeView.cs: Add missing event.
7056 2005-06-27 Peter Bartok <pbartok@novell.com>
7059 - Made line ending size configurable (now allows for counting
7060 lineendings as \n or \r\n)
7061 - Added margin to viewport to keep caret visible on right side
7062 - Fixed translation routines for line/pos to documentpos to consider
7063 cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
7064 - Fixed some line-endings to be unix style
7065 - Fixed Document.FormatText to perform it's calculations 1-based
7066 - Added descriptions for a few methods that might otherwise get
7068 - Added NOTE section with some basic conventions to remember at
7070 - Major fixup for RichTextBox selection drawing:
7071 * Fixed crashes when multiple tags on a single line were selected
7072 * fixed selection box drawing not overlaying text
7073 * fixed bogus offset calculation for tags not starting at index 1
7074 * Switched behaviour from using multiple Substrings of a
7075 StringBuilder.ToString() to using multiple
7076 StringBuilder.ToString(start, length) statements, hoping this is
7077 faster (kept original version commented out in the code, in case
7078 original version was faster)
7079 * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
7081 * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
7084 2005-06-27 Jackson Harper <jackson@ximian.com>
7086 * TabControl.cs: Move to the left and right with the arrow
7087 keys. These keys don't cycle beyond first and last like
7088 tab. Refresh all the tabs when scrolling them to the left or
7091 2005-06-27 Jackson Harper <jackson@ximian.com>
7094 - ToString: Added method
7095 - CreateParams: Remove TODO and comment
7096 - OnKeyDown: Cycle through bounds properly.
7097 - SelectedIndex: Scroll to the right or left if we need to
7098 display the newly selected tab.
7100 2005-06-23 Jackson Harper <jackson@ximian.com>
7102 * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
7105 2005-06-23 Jackson Harper <jackson@ximian.com>
7107 * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
7108 CTRL-SHIFT-TAB, and HOME, END are there any others?
7110 2005-06-23 Jackson Harper <jackson@ximian.com>
7112 * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
7114 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7116 * DataGridTextBoxColumn.cs: fixes and enhancements
7117 * ThemeWin32Classic.cs: fixes and enhancements
7118 * DataGridBoolColumn.cs: fixes and enhancements
7119 * DataGridDrawingLogic.cs: fixes and enhancements
7120 * CurrencyManager.cs: fixes and enhancements
7121 * DataGrid.cs: fixes and enhancements
7122 * DataGridColumnStyle.cs: fixes and enhancements
7124 2005-06-22 Jackson Harper <jackson@ximian.com>
7126 * TabControl.cs: Add some missing methods that just call into the
7127 base. Make the TabPageCollection's IList interface behave in the
7128 same manner as the MS implementation.
7130 2005-06-22 Peter Bartok <pbartok@novell.com>
7132 * TextControl.cs: Added sanity check
7134 - Fixed wrapping behaviour, don't set wrap on single line controls
7135 (this fixes the breakage of colordialog introduced in an earlier
7137 - Added rudimentary support for autoscrolling right-aligned controls
7138 (still needs fixing, also, center alignment scroll is missing)
7140 2005-06-22 Jordi Mas i Hernandez <jordi@ximian.com>
7142 * ScrollBar.cs: Fixes thumbpos on Maximum values
7144 2005-06-21 Jonathan Chambers <jonathan.chambers@ansys.com>
7146 * PropertyGridView.cs: Pass context information to UITypeEditors
7148 2005-06-21 Peter Bartok <pbartok@novell.com>
7151 - Now calling PositionCaret with absolute space coordinates
7152 - Enabled vertical scrolling
7153 - Better tracking of scrollbar changes, tied into WidthChange
7155 - Improved cursor tracking
7156 - Removed debug output
7158 - PositionCaret coordinates are now works in absolute space, not
7160 - Improved tracking of document size
7161 - Added events for width and height changes
7163 2005-06-21 Peter Bartok <pbartok@novell.com>
7165 * Form.cs: Set focus to active control when form is activated
7167 - Added word-wrap functionality to RecalculateLine()
7168 - Added some short function descriptions for VS.Net to aid in
7169 writing dependent controls
7170 - Added Caret property, returning the current coords of the caret
7171 - Added ViewPortWidth and ViewPortHeight properties
7172 - Added Wrap property
7173 - Added CaretMoved event
7174 - Removed some old debug code
7175 - Split() can now create soft splits
7176 - Added PreviousTag()/NextTag() to allow walking "tag-lists"
7177 - Added method to format existing text
7178 - Fixed size/alignment calculations to use viewport
7179 - RecalculateDocument now can handle changing line-numbers while
7183 - Added some wrap logic, we don't wrap if alignment is not left
7184 - Added casts for scrollbar var, base class switched types to
7185 also support RichTextBoxA
7186 - Implemented handling of scrollbar visibility flags
7189 - Switched scrollbars type to RichTextBoxScrollBars to support
7191 - Added tracking of canvas width/height
7192 - Switched scrollbars to be not selectable (to keep focus on text)
7193 - Added central CalculateDocument() method to handle all redraw
7195 - Added ReadOnly support
7196 - Added WordWrap support
7197 - Fixed handling of Enter key (we now treat it as a DialogKey)
7198 - Fixed caret positioning when h or v scroll is not zero
7199 - Fixed placing/generation of vertical scrollbar
7200 - Added CalculateScrollBars() method to allow updating scrollbar
7201 limits and visibility
7202 - Fixed handling of horizontal scroll
7203 - Added handling of vertical scroll
7204 - Implemented auto-'jump' when caret moves to close to a left or
7205 right border and there is text to be scrolled into view (currently
7206 there's the potential for a stack overflow, until a bug in
7209 2005-06-21 Geoff Norton <gnorton@customerdna.com>
7211 * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
7213 2005-06-19 Alexander Olk <xenomorph2@onlinehome.de>
7217 - return application/x-zerosize for files with size zero
7218 (if no extension pattern matches).
7219 - check matches collection for strings too.
7220 - return only the first mime type if the name value
7221 collection has more than one mime type.
7223 2005-06-18 Jonathan Chambers <jonathan.chambers@ansys.com>
7225 * PropertyGrid.cs: Cleaned up some TODOs
7226 * PropertyGridView.cs: Added support for UITypeEditors
7228 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7230 * DataGrid.cs: clears cached value
7232 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
7234 * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
7235 * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
7236 * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
7237 * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
7239 2005-06-16 Jordi Mas i Hernandez <jordi@ximian.com>
7241 * ThemeWin32Classic.cs: fixes colour
7243 2005-06-15 Peter Bartok <pbartok@novell.com>
7245 * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
7246 * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
7247 * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
7248 * Control.cs: Added some MWFCategory and MWFDescription attributes
7249 * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
7251 2005-06-15 Alexander Olk <xenomorph2@onlinehome.de>
7253 * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
7256 2005-06-14 Jordi Mas i Hernandez <jordi@ximian.com>
7258 * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
7259 * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
7260 * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
7261 * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
7262 * DataGrid.cs: default datagrid settings for Default Styles, fixes
7263 * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
7265 2005-06-13 Jackson Harper <jackson@ximian.com>
7267 * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
7268 isn't printed when the user enables dropping. (X11 does accept
7271 2005-06-13 Jackson Harper <jackson@ximian.com>
7273 * TreeView.cs: Remove some TODOS.
7275 2005-06-13 Jackson Harper <jackson@ximian.com>
7277 * Form.cs: Hook into the mdi framework.
7278 * MdiClient.cs: Use the base control collections add method so
7279 parents get setup correctly. Set the default back colour and dock
7281 * MdiChildContext.cs: New class, this bad actor handles an
7282 instance of an MDI window. Right now there is only basic
7283 support. You can drag, close, and resize windows. Minimize and
7284 Maximize are partially implemented.
7286 2005-06-13 Jackson Harper <jackson@ximian.com>
7288 * XplatUIX11.cs: Mash numbers together properly, otherwise we get
7289 freaky when both vals are negative. NOTE: There are probably other
7290 places in XplatUIX11 that this needs to be done.
7292 2005-06-13 Jordi Mas i Hernandez <jordi@ximian.com>
7294 * DataGrid.cs: implement missing methods, move KeyboardNavigation
7295 * DataGridColumnStyle.cs: fixes signature
7297 2005-06-12 Jackson Harper <jackson@ximian.com>
7299 * XplatUIX11.cs: Use sizing cursors similar to the ones on
7302 2005-06-11 Jackson Harper <jackson@ximian.com>
7304 * StatusBarPanel.cs: Signature cleanups. Implement
7307 2005-06-10 Jordi Mas i Hernandez <jordi@ximian.com>
7309 * DataGridTextBoxColumn.cs: Honors aligment
7310 * GridColumnStylesCollection.cs: Contains is case unsensitive
7311 * GridTableStylesCollection.cs: several fixes
7312 * DataGridTableStyle.cs: default column creation
7313 * DataGridDrawingLogic.cs: fixes
7314 * CurrencyManager.cs: ListName property
7315 * DataGrid.cs: multiple styles support
7316 * DataGridColumnStyle.cs: fixes
7319 2005-06-10 Peter Bartok <pbartok@novell.com>
7321 * Control.cs(Select): Moved SetFocus call to avoid potential
7322 loops if controls change the active control when getting focus
7323 * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
7326 2005-06-10 Matthias Felgner <matthiasf@voelcker.ocm>
7328 * ImageListConverter.cs: Implemented
7330 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7332 * MonthCalendar.cs: Wired in NumericUpDown control for year
7334 2005-06-10 John BouAntoun <jba-mono@optusnet.com.au>
7336 * MonthCalendar.cs: Removed MonoTodo attributes on Click and
7337 DoubleClick events, since they are not meant to be fired.
7339 2005-06-09 Peter Bartok <pbartok@novell.com>
7341 * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
7342 Jonathan's standalone controls into MWF, implemented missing
7343 events, attributes and methods; added xxxAccessible classes
7344 * AccessibleObject.cs: Made fields internal so other classes
7345 can change them if needed
7347 2005-06-09 Jonathan Gilbert <2a5gjx302@sneakemail.com>
7349 * UpDownBase.cs: Complete implementation
7350 * NumericUpDown.cs: Complete implementation
7351 * DomainUpDown.cs: Complete implementation
7353 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
7355 * DataGridTextBoxColumn.cs: drawing fixes
7356 * DataGridCell.cs: fixes ToString method to match MSNet
7357 * DataGridTableStyle.cs: fixes
7358 * DataGridBoolColumn.cs: fixes, drawing
7359 * DataGridDrawingLogic.cs: fixes, new methods
7360 * DataGridTextBox.cs: Keyboard and fixes
7362 - Keyboard navigation
7364 - Row selection (single, multiple, deletion, etc)
7367 2005-06-07 Jackson Harper <jackson@ximian.com>
7369 * ThemeWin32Classic.cs: Clear the background area when drawing
7372 2005-06-06 Peter Bartok <pbartok@novell.com>
7374 * ImageListStreamer.cs: Fixed signature for GetData
7375 * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
7377 - Added missing ChildAccessibleObject class
7378 - Added missing OnXXXFocus overrides, switched to using those
7379 instead of the event handler
7381 - Added Parent property for ControlAccessibleObject
7384 - Added ResetBindings()
7385 * ListBindingConverter.cs: Implemented some methods
7386 * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
7387 * ImageList.cs: Implemented basic handle scheme, removed TODOs
7388 * ContainerControl.cs: Fixed signature, now subscribing to the
7389 ControlRemoved event instead of overriding the handler, LAMESPEC
7390 * CurrencyManager.cs: Added missing attribute
7391 * MonthCalendar.cs: Added missing properties
7393 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7395 * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
7397 2005-06-06 Gaurav Vaish and Ankit Jain
7399 * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
7400 * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
7402 2005-06-06 Jordi Mas i Hernandez <jordi@ximian.com>
7404 * Control.cs: fixes CreateParams Width / Height.
7406 2005-06-05 Peter Bartok <pbartok@novell.com>
7408 * Win32DnD.cs: Removed compilation warnings
7410 2005-06-05 Peter Bartok <pbartok@novell.com>
7412 * Control.cs (CreateParams): Since we don't know if one of the
7413 properties we use is overridden, lets make sure if we fail accessing
7414 we continue with a backup plan
7416 2005-06-05 Peter Bartok <pbartok@novell.com>
7419 - Removed debug output
7420 - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
7422 - Plugged resource leak
7423 * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
7426 2005-06-05 Peter Bartok <pbartok@novell.com>
7428 * XplatUIWin32.cs: Removed DnD code
7429 * Win32DnD.cs: Implemented drop source and drop target functionality
7431 2005-06-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
7433 * UpDownBase.cs: remove duplicate addition of event, enable some code
7434 that was commented out.
7435 * NumericUpDown.cs: added missing attributes and Hexadecimal property.
7436 Validate input when a key is pressed. It works fine now for every
7437 combination of Hexadecimal. Only missing some drawing love when sharing
7438 space with other controls.
7440 2005-06-04 Peter Bartok <pbartok@novell.com>
7443 - We need to pass a window for DragDrop, so enable callback events
7444 - Added DnD callback events when being a DragSource
7445 * XplatUI.cs (StartDrag): Added window handle argument
7446 * XplatUIDriver.cs (StartDrag): Added window handle argument
7447 * QueryContinueDragEventArgs: Made fields internally accessible so
7448 drivers can set them
7449 * GiveFeedbackEventArgs: Made fields internally accessible so drivers
7452 2005-06-03 Jordi Mas i Hernandez <jordi@ximian.com>
7454 * DataGridTextBoxColumn.cs: column text editing
7455 * DataGridTableStyle.cs: Respect columns styles created by the user
7456 * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
7457 * DataGridBoolColumn.cs: bool column editing
7458 * DataGrid.cs: fixes to scrolling, properties, etc
7459 * DataGridTextBox.cs: handle keyboard
7460 * DataGridColumnStyle.cs: fixes
7462 2005-06-02 Jackson Harper <jackson@ximian.com>
7464 * ImageListStreamer.cs: Somewhat broken implementation of
7465 GetObjectData. The RLE needs some work to match MS properly.
7467 2005-06-02 Jackson Harper <jackson@ximian.com>
7469 * X11Dnd.cs: Attempting to keep at least one file in MWF
7472 2005-06-02 Peter Bartok <pbartok@novell.com>
7474 * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
7477 2005-06-02 Peter Bartok <pbartok@novell.com>
7479 * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
7480 * XplatUI.cs: Added DoDragDrop() method
7481 * XplatUIDriver.cs: Added DoDragDrop() method
7483 2005-06-02 Jackson Harper <jackson@ximian.com>
7485 * Splitter.cs: Implement BorderStyle.
7487 2005-06-02 Jackson Harper <jackson@ximian.com>
7489 * XplatUIX11.cs: Tie into the X11Dnd subsystem.
7490 * X11Dnd.cs: New file. A subsystem that handles drag and drop on
7493 2005-06-02 Peter Bartok <pbartok@novell.com>
7497 - Fixed broken insertion code for SetData, now also
7498 overwrites any existing entry of the same format name
7499 * Hwnd.cs: Added list of pointers that automatically gets
7500 freed when the window is disposed
7501 * XplatUI.cs: Call driver initialization method when loading
7504 - OnDragLeave takes EventArgs, not DragEventArgs
7505 - Added setting of WS_EX_ACCEPTFILES style when dropping is
7507 - Forces style update when drop state changes
7508 * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
7509 not perfect since we cannot (yet) call the IDataObject.GetData()
7510 method, we keep getting 0x80004005 error, dunno why)
7512 2005-06-02 Peter Bartok <pbartok@novell.com>
7514 * DragEventArgs.cs: Make fields internal so we can cache the
7515 object and re-set the fields from XplatUI
7517 2005-06-02 Jackson Harper <jackson@ximian.com>
7519 * Control.cs: Add some internal methods so the DnD subsystem can
7520 raise DnD events. Also call into the driver when AllowDrop is set.
7522 * XplatUIDriver.cs: New method for setting whether or not a window
7523 is allowed to accept drag and drop messages.
7525 2005-06-01 Jordi Mas i Hernandez <jordi@ximian.com>
7527 * ScrollBar.cs: Make sure that values sent in Scroll events
7528 are always between Maximum and Minimum.
7530 2005-06-01 Marek Safar <marek.safar@seznam.cz>
7532 * Menu.cs: Call MenuChanged when menuitem visibility has been
7534 * MenuItem.cs: Rebuild menu when item is (not) visible.
7535 * MainMenu.cs: MainMenu has special MenuChanged.
7536 * Theme.cs: Caption and FrameBorderSize are not fixed.
7537 * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
7538 * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
7540 * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
7541 * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
7543 2005-05-30 Jackson Harper <jackson@ximian.com>
7545 * DataFormat.cs: We can't statically initialize this stuff because
7546 it calls into the xplatui and could create a loop. So we lazy init
7549 2005-05-28 Jackson Harper <jackson@ximian.com>
7551 * Control.cs: Proper implementation of Product(Name/Version).
7553 2005-05-27 Jackson Harper <jackson@ximian.com>
7555 * DataObject.cs: Dont crash if no data is found.
7557 2005-05-26 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
7558 * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
7559 as per status page, guessing it should be set to true
7561 2005-05-26 Jordi Mas i Hernandez <jordi@ximian.com>
7563 * DataGridTextBoxColumn.cs: Draws text and basic text formatting
7564 * DataGridTableStyle.cs: set proper formatting text, def header text
7565 * ThemeWin32Classic.cs: new themable paramaters
7566 * DataGridBoolColumn.cs: paint check box, get data, fixes
7567 * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
7568 * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
7569 * DataGridColumnStyle.cs: fixes
7570 * Theme.cs: new themable paramaters
7572 2005-05-26 Peter Bartok <pbartok@novell.com>
7574 * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
7576 2005-05-24 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7577 * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
7579 2005-05-24 Peter Bartok <pbartok@novell.com>
7581 * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
7582 Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
7583 Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
7584 FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
7585 NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
7586 ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
7587 DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
7588 AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
7589 DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
7590 StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
7591 missing attributes, etc
7592 * DataGridPreferredColumnWidthTypeConverter.cs: Added
7594 2005-05-24 Peter Bartok <pbartok@novell.com>
7596 * Help.cs: Added, implemented trivial functions, throws up MessageBox
7597 when user tries to get help
7598 * DataObject.cs, DataFormats.cs, LinkArea.cs,
7599 SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
7600 to suppress warnings
7601 * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
7602 avoid unreachable code warning
7604 2005-05-20 Peter Bartok <pbartok@novell.com>
7606 * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
7608 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7610 * DataGridTextBoxColumn.cs: Basic painting methods
7611 * DataGridTableStyle.cs: Set table style in the column
7612 * ThemeWin32Classic.cs: Use Theme for colors
7613 * DataGridDrawingLogic.cs: Implement more drawing
7614 * DataGrid.cs: drawing, theming, enhacements, fixes
7615 * DataGridColumnStyle.cs: fixes, drawing
7616 * Theme.cs: theming for Datagrid
7618 2005-05-20 Peter Bartok <pbartok@novell.com>
7620 * Cursor.cs: Implemented GetObjectData() method
7622 2005-05-20 Peter Bartok <pbartok@novell.com>
7624 * Cursors.cs: Added setting of cursor name
7626 - Implemented constructors
7627 - Implemented Draw and DrawStretched
7628 - Implemented Current property
7629 - Implemented == and != operators
7630 - Implemented Dispose()
7631 - Implemented ToString
7632 - Added missing attributes
7634 - Added missing reset for OverrideCursor when DoEvents is called
7635 - Fixed creation of cursor, logic was wrong
7637 - Added missing reset for OverrideCursor when DoEvents is called
7638 - Fixed creation of cursor, bit arrays were swapped
7639 * Clipboard.cs: Removed obsolete MonoTODO attribute
7641 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7643 * ComboBox.cs: fixes OnSelectedItemChanged
7644 * ControlBindingsCollection.cs: fixes item range check
7646 2005-05-20 Jordi Mas i Hernandez <jordi@ximian.com>
7649 - Calc preferred height properly
7650 - Implement missing properties
7652 * NumericUpDown.cs: Implement missing events
7654 2005-05-19 Jackson Harper <jackson@ximian.com>
7656 * TabControl.cs: New method that resizes the tab pages before
7657 redrawing them. This as needed as the control is double buffered
7658 and sizing will not be recalculated unless ResizeTabPages is
7660 * TabPage.cs: Set base.Text instead of Text in the constructor so
7661 that UpdateOwner does not get called. Use the new Redraw method of
7662 TabControl instead of Refresh so the sizing is recalculated.
7663 * ThemeWin32Classic.cs: Draw the text for button tabs.
7665 2005-05-19 Jackson Harper <jackson@ximian.com>
7667 * Control.cs: Paint control background images. Fix typo where
7668 PaintControlBackground was not getting called correctly.
7670 2005-05-19 Peter Bartok <pbartok@novell.com>
7672 * ScrollableControl.cs (DisplayRectangle): Undid my last change until
7673 I can investigate, apparently I broke FileDialog
7675 2005-05-19 Marek Safar <marek.safar@seznam.cz>
7677 * AxHost.cs: Some simple properties.
7678 * Control.cs: window must be accessible after ctor.
7679 * Form.cs: Added TransparencyKey property.
7680 * TextBoxBase.cs: Implemented Clear. Text property can be null.
7681 * XplatUIWin32.cs: SetBorderStyle implemented.
7683 2005-05-18 Peter Bartok <pbartok@novell.com>
7685 * DataObject.cs: Entries are not global but particular to the
7686 DataObject, now it behaves that way
7687 * XplatUIWin32.cs: Implemented Clipboard methods
7688 * Clipboard.cs: Implemented
7689 * ScrollableControl.cs (DisplayRectangle): Fixed calculation
7690 * XplatUIOSX.cs: Updated to final clipboard prototypes
7691 * XplatUIX11.cs: Implemented Clipboard methods
7692 * XplatUIDriver.cs: Updated to final clipboard prototypes
7693 * XplatUIStructs.cs:
7694 - Added BITMAPINFOHEADER struct
7695 - Added ClipboardFormats enum
7697 - Added ClipboardStruct
7698 - Added Atom enum items for clipboard types
7699 - Fixed atom types for Selection event structures
7701 - Added internal properties and methods for drivers to enumerate
7703 - Switched initialization method to allow drivers to assign their
7704 own IDs even for the MS predefined clipboard IDs
7705 * XplatUI.cs: Updated to final clipboard interface
7707 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7708 * PropertyGridView.cs: Fixed compiler warnings.
7710 2005-05-18 Jonathan S. Chambers <jonathan.chambers@ansys.com>
7711 * PropertyGrid.cs: Added some event calls
7712 * PropertyGridView.cs: Change drawing code to use double buffering
7713 * PropertyGridTextBox.cs: Changed Text property name
7714 * GridItem.cs: Added Bounds property.
7715 * GridEntry.cs: Added Bounds property.
7717 2005-05-17 Lluis Sanchez Gual <lluis@novell.com>
7719 * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
7720 since GetType() may not return the correct type if the object is
7723 2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
7725 * TreeNodeCollection.cs: fixes get/set item ranges
7727 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7729 * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
7731 2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
7733 * ComboBox.cs: Fix item range comparation
7734 * ListView.cs: Fix item range comparation
7736 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7739 - Clear example panel when OnPaint is called
7740 - Better solution for displaying the example panel text
7741 - Select default indexes in the ListBoxes
7743 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7745 * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
7747 2005-05-11 Peter Bartok <pbartok@novell.com>
7749 * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
7750 * SelectionRangeConverter.cs: Implemented
7751 * PropertyGrid.cs: Fixed attribute value
7753 - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
7754 - Added Sebastien Pouliot's CAS Stack Propagation fixes
7755 * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
7756 that's common to all drivers. First methods to go there are
7757 Sebastien Pouliot's CAS Stack Propagation helper methods
7758 * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
7759 Sebastien Pouliot for CAS Stack Propagation
7761 2005-05-11 Geoff Norton <gnorton@customerdna.com>
7764 XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)
7766 2005-05-12 Jordi Mas i Hernandez <jordi@ximian.com>
7768 * DataGridTextBoxColumn.cs: fixed some members
7769 * GridColumnStylesCollection.cs: indexed column is case insensitive
7770 * DataGridTableStyle.cs: fixes
7771 * ThemeWin32Classic.cs: add new theme parameter
7772 * Theme.cs: add new theme parameter
7773 * DataGridDrawingLogic.cs: Datagrid's drawing logic
7774 * DataGrid.cs: fixes, new internal properties, etc.
7775 * DataGridColumnStyle.cs: allows to set grid value
7778 2005-05-10 Peter Bartok <pbartok@novell.com>
7780 * AccessibleObject.cs:
7781 - Removed MonoTODO attribute on help, method is correct
7782 - Fixed Bounds property
7783 * AxHost.cs: Moved MonoTODO
7784 * ButtonBase.cs: Now setting AccessibleObject properties
7785 * RadioButton.cs: Setting proper AccessibleObject role
7786 * CheckBox.cs: Setting proper AccessibleObject role
7787 * ControlBindingsCollection.cs: Added properties, methods and attributes
7788 * DataFormats.cs: Fixed awkward internal API, and changed to enable
7789 userdefined DataFormats.Format items as well
7790 * ListControl.cs: Removed data_member from the public eye
7791 * OpenFileDialog.cs:
7793 - Added missing attributes
7794 * SaveFileDialog.cs: Added missing attributes
7795 * ImageListStreamer.cs: Fixed code that caused warnings
7796 * LinkLabel.cs: Removed unreachable code
7797 * TreeView.cs: Fixed code that caused warnings
7798 * PropertyGridView.cs: Fixed code that caused warnings
7799 * GridColumnStylesCollection.cs: Added missing attributes
7800 * GridTableStylesCollection: Added missing attribute
7801 * PropertyManager: Added .ctor
7802 * SecurityIDType: Added
7803 * DataObject.cs: Implemented class
7804 * LinkArea.cs: Added missing attribute
7806 2005-05-11 Jordi Mas i Hernandez <jordi@ximian.com>
7808 * RadioButton.cs: call base method to allow to fire OnClick event
7809 * UpDownBase.cs: OnMouseUp call base method
7810 * CheckedListBox.cs: call base method before returning
7811 * TrackBar.cs: call base method before returning
7814 2005-05-10 Peter Bartok <pbartok@novell.com>
7816 * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
7819 2005-05-10 Peter Bartok <pbartok@novell.com>
7821 * DataFormats.cs: Implemented
7822 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
7823 XplatUIX11.cs: Added Clipboard APIs
7824 * XplatUIWin32.cs: Implemented Clipboard APIs
7825 * FolderBrowserDialog.cs: Added missing event, attributes
7827 2005-05-10 Jordi Mas i Hernandez <jordi@ximian.com>
7829 * CheckBox.cs: call base method to allow to fire OnClick event
7831 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
7833 * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
7835 2005-05-06 Peter Bartok <pbartok@novell.com>
7837 * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
7838 * Screen.cs: Implemented
7839 * HelpNavigator.cs: Added
7840 * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
7842 * HelpProvider.cs: Implemented all we can do until we have a CHM
7843 help library (which means that "What's This" does work now)
7845 2005-05-06 Jackson Harper <jackson@ximian.com>
7847 * XplatUIX11.cs: Fix waking up the main loop.
7849 2005-05-05 Peter Bartok <pbartok@novell.com>
7851 * XplatUI.cs: Updated revision
7852 * Form.cs: Removed enless loop
7853 * GroupBox.cs (OnPaint): Added call to base.OnPaint()
7854 * Label.cs (OnPaint): Added call to base.OnPaint()
7855 * ToolTip.cs: Made ToolTipWindow reusable for other controls
7856 * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
7857 * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
7859 * ButtonBase.cs: Moved base.OnPaint() call to end of method
7860 * ThemeWin32Classic.cs: Replaced references to ToolTip with references
7861 to ToolTip.ToolTipWindow for drawing and size methods; this allows
7862 reuse of ToolTipWindow by other controls
7863 * SizeGrip.cs: Moved base.OnPaint() call to end of method
7864 * XplatUIX11.cs: Now clipping drawing area (experimental)
7865 * PictureBox.cs: Moved base.OnPaint() call to end of method
7866 * Theme.cs: Fixed ToolTip abstracts to match new format
7867 * ErrorProvider.cs: Implemented
7869 2005-05-05 Jordi Mas i Hernandez <jordi@ximian.com>
7871 * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
7875 - Implements LinkBehavior
7878 2005-05-03 Jackson Harper <jackson@ximian.com>
7880 * ListView.cs: Calculate the scrollbar positioning on resize and
7881 paint, so they get put in the correct place.
7883 2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
7885 * ColorDialogs.cs: The small color panels are now handled by
7886 SmallColorControl. This fixes drawing of the focus rectangle
7887 and adds a 3D border.
7889 2005-05-03 Peter Bartok <pbartok@novell.com>
7891 * Control.cs: Modified version of Jonathan Chamber's fix for
7894 2005-05-03 Jackson Harper <jackson@ximian.com>
7896 * ListView.cs: Remove redraw variable. Control now handles whether
7897 or not a redraw needs to be done, and will only raise the paint
7898 event if redrawing is needed.
7900 2005-05-03 Jackson Harper <jackson@ximian.com>
7902 * Splitter.cs: No decorations for the splitter form. Cache the
7905 2005-05-03 Jackson Harper <jackson@ximian.com>
7907 * TreeView.cs: Use dashed lines to connect nodes. Use the
7908 ControlPaint method for drawing the focus rect instead of doing
7911 2005-05-02 Peter Bartok <pbartok@novell.com>
7913 * LinkLabel.cs: Fixed the fixes from r43566 and 43521
7915 2005-04-29 Jackson Harper <jackson@ximian.com>
7917 * ThemeWin32Classic.cs: Don't clear the GC that will clear the
7918 entire image buffer. Just clear the clipping rectangle.
7920 2005-04-29 Jackson Harper <jackson@ximian.com>
7922 * ThemeWin32Classic.cs: Don't draw list view items that are
7923 outside the clipping rectangle.
7925 2005-04-29 Jordi Mas i Hernandez <jordi@ximian.com>
7927 * ListBox.cs: added horizontal item scroll
7929 2005-04-29 Jackson Harper <jackson@ximian.com>
7931 * ThemeWin32Classic.cs: Remove some old debug code that was
7932 causing flicker with the new double buffering code.
7934 2005-04-29 John BouAntoun <jba-mono@optusnet.com.au>
7936 * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
7937 behave like combobox and comboboxlist (still not sure if this is
7940 2005-04-28 Jackson Harper <jackson@ximian.com>
7942 * ThemeWin32Classic.cs: Don't fill the middle of progress
7943 bars. This fills areas outside of the clip bounds that don't need
7946 2005-04-28 Jackson Harper <jackson@ximian.com>
7948 * Control.cs: Don't expose functionality to touch the image buffers.
7950 * ListView.cs: We do not need to (and no longer can) manipulate
7951 the image buffers directly. All of this is handled by Control.
7953 2005-04-28 Peter Bartok <pbartok@novell.com>
7955 * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
7956 RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
7957 RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
7959 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7962 - Adjust control's height for non-simple comboboxes (bug fix)
7964 * MenuAPI.cs: remove unused var
7965 * ScrollBar.cs: remove unsed var
7967 * ListBox.cs: unselect items when clearing
7969 2005-04-28 Jordi Mas i Hernandez <jordi@ximian.com>
7971 * ListControl.cs: honors OnPositionChanged and default Selected Item
7972 * ListBox.cs: unselect items when clearing
7974 2005-04-27 Jackson Harper <jackson@ximian.com>
7976 * X11Keyboard.cs: Initialize a default keyboard and give a warning
7977 if a "correct" keyboard is not found. This will make us not crash,
7978 but might give some users bad keyboard layouts...seems to be the
7979 same thing rewind does.
7981 2005-04-27 Jackson Harper <jackson@ximian.com>
7983 * BindingManagerBase.cs: Attach the current/position changed
7984 handlers to their respective events.
7986 2005-04-27 Jackson Harper <jackson@ximian.com>
7988 * Control.cs: Make sure that the first WM_PAINT does a full draw,
7990 * ThemeWin32Classic.cs: Don't fill the background for picture
7991 boxes. This could overright user drawing.
7992 * ComboBox.cs: Just fill the clipping rect not the entire client
7993 rect when drawing the background. This prevents pieces of the
7994 image buffer from getting overwritten and is theoretically faster.
7996 2005-04-26 Jordi Mas i Hernandez <jordi@ximian.com>
7998 * ComboBox.cs: Databinding support fixes, fire missing events
7999 * ListControl.cs: implement missing methods and properties, fixes
8000 * ThemeWin32Classic.cs: Databiding support on Drawing
8001 * CheckedListBox.cs: Databinding support fixes, fire missing events
8002 * ListBox.cs: Databinding support fixes, fire missing events
8004 2005-04-25 Peter Bartok <pbartok@novell.com>
8006 * LinkLabel.cs: Length of LinkArea is not allowed to be negative
8008 2005-04-25 Jackson Harper <jackson@ximian.com>
8010 * TreeView.cs: Use the horizontal scrollbars height not width when
8011 determining how much of the client area is available.
8013 2005-04-25 Jackson Harper <jackson@ximian.com>
8015 * Control.cs: Double buffering is handled differently now. As per
8016 the spec, the extra buffer is created in the WM_PAINT message and
8017 passed down to the control's drawing code.
8025 * PropertyGridView.cs:
8037 * DateTimePicker.cs:
8039 * TreeView.cs: Update to new double buffering system.
8040 * MonthCalendar.cs: Uncomment block, as Capture is now
8041 working. Update to new double buffering
8042 * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
8043 * PaintEventArgs.cs: New internal method allows us to set the
8044 graphics object. This is used for double buffering.
8045 * ThemeWin32Classic.cs: Give the picture box drawing code a clip
8046 rectangle. The internal paint_area var has been removed from
8047 StatusBar. The clipping rect should be used instead.
8048 * Theme.cs: Give the PictureBox drawing method a clipping rect.
8049 * TabPage.cs: The RefreshTabs method was removed, so just call the
8050 tab controls Refresh method now.
8051 * TabControl.cs: Update to new double buffering. Make sure the
8052 handle is created before sizing the tab pages, otherwise we will
8053 get stuck in a loop.
8055 2005-04-24 Borja Sanchez Zamorano <borsanza@gmail.com>
8057 * LinkLabel.cs: Fix typo, bug #74719; patch
8058 from Borja Sanchez Zamorano
8060 2005-04-22 Jackson Harper <jackson@ximian.com>
8062 * TreeNode.cs: Implement Handle stuff.
8063 * TreeView.cs: Utility methods so nodes can get/lookup by handle.
8065 2005-04-22 Jordi Mas i Hernandez <jordi@ximian.com>
8067 * DataGridTextBoxColumn.cs: call base constructors, fixes
8068 * GridColumnStylesCollection.cs: missing events, methods, and functionality
8069 * GridTableStylesCollection.cs: fixes, check duplicate mapping names
8070 * DataGridTableStyle.cs: implements create default column styles
8071 * DataGridBoolColumn.cs: which types can handle
8072 * DataGrid.cs: missing methods, fixes, new functionality
8073 * DataGridColumnStyle.cs: fixes
8075 2005-04-20 Alexander Olk <xenomorph2@onlinehome.de>
8076 * FolderBrowserDialog.cs:
8077 - Use a thread to fill the TreeView
8078 - Adjusted some sizes
8080 2005-04-19 Peter Bartok <pbartok@novell.com>
8082 * LinkLabel.cs: (Re-)create the pieces when setting the Text
8083 property. Fixes #74360.
8085 2005-04-19 Jackson Harper <jackson@ximian.com>
8087 * XEventQueue.cs: Lock when getting the lockqueue size.
8088 * PictureBox.cs: Call base OnPaint
8090 2005-04-19 Peter Bartok <pbartok@novell.com>
8092 * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
8093 messages were no longer being processed (this broke BeginInvoke)
8096 2005-04-18 Jackson Harper <jackson@ximian.com>
8098 * TreeView.cs: buglet that caused node images to get drawn
8099 regardless of whether or not they were in the clipping rectangle.
8101 2005-04-18 Jackson Harper <jackson@ximian.com>
8103 * CurrencyManager.cs: There are four rules for GetItemProperties:
8104 - If the type is an array use the element type of the array
8105 - If the type is a typed list, use the type
8106 - If the list contains an Item property that is not an object, use
8108 - use the first element of the list if there are any elements in
8111 2005-04-17 Jackson Harper <jackson@ximian.oom>
8113 * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
8114 click. This handles offsets for scrolling properly and reduces
8115 memory. Also fixed GetNode to not offset now that TopNode works
8117 * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
8119 2005-04-17 Jackson Harper <jackson@ximian.com>
8121 * CursorConverter.cs: Initial implementation.
8123 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8125 * ListControl.cs: work towards complex data binding support on ListControl
8126 * CurrencyManager.cs: work towards complex data binding support on ListControl
8127 * ListBox.cs: work towards complex data binding support on ListControl
8130 2005-04-15 Jordi Mas i Hernandez <jordi@ximian.com>
8132 * GridTableStylesCollection.cs: fixes name and constructor
8133 * DataGridTableStyle.cs: fixes
8134 * DataGridBoolColumn.cs: fixes names and constructors
8135 * DataGrid.cs: define methods and properties. Some init implementations
8136 * DataGridCell.cs: define methods and properties. Some init implementations
8137 * GridTablesFactory.cs: Define methods and properties
8139 2005-04-15 Geoff Norton <gnorton@customerdna.com>
8141 * XplatUIOSX.cs: Handle proper mouse tracking even if the current
8142 graphics port changes. We still want the coordinates in global screen
8145 2005-04-14 Jackson Harper <jackson@ximian.com>
8147 * TreeView.cs: Handle clicks when plus minus is disabled. Don't
8148 check plus minus or checkbox clicks unless those features are enabled.
8150 2005-04-14 Jackson Harper <jackson@ximian.com>
8152 * TreeView.cs: Add methods for setting the top and bottom visible
8153 nodes. TreeNode::EnsureVisible uses these methods.
8154 * TreeNode.cs: Implement EnsureVisible
8156 2005-04-13 Jordi Mas i Hernandez <jordi@ximian.com>
8158 * Form.cs: Pospone menu assignation if the window has not been created yet
8159 * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
8162 2005-04-12 Jackson Harper <jackson@ximian.com>
8164 * TreeView.cs: Set the TopNode properly when scrolling
8165 occurs. This has the added benifit of reducing the amount of
8166 walking that needs to be done when drawing. Also removed an old
8168 * OpenTreeNodeEnumerator.cs: Fix moving backwards.
8170 2005-04-11 Jordi Mas i Hernandez <jordi@ximian.com>
8172 * Timer.cs: fixes interval setting when the timer is already enabled
8174 2005-04-10 Alexander Olk <xenomorph2@onlinehome.de>
8176 * FolderBrowserDialog.cs: First approach
8178 2005-04-09 Peter Bartok <pbartok@novell.com>
8180 * FolderBrowserDialog: Added
8182 2005-04-07 Jordi Mas i Hernandez <jordi@ximian.com>
8184 * LinkLabel.cs: move drawing code into the theme
8185 * ThemeWin32Classic.cs: drawing code and painting background bugfix
8186 * Theme.cs: define DrawLinkLabel method
8188 2005-04-05 Jackson Harper <jackson@ximian.com>
8190 * BindingContext.cs: Use weak references so these bad actors don't
8191 stay alive longer then they need to.
8193 2005-04-05 Jackson Harper <jackson@ximian.com>
8195 * ListControl.cs: Basic implementation of complex databinding.
8197 * ListBox.cs: Add calls to ListControl databinding methods.
8199 2005-04-05 Alexander Olk <xenomorph2@onlinehome.de>
8202 - Don't change PopupButtonState to Normal when the
8203 PopupButton gets pressed several times.
8204 - Renamed ButtonPanel to PopupButtonPanel
8206 2005-04-05 Jordi Mas i Hernandez <jordi@ximian.com>
8208 * ColorDialog.cs: Use cached objects instead of creating them
8209 * LinkLabel.cs: Use cached objects instead of creating them
8210 * Splitter.cs: Use cached objects instead of creating them
8211 * FontDialog.cs: Use cached objects instead of creating them
8212 * PropertyGridView.cs: Use cached objects instead of creating them
8213 * MessageBox.cs: Use cached objects instead of creating them
8214 * FileDialog.cs: Use cached objects instead of creating them
8215 * ThemeWin32Classic.cs: Use cached objects instead of creating them
8216 * TreeView.cs: Use cached objects instead of creating them
8218 2005-04-04 Jordi Mas i Hernandez <jordi@ximian.com>
8220 * Control.cs: use Equals to compare the font since no == op
8221 * ScrollBar.cs: use Equals to compare the font since no == op
8223 2005-04-04 Alexander Olk <xenomorph2@onlinehome.de>
8225 * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
8227 2005-04-01 Jackson Harper <jackson@ximian.com>
8229 * Binding.cs: Implement IsBinding.
8230 * BindingManagerBase.cs:
8231 * PropertyManager.cs:
8232 * CurrencyManager.cs: Add IsSuspended property.
8234 2005-04-01 Jackson Harper <jackson@ximian.com>
8236 * Binding.cs: Had some IsAssignableFrom calls backwards.
8238 2005-04-01 Jackson Harper <jackson@ximian.com>
8240 * Binding.cs: Handle null data members when pulling data.
8241 * PropertyManager.cs: Handle the data member being a property that
8244 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8246 * DataGridTextBoxColumn.cs: fixes signature
8247 * DataGrid.cs: calls right constructor
8249 2005-04-01 Jordi Mas i Hernandez <jordi@ximian.com>
8251 * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
8252 * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
8253 * GridTableStylesCollection.cs: implements GridTableStylesCollection
8254 * DataGridTableStyle.cs: implements DataGridTableStyle
8255 * DataGridBoolColumn.cs: implements DataGridBoolColumn
8256 * DataGridTextBox.cs: implements DataGridTextBox
8257 * DataGridColumnStyle.cs: implements DataGridColumnStyle
8259 2005-03-31 Alexander Olk <xenomorph2@onlinehome.de>
8261 * FileDialog.cs: Added simple PopupButton class for ButtonPanel
8263 2005-03-29 Peter Bartok <pbartok@novell.com>
8266 - Properly implemented CompanyName property
8267 - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
8268 returns a path that includes CompanyName, ProductName and
8269 Version (fixes bug #70330)
8271 2005-03-29 Stefan Buehler <sbuehler@gmx.ch>
8273 * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
8276 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8278 * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
8280 - Added ReadOnly CheckBox
8281 - Further refactoring: moved some code from Open-/SaveFileDialog
8284 2005-03-28 Alexander Olk <xenomorph2@onlinehome.de>
8286 * OpenFileDialog.cs: Fixed CheckFileExists
8288 Moved FileView and DirComboBox outside FileDialog class.
8289 They can now be used outside FileDialog
8291 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8293 * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
8294 * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
8296 2005-03-27 Alexander Olk <xenomorph2@onlinehome.de>
8298 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8299 - Added missing CreatePrompt property in SaveDialog
8300 - Overall SaveDialog handling should be better now
8301 - Added non standard ShowHiddenFiles property
8302 - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
8303 - Added InitialDirectory and RestoreDirectory support
8305 2005-03-26 Alexander Olk <xenomorph2@onlinehome.de>
8307 * FileDialog.cs: Made dirComboBox usable
8309 2005-03-24 Alexander Olk <xenomorph2@onlinehome.de>
8311 * FileDialog.cs: Added Filter support (case sensitiv)
8313 2005-03-24 Jackson Harper <jackson@ximian.com>
8315 * TabControl.cs: Need a couple more pixels for the lines.
8317 2005-03-23 Jackson Harper <jackson@ximian.com>
8319 * TabControl.cs: Give the tab page focus when it is selected.
8321 2005-03-23 Jackson Harper <jackson@ximian.com>
8323 * TabControl.cs: Account for the drawing of tabs borders when
8324 invalidating. If the slider was clicked dont do click detection on
8327 2005-03-23 Jackson Harper <jackson@ximian.com>
8329 * TabControl.cs: Fix typo, emilinates an unneeded expose event.
8331 2005-03-22 Jonathan Chambers <jonathan.chambers@ansys.com>
8333 * CategoryGridEntry.cs: Added
8334 * GridItem.cs: Added helper properties
8335 * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
8336 * GridEntry.cs: Updated code for collection
8337 * PropertyGrid.cs: Cleaned up some formatting
8338 * PropertyGridView.cs: Added drop down functionality for enums.
8339 * GridItemCollection.cs: Added enumerator logic
8340 * PropertyGridEntry.cs: Added
8342 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8345 - Removed unnecessary commented code
8346 - Fixed handling for entering the filename manually in the combobox
8348 2005-03-19 Alexander Olk <xenomorph2@onlinehome.de>
8350 * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
8352 2005-03-18 Peter Bartok <pbartok@novell.com>
8354 * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
8355 them being touching the border
8357 2005-03-18 Peter Bartok <pbartok@novell.com>
8359 * TextControl.cs: Quick hack to center text better
8361 2005-03-18 Peter Bartok <pbartok@novell.com>
8364 - Don't throw NotImplemented exceptions, just print a notice once
8365 instead (requested by Miguel). This makes running existing SWF
8368 - Commented out Drag'N'Drop XplatUI call (no driver support yet)
8369 - Added context menu trigger on right click
8370 * Panel.cs: Trigger invalidate on resize
8372 - Removed old double-buffer drawing
8373 - Added ResizeRedraw style to force proper update of statusbar
8375 - Removed debug output
8376 * ThemeWin32Classic.cs:
8377 - Fixed drawing of status bar, now draws Text property if there
8378 are no defined panels
8380 2005-03-18 Jackson Harper <jackson@ximian.com>
8382 * ImageList.cs: When the image stream is set pull all the images
8384 * ImageListStreamer.cs: Implement reading image list streams.
8386 2005-03-18 Peter Bartok <pbartok@novell.com>
8388 * ThemeWin32Classic.cs (DrawPictureBox):
8389 - Fixed calculations for centered drawing
8390 - Fixed drawing for normal mode, not scaling the image on normal
8392 2005-03-18 Peter Bartok <pbartok@novell.com>
8394 * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
8397 - Made Open/Save button the accept button for FileDialog
8398 - Tied the cancel button to the IButtonControl cancel button
8399 - Save/Open now properly builds the pathname
8400 - Now handles user-entered text
8401 - Preventing crash on right-click if no item is selected
8402 - Fixed Text property, now uses contents of textbox
8403 - Fixed SelectedText property, now just returns the text part that
8404 is selected in the text box
8406 2005-03-18 Jackson Harper <jackson@ximian.com>
8408 * ThemeWin32Classic.cs: Use the proper func for drawing the focus
8409 rect, make sure to de-adjust the interior rect after drawing the
8412 2005-03-18 Peter Bartok <pbartok@novell.com>
8414 * MenuAPI.cs: Remove menu *before* executing selected action to
8415 prevent the menu from 'hanging around'
8417 2005-03-17 Geoff Norton <gnorton@customerdna.com>
8419 * XplatUIOSX.cs: Implemented WorkingArea property
8421 2005-03-17 Peter Bartok <pbartok@novell.com>
8423 * XplatUIX11.cs: Fixed menu coord calculations
8424 * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
8425 for calculating offsets
8427 2005-03-17 Peter Bartok <pbartok@novell.com>
8429 * Hwnd.cs: Do not consider menu presence for default client
8430 rectangle location/size
8431 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
8432 XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
8433 translation functions
8434 * FileDialog.cs: Fixed (what I presume is a) typo
8436 2005-03-17 Jonathan Gilbert <logic@deltaq.org>
8438 * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
8439 X access (avoids X-Async errors)
8441 2005-03-16 Jackson Harper <jackson@ximian.com>
8443 * TabControl.cs: Raise the SelectedIndexChanged event.
8445 2005-03-16 Alexander Olk <xenomorph2@onlinehome.de>
8447 * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
8448 - Removed vertical ToolBar and replaced it with a custom panel
8449 (desktop and home button already work)
8450 - Added Help button (some controls get resized or relocated then)
8451 - Draw correct text depending on Open or Save.
8452 - Fixed some typos...
8454 2005-03-16 Jordi Mas i Hernandez <jordi@ximian.com>
8457 - Only change Maximum and Minimum when need it (bug fix)
8459 2005-03-15 Peter Bartok <pbartok@novell.com>
8461 * Form.cs: Use Handle for icon, to trigger creation if
8462 the window does not yet exist
8464 - CanSelect: Slight performance improvement
8465 - Focus(): Preventing possible recursion
8466 - Invalidate(): Removed ControlStyle based clear flag setting
8467 - WM_PAINT: fixed logic for calling OnPaintBackground
8468 - WM_ERASEBKGND: Fixed logic, added call to new driver method
8469 EraseWindowBackground if the control doesn't paint background
8471 - Moved EraseWindowBackground() method to internal methods
8472 - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
8473 is sent via SendMessage on BeginPaint call on Win32
8475 - Added EraseWindowBackground() method
8476 - No longer sends WM_ERASEBKGND on .Expose, but on call to
8477 PaintEventStart, which more closely matches Win32 behaviour
8478 - Fixed Invalidate() call, now updates new ErasePending Hwnd property
8479 - Fixed SetFocus() to properly deal with client and whole windows
8480 * Hwnd.cs: Added ErasePending property
8481 * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
8482 * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
8484 2005-03-12 Geoff Norton <gnorton@customerdna.com>
8487 - Fix hard loop when timers exist.
8488 - Fix bugs with middle and right click for 3 button mice.
8490 2005-03-11 Peter Bartok <pbartok@novell.com>
8493 - get_WorkingArea: Need to call X directly, GetWindowPos only
8494 returns cached data now
8495 - Added sanity check to GetWindowPos hwnd usage
8497 2005-03-11 Jackson Harper <jackson@ximian.com>
8499 * BindingManagerBase.cs: This method isn't used anymore as
8500 PullData now updates the data in the control.
8502 2005-03-11 Jordi Mas i Hernandez <jordi@ximian.com>
8504 * Form.cs: fixes menu drawing on X11
8505 * MenuAPI.cs: fixes menu drawing on X11
8507 2005-03-11 Peter Bartok <pbartok@novell.com>
8509 * Control.cs: Changed OnCreateControl behaviour based on a suggestion
8510 from Jonathan Gilbert; should fix bug #73606
8511 * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
8512 in Screen coordinates. Thanks, Jordi.
8513 * Form.cs: Added missing attribute
8515 2005-03-11 Peter Bartok <pbartok@novell.com>
8518 - Rudimentary Mdi support
8519 - Removed outdated FormParent code
8520 - Implemented lots of missing properties and methods, still missing
8521 transparency support
8522 - Added missing attributes
8523 - Implemented support for MaximumBounds
8524 - Added firing of various events
8525 * XplatUI.cs: Added SetIcon() method
8526 * XplatUIDriver.cs: Added SetIcon() abstract
8527 * XplatUIOSX.cs: Stubbed out SetIcon() method
8529 - Implemented SetIcon() support
8530 - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
8531 - Switched to unix line endings
8533 - Made POINT internal so for can access it as part of MINMAX
8534 - Implemented SetIcon() support
8535 - Implemented support for CLIENTCREATESTRUCT (but might have to drop
8536 native Mdi support again, might have to go managed)
8537 * Control.cs: Now fires the StyleChanged event
8538 * MdiClient.cs: Added; still mostly empty
8540 2005-03-10 Peter Bartok <pbartok@novell.com>
8542 * SaveFileDialog.cs: Added emtpy file
8544 2005-03-08 Peter Bartok <pbartok@novell.com>
8546 * Control.cs: Fixed bug #73190; now invokes CreateControl (which
8547 in turn triggers OnCreateContro) when creating a handle for the
8549 * TextControl.cs: Fixed endless loop in certain cases when
8550 replacing the current selection
8552 2005-03-08 Jordi Mas i Hernandez <jordi@ximian.com>
8555 - Honors NewValue changes in Scroll events allowing apps to change it
8556 - Adds First and Last Scroll events
8557 - Fixes Thumb events
8559 2005-03-07 Peter Bartok <pbartok@novell.com>
8561 * Hwnd.cs: Added DefaultClientRectangle property
8562 * XplatUI.cs: Now using the X11 driver Where() method, which provides
8563 more detailed debug information
8565 - Fixed size-change feedback loop, where we would pull an old size
8566 off the queue and mistakenly change our window's size to an
8568 - Now compressing ConfigureNotify events, to reduce looping and
8570 * TextBoxBase.cs: Preventing crash when no text is set and ToString()
8573 2005-03-07 Jackson Harper <jackson@ximian.com>
8575 * Binding.cs: Push data pushes from data -> property. Check if the
8576 property is readonly when attempting to set it.
8578 2005-03-07 Jackson Harper <jackson@ximian.com>
8580 * Binding.cs: Format and parse data correctly. Use ASsignableFrom
8581 instead of IsSubclassOf. Pulling data now sets the value on the
8583 * PropertyManager.cs:
8584 * CurrencyManager.cs: Just need to pull data when updating now,
8585 because PullData will set the value on the control.
8587 2005-03-04 Jackson Harper <jackson@ximian.com>
8589 * Binding.cs: Implement data type parsing and converting on pulled
8590 data. TODO: Are there more ways the data can be converted?
8592 2005-03-04 Jackson Harper <jackson@ximian.com>
8594 * Binding.cs: Support <Property>IsNull checks. Also bind to the
8595 controls Validating method so we can repull the data when the
8596 control loses focus.
8598 2005-03-03 Jordi Mas i Hernandez <jordi@ximian.com>
8601 - Fixes null string format
8604 - Adds enum type checks
8605 - Fixes redrawing and recalc need after changing some properties
8606 - Fixes on focus_item set after the event
8607 - Fixes adding columns after the control has been created
8609 * ThemeWin32Classic.cs:
8610 - Fixes CheckBox focus rectangle
8611 - Fixes ColumnHeader drawing
8614 2005-03-03 Jackson Harper <jackson@ximian.com>
8616 * Binding.cs: Bind to <Property>Changed events so we can detect
8617 when properties are changed and update the data.
8619 2005-03-02 Jordi Mas i Hernandez <jordi@ximian.com>
8622 - Changes 32-bit pixel format to Format32bppArgb to allow transparency
8623 - Fixes ImageList constructor with ImageList container
8624 - Fixes image scaling (wrong parameters at DrawImage)
8626 2005-02-02 Jackson Harper <jackson@ximian.com>
8628 * Binding.cs: Make property searches case-insensitive. Eliminate
8629 some duplicated code.
8631 2005-03-01 Jordi Mas i Hernandez <jordi@ximian.com>
8634 - Handle focus event
8635 - Fix scrollbar events
8636 - Discard highlighted item if remove it
8637 - Fixes SelectedItem with strings
8639 2005-03-01 Peter Bartok <pbartok@novell.com>
8642 - Fixed Visible property, now follows (once again) parent chain
8643 to return false if any control in the chain is visible=false
8644 - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
8645 - Fixed several places where is_visible instead of Visible was used
8646 - Implemented FIXME related to focus selection when setting focused
8647 control to be invisible
8649 * XplatUIWin32.cs: Now using proper method to find out if window is
8650 visible. Thanks to Jordi for pointing it out
8652 2005-02-28 Jordi Mas i Hernandez <jordi@ximian.com>
8654 * ComboBox.cs: show/hide scrollbar instead of creating it
8656 2005-02-27 Jackson Harper <jackson@ximian.com>
8658 * CurrencyManager.cs: Add PositionChanged stuff.
8660 2005-02-27 Peter Bartok <pbartok@novell.com>
8662 * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
8663 * XplatUIOSX.cs: Added GetMenuOrigin() stub
8664 * XplatUIWin32.cs: Implemented GetMenuOrigin()
8666 - Implemented GetMenuDC()
8667 - Implemented GetMenuOrigin()
8668 - Implemented ReleaseMenuDC()
8669 - Implemented generation of WM_NCPAINT message
8670 - Implemented generation and handling of WM_NCCALCSIZE message
8671 * Form.cs: Added debug helper message for Jordi's menu work
8673 - Modified ClientRect property; added setter, fixed getter to handle
8674 setting of ClientRect
8675 - Added MenuOrigin property
8677 2005-02-26 Peter Bartok <pbartok@novell.com>
8680 - Destroys the caret if a window that's being destroyed contains it
8681 - Ignores expose events coming from the X11 queue for windows that
8682 already are destroyed
8683 - Now uses the proper variable for handling DestroyNotify, before we
8684 marked the wrong window as destroyed
8685 - Improved/added some debug output
8687 2005-02-26 Peter Bartok <pbartok@novell.com>
8689 * X11Keyboard.cs: Fixes to work on 64bit systems
8691 2005-02-26 Peter Bartok <pbartok@novell.com>
8694 - Now calling OnHandleDestroyed from DestroyHandle()
8695 instead of Dispose()
8696 - Removed bogus call to controls.Remove() from DestroyHandle()
8698 2005-02-26 Peter Bartok <pbartok@novell.com>
8700 * Control.cs: Properly destroy child windows when our handle is
8703 2005-02-25 Peter Bartok <pbartok@novell.com>
8706 - Added 'DriverDebug' define to allow tracing XplatUI API calls
8707 - Alphabetized Static Methods and Subclasses
8710 - Added XException class to allow custom handling of X11 exceptions
8711 - Created custom X11 error handler, tied into XException class
8712 - Added support for MONO_XEXCEPTIONS env var to allow the user
8713 to either throw an exception on X errors or continue running
8714 after displaying the error
8715 - Added handling of DestroyNotify message
8716 - Added handler for CreateNotify message (still disabled)
8717 - Improved (tried to at least) Where method to provide file and lineno
8719 - Added XErrorHandler delegate
8720 - Added XRequest enumeration (to suppor translation of errors)
8722 2005-02-25 Jackson Harper <jackson@ximian.com>
8724 * PropertyManager.cs: Implement editing features
8725 * CurrencyManager.cs:
8726 * Binding.cs: First attempt at UpdateIsBinding
8727 * BindingManagerBase.cs: Call UpdateIsBinding before
8728 pushing/pulling data.
8730 2005-02-25 Jordi Mas i Hernandez <jordi@ximian.com>
8732 * MenuAPI.cs: Respect disabled items
8733 * ThemeWin32Classic.cs
8734 - Caches ImageAttributes creation for DrawImageDisabled
8735 - Fixes vertical menu line drawing
8736 - Draws disabled arrows in disable menu items
8738 2005-02-24 Peter Bartok <pbartok@novell.com>
8741 - Added UserData property to allow associating arbitrary objects
8743 - Fixed leak; now removing Hwnd references from static windows array
8745 - Fixed Graphics leak in PaintEventEnd
8746 - Removed usage of HandleData, switched over to Hwnd class
8747 * HandleData.cs: Removed, obsoleted by Hwnd.cs
8749 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8751 * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
8752 * ScrollBar.cs: Fixes bug
8753 * TrackBar.cs: removes death code, clipping, mimize refreshes,
8754 keyboard navigation enhancements
8756 2005-02-24 Jordi Mas i Hernandez <jordi@ximian.com>
8758 * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
8759 * GroupBox.cs: Add control styles
8760 * Label.cs: Add control styles
8761 * UpDownBase.cs: Add control styles
8762 * ListBox.cs: Add control styles
8763 * XplatUIWin32.cs: Fixes wrong parameter order
8766 2005-02-23 Chris Bacon <chris.bacon@docobo.co.uk>
8768 * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
8770 2005-02-23 Jackson Harper <jackson@ximian.com>
8772 * PropertyManager.cs: Implement property binding. This doesn't
8773 seem to work yet though as (I think) there are some bugs in
8774 System.ComponentModel.PropertyDescriptor.
8775 * BindingContext.cs: Use new PropertyManager constructor.
8777 2005-02-23 Jordi Mas i Hernandez <jordi@ximian.com>
8779 * ProgressBar.cs: use clip region in ProgressBar
8780 * ThemeWin32Classic.cs: use clip region in ProgressBar
8782 2004-02-22 Jackson Harper <jackson@ximian.com>
8784 * BindingsCollection.cs: Remove some debug code.
8786 2005-02-22 Jackson Harper <jackson@ximian.com>
8788 * BindingContext.cs:
8789 * ControlBindingsCollection.cs:
8790 * CurrencyManager.cs:
8792 * BindingManagerBase.cs: Initial implementation
8793 * BindingsCollection.cs: Add an internal contains method that the
8794 BindingManagerBase uses to ensure bindings aren't added twice to
8796 * PropertyManager.cs: Stubbed out.
8798 * ContainerControl.cs: Hook up databinding
8800 2005-02-22 Geoff Norton <gnorton@customerdna.com>
8803 OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
8804 Fixed Invalidate/Update chain.
8805 Fixed tons of other minor bugs (this is almost a complete rewrite).
8807 2005-02-22 Jordi Mas i Hernandez <jordi@ximian.com>
8809 * ComboBox.cs: do subcontrol creation when the control is created
8811 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8813 * Label.cs: fixes image drawing (image and imagelist)
8814 * ThemeWin32Classic.cs: cache brushes
8816 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8818 * Form.cs: Move menu drawing code to Theme class
8819 * ComboBox.cs: Move ComboBox drawing code to Theme class
8820 * MenuItem.cs: Move menu drawing code to Theme class
8821 * MenuAPI.cs: Move menu drawing code to Theme class
8822 * ThemeWin32Classic.cs: New methods
8823 * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
8824 * ListBox.cs: Move Listbox drawing code to Theme class
8825 * Theme.cs: New methods
8827 2005-02-20 Peter Bartok <pbartok@novell.com>
8830 - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
8831 only process mnemonics on those)
8832 - Fixed event sequence for key handling; first calling
8833 ProcessKeyEventArgs now
8835 - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
8836 for processing non-character keys
8837 - Fixed WM_CHAR to generate proper event sequence before processing
8838 * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
8841 2005-02-19 Peter Bartok <pbartok@novell.com>
8843 * UserControl.cs: Added TextChanged event; added attributes
8844 * SizeGrip.cs: Implemented resizing and optional display of grip
8845 * Form.cs: Fixed attribute
8846 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
8847 Changed meaning of ScrollWindow bool argument; instead of the
8848 clear attribute (which will be true usually anyway), it gives the
8849 option of moving child controls as well.
8851 - Changed to match new ScrollWindow argument
8852 - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
8853 now handles the implicit parent window a WM puts around us
8854 * ScrollableControl.cs: Implemented (not the prettiest, but it seems
8856 * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
8857 * TreeView.cs: Adjusted to new ScrollWindow arguments
8859 2005-02-19 Jordi Mas i Hernandez <jordi@ximian.com>
8861 * Form.cs: Menu integration with non-client area
8862 * MenuItem.cs: Menu integration with non-client area
8863 * MenuAPI.cs: Menu integration with non-client area
8865 2005-02-18 Peter Bartok <pbartok@novell.com>
8867 * MethodInvoker.cs: Added
8868 * MdiLayout.cs: Added
8869 * SendKeys.cs: Started implementation
8870 * ErrorIconAlignment.cs: Added
8872 2005-02-18 Peter Bartok <pbartok@novell.com>
8874 * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
8875 * Form.cs: Added handling for Menu-related Non-client messages
8877 2005-02-17 Peter Bartok <pbartok@novell.com>
8879 * UpDownBase.cs: Fixed typo, compilation errors
8880 * DomainUpDown.cs: Fixed attribute value
8882 2005-02-16 Miguel de Icaza <miguel@novell.com>
8884 * UpDownBase.cs: Attach entry events.
8886 Add ForeColor property, Focused, InterceptArrowKeys (interception
8889 2005-02-17 Jordi Mas i Hernandez <jordi@ximian.com>
8892 - Redraw non client are on Setmenu
8893 - Calc proper menu starting point
8895 2005-02-17 Peter Bartok <pbartok@novell.com>
8897 * Application.cs: Fixed message_filter check
8899 2005-02-17 Peter Bartok <pbartok@novell.com>
8901 * Application.cs: Now calls registered message filters
8902 * DockStyle.cs: Fixed attribute
8903 * Form.cs: Fixed attribute
8904 * Menu.cs: Fixed attribute
8905 * ToolTip.cs: Fixed attribute
8906 * TreeNode.cs: Added missing attributes and arranged in regions
8907 * PropertyGrid.cs: Fixed signatures
8908 * TreeNodeCollection.cs: Added attributes
8909 * Splitter.cs: Added missing attributes; arranged into regions
8910 * TabPage.cs: Added missing attributes; arranged into regions
8911 * TextBoxBase.cs: Added missing attributes
8912 * TextBox.cs: Added missing attributes
8913 * ArrangeDirection.cs: Added missing attributes
8914 * TreeNodeConverter.cs: Added stub (needed for TreeNode)
8915 * ToolBarButton.cs: Fixed attributes
8916 * AnchorStyles.cs: Fixed attribute
8917 * TrackBar.cs: Fixed attributes
8918 * TabControl.cs: Added missing attributes and arranged into regions
8919 * ToolBar.cs: Fixed attribute
8920 * StatusBar.cs: Fixed signature, organized into regions and added
8922 * StatusBarPanel.cs: Fixed attributes
8923 * ContentsResizedEventArgs.cs: Implemented
8924 * ContentsResizedEventHandler.cs: Implemented
8925 * DateBoldEventArgs.cs: Implemented
8926 * DateBoldEventHandler.cs: Implemented
8927 * UpDownEventArgs.cs: Implemented
8928 * UpDownEventHandler.cs: Implemented
8930 2005-02-16 Jordi Mas i Hernandez <jordi@ximian.com>
8932 * Form.cs: first Menu NC refactoring
8933 * MenuAPI.cs: first Menu NC refactoring
8935 2005-02-16 Peter Bartok <pbartok@novell.com>
8937 * ImeMode.cs: Added missing attributes
8938 * Menu.cs: Fixed attribute
8939 * GroupBox.cs: Fixed attribute
8940 * Label.cs: Fixed attribute
8941 * ColorDialog.cs (RunDialog): Removed TODO attribute
8942 * ComboBox.cs: Fixed attributes
8943 * ListControl.cs: Added missing attributes
8944 * PropertyGrid.cs: Fixed attributes
8945 * Control.cs: Fixed attributes
8946 * ListViewItem.cs: Added TypeConverter attribute
8947 * NotifyIcon.cs: Fixed attributes
8948 * ListView.cs: Fixed attributes
8949 * ButtonBase.cs: Fixed attribute
8950 * ImageList.cs: Added missing attributes
8951 * ContainerControl.cs: Fixed signature
8952 * CheckedListBox.cs: Fixed attribute; added missing attributes
8953 * Panel.cs: Fixed attributes
8954 * PropertyTabChangedEventArgs.cs: Added missing attribute
8955 * PropertyValueChangedEventArgs.cs: Added missing attribute
8956 * Binding.cs: Fixed attribute
8957 * ListViewItemConverter: Implemented ListViewSubItemConverter class
8958 * ListBox.cs: Fixed attribute; added missing attributes;
8959 * ScrollableControl.cs: Added missing attributes
8960 * PictureBox.cs: Added missing attributes; implemented missing property
8961 * DateTimePicker.cs: Added missing attributes
8962 * Theme.cs (ToolWindowCaptionHeight): Fixed type
8963 * MonthCalendar.cs: Fixed attributes
8964 * StatusBarPanel.cs: Added missing attributes
8965 * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
8967 2005-02-16 Peter Bartok <pbartok@novell.com>
8969 * TextBoxBase.cs: The previous method to enforce height yet remember
8970 the requested high was less than ideal, this is an attempt to do
8972 * Control.cs: Added comment about possible problem
8973 * Copyright: Updated format
8974 * GridItemType.cs: Fixed swapped values
8976 2005-02-15 Jackson Harper <jackson@ximian.com>
8978 * BaseCollection.cs: Use property so we never access an
8979 uninitialized list. Also initialize the list in the property.
8981 2005-02-15 Peter Bartok <pbartok@novell.com>
8983 * GroupBox.cs (ProcessMnemonic): Implemented
8984 * Label.cs (ProcessMnemonic): Implemented
8985 * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
8988 2005-02-15 Peter Bartok <pbartok@novell.com>
8990 * RadioButton.cs (ProcessMnemonic): Implemented
8991 * CheckBox.cs (ProcessMnemonic): Implemented
8993 - Added handling of WM_SYSxxx keyboard messages to support mnemonic
8995 - Added internal method to allow calling ProcessMnemonic from other
8997 * ContainerControl.cs:
8998 - Started support for handling validation chain handling
8999 - Implemented ProcessMnemonic support
9000 - Added Select() call to Active, to make sure the active control
9002 * Form.cs: Setting toplevel flag for Forms (this was lost in the
9004 * ThemeWin32Classic.cs:
9005 - DrawCheckBox(): Fixed stringformat to show hotkeys
9006 - DrawRadioButton(): Fixed stringformat to show hotkeys
9007 * CommonDialog.cs: Removed WndProc override, not needed
9009 2005-02-14 Peter Bartok <pbartok@novell.com>
9011 * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
9012 missed those in the rewrite
9014 2005-02-14 Miguel de Icaza <miguel@novell.com>
9016 * NumericUpDown.cs (Increment, ToString): Add.
9017 (DecimalPlaces): implement.
9021 * UpDownBase.cs: Add the designer attributes.
9023 2005-02-13 Peter Bartok <pbartok@novell.com>
9025 * Panel.cs: Removed border_style, now in Control
9026 * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
9027 ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
9029 2005-02-13 Peter Bartok <pbartok@novell.com>
9031 * MouseButtons.cs: Added missing attributes
9032 * XplatUIStructs.cs: Added enumeration for title styles
9033 * LeftRightAlignment.cs: Added missing attributes
9034 * Hwnd.cs: Switched to use client_window as handle (slower, but makes
9035 it compatible with Graphics.FromHwnd()
9036 * SelectedGridItemChangedEventArgs.cs: Fixed property type
9037 * Keys.cs: Added missing attributes
9038 * SelectionRange.cs: Added missing attributes
9039 * SelectionRangeConverter.cs: Added
9041 - Introduced SetBorderStyle, SetMenu, GetMenuDC and
9042 ReleaseMenuDC methods
9043 - Renamed ReleaseWindow to UngrabWindow
9044 - Added proper startup notice to allow version identification
9046 - Added missing attributes
9047 - Removed FormParent concept
9048 * Label.cs: Removed border_style field, now in Control
9049 * RadioButton.cs: Now properly selects RadioButton when focus is
9051 * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
9053 - Added missing attributes
9054 - Added borderstyle handling
9055 - Removed FormParent concept support
9056 - Fixed calls to XplatUI to match changed APIs
9057 - Fixed bug that would case us to use disposed Graphics objects
9058 - Removed unneeded internal methods
9059 - PerformLayout(): Fixed to handle DockStyle.Fill properly
9060 - SelectNextControl(): Fixed to properly check common parents
9061 * TextBoxBase.cs: Removed border_style field (now in Control)
9063 - Patch by Robert Thompson (rmt@corporatism.org): Added icon support,
9064 fixed calculations for form size
9065 - Added support for localized strings and icons
9066 - Improved form size calculations, added border
9067 * ListView.cs: Removed border_style field (now in Control)
9068 * X11Structs.cs: Moved several structs from X11 driver here
9069 * X11Keyboard.cs: Changed debug message
9070 * Application.cs: Removed FormParent concept support
9072 - Resetting end_modal flag
9073 - Removed FormParent concept support
9074 * NativeWindow.cs: Removed FormParent concept support
9075 * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
9076 Client area and Non-Client whole window to allow support for WM_NC
9078 * XplatUIOSX.cs: Updated to match latest driver spec; added exception
9079 prevent using it until it supports Hwnd as per Geoff Norton's request
9080 * ToolBar.cs: Fixed drawing, was not doing proper drawing
9081 * PictureBox.cs: Removed border_style field, now in Control
9082 * XplatUIWin32.cs: Added new driver methods
9084 2005-02-12 Peter Bartok <pbartok@novell.com>
9086 * OpacityConverter.cs: Implemented
9087 * Hwnd.cs: Internal class to support drivers that need to emulate
9088 client area/non-client area window behaviour
9090 2005-02-11 Peter Bartok <pbartok@novell.com>
9092 * KeysConverter.cs: Implemented
9094 2005-02-11 Jordi Mas i Hernandez <jordi@ximian.com>
9096 * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
9097 * LinkLabel: Added missing attributes
9098 * MainMenu.cs: fixes ToString
9099 * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
9100 * ListBox.cs: fixes event position
9101 * TrackBar.cs: adds missing attributes and events
9103 2005-02-10 Jordi Mas i Hernandez <jordi@ximian.com>
9105 * MenuItem.cs: Use SystemInformation and bug fixes
9106 * MenuAPI.cs: Use SystemInformation and bug fixes
9108 2005-02-09 Jackson Harper <jackson@ximian.com>
9110 * X11Keyboard.cs: We ignore some keys, but still need to set/reset
9111 their keystate otherwise things like VK_MENU get stuck "on".
9113 2005-02-09 Kazuki Oikawa <kazuki@panicode.com>
9115 * ListBox.cs: Fixes AddRange bug
9117 2005-02-09 Jordi Mas i Hernandez <jordi@ximian.com>
9120 - Add missing attributes
9121 - Add missing method
9123 * CheckedListBox.cs: Added missing attributes
9124 - Add missing attributes
9125 - Remove extra method
9127 * ComboBox.cs: Added missing attributes
9128 * VScrollBar.cs: Added missing attributes
9129 * ScrollBar.cs: Added missing attributes
9130 * ListBox.cs: Fixes signature, add missing consts
9131 * LinkArea.cs: Added missing attributes
9134 2005-02-08 Peter Bartok <pbartok@novell.com>
9136 * Menu.cs: Added missing attributes
9137 * MainMenu.cs: Added missing attributes
9138 * GroupBox.cs: Added missing attributes
9139 * Label.cs: Added missing attributes
9140 * CheckBox.cs: Implemented CheckBoxAccessibleObject class
9142 - Added Instance and Options properties
9143 - Added missing attributes
9144 * Cursor.cs: Made Serializable
9145 * NotifyIcon: Added missing attributes
9146 * MenuItem.cs: Added missing attributes
9147 * TextBoxBase.cs: Implemented AppendText() and Select() methods
9148 * Panel.cs: Added Missing attributes
9149 * MonthCalendar.cs: Fixed CreateParams
9151 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9155 - Fixes issues with links
9156 - Adds the class attributes
9158 2005-02-08 Jordi Mas i Hernandez <jordi@ximian.com>
9161 - Fixes button when no items available in dropdown
9162 - Fixes repainting problems
9163 - Adds the class attributes
9165 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9167 * XplatUIOSX.cs: Detect the menu bar and title bar height from
9168 the current theme. Cache these on startup.
9170 2005-02-07 Jackson Harper <jackson@ximian.com>
9172 * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
9173 the scrollbar buttons when they are depressed.
9175 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9177 * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
9178 Get the display size from the main displayid. We currently dont
9179 support multiple display configurations.
9181 2005-02-07 Geoff Norton <gnorton@customerdna.com>
9183 * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
9185 2005-02-07 Miguel de Icaza <miguel@novell.com>
9187 * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
9189 2005-02-05 Jonathan Chambers <jonathan.chambers@ansys.com>
9191 * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
9193 2005-02-04 Jackson Harper <jackson@ximian.com>
9195 * ThemeWin32Classic.cs: Respect the clipping rect when
9196 drawing. Only fill the intersection of clips and rects so there
9197 isn't a lot of large fills.
9198 * ScrollBar.cs: Pass the correct clipping rect to the theme
9199 engine. Remove some debug code.
9201 2005-02-05 John BouAntoun <jba-mono@optusnet.com.au>
9203 * DateTimePicker.cs:
9204 - Fixed crash on DateTime.Parse, use Constructor instead
9206 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9210 - Owner draw support (MeasureItem and DrawItem)
9212 2005-02-04 Jordi Mas i Hernandez <jordi@ximian.com>
9215 - Implements FindMergePosition and MergeMenu functions (very poor documented)
9216 - Fixes MenuItems.Add range
9218 - MergeMenu and Clone and CloneMenu functions
9220 2005-02-03 Jackson Harper <jackson@ximian.com>
9222 * ScrollBar.cs: Make abstract
9223 * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
9226 2005-02-03 Jackson Harper <jackson@ximian.com>
9228 * ScrollBar.cs: First part of my scrollbar fixups. This removes
9229 all the unneeded refreshes and uses invalidates with properly
9232 2005-02-03 Peter Bartok <pbartok@novell.com>
9234 * ComponentModel.cs: Added
9235 * IDataGridEditingService.cs: Added
9236 * Timer.cs: Added missing attributes
9237 * ToolTip.cs: Added missing attributes
9239 2005-02-03 Jonathan Chambers <jonathan.chambers@ansys.com>
9241 * PropertyGridView.cs: Added. Patch by Jonathan Chambers
9243 2005-02-03 Peter Bartok <pbartok@novell.com>
9245 * ListBox.cs: Added missing attributes
9247 2005-02-03 Jordi Mas i Hernandez <jordi@ximian.com>
9250 - Fixes font height after font change
9251 - Avoid generating unnecesary OnSelectedIndexChanged on clearing
9253 2005-02-02 Peter Bartok <pbartok@novell.com>
9255 * HandleData.cs: Introduced static methods to allow class
9256 to be more self-contained and track it's own HandleData objects
9257 * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
9258 HandleData to use new static methods
9260 2005-02-02 Jordi Mas i Hernandez <jordi@ximian.com>
9263 - Fixes default size and PreferredHeight
9265 - ObjectCollection.Insert implementation
9271 - ObjectCollection.Insert implementation
9272 - No selection after clean
9275 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9277 * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
9279 2005-02-01 Jordi Mas i Hernandez <jordi@ximian.com>
9282 - Caches ItemHeight calculation for OwnerDrawVariable
9283 - Handles dropdown properly
9284 - Fixes several minor bugs
9286 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9289 - Fixes 71946 and 71950
9290 - Fixes changing Multicolumn on the fly
9291 - Fixes keyboard navigation on Multicolumn listboxes
9293 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9295 * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
9298 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9300 * XplatUIOSX.cs: Allow applications to actually exit.
9302 2005-01-31 Geoff Norton <gnorton@customerdna.com>
9304 * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
9305 their parent at creation time rather than lazily later. Fixes a major
9306 regression we were experiencing.
9308 2005-01-31 John BouAntoun <jba-mono@optusnet.com.au>
9310 * ThemeWin32Classic.cs: more date time picker painting fixes
9311 * DateTimePicker.cs: more monthcalendar drop down fixes
9312 * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
9314 2005-01-31 Jordi Mas i Hernandez <jordi@ximian.com>
9317 - When moving the thumb going outside the control should stop the moving
9318 - Adds the firing of missing events
9319 - Fixes no button show if Size is not specified
9320 - End / Home keys for keyboard navigation
9322 2005-01-30 Peter Bartok <pbartok@novell.com>
9324 * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
9325 sanity check to prevent theoretical loop
9326 * XplatUIWin32.cs (SetVisible): Removed debug output
9327 * XplatUIX11.cs (SystrayChange): Added sanity check
9328 * ScrollableControl.cs (OnVisibleChanged): Now calls base method
9329 * Control.cs (OnVisibleChanged): Added workaround for ParentForm
9330 behaviour, valid until the X11 client window rewrite is done
9331 * TextBox.cs (ctor): Setting proper default foreground and background
9334 2005-01-30 John BouAntoun <jba-mono@optusnet.com.au>
9336 * Theme: Added DrawDateTimePicker to interface
9337 * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
9338 * DateTimePicker.cs: Created (still needs keys and painting code)
9339 * DateTimePickerFormat.cs: added
9340 * MonthCalendar.cs: fixed CreateParams for popup window mode
9342 2005-01-29 Peter Bartok <pbartok@novell.com>
9344 * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
9345 this should also the calculations for ligher/darker
9346 * Theme.cs: Fixed defaults for ScrollBar widths/heights
9348 2005-01-29 Peter Bartok <pbartok@novell.com>
9350 * ArrangeDirection.cs: Added
9351 * ArrangeStartingPositon.cs: Added
9352 * SystemInformation.cs: Implemented
9353 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9354 XplatUIX11.cs, Theme.cs: Added/implemented new static properties
9355 used by SystemInformation class
9356 * X11Strucs.cs: Added XSizeHints structure
9358 - Fixed CreateParams to make sure the menu window is always visible
9359 - TrackPopupMenu: Added check to make sure we don't draw the
9362 2005-01-29 Peter Bartok <pbartok@novell.com>
9364 * HandleData.cs: Added method for altering invalid area
9365 * TextBoxBase.cs: Implemented TextLength
9367 2005-01-28 Peter Bartok <pbartok@novell.com>
9369 * XplatUIX11.cs: Improvement over last patch, not sending
9370 the WM_PAINT directly anymore, instead we scroll any pending
9371 exposed areas and let the system pick out the WM_PAINT later
9373 2005-01-28 Peter Bartok <pbartok@novell.com>
9375 * SWF.csproj: Deleted, no longer used. Instead,
9376 Managed.Windows.Forms/SWF.csproj should be used
9377 * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
9378 directly, to avoid a potential race condition with the next
9381 2005-01-28 Peter Bartok <pbartok@novell.com>
9383 * XplatUI.cs: Made class internal
9385 2005-01-28 Jordi Mas i Hernandez <jordi@ximian.com>
9387 * CheckedListBox.cs:
9390 - Missing methods and events
9392 2005-01-27 Peter Bartok <pbartok@novell.com>
9394 * Application.cs (Run): Don't use form if we don't have one
9396 2005-01-27 Peter Bartok <pbartok@novell.com>
9398 * TextBoxBase.cs (get_Lines): Fixed index off by one error
9400 2005-01-27 Peter Bartok <pbartok@novell.com>
9402 * GridEntry.cs: Added; Patch by Jonathan S. Chambers
9403 * GridItem.cs: Added; Patch by Jonathan S. Chambers
9404 * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
9405 * GridItemType.cs: Added; Patch by Jonathan S. Chambers
9406 * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
9407 * PropertySort.cs: Added; Patch by Jonathan S. Chambers
9408 * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9409 * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9410 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9411 * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9412 * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
9413 * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
9415 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9418 - Draw focus on Simple Combobox
9419 - Fixes drawing issues
9422 2005-01-27 Peter Bartok <pbartok@novell.com>
9425 - Place window in default location, instead of hardcoded 0/0
9426 - Send initial LocationChanged event
9428 - UpdateBounds after creation to find out where the WM placed us
9429 - Make sure that if the ParentForm changes location the Form
9431 * XplatUIX11.cs: XGetGeometry will not return the coords relative
9432 to the root, but to whatever the WM placed around us.
9433 Translate to root coordinates before returning toplevel
9435 * XplatUIWin32.cs: Removed debug output
9436 * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
9437 flag to GetWindowPos, to allow translation of coordinates on X11
9439 2005-01-27 Jordi Mas i Hernandez <jordi@ximian.com>
9441 * ListBox.cs: connect LostFocus Event
9443 2005-01-27 Peter Bartok <pbartok@novell.com>
9445 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
9446 XplatUIX11.cs: Extended the Systray API
9447 * Form.cs: Removed debug output
9448 * Application.cs: Fixed focus assignment, always need to call
9449 XplatUI.Activate() since Form.Activate() has rules that may
9451 * NotifyIcon.cs: Should be complete now
9452 * ToolTip.cs: Worked around possible timer bug
9454 2005-01-27 Jackson Harper <jackson@ximian.com>
9457 - Only invalidate the effected tabs when the
9458 selected index changes. This reduces drawing and gets rid of some
9460 - Only refresh if the tabs need to be shifted, otherwise only
9461 invalidate the slider button.
9462 - On windows the tabs are not filled to right if the slider is
9465 2005-01-27 Jackson Harper <jackson@ximian.com>
9467 * TabControl.cs: Only refresh on mouseup if we are showing the
9468 slider. Also only invalidate the button whose state has changed.
9470 2005-01-26 Peter Bartok <pbartok@novell.com>
9472 * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
9473 * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
9474 and SystrayRemove() methods
9475 * XplatUIOSX.cs: Stubbed Systray methods
9477 - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
9479 - Fixed broken XChangeProperty calls (marshalling messed up things)
9480 * X11Structs.cs: Added enums and structs required for Size hinting
9481 * NotifyIcon.cs: Added & implemented
9483 2005-01-26 Jackson Harper <jackson@ximian.com>
9485 * TabControl.cs: Space vertically layed out tabs properly.
9487 2005-01-26 Peter Bartok <pbartok@novell.com>
9489 * Form.cs (CreateClientParams): Always set the location to 0,0
9490 since we're a child window.
9492 * Control.cs (SetVisibleCore): Always explicitly setting the location
9493 of a toplevel window, apparently X11 doesn't like to move windows
9494 while they're not mapped.
9496 2005-01-26 Jackson Harper <jackson@ximian.com>
9498 * TabControl.cs: Implement FillToRight size mode with vertically
9501 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9503 * ControlPaint.cs, ThemeWin32Classic.cs
9504 - Fixes DrawFocusRectangle
9506 2005-01-26 Jordi Mas i Hernandez <jordi@ximian.com>
9509 - MenuBar tracking only starts when item is first clicked
9510 - Fixes menu hidding for multiple subitems
9511 - Unselect item in MenuBar when item Executed
9514 2005-01-25 Jordi Mas i Hernandez <jordi@ximian.com>
9517 - IsInputKey for ListBox
9520 - Shift and Control item selection
9521 - Implement SelectionMode.MultiExtended
9524 - IsInputKey implemented
9525 - Do not generate OnTextChangedEdit on internal txt changes
9527 2005-01-23 Peter Bartok <pbartok@novell.com>
9529 * AccessibleObject.cs: Partially implemented Select()
9530 * MonthCalendar.cs: Added missing attributes and events
9531 * Form.cs: Fixed CreateParams behaviour, now controls derived from
9532 form can properly override CreateParams.
9533 * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
9534 XplatUIX11.cs: Dropped RefreshWindow method, not needed if
9535 Control performs Invalidate & Update
9536 * NativeWindow (CreateHandle): Added special handling for Form
9537 and Form.FormParent classes to allow overriding of From.CreateParams
9539 - ControlNativeWindow: Renamed 'control' variable to more intuitive
9541 - ControlNativeWindow: Added Owner property
9542 - Removed usage of Refresh() on property changes, changed into
9543 Invalidate(), we need to wait until the queue is processed for
9544 updates, direct calls might cause problems if not all vars for
9545 Paint are initialized
9546 - Added call to UpdateStyles() when creating the window, to set any
9547 styles that CreateWindow might have ignored.
9548 - Added support for Form CreateParent overrides to UpdateStyles()
9549 * MessageBox.cs: Removed no longer needed FormParent override stuff,
9550 CreateParams are now properly overridable
9551 * CommonDialog.cs: Removed no longer needed FormParent override stuff,
9552 CreateParams are now properly overridable
9554 2005-01-23 Miguel de Icaza <miguel@ximian.com>
9556 * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
9559 Capture LostFocus and OnTextBoxChanged. The later introduces a
9560 recursive invocation that I have not figured out yet.
9562 Reset the timer when not using (it was accumulating).
9565 (OnTextBoxChanged): Set UserEdit to true here to track whether the
9566 user has made changes that require validation.
9568 Reset changing to avoid loops.
9570 2005-01-22 Miguel de Icaza <miguel@ximian.com>
9572 * NumericUpDown.cs: Display value at startup.
9574 * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
9577 * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
9578 filled in. Added some basic parsing of text.
9580 Still missing the OnXXX method overrides, and figuring out the
9581 events that must be emitted.
9583 * UpDownBase.cs: Handle UserEdit on the Text property.
9585 2005-01-22 Jordi Mas i Hernandez <jordi@ximian.com>
9588 - Fixes IntegralHeight
9591 2005-01-21 Jackson Harper <jackson@ximian.com>
9593 * TabControl.cs: Set the SelectedIndex property when SelectedTab
9594 is set so that the page visibility is updated and the tabs are
9597 2005-01-21 Jackson Harper <jackson@ximian.com>
9599 * TabControl.cs: Use cliping rectangle for blitting. Give the
9600 theme the clipping rect so we can do clipping while
9601 drawing. Remove some debug code.
9603 2005-01-21 Jackson Harper <jackson@ximian.com>
9605 * TabPage.cs: Add a new method so tab pages can force the tab
9606 control to recalculate the tab page sizes.
9607 * TabControl.cs: UpdateOwner needs to make the tab control recalc
9610 2005-01-20 Jackson Harper <jackson@ximian.com>
9612 * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
9614 2005-01-20 Jackson Harper <jackson@ximian.com>
9616 * TreeView.cs: Set the bounds for nodes properly. They were
9617 getting screwed up when checkboxes were not enabled, but images
9620 2005-01-20 Jordi Mas i Hernandez <jordi@ximian.com>
9623 - Owner draw support
9626 2005-01-20 Jackson Harper <jackson@ximian.com>
9628 * XplatUIStructs.cs: More misc keys
9629 * X11Keyboard.cs: Ignore some control keys.
9631 2005-01-20 Jackson Harper <jackson@ximian.com>
9633 * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
9634 * X11Keyboard.cs: Set the AltGr mask when we get a key event.
9636 2005-01-19 Peter Bartok <pbartok@novell.com>
9638 * Control.cs: Un-selecting the control when it is loosing focus
9640 2005-01-19 Jackson Harper <jackson@ximian.com>
9642 * TreeView.cs: Hook up to the text controls leave event so we can
9643 end editing when the users clicks outside the text box.
9645 2005-01-19 Jackson Harper <jackson@ximian.com>
9647 * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
9648 get set in the conversion array.
9650 2005-01-19 Peter Bartok <pbartok@novell.com>
9652 * Application.cs (ModalRun): Added a call to CreateControl to ensure
9653 focus is properly set
9655 - Added missing attributes
9656 - removed styles, those are already set in the base class
9658 - Added missing attributes
9659 - Added clip window styles
9660 * CheckBox.cs: Added missing attributes
9662 - FormParentWindow.CreateParams: Added required clip styles
9663 * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
9664 also filters modifier keys
9666 - Added assignment of Accept and Cancel button to enable Enter
9667 and Esc keys in MessageBox dialogs
9668 - FormParentWindow.CreateParams: Added required clip styles
9669 * RadioButton.cs: Added missing attributes
9670 * TextControl.cs: No longer draws selection if control does not
9673 - Now draws simple rectangle around test area to make it obvious
9674 there's a control. This is a hack until we properly support borders
9675 - A few simple fixes to support selections better, now erases selected
9676 text when typing, and resets selection when using movement keys
9678 2005-01-19 Miguel de Icaza <miguel@ximian.com>
9680 * UpDownBase.cs: Added some new properties.
9682 * DomainUpDown.cs: Implement a lot to get my test working.
9684 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9686 * XplatUIOSX.cs: Fix a minor bug to bring the close box back
9688 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9690 * OSXStructs (WindowAttributes): Fixed csc complaints
9692 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9695 OSXStructs.cs: Initial refactor to move enums and consts into
9696 OSXStructs and use them in the driver for greater readability.
9698 2005-01-19 Geoff Norton <gnorton@customerdna.com>
9700 * XplatUIOSX.cs: Initial support for Standard Cursors.
9701 * OSXStructs.cs: Move our structs here; added ThemeCursor enum
9703 2005-01-19 Jordi Mas i Hernandez <jordi@ximian.com>
9705 * ComboBox.cs: ability to change style when the ctrl is already
9706 created, missing methods and events, bug fixes, signature fixes
9708 2005-01-19 Peter Bartok <pbartok@novell.com>
9710 * Cursors.cs (ctor): Added ctor to fix signature
9712 2005-01-18 Peter Bartok <pbartok@novell.com>
9714 * Button.cs: Implemented DoubleClick event
9716 - Fixed keyboard handling to behave like MS, where the press of
9717 Spacebar is equivalent to a mousedown, and the key release is
9718 equivalent to mouseup. Now a spacebar push will give the same
9719 visual feedback like a mouse click.
9720 - Added missing attributes
9721 - Added ImeModeChanged event
9722 - Added support for generating DoubleClick event for derived classes
9724 - Implemented DoubleClick event
9725 - Added missing attributes
9726 * CommonDialog.cs: Added missing attribute
9727 * ContextMenu.cs: Added missing attributes
9729 - AutoChecked buttons do not allow to be unselected when clicked
9730 (otherwise we might end up with no selected buttons in a group)
9731 - Added missing attributes
9732 - Implemented DoubleClickEvent
9733 * ThreadExceptionDialog.cs: Enabled TextBox code
9735 2005-01-18 Peter Bartok <pbartok@novell.com>
9737 * Form.cs: Removed debug output
9738 * Button.cs: Added support for DoubleClick method
9740 2005-01-18 Peter Bartok <pbartok@novell.com>
9743 - Added method to parent window that allows triggering size
9744 calculations when a menu is added/removed
9745 - set_Menu: Cleaned up mess from early days of Form and Control,
9746 now properly triggers a recalc when a menu is added/removed
9747 - Added case to select form itself as focused form if no child
9749 - Added PerformLayout call when showing dialog, to ensure properly
9752 - Select(): Made internal so Form can access it
9753 - Focus(): Only call Xplat layer if required (avoids loop), and sets
9755 * Application.cs (Run): Removed hack and calls PerformLayout instead
9756 to trigger calculation when Form becomes visible
9758 2005-01-18 Jordi Mas i Hernandez <jordi@ximian.com>
9760 * ComboBox.cs: fixes for ownerdraw
9762 2005-01-18 Peter Bartok <pbartok@novell.com>
9765 - Sentinel is no longer static, each Document gets it's own, this
9766 avoids locking or alternatively overwrite problems when more
9767 than one text control is used simultaneously.
9768 - Switched to use Hilight and HilightText brushes for text selection
9770 * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
9772 2005-01-18 Peter Bartok <pbartok@novell.com>
9775 - Hooked up the following events:
9783 o SystemColorsChanged
9786 - Removed debug output
9787 - Added a call to the current theme's ResetDefaults when a color change
9789 * Form.cs: Now setting the proper ImeMode
9790 * Theme.cs: Defined a method to force recreation of cached resources
9791 and rereading of system defaults (ResetDefaults())
9792 * ThemeWin32Classic.cs: Added ResetDefaults() stub
9794 2005-01-17 Peter Bartok <pbartok@novell.com>
9796 * Control.cs: Added missing attributes
9798 2005-01-17 Jackson Harper <jackson@ximian.com>
9800 * TreeNode.cs: Implement editing. Add missing properties selected
9802 * TreeView.cs: Implement node editing. Also some fixes to use
9803 Invalidate (invalid area) instead of Refresh when selecting.
9805 2005-01-17 Peter Bartok <pbartok@novell.com>
9808 - Implemented InvokeGotFocus() method
9809 - Implemented InvokeLostFocus() method
9810 - Implemented InvokePaint() method
9811 - Implemented InvokePaintBackground() method
9812 - Implemented InvokeClick() method
9813 - Implemented FindForm() method
9814 - Implemented RectangleToClient() method
9815 - Implemented ClientToRectangle() method
9816 - Implemented ResetBackColor() method
9817 - Implemented ResetCursor() method
9818 - Implemented ResetFont() method
9819 - Implemented ResteForeColor() method
9820 - Implemented ResetImeMode() method
9821 - Implemented ResetLeftToRight() method
9822 - Implemented ResetText() method
9823 - Implemented Scale() methods
9824 - Implemented ScaleCore() method
9825 - Implemented Update() method
9826 - Removed unused variables
9827 - Stubbed AccessibilityNotifyClients and
9828 ControlAccessibleObject.NotifyClients() methods (dunno what to do
9830 - Now setting proper default for RightToLeft property
9831 - Fixed bug in SetClientSizeCore that would cause windows to get
9833 - Now sending Click/DoubleClick events
9834 - Now selecting controls when left mouse button is clicked on
9836 * AccessibleEvents.cs: Added
9837 * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
9838 * XplatUIOSX.cs: Stubbed UpdateWindow() method
9839 * XplatUIWin32.cs: Implemented UpdateWindow() method
9840 * XplatUIX11.cs: Implemented UpdateWindow() method
9841 * Form.cs: Removed stray semicolon causing CS0162 warning
9842 * ThemeWin32Classic.cs: Fixed unused variable warnings
9843 * ScrollableControl.cs: Now calls base method for ScaleCore
9844 * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
9845 style to avoid interference with internal click handler (which is
9846 different than standard Control click handling)
9848 - Now unchecks all sibling radio buttons when control is
9849 selected (Fixes #68756)
9850 - Removed internal tabstop variable, using the one inherited from
9853 2005-01-17 Jackson Harper <jackson@ximian.com>
9855 * NavigateEventArgs.cs: Fix base type.
9856 * LinkLabel.cs: Sig fix
9858 2005-01-17 Jackson Harper <jackson@ximian.com>
9860 * TreeView.cs: Only invalidate the effected nodes bounds when
9863 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9865 * XplatUIWin32.cs: fixes Win32 marshaling
9866 * XplatUIX11.cs: fixes method signature
9868 2005-01-17 Peter Bartok <pbartok@novell.com>
9870 * XplatUIX11.cs: Clean up resources when we no longer need them
9872 2005-01-17 Peter Bartok <pbartok@novell.com>
9874 * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
9875 OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
9876 and DestroyCursor() methods.
9877 * Cursor.cs: Partially implemented, now supports standard cursors;
9878 still contains some debug code
9879 * Cursors.cs: Implemented class
9881 - WndProc(): Added handling of WM_SETCURSOR message, setting the
9883 - Implemented Cursor property
9884 - Replaced break; with return; more straightforwar and possibly
9886 - Now properly setting the result for WM_HELP
9887 * X11Structs.cs: Added CursorFontShape enum
9888 * XplatUIStructs.cs:
9889 - Added StdCursor enum (to support DefineStdCursor() method)
9890 - Added HitTest enum (to support sending WM_SETCURSOR message)
9892 - Now sends the WM_SETCURSOR message
9893 - Implemented new cursor methods
9894 * XplatUIOSX.cs: Stubbed new cursor methods
9896 - Implemented new cursor methods
9897 - Added GetSystemMetrics function and associated enumeration
9899 2005-01-15 Peter Bartok <pbartok@novell.com>
9902 - WndProc(): Now handles EnableNotifyMessage
9903 - SelectNextControl(): Fixed bug where if no child or sibling
9904 controls exist we looped endlessly
9906 2005-01-14 Jackson Harper <jackson@ximian.com>
9908 * TreeView.cs: Recalculate the tab pages when a new one is added
9909 so that the proper bounding rects are created.
9911 2005-01-14 Jackson Harper <jackson@ximian.com>
9913 * TreeView.cs: Draw a gray box instead of a grip in the lower
9914 right hand corner when there are both horizontal and vertical
9917 2005-01-14 Jackson Harper <jackson@ximian.com>
9919 * Control.cs: When erasing backgrounds use FromHwnd instead of
9920 FromHdc when there is a NULL wparam. This occurs on the X driver.
9921 * XplatUIX11.cs: Set the wparam to NULL.
9923 2005-01-13 Jackson Harper <jackson@ximian.com>
9925 * PictureBox.cs: Implement missing methods (except ToString, need
9926 to test that on windows) and events. When visibility is changed we
9927 need to redraw the image because the buffers are killed. When size
9928 is changed refresh if the sizemode needs it.
9930 2005-01-13 Peter Bartok <pbartok@novell.com>
9932 * Control.cs (SelectNextControl): Was using wrong method to select
9935 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9937 * ComboBox.cs: fixes dropstyle
9939 2005-01-13 Peter Bartok <pbartok@novell.com>
9942 - Implemented Select() override
9943 - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
9944 - Now sets keyboard focus on startup
9945 * Control.cs (SelectNextControl): Now properly handles directed=true
9947 - WndProc: Now passes tab key on to base if AcceptTabChar=false
9948 - Added (really bad) focus rectangle (mostly for testing)
9949 * TextBox.cs: Added code to handle getting/loosing focus and invalidating
9950 to enforce redraw on focus changes
9951 * ContainerControl.cs:
9952 - Fixed detection of Shift-Tab key presses
9953 - Fixed traversal with arrow keys
9954 * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
9955 gonna keep this or if it's complete yet
9957 2005-01-13 Jordi Mas i Hernandez <jordi@ximian.com>
9959 * ComboBox.cs: missing properties, fixes
9961 2005-01-13 Peter Bartok <pbartok@novell.com>
9963 * Panel.cs (ctor): Setting Selectable window style to off
9964 * Splitter.cs (ctor): Setting Selectable window style to off
9965 * GroupBox.cs (ctor): Setting Selectable window style to off
9966 * Label.cs (ctor): Setting Selectable window style to off
9968 2005-01-12 Miguel de Icaza <miguel@ximian.com>
9970 * UpDownBase.cs (InitTimer): If the timer has been already
9973 Use a TextBox instead of a Label.
9975 2005-01-12 Jackson Harper <jackson@ximian.com>
9977 * TreeView.cs: Refresh the tree after sorting the nodes. Always
9978 draw the connecting node lines (when ShowLines is true).
9979 * TreeNode.cs: The nodes index can now be updated. This is used
9980 when a node collection is sorted.
9981 * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
9982 insert or an existing unsorted node collection can be sorted.
9984 2005-01-12 Peter Bartok <pbartok@novell.com>
9986 * ContainerControl.cs: Implemented ProcessDialogKeys()
9988 2005-01-12 Peter Bartok <pbartok@novell.com>
9991 - Implemented SelectNextControl() method
9992 - Several focus related bug fixes
9993 - Fixed Docking calculations to match MS documentation and
9996 2005-01-12 Jordi Mas i Hernandez <jordi@ximian.com>
9998 * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
10001 2005-01-12 Peter Bartok <pbartok@novell.com>
10004 - Fixed broken Contains() method
10005 - Implemented GetNextControl() method. Finally. This is the pre-
10006 requisite for focus handling.
10008 2005-01-12 Peter Bartok <pbartok@novell.com>
10010 * OSXStrucs.cs: Added
10012 2005-01-12 Peter Bartok <pbartok@novell.com>
10015 - Removed PeekMessageFlags
10016 - Implemented SetWindowStyle() method
10017 * XplatUIStructs.cs: Added PeekMessageFlags
10018 * X11Structs: Added missing border_width field to XWindowChanges struct
10020 - PeekMessage: Now throws exception if flags which are not yet
10021 supported are passed
10022 - Implemented SetWindowStyle() method
10023 - Fixed SetZOrder to handle AfterHwnd properly
10024 * XplatUI.cs: Added SetWindowStyle() method
10025 * XplatUIDriver.cs: Added SetWindowStyle() abstract
10027 - Implemented UpdateStyles() method
10028 - Implemented UpdateZOrder() method
10029 * XplatUIOSX.cs: Added SetWindowStyle() stub
10031 2005-01-12 Geoff Norton <gnorton@customerdna.com>
10033 * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
10037 2005-01-11 Jackson Harper <jackson@ximian.com>
10039 * TreeView.cs: Still need to draw lines to siblings even if out of
10040 the current node is out of the clip.
10042 2005-01-11 Jackson Harper <jackson@ximian.com>
10044 * TreeView.cs: When setting the hbar/vbar/grip position use
10045 SetBounds so that perform layout is only called once. Also suspend
10046 and resume layout so layout is only done once for all controls.
10047 - Removed some debug fluff
10048 * SizeGrip.cs: Call base implmentation in overriding methods.
10049 - When visibility is changed the drawing buffers are killed so we
10052 2005-01-11 Jackson Harper <jackson@ximian.com>
10054 * TreeView.cs: Calculate the open node count while drawing. This
10055 saves us an entire tree traversal for every paint operation. Use
10056 a member var for the open node count so less vars are passed around.
10058 2005-01-11 John BouAntoun <jba-mono@optusnet.com.au>
10060 * MonthCalendar.cs:
10061 - fixed selection to use mousemove, not mouse polling on timer
10062 * ThemeWin32Classic.cs
10063 - removed redundant unused variable "no_more_content"
10065 2005-01-11 Peter Bartok <pbartok@novell.com>
10067 * XplatUIX11.cs (DoEvents): Needs to return when no more events
10068 are pending, so it now calls PeekMessage instead of GetMessage;
10069 implemented a incomplete version of PeekMessage
10071 2005-01-11 Peter Bartok <pbartok@novell.com>
10073 * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
10075 * TextBoxBase.cs: Added sending of TextChanged event
10077 2005-01-10 Jackson Harper <jackson@ximian.com>
10079 * TreeView.cs: Try not to draw outside the clipping rectangle on
10082 2005-01-10 Jordi Mas i Hernandez <jordi@ximian.com>
10084 * ComboBox.cs: keyboard navigation, item navigation, bug fixes
10086 2005-01-10 Jackson Harper <jackson@ximian.com>
10089 - Implement fast scrolling. Now only the newly
10090 exposed nodes are drawn and the old image is moved using the
10091 XplatUI::ScrollWindow method.
10092 - Factor in height of nodes when calculating whether or not the
10093 node is in the clipping rect.
10095 2005-01-10 Jackson Harper <jackson@ximian.com>
10097 * TreeNodeCollection.cs: Refresh the tree when a new node is added.
10099 2005-01-10 Peter Bartok <pbartok@novell.com>
10101 * Application.cs: Added temporary hack to resolve all our resize
10102 required issues on startup. This will get fixed properly at
10103 some point in the future
10105 2005-01-10 Jackson Harper <jackson@ximian.com>
10107 * SizeGrip.cs: New internal class that is used as a sizing
10108 grip control...hence the name.
10110 2005-01-10 Peter Bartok <pbartok@novell.com>
10112 * Control.cs: Implemented proper TabIndex handling, now assigning
10113 a tabindex when a control is added to a container
10114 * GroupBox.cs (ctor): Now sets the Container style bit, required
10115 for Control.GetNextControl()
10117 2005-01-09 Jackson Harper <jackson@ximian.com>
10119 * TextBoxBase.cs: Clear window when scrolling (fixes build).
10121 2005-01-09 Peter Bartok <pbartok@novell.com>
10123 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
10124 XplatUIX11.cs: Added ability to control ScrollWindow expose and
10125 an overload for ScrollWindow to allow only scrolling a rectangle
10127 2005-01-09 Peter Bartok <pbartok@novell.com>
10130 - Implemented SetDesktopBounds method
10131 - Implemented SetDesktopLocation method
10133 2005-01-08 Jackson Harper <jackson@ximian.com>
10135 * TreeView.cs: Only set the vbar's Maximum and LargeChange when
10136 the node count has changed, this removes to VScroll::Refresh calls
10139 2005-01-08 Geoff Norton <gnorton@customerdna.com>
10141 * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
10143 2005-01-07 Jackson Harper <jackson@ximian.com>
10145 * TreeNode.cs: Just update the single node when it is
10146 checked. Don't refresh after toggling, the Expand/Collapse already
10148 * TreeView.cs: Respect clipping a little more when drawing. Try
10149 not to redraw things that don't need to be redrawn. Just hide the
10150 scrollbars when they are no longer needed instead of removing
10151 them, so they don't have to be created again and again.
10153 2005-01-07 Geoff Norton <gnorton@customerdna.com>
10155 * XplatUIOSX.cs (SetCaretPos): We need to translate the view
10156 coordinates to window space to place the caret properly, FIXED.
10157 Implement GetWindowState & SetWindowState
10159 2005-01-06 Peter Bartok <pbartok@novell.com>
10162 - Implemented ClientSize property
10163 - Implemented DesktopBounds property
10164 - Implemented DesktopLocation property
10165 - Implemented IsRestrictedWindow property
10166 - Implemented Size property
10167 - Implemented TopLevel property
10168 - Implemented FormWindowState property
10170 - Implemented GetTopLevel() method
10171 - Implemented SetTopLevel() method
10172 * X11Structs.cs (Atom):
10173 - Added AnyPropertyType definition
10174 - Added MapState definiton and updated XWindowAttribute struct
10175 * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
10176 * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
10177 * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
10179 - Implemented GetWindowState() and SetWindowState() methods
10180 - Fixed Win32GetWindowLong return type
10182 - Introduced central function for sending NET_WM messages
10183 - Implemented GetWindowState() and SetWindowState() methods
10184 * TextBoxBase.cs (set_Lines):
10185 - Now uses Foreground color for text added via Text property (Duh!)
10186 - Added code to remember programmatically requested size (fixes
10187 behaviour when Multiline is set after Size)
10188 - Added AutoSize logic
10190 2005-01-06 Jackson Harper <jackson@ximian.com>
10192 * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
10194 2005-01-06 Jackson Harper <jackson@ximian.com>
10196 * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
10197 set to less then 0.
10199 2005-01-06 Jackson Harper <jackson@ximian.com>
10201 * ScrollableControl.cs: Lazy init the scrollbars.
10203 2005-01-06 Jackson Harper <jackson@ximian.com>
10205 * Theme.cs: Speed up getting pens and solid brushes, by using
10206 their ARGB as a hash instead of tostring and not calling Contains.
10208 2005-01-06 Peter Bartok <pbartok@novell.com>
10211 - Implemented OnActivated and OnDeactivate event trigger
10212 - Implemented Activate() method
10213 - Fixed ShowDialog() to activate the form that was active before
10214 the dialog was shown
10216 - Added global active_window var that tracks the currently active
10218 - Now always grabs Property changes from the root window to always
10219 catch changes on the active window property
10220 - Added code to PropertyNotify handler to send Active/Inactive
10221 messages when state changes. This puts X11 and Win32 en par on
10222 WM_ACTIVATE notifications (except for double notifications when
10223 the user clicks away from our modal window to another one of our
10226 2005-01-05 Jackson Harper <jackson@ximian.com>
10228 * ImageList.cs: Implment ctor
10230 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10232 * XplatUIOSX.cs: Implement Activate/SetTopmost
10234 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10236 * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
10238 2005-01-05 Geoff Norton <gnorton@customerdna.com>
10240 * XplatUIOSX.cs: Implement GetActive/SetFocus.
10242 2005-01-05 Peter Bartok <pbartok@novell.com>
10244 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
10245 XplatUIOSX.cs: Added GetActive method to return the currently
10246 active window for the application (or null, if none is active)
10248 - Implemented ActiveForm
10249 - Commented out owner assignment for modal dialogs (causes problems
10250 on Win32, since the owner will be disabled)
10251 - Reworked some Active/Focus handling (still incomplete)
10252 * CommonDialog.cs: Commented out owner assignment for modal dialogs
10253 (causes problems on Win32, since the owner will be disabled)
10254 * IWin32Window: Added ComVisible attribute
10256 2005-01-05 Peter Bartok <pbartok@novell.com>
10258 * ToolTip.cs (WndProc): Enable setting focus now that we have the
10259 required XplatUI functions.
10261 2005-01-05 Peter Bartok <pbartok@novell.com>
10263 * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
10264 XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
10265 to implement focus and activation handling; still incomplete and
10268 2005-01-04 Peter Bartok <pbartok@novell.com>
10270 * TextBoxBase.cs: Changed access level for Document property to
10271 match switch to internal for TextControl
10273 2005-01-04 Peter Bartok <pbartok@novell.com>
10275 * AccessibleObject: Added ComVisible attribute
10277 2005-01-04 Jackson Harper <jackson@ximian.com>
10279 * X11Keyboard.cs: Remove unneeded var.
10281 2005-01-04 Jackson Harper <jackson@ximian.com>
10283 * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
10285 * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
10286 ClientMessage. This makes apps exit cleanly (more often).
10288 2005-01-04 Jackson Harper <jackson@ximian.com>
10290 * TreeNode.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) for
10291 handling focus, return correct colors and fonts,
10292 * TreeView.cs: Patches by Kazuki Oikawa (kazuki@panicode.com) to
10293 handle selection, horizontal scrolling, and mouse interaction.
10295 2005-01-04 Peter Bartok <pbartok@novell.com>
10297 * ICommandExecutor.cs: Added
10298 * IDataGridColumnStyleEditingNotificationService.cs: Added
10299 * IFeatureSupport.cs: Added
10300 * IFileReaderService.cs: Added
10301 * IDataObject.cs: Added ComVisible attribute
10302 * AmbientProperties.cs: Added
10303 * BaseCollection.cs: Added missing attributes
10304 * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
10305 * BaseCollection.cs: Added missing attributes
10306 * Binding.cs: Added TypeConverter attribute
10307 * BindingContext.cs: Added DefaultEvent attribute
10308 * BindingsCollection.cs: Added DefaultEvent attribute
10309 * Button.cs: Added DefaultValue attribute
10310 * DragEventArgs.cs: Added ComVisible attribute
10311 * GiveFeedbackEventArgs.cs: Added ComVisible attribute
10312 * KeyEventArgs.cs: Added ComVisible attribute
10313 * KeyPressEventArgs.cs: Added ComVisible attribute
10314 * MouseEventArgs.cs: Added ComVisible attribute
10315 * NavigateEventArgs.cs: Added
10316 * NavigateEventHandler.cs: Added
10317 * FeatureSupport.cs: Added
10318 * OSFeature.cs: Added
10319 * Theme.cs: Added abstract Version property to support OSFeature
10320 * ThemeWin32Classic.cs: Added Version property to
10321 support OSFeature.Themes
10322 * ProgressBar.cs: Removed OnPaintBackground override, not required since
10323 the proper styles to avoid background drawing are set, also doesn't
10325 * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
10326 * QueryContinueDragEventArgs.cs: Added ComVisible attribute
10327 * ScrollEventArgs.cs: Added ComVisible attribute
10328 * SplitterEventArgs.cs: Added ComVisible attribute
10329 * AccessibleSelection.cs: Added Flags attribute
10330 * Appearance.cs: Added ComVisible attribute
10331 * Border3DSide.cs: Added ComVisible attribute
10332 * Border3DStyle.cs: Added ComVisible attribute
10333 * BorderStyle.cs: Added ComVisible attribute
10334 * DragAction.cs: Added ComVisible attribute
10335 * ErrorBlinkStyle.cs: Added
10336 * ScrollEventType.cs: Added ComVisible attribute
10337 * AnchorStyles.cs: Added Editor attribute
10338 * DockStyle.cs: Added Editor attribute
10339 * HorizontalAlignment.cs: Added ComVisible attribute
10340 * HelpEventArgs.cs: Added ComVisible attribute
10341 * PaintEventArgs.cs: Added IDisposable
10343 2005-01-04 Peter Bartok <pbartok@novell.com>
10345 * TextControl.cs: Switched Line, LineTag and Document classes to
10348 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10350 * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
10351 Simple mode, fixes, IntegralHeight, etc.
10353 2005-01-04 Peter Bartok <pbartok@novell.com>
10355 * TextBoxBase.cs: Using proper font variable now
10357 2005-01-04 Peter Bartok <pbartok@novell.com>
10359 * Form.cs (ShowDialog): Set parent to owner, if provided
10360 * GroupBox.cs: Removed unused vars
10362 - Added GetHashCode() for Document and LineTag classes
10363 - Removed unused variables
10364 - Added CharIndexToLineTag() and LineTagToCharIndex() methods
10365 to allow translation between continuous char position and line/pos
10366 * CheckBox.cs: Removed vars that are provided by base class
10367 * RadioButton.cs: Removed vars that are provided by base class, added
10368 new keyword where required
10369 * LinkLabel.cs: Added new keyword where required
10370 * Control.cs (WndProc): Removed unused variable
10372 - Finished SelectionLength property
10373 - Implemented SelectionStart property
10374 - Implemented Text property
10375 - Removed unused vars
10376 * MessageBox.cs: Added new keyword where required
10377 * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
10379 * MenuAPI.cs: Added new keyword where required
10380 * ButtonBase.cs: Removed vars that are provided by base class, added
10381 new keyword where required
10382 * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
10383 argument to double, to allow compiling with csc 2.0 (Atsushi ran
10385 * Application.cs (Run): Now triggers the ThreadExit event
10386 * CommonDialog.cs: Added new keyword where required; now properly sets
10387 parent (owner) for dialog
10388 * XplatUIX11.cs: Commented out unused vars
10389 * StatusBar.cs: Fixed signature for Text property
10390 * TabPage.cs: Undid Jordi's removal of unused var, now using the var
10392 2005-01-04 Jordi Mas i Hernandez <jordi@ximian.com>
10394 * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
10395 TrackBar.cs, MonthCalendar.cs: remove unused vars
10397 2005-01-03 Jackson Harper <jackson@ximian.com>
10399 * ThemeWin32Classic.cs:
10400 * X11Keyboard.cs: Remove unused vars.
10402 2005-01-03 Peter Bartok <pbartok@novell.com>
10405 - set_Text: Tied into TextControl
10406 - set_TextAlignment: Tied into TextControl
10408 - Added alignment properties and implemented alignment handling
10409 and drawing (still has a bug, not generating proper expose events)
10410 - Added new Line() constructor to allow passing the line alignment
10411 - Fixed selection setting, properly handling end<start now
10412 - Added aligment considerations to RecalculateDocument()
10414 - Now properly enforces control height for single line controls
10415 - Added support for CharacterCasing
10416 - Added IsInputKey override
10417 - Fixed Keys.Enter logic
10418 - Added SetBoundsCore override
10419 - Fixed mouse selection handling
10421 2005-01-03 Jackson Harper <jackson@ximian.com>
10424 - Collapse and uncheck all nodes when CheckBoxes is disabled.
10425 - Checkboxes are always aligned to the bottom of the node,
10426 regardless of item height.
10427 - Use the node bounds to draw the text so we can center it when
10428 the item height is greater then the font height.
10429 - Node::Bounds are only the text part of the node.
10430 * TreeNode.cs: New method to combine collapsing and unchecking all
10433 2005-01-02 Jackson Harper <jackson@ximian.com>
10435 * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
10436 * TreeNode.cs: Add a bounding box for the checkbox, refresh the
10437 tree when a check is changed. TODO: Only refresh the checked node.
10439 2004-12-30 Jackson Harper <jackson@ximian.com>
10441 * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
10442 * TreeNode.cs: When collapsing make sure to never collapse the
10445 2004-12-29 Jackson Harper <jackson@ximian.com>
10447 * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
10449 2004-12-28 Zoltan Varga <vargaz@freemail.hu>
10451 * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
10453 2004-12-28 Peter Bartok <pbartok@novell.com>
10455 * MessageBox.cs (get_CreateParams): Don't use owner var if it's
10458 2004-12-28 Peter Bartok <pbartok@novell.com>
10460 * Control.cs (WndProc): Added WM_HELP handler, now generates
10461 HelpRequested event
10462 * Form.cs: Added HelpButton property and required support code
10463 * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
10465 2004-12-28 Peter Bartok <pbartok@novell.com>
10468 - Made DialogForm.owner variable internal
10469 - Added check to ensure owner form is set before setting
10470 owner properties in CreateParams
10472 2004-12-28 Geoff Norton <gnorton@customerdna.com>
10474 * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
10475 swizzling. Implement ClientToScreen and ScreenToClient. Implement
10476 GetCursorPos. Fix major visibility issues. Rework the windowing
10477 system to support borderless/titleless windows (implements menus).
10478 Fix GetWindowPos. Implement initial background color support for
10481 2004-12-28 Peter Bartok <pbartok@novell.com>
10483 * Form.cs (get_CreateParams): Make sure we have an owner before using
10484 the owner variable. Implement proper default if no owner exists
10486 2004-12-28 Peter Bartok <pbartok@novell.com>
10488 * In preparation for making Managed.Windows.Forms the default build target
10489 for System.Windows.Forms, the following stubbed files were added.
10490 Dialogs are currently being implemented by contributors and are only
10491 short-term place holders.
10492 * ColorDialog.cs: Initial check-in (minmal stub)
10493 * DataGrid.cs: Initial check-in (minimal stub)
10494 * DataGridLineStyle.cs: Initial check-in (minimal stub)
10495 * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
10496 * DataGridTableStyle.cs: Initial check-in (minimal stub)
10497 * FontDialog.cs: Initial check-in (minimal stub)
10498 * FileDialog.cs: Initial check-in (minimal stub)
10499 * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
10500 * GridTableStylesCollection.cs: Initial check-in (minimal stub)
10501 * OpenFileDialog: Initial check-in (minimal stub)
10502 * IComponentEditorPageSite.cs: Initial check-in
10503 * Splitter.cs: Initial check-in (for Jackson)
10504 * SplitterEventArgs.cs: Initial check-in (for Jackson)
10505 * SplitterEventHandler.cs: Initial check-in (for Jackson)
10506 * TextBox.cs: Initial check-in; still needs some wiring to
10507 TextControl backend
10508 * Form.cs: Implemented ControlBox property
10509 * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
10510 * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
10511 * TextControl.cs: Added selection functionality; added todo header
10513 - Implemented Lines property
10514 - Implemented TextHeight property
10515 - Implemented SelectedText property
10516 - Implemented SelectionLength property
10517 - Implemented SelectAll method
10518 - Implemented ToString method
10519 - Removed and cleaned up some debug code
10520 - Implemented (still buggy) mouse text selection
10522 2004-12-27 Jordi Mas i Hernandez <jordi@ximian.com>
10524 * ComboBox.cs: Complete DropDownList implementation, fixes.
10526 2004-12-26 Jordi Mas i Hernandez <jordi@ximian.com>
10528 * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
10529 * ComboBoxStyle.cs: ComboBoxStyle enum
10530 * ComboBox.cs: Initial work on ComboBox control
10532 2004-12-21 Peter Bartok <pbartok@novell.com>
10534 * Control.cs (ctor, CreateParams): Moved setting of is_visible
10535 forward so that anything that creates a window gets the default,
10536 also no longer uses Visible property in CreateParams to avoid
10537 walking up the parent chain and possibly get the wrong visible
10538 status. Fixed IsVisible to no longer walk up to the parent.
10540 2004-12-21 Peter Bartok <pbartok@novell.com>
10542 * Form.cs (ShowDialog): Unset modality for the proper window
10544 2004-12-20 Peter Bartok <pbartok@novell.com>
10546 * CommonDialog.cs: Initial check-in
10548 2004-12-20 Peter Bartok <pbartok@novell.com>
10550 * Control.cs (Visible): Now uses the parent window instead of the
10551 client area window for the property
10554 - ShowDialog(): Now uses the proper window for modality
10555 - The default visibility state for the form parent is now false. This
10556 will prevent the user from seeing all the changes to the form and
10557 its controls before the application hits Application.Run()
10558 - Removed some stale commented out code
10561 - Added FindWindow() method to have a method to check for existence
10563 - Added ability to override default exception handling (for example
10564 when debugging with VS.Net; to do this the ExternalExceptionHandler
10566 - Removed some useless debug output
10569 - Removed r37929 (SetModal patch from Ashwin Bharambe), was
10570 not working as expected
10571 - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
10572 property to allow switching back to the modal window if focus is
10573 given to another one of our windows (Application Modal)
10574 - Now only sets override_redirect if we create a window
10576 - Moved EventMask selection before mapping of newly created window
10577 so we can catch the map event as well
10578 - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
10579 - Added various Atom related DllImports
10580 - Implemented Exit() method
10581 - .ctor() : No longer shows window if WS_VISIBLE is not defined
10582 in the CreateParams
10584 * MessageBox.cs: Now properly deals with the FormParent window by
10585 providing an override the FormParent CreateParams property to
10586 set as POPUP instead of OVERLAPPED window.
10588 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10590 * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
10591 Minor code cleanup.
10593 2004-12-19 Geoff Norton <gnorton@customerdna.com>
10595 * XplatUIOSX.cs (SetModal): Implement this method on OSX.
10597 2004-12-18 Peter Bartok <pbartok@novell.com>
10599 * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
10600 implementing SetModal() method
10602 2004-12-18 Peter Bartok <pbartok@novell.com>
10604 * X11Structs.cs (XGCValues): Fixed type of function element
10605 * XplatUI.cs: Added ScrollWindow() method
10606 * XplatUIDriver.cs: Added ScrollWindow() abstract
10607 * XplatUIWin32.cs: Implemented ScrollWindow() method
10608 * XplatUIX11.cs: Implemented ScrollWindow() method
10609 * XplatUIOSX.cs: Stubbed out ScrollWindow() method
10611 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10613 * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
10614 Some more keyboard support (INCOMPLETE)
10616 2004-12-17 Peter Bartok <pbartok@novell.com>
10619 - Added color attribute to line tags.
10620 - Added color argument to all functions dealing with tags
10621 - Added color argument support to various functions
10622 - Fixed miss-calculation of baseline/shift in certain circumstances
10624 * TextBoxBase.cs: Added new color option to test code
10626 2004-12-17 Jackson Harper <jackson@ximian.com>
10629 * MonthCalendar.cs: Signature fixes
10631 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10633 * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
10634 keyboard event moved it. Create a new graphics context for each paint resolves this
10636 2004-12-17 Geoff Norton <gnorton@customerdna.com>
10638 * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
10639 Make caret exist and go blink blink. Initial keyboard support.
10640 Fix exception handler, Add Invalidate support. Change way RefreshWindow
10643 2004-12-17 Jackson Harper <jackson@ximian.com>
10645 * XplatUIStructs.cs: Updated set of virtual keycodes.
10646 * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
10648 2004-12-17 Jackson Harper <jackson@ximian.com>
10650 * XplatUIX11.cs: Prune old keyboard code.
10652 2004-12-17 Jackson Harper <jackson@ximian.com>
10654 * XplatUIX11.cs: When generating mouse wparams get the modifier
10655 keys from the ModifierKeys property.
10657 2004-12-17 Jackson Harper <jackson@ximian.com>
10659 * X11Keyboard.cs: Send up/down input when generating
10660 messages. Remove some unused vars.
10662 2004-12-17 Jackson Harper <jackson@ximian.com>
10665 * TreeView.cs: get rid of warnings.
10667 2004-12-17 Jackson Harper <jackson@ximian.com>
10669 * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
10671 2004-12-17 Jordi Mas i Hernandez <jordi@ximian.com>
10673 * ListBox.cs: bug fixes, changes for CheckedListBox.cs
10674 CheckedListBox.cs: Implementation
10676 2004-12-17 Peter Bartok <pbartok@novell.com>
10678 * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
10680 2004-12-16 Peter Bartok <pbartok@novell.com>
10683 - InsertCharAtCaret(): Fixed start pos fixup
10684 - CaretLine_get: No longer derives the line from the tag, the tag
10685 could be stale if lines in the document have been added or deleted
10686 - RebalanceAfterDelete(): Fixed bug in balancing code
10687 - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
10688 - Line.Streamline(): Now can also elminate leading empty tags
10689 - DumpTree(): Added a few more tests and prevented exception on
10691 - Added Debug section for Combining lines
10692 - Delete(): Now copies all remaining properties of a line
10695 - Left mousebutton now sets the caret (and middle button still acts
10696 as formatting tester, which must go away soon)
10697 - Added Debug section for Deleting/Combining lines
10698 - Fixed calculations for UpdateView after Combining lines
10700 2004-12-16 Peter Bartok <pbartok@novell.com>
10702 * TextControl.cs: Now properly aligns text on a baseline, using the
10703 new XplatUI.GetFontMetrics() method. Simplified several calculations
10704 * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
10707 2004-12-16 Peter Bartok <pbartok@novell.com>
10709 * XplatUI.cs: Added GetFontMetrics() method
10710 * XplatUIDriver.cs: Added GetFontMetrics() abstract
10711 * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
10712 into libgdiplus, our private GetFontMetrics function
10713 * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
10714 * XplatUIWin32.cs: Implemented GetFontMetrics() method
10716 2004-12-16 Jackson Harper <jackson@ximain.com>
10718 * XplatUIStruct.cs: Add enum for dead keys
10719 * X11Keyboard.cs: Map and unmap dead keys.
10721 2004-12-16 Jackson Harper <jackson@ximian.com>
10723 * X11Keyboard.cs: Detect and use the num lock mask.
10725 2004-12-16 Peter Bartok <pbartok@novell.com>
10727 * Control.cs (CreateGraphics): Added check to make sure the
10728 handle of the window exists before calling Graphics.FromHwnd()
10730 2004-12-16 Peter Bartok <pbartok@novell.com>
10732 * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
10733 contains a lot of code that's not supposed to be there for the
10734 real thing, but required for developing/testing the textbox
10737 2004-12-16 Peter Bartok <pbartok@novell.com>
10740 - Fixed Streamline method
10741 - Added FindTag method to Line
10742 - Added DumpTree method for debugging
10743 - Added DecrementLines() method for deleting lines
10744 - Fixed UpdateView to update the cursor to end-of-line on single-line
10746 - Added PositionCaret() method
10747 - Fixed MoveCaret(LineDown) to move into the last line, too
10748 - Added InsertChar overload
10749 - Fixed InsertChar tag offset calculations
10750 - Added DeleteChar() method
10751 - Added Combine() method for folding lines
10752 - Fixed Delete() method, no longer allocates wasted Line object and
10753 now copies all properties when swapping nodes
10754 - Delete() method now updates document line counter
10756 2004-12-15 Jackson Harper <jackson@ximian.com>
10758 * XplatUIX11.cs: Get the modifier keys from the keyboard driver
10759 * X11Keyboard.cs: Expose the currently selected modifier keys
10760 through a property.
10762 2004-12-15 Peter Bartok <pbartok@novell.com>
10764 * TextControl.cs: Initial check-in. Still incomplete
10766 2004-12-15 Jackson Harper <jackson@ximian.com>
10769 * TreeView.cs: Fix build on csc (second time today ;-))
10771 2004-12-15 Jackson Harper <jackson@ximian.com>
10773 * TreeView.cs: Store the treenodes plus/minus box bounds when it
10774 is calculated and use this for click testing.
10775 * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
10777 2004-12-15 Jackson Harper <jackson@ximian.com>
10779 * TreeView.cs: Pass the nodes image index to the image list when
10780 drawing that image.
10782 2004-12-15 Jackson Harper <jackson@ximian.com>
10784 * X11Keyboard.cs: Set messages hwnd.
10785 * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
10786 post_message calls.
10788 2004-12-15 Jackson Harper <jackson@ximian.com>
10790 * X11Keyboard.cs: Fix to compile with csc.
10792 2004-12-15 Jackson Harper <jackson@ximian.com>
10794 * X11Structs.cs: Add key mask values
10795 * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
10796 * X11Keyboard.cs: New file - Extrapolates and interpolates key
10797 down/up foo into WM_CHAR foo
10798 * KeyboardLayouts.cs: Common keyboard layouts
10799 * XplatUIX11.cs: Add the keyboard driver. Add functionality to
10800 post messages into the main queue.
10802 2004-12-13 Jordi Mas i Hernandez <jordi@ximian.com>
10804 * Button.cs: implement ProcessMnemonic
10805 * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
10807 * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
10808 * ButtonBase.cs: Show HotkeyPrefix (not the &)
10810 2004-12-12 John BouAntoun <jba-mon@optusnet.com.au>
10812 * MonthCalendar.cs: Implemented click-hold for next/previous month
10815 2004-12-11 Peter Bartok <pbartok@novell.com>
10818 - Added XKeyboardState (moved from XplatUIX11.cs)
10819 - Added XCreateGC related enums and structures
10820 - Added GXFunction for XSetFunction
10822 * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
10824 * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
10825 CaretVisible() calls
10827 * ToolTip.cs: Added code to prevent stealing focus from app windows
10829 * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
10830 DestroyCaret, SetCaretPos and CaretVisible)
10833 - Added implementation for caret functions
10834 - Moved hover variables into a struct, to make it a bit easier
10835 on the eyes and to debug
10836 - Removed XKeyboardState (moved to XplatUIX11.cs)
10837 - Moved Keyboard properties into the properties region
10839 * Control.cs (get_Region): Control.CreateGraphics is the appropriate
10840 call to get a graphics context for our control
10842 * XplatUIOSX.cs: Added empty overrides for the new caret functions
10844 * TreeView.cs: Fixed bug. No matter what color was set it would always
10845 return SystemColors.Window
10847 * XplatUIWin32.cs: Implemented caret overrides
10849 2004-12-10 Jordi Mas i Hernandez <jordi@ximian.com>
10851 * ListBox.cs: fire events, implement missing methods and properties,
10854 2004-12-10 John BouAntoun <jba-mono@optusnet.com.au>
10856 * MonthCalendar.cs: invalidation bug fixing
10857 * ThemeWin32Classic.cs: paint fixing
10859 2004-12-09 Geoff Norton <gnorton@customerdna.com>
10861 * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
10862 prepare the CGContextRef there now.
10864 2004-12-09 John BouAntoun <jba-mono@optusnet.com.au>
10866 * MonthCalendar.cs:
10867 - optimisationL only invalidate areas that have changed
10868 * ThemeWin32Classic.cs:
10869 - only paint parts that intersect with clip_area
10871 2004-12-09 Peter Bartok <pbartok@novell.com>
10873 * Application.cs: Undid changes from r37004 which cause problems
10876 2004-12-09 Ravindra <rkumar@novell.com>
10878 * ToolBar.cs: Added support for displaying ContextMenu
10879 attached to a button on ToolBar.
10880 * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
10883 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10885 * Label.cs: autosize works in text change and removes unnecessary
10888 2004-12-09 Jordi Mas i Hernandez <jordi@ximian.com>
10890 * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
10893 2004-12-08 Geoff Norton <gnorton@customerdna.com>
10895 * XplatUIOSX.cs: Added mouse move/click/grab support
10896 Remove some debugging WriteLines not needed anymore.
10897 Add window resizing/positioning.
10898 Fix visibility on reparenting.
10900 2004-12-08 Peter Bartok <pbartok@novell.com>
10902 * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
10904 2004-12-07 Geoff Norton <gnorton@customerdna.com>
10906 * XplatUIOSX.cs: Initial checkin
10907 * XplatUI.cs: Use the Quartz driver if the environment is set to use it
10909 2004-12-03 Ravindra <rkumar@novell.com>
10911 * ListView.cs: Added some keybindings and fixed scrolling.
10912 ScrollBars listen to ValueChanged event instead of Scroll
10913 Event. This would let us take care of all changes being
10914 done in the scrollbars' values programmatically or manually.
10915 * ListView.cs (CanMultiselect): Added a check for shift key.
10916 * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
10917 * ListViewItem.cs (Clone): Fixed. We need to make a copy
10918 of ListViewSubItemCollection as well.
10920 2004-12-06 Peter Bartok <pbartok@novell.com>
10922 * Control.cs (Parent): Added check and exception to prevent
10925 2004-12-03 Jordi Mas i Hernandez <jordi@ximian.com>
10927 * ListBox.cs: implemented clipping, selection single and multiple,
10930 2004-12-03 Ravindra <rkumar@novell.com>
10932 * ListView.cs (ListView_KeyDown):
10933 * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
10934 when CTRL key is pressed.
10935 * ListViewItem.cs (Selected): Fixed setting the property.
10937 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10939 * Application.cs (OnThreadException): Use ThreadExceptionDialog.
10941 * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
10942 MinimizeBox, ShowInTaskbar, TopMost properties.
10944 * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
10945 will be implemented).
10947 2004-12-03 Marek Safar <marek.safar@seznam.cz>
10949 * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
10951 * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
10954 * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
10956 * TreeView.cs: BackColor is Colors.Window.
10958 2004-12-01 Jackson Harper <jackson@ximian.com>
10960 * TreeView.cs: When resizing the tree if the user is making it
10961 smaller we don't get expose events, so we need to handle adding
10962 the horizontal scrollbar in the size changed handler as well as
10963 the expose handler.
10965 2004-12-02 Jordi Mas i Hernandez <jordi@ximian.com>
10967 * DrawItemState.cs: fixes wrong enum values
10969 2004-12-01 Jackson Harper <jackson@ximian.com>
10971 * TreeView.cs: Resize the hbar as well as the vbar on resize.
10973 2004-12-01 Jackson Harper <jackson@ximian.com>
10975 * NodeLabelEditEventArgs.cs:
10976 * NodeLabelEditEventHandler.cs:
10977 * OpenTreeNodeEnumerator.cs:
10979 * TreeNodeCollection.cs:
10981 * TreeViewAction.cs:
10982 * TreeViewCancelEventArgs.cs:
10983 * TreeViewCancelEventHandler.cs:
10984 * TreeViewEventArgs.cs:
10985 * TreeViewEventHandler.cs: Initial implementation.
10987 2004-12-01 Ravindra <rkumar@novell.com>
10989 * ListView.cs (CalculateListView): Fixed scrolling related
10990 calculations. Also, removed some debug statements from other
10992 * ListViewItem.cs: Changed access to 'selected' instance variable
10993 from private to internal.
10994 * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
10996 2004-12-01 Jordi Mas i Hernandez <jordi@ximian.com>
10998 * ThemeWin32Classic.cs: remove cache of brush and pens for
10999 specific controls and use the global system, fixes scrollbutton
11000 bugs (for small sizes, disabled, etc)
11002 * ScrollBar.cs: does not show the thumb for very small controls
11003 (as MS) and allow smaller buttons that the regular size
11005 2004-12-01 Miguel de Icaza <miguel@ximian.com>
11007 * UpDownBase.cs: Add abstract methods for the interface.
11008 Add new virtual methods (need to be hooked up to TextEntry when it
11010 Add override methods for most features.
11011 Computes the size, forces the height of the text entry.
11013 * NumericUpDown.cs: Put here the current testing code.
11015 * Set eol-style property on all files that do not have mixed line
11016 endings, to minimize the future problems. There are still a few
11017 files with mixed endings, and someone should choose whether they
11018 want to move it or not.
11020 2004-11-30 Jordi Mas i Hernandez <jordi@ximian.com>
11022 * MonthCalendar.cs, ListView.cs: use Theme colours instead of
11025 2004-11-30 Ravindra <rkumar@novell.com>
11027 * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
11028 drawing and replaced use of SystemColors by theme colors.
11029 * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
11030 * ListView.cs (ListViewItemCollection.Add): Throw exception when
11031 same ListViewItem is being added more than once.
11033 2004-11-30 John BouAntoun <jba-mono@optusnet.com.au>
11035 * MonthCalendar.cs:
11036 - ControlStyles love to make the control not flicker
11038 2004-11-30 Peter Bartok <pbartok@novell.com>
11040 * CharacterCasing.cs: Added
11042 2004-11-29 Peter Bartok <pbartok@novell.com>
11044 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11045 TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
11046 I am removing these files as they conflict with already completed
11047 work. While it is fantastic to get contributions to MWF, I
11048 respectfully ask that everyone please coordinate their contributions
11049 through mono-winforms-list or #mono-winforms at this time. We're
11050 explicitly avoiding stubbing and don't want controls that don't have
11051 their basic functionality implemented in svn. Please also see
11052 http://www.mono-project.com/contributing/winforms.html
11055 2004-11-29 Marek Safar <marek.safar@seznam.cz>
11057 * Application.cs (ModalRun): Don't hang after exit.
11059 * Theme.cs: New TreeViewDefaultSize property.
11061 * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
11062 with less hardcoded SystemColors constant.
11063 Implemented TreeViewDefaultSize.
11065 * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
11066 TreeViewAction.cs, TreeViewEventArgs.cs: New files.
11069 2004-11-29 John BouAntoun <jba-mono@optusnet.com.au>
11071 * MonthCalendar.cs:
11072 - Fix NextMonthDate and PrevMonthDate click moving calendar
11074 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11076 * MonthCalendar.cs:
11077 - Fix usage of ScrollChange Property when scrolling months
11079 2004-11-26 Jordi Mas i Hernandez <jordi@ximian.com>
11081 * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
11082 - Fixes menu destroying
11083 - Support adding and removing items on already created menus
11085 2004-11-26 John BouAntoun <jba-mono@optusnet.com.au>
11087 * MonthCalendar.cs:
11088 - Re-worked all bolded dates handling to match win32
11089 * ThemeWin32Classic.cs:
11090 - Fixed rendering with bolded dates
11092 2004-11-25 Jordi Mas i Hernandez <jordi@ximian.com>
11094 * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
11095 - Horizontal scroolbar
11100 2004-11-25 John BouAntoun <jba-mono@optusnet.com.au>
11102 * MonthCalendar.cs:
11103 - Fix Usage of MaxSelectionCount from SelectionRange
11104 - Fixed Shift + Cursor Selection
11105 - Fixed Shift + (Pg up/Pg dn, Home/End) selection
11106 - Fixed normal cursor selection to be compat with win32
11107 - Fixed Shift + Mouse Click selection
11109 2004-11-24 Peter Bartok <pbartok@novell.com>
11111 * XplatUI.cs (DispatchMessage): Switched to return IntPtr
11112 * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
11114 - CreatedKeyBoardMsg now updates keystate with Alt key
11115 - Added workaround for timer crash to CheckTimers, Jackson will
11116 develop a proper fix and check in later
11117 - Implemented DispatchMessage
11118 - Removed calling the native window proc from GetMessage (call
11119 now moved to DispatchMessage)
11121 * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
11122 the keydata (Fixes bug #69831)
11125 - (DispatchMessage): Switched to return IntPtr
11126 - Added DllImport for SetFocus
11128 2004-11-24 Ravindra <rkumar@novell.com>
11130 * ThemeWin32Classic.cs: Fixed ListView border and checkbox
11131 background drawing.
11132 * ListViewItem.cs: Fixed various properties, calculations
11133 and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
11134 * ListView.cs: Fixed calculations, BackColor, ForeColor properties
11135 and some internal properties. Fixed MouseDown handler and Paint
11138 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11140 * MonthCalendar.cs: Add TitleMonth ContextMenu handling
11142 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11144 * ContainerControl.cs: correct accidental check in of local changes
11146 2004-11-24 John BouAntoun <jba-mono@optusnet.com.au>
11148 * ThemeWin32Classic.cs:
11149 - Fixed Drawing Last month in grid (sometimes not showing)
11150 * MonthCalendar.cs:
11151 - Fixed title width calculation bug (makeing title small)
11153 2004-11-23 Peter Bartok <pbartok@novell.com>
11156 - Added generation of WM_MOUSEHOVER event
11157 - Added missing assignment of async_method atom
11158 - Fixed WM_ERASEBKGND; now only redraws the exposed area
11160 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11162 * ThemeWin32Classic.cs:
11163 - Fixed Drawing of today circle when showtodaycircle not set
11164 - fixed drawing of first and last month in the grid (gay dates)
11165 * MonthCalendar.cs:
11166 - Fixed Drawing of today circle
11167 - Fixed drawing of grady dates
11168 - Fixed HitTest for today link when ShowToday set to false
11169 - Fixed DefaultSize to obey ShowToday
11171 2004-11-23 John BouAntoun <jba-mono@optusnet.com.au>
11173 * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
11174 * System.Windows.Forms/Theme.cs
11175 * MonthCalendar.cs: added for MonthCalendar
11176 * SelectionRange.cs: added for MonthCalendar
11177 * Day.cs: added for MonthCalendar: added for MonthCalendar
11178 * DateRangeEventArgs.cs: added for MonthCalendar
11179 * DateRangeEventHandler.cs: added for MonthCalendar
11181 2004-11-22 Ravindra <rkumar@novell.com>
11183 * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
11186 2004-11-22 Miguel de Icaza <miguel@ximian.com>
11188 * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
11191 * NumericUpDown.cs: Added new implementation.
11192 * UpDownBase.cs: Added new implementation.
11194 * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
11197 * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
11200 * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
11203 2004-11-21 Miguel de Icaza <miguel@ximian.com>
11205 * Timer.cs (Dispose): Should call the base dispose when
11208 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11210 * ScrollBar.cs: updates thumb position when max, min or increment
11213 2004-11-21 Ravindra <rkumar@novell.com>
11215 * ListView.cs: Implemented item selection, activation and
11216 column header style. Fixed properties to do a redraw, if
11217 required. Added support for MouseHover, DoubleClick, KeyDown
11218 and KeyUp event handling and some minor fixes.
11219 * ListViewItem.cs: Fixed constructor.
11220 * ThemeWin32Classic.cs: Improved drawing for ListView.
11222 2004-11-19 Jordi Mas i Hernandez <jordi@ximian.com>
11224 * ThemeWin32Classic.cs: initial listbox drawing code
11225 * DrawMode.cs: new enumerator
11226 * ListControl.cs: stubbed class
11227 * ListBox.cs: initial implementation
11228 * Theme.cs: new methods definitions
11229 * SelectionMode.cs: new enumerator
11231 2004-11-17 Peter Bartok <pbartok@novell.com>
11233 * XplatUIWin32.cs: Added double-click events to the class style
11234 * Control.cs (WndProc):
11235 - Added handling of click-count to MouseDown/ MouseUp events.
11236 - Added handling of middle and right mouse buttons
11237 - Removed old debug code
11239 2004-11-17 Jackson Harper <jackson@ximian.com>
11241 * XplatUIX11.cs: Use the new Mono.Unix namespace.
11243 2004-11-17 Ravindra <rkumar@novell.com>
11245 * ListView.cs: Added event handling for MouseMove/Up/Down.
11246 * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
11247 * ThemeWin32Classic.cs: We need to clear the graphics context and
11248 draw column header in a proper state.
11251 2004-11-17 Jordi Mas i Hernandez <jordi@ximian.com>
11253 * Menu.cs: fixes signature
11255 2004-11-16 Peter Bartok <pbartok@novell.com>
11257 * XplatUIX11.cs (GetMessage): Implemented generation of
11258 double click mouse messages
11260 2004-11-12 Jordi Mas i Hernandez <jordi@ximian.com>
11262 * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
11265 2004-11-11 Peter Bartok <pbartok@novell.com>
11267 * HandleData.cs: Added Visible property
11268 * XplatUIX11.cs (IsVisible): Now uses Visible property from
11270 * XplatUIX11.cs: Removed old debug leftovers
11271 * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
11272 * Control.cs (WndProc): Removed old debug leftovers,
11273 streamlined handling of WM_WINDOWPOSCHANGED, removed un-
11274 needed WM_SIZE handling
11276 2004-11-11 Jackson Harper <jackson@ximian.com>
11278 * OwnerDrawPropertyBag.cs:
11279 * TreeViewImageIndexConverter.cs: Initial implementation
11281 2004-11-10 Jackson Harper <jackson@ximian.com>
11283 * ThemeWin32Classic.cs:
11284 * TabControl.cs: instead of moving tabs by the slider pos just
11285 start drawing at the tab that is offset by the slider. This way
11286 scrolling always moves by exactly one tab.
11288 2004-11-10 Jackson Harper <jackson@ximian.com>
11290 * TabControl.cs: You can only scroll left when the slider has
11291 already ben moved right.
11293 2004-11-10 Jackson Harper <jackson@ximian.com>
11295 * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
11298 2004-11-10 Jackson Harper <jackson@ximian.com>
11300 * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
11303 2004-11-09 Jackson Harper <jackson@ximian.com>
11305 * TabControl.cs (CalcXPos): New helper method so we can determine
11306 the proper place to start drawing vertical tabs.
11307 * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
11309 2004-11-09 Jackson Harper <jackson@ximian.com>
11311 * TabControl.cs: Calculate sizing and rects for left aligned tabs.
11312 * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
11313 and Bottom, left and right are illegal values for this and
11314 multiline is enabled when the alignment is set to left or right.
11315 (DrawTab): Each alignment block should draw the text itself now
11316 because Left requires special love. Also add rendering for Left
11319 2004-11-09 Jordi Mas i Hernandez <jordi@ximian.com>
11321 * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
11322 does not destroy the windows, removes debugging messages
11324 2004-11-09 jba <jba-mono@optusnet.com.au>
11326 * ThemeWin32Classic.cs
11327 (DrawButtonBase): Fix verticle text rect clipping in windows
11328 (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11329 rendering and incorrect text rect clipping
11330 (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
11331 rendering and incorrect text rect clipping
11333 2004-11-08 Jackson Harper <jackson@ximian.com>
11335 * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
11336 bottom when they are bottom aligned so the bottoms of the tabs get
11338 * TabControl.cs (DropRow): Move rows up instead of down when the
11339 tab control is bottom aligned.
11341 2004-11-08 13:59 pbartok
11344 - Added handling for various window styles
11345 - Added handling for popup windows
11346 - Added SetTopmost handling
11348 2004-11-08 13:55 pbartok
11351 - Added argument to SetTopmost method
11352 - Fixed broken ClientToScreen function
11354 2004-11-08 13:53 pbartok
11356 * XplatUIStructs.cs:
11357 - Added missing WS_EX styles
11359 2004-11-08 13:53 pbartok
11361 * XplatUI.cs, XplatUIDriver.cs:
11362 - Added argument to SetTopmost
11364 2004-11-08 13:52 pbartok
11367 - Added XSetWindowAttributes structure
11368 - Improved XWindowAttributes structure
11369 - Added SetWindowValuemask enum
11370 - Added window creation arguments enum
11371 - Added gravity enum
11372 - Added Motif hints structure
11373 - Added various Motif flags and enums
11374 - Added PropertyMode enum for property functions
11376 2004-11-08 13:50 pbartok
11379 - Fixed arguments for updated SetTopmost method
11381 2004-11-08 13:49 pbartok
11384 - Fixed arguments for updated SetTopmost function
11385 - Fixed usage of PointToClient
11387 2004-11-08 13:44 pbartok
11390 - Added Clipping of children and siblings
11392 2004-11-08 13:41 pbartok
11395 - Removed SetMenuBarWindow call. We do this in Form.cs
11397 2004-11-08 13:40 jackson
11399 * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
11400 scrolling jimmi in the correct location with bottom aligned tabs
11402 2004-11-08 13:36 pbartok
11404 * ContainerControl.cs:
11405 - Implemented BindingContext
11406 - Implemented ParentForm
11408 2004-11-08 12:46 jackson
11410 * TabControl.cs: Put bottom rendered tabs in the right location
11412 2004-11-08 07:15 jordi
11414 * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
11417 2004-11-05 17:30 jackson
11419 * TabControl.cs: When selected tabs are expanded make sure they
11420 don't go beyond the edges of the tab control
11422 2004-11-05 14:57 jackson
11424 * TabControl.cs: Reset show_slider so if the control is resized to
11425 a size where it is no longer needed it's not displayed anymore
11427 2004-11-05 13:16 jackson
11429 * TabControl.cs: Make tab pages non visible when added to the
11432 2004-11-05 12:42 jackson
11434 * TabControl.cs: Implement SizeMode.FillToRight
11436 2004-11-05 12:16 jackson
11438 * Control.cs: Do not call CreateHandle if the handle is already
11441 2004-11-05 11:46 jackson
11443 * TabControl.cs: Remove superflous call to CalcTabRows
11445 2004-11-05 09:07 jackson
11447 * XplatUIX11.cs: Update for Mono.Posix changes
11449 2004-11-05 07:00 ravindra
11451 * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
11454 2004-11-04 22:47 jba
11456 * ThemeWin32Classic.cs:
11457 - Fix Button rendering for FlatStyle = Flat or Popup
11458 - Fix RadioButton and CheckBox rendering when Appearance = Button
11459 (normal and flatstyle).
11460 - Correct outer rectangle color when drawing focus rectangle
11461 - Adjust button bounds to be 1 px smaller when focused
11462 - Make button not draw sunken 3d border when pushed (windows compat)
11463 - Fix CPDrawBorder3D to not make bottom right hand corner rounded
11464 - Offset the text in RadioButton and Checkbox when being rendered as
11466 - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
11468 - Fixed disabled rendering for colored flatstyle radiobuttons (both)
11469 - Fixed disabled text rendering for normally rendered radiobuttons
11471 2004-11-04 10:26 jackson
11473 * TabControl.cs: Recalculate tab rows when resizing
11475 2004-11-04 07:47 jordi
11477 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
11478 collection completion, drawing issues, missing features
11480 2004-11-04 05:03 ravindra
11483 - We need to recalculate the Thumb area when
11484 LargeChange/maximum/minimum values are changed.
11485 - We set the 'pos' in UpdatePos() method to minimum, if it's less
11486 than minimum. This is required to handle the case if large_change is
11487 more than max, and use LargeChange property instead of large_change
11489 - We return max+1 when large_change is more than max, like MS does.
11491 2004-11-04 04:29 ravindra
11493 * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
11494 - Changed default value signatures (prefixed all with ListView).
11495 - Fixed/implemented layout LargeIcon, SmallIcon and List views for
11497 - Fixed calculations for ListViewItem and implemented Clone()
11500 2004-11-04 04:26 ravindra
11502 * Theme.cs, ThemeWin32Classic.cs:
11503 - Changed default ListView values signatures (prefixed all with
11505 - Fixed default size values for VScrollBar and HScrollBar.
11506 - Fixed DrawListViewItem method.
11508 2004-11-04 04:05 ravindra
11510 * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
11512 2004-11-04 04:04 ravindra
11514 * ImageList.cs: Implemented the missing overload for Draw method.
11516 2004-11-03 19:29 jackson
11518 * TabControl.cs: Handle dropping rows on selection properly
11520 2004-11-03 11:59 jackson
11522 * TabControl.cs: remove debug code
11524 2004-11-03 11:52 jackson
11526 * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
11527 the scrolly widgerywoo
11529 2004-11-02 13:52 jackson
11531 * TabControl.cs: Resize the tab pages and tabs when the tab control
11534 2004-11-02 13:40 jackson
11536 * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
11537 selected tab to the bottom
11539 2004-11-02 13:39 jackson
11541 * TabPage.cs: Store the tab pages row
11543 2004-11-02 12:33 jordi
11545 * MenuItem.cs: fixes handle creation
11547 2004-11-02 11:42 jackson
11549 * TabControl.cs: signature fix
11551 2004-11-02 08:56 jackson
11553 * TabControl.cs: Calculate whether the tab is on an edge properly.
11554 Remove top secret debugging code
11556 2004-11-01 19:57 jackson
11558 * TabControl.cs: Add click handling, and proper sizing
11560 2004-11-01 19:47 jackson
11562 * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
11565 2004-11-01 19:39 jackson
11567 * TabPage.cs: add internal property to store the bounds of a tab
11570 2004-10-30 04:23 ravindra
11572 * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
11575 2004-10-30 04:21 ravindra
11577 * ListView.cs, ListViewItem.cs: Added support for scrolling and
11578 fixed calculations.
11580 2004-10-30 03:06 pbartok
11583 - Removed extension of DllImported libs
11585 2004-10-29 09:55 jordi
11587 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
11588 navigation, itemcollection completion, menu fixes
11590 2004-10-27 22:58 pbartok
11593 - Now throws a nice error message when no X display could be opened
11595 2004-10-26 13:51 jordi
11597 * ListView.cs: removes warning
11599 2004-10-26 03:55 ravindra
11601 * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
11602 ThemeWin32Classic.cs: Some formatting for my last checkins.
11604 2004-10-26 03:36 ravindra
11606 * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
11607 control and default values.
11609 2004-10-26 03:35 ravindra
11611 * Theme.cs: Added some default values for ListView control.
11613 2004-10-26 03:33 ravindra
11615 * ToolBar.cs: ToolBar should use the user specified button size, if
11616 there is any. Added a size_specified flag for the same.
11618 2004-10-26 03:33 ravindra
11620 * ColumnHeader.cs: Added some internal members and calculations for
11623 2004-10-26 03:32 ravindra
11625 * ListViewItem.cs: Calculations for ListViewItem.
11627 2004-10-26 03:31 ravindra
11629 * ListView.cs: Added some internal members and calculations for
11632 2004-10-22 13:31 jordi
11634 * MenuAPI.cs: speedup menus drawing
11636 2004-10-22 13:16 jackson
11638 * XplatUIX11.cs: Make sure to update exposed regions when adding an
11641 2004-10-22 11:49 jackson
11645 2004-10-22 11:41 jackson
11647 * Control.cs: Check to see if the window should have its background
11648 repainted by X when drawing.
11650 2004-10-22 11:31 jackson
11652 * XplatUIX11.cs: When invalidating areas only use XClearArea if
11653 clear is true, this way we do not get flicker from X repainting the
11656 2004-10-22 11:28 jackson
11658 * XEventQueue.cs: Queue properly
11660 2004-10-21 09:38 jackson
11662 * XEventQueue.cs: Fix access modifier
11664 2004-10-21 09:36 jackson
11666 * XEventQueue.cs: Don't loose messages
11668 2004-10-21 09:22 jackson
11670 * XEventQueue.cs: Don't loose messages
11672 2004-10-20 04:15 jordi
11674 * BootMode.cs: enum need it by SystemInfo
11676 2004-10-19 21:58 pbartok
11679 - Small sanity check
11681 2004-10-19 21:56 pbartok
11684 - Added private FormParentWindow class which acts as the container
11685 for our form and as the non-client area where menus are drawn
11686 - Added/Moved required tie-ins to Jordi's menus
11687 - Fixed/Implemented the FormStartPosition functionality
11689 2004-10-19 21:52 pbartok
11692 - Removed unneeded locals
11693 - Added code to all size and location properties to understand and
11694 deal with the parent container of Form
11696 2004-10-19 21:33 pbartok
11699 - Fixed to deal with new Form subclasses for menus
11701 2004-10-19 17:48 jackson
11703 * XEventQueue.cs: commit correct version of file
11705 2004-10-19 16:50 jackson
11707 * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
11709 2004-10-19 16:15 jordi
11711 * MenuAPI.cs: MenuBarCalcSize returns the height
11713 2004-10-19 08:31 pbartok
11716 - Added missing call to PreProcessMessage before calling OnXXXKey
11719 2004-10-19 00:04 ravindra
11721 * ToolTip.cs: Fixed constructor.
11723 2004-10-18 09:31 jordi
11725 * MenuAPI.cs: menuitems in menubars do not have shortcuts
11727 2004-10-18 09:26 jordi
11729 * MenuItem.cs: fixes MenuItem class signature
11731 2004-10-18 08:56 jordi
11733 * MenuAPI.cs: prevents windows from showing in the taskbar
11735 2004-10-18 00:28 ravindra
11737 * ToolTip.cs: Suppressed a warning message.
11739 2004-10-18 00:27 ravindra
11741 * Control.cs: Default value of visible property must be true.
11743 2004-10-17 23:19 pbartok
11746 - Complete implementation
11748 2004-10-17 23:19 pbartok
11751 - Added EnableWindow method
11752 - Added SetModal stub
11753 - Added generation of WM_ACTIVATE message (still needs testing)
11754 - Added SetTopMost stub
11755 - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
11757 2004-10-17 23:17 pbartok
11760 - Removed VirtualKeys to XplatUIStructs
11761 - Implemented SetTopMost method
11762 - Implemented EnableWindow method
11763 - Bugfix in ScreenToClient()
11764 - Bugfixes in ClientToScreen()
11766 2004-10-17 22:51 pbartok
11768 * XplatUIStructs.cs:
11769 - Added WS_EX styles to WindowStyles enumeration
11771 2004-10-17 22:50 pbartok
11773 * XplatUI.cs, XplatUIDriver.cs:
11774 - Added method for enabling/disabling windows
11775 - Added method for setting window modality
11776 - Added method for setting topmost window
11778 2004-10-17 22:49 pbartok
11780 * ThemeWin32Classic.cs:
11781 - Added ToolTip drawing code
11783 2004-10-17 22:49 pbartok
11786 - Added ToolTip abstracts
11788 2004-10-17 22:47 pbartok
11791 - Fixed Form.ControlCollection to handle owner relations
11792 - Added Owner/OwnedForms handling
11793 - Implemented Z-Ordering for owned forms
11794 - Removed unneeded private overload of ShowDialog
11795 - Fixed ShowDialog, added the X11 incarnation of modal handling (or
11797 - Fixed Close(), had wrong default
11798 - Added firing of OnLoad event
11799 - Added some commented out debug code for Ownership handling
11801 2004-10-17 22:16 pbartok
11804 - Fixed/implemented flat list of controls
11806 2004-10-17 22:14 pbartok
11809 - Added code to simulate modal dialogs on Win32
11811 2004-10-17 16:11 jordi
11813 * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
11816 2004-10-17 13:39 jordi
11818 * MenuAPI.cs: menu drawing fixes
11820 2004-10-15 09:10 ravindra
11822 * StructFormat.cs: General Enum.
11824 2004-10-15 09:09 ravindra
11826 * SizeGripStyle.cs: Enum for Form.
11828 2004-10-15 09:08 ravindra
11830 * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
11831 in Theme for ListView.
11833 2004-10-15 09:06 ravindra
11835 * ColumnHeader.cs: Flushing some formatting changes.
11837 2004-10-15 09:05 ravindra
11839 * ListViewItem.cs: Implemented GetBounds method and fixed coding
11842 2004-10-15 09:03 ravindra
11844 * ListView.cs: Implemented Paint method and fixed coding style.
11846 2004-10-15 07:34 jordi
11848 * MenuAPI.cs: fix for X11
11850 2004-10-15 07:32 ravindra
11852 * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
11853 - Renamed Paint() method to Draw() for clarity. Also, moved
11854 DrawImage() to OnPaint().
11856 2004-10-15 07:25 ravindra
11858 * CheckBox.cs, RadioButton.cs:
11859 - Removed Redraw (), we get it from ButtonBase.
11860 - Implemented Paint (), to do class specific painting.
11862 2004-10-15 07:16 ravindra
11865 - Redraw () is not virtual now.
11866 - Added an internal virtual method Paint (), so that
11867 derived classes can do their painting on their own.
11868 - Modified OnPaint () to call Paint ().
11870 2004-10-15 06:43 jordi
11872 * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
11873 MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
11875 2004-10-15 00:30 ravindra
11878 - MessageBox on windows does not have min/max buttons.
11879 This change in CreateParams fixes this on Windows. We
11880 still need to implement this windowstyle behavior in
11883 2004-10-14 05:14 ravindra
11886 - Changed Redraw () to do a Refresh () always.
11887 - Fixed the MouseMove event handling when mouse is pressed,
11888 ie drag event handling.
11889 - Replaced the usage of ToolBarButton.Pressed property to
11890 ToolBarButton.pressed internal variable.
11892 2004-10-14 05:10 ravindra
11894 * ToolBarButton.cs:
11895 - Added an internal member 'inside' to handle mouse move
11896 with mouse pressed ie mouse drag event.
11897 - Changed 'Pressed' property to return true only when
11898 'inside' and 'pressed' are both true.
11899 - Some coding style love.
11901 2004-10-14 00:17 ravindra
11903 * Form.cs: Fixed class signature. ShowDialog (Control) is not a
11906 2004-10-14 00:15 ravindra
11908 * ButtonBase.cs: Redraw () related improvements.
11910 2004-10-14 00:14 ravindra
11912 * MessageBox.cs: Moved InitFormSize () out of Paint method and
11913 removed unnecessary calls to Button.Show () method.
11915 2004-10-13 17:50 pbartok
11919 - Removed destroying of window until we solve the problem of X
11920 destroying the window before us on shutdown
11922 2004-10-13 16:32 pbartok
11925 - Now Redraws on MouseUp for FlatStyle Flat and Popup
11927 2004-10-13 14:18 pbartok
11930 - Added code to destroy the X window
11932 2004-10-13 14:18 pbartok
11935 - Added code to destroy a window
11937 2004-10-13 14:12 pbartok
11940 - Added the Redraw on Resize that got dropped in the last rev
11942 2004-10-13 09:06 pbartok
11944 * ThemeWin32Classic.cs:
11945 - Path from John BouAntoun:
11946 * Fix check rendering (centre correctly for normal style, offset
11947 correctly for FlatStyle).
11948 * Fix border color usage (use backcolor) for FlatStyle.Popup
11949 * Use checkbox.Capture instead of checkbox.is_pressed when
11950 rendering flatstyle states.
11952 2004-10-12 21:48 pbartok
11954 * ThemeWin32Classic.cs:
11955 - Removed all occurences of SystemColors and replaced them with the
11956 matching theme color
11958 2004-10-12 21:41 pbartok
11960 * ThemeWin32Classic.cs:
11961 - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
11962 him using the function for flatstyle drawing
11963 - Changed functions to use the new version of CPDrawBorder3D
11965 2004-10-12 21:15 pbartok
11968 - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
11969 match MS documentation. They need to return defined colors if the
11970 passed color matches the configured control color. Thanks to John
11971 BouAntoun for pointing this out.
11973 2004-10-12 20:57 pbartok
11976 - Fix from John BouAntoun: Raise ForeColorChanged event when text
11979 2004-10-12 20:46 pbartok
11982 - Fix from John BouAntoun: Now properly sets the Appearance property
11984 2004-10-12 20:45 pbartok
11986 * ThemeWin32Classic.cs:
11987 - Fixes from John BouAntoun: now handles forecolors and backcolors
11988 for flatstyle rendered controls much better; It also fixes normal
11989 checkbox rendering when pushed or disabled.
11991 2004-10-08 02:50 jordi
11993 * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
11996 2004-10-07 08:56 jordi
11998 * ThemeWin32Classic.cs: Removes deletion of cached brushes
12000 2004-10-06 03:59 jordi
12002 * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
12003 XplatUIWin32.cs: removes warnings from compilation
12005 2004-10-05 12:23 jackson
12007 * RadioButton.cs: Fix ctor
12009 2004-10-05 11:10 pbartok
12012 - Partial implementation by Benjamin Dasnois
12014 2004-10-05 10:15 jackson
12016 * ThemeWin32Classic.cs: Improve rendering of the radio button patch
12019 2004-10-05 03:07 ravindra
12022 - Removed a private method, Draw ().
12023 - Fixed the ButtonDropDown event handling.
12024 - Fixed MouseMove event handling.
12026 2004-10-05 03:04 ravindra
12028 * ThemeWin32Classic.cs:
12029 - Added DrawListView method and ListViewDefaultSize property.
12030 - Changed ControlPaint method calls to CPDrawXXX wherever possible.
12031 - Changed DOS style CRLF to Unix format (dos2unix).
12033 2004-10-05 03:03 ravindra
12036 - Added DrawListView method and ListViewDefaultSize property.
12038 2004-10-05 02:42 ravindra
12040 * ToolBarButton.cs: Added an internal member dd_pressed to handle
12041 clicks on DropDown arrow.
12043 2004-10-04 22:56 jackson
12045 * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
12046 ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
12047 Control handle the buffers, derived classes should not have to
12048 CreateBuffers themselves.
12050 2004-10-04 21:20 jackson
12052 * StatusBar.cs: The control handles resizing the buffers now.
12054 2004-10-04 21:18 jackson
12056 * Control.cs: When resizing the buffers should be invalidated. This
12057 should be handled in Control not in derived classes.
12059 2004-10-04 14:45 jackson
12063 2004-10-04 02:14 pbartok
12065 * LeftRightAlignment.cs:
12068 2004-10-04 01:09 jordi
12070 * ThemeWin32Classic.cs: fixes right button position causing right
12071 button not showing on horizontal scrollbars
12073 2004-10-02 13:12 pbartok
12076 - Simplified the Invalidate method by using an X call instead of
12077 generating the expose ourselves
12078 - Added an expose when the window background is changed
12079 - Implemented ClientToScreen method
12081 2004-10-02 13:08 pbartok
12084 - Added Win32EnableWindow method (test for implementing modal
12086 - Added ClientToScreen method and imports
12088 2004-10-02 13:07 pbartok
12090 * XplatUI.cs, XplatUIDriver.cs:
12091 - Added ClientToScreen coordinate translation method
12093 2004-10-02 13:06 pbartok
12095 * KeyPressEventArgs.cs:
12096 - Fixed access level for constructor
12098 2004-10-02 13:06 pbartok
12101 - Changed access level for the window_collection hash table
12103 2004-10-02 13:05 pbartok
12106 - Added KeyPreview property
12107 - Added Menu property (still incomplete, pending Jordi's menu work)
12108 - Implemented ProcessCmdKey
12109 - Implemented ProcessDialogKey
12110 - Implemented ProcessKeyPreview
12112 2004-10-02 13:02 pbartok
12115 - Added private method to get the Control object from the window
12117 - Implemented ContextMenu property
12118 - Implemented PointToScreen
12119 - Implemented PreProcessMessage
12120 - Implemented IsInputChar
12121 - Implemented IsInputKey
12122 - Implemented ProcessCmdKey
12123 - Completed ProcessKeyEventArgs
12124 - Fixed message loop to call the proper chain of functions on key
12126 - Implemented ProcessDialogChar
12127 - Implemented ProcessDialogKey
12128 - Implemented ProcessKeyMessage
12129 - Implemented ProcessKeyPreview
12130 - Added RaiseDragEvent stub (MS internal method)
12131 - Added RaiseKeyEvent stub (MS internal method)
12132 - Added RaiseMouseEvent stub (MS Internal method)
12133 - Added RaisePaintEvent stub (MS Internal method)
12134 - Added ResetMouseEventArgs stub (MS Internal method)
12135 - Implemented RtlTranslateAlignment
12136 - Implemented RtlTranslateContent
12137 - Implemented RtlTranslateHorizontal
12138 - Implemented RtlTranslateLeftRight
12139 - Added generation of KeyPress event
12141 2004-10-02 05:57 ravindra
12143 * ListViewItem.cs: Added attributes.
12145 2004-10-02 05:32 ravindra
12147 * ListView.cs: Added attributes.
12149 2004-10-01 11:53 jackson
12151 * Form.cs: Implement the Close method so work on MessageBox can
12154 2004-09-30 14:06 pbartok
12159 2004-09-30 11:34 jackson
12161 * RadioButton.cs: Fix typo. Patch by John BouAntoun.
12163 2004-09-30 07:26 ravindra
12165 * ListViewItemConverter.cs: Converter for ListViewItem.
12167 2004-09-30 07:26 ravindra
12169 * SortOrder.cs: Enum for ListView control.
12171 2004-09-30 07:25 ravindra
12173 * ColumnHeader.cs: Supporting class for ListView control.
12175 2004-09-30 07:24 ravindra
12177 * ListView.cs, ListViewItem.cs: Initial implementation.
12179 2004-09-30 07:20 ravindra
12181 * ItemActivation.cs: Enum for ListView Control.
12183 2004-09-29 20:29 pbartok
12186 - Added lookup of pixel value for background color; tries to get a
12187 color 'close' to the requested color, it avoids having to create a
12188 colormap. Depending on the display this could mean the used color
12189 is slightly off the desired color. Might have to change it to a more
12190 resource intensive colormap approach, but it will work as a
12191 workaround to avoid red screens.
12193 2004-09-29 14:27 jackson
12195 * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
12197 2004-09-28 12:44 pbartok
12199 * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
12200 HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
12201 ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
12202 Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
12203 TrackBar.cs, VScrollBar.cs:
12204 - Streamlined Theme interfaces:
12205 * Each DrawXXX method for a control now is passed the object for
12206 the control to be drawn in order to allow accessing any state the
12207 theme might require
12209 * ControlPaint methods for the theme now have a CP prefix to avoid
12210 name clashes with the Draw methods for controls
12212 * Every control now retrieves it's DefaultSize from the current
12215 2004-09-28 12:17 jackson
12217 * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
12220 2004-09-24 14:57 jackson
12222 * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
12223 Gives us a nice little performance boost.
12225 2004-09-24 12:02 jackson
12227 * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
12228 TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
12229 Control and supporting classes. Initial checkin
12231 2004-09-23 13:08 jackson
12233 * Form.cs: Temp build fixage
12235 2004-09-23 01:39 ravindra
12237 * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
12238 ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
12239 ItemDragEventArgs.cs, ItemDragEventHandler.cs,
12240 LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
12241 EventHandlers needed by ListView Control.
12243 2004-09-22 14:12 pbartok
12245 * ScrollableControl.cs:
12246 - Implemented DockPadding property
12247 - Implemented AutoScroll property
12248 - Implemented AutoScrollMargin property
12249 - Implemented AutoScrollMinSize property
12250 - Implemented AutoScrollPosition property
12251 - Implemented DisplayRectangle property (still incomplete)
12252 - Implemented CreateParams property
12253 - Implemented HScroll property
12254 - Implemented VScroll property
12255 - Implemented OnVisibleChanged property
12257 2004-09-22 14:09 pbartok
12260 - Added Form.ControllCollection class
12261 - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
12262 RemoveOwnedForm (still incomplete, missing on-top and common
12263 minimize/maximize behaviour)
12264 - Added StartPosition property (still incomplete, does not use when
12266 - Added ShowDialog() methods (still incomplete, missing forcing the
12269 2004-09-22 14:05 pbartok
12272 - Added message loop for modal dialogs
12274 2004-09-22 14:02 pbartok
12277 - Fixed wrong types for events
12279 2004-09-22 14:00 pbartok
12281 * Shortcut.cs, FormWindowState.cs:
12282 - Fixed wrong values
12284 2004-09-22 12:01 jackson
12286 * Control.cs: Text is never null
12288 2004-09-20 22:14 pbartok
12291 - Fixed accessibility level for Idle handler
12293 2004-09-20 18:54 jackson
12295 * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12296 XplatUIX11.cs: New message loop that uses poll so we don't get a
12299 2004-09-17 10:43 pbartok
12302 - Fixed behaviour of arrow buttons. Now properly behaves like
12303 Buttons (and like Microsoft's scrollbar arrow buttons)
12305 2004-09-17 10:14 pbartok
12308 - Added missing release of keyboard/mouse capture
12310 2004-09-17 06:18 jordi
12312 * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
12313 Theme.cs: Very early menu support
12315 2004-09-16 17:45 pbartok
12318 - Fixed sending a window to the front
12319 - Added overload for SetWindowPos to avoid casting
12321 2004-09-16 17:44 pbartok
12324 - Added SendToBack and BringToFront methods
12326 2004-09-16 07:00 ravindra
12328 * Copyright: Added Novell URL.
12330 2004-09-16 07:00 ravindra
12332 * ToolBar.cs: Invalidate should be done before redrawing.
12334 2004-09-15 21:19 ravindra
12336 * ColumnHeaderStyle.cs: Enum for ListView Control.
12338 2004-09-15 21:18 ravindra
12340 * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
12343 2004-09-13 18:26 jackson
12345 * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
12348 2004-09-13 18:13 jackson
12350 * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
12351 a second thread and post messages into the main threads message
12352 queue. This makes timing much more consistent. Both win2K and XP
12353 have a minimum timer value of 15 milliseconds, so we now do this
12356 2004-09-13 15:18 pbartok
12358 * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12360 - Added Z-Ordering methods
12362 2004-09-13 10:56 pbartok
12365 - Fixed #region names
12366 - Moved properties and methods into their proper #regions
12368 2004-09-13 10:51 pbartok
12371 - Added Accept and CancelButton properties
12372 - Added ProcessDialogKey() method
12374 2004-09-13 08:18 pbartok
12376 * IWindowTarget.cs:
12379 2004-09-10 21:50 pbartok
12382 - Added DoDragDrop() [incomplete]
12383 - Properly implemented 'Visible' handling
12384 - Added SetVisibleCore()
12385 - Implemented FindChildAtPoint()
12386 - Implemented GetContainerControl()
12387 - Implemented Hide()
12389 2004-09-10 19:28 pbartok
12392 - Moved methods into their appropriate #regions
12393 - Reordered methods within regions alphabetically
12395 2004-09-10 18:57 pbartok
12397 * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12398 - Added method to retrieve text from window
12400 2004-09-10 18:56 pbartok
12403 - Moved some internal functions into the internal region
12404 - Implemented FontHeight
12405 - Implemented RenderRightToLeft
12406 - Implemented ResizeRedraw
12407 - Implemented ShowFocusCues
12408 - Implemented ShowKeyboardCues
12409 - Implemented FromChildHandle
12410 - Implemented FromHandle
12411 - Implemented IsMnemonic
12412 - Implemented ReflectMessage
12413 - All public and protected Static Methods are now complete
12415 2004-09-10 16:54 pbartok
12418 - Implemented remaining missing public instance properties
12419 - Alphabetized some out of order properties
12421 2004-09-10 05:51 ravindra
12423 * PictureBox.cs: Added a check for null image.
12425 2004-09-10 00:59 jordi
12427 * GroupBox.cs: remove cvs tag
12429 2004-09-09 05:25 ravindra
12431 * ToolBar.cs: Make redraw accessible from ToolBarButton.
12433 2004-09-09 05:23 ravindra
12435 * ToolBarButton.cs: Changes in ToolBarButton need to make it's
12438 2004-09-09 02:28 pbartok
12440 * ThemeWin32Classic.cs:
12441 - Improve disabled string look
12443 2004-09-09 01:15 jordi
12445 * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
12448 2004-09-08 23:56 ravindra
12450 * ItemBoundsPortion.cs: It's enum, not a class!
12452 2004-09-08 23:47 ravindra
12454 * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
12457 2004-09-08 21:13 ravindra
12459 * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
12462 2004-09-08 21:03 ravindra
12464 * ThemeWin32Classic.cs: PictureBox would not draw a null image to
12467 2004-09-08 21:01 ravindra
12469 * ScrollableControl.cs: Removed unreachable code.
12471 2004-09-08 06:45 jordi
12473 * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
12475 2004-09-08 01:00 jackson
12477 * XplatUIX11.cs: Only run the timers when updating the message
12478 queue. This effectively gives X messages a higher priority then
12479 timer messages. Timers still need love though
12481 2004-09-07 14:01 jackson
12483 * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
12484 this for us and the handle is no longer valid.
12486 2004-09-07 13:59 jackson
12488 * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
12489 loop that manages to not crash. TODO: Add poll and cleanup timers
12491 2004-09-07 11:12 jordi
12493 * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
12495 2004-09-07 03:40 jordi
12497 * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
12498 fixes, methods, multiple links
12500 2004-09-06 06:55 jordi
12502 * Control.cs: Caches ClientRectangle rectangle value
12504 2004-09-05 02:03 jordi
12506 * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
12509 2004-09-04 11:10 jordi
12511 * Label.cs: Refresh when font changed
12513 2004-09-02 16:24 pbartok
12516 - Added sanity check to creation of double buffer bitmap
12518 2004-09-02 16:24 pbartok
12521 - Fixed selection of text color
12522 - Fixed handling of resize event; now properly recreates double
12524 - Added missing assignment of TextAlignment
12525 - Added proper default for TextAlignment
12527 2004-09-02 14:26 pbartok
12530 - Added missing RadioButton.RadioButtonAccessibleObject class
12532 2004-09-02 14:26 pbartok
12535 - Added missing Control.ControlAccessibleObject class
12536 - Started to implement Select()ion mechanisms, still very incomplete
12538 2004-09-02 14:25 pbartok
12540 * AccessibleObject.cs:
12541 - Added missing methods
12543 2004-09-02 14:23 pbartok
12545 * AccessibleNavigation.cs, AccessibleSelection.cs:
12548 2004-09-02 10:32 jordi
12550 * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
12551 pool for pens, brushes, and hatchbruses
12553 2004-09-01 15:30 jackson
12555 * StatusBar.cs: Fix typo
12557 2004-09-01 14:44 pbartok
12562 2004-09-01 14:39 pbartok
12564 * Button.cs, RadioButton.cs:
12565 - Functional initial check-in
12567 2004-09-01 14:01 pbartok
12570 - Added missing default
12571 - Added missing region mark
12573 2004-09-01 09:10 jordi
12575 * Label.cs: fixes method signatures, new methods, events, fixes
12578 2004-09-01 07:19 jordi
12580 * Control.cs: Init string variables with an empty object
12582 2004-09-01 04:20 jordi
12584 * Control.cs: fires OnFontChanged event
12586 2004-08-31 20:07 pbartok
12589 - Enabled display of strings
12591 2004-08-31 20:05 pbartok
12594 - Added (partial) implementation of DialogResult; rest needs to be
12595 implemented when the modal loop code is done
12597 2004-08-31 19:55 pbartok
12600 - Fixed to match the removal of the needs_redraw concept
12602 2004-08-31 19:55 pbartok
12605 - Removed the rather odd split between 'needs redraw' and redrawing
12606 - Now handles the events that require regeneration (ambient
12607 properties and size)
12609 2004-08-31 19:41 pbartok
12612 - Added firing of BackColorChanged event
12613 - Added TopLevelControl property
12614 - Fixed handling of WM_ERASEBKGRND message
12616 2004-08-31 12:49 pbartok
12622 2004-08-31 12:48 pbartok
12625 - Finished (famous last words)
12627 2004-08-31 04:35 jordi
12629 * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
12630 scrolling bugs, adds new methods
12632 2004-08-30 14:42 pbartok
12635 - Implemented CheckBox drawing code
12637 2004-08-30 14:42 pbartok
12640 - Made Redraw() and CheckRedraw() virtual
12641 - Improved mouse up/down/move logic to properly track buttons
12643 2004-08-30 09:44 pbartok
12646 - Updated to fix broken build. Not complete yet.
12648 2004-08-30 09:28 pbartok
12653 2004-08-30 09:17 pbartok
12658 2004-08-27 16:12 ravindra
12660 * ToolBarButton.cs: Added TypeConverter attribute.
12662 2004-08-27 16:07 ravindra
12664 * ImageIndexConverter.cs: Implemented.
12666 2004-08-27 14:17 pbartok
12669 - Removed unneeded stack vars
12670 - First attempt to fix sizing issues when layout is suspended
12672 2004-08-25 15:35 jordi
12674 * ScrollBar.cs: more fixes to scrollbar
12676 2004-08-25 14:04 ravindra
12678 * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
12679 Added the missing divider code and grip for ToolBar Control.
12681 2004-08-25 13:20 pbartok
12684 - Control now properly passes the ambient background color to child
12687 2004-08-25 13:20 jordi
12689 * ScrollBar.cs: small bug fix regarding bar position
12691 2004-08-25 12:33 pbartok
12694 - Now only calls SetTimer or KillTimer if the enabled state has
12697 2004-08-25 12:33 pbartok
12700 - Fixed timer handling, now seems to work
12701 - Improved error message for window creation
12703 2004-08-25 12:32 pbartok
12706 - Fixed generation of MouseUp message
12708 2004-08-25 12:29 jordi
12710 * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
12711 and fixes for progressbar
12713 2004-08-24 18:43 ravindra
12715 * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
12716 in ToolBar control.
12718 2004-08-24 17:15 pbartok
12722 - Added missing events
12725 2004-08-24 17:14 pbartok
12727 * StatusBar.cs, PictureBox.cs:
12728 - Now uses Control's CreateParams
12730 2004-08-24 16:36 pbartok
12733 - Fixed background color handling
12734 - Fixed sending of enter/leave events on a grab
12736 2004-08-24 16:35 pbartok
12739 - Refined definitions for CrossingEvent
12741 2004-08-24 12:37 jordi
12743 * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
12744 formmating, methods signature, and adds missing events
12746 2004-08-24 12:24 jordi
12748 * Control.cs: fire OnEnabledChanged event
12750 2004-08-24 11:17 pbartok
12753 - Implemented SetTimer() and KillTimer()
12755 2004-08-24 11:16 pbartok
12758 - Now uses Remove instead of Add to kill the timer
12760 2004-08-24 10:16 jackson
12762 * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
12763 picture boxes in the theme now. Draw picture box borders and obey
12766 2004-08-24 05:49 jackson
12768 * Timer.cs: Remove top secret debugging code
12770 2004-08-24 05:34 jackson
12772 * PictureBox.cs: Temp hack to make picture boxes draw their full
12775 2004-08-24 05:29 jackson
12777 * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
12778 XplatUIX11.cs: Move timers to the driver level. On X they are
12779 queued by the driver and checked on idle.
12781 2004-08-24 01:07 jackson
12783 * XplatUIX11.cs: Use a queue for async messages instead of passing
12784 them as ClientMessages since that was totally broken. Also simply
12785 check for events and return an idle message if none are found. This
12786 gives us an idle handler, and prevents deadlocking when no messages
12789 2004-08-23 18:19 ravindra
12791 * XplatUIWin32.cs: Removed the unwanted destructor.
12793 2004-08-23 17:27 pbartok
12796 - Finishing touches. Works now, just needs some optimizations.
12798 2004-08-23 16:53 jordi
12800 * ScrollBar.cs: small fix
12802 2004-08-23 16:45 pbartok
12805 - Removed debug output
12808 2004-08-23 16:43 jordi
12810 * ScrollBar.cs: [no log message]
12812 2004-08-23 16:10 pbartok
12815 - Fixed handling of WM_CLOSE message
12816 - Removed debug output
12818 2004-08-23 16:09 pbartok
12821 - Added handling of Idle event
12822 - Added handling of form closing
12823 - Fixed reporting of MessageLoop property
12824 - Removed some unneeded code, should provide a bit of a speedup
12826 2004-08-23 15:22 pbartok
12829 - Added InitLayout() method
12830 - Added code to properly perform layout when Anchor or Dock property
12832 - Changed 'interpretation' of ResumeLayout. MS seems to have a
12833 LAMESPEC, tried to do it in a way that makes sense
12835 2004-08-23 14:10 jordi
12837 * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
12838 properties and methods
12840 2004-08-23 13:55 pbartok
12843 - Properly fixed Jordi's last fix
12844 - Now uses Cursor's Position property instead of calling XplatUI
12847 2004-08-23 13:44 jordi
12849 * PaintEventHandler.cs: Adding missing attribute
12851 2004-08-23 13:39 pbartok
12854 - Implemented Position property
12856 2004-08-23 13:39 pbartok
12858 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
12859 - Added method to move mouse cursor
12861 2004-08-23 13:39 pbartok
12864 - Fixed setting of background color
12865 - Added method to move mouse cursor
12867 2004-08-23 13:16 jordi
12869 * Control.cs: avoids null exception
12871 2004-08-22 17:46 jackson
12873 * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
12876 2004-08-22 17:40 jackson
12878 * XplatUIX11.cs: Add some missing locks
12880 2004-08-22 15:10 pbartok
12882 * Control.cs, Form.cs:
12883 - Removed OverlappedWindow style from Control, instead it's default
12885 - Made form windows OverlappedWindow by default
12887 2004-08-22 13:34 jackson
12889 * ScrollBar.cs: Update the position through the Value property so
12890 the OnValueChanged event is raised.
12892 2004-08-22 12:04 pbartok
12895 - Added Cursor.cs and UserControl.cs
12897 2004-08-22 12:03 pbartok
12900 - Started implementation, not usable yet
12902 2004-08-22 12:00 pbartok
12905 - Implemented UserControl (complete)
12907 2004-08-21 19:20 ravindra
12909 * ToolBar.cs: Correcting the formatting mess of VS.NET.
12911 2004-08-21 18:49 ravindra
12913 * ToolBar.cs: Probably this completes the missing attributes in
12916 2004-08-21 18:03 ravindra
12918 * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
12919 Fixed toolbar control signatures.
12921 2004-08-21 16:32 pbartok
12926 2004-08-21 16:30 pbartok
12931 2004-08-21 16:19 pbartok
12933 * Control.cs, Label.cs:
12936 2004-08-21 15:57 pbartok
12939 - Added loads of debug output for development
12940 - Fixed typo in method name
12942 2004-08-21 15:52 pbartok
12944 * ToolBarButtonClickEventArgs.cs:
12945 - Added missing base class
12947 2004-08-21 14:53 pbartok
12950 - Updated to match new GrabWindow signature
12952 2004-08-21 14:51 pbartok
12954 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12955 - Added method to get default display size
12957 2004-08-21 14:23 pbartok
12959 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
12960 - Added method to query current grab state
12961 - Added argument to allow confining a grab to a window
12963 2004-08-21 14:22 pbartok
12966 - Added [Flags] attribute so that modifiers can be used in bitwise
12969 2004-08-21 14:21 pbartok
12971 * TrackBar.cs, ScrollBar.cs:
12972 - Replaced direct XplatUI calls with their Control counterpart
12974 2004-08-21 13:32 pbartok
12977 - Implemented Created property
12979 2004-08-21 13:28 pbartok
12982 - Implemented ContainsFocus
12984 2004-08-21 13:26 pbartok
12987 - Implemented CausesValidation
12989 2004-08-21 13:21 pbartok
12992 - Implemented CanFocus
12993 - Implemented CanSelect
12994 - Implemented Capture
12996 2004-08-21 12:35 pbartok
12999 - Fixed bug with Async message handling
13000 - Implemented getting the ModifierKeys
13002 2004-08-21 12:32 jackson
13004 * AsyncMethodResult.cs: Make sure we have the mutex before we
13005 release it. Fixes BeginInvoke on windows
13007 2004-08-21 11:31 pbartok
13009 * XplatUIWin32.cs, XplatUIX11.cs:
13010 - Drivers now return proper mouse state
13012 2004-08-21 10:54 jackson
13014 * Control.cs: Implement EndInvoke
13016 2004-08-21 10:48 jackson
13018 * Timer.cs: Remove unneeded finalizer
13020 2004-08-20 19:52 ravindra
13022 * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
13023 in mouse event handling in the ToolBar control.
13025 2004-08-20 19:50 ravindra
13027 * ImageList.cs: Changed draw method to use the arguments passed in
13030 2004-08-20 18:58 pbartok
13032 * XplatUIStructs.cs:
13033 - Added private message for async communication
13035 2004-08-20 17:38 ravindra
13037 * Control.cs: Made RightToLeft property virtual and removed a
13040 2004-08-20 14:39 jordi
13042 * ThemeGtk.cs: use style_attach
13044 2004-08-20 14:39 pbartok
13047 - Added jackson's Async code from X11 to Win32
13049 2004-08-20 14:09 pbartok
13052 - Added all new files
13054 2004-08-20 14:09 pbartok
13057 - Added call to set window background color
13059 2004-08-20 14:03 pbartok
13061 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13062 - Added method for setting the window background
13064 2004-08-20 14:02 pbartok
13067 - Added method for setting the background color
13068 - Added handling for erasing the window background
13070 2004-08-20 13:45 jordi
13072 * TrackBar.cs: fixes timer, new properties and methods
13074 2004-08-20 13:34 jackson
13076 * ScrollBar.cs: Use the SWF timer so callbacks are run in the
13079 2004-08-20 13:22 jackson
13081 * Timer.cs: Timer Tick events are now handed through Controls Async
13082 mechanism so the callbacks are executed in the same thread as X
13084 2004-08-20 13:19 jackson
13086 * XplatUIDriver.cs: Expose functionality to send async messages
13089 2004-08-20 13:18 jackson
13091 * Control.cs: Implement Begininvoke
13093 2004-08-20 13:14 jackson
13095 * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
13096 messages through the driver
13098 2004-08-20 13:12 jackson
13100 * XplatUIX11.cs: Lock before all X operations. Also added Async
13101 method functionality through XSendEvent
13103 2004-08-20 13:11 jackson
13105 * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
13106 This will screw up on 64 bit systems)
13108 2004-08-20 13:10 jackson
13110 * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
13111 Async messages through X/Win32
13113 2004-08-19 19:39 pbartok
13116 - Updated code to match new HandleData.DeviceContext type
13118 2004-08-19 19:38 pbartok
13121 - Made DeviceContext a generic object to allow usage from various
13123 - Added support for queueing Windows messages
13125 2004-08-19 19:37 pbartok
13128 - Added generation of MouseEnter, MouseLeave and MouseHover events
13129 - Added cleanup on EndPaint
13131 2004-08-19 19:17 pbartok
13134 - Added handling of WM_MOUSEHOVER
13135 - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
13138 2004-08-19 18:55 jordi
13140 * ThemeGtk.cs: fixes button order
13142 2004-08-19 18:12 jordi
13144 * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
13146 2004-08-19 17:09 pbartok
13149 - Added Right property
13150 - Added RightToLeft property
13152 2004-08-19 16:27 jordi
13154 * ThemeGtk.cs: experimental GTK theme support
13156 2004-08-19 16:26 jordi
13158 * ITheme.cs, Theme.cs: move themes from an interface to a class
13160 2004-08-19 16:25 jordi
13162 * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
13165 2004-08-19 16:04 pbartok
13168 - Added colormap basics
13169 - Added a way to re-initialize with a different display handle
13170 - Fixed setting of the window background color
13171 - Added various X11 imports related to colors and colormaps
13173 2004-08-19 15:51 pbartok
13176 - Removed packing hints (Paolo suggested this a while back)
13177 - fixed colormap type
13178 - Added default Atom types
13179 - Added Screen and color structs and enums
13181 2004-08-19 15:39 pbartok
13184 - Added missing Draw() method
13185 - Added missing RecreateHandle event
13187 2004-08-19 15:30 pbartok
13190 - Added handling of WM_CLOSE
13192 2004-08-18 13:16 jordi
13194 * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
13197 2004-08-18 09:56 jordi
13199 * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
13201 2004-08-17 15:31 ravindra
13203 * SWF.csproj: Updated project.
13205 2004-08-17 15:25 pbartok
13208 - Drawing improvement; don't call UpdateBounds if we are not visible
13209 (or have been minimized)
13211 2004-08-17 15:24 pbartok
13214 - Finished IsVisible
13215 - Added Win32GetWindowPlacement
13217 2004-08-17 15:08 jackson
13219 * Panel.cs: Initial checkin of the Panel
13221 2004-08-17 14:25 pbartok
13224 - Fixed broken handling of default window sizes
13226 2004-08-17 13:29 jackson
13228 * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
13229 has a large startup time.
13231 2004-08-17 10:25 jackson
13233 * HandleData.cs: union areas properly
13235 2004-08-17 10:12 jackson
13237 * HandleData.cs: union areas properly
13239 2004-08-16 20:00 ravindra
13241 * ToolBar.cs, ToolBarButton.cs: Added attributes.
13243 2004-08-16 18:48 ravindra
13245 * ToolBar.cs: Added attributes.
13247 2004-08-16 17:17 ravindra
13249 * SWF.csproj: Updated project.
13251 2004-08-16 17:16 jackson
13253 * XplatUIX11.cs: Check for more expose events before sending a
13254 WM_PAINT so they can all be grouped together. This makes dragging a
13255 window across another window redraw in a sane way.
13257 2004-08-16 15:47 pbartok
13260 - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
13261 support OnMouseEnter/Leave()
13262 - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
13265 2004-08-16 15:46 pbartok
13267 * XplatUIStructs.cs, XplatUIX11.cs:
13268 - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
13269 OnMouseEnter/Leave()
13271 2004-08-16 15:34 jackson
13273 * XplatUIX11.cs: Group multiple expose events in HandleData, make
13274 sure messages get the message field set to WM_NULL if they are not
13277 2004-08-16 15:24 jackson
13279 * HandleData.cs: HandleData is used for storing message information
13282 2004-08-15 17:23 ravindra
13284 * ColorDepth.cs: Added attribute.
13286 2004-08-15 17:23 ravindra
13288 * SWF.csproj: Updated project for ToolBar Control.
13290 2004-08-15 17:20 ravindra
13292 * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
13293 control and also dos2unix format.
13295 2004-08-15 17:13 ravindra
13297 * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
13298 ToolBarButtonClickEventArgs.cs,
13299 ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
13300 ToolBarTextAlign.cs: First Implementation of ToolBar control.
13302 2004-08-15 15:31 pbartok
13305 - First (mostly) working version
13307 2004-08-13 16:15 pbartok
13310 - Fixed Anchor default
13312 2004-08-13 15:43 pbartok
13315 - Changed GetCursorPos signature
13317 2004-08-13 15:42 pbartok
13319 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
13320 - Changed signature for GetCursorPos
13322 2004-08-13 15:25 pbartok
13326 - Fixed resizing/exposure handling
13328 2004-08-13 15:22 jordi
13330 * ThemeWin32Classic.cs: removes redundant code and fixes issues
13333 2004-08-13 14:55 jordi
13335 * TrackBar.cs: change from wndproc to events
13337 2004-08-13 13:00 jordi
13339 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13340 XplatUIX11.cs: implements PointToClient (ScreenToClient)
13342 2004-08-13 12:53 pbartok
13345 - Changed GetWindowPos to also provide client area size
13346 - Fixed broken prototypes for several win32 functions
13348 2004-08-13 12:53 pbartok
13350 * XplatUI.cs, XplatUIDriver.cs:
13351 - Changed GetWindowPos to also provide client area size
13353 2004-08-13 12:52 pbartok
13356 - Added generation of WM_POSCHANGED
13357 - Changed GetWindowPos to also provide client area size
13359 2004-08-13 12:52 pbartok
13362 - Added Dispose() and destructor
13363 - Fixed resizing and bounds calculation
13365 - Added memory savings for invisible windows
13367 2004-08-13 12:46 jordi
13369 * TrackBar.cs: adds timer and grap window
13371 2004-08-13 10:25 jackson
13373 * Timer.cs: SWF Timer
13375 2004-08-12 16:59 pbartok
13377 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13378 - Implemented method to get current mouse position
13380 2004-08-12 14:29 jordi
13382 * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
13383 enhancement, fix mouse problems, highli thumb, etc
13385 2004-08-12 13:31 pbartok
13388 - Fixed Anchoring bugs
13390 2004-08-12 13:01 jackson
13392 * StatusBar.cs: Don't forget things
13394 2004-08-12 12:54 jackson
13396 * ThemeWin32Classic.cs: Handle owner draw status bars
13398 2004-08-12 12:54 jackson
13400 * StatusBar.cs: Implement missing properties, events, and methods.
13401 Handle mouse clicking
13403 2004-08-12 10:19 jackson
13405 * StatusBarPanelClickEventArgs.cs,
13406 StatusBarPanelClickEventHandler.cs: Classes for handling status
13407 bar panel click events
13409 2004-08-12 10:10 jackson
13411 * Control.cs: Add missing properties
13413 2004-08-12 09:46 pbartok
13415 * BindingsManagerBase.cs:
13416 - Name changed to BindingManagerBase.cs
13418 2004-08-12 09:25 jordi
13420 * ScrollableControl.cs: calls ctrlbase instead of exeception
13422 2004-08-11 16:28 pbartok
13424 * InputLanguageChangingEventArgs.cs:
13425 - Never check in before compiling. Fixes the last check-in
13427 2004-08-11 16:26 pbartok
13429 * InputLanguageChangingEventArgs.cs:
13430 - More signature fixes
13432 2004-08-11 16:20 pbartok
13434 * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
13435 Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
13436 ImageListStreamer.cs, InputLanguage.cs,
13437 InputLanguageChangedEventArgs.cs,
13438 InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
13439 LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
13440 ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
13441 XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13444 2004-08-11 16:16 pbartok
13448 - Added .Net 1.1 method
13450 2004-08-11 15:25 pbartok
13453 - Fixed BindingManagerBase.cs filename
13455 2004-08-11 15:22 pbartok
13457 * BindingManagerBase.cs:
13458 - Was checked in with wrong filename
13460 2004-08-11 14:50 pbartok
13465 2004-08-11 13:41 jordi
13467 * XplatUIWin32.cs: Fixes ClientRect
13469 2004-08-11 13:19 pbartok
13471 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13473 - We had SetWindowPos and MoveWindow to set window positions and
13474 size, removed MoveWindow. We have GetWindowPos, so it made sense to
13475 keep SetWindowPos as matching counterpart
13476 - Added some X11 sanity checking
13478 2004-08-11 12:59 pbartok
13481 - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
13482 (It seems that SetBounds is just a front for SetBoundsCore and
13483 SetBoundsCore updates the underlying window system and
13484 UpdateBounds is responsible for updating the variables associated
13485 with the Control and sending the events)
13486 - Major cleanup of Size handling; we now have two sizes, client_size
13487 and bounds. Bounds defines the window with decorations, client_size
13490 2004-08-11 12:55 pbartok
13492 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13493 - Added method to calculate difference between decorated window and
13496 2004-08-11 12:54 pbartok
13499 - Forcing redraw on resize
13501 2004-08-11 11:43 pbartok
13504 - Removed disposing of the actual images when the list is disposed
13506 2004-08-11 09:13 pbartok
13509 - Now properly reparents windows
13511 2004-08-11 08:37 pbartok
13516 2004-08-11 07:47 pbartok
13519 - Rewrote the collection stuff. Might not be as fast now, not
13520 keeping the number of children around and accessible directly, but
13521 it's more straightforward
13523 2004-08-11 07:44 pbartok
13525 * AccessibleObject.cs:
13526 - Fixed to match ControlCollection rewrite
13528 2004-08-11 07:43 pbartok
13531 - Added missing creation of the collection list
13533 2004-08-10 20:08 jackson
13535 * StatusBar.cs: Get the paint message from WndProc
13537 2004-08-10 19:31 jackson
13539 * ThemeWin32Classic.cs: Create Brushes as little as possible
13541 2004-08-10 19:20 jackson
13543 * UICues.cs: Add Flags attribute
13545 2004-08-10 19:19 jackson
13547 * StatusBarPanel.cs: Signature cleanup
13549 2004-08-10 19:10 jackson
13551 * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
13552 Initial implementation of status bar item drawing
13554 2004-08-10 17:27 jordi
13556 * TrackBar.cs: add missing methods, properties, and restructure to
13559 2004-08-10 16:24 jackson
13561 * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
13562 ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
13565 2004-08-10 13:21 jordi
13567 * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
13568 enhancements and standarize on win colors defaults
13570 2004-08-10 12:52 jackson
13572 * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
13573 ThemeWin32Classic.cs: Implement DrawItem functionality
13575 2004-08-10 12:47 jordi
13577 * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
13579 2004-08-10 12:32 jordi
13581 * Control.cs: throw ontextchange event
13583 2004-08-10 11:43 pbartok
13586 - Added more to the still unfinished Dock/Anchor layout code
13588 2004-08-10 11:39 pbartok
13590 * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
13591 - Added GetWindowPos method
13593 2004-08-10 11:36 pbartok
13596 - Implemented several methods
13598 2004-08-10 09:47 jackson
13600 * TrackBar.cs: Allow control to handle buffering
13602 2004-08-10 09:41 jackson
13604 * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
13606 2004-08-10 09:24 jackson
13608 * Label.cs, LinkLabel.cs: Let Control handle buffering.
13610 2004-08-10 09:09 jackson
13612 * StatusBar.cs: Let Control handle all the buffering.
13614 2004-08-10 09:08 jackson
13616 * Control.cs: Control will now handle the buffering code, so each
13617 control does not have to implement this.
13619 2004-08-10 08:34 jackson
13621 * XplatUIDriver.cs: Use default colors from the theme
13623 2004-08-09 17:12 pbartok
13626 - Fixed several bugs Ravindra pointed out
13628 2004-08-09 16:11 pbartok
13631 - Added incomplete dock layout code
13632 - Added support for mouse wheel
13634 2004-08-09 16:09 pbartok
13637 - Added handling for middle and right mousebutton
13638 - Added handling for mouse wheel
13639 - Added handling for key state and mouse state and position
13640 - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
13643 2004-08-09 15:40 jackson
13645 * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
13646 StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
13649 2004-08-09 15:37 jackson
13651 * StatusBar.cs: Initial implementation of StatusBar
13653 2004-08-09 15:36 jackson
13655 * ITheme.cs: Add support for drawing status bar and getting status
13658 2004-08-09 15:35 pbartok
13663 2004-08-09 15:34 jackson
13665 * ThemeWin32Classic.cs: Add support for drawing status bar and get
13666 status bar item sizes
13668 2004-08-09 15:21 jackson
13670 * ThemeWin32Classic.cs: Use known colors for default control
13673 2004-08-09 15:12 jackson
13675 * ThemeWin32Classic.cs: Make the default font static, it is static
13676 in control so this doesn't change functionality and creating fonts
13679 2004-08-09 14:56 pbartok
13682 - Added GrabMode enum
13684 2004-08-09 14:55 pbartok
13686 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13687 - Removed Run method, was only required for initial development
13689 2004-08-09 14:51 pbartok
13691 * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
13692 - Implemented GrabWindow/ReleaseWindow methods to allow pointer
13695 2004-08-09 13:48 pbartok
13698 - Fixed default sizing for child windows
13700 2004-08-09 12:56 pbartok
13703 - Added generation of WM_DESTROY message
13704 - Added handling of window manager induced shutdown
13706 2004-08-09 11:31 jackson
13708 * ThemeWin32Classic.cs: New names for control properties
13710 2004-08-09 11:25 jackson
13712 * Control.cs: Use new color names
13714 2004-08-09 11:02 jackson
13716 * XplatUI.cs: Get default window properties from the theme
13718 2004-08-09 11:01 jackson
13720 * ITheme.cs: The theme engine now controls default window
13723 2004-08-09 11:00 jackson
13725 * ThemeWin32Classic.cs: Add default window color properties
13727 2004-08-09 10:17 jackson
13729 * ThemeWin32Classic.cs: Use correct default back color
13731 2004-08-09 10:05 jackson
13733 * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
13736 2004-08-09 09:56 jackson
13738 * XplatUI.cs: Remove defaults, these are handled by the theme now.
13740 2004-08-09 09:54 jackson
13742 * Control.cs: Get default properties from the theme.
13744 2004-08-09 09:53 jackson
13746 * ITheme.cs: Themes now handle default control properties
13748 2004-08-09 09:53 jackson
13750 * ThemeWin32Classic.cs: Themes now handle default control
13751 properties so coloring will be consistent
13753 2004-08-08 16:54 jordi
13755 * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
13757 2004-08-08 15:08 jordi
13759 * XplatUIX11.cs: fixes keyboard crash
13761 2004-08-08 13:47 jordi
13763 * Label.cs: add cvs header info
13765 2004-08-08 12:09 jackson
13767 * ThemeWin32Classic.cs: Add pen_buttonface
13769 2004-08-08 11:52 jordi
13771 * Label.cs, LinkLabel.cs: [no log message]
13773 2004-08-08 11:34 jordi
13775 * ThemeWin32Classic.cs: Use Windows Standard Colours
13777 2004-08-07 17:32 jordi
13779 * TrackBar.cs: throw exceptions of invalid enums values
13781 2004-08-07 17:31 jordi
13783 * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
13786 2004-08-07 16:56 jackson
13788 * HorizontalAlignment.cs: Initial checkin
13790 2004-08-07 13:16 jordi
13792 * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
13795 2004-08-07 13:05 jordi
13797 * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
13798 GetSysColor defines
13800 2004-08-06 18:01 pbartok
13802 * ThemeWin32Classic.cs:
13803 - Fixed some rounding issues with float/int
13805 2004-08-06 18:00 jackson
13807 * DockStyle.cs, AnchorStyles.cs:
13809 Add flags and serializable attributes.
13811 2004-08-06 17:46 pbartok
13814 - Implemented GetParent
13816 2004-08-06 17:18 pbartok
13819 - Fixed some rounding issues with float/int
13821 2004-08-06 17:17 pbartok
13823 * X11Structs.cs, XplatUIX11.cs:
13824 - Fixed Refresh and Invalidate
13826 2004-08-06 15:30 pbartok
13828 * Control.cs, X11Structs.cs, XplatUIX11.cs:
13829 - Fixed recursive loop when resizing
13830 - Improved/fixed redrawing on expose messages
13832 2004-08-06 09:53 jordi
13834 * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
13835 keyboard navigation
13837 2004-08-06 08:02 pbartok
13839 * X11Structs.cs, XplatUIX11.cs:
13840 - Fixed reparenting
13841 - Fixed window border creation
13843 2004-08-05 15:38 pbartok
13846 - Attempted fix for reparenting problems
13848 2004-08-04 15:14 pbartok
13851 - Fixed Invalidation bug (calculated wrong client area)
13852 - Added ClientSize setter
13854 2004-08-04 15:13 pbartok
13857 - Added AutoScale properties
13859 2004-08-04 15:13 pbartok
13862 - Added latest files
13864 2004-08-04 14:11 pbartok
13866 * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
13868 - Added Invalidate handling
13870 2004-08-03 17:09 jordi
13872 * XplatUIDriver.cs: fixes spelling mistake
13874 2004-07-27 09:53 jordi
13876 * TrackBar.cs: fixes trackbar events, def classname, methods
13879 2004-07-27 09:29 jordi
13881 * ScrollBar.cs: fixes scrollbar events
13883 2004-07-27 04:38 jordi
13885 * Control.cs: changes to be able to run winforms samples
13887 2004-07-26 11:42 jordi
13889 * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
13890 ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
13892 2004-07-26 05:41 jordi
13894 * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
13895 MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
13898 2004-07-22 09:22 jordi
13900 * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
13901 check link overlapping, implement events, and fixes
13903 2004-07-21 10:28 jordi
13905 * DialogResult.cs, IButtonControl.cs: fixes comments filenames
13907 2004-07-21 10:19 jordi
13909 * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
13910 LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
13911 LinkLabelLinkClickedEventArgs.cs,
13912 LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
13913 XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
13916 2004-07-19 13:09 jordi
13918 * Control.cs, Label.cs: label control re-written: added missing
13919 functionlity, events, and properties
13921 2004-07-19 10:49 jordi
13923 * Control.cs: fixes SetBounds logic
13925 2004-07-19 01:29 jordi
13927 * Control.cs: Call RefreshWindow only if the window has created
13929 2004-07-15 14:05 pbartok
13931 * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
13932 - Implemented ImageList and ImageList.ImageCollection classes
13933 - Added ColorDepth enumeration
13934 - Updated SWF VS.Net project
13936 2004-07-15 11:06 jordi
13938 * XplatUIStructs.cs: added MsgButons enum
13940 2004-07-15 11:03 jordi
13942 * Control.cs: added basic mouse handeling events
13944 2004-07-15 03:38 jordi
13946 * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
13947 Vertical TrackBar control implementation
13949 2004-07-13 09:33 jordi
13951 * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
13953 2004-07-13 09:31 jordi
13955 * Control.cs, Form.cs: commit: new properties and fixes form size
13958 2004-07-09 14:13 miguel
13960 * ProgressBar.cs: Spelling
13962 2004-07-09 11:25 pbartok
13965 - Removed usage of Rectangle for drawing. Miguel pointed out it's
13968 2004-07-09 11:17 miguel
13970 * ProgressBar.cs: 2004-07-09 Miguel de Icaza <miguel@ximian.com>
13972 * ProgressBar.cs: Fixed spelling for `block'
13974 drawProgressBar: renamed to `DrawProgressBar' to follow the coding
13977 Avoid using the += on rect.X, that exposed a bug in the compiler.
13979 2004-07-08 23:21 pbartok
13981 * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
13982 AnchorStyles.cs, Application.cs, ApplicationContext.cs,
13983 BaseCollection.cs, Binding.cs, BindingContext.cs,
13984 BindingMemberInfo.cs, BindingsCollection.cs,
13985 BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
13986 BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
13987 ButtonState.cs, CaptionButton.cs, CheckBox.cs,
13988 ContainerControl.cs, Control.cs, ControlEventArgs.cs,
13989 ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
13990 ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
13991 CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
13992 DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
13993 FrameStyle.cs, GiveFeedbackEventArgs.cs,
13994 GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
13995 HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
13996 IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
13997 InputLanguageChangedEventArgs.cs,
13998 InputLanguageChangedEventHandler.cs,
13999 InputLanguageChangingEventArgs.cs,
14000 InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
14001 InvalidateEventArgs.cs, InvalidateEventHandler.cs,
14002 KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
14003 KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
14004 LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
14005 MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
14006 PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
14007 QueryAccessibilityHelpEventArgs.cs,
14008 QueryAccessibilityHelpEventHandler.cs,
14009 QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
14010 RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
14011 ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
14012 ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
14013 TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
14014 UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
14015 XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
14016 XplatUIX11.cs, lang.cs: