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
Atsushi Eno [Thu, 11 May 2006 15:57:17 +0000 (15:57 -0000)]
2006-05-11 Atsushi Enomoto <atsushi@ximian.com>
* TextControl.cs : Fixed bug #78109. This incorrect position
comparison caused crash on automatic line split.
* TextBoxBase.cs : reduce duplicate code.
svn path=/trunk/mcs/; revision=60597
Ankit Jain [Thu, 11 May 2006 14:36:04 +0000 (14:36 -0000)]
* get.c (get_custom_mod): Fix printing of custom modifiers.
(dis_stringify_type): Likewise.
(get_field_signature): Likewise.
(get_ret_type): Likewise.
(get_param): Likewise.
svn path=/trunk/mono/; revision=60595
Ankit Jain [Thu, 11 May 2006 13:45:29 +0000 (13:45 -0000)]
In ilasm/tests:
* test-modifiers.il: New. Test for custom modifiers, modreq & modopt.
In ilasm/parser:
* ILParser.jay (type |type MODREQ ..): Use CustomModifier.modreq .
svn path=/trunk/mcs/; revision=60592
Andrew Skiba [Thu, 11 May 2006 13:22:12 +0000 (13:22 -0000)]
This check is unnecessary
svn path=/trunk/mcs/; revision=60591
Zoltan Varga [Thu, 11 May 2006 11:44:48 +0000 (11:44 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Call pthread_attr_destroy () to fix a small memory leak.
svn path=/trunk/mono/; revision=60590
Zoltan Varga [Thu, 11 May 2006 11:44:25 +0000 (11:44 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* assembly.c (mono_assembly_load_from_full): Fix a bunch of warnings.
(mono_assembly_close): Null out assembly->image->references after freeing it.
* image.c (mono_image_close): Free image->references.
svn path=/trunk/mono/; revision=60589
Zoltan Varga [Thu, 11 May 2006 11:36:01 +0000 (11:36 -0000)]
2006-05-11 Zoltan Varga <vargaz@gmail.com>
* reflection.c (mono_image_basic_init): Fix a small memory leak.
svn path=/trunk/mono/; revision=60588
Ankit Jain [Thu, 11 May 2006 11:32:20 +0000 (11:32 -0000)]
In ilasm/codegen:
* CodeGen.cs (CodeGen.AddDataDef): Use Report.Error for consistent error
reporting.
* MethodDef.cs (MethodDef.AddLabel): Likewise.
In ilasm:
* Report.cs (Report.Error): Add 2 new overloads.
(ILAsmException.ctor): Add 2 new overloads, with location and file_path
params.
(ILAsmException.Location):
(ILAsmException.FilePath): New properties.
(ILAsmException.ToString): Return formatted error message.
* Driver.cs (DriverMain.ProcessFile): Improve error message display.
(DriverMain.Run): Use ILAsmException.ToString ().
In ilasm/scanner:
* ILTokenizingExpcetion.cs (Location): Remove. Already inherited from
ILAsmException.
svn path=/trunk/mcs/; revision=60586
Andrew Skiba [Thu, 11 May 2006 11:24:47 +0000 (11:24 -0000)]
Load all referenced asseblies in parent domain before copying assemblies to new domain.
svn path=/trunk/mcs/; revision=60585
Raja R Harinath [Thu, 11 May 2006 10:47:15 +0000 (10:47 -0000)]
In mcs:
* flowanalysis.cs (UsageVector.MergeJumpOrigins): Kill.
(FlowBranchingBlock.Label): Use UsageVector.MergeOrigins.
(FlowBranchingException.Label): Likewise.
In gmcs:
* flowanalysis.cs (UsageVector.MergeJumpOrigins): Kill.
(FlowBranchingBlock.Label): Use UsageVector.MergeOrigins.
(FlowBranchingException.Label): Likewise.
In tests:
* test-154.cs (test39): Move buggy testcase to errors/cs0177-7.cs.
Fix it and move ...
* test-510.cs: ... here.
In errors:
* cs0177-7.cs: Taken from erroneous sub-test in tests/test-154.cs.
svn path=/trunk/mcs/; revision=60584
Raja R Harinath [Thu, 11 May 2006 09:26:07 +0000 (09:26 -0000)]
* mcs/flowanalysis.cs (MyBitVector.SetAll): New. Sets all bits to the
given value.
(MyBitVector.Or): Use it to avoid losing information (Count).
(FlowBranching.MergeOrigins): Likewise.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60582
Raja R Harinath [Thu, 11 May 2006 09:12:09 +0000 (09:12 -0000)]
* mcs/flowanalysis.cs (UsageVector.IsDirty): Remove.
(UsageVector.Parameters, UsageVector.ParameterVector): Likewise.
(UsageVector.Locals, UsageVector.LocalVector): Likewise.
(UsageVector.ToString): Simplify.
(UsageVector.MergeSiblings): Move here from ...
(FlowBranching.Merge): ... here.
(FlowBranchingToplevel.CheckOutParameters): Take an UsageVector,
not a MyBitVector.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60581
Andrew Skiba [Thu, 11 May 2006 08:42:50 +0000 (08:42 -0000)]
refactory CopyAssembly, make Helper accessible from web context, fallback for user exceptions
svn path=/trunk/mcs/; revision=60580
Ankit Jain [Thu, 11 May 2006 08:32:47 +0000 (08:32 -0000)]
* MethodDef.cs (MethodDef.AddLabel): Fix exception message.
svn path=/trunk/mcs/; revision=60578
Andrew Skiba [Thu, 11 May 2006 07:11:37 +0000 (07:11 -0000)]
use LinkedStyleSheets from the PageTheme and from StyleSheetPageTheme to insert links in page header.
svn path=/trunk/mcs/; revision=60577
Ankit Jain [Thu, 11 May 2006 07:06:08 +0000 (07:06 -0000)]
* get.c (dis_stringify_method_signature): Rename to ..
(dis_stringify_method_signature_full): .. this. Add 'with_marshal_info'
param.
* get.h (dis_stringify_method_signature_full): Add new function.
* main.c (dis_property_methods): Update to use
dis_stringify_method_signature_full.
(dis_event_methods): Likewise.
svn path=/trunk/mono/; revision=60575
Jackson Harper [Thu, 11 May 2006 05:19:42 +0000 (05:19 -0000)]
* MdiClient.cs: Active form is only sent to the back when using
the Next form functionality, when a form is clicked the current
active shouldn't be sent to the back.
- Layout the mdi windows when the container is first made
visible.
* Form.cs: Give the MdiClient a ref to the containing form when
* we
create it.
svn path=/trunk/mcs/; revision=60574
Raja R Harinath [Thu, 11 May 2006 03:28:37 +0000 (03:28 -0000)]
* mcs/flowanalysis.cs (UsageVector.MergeOrigins): Simplify, now that a
null bitvector is treated as all-true.
* gmcs/flowanalysis.cs: Likewise.
svn path=/trunk/mcs/; revision=60573
Atsushi Eno [Wed, 10 May 2006 21:54:02 +0000 (21:54 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* LinkLabel.cs : link_font could be uninitialized, so populate one
before actual use. Fixed bug #78340.
svn path=/trunk/mcs/; revision=60559
Atsushi Eno [Wed, 10 May 2006 21:05:50 +0000 (21:05 -0000)]
2006-05-10 Atsushi Enomoto <atsushi@ximian.com>
* XplatUIX11.cs : clipboard format native value is IntPtr.
Fixed bug #78283.
svn path=/trunk/mcs/; revision=60557
Peter Dennis Bartok [Wed, 10 May 2006 20:57:01 +0000 (20:57 -0000)]
2006-05-10 Peter Dennis Bartok <pbartok@novell.com>
* Control.cs:
- Instead of showing context menus directly we send WM_CONTEXTMENU,
which is passed up the parent chain by DefWndProc
- We now handle WM_CONTEXTMENU to display any menu, or pass it
to DefWndProc (#77956)
* XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
svn path=/trunk/mcs/; revision=60556
Jackson Harper [Wed, 10 May 2006 20:23:39 +0000 (20:23 -0000)]
* MdiClient.cs: We need to remove the controls from the mdi
collection, when we close the window.
* MdiWindowManager.cs: Special handling of closing mdi windows.
* InternalWindowManager.cs: Make the close method virtual so the
mdi window manager can handle it specially.
svn path=/trunk/mcs/; revision=60554