mono.git
11 years agoMerge pull request #301 from directhex/master
Alex Rønne Petersen [Thu, 24 May 2012 00:30:22 +0000 (17:30 -0700)]
Merge pull request #301 from directhex/master

If Mono's configure script cannot determine the soname of libX11, assume libX11.so.6

11 years agoImprove type load errors thrown by the JIT a bit.
Zoltan Varga [Wed, 23 May 2012 19:43:45 +0000 (21:43 +0200)]
Improve type load errors thrown by the JIT a bit.

11 years agoIf Mono's configure script cannot determine the soname of libX11,
Jo Shields [Wed, 23 May 2012 17:12:47 +0000 (18:12 +0100)]
If Mono's configure script cannot determine the soname of libX11,
assume libX11.so.6

The old behaviour is to try a couple of folders to find libX11.so.4,
5, and 6, and if it can't find any of those, assume no soname at all
(i.e. libX11.so). It is reasonable to assume that users will be
running at least XFree86 3.0, so reasomable to assume libX11.so.6 will
be the soname in use.

The edge case "user compiles Mono without X.org installed" is much
more common than "user has X386 1.0 -> XFree86 2.1.1 installed in
a non-standard library folder, and expects a valid dllmap in
/etc/mono/config"

11 years agomono/metadata/gc.c: Fix warning due to declaration after statement.
alexrp [Wed, 23 May 2012 13:27:35 +0000 (15:27 +0200)]
mono/metadata/gc.c: Fix warning due to declaration after statement.

11 years agoRemove System.Threading.LockRecursionException from mobile System.Core. Fixes #5192
Marek Safar [Wed, 23 May 2012 08:30:57 +0000 (09:30 +0100)]
Remove System.Threading.LockRecursionException from mobile System.Core. Fixes #5192

11 years agoFix altstack check to work again on OSX with -O2.
Rodrigo Kumpera [Tue, 22 May 2012 21:43:34 +0000 (18:43 -0300)]
Fix altstack check to work again on OSX with -O2.

* configure.in: The altstack check depends on raising
a sigsegv to verify if it works or not. A sigsegv, by its
own nature is born out of undefined behavior. Such a thing
the almighty C compilers are free to optimize in whatever
pleases them the most.

GCC, under -O2, when it can prove a given memory store will
lead to undefined behavior will simply remove it leaving no
trace back. The solution was to use a variable gcc can't get
frisky with.

This raises altstack on OSX back from the dead.

11 years agoAdd an unhandled exceptions test to sdb.
Zoltan Varga [Tue, 22 May 2012 20:03:10 +0000 (22:03 +0200)]
Add an unhandled exceptions test to sdb.

11 years agoFix IsolatedStorageFile directory creation/deletion with rooted paths. Fix bug #5011
Sebastien Pouliot [Tue, 22 May 2012 18:37:04 +0000 (14:37 -0400)]
Fix IsolatedStorageFile directory creation/deletion with rooted paths. Fix bug #5011

11 years agoReplace some g_assert with g_error.
Rodrigo Kumpera [Tue, 22 May 2012 15:57:47 +0000 (12:57 -0300)]
Replace some g_assert with g_error.

11 years agosgen_hash_table_replace can now return the old value.
Rodrigo Kumpera [Mon, 21 May 2012 21:26:27 +0000 (18:26 -0300)]
sgen_hash_table_replace can now return the old value.

11 years agosgen_hash_table_set_value can now return the old value.
Rodrigo Kumpera [Mon, 21 May 2012 21:19:12 +0000 (18:19 -0300)]
sgen_hash_table_set_value can now return the old value.

11 years agoFix test target for mono-shlib-cop
Marek Safar [Tue, 22 May 2012 07:14:40 +0000 (08:14 +0100)]
Fix test target for mono-shlib-cop

11 years agoRemove a debug printf.
Zoltan Varga [Mon, 21 May 2012 23:07:29 +0000 (01:07 +0200)]
Remove a debug printf.

11 years agoFix altstack support in libgc by registering the bounds of the normal stack and the...
Zoltan Varga [Mon, 21 May 2012 23:02:05 +0000 (01:02 +0200)]
Fix altstack support in libgc by registering the bounds of the normal stack and the altstack with it.

11 years agoReturn the proxied type instead of TransparentProxy for object types in sdb.
Zoltan Varga [Sun, 20 May 2012 13:45:48 +0000 (15:45 +0200)]
Return the proxied type instead of TransparentProxy for object types in sdb.

11 years agoMerge pull request #299 from ermshiperete/710512
Marek Safar [Mon, 21 May 2012 20:15:02 +0000 (13:15 -0700)]
Merge pull request #299 from ermshiperete/710512

Fix for Novell-710512 (TimeZone.GetUtcOffset) and failing tests

11 years agoNovell-710512: Fix GetUtcOffset when called with UTC time
Eberhard Beilharz [Mon, 21 May 2012 16:01:01 +0000 (18:01 +0200)]
Novell-710512: Fix GetUtcOffset when called with UTC time

Adjust the behavior of the TimeZone.GetUtcOffset() method to
match the documentation. MSDN says: "If the value of the Kind
property is DateTimeKind.Utc, the method returns an offset equal
to TimeSpan.Zero". Previously we returned the difference between
the current time zone and UTC even when the passed in time was
in UTC.

Change-Id: Icaa233f079a74315ccf1ce95787629c37317b412

11 years agoFix a very rare hang on sgen.
Rodrigo Kumpera [Mon, 21 May 2012 15:29:53 +0000 (12:29 -0300)]
Fix a very rare hang on sgen.

* sgen-gc.c (restart_threads_until_none_in_managed_allocator):
When suspending threads, if a given thread was suspended on
a gc unsafe point we restart it until it land on a safe zone.

Since we restart the thread, it might die before we get the chance
to suspend it again, we take this into account except when waiting
for acks. We mistakenly waited for the same number of acks of the
restart step. It could have been reduced if a thread died.

This bug is very very hard to hit as it only happens on linux,
requires that a thread on an unsafe point dies right after been
restarted and it must not be a managed thread as those must take
the GC lock while cleaning up.

This sums up to a mostly theoretical bug that someone might
have observed once in the wild. We're better fixing it now
since further optimization work might make it easier to hit.

11 years agoAdd unit test for Novell-710512
Eberhard Beilharz [Mon, 21 May 2012 14:29:29 +0000 (16:29 +0200)]
Add unit test for Novell-710512

Change-Id: Id541a554eb07205da45c4b7fdbfba2da1feda362

11 years agoFix failing test Parse_InvalidShortDate()
Eberhard Beilharz [Mon, 21 May 2012 14:18:59 +0000 (15:18 +0100)]
Fix failing test Parse_InvalidShortDate()

Parsing a date/time depends on the local timezone.

This patch also fixes the assertions where expected and actual
value were backwards.

Change-Id: I6a024e97050470fb043bc0d4a97aa39624271fcc

11 years agoFix failing tests
Eberhard Beilharz [Mon, 21 May 2012 14:16:27 +0000 (15:16 +0100)]
Fix failing tests

Change-Id: Ia0969271d3bf7bdfd78fe17160e09dcb1c278eda

11 years agoEmit warning for uninitialized structs. Fixes #4852
Marek Safar [Mon, 21 May 2012 12:09:10 +0000 (13:09 +0100)]
Emit warning for uninitialized structs. Fixes #4852

11 years agoFix typo
Rolf Bjarne Kvinge [Mon, 21 May 2012 11:23:48 +0000 (13:23 +0200)]
Fix typo

11 years agoAdd support for remoting invokes to sdb. Fixes the runtime part of #4962.
Zoltan Varga [Sun, 20 May 2012 13:30:23 +0000 (15:30 +0200)]
Add support for remoting invokes to sdb. Fixes the runtime part of #4962.

11 years agoFix from Stephen McConnel for bug 5010
Miguel de Icaza [Sat, 19 May 2012 04:51:05 +0000 (00:51 -0400)]
Fix from Stephen McConnel for bug 5010

11 years agoAvoid a deadlock when waiting for pending finalizers.
Rodrigo Kumpera [Fri, 18 May 2012 20:06:32 +0000 (17:06 -0300)]
Avoid a deadlock when waiting for pending finalizers.

* gc.c: If the finalizer thread is delay started
we must ensure that we don't block waiting for finalizers
until it is live.

This is required as the delayed start could happen in
the blocked thread - and deadlock us.

11 years agoHandle a race condition between thread registration and sgen's stop the world. Fixes...
Rodrigo Kumpera [Sat, 12 May 2012 12:58:13 +0000 (09:58 -0300)]
Handle a race condition between thread registration and sgen's stop the world. Fixes bxc #1917.

Since new threads can come and go while we're stopping the world, we must
ignore the new ones as they are not supposed to be usable before this STW
cycle.

Since thread registration takes the GC lock, once STW starts all new threads
can't register and thus touch managed memory. This means we can ignore all
of those not seen in the first suspend pass.

This bug and the patch was a contribution by Sam Lang.

Fixes #1917.

11 years agoUsing libc's free as a constant to mean true is cute, but nothing say it better than...
Rodrigo Kumpera [Sat, 12 May 2012 12:34:53 +0000 (09:34 -0300)]
Using libc's free as a constant to mean true is cute, but nothing say it better than TRUE.

11 years agoParallel gotta be parallel. Parallel nursery should use parallel major allocator.
Rodrigo Kumpera [Sat, 12 May 2012 12:29:06 +0000 (09:29 -0300)]
Parallel gotta be parallel. Parallel nursery should use parallel major allocator.

11 years agoMake asserts more usefull.
Rodrigo Kumpera [Sat, 12 May 2012 12:20:16 +0000 (09:20 -0300)]
Make asserts more usefull.

11 years agoInsert unattached attributes to AST also for enum members. Fixes #4666
Marek Safar [Fri, 18 May 2012 16:05:27 +0000 (17:05 +0100)]
Insert unattached attributes to AST also for enum members. Fixes #4666

11 years agoBetter error recovery from incomplete invocation expression. Fixes #4679
Marek Safar [Fri, 18 May 2012 15:51:30 +0000 (16:51 +0100)]
Better error recovery from incomplete invocation expression. Fixes #4679

11 years agoSqlite: Map DATETIME to System.DateTime. Fixes #5078.
Rolf Bjarne Kvinge [Fri, 18 May 2012 12:30:30 +0000 (14:30 +0200)]
Sqlite: Map DATETIME to System.DateTime. Fixes #5078.

11 years agoImplement full-aot support for ftnptr->delegate conversion using a new MonoNativeFunc...
Zoltan Varga [Fri, 18 May 2012 11:56:43 +0000 (13:56 +0200)]
Implement full-aot support for ftnptr->delegate conversion using a new MonoNativeFunctionWrapper attribute, which should be attached to the delegate which will be used to wrap the native function. Fixes #4718.

11 years agoImplement support for OP_LOADR4_MEMBASE/STORER4_MEMBASE with big offsets on ARM....
Zoltan Varga [Thu, 17 May 2012 22:49:42 +0000 (00:49 +0200)]
Implement support for OP_LOADR4_MEMBASE/STORER4_MEMBASE with big offsets on ARM. Fixes #5093.

11 years agoResolve lock temporary variables before any embedded statement. Fixes #4994
Marek Safar [Thu, 17 May 2012 20:40:15 +0000 (21:40 +0100)]
Resolve lock temporary variables before any embedded statement. Fixes #4994

11 years agoMerge branch 'master' of github.com:mono/mono
Marek Safar [Thu, 17 May 2012 12:58:09 +0000 (13:58 +0100)]
Merge branch 'master' of github.com:mono/mono

11 years agoGet full expanded interface list when checking for new slot interface implementation...
Marek Safar [Thu, 17 May 2012 12:56:41 +0000 (13:56 +0100)]
Get full expanded interface list when checking for new slot interface implementation. Fixed #5110

11 years agoAdd fix and test case from bnc #650402
Sebastien Pouliot [Wed, 16 May 2012 20:52:17 +0000 (16:52 -0400)]
Add fix and test case from bnc #650402

11 years agoAdd gitignore for Mono.Data.Sqlite
Rolf Bjarne Kvinge [Wed, 16 May 2012 20:18:37 +0000 (22:18 +0200)]
Add gitignore for Mono.Data.Sqlite

11 years agoSqlite: Close the command before the connection when CommandBehavior.CloseConnection...
Rolf Bjarne Kvinge [Wed, 16 May 2012 20:18:03 +0000 (22:18 +0200)]
Sqlite: Close the command before the connection when CommandBehavior.CloseConnection is specified. Fixes #5058.

11 years agoAdd missing dist files
Marek Safar [Wed, 16 May 2012 18:36:46 +0000 (19:36 +0100)]
Add missing dist files

11 years agoThis instance is not available in base context for anynymous method
Marek Safar [Wed, 16 May 2012 17:23:24 +0000 (18:23 +0100)]
This instance is not available in base context for anynymous method

11 years agoDon't report unresolved using clause error in eval mode multiple times
Marek Safar [Wed, 16 May 2012 16:01:28 +0000 (17:01 +0100)]
Don't report unresolved using clause error in eval mode multiple times

11 years ago[corlib] Fix NullRef when using dispose a CancellationTokenRegistration when the...
Jeremie Laval [Wed, 16 May 2012 10:50:17 +0000 (11:50 +0100)]
[corlib] Fix NullRef when using dispose a CancellationTokenRegistration when the initial source has been disposed

11 years agoImplement DateTime::ToString format specifier for genitive month names. Fixes #4708
Marek Safar [Tue, 15 May 2012 17:34:21 +0000 (18:34 +0100)]
Implement DateTime::ToString format specifier for genitive month names. Fixes #4708

11 years agoFix some existing datetime tests
Marek Safar [Tue, 15 May 2012 15:56:36 +0000 (16:56 +0100)]
Fix some existing datetime tests

11 years agoAdd gitignore
Marek Safar [Tue, 15 May 2012 12:44:41 +0000 (13:44 +0100)]
Add gitignore

11 years agoUpdate locale builder tool
Marek Safar [Tue, 15 May 2012 12:35:39 +0000 (13:35 +0100)]
Update locale builder tool

11 years agoUpdate locale builder tool
Marek Safar [Tue, 15 May 2012 12:27:52 +0000 (13:27 +0100)]
Update locale builder tool

11 years agoUpdate culture infos and implement missing or not implemented members
Marek Safar [Tue, 15 May 2012 08:42:27 +0000 (09:42 +0100)]
Update culture infos and implement missing or not implemented members

11 years agonewer nunit does not require a [TestFixture] attribute and made those fixture fail...
Sebastien Pouliot [Mon, 14 May 2012 13:16:28 +0000 (09:16 -0400)]
newer nunit does not require a [TestFixture] attribute and made those fixture fail. Making them abstract fix this

11 years agoCheck return type compatibility for inlined methods as well. Fixes #5056.
Zoltan Varga [Mon, 14 May 2012 10:15:07 +0000 (12:15 +0200)]
Check return type compatibility for inlined methods as well. Fixes #5056.

11 years agoMake use of GetPrefixOfNamespace() in XElement.ToString(). Fixed bug #3972.
Atsushi Eno [Mon, 14 May 2012 09:25:56 +0000 (18:25 +0900)]
Make use of GetPrefixOfNamespace() in XElement.ToString(). Fixed bug #3972.

11 years agoAdd Xml declaration even for such document that lacks XDeclaration.
Atsushi Eno [Mon, 14 May 2012 08:24:32 +0000 (17:24 +0900)]
Add Xml declaration even for such document that lacks XDeclaration.

Fixed bug #4850.

11 years agoXNodeNavigator could be used for a node tree without XDocument, so make it work for...
Atsushi Eno [Mon, 14 May 2012 07:31:54 +0000 (16:31 +0900)]
XNodeNavigator could be used for a node tree without XDocument, so make it work for such case.

Fixed bug #4690, patch by eb1 sil.org.

11 years agoIn XNodeNavigator, do not start text node skip from current node.
Atsushi Eno [Mon, 14 May 2012 07:23:06 +0000 (16:23 +0900)]
In XNodeNavigator, do not start text node skip from current node.

Fixed bug #4739, patch by eb1 sil.org.

11 years agoFix mono_nullable_box () in full-aot mode. Fixes #5045.
Zoltan Varga [Mon, 14 May 2012 01:13:16 +0000 (03:13 +0200)]
Fix mono_nullable_box () in full-aot mode. Fixes #5045.

11 years agoFix byref stringbuilder marshalling. Fixes #5007.
Zoltan Varga [Mon, 14 May 2012 00:40:44 +0000 (02:40 +0200)]
Fix byref stringbuilder marshalling. Fixes #5007.

12 years agoImplement out support in byref string marshalling. Fixes part of #5007.
Zoltan Varga [Sun, 13 May 2012 13:59:53 +0000 (15:59 +0200)]
Implement out support in byref string marshalling. Fixes part of #5007.

12 years agoMerge pull request #295 from i59/patch-1
Marek Safar [Sun, 13 May 2012 08:33:25 +0000 (01:33 -0700)]
Merge pull request #295 from i59/patch-1

CSharpCodeCompiler ctor: Corrected Windows mcs path, now resides in 4.5 ...

12 years agoCSharpCodeCompiler ctor: Corrected Windows mcs path, now resides in 4.5 directory.
Filip Lundgren [Sat, 12 May 2012 23:42:48 +0000 (02:42 +0300)]
CSharpCodeCompiler ctor: Corrected Windows mcs path, now resides in 4.5 directory.

12 years agoMerge pull request #293 from viniciusjarina/fix3258
Miguel de Icaza [Fri, 11 May 2012 14:44:12 +0000 (07:44 -0700)]
Merge pull request #293 from viniciusjarina/fix3258

Fix3258

12 years agoIf the dllname for a dllimport is a full path, try that exact path before anything...
Rolf Bjarne Kvinge [Thu, 10 May 2012 14:37:54 +0000 (16:37 +0200)]
If the dllname for a dllimport is a full path, try that exact path before anything else. Fixes #4678.

12 years agoAdd seq_point instruction to s390x
Neale Ferguson [Thu, 10 May 2012 17:45:36 +0000 (13:45 -0400)]
Add seq_point instruction to s390x

12 years agoAdd some stubs for methods required by the portable class library profiles
Sebastien Pouliot [Thu, 10 May 2012 12:45:01 +0000 (08:45 -0400)]
Add some stubs for methods required by the portable class library profiles

12 years agoAdd System.Windows.Input.ICommand which is part of 4.5 and the portable class libraries
Sebastien Pouliot [Thu, 10 May 2012 00:18:47 +0000 (20:18 -0400)]
Add System.Windows.Input.ICommand which is part of 4.5 and the portable class libraries

12 years agoStop at catch clauses when doing a step over in sdb. Fixes #4851.
Zoltan Varga [Wed, 9 May 2012 23:27:17 +0000 (01:27 +0200)]
Stop at catch clauses when doing a step over in sdb. Fixes #4851.

12 years agoMerge pull request #294 from madewokherd/createsuspended
Rodrigo Kumpera [Wed, 9 May 2012 21:02:16 +0000 (14:02 -0700)]
Merge pull request #294 from madewokherd/createsuspended

Fix race condition in mono_threads_CreateThread.

12 years agoFix race condition in mono_threads_CreateThread.
Vincent Povirk [Wed, 9 May 2012 16:10:15 +0000 (11:10 -0500)]
Fix race condition in mono_threads_CreateThread.

12 years agoInclude config.h and use TARGET_X86 and TARGET_AMD64 instead of i386 and __x86_64__.
Jonathan Chambers [Wed, 9 May 2012 18:19:14 +0000 (14:19 -0400)]
Include config.h and use TARGET_X86 and TARGET_AMD64 instead of i386 and __x86_64__.

12 years agoAdded call to GC.SupressFinalize() in CFObject.Dispose()
Jeffrey Stedfast [Wed, 9 May 2012 18:46:38 +0000 (14:46 -0400)]
Added call to GC.SupressFinalize() in CFObject.Dispose()

12 years agoSmall adjustments needed for Profile[1-4] of the Portable Class Libraries.
Sebastien Pouliot [Wed, 9 May 2012 14:29:24 +0000 (10:29 -0400)]
Small adjustments needed for Profile[1-4] of the Portable Class Libraries.

12 years agoThread.Finalize is needed in Profile3 of the Portable Class Libraries.
Sebastien Pouliot [Wed, 9 May 2012 13:43:11 +0000 (09:43 -0400)]
Thread.Finalize is needed in Profile3 of the Portable Class Libraries.

12 years agoBinaryWriter.Dispose is needed in Profile[1-4] of the Portable Class Libraries. Fix...
Sebastien Pouliot [Wed, 9 May 2012 13:42:06 +0000 (09:42 -0400)]
BinaryWriter.Dispose is needed in Profile[1-4] of the Portable Class Libraries. Fix bug #4871

12 years ago[MacProxy] Fixed refcounting and got rid of unneeded attribute flags
Jeffrey Stedfast [Wed, 9 May 2012 14:45:09 +0000 (10:45 -0400)]
[MacProxy] Fixed refcounting and got rid of unneeded attribute flags

12 years agoWebRequest.GetDefaultWebProxy() must not assume the type of the system proxy.
Jeffrey Stedfast [Tue, 8 May 2012 22:59:13 +0000 (18:59 -0400)]
WebRequest.GetDefaultWebProxy() must not assume the type of the system proxy.

12 years ago[System.Net.WebRequest] Implemented new and improved proxy support on Mac/iOS
Jeffrey Stedfast [Tue, 8 May 2012 22:30:01 +0000 (18:30 -0400)]
[System.Net.WebRequest] Implemented new and improved proxy support on Mac/iOS

12 years agoAdded unit test for the bug #3258 (Serialize|Deserialize DateTimeOffset?)
Vinicius Jarina [Tue, 8 May 2012 19:09:05 +0000 (16:09 -0300)]
Added unit test for the bug #3258 (Serialize|Deserialize DateTimeOffset?)

12 years agoFix XML serialization of DateTimeOffset?. Fixes #3258
Vinicius Jarina [Tue, 8 May 2012 17:05:55 +0000 (14:05 -0300)]
Fix XML serialization of DateTimeOffset?. Fixes #3258

The nullable DateTimeOffset was not properly handled when serialized.
The deserialization changed to work with DateTimeOffset?.
Avoided "i:type" attribute when serializing Nullable type.

12 years agoRemoved code commented
Vinicius Jarina [Mon, 7 May 2012 02:17:26 +0000 (23:17 -0300)]
Removed code commented

12 years agoMerge pull request #292 from QuickJack/master
Rodrigo Kumpera [Tue, 8 May 2012 18:38:45 +0000 (11:38 -0700)]
Merge pull request #292 from QuickJack/master

Remaining changes of my corrupted change request #247

12 years agoFixes a waring in System.Configuration.
QuickJack [Tue, 8 May 2012 18:28:07 +0000 (20:28 +0200)]
Fixes a waring in System.Configuration.

12 years agoFixed capitalization
Jeffrey Stedfast [Mon, 7 May 2012 19:38:19 +0000 (15:38 -0400)]
Fixed capitalization

12 years ago[Mono.Debugger.Soft] Re-added Dispose() method on VirtualMachine for API compat.
Jeffrey Stedfast [Mon, 7 May 2012 18:57:18 +0000 (14:57 -0400)]
[Mono.Debugger.Soft] Re-added Dispose() method on VirtualMachine for API compat.

12 years ago[Mono.Debugger.Soft] Fixed building of tests
Jeffrey Stedfast [Mon, 7 May 2012 18:50:33 +0000 (14:50 -0400)]
[Mono.Debugger.Soft] Fixed building of tests

12 years agoWhen cleaning up the finalizers of a domain, do it in a way that reduces the chance...
Rodrigo Kumpera [Mon, 7 May 2012 14:31:22 +0000 (11:31 -0300)]
When cleaning up the finalizers of a domain, do it in a way that reduces the chance of leftover objects.

* gc.c (finalize_domain_objects): When cleaning up a domain, we run two kinds of finalizers,
those that have already been queued and those for objects that remain alive.

A common problem we need to deal is that some finalizers allocate other finalizable objects
when doing seeminly trivial operations such as String.IndexOf - which might require the Thread
object of the finalizer thread to be instantiated.

We handle those new objects by draining the registered finalizers set until none shows up. This fails
if we run the queued finalizers after that.

The order onto which finalizers are run on domain unload is unspecified and the new behavior can
be argued to be more natural.

12 years agoFiz a domain unload race regarding finalizable objects.
Rodrigo Kumpera [Fri, 4 May 2012 20:16:49 +0000 (17:16 -0300)]
Fiz a domain unload race regarding finalizable objects.

* sgen-gc.c (mono_gc_clear_domain): It's possible to have a finalizable object
survive mono_domain_finalize and leak into mono_domain_free, so we make sure this
won't crash by removing from the fin hashtable all objects that belong to the
doomed domain.

12 years agoRaise an exception instead of aborting if a pinvoke method is not found in full-aot...
Zoltan Varga [Sun, 6 May 2012 13:04:29 +0000 (15:04 +0200)]
Raise an exception instead of aborting if a pinvoke method is not found in full-aot mode.

12 years agoAdd a missing $(srcdir) to bug-3903 build command. Patch by KISHIMOTO, Makoto.
Rodrigo Kumpera [Fri, 4 May 2012 13:33:05 +0000 (10:33 -0300)]
Add a missing $(srcdir) to bug-3903 build command. Patch by KISHIMOTO, Makoto.

12 years agoMerge pull request #290 from jbevain-forks/methodbodymirror-exceptions
Zoltan Varga [Fri, 4 May 2012 09:08:23 +0000 (02:08 -0700)]
Merge pull request #290 from jbevain-forks/methodbodymirror-exceptions

Add exception handlers to MethodBodyMirror

12 years agoAdd exception handlers to MethodBodyMirror
Jb Evain [Fri, 4 May 2012 07:07:48 +0000 (09:07 +0200)]
Add exception handlers to MethodBodyMirror

12 years ago[Mono.Debugger.Soft] Don't make Connection disposable.
Jeffrey Stedfast [Thu, 3 May 2012 22:01:30 +0000 (18:01 -0400)]
[Mono.Debugger.Soft] Don't make Connection disposable.

12 years agoMerge pull request #286 from dafergu2/bug4794
Atsushi Eno [Thu, 3 May 2012 18:30:51 +0000 (11:30 -0700)]
Merge pull request #286 from dafergu2/bug4794

Fix DataContractSerializer with duplicate qname

12 years agoMerge pull request #288 from ewxrjk/xmlwriter
Atsushi Eno [Thu, 3 May 2012 14:16:37 +0000 (07:16 -0700)]
Merge pull request #288 from ewxrjk/xmlwriter

Fix XmlTextWriter's use of NewLineHandling.

12 years agoMore fixes for passing/receiving nullables in sdb. Fixes #4659.
Zoltan Varga [Thu, 3 May 2012 11:53:55 +0000 (13:53 +0200)]
More fixes for passing/receiving nullables in sdb. Fixes #4659.

12 years agoFix XmlTextWriter's use of NewLineHandling.
Richard Kettlewell [Thu, 3 May 2012 09:49:54 +0000 (10:49 +0100)]
Fix XmlTextWriter's use of NewLineHandling.

- Move the setting of newline_handling early enough that Initialize()
  can see it.
- Reduce the set of characters that trigger the slow path for
  attribute values for the NewLineHandling.None case.
- Rewrite the handling of \t, \r and \n to match the MS docs
  (which match the observed behavior of their implementation)
- Add some tests.

12 years agoMerge branch 'master' of github.com:mono/mono
Marek Safar [Thu, 3 May 2012 08:00:48 +0000 (09:00 +0100)]
Merge branch 'master' of github.com:mono/mono

12 years agoFix parsing of -w argument. Fixes #4853
Marek Safar [Thu, 3 May 2012 07:59:20 +0000 (08:59 +0100)]
Fix parsing of -w argument. Fixes #4853

12 years agoFix DataContractSerializer with duplicate qname
Dave Ferguson [Thu, 3 May 2012 03:28:44 +0000 (23:28 -0400)]
Fix DataContractSerializer with duplicate qname

- Fix bug 4794 by searching the SerializationMap with both type and
  qname in all but several cases (see bug report comments)

- Add separate list for known types to mimic behavior of the .NET
  runtime

- Make previous test fixtures public so that the unit tests will be run

- Remove unused private method

- Add unit test for bug 4794