Marek Safar [Thu, 13 Nov 2008 10:07:54 +0000 (10:07 -0000)]
Add --verify-all
svn path=/trunk/mcs/; revision=118709
Marek Safar [Thu, 13 Nov 2008 10:04:46 +0000 (10:04 -0000)]
New test
svn path=/trunk/mcs/; revision=118707
Marek Safar [Thu, 13 Nov 2008 10:04:25 +0000 (10:04 -0000)]
2008-11-13 Marek Safar <marek.safar@gmail.com>
* generic.cs, expression.cs, ecore.cs, cs-parser.jay: Removed
useless UnboundTypeExpression.
* attribute.cs: Do check obsolete attribute on generic types.
svn path=/trunk/mcs/; revision=118706
Veerapuram Varadhan [Thu, 13 Nov 2008 09:16:42 +0000 (09:16 -0000)]
Use reset flag bit instead of executing sp_reset_connection and related
changes.
svn path=/trunk/mcs/; revision=118704
Paolo Molaro [Thu, 13 Nov 2008 08:04:39 +0000 (08:04 -0000)]
Fix for mingw.
svn path=/trunk/mono/; revision=118702
Paolo Molaro [Thu, 13 Nov 2008 07:49:51 +0000 (07:49 -0000)]
More headers checks.
svn path=/trunk/mono/; revision=118701
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 03:48:52 +0000 (03:48 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* SocketTest.cs: added test case based on the one in bug
#443346.
svn path=/trunk/mcs/; revision=118697
Gonzalo Paniagua Javier [Thu, 13 Nov 2008 03:47:23 +0000 (03:47 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket.cs: mark the socket as not connected when there is a pending
error or exception about to be thrown.
Bug #443346 fixed.
svn path=/trunk/mcs/; revision=118696
Zoltan Varga [Thu, 13 Nov 2008 02:17:41 +0000 (02:17 -0000)]
2008-11-13 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (compile_method): Don't skip synchronized methods.
(encode_method_ref): Flag synchronized methods so they won't go through
the AOT trampoline.
svn path=/trunk/mono/; revision=118692
Zoltan Varga [Thu, 13 Nov 2008 01:52:32 +0000 (01:52 -0000)]
2008-11-13 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Additional work to support AOTing synchronized methods/
wrappers.
svn path=/trunk/mono/; revision=118689
Andreia Gaita [Thu, 13 Nov 2008 01:48:33 +0000 (01:48 -0000)]
* Mono.Mozilla/Callback.cs, Mono.WebBrowser/DOM/EventArgs.cs: strong
typing for node event arguments
2008-11-13 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=118688
Marek Habersack [Thu, 13 Nov 2008 01:39:03 +0000 (01:39 -0000)]
2008-11-13 Marek Habersack <mhabersack@novell.com>
* ListView.cs: implemented support for Edit, Update and Delete.
Implemented ExtractItemValues.
* ListViewDataItem.cs, ListViewItem.cs: implemented OnBubbleEvent.
* ListViewDeletedEventArgs.cs, ListViewUpdateEventArgs.cs,
ListViewEditEventArgs.cs, ListViewCancelEventArgs.cs,
ListViewDeleteEventArgs.cs, ListViewUpdatedEventArgs.cs:
implemented all the properties and methods.
* HelperExtensions.cs: added
svn path=/trunk/mcs/; revision=118686
Andreia Gaita [Thu, 13 Nov 2008 01:38:55 +0000 (01:38 -0000)]
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: Support
script execution directly in the browser object
2008-11-13 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=118685
Andreia Gaita [Thu, 13 Nov 2008 01:35:56 +0000 (01:35 -0000)]
* Mono.Mozilla/DOM/Node.cs, Mono.Mozilla/DOM/Window.cs: Fix equality
operators
2008-11-13 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=118684
Marek Habersack [Thu, 13 Nov 2008 01:31:59 +0000 (01:31 -0000)]
2008-11-13 Marek Habersack <mhabersack@novell.com>
* Control.cs: added ability to reset child names to a specific
value, not only to 0.
svn path=/trunk/mcs/; revision=118683
Zoltan Varga [Thu, 13 Nov 2008 00:04:24 +0000 (00:04 -0000)]
2008-11-13 Zoltan Varga <vargaz@gmail.com>
* cpu-ia64.md (jmp): Increase max length.
svn path=/trunk/mono/; revision=118677
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 23:18:09 +0000 (23:18 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* UnixSignalTest.cs: use WaitAny + 30s timeout.
svn path=/trunk/mcs/; revision=118668
Rodrigo Kumpera [Wed, 12 Nov 2008 21:58:51 +0000 (21:58 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* mini-ops.h: Remove OP_PUSH_R4 and OP_LOADX_STACK.
* cpu-x86.md: Same.
* mini-x86.c: Same.
* mini.h (struct MonoCompile): Add simd_ctor_var to be used as storage
for simd ctor values.
* simd-intrinsics.c (simd_intrinsic_emit_ctor): Use simd_ctor_var for the constructor
instead of directly pushing the values on stack. This saves about 15 bytes of generated code.
svn path=/trunk/mono/; revision=118659
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 21:47:40 +0000 (21:47 -0000)]
Close() was missing in a bunch of tests
svn path=/trunk/mcs/; revision=118657
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 21:38:54 +0000 (21:38 -0000)]
2008-11-12 Gonzalo Paniagua Javier <gonzalo@novell.com>
* HttpListener2Test.cs: Fixed Test7.
svn path=/trunk/mcs/; revision=118655
Jb Evain [Wed, 12 Nov 2008 21:17:01 +0000 (21:17 -0000)]
adjust
svn path=/trunk/mcs/; revision=118650
Jb Evain [Wed, 12 Nov 2008 21:16:43 +0000 (21:16 -0000)]
2008-11-12 Jb Evain <jbevain@novell.com>
* IComponent.cs
* ComponentCollection.cs
* PropertyDescriptor.cs: adjust api for NET_2_1.
svn path=/trunk/mcs/; revision=118649
Zoltan Varga [Wed, 12 Nov 2008 20:51:24 +0000 (20:51 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* Makefile: Enable AOT for the 2.0 profile too.
svn path=/trunk/mcs/; revision=118644
Zoltan Varga [Wed, 12 Nov 2008 20:49:55 +0000 (20:49 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (load_method): Avoid calling runtime_class_init () for
open generic classes.
svn path=/trunk/mono/; revision=118642
Gonzalo Paniagua Javier [Wed, 12 Nov 2008 20:12:06 +0000 (20:12 -0000)]
line not needed. might cause exception when writing
svn path=/trunk/mcs/; revision=118634
Jonathan Pobst [Wed, 12 Nov 2008 20:09:34 +0000 (20:09 -0000)]
2008-11-12 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewCellStyle.cs: Allow SelectionBackColor to have
an alpha value.
[Fixes bug #444348]
svn path=/trunk/mcs/; revision=118633
Zoltan Varga [Wed, 12 Nov 2008 19:08:35 +0000 (19:08 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* Makefile: Enable AOT for the 1.1 profile.
svn path=/trunk/mcs/; revision=118625
Zoltan Varga [Wed, 12 Nov 2008 19:07:58 +0000 (19:07 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* library.make: AOT the library after compilation if the AOT_IN_PROFILES
variable is defined and it contains the current profile.
svn path=/trunk/mcs/; revision=118624
Zoltan Varga [Wed, 12 Nov 2008 19:06:06 +0000 (19:06 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* configure.in: Add an ENABLE_AOT variable to config.make, currently only
enabled for AMD64.
svn path=/trunk/mono/; revision=118623
Zoltan Varga [Wed, 12 Nov 2008 19:04:57 +0000 (19:04 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c: Enable the ELF writer on ELF platforms.
svn path=/trunk/mono/; revision=118622
Zoltan Varga [Wed, 12 Nov 2008 18:43:40 +0000 (18:43 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Revert the last change to the
box+brtrue optimization since it causes test failures on x86.
svn path=/trunk/mono/; revision=118619
Andreia Gaita [Wed, 12 Nov 2008 17:59:59 +0000 (17:59 -0000)]
* Mono.WebBrowser.dll.sources, Mono.WebBrowser2K5.csproj,
Mono.Mozilla/interfaces/nsIURIContentListener.cs,
Mono.Mozilla/DOM/ContentListener.cs: New class added to listen for
load requests and handle content types
* Mono.WebBrowser/IWebBrowser.cs, Mono.Mozilla/WebBrowser.cs: New
NavigationRequested event to catch load requests
2008-11-12 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=118617
Rodrigo Kumpera [Wed, 12 Nov 2008 16:43:35 +0000 (16:43 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* simd-methods.h: Rename SubWithSaturation, ArithmeticRightShift and
LogicalRightShift.
* simd-instrincs.c: Same.
* basic-simd.cs: Same.
svn path=/trunk/mono/; revision=118609
Rodrigo Kumpera [Wed, 12 Nov 2008 16:42:01 +0000 (16:42 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* Vector*.cs: Renamed ShiftRightLogic to LogicalRightShift and
ShiftRightArithmetic to ArithmeticRightShift.
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* Documentation/en/Mono.Simd/Vector*.xml: Renamed ShiftRightLogic
to LogicalRightShift and ShiftRightArithmetic to ArithmeticRightShift.
svn path=/trunk/mcs/; revision=118608
Rodrigo Kumpera [Wed, 12 Nov 2008 16:41:59 +0000 (16:41 -0000)]
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* Documentation/en/Mono.Simd/Vector*.xml: Renamed SubWithSaturation
to SubtractWithSaturation.
2008-11-12 Rodrigo Kumpera <rkumpera@novell.com>
* Vector*.cs: Renamed SubWithSaturation to SubtractWithSaturation.
svn path=/trunk/mcs/; revision=118607
Zoltan Varga [Wed, 12 Nov 2008 16:40:14 +0000 (16:40 -0000)]
2008-11-12 Zoltan Varga <vargaz@gmail.com>
* ratests.cs: Add more tests.
* regalloc2.c (add_spill_code): Handle more corner cases.
svn path=/trunk/mono/; revision=118606
Jonathan Pryor [Wed, 12 Nov 2008 15:48:15 +0000 (15:48 -0000)]
* Resources/defaulttemplate.xsl: Update /html/head/meta/@content value
so that IE7 properly recognizes the file as UTF-8 encoded.
Fixes #444009.
svn path=/trunk/mcs/; revision=118604
Cedric Vivier [Wed, 12 Nov 2008 14:52:01 +0000 (14:52 -0000)]
2008-11-12 Cedric Vivier <cedricv@neonux.com>
* Vector*.cs: Add indexer to all Vector types to get/set an individual component's value.
* Documentation/en/Mono.Simd/Vector*.xml: Added Member entry for indexer (Component).
svn path=/trunk/mcs/; revision=118603
Jb Evain [Wed, 12 Nov 2008 14:43:20 +0000 (14:43 -0000)]
fix for real
svn path=/trunk/mcs/; revision=118602
Jb Evain [Wed, 12 Nov 2008 14:15:40 +0000 (14:15 -0000)]
2008-11-12 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Signatures/SignatureReader.cs: properly construct
TypeReferences when reading them from custom attributes data.
svn path=/trunk/mcs/; revision=118599
Marek Safar [Wed, 12 Nov 2008 14:06:22 +0000 (14:06 -0000)]
New test + disabled 2 problematic
svn path=/trunk/mcs/; revision=118597
Marek Safar [Wed, 12 Nov 2008 14:05:33 +0000 (14:05 -0000)]
2008-11-12 Marek Safar <marek.safar@gmail.com>
A fix for bugs #425680, #400139
* ecore.cs, expression.cs: Trying to do some almost_matched_members
refactoring.
svn path=/trunk/mcs/; revision=118595
Cedric Vivier [Wed, 12 Nov 2008 07:17:54 +0000 (07:17 -0000)]
2008-11-12 Cedric Vivier <cedricv@neonux.com>
* Vector*.cs: Optimize non-accelerated bitwise-operations (| & ^).
svn path=/trunk/mcs/; revision=118582
Atsushi Eno [Wed, 12 Nov 2008 00:11:45 +0000 (00:11 -0000)]
2008-11-11 Atsushi Enomoto <atsushi@xiiman.com>
Fix for bug 439943.
* SettingValueElement.cs : do not write value element twice.
* CustomizableFileSettingsProvider.cs : create "value" element
instead of a document fragment so that the output from
SettingValueElement could become consistent.
Null binary value caused crash. Set appropriate
SerializedValue for each serialization type.
* SettingsPropertyValue.cs : output only when the value is
non-null.
svn path=/trunk/mcs/; revision=118565
Rodrigo Kumpera [Tue, 11 Nov 2008 20:14:55 +0000 (20:14 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* ModuleTest.cs : Add test for ResolveMethod with a methodspec
token.
svn path=/trunk/mcs/; revision=118543
Rodrigo Kumpera [Tue, 11 Nov 2008 20:14:53 +0000 (20:14 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* Module.cs (ResolveMethod): Use internal method
GetMethodFromHandleNoGenericCheck to avoid the generic type
limitation of GetMethodFromHandle.
Fixes #443763.
svn path=/trunk/mcs/; revision=118542
Gert Driesen [Tue, 11 Nov 2008 19:22:02 +0000 (19:22 -0000)]
* SqlCommandTest.cs: Added (SMALL)MONEY rounding tests.
svn path=/trunk/mcs/; revision=118536
Zoltan Varga [Tue, 11 Nov 2008 18:55:15 +0000 (18:55 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* regalloc2.c (INS_POS_INTERVAL): Decrease this to 8 to avoid overflows.
(update_liveness): Avoid holes in the liveness ranges of hregs if they are
both the source an destination of an instruction.
svn path=/trunk/mono/; revision=118532
Paolo Molaro [Tue, 11 Nov 2008 18:34:09 +0000 (18:34 -0000)]
Tue Nov 11 19:30:50 CET 2008 Paolo Molaro <lupus@ximian.com>
* jit-icalls.c, local-propagation.c, mini.c, ssa.c, ssapre.c, trace.c,
wapihandles.c: more portability changes.
svn path=/trunk/mono/; revision=118531
Gert Driesen [Tue, 11 Nov 2008 18:20:27 +0000 (18:20 -0000)]
* SqlCommandTest.cs: Added tests for bug #428139. Added test for
SMALLMONEY overflows. Added workaround for Assert.AreEqual bug in
NUnit v2.2.0.
svn path=/trunk/mcs/; revision=118529
Paolo Molaro [Tue, 11 Nov 2008 18:19:59 +0000 (18:19 -0000)]
Added more header checks.
svn path=/trunk/mono/; revision=118528
Gert Driesen [Tue, 11 Nov 2008 18:18:53 +0000 (18:18 -0000)]
* Tds70.cs: Support writing negative (small)money values. Added
overflow check for smallmoney values. Fixes bug #428139.
* Tds.cs: Fixed reading negative (small)money values.
svn path=/trunk/mcs/; revision=118527
Paolo Molaro [Tue, 11 Nov 2008 18:02:04 +0000 (18:02 -0000)]
Tue Nov 11 18:56:33 CET 2008 Paolo Molaro <lupus@ximian.com>
* aot-compiler.c, aliasing.c, abcremoval.c: portability changes.
* mini.c mini.h, aot-runtime.c: the aot segfault-handling code is not
safe to execute in a signal handler and the kernel provides better
the info in /proc/self/smaps. Avoid the assert on sigaction during
cleanup.
svn path=/trunk/mono/; revision=118526
Jb Evain [Tue, 11 Nov 2008 17:00:40 +0000 (17:00 -0000)]
2008-11-11 Jb Evain <jbevain@novell.com>
* Mono.Cecil/ReflectionReader.cs (AddTypeRef):
protect against invalid token.
svn path=/trunk/mcs/; revision=118515
Andrés G. Aragoneses [Tue, 11 Nov 2008 16:43:12 +0000 (16:43 -0000)]
* Application.cs: After UIA assembly is successfully loaded,
dump any exception that happens on initialization to stderr.
svn path=/trunk/mcs/; revision=118513
Gonzalo Paniagua Javier [Tue, 11 Nov 2008 16:42:18 +0000 (16:42 -0000)]
2008-11-11 Gonzalo Paniagua Javier <gonzalo@novell.com>
* RegexBugs.cs: test from bug 432172.
svn path=/trunk/mcs/; revision=118512
Jonathan Pobst [Tue, 11 Nov 2008 16:37:41 +0000 (16:37 -0000)]
2008-11-11 Jonathan Pobst <monkey@jpobst.com>
* DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
* DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
AutoSizeColumnModeChanged.
[Fixes bug #443609]
svn path=/trunk/mcs/; revision=118511
Jonathan Pobst [Tue, 11 Nov 2008 16:13:00 +0000 (16:13 -0000)]
2008-11-11 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRowCollection.cs: Guard against the user deleting the
NewRow. Add an internal delete so we can still delete it.
* DataGridView.cs: Use the new internal delete when deleting the NewRow.
[Fixes bug #442181]
2008-11-01 Jonathan Pobst <monkey@jpobst.com>
* DataGridViewRowCollectionTest.cs: Add some tests for bug #442181.
svn path=/trunk/mcs/; revision=118509
Jonathan Chambers [Tue, 11 Nov 2008 14:28:50 +0000 (14:28 -0000)]
2008-11-11 Jonathan Chambers <joncham@gmail.com>
* Items.cs: Use Path.DirectorySeparatorChar instead of
hardcoded '/' to fix test on Windows.
svn path=/trunk/mcs/; revision=118502
Jonathan Chambers [Tue, 11 Nov 2008 14:02:17 +0000 (14:02 -0000)]
2008-11-11 Jonathan Chambers <joncham@gmail.com>
* DeleteTest.cs: Added tests for Delete task.
svn path=/trunk/mcs/; revision=118501
Sebastien Pouliot [Tue, 11 Nov 2008 13:28:22 +0000 (13:28 -0000)]
2008-11-11 Sebastien Pouliot <sebastien@ximian.com>
* Mono.Cecil.Mdb/MdbFactory.cs: Wrap any MonoSymbolFileException
into a FormatException since callers can't catch the former (at least
not without catching Exception).
svn path=/trunk/mcs/; revision=118500
Sebastien Pouliot [Tue, 11 Nov 2008 13:22:02 +0000 (13:22 -0000)]
2008-11-11 Sebastien Pouliot <sebastien@ximian.com>
* */Makefile.am: Dont compile with --security as this fails under
Win32 and this is *not* what we want to test here anyway
svn path=/trunk/mono/; revision=118499
Jb Evain [Tue, 11 Nov 2008 12:43:19 +0000 (12:43 -0000)]
2008-11-11 Jb Evain <jbevain@novell.com>
* Mono.Cecil.Cil/CodeWriter.cs: fix writing of catch handlers
of a generic exception type.
svn path=/trunk/mcs/; revision=118495
Zoltan Varga [Tue, 11 Nov 2008 11:34:38 +0000 (11:34 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): In the box+brtrue optimization, only
do the bblock linking hack if it is actually needed.
svn path=/trunk/mono/; revision=118490
Zoltan Varga [Tue, 11 Nov 2008 11:30:34 +0000 (11:30 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (patch-libtool): New helper target to patch libtool to speed
up linking.
svn path=/trunk/mono/; revision=118489
Zoltan Varga [Tue, 11 Nov 2008 11:29:49 +0000 (11:29 -0000)]
Remove an outdated comment.
svn path=/trunk/mono/; revision=118488
Zoltan Varga [Tue, 11 Nov 2008 11:29:20 +0000 (11:29 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* liveness.c (ENABLE_LIVENESS2): Reenable this for 64 bit archs as the
crash problem is fixed.
svn path=/trunk/mono/; revision=118487
Zoltan Varga [Tue, 11 Nov 2008 11:27:43 +0000 (11:27 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* branch-opts.c (mono_remove_critical_edges): Link up newly added
bblocks.
* mini.c (mini_method_compile): Compute unreachable bblocks properly even
for catch clauses.
(mini_method_compile): Set the starting value of next_vreg to
MAX_IREGS + MAX_FREGS when using globalra.
* method-to-ir.c (mono_method_to_ir2): Mark bblocks starting
filter clauses with BB_EXCEPTION_HANDLER.
svn path=/trunk/mono/; revision=118486
Zoltan Varga [Tue, 11 Nov 2008 11:16:33 +0000 (11:16 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* CILCompiler.cs: Implement Reference opcode.
svn path=/trunk/mcs/; revision=118484
Atsushi Eno [Tue, 11 Nov 2008 11:06:01 +0000 (11:06 -0000)]
fix for inherited default namespace in compact syntax.
svn path=/trunk/mcs/; revision=118483
Marek Safar [Tue, 11 Nov 2008 10:50:35 +0000 (10:50 -0000)]
New test + update
svn path=/trunk/mcs/; revision=118482
Marek Safar [Tue, 11 Nov 2008 10:50:20 +0000 (10:50 -0000)]
2008-11-11 Marek Safar <marek.safar@gmail.com>
A fix for bug #435747
* assign.cs, expression.cs: Cleanup New assignment to emit correcly
compound value types assignment. Few micro optimizations added.
svn path=/trunk/mcs/; revision=118481
Marek Safar [Tue, 11 Nov 2008 10:36:50 +0000 (10:36 -0000)]
Fixing windows build
svn path=/trunk/mcs/; revision=118478
Marek Safar [Tue, 11 Nov 2008 10:23:00 +0000 (10:23 -0000)]
New test.
svn path=/trunk/mcs/; revision=118476
Andreia Gaita [Tue, 11 Nov 2008 03:31:17 +0000 (03:31 -0000)]
* Test/System.Windows.Forms/TestHelper.cs: Inconsistent eol fixes and
eol-style
svn path=/trunk/mcs/; revision=118456
Andreia Gaita [Tue, 11 Nov 2008 03:23:33 +0000 (03:23 -0000)]
* Test/System.Windows.Forms/FocusTest.cs,
Test/System.Windows.Forms/FormTest.cs,
Test/System.Windows.Forms/FormEventTest.cs: Enable tests that
depend on synchronous WM_ACTIVATE messages and are now working with
the latest message fixes
2008-11-11 Andreia Gaita <shana@jitted.com>
svn path=/trunk/mcs/; revision=118455
Rodrigo Kumpera [Tue, 11 Nov 2008 02:46:53 +0000 (02:46 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* Documentation/en/Mono.Simd/SimdRuntime.xml: Fixed some typos.
Added example.
svn path=/trunk/mcs/; revision=118452
Rodrigo Kumpera [Tue, 11 Nov 2008 02:31:34 +0000 (02:31 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConstructorOnTypeBuilderInstTest.cs: Add test for
MetadataToken under compilation context.
svn path=/trunk/mcs/; revision=118451
Rodrigo Kumpera [Tue, 11 Nov 2008 02:31:32 +0000 (02:31 -0000)]
2008-11-11 Rodrigo Kumpera <rkumpera@novell.com>
* ConstructorOnTypeBuilderInst.cs (MetadataToken): Make this property
work under compiler context. Same hack as the one applied to
MethodOnTypeBuilderInst.
Fixes #442610.
svn path=/trunk/mcs/; revision=118450
Zoltan Varga [Tue, 11 Nov 2008 00:20:16 +0000 (00:20 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* configure.in: Bump version to 2.3.
svn path=/trunk/mono/; revision=118445
Zoltan Varga [Mon, 10 Nov 2008 23:04:25 +0000 (23:04 -0000)]
2008-11-11 Zoltan Varga <vargaz@gmail.com>
* regalloc2.c (assign_spill_slots): Set cfg->rgctx_var.
svn path=/trunk/mono/; revision=118435
Michael Hutchinson [Mon, 10 Nov 2008 22:36:17 +0000 (22:36 -0000)]
2008-11-10 Michael Hutchinson <mhutchinson@novell.com>
* HttpServerTransportSink.cs: Seek to beginning of server response
stream. Fixes Bug 436995 - Xml-Rpc.net does not work since
Mono 1.9.x.
svn path=/trunk/mcs/; revision=118429
Miguel de Icaza [Mon, 10 Nov 2008 22:26:46 +0000 (22:26 -0000)]
Try to fix Solaris
svn path=/trunk/mono/; revision=118426
Bill Holmes [Mon, 10 Nov 2008 21:42:09 +0000 (21:42 -0000)]
2008-11-10 Bill Holmes <billholmes54@gmail.com>
* genmdesc.vcproj, monoburg.vcproj : Adding quotes to paths in the
post build steps.
Code is contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=118417
Rodrigo Kumpera [Mon, 10 Nov 2008 20:58:13 +0000 (20:58 -0000)]
2008-11-10 Rodrigo Kumpera <rkumpera@novell.com>
* appdomain.c (unload_thread_main): Clean up threadpool by
calling mono_thread_pool_remove_domain_jobs.
* domain-internals.h (struct _MonoDomain): Add new fields to
help coordinate the cleanup of the threadpool.
* threadpool.c (mono_thread_pool_remove_domain_jobs): New fuction
that cleans up the threadpool of all jobs associated with an appdomain.
It does that by cleaning up the queues and making sure all active
threads are accounted.
* threadpool.c (async_invoke_io_thread): Ignore job if its domain is
unloaded or in the process of. Take this is such way that there is
no race condition between another thread starting the unload and the
current thread acknowledging it.
* threadpool.c (async_invoke_thread): Same.
* threadpool.c (start_io_thread_or_queue): Increment threadpool_jobs before
firing the new thread.
* threadpool.c (start_tpthread): Same.
* theadpool.c (append_job): Increment threadpool_jobs before queueing.
* threadpool.h: Add mono_thread_pool_remove_domain_jobs.
svn path=/trunk/mono/; revision=118413
Mark Probst [Mon, 10 Nov 2008 20:54:37 +0000 (20:54 -0000)]
2008-11-10 Mark Probst <mark.probst@gmail.com>
* mini-x86.c (mono_arch_get_argument_info): Don't align argument
space for stdcall. Fixes regressions on Win32.
svn path=/trunk/mono/; revision=118412
Gonzalo Paniagua Javier [Mon, 10 Nov 2008 20:46:00 +0000 (20:46 -0000)]
2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* ConfigurationManager.cs: when we're dealing with an EXE hosted
application, the configuration file is the one for the AppDomain,
otherwise we might try to get a config file for a dll. Fixes the
regression in 2.0 sys.config.
svn path=/trunk/mcs/; revision=118410
Jonathan Pobst [Mon, 10 Nov 2008 20:17:05 +0000 (20:17 -0000)]
2008-11-10 Jonathan Pobst <monkey@jpobst.com>
* TextControl.cs: Add some order of operation to our math so
we don't end up with a negative height for our invalidate rect.
[Fixes bug #381889]
svn path=/trunk/mcs/; revision=118409
Marek Safar [Mon, 10 Nov 2008 19:50:40 +0000 (19:50 -0000)]
2008-11-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #442610
* anonymous.cs (MutateConstructor): More SRE hacking.
svn path=/trunk/mcs/; revision=118406
Raja R Harinath [Mon, 10 Nov 2008 19:39:31 +0000 (19:39 -0000)]
Bring testsuite into compilability
* OptionContextTest.cs: Fix syntax error.
* OptionTest.cs: Likewise.
* OptionSetTest.cs: Likewise.
(OptionalValues, CombinationPlatter, Exceptions): Disable for now.
svn path=/trunk/mcs/; revision=118405
Andrew Jorgensen [Mon, 10 Nov 2008 19:37:17 +0000 (19:37 -0000)]
cannot dist directories
svn path=/trunk/mcs/; revision=118404
Marek Safar [Mon, 10 Nov 2008 18:55:59 +0000 (18:55 -0000)]
New tests.
svn path=/trunk/mcs/; revision=118402
Marek Safar [Mon, 10 Nov 2008 18:55:46 +0000 (18:55 -0000)]
2008-11-10 Marek Safar <marek.safar@gmail.com>
A fix for bug #442579
* ecore.cs: Also initialize expanded form of a method with 1 params
parameter.
svn path=/trunk/mcs/; revision=118401
Gonzalo Paniagua Javier [Mon, 10 Nov 2008 18:49:08 +0000 (18:49 -0000)]
2008-11-10 Gonzalo Paniagua Javier <gonzalo@novell.com>
* CADMessages.cs: when the method is generic, return a constructed
method instead of the generic one. Fixes regression in
System.Runtime.Remoting.GenericTest::TestCrossAppDomainChannel.
svn path=/trunk/mcs/; revision=118400
Jonathan Pobst [Mon, 10 Nov 2008 17:03:35 +0000 (17:03 -0000)]
2008-11-10 Jonathan Pobst <monkey@jpobst.com>
* Control.cs: When our enabled changes, notify our implicit children
controls as well as our regular controls.
[Fixes bug #441523]
svn path=/trunk/mcs/; revision=118388
Zoltan Varga [Mon, 10 Nov 2008 17:03:08 +0000 (17:03 -0000)]
2008-11-10 Zoltan Varga <vargaz@gmail.com>
* regalloc2.c (handle_reg_constraints): Avoid adding code to unreachable
bblocks.
(linear_scan): Remove an assert which doesn't seem to be needed.
svn path=/trunk/mono/; revision=118387
Paolo Molaro [Mon, 10 Nov 2008 16:41:54 +0000 (16:41 -0000)]
Mon Nov 10 17:38:41 CET 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c: adapt code for FreeBSD and hopefully other BSD
systems.
svn path=/trunk/mono/; revision=118385
Paolo Molaro [Mon, 10 Nov 2008 16:39:30 +0000 (16:39 -0000)]
Mon Nov 10 17:37:08 CET 2008 Paolo Molaro <lupus@ximian.com>
* configure.in: check for sys/user.h and struct kinfo_proc members.
svn path=/trunk/mono/; revision=118384
Paolo Molaro [Mon, 10 Nov 2008 16:29:35 +0000 (16:29 -0000)]
Mon Nov 10 17:27:01 CET 2008 Paolo Molaro <lupus@ximian.com>
* mono-proclib.c, mono-proclib.h: added elapsed time and parent pid.
svn path=/trunk/mono/; revision=118381
Zoltan Varga [Mon, 10 Nov 2008 15:45:06 +0000 (15:45 -0000)]
2008-11-10 Zoltan Varga <vargaz@gmail.com>
* local-propagation.c (mono_local_deadce): Avoid a call to
MONO_DELETE_INS which would screw up the instruction linking.
* mini.c (mono_decompose_op_imm): Make this work with globalra.
* regalloc2.c: Upgrade to work the current JIT code.
svn path=/trunk/mono/; revision=118376