Martin Baulig [Wed, 17 May 2006 10:51:31 +0000 (10:51 -0000)]
2006-05-17 Martin Baulig <martin@ximian.com>
Fix a weird race condition which prevented XSP from working inside
the debugger - see doc/debugger-issues.txt for details.
* include/gc.h: Moved the "libgc-mono-debugger.h" #include down
after the gc_pthread_redirects.h one.
* include/libgc-mono-debugger.h
(GCThreadFunctions): Added `thread_created' and `thread_exited'.
(GC_mono_debugger_add_all_threads): New function prototype.
* pthread_stop_world.c (gc_thread_vtable): Allow the vtable and
any function in it be NULL; use NULL as the default vtable.
(GC_mono_debugger_add_all_threads): New public function.
* pthread_support.c (GC_new_thread): Use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `GC_thread' structure.
(GC_delete_thread): Call `gc_thread_vtable->thread_exited()'.
(GC_thr_init): Call `gc_thread_vtable->thread_created()'.
(GC_start_routine_head): Likewise; use calloc() instead of
GC_INTERNAL_MALLOC() to allocate the `start_info'.
svn path=/trunk/mono/; revision=60766
Yoni Klain [Wed, 17 May 2006 10:50:03 +0000 (10:50 -0000)]
svn path=/trunk/mcs/; revision=60765
Jackson Harper [Wed, 17 May 2006 00:55:36 +0000 (00:55 -0000)]
Fix test to work on windows.
svn path=/trunk/mcs/; revision=60764
Peter Dennis Bartok [Tue, 16 May 2006 23:55:17 +0000 (23:55 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs (AddExpose): More sanity checks
svn path=/trunk/mcs/; revision=60763
Peter Dennis Bartok [Tue, 16 May 2006 23:44:04 +0000 (23:44 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* XplatUIX11.cs:
- AddExpose: Don't add expose ranges outside the size of our
window
- Cast opacity values to Int32 to avoid crashes with certain
values
- Added disabled code paths that protect against illegal cross-
thread painting (Developers.exe)
svn path=/trunk/mcs/; revision=60762
Miguel de Icaza [Tue, 16 May 2006 23:10:57 +0000 (23:10 -0000)]
2006-05-16 Miguel de Icaza <miguel@novell.com>
* DataGridTest.cs: Add a test case based on 78420, confirm that
the fix works.
svn path=/trunk/mcs/; revision=60761
Peter Dennis Bartok [Tue, 16 May 2006 23:06:11 +0000 (23:06 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* ProgressBar.cs: Invalidate the control when it's resized
since block size is based on control size. (#78388)
svn path=/trunk/mcs/; revision=60760
Miguel de Icaza [Tue, 16 May 2006 23:01:38 +0000 (23:01 -0000)]
2006-05-16 Miguel de Icaza <miguel@novell.com>
* DataGrid.cs (SetDataBinding): per the discussion on irc, instead
of setting the incoming argument to the "reset" value, we set the
this.datamember to string.empty (before we were invalidating the
incoming data).
Fixes 78420
svn path=/trunk/mcs/; revision=60759
Peter Dennis Bartok [Tue, 16 May 2006 22:15:44 +0000 (22:15 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* Form.cs: Only apply transparency settings after the form
is created. (Fixes #77800)
svn path=/trunk/mcs/; revision=60758
Peter Dennis Bartok [Tue, 16 May 2006 21:55:55 +0000 (21:55 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* ApplicationContext.cs: Grab the HandleDestroyed event so
we know when to fire OnMainFormClosed
svn path=/trunk/mcs/; revision=60757
Peter Dennis Bartok [Tue, 16 May 2006 21:37:58 +0000 (21:37 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* Application.cs: Introduced sub-class to allow tracking of
threads and centralized triggering of the event mess for
ThreadExit, AppExit, etc.. (#76156)
svn path=/trunk/mcs/; revision=60756
Alexander Olk [Tue, 16 May 2006 20:18:04 +0000 (20:18 -0000)]
2006-05-16 Alexander Olk <alex.olk@googlemail.com>
* MimeIcon.cs:
- Do not return a null icon index value for a mime subclass.
Instead try the main mime type class too.
- Seems that some newer distributions don't have a link to some
gnome default icons anymore. So check the default gnome dir too.
svn path=/trunk/mcs/; revision=60752
Jackson Harper [Tue, 16 May 2006 19:34:39 +0000 (19:34 -0000)]
* MdiClient.cs: Don't paint the parent background image if we
* have
our own background image.
svn path=/trunk/mcs/; revision=60751
Dick Porter [Tue, 16 May 2006 16:57:42 +0000 (16:57 -0000)]
2006-05-16 Dick Porter <dick@ximian.com>
* processes.c (process_set_termination_details): Unref the handle
when we've stored the exit details. Fixes the rest of 78241.
svn path=/trunk/mono/; revision=60745
Dick Porter [Tue, 16 May 2006 16:57:41 +0000 (16:57 -0000)]
2006-05-16 Dick Porter <dick@ximian.com>
* Process.cs: Dispose the handle from a destructor too
svn path=/trunk/mcs/; revision=60744
Kazuki Oikawa [Tue, 16 May 2006 16:39:27 +0000 (16:39 -0000)]
2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
* HttpUtility.cs: implemented ParseQueryString
* HttpUtilityTest.cs: added tests for HttpUtility.ParseQueryString.
svn path=/trunk/mcs/; revision=60743
Kazuki Oikawa [Tue, 16 May 2006 16:34:16 +0000 (16:34 -0000)]
2006-05-17 Kazuki Oikawa <kazuki@panicode.com>
* Array.cs : added internal sort method used
in System.Collections.Generics.List<T>.Sort(Comparison<T>).
* List.cs : implemented Sort(Comparison <T>).
svn path=/trunk/mcs/; revision=60742
Peter Dennis Bartok [Tue, 16 May 2006 15:06:14 +0000 (15:06 -0000)]
2006-05-16 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- PerformLayout: Do not shrink space filled by DockStyle.Fill
controls, all filled controls are supposed to overlap (#78080)
- UpdateZOrder is supposed to update the control's z-order in the
parent's z-order chain. Fixed to behave like that
- BringToFront: Removed obsolete code
- SendToBack: Simplyfied
- SetChildIndex: Trigger layout calculations when Z-order changes
since layout is done by z-order
svn path=/trunk/mcs/; revision=60740
Boris Kirzner [Tue, 16 May 2006 14:02:15 +0000 (14:02 -0000)]
Filename fix
svn path=/trunk/mcs/; revision=60739
Boris Kirzner [Tue, 16 May 2006 13:42:03 +0000 (13:42 -0000)]
Pass java security parameters to jvm.
svn path=/trunk/mcs/; revision=60738
Raja R Harinath [Tue, 16 May 2006 13:18:22 +0000 (13:18 -0000)]
In mcs:
* statement.cs (Goto.Resolve): Merge jump origins here ...
* flowanalysis.cs (FlowBranching.Label): ... rather than here.
In gmcs:
* statement.cs (Goto.Resolve): Merge jump origins here ...
* flowanalysis.cs (FlowBranching.Label): ... rather than here.
svn path=/trunk/mcs/; revision=60737
Chris Toshok [Tue, 16 May 2006 13:10:46 +0000 (13:10 -0000)]
2006-05-16 Chris Toshok <toshok@ximian.com>
[ fixes bug #78410 ]
* DataGrid.cs (set_AlternatingBackColor): use
grid_drawing.InvalidateCells instead of Refresh().
(set_BackColor): call grid_drawing.InvalidateCells.
(set_BackgroundColor): use Invalidate instead of Refresh.
* DataGridDrawingLogic.cs (InvalidateCells): new function, just
invalidate the cell area.
svn path=/trunk/mcs/; revision=60736
Vladimir Krasnov [Tue, 16 May 2006 11:51:53 +0000 (11:51 -0000)]
run-W3C-tests.bat: skip nunit build if already done
run-XSLT-tests.bat: skip nunit build if already done
svn path=/trunk/mcs/; revision=60735
Raja R Harinath [Tue, 16 May 2006 11:48:39 +0000 (11:48 -0000)]
kill bogus svn:executable flags
svn path=/trunk/mcs/; revision=60734
Vladimir Krasnov [Tue, 16 May 2006 11:45:58 +0000 (11:45 -0000)]
run-tests.test.bat: skip nunit build if already done
svn path=/trunk/mcs/; revision=60733
Vladimir Krasnov [Tue, 16 May 2006 11:41:32 +0000 (11:41 -0000)]
run-tests.test.connected.bat: skip nunit build if already done
run-tests.test.disconnected.bat: skip nunit build if already done
svn path=/trunk/mcs/; revision=60732
Vladimir Krasnov [Tue, 16 May 2006 11:38:35 +0000 (11:38 -0000)]
run-tests.test.bat: skip nunit build if already done
svn path=/trunk/mcs/; revision=60731
Raja R Harinath [Tue, 16 May 2006 11:10:10 +0000 (11:10 -0000)]
In mcs:
* flowanalysis.cs (FlowBranching.LookupLabel): Move CS0159 check ...
(FlowBranchingToplevel.LookupLabel): ... here. Add CS1632 check.
(FlowBranchingGoto.LookupLabel): New. Handle back jumps.
(FlowBranchingBlock.LookupLabel): Call LabeledStatement.AddReference
here, ...
* statement.cs (Goto.Resolve): ... not here.
(Goto.Emit): Remove CS1632 check.
In gmcs:
* flowanalysis.cs (FlowBranching.LookupLabel): Move CS0159 check ...
(FlowBranchingToplevel.LookupLabel): ... here. Add CS1632 check.
(FlowBranchingGoto.LookupLabel): New. Handle back jumps.
(FlowBranchingBlock.LookupLabel): Call LabeledStatement.AddReference
here, ...
* statement.cs (Goto.Resolve): ... not here.
(Goto.Emit): Remove CS1632 check.
In tests:
* test-511.cs, test-512.cs: New tests from #76632.
svn path=/trunk/mcs/; revision=60730
Boris Kirzner [Tue, 16 May 2006 10:50:47 +0000 (10:50 -0000)]
Disable running secure mode tests by default
svn path=/trunk/mcs/; revision=60729
Chris Toshok [Mon, 15 May 2006 22:19:10 +0000 (22:19 -0000)]
[ fixes bug #78011 ]
* ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
on to DataGridPaintRow.
(DataGridPaintRow): take a clip argument, and only draw the cells
which intersect it. same with the not_usedarea.
* Theme.cs (DataGridPaintRow) add @clip parameter.
* DataGrid.cs (ScrollToColumnInPixels): simplify, use
XplatUI.ScrollWindow.
(ScrollToRow): same.
* DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
with last column which was causing a gray swath to appear with the
XplatUI.ScrollWindow code.
2006-05-15 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60727
Chris Toshok [Mon, 15 May 2006 20:52:11 +0000 (20:52 -0000)]
2006-05-15 Chris Toshok <toshok@ximian.com>
* ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
use XplatUI.ScrollWindow.
(VerticalScrollEvent): use XplatUI.ScrollWindow.
svn path=/trunk/mcs/; revision=60725
Atsushi Eno [Mon, 15 May 2006 20:30:00 +0000 (20:30 -0000)]
2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
* Graphics.cs : (FillRectangles/FillRectanglesI): when argument
array is empty, don't invoke GDI+. Fixed bug #78408.
* TestGraphics.cs : added test for bug #78408 (FillRectangles).
svn path=/trunk/mcs/; revision=60723
Peter Dennis Bartok [Mon, 15 May 2006 20:29:04 +0000 (20:29 -0000)]
2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
* TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
svn path=/trunk/mcs/; revision=60722
Peter Dennis Bartok [Mon, 15 May 2006 19:54:43 +0000 (19:54 -0000)]
2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
* Makefile, System.Windows.Forms.dll.resources: Added NWSE and NESW
cursors
2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
* NWSE.cur, NESW.cur: Added
2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
* Cursors.cs: For X11, read NWSE and NESW cursors from our resource
file since there are no equivalent X11 cursors
svn path=/trunk/mcs/; revision=60720
Atsushi Eno [Mon, 15 May 2006 19:22:23 +0000 (19:22 -0000)]
2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
* MonthCalendar.cs : DateTimePicker should reflect selected date
on mouse*up*, not mouse*down*. Fixed originally reported part of
bug #76474.
svn path=/trunk/mcs/; revision=60719
Atsushi Eno [Mon, 15 May 2006 19:18:40 +0000 (19:18 -0000)]
2006-05-15 Atsushi Enomoto <atsushi@ximian.com>
* When argument index is equal or more than tab count, just ignore.
Fixed bug #78395.
* TabControlTest.cs : added test for bug #78395.
svn path=/trunk/mcs/; revision=60718
Jackson Harper [Mon, 15 May 2006 18:39:59 +0000 (18:39 -0000)]
* keyboards.resx:
* create_keyboards.cs: Changes to the abnt_qwerty mapping patch
* by
MaurĂcio de Lemos Rodrigues Collares Neto.
svn path=/trunk/mcs/; revision=60716
Peter Dennis Bartok [Mon, 15 May 2006 18:10:58 +0000 (18:10 -0000)]
2006-05-15 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs: Dispose all child controls when control is diposed (#78394)
svn path=/trunk/mcs/; revision=60715
Zoltan Varga [Mon, 15 May 2006 18:05:27 +0000 (18:05 -0000)]
2006-05-15 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (MONO_CORLIB_VERSION): Bump corlib version.
* object-internals.h (MonoReflectionResource): Sync with managed version.
svn path=/trunk/mono/; revision=60714
Zoltan Varga [Mon, 15 May 2006 18:04:18 +0000 (18:04 -0000)]
2006-05-15 Zoltan Varga <vargaz@gmail.com>
* Environment.cs: Bump corlib version.
svn path=/trunk/mcs/; revision=60713
Zoltan Varga [Mon, 15 May 2006 18:03:39 +0000 (18:03 -0000)]
2006-05-15 Zoltan Varga <vargaz@gmail.com>
* AssemblyBuilder.cs (MonoResource): Add a 'stream' field.
* ModuleBuilder.cs (DefineManifestResource): Add new net 2.0 method.
svn path=/trunk/mcs/; revision=60712
Gert Driesen [Mon, 15 May 2006 15:53:35 +0000 (15:53 -0000)]
* XmlCodeExporterTests.cs: Added tests for arrays. Fixed usage of
XmlRootAttribute in tests.
* XmlCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods that specifies whether we're dealing with a type
for a top-level element. In GenerateClass, do not always add Namespace
argument for XmlRootAttribute if isTopLevel is false, and do not
emit XmlRootAttribute if isTopLevel is false and no arguments have been
added.
* SoapCodeExporter.cs: Added bool argument to GenerateClass and
GenerateEnum methods.
* MapCodeGenerator.cs: Added bool argument to GenerateClass and
GenerateEnum methods.
svn path=/trunk/mcs/; revision=60710
Ankit Jain [Mon, 15 May 2006 14:51:04 +0000 (14:51 -0000)]
* dis-cil.c (disassemble_cil): Exception clauses can be unordered,
handle that.
svn path=/trunk/mono/; revision=60708
Vladimir Krasnov [Mon, 15 May 2006 08:25:05 +0000 (08:25 -0000)]
removed build console outputs
svn path=/trunk/mcs/; revision=60702
Boris Kirzner [Mon, 15 May 2006 08:08:37 +0000 (08:08 -0000)]
merge -r 60690:60700
svn path=/trunk/mcs/; revision=60701
Marek Safar [Sun, 14 May 2006 18:58:57 +0000 (18:58 -0000)]
2006-05-14 Marek Safar <marek.safar@seznam.cz>
* ecore.cs (Expression.ResolveAsTypeTerminal): Fixed type in the obsolete
error message.
svn path=/trunk/mcs/; revision=60697
Zoltan Varga [Sun, 14 May 2006 18:51:25 +0000 (18:51 -0000)]
2006-05-14 Zoltan Varga <vargaz@gmail.com>
* ia64/ia64-codegen.h (ia64_fetchadd8_acq_hint_pred): Fix encoding of this
opcode.
svn path=/trunk/mono/; revision=60695
Zoltan Varga [Sun, 14 May 2006 18:39:30 +0000 (18:39 -0000)]
2006-05-14 Zoltan Varga <vargaz@gmail.com>
* DirectoryTest.cs: Ignore one of the tests which causes nunit to abort on
IA64 due to an exception handling bug.
svn path=/trunk/mcs/; revision=60694
Alexander Olk [Sun, 14 May 2006 18:09:19 +0000 (18:09 -0000)]
* ColorDialog.cs: Finally it is possible to select the color with
the text boxes
2006-05-14 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=60693
Atsushi Eno [Sun, 14 May 2006 17:08:20 +0000 (17:08 -0000)]
2006-05-14 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationManager.cs: since ConfigurationSystem is
* different
for web.config, cast from ConfigurationSection to runtime
object
should be done at GetSection().
This really fixed bug #78372.
svn path=/trunk/mcs/; revision=60692
Atsushi Eno [Sun, 14 May 2006 17:06:04 +0000 (17:06 -0000)]
2006-05-14 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationManagerTest.cs :
duh, why I overwrote it before commit :( Fix the build.
svn path=/trunk/mcs/; revision=60691
Andrew Skiba [Sun, 14 May 2006 15:13:04 +0000 (15:13 -0000)]
WebTest.cs redesigned to work with NunitWeb.
svn path=/trunk/mcs/; revision=60690
Andrew Skiba [Sun, 14 May 2006 14:43:15 +0000 (14:43 -0000)]
remove unneeded resources from the project
svn path=/trunk/mcs/; revision=60689
Andrew Skiba [Sun, 14 May 2006 14:40:16 +0000 (14:40 -0000)]
Block VerifyRenderingInServerForm verification to make it possible to render dynamically created controls right after the creation.
svn path=/trunk/mcs/; revision=60688
Andrew Skiba [Sun, 14 May 2006 14:32:27 +0000 (14:32 -0000)]
fix typo
svn path=/trunk/mcs/; revision=60687
Yoni Klain [Sun, 14 May 2006 14:30:55 +0000 (14:30 -0000)]
svn path=/trunk/mcs/; revision=60686
Andrew Skiba [Sun, 14 May 2006 14:29:35 +0000 (14:29 -0000)]
Test for setting the theme for nested controls together with a master page.
svn path=/trunk/mcs/; revision=60685
Alexander Olk [Sun, 14 May 2006 13:34:44 +0000 (13:34 -0000)]
* PrintDialog.cs: Fix typo
2006-05-14 Alexander Olk <alex.olk@googlemail.com>
svn path=/trunk/mcs/; revision=60684
Jordi Mas i Hernandez [Sun, 14 May 2006 09:20:50 +0000 (09:20 -0000)]
2006-04-14 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintingServicesUnix.cs: Replace cupsGetPrinters deprecated API call
svn path=/trunk/mcs/; revision=60683
Alexander Olk [Sun, 14 May 2006 08:40:41 +0000 (08:40 -0000)]
2006-05-14 Alexander Olk <alex.olk@googlemail.com>
* PrintDialog.cs: PrintDialog is not resizable
* ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
color. Made some ToolBar drawing methods protected virtual.
svn path=/trunk/mcs/; revision=60682
Jordi Mas i Hernandez [Sat, 13 May 2006 18:28:39 +0000 (18:28 -0000)]
2006-05-13 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintDialog.cs: Implementation of the PrintDialog
svn path=/trunk/mcs/; revision=60681
Jordi Mas i Hernandez [Sat, 13 May 2006 18:18:36 +0000 (18:18 -0000)]
2006-04-13 Jordi Mas i Hernandez <jordimash@gmail.com>
* PrintingServicesUnix.cs: Checks if cups is installed
* PrinterSettings.cs: PrintToFile property and ToString method
svn path=/trunk/mcs/; revision=60679
Atsushi Eno [Sat, 13 May 2006 17:56:04 +0000 (17:56 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationSettings.cs : another System.Orgy insanity.
svn path=/trunk/mcs/; revision=60678
Joshua Tauberer [Sat, 13 May 2006 11:20:21 +0000 (11:20 -0000)]
Sqlite's sqlite3_last_insert_rowid binding had the wrong return type (int vs long).
svn path=/trunk/mcs/; revision=60676
Atsushi Eno [Sat, 13 May 2006 10:35:14 +0000 (10:35 -0000)]
2006-05-13 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs : sometimes OriginalString was null. Fixed bug #78374.
Actually this property is LAMESPEC. Never use it.
* UriTest3.cs : added tests for lame OriginalString property.
svn path=/trunk/mcs/; revision=60675
Chris Toshok [Sat, 13 May 2006 01:46:34 +0000 (01:46 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
thumb, instead use MoveThumb. This has the side effect of making
most of the other thumb moving machinery use MoveThumb as well.
(OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
need to actually invalidate the rectangle where the new thumb will
go.
(MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
We force an Update() after, so it's not as fast as it could be,
but at least there's zero flicker and no droppings.
(OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
(UpdateThumbPos): add another argument (dirty), which says whether
or not to calculate/add dirty regions which we later invalidate.
For cases where we know we're going to use MoveThumb, we pass
false for this. Otherwise, pass true.
svn path=/trunk/mcs/; revision=60674
Jackson Harper [Fri, 12 May 2006 22:41:38 +0000 (22:41 -0000)]
* ThemeWin32Class.cs: Fixes for alignment and icon rendering in
the status bar.
svn path=/trunk/mcs/; revision=60671
Chris Toshok [Fri, 12 May 2006 21:58:21 +0000 (21:58 -0000)]
(OnMouseUpSB): remove the call to refresh when releasing the
thumb. We shouldn't need it.
svn path=/trunk/mcs/; revision=60670
Peter Dennis Bartok [Fri, 12 May 2006 21:45:04 +0000 (21:45 -0000)]
2006-05-12 Peter Dennis Bartok <pbartok@novell.com>
* XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
and GetClipRegion methods and UserClipWontExposeParent property.
* XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
overriding UserClipWontExposeParent property, setting to false, since
Win32 handles the required expose messages to draw our clipped parent
areas internally
* XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
PaintEventStart to set the user clip region if set.
* Control.cs:
- Now internally tracking the Region for the control since we need to
store it if the handle is not yet created and only set it when it
becomes created. Before setting the region forced handle creation
- Added code to draw the parents underneath a user-clipped region
* Hwnd.cs: Added UserClip property
svn path=/trunk/mcs/; revision=60669
Chris Toshok [Fri, 12 May 2006 21:43:51 +0000 (21:43 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
(set_Maximum): same.
(set_Minimum): same.
(set_SmallChange): same.
svn path=/trunk/mcs/; revision=60668
Miguel de Icaza [Fri, 12 May 2006 20:38:50 +0000 (20:38 -0000)]
Flush
svn path=/trunk/mcs/; revision=60667
Miguel de Icaza [Fri, 12 May 2006 20:36:38 +0000 (20:36 -0000)]
2006-05-12 Miguel de Icaza <miguel@novell.com>
* StatusBar.cs (UpdatePanel): If the panel being refreshes has the
AutoSize set to None, we do not need to relayout everything, we
just need to invalidate the current region.
(Draw): Do not draw the entire ClientArea, just redraw the
clip area being passed.
svn path=/trunk/mcs/; revision=60666
Jackson Harper [Fri, 12 May 2006 20:29:29 +0000 (20:29 -0000)]
Remove extra icon draw.
svn path=/trunk/mcs/; revision=60665
Jackson Harper [Fri, 12 May 2006 20:23:40 +0000 (20:23 -0000)]
Draw the icon correctly (broke right before checking in).
svn path=/trunk/mcs/; revision=60664
Carlos Alberto Cortez [Fri, 12 May 2006 20:18:55 +0000 (20:18 -0000)]
2005-05-12 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* ISerialStream.cs: Add support for break state.
* SerialPort.cs: Likewise.
* WinSerialStream.cs: Add support for break state and
some other bits (BytesToRead, BytesToWrite, DsrHolding,
CDHolding, CtsHolding, DiscardIn, DiscardOut).
* SerialPortStream.cs: Add a SetBreak function to
implement the updated ISerialStream interface (not implemented
by now).
svn path=/trunk/mcs/; revision=60663
Sebastien Pouliot [Fri, 12 May 2006 19:58:22 +0000 (19:58 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* GraphicsPath.cs: Fix misnamed GdipAdd*Path*String[I] API (#78383)
svn path=/trunk/mcs/; revision=60662
Sebastien Pouliot [Fri, 12 May 2006 19:57:41 +0000 (19:57 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* gdipFunctions.c: Fix misnamed GdipAdd*Path*String[I] API (#78383)
svn path=/trunk/mcs/; revision=60661
Sebastien Pouliot [Fri, 12 May 2006 19:39:34 +0000 (19:39 -0000)]
2006-05-12 Sebastien Pouliot <sebastien@ximian.com>
* TestRegion.cs: Added a new test case for unioning a rectangle with
infinity and a new test case for GetRegionScans.
svn path=/trunk/mcs/; revision=60658
Miguel de Icaza [Fri, 12 May 2006 19:34:28 +0000 (19:34 -0000)]
2006-05-12 Miguel de Icaza <miguel@novell.com>
* MdiClient.cs: Make MdiClient constructor with the Form argument
internal.
svn path=/trunk/mcs/; revision=60657
Jackson Harper [Fri, 12 May 2006 19:21:19 +0000 (19:21 -0000)]
* ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
parents background image, but strangely not their own.
- (DrawStatusBarPanel): Take into account horizontal alignment
when drawing the strings and icons.
svn path=/trunk/mcs/; revision=60655
Atsushi Eno [Fri, 12 May 2006 18:19:29 +0000 (18:19 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* ConfigurationSettings.cs : ok, now I correctly understand the
problem. Since appSettings section handlers are different between
1.x and 2.0 AppSettings property implementation should also be
different. It should really fix bug #78372.
svn path=/trunk/mcs/; revision=60654
Wade Berrier [Fri, 12 May 2006 17:05:06 +0000 (17:05 -0000)]
* threads.c: Define G_GSIZE_FORMAT for systems with glib < 2.6
svn path=/trunk/mono/; revision=60649
Mike Kestner [Fri, 12 May 2006 16:57:58 +0000 (16:57 -0000)]
remove cwl, damnit
svn path=/trunk/mcs/; revision=60647
Mike Kestner [Fri, 12 May 2006 16:34:49 +0000 (16:34 -0000)]
2006-05-12 Mike Kestner <mkestner@novell.com>
* ListBox.cs: avoid invalidations for focus when the collection is
empty.
svn path=/trunk/mcs/; revision=60644
Chris Toshok [Fri, 12 May 2006 16:07:25 +0000 (16:07 -0000)]
* ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
invalidate the entire thumb area. Call InvalidateDirty which
limits the redraw to the thumb itself and surrounding pixels.
svn path=/trunk/mcs/; revision=60642
Zoltan Varga [Fri, 12 May 2006 15:46:33 +0000 (15:46 -0000)]
2006-05-12 Zoltan Varga <vargaz@gmail.com>
* make_store_test.sh make_obj_store_test.sh make_stack_merge_test.sh: Make
valuetypes sealed to fix ilasm warnings.
svn path=/trunk/mono/; revision=60639
Chris Toshok [Fri, 12 May 2006 15:11:23 +0000 (15:11 -0000)]
* XplatUIX11.cs (ScrollWindow): optimize copying.
2006-05-12 Chris Toshok <toshok@ximian.com>
svn path=/trunk/mcs/; revision=60635
Chris Toshok [Fri, 12 May 2006 15:02:30 +0000 (15:02 -0000)]
2006-05-12 Chris Toshok <toshok@ximian.com>
* DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
Figure out the positioning/layout in a single pass instead of
multiple recursive invocations. Speeds up the initial display of
the data grid. Also, make many things private that were
originally public but unused outside this class.
svn path=/trunk/mcs/; revision=60634
Zoltan Varga [Fri, 12 May 2006 15:01:42 +0000 (15:01 -0000)]
2006-05-12 Zoltan Varga <vargaz@gmail.com>
* class.c (mono_fnptr_class_get): Set class->image to corlib for now, since other
functions try to allocate from the image mempool.
svn path=/trunk/mono/; revision=60633
Dick Porter [Fri, 12 May 2006 10:38:20 +0000 (10:38 -0000)]
2006-05-12 Dick Porter <dick@ximian.com>
* threads.c: Implement pseudo handles, making GetCurrentThread()
match MS behaviour. Notice when attached threads exit, and unref
the handle. Fix usage of GetCurrentThread() in other places.
* handles.c (DuplicateHandle): Implement a basic form of
DuplicateHandle().
* wait.c: Fix usage of GetCurrentThread() throughout, and cope
with pseudo handles.
2006-05-12 Dick Porter <dick@ximian.com>
* threads.c (mono_thread_attach): Fix usage of GetCurrentThread().
svn path=/trunk/mono/; revision=60618
Lluis Sanchez [Fri, 12 May 2006 10:07:28 +0000 (10:07 -0000)]
2006-05-12 Lluis Sanchez <lluis@ximian.com>
* object.c: The FieldGetter and FieldSetter methods require the full
name of the class, not only the name. Fixes bug #78277.
svn path=/trunk/mono/; revision=60617
Atsushi Eno [Fri, 12 May 2006 09:54:22 +0000 (09:54 -0000)]
2006-05-12 Atsushi Enomoto <atsushi@ximian.com>
* Configuration.cs : configPath is null for machine.config, so don't
use it. Use streamName instead. To my understanding, this should
fix bug #78372.
* ConfigurationManagerTest.cs :
added test for OpenMachineConfiguration().
svn path=/trunk/mcs/; revision=60616
Jackson Harper [Thu, 11 May 2006 23:24:57 +0000 (23:24 -0000)]
* MdiClient.cs: Improved layout code.
svn path=/trunk/mcs/; revision=60612
Jonathan Chambers [Thu, 11 May 2006 22:50:39 +0000 (22:50 -0000)]
2006-05-11 Jonathan Chambers <jonathan.chambers@ansys.com>
* PropertyGrid.cs : Only check GetPropertiesSupported for properties,
not SelectedObject.
svn path=/trunk/mcs/; revision=60609
Peter Dennis Bartok [Thu, 11 May 2006 21:34:46 +0000 (21:34 -0000)]
2006-05-11 Peter Dennis Bartok <pbartok@novell.com>
* Icon.cs: Don't require width/height to be non-0 when creating from
serialized data, just require them to be square
svn path=/trunk/mcs/; revision=60608
Chris Toshok [Thu, 11 May 2006 20:10:00 +0000 (20:10 -0000)]
we still need a guard here, for invalid_list.Count == 0
svn path=/trunk/mcs/; revision=60605
Chris Toshok [Thu, 11 May 2006 20:01:30 +0000 (20:01 -0000)]
2006-05-11 Chris Toshok <toshok@ximian.com>
* Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
union of that will always be {0,0,width,height}.
svn path=/trunk/mcs/; revision=60604
Jackson Harper [Thu, 11 May 2006 19:12:46 +0000 (19:12 -0000)]
* Form.cs: Match MS's DefaultSize for forms (they must have
changed the size in sp2).
svn path=/trunk/mcs/; revision=60603
Atsushi Eno [Thu, 11 May 2006 17:25:29 +0000 (17:25 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* ReflectionPropertyDescriptor.cs,
DerivedPropertyDescriptor.cs : invoke OnValueChanged() when
the value was successfully changed. It is needed to have
MWF PropertyGrid change properties successfully.
svn path=/trunk/mcs/; revision=60601
Atsushi Eno [Thu, 11 May 2006 15:59:23 +0000 (15:59 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
svn path=/trunk/mcs/; revision=60598